cleanup dead/commented code
authorEdouard Tisserant <edouard.tisserant@gmail.com>
Mon, 13 Feb 2023 22:05:39 +0100
changeset 113 d986e1935daf
parent 112 b78f14613a6c
child 114 9def1a3011ed
cleanup dead/commented code
install.nsi
pacman-6.0.0-nogpg-relative_conf.patch
--- a/install.nsi	Mon Feb 13 22:03:09 2023 +0100
+++ b/install.nsi	Mon Feb 13 22:05:39 2023 +0100
@@ -54,16 +54,12 @@
 ; CreateShortCut "$SMPROGRAMS\Beremiz\PlcopenEditor.lnk" "${PYTHONW_EXE}" '"$INSTDIR\beremiz\plcopeneditor.py"' "$INSTDIR\beremiz\images\poe.ico"
   CreateShortCut "$SMPROGRAMS\Beremiz\Beremiz.lnk" "${PYTHONW_EXE}" '${BEREMIZ_EXE}' "$INSTDIR\beremiz\images\brz.ico"
   CreateShortCut "$SMPROGRAMS\Beremiz\Uninstall.lnk" "$INSTDIR\uninstall.exe"
-;  SetShellVarContext current
-;  CreateShortCut "$DESKTOP\Beremiz.lnk" "${PYTHONW_EXE}" '${BEREMIZ_EXE}' "$INSTDIR\beremiz\images\brz.ico"
-; Profiling :
-;  CreateShortCut "$DESKTOP\BeremizPro.lnk" "${PYTHONW_EXE}" '-m cProfile -o %USERPROFILE%/stats.pstat ${BEREMIZ_EXE}' "$INSTDIR\beremiz\images\brz.ico"
 SectionEnd
 
 Section "Uninstall"
   SetShellVarContext all
   Delete "$INSTDIR\Uninstall.exe"
-  Delete "$SMPROGRAMS\Beremiz\PlcopenEditor.lnk"
+;  Delete "$SMPROGRAMS\Beremiz\PlcopenEditor.lnk"
   Delete "$SMPROGRAMS\Beremiz\Beremiz.lnk"
   RMDir /R "$SMPROGRAMS\Beremiz"
   RMDir /R "$INSTDIR"
--- a/pacman-6.0.0-nogpg-relative_conf.patch	Mon Feb 13 22:03:09 2023 +0100
+++ b/pacman-6.0.0-nogpg-relative_conf.patch	Mon Feb 13 22:05:39 2023 +0100
@@ -1,7 +1,3 @@
-Binary files pacman-6.0.0.orig/lib/libalpm/.dload.c.swp and pacman-6.0.0/lib/libalpm/.dload.c.swp differ
-Binary files pacman-6.0.0.orig/lib/libalpm/.error.c.swp and pacman-6.0.0/lib/libalpm/.error.c.swp differ
-Binary files pacman-6.0.0.orig/lib/libalpm/.hook.c.swp and pacman-6.0.0/lib/libalpm/.hook.c.swp differ
-Binary files pacman-6.0.0.orig/lib/libalpm/.trans.c.swp and pacman-6.0.0/lib/libalpm/.trans.c.swp differ
 diff -ruN pacman-6.0.0.orig/lib/libalpm/util.c pacman-6.0.0/lib/libalpm/util.c
 --- pacman-6.0.0.orig/lib/libalpm/util.c	2021-05-20 03:38:45.948119900 +0000
 +++ pacman-6.0.0/lib/libalpm/util.c	2021-08-26 17:26:09.719703392 +0000
@@ -17,8 +13,6 @@
  			exit(1);
  		}
  		if(chdir("/") != 0) {
-Binary files pacman-6.0.0.orig/lib/libalpm/.util.c.swp and pacman-6.0.0/lib/libalpm/.util.c.swp differ
-Binary files pacman-6.0.0.orig/.meson.build.swp and pacman-6.0.0/.meson.build.swp differ
 diff -ruN pacman-6.0.0.orig/src/pacman/conf.c pacman-6.0.0/src/pacman/conf.c
 --- pacman-6.0.0.orig/src/pacman/conf.c	2021-05-20 03:38:45.964786500 +0000
 +++ pacman-6.0.0/src/pacman/conf.c	2021-08-26 17:27:32.228666450 +0000
@@ -45,4 +39,3 @@
  				if(ret) {
  					goto cleanup;
  				}
-Binary files pacman-6.0.0.orig/src/pacman/.conf.c.swp and pacman-6.0.0/src/pacman/.conf.c.swp differ