[PC-BSD Commits] r1877 - in pbibuild/modules/winrar: . kmenu-dir overlay-dir overlay-dir/bin overlay-dir/share

svn at pcbsd.org svn at pcbsd.org
Thu May 8 17:13:41 PDT 2008


Author: gonzalo
Date: 2008-05-08 17:13:40 -0700 (Thu, 08 May 2008)
New Revision: 1877

Added:
   pbibuild/modules/winrar/kmenu-dir/winrarpath
   pbibuild/modules/winrar/overlay-dir/bin/winrarpath
Removed:
   pbibuild/modules/winrar/overlay-dir/share/apps/
Modified:
   pbibuild/modules/winrar/overlay-dir/PBI.RemoveScript.sh
   pbibuild/modules/winrar/overlay-dir/PBI.SetupScript.sh
   pbibuild/modules/winrar/overlay-dir/winrar.desktop
   pbibuild/modules/winrar/pbi.conf
Log:
added winrarpath bin,deleted duplicated winerar.desktop file,linked the winrar icon

Added: pbibuild/modules/winrar/kmenu-dir/winrarpath

Modified: pbibuild/modules/winrar/overlay-dir/PBI.RemoveScript.sh
===================================================================
--- pbibuild/modules/winrar/overlay-dir/PBI.RemoveScript.sh	2008-05-08 20:50:29 UTC (rev 1876)
+++ pbibuild/modules/winrar/overlay-dir/PBI.RemoveScript.sh	2008-05-09 00:13:40 UTC (rev 1877)
@@ -8,6 +8,7 @@
 #########################################
 rm -fR /usr/local/bin/winrar
 rm -fR /usr/local/bin/winrarpath
+rm -fR /usr/local/share/icons/*/*/mimetypes/winrar.png
 #remove the new winrar.desktop entry to all users
   cd /home
   for i in `ls`

Modified: pbibuild/modules/winrar/overlay-dir/PBI.SetupScript.sh
===================================================================
--- pbibuild/modules/winrar/overlay-dir/PBI.SetupScript.sh	2008-05-08 20:50:29 UTC (rev 1876)
+++ pbibuild/modules/winrar/overlay-dir/PBI.SetupScript.sh	2008-05-09 00:13:40 UTC (rev 1877)
@@ -15,7 +15,7 @@
 # echo 'MSG: <text>' # Display this text above progress bar
 #########################################
 ln -s /Programs/${PROGDIR}/.sbin/winrar /usr/local/bin/winrar
-ln -s /Programs/${PROGDIR}/.sbin/winepath /usr/local/bin/winrarpath
+ln -s /Programs/${PROGDIR}/.sbin/winrarpath /usr/local/bin/winrarpath
 chmod -R 777 /Programs/${PROGDIR}/WINRAR
 chmod +x /Programs/${PROGDIR}/bin/winrar
 USER=`who | grep :0 | cut -f 1 -d " "`
@@ -26,4 +26,5 @@
   do
     ln -s /Programs/${PROGDIR}/winrar.desktop  /home/${i}/.kde/share/apps/konqueror/servicemenus/
   done
+ln -s /Programs/WinRAR0.9.61/share/pixmaps/winrar.png /usr/local/share/icons/*/*/mimetypes/winrar.png
 echo "LAUNCHCLOSE: /usr/local/bin/winrar"

Added: pbibuild/modules/winrar/overlay-dir/bin/winrarpath


Property changes on: pbibuild/modules/winrar/overlay-dir/bin/winrarpath
___________________________________________________________________
Name: svn:executable
   + *

Modified: pbibuild/modules/winrar/overlay-dir/winrar.desktop
===================================================================
--- pbibuild/modules/winrar/overlay-dir/winrar.desktop	2008-05-08 20:50:29 UTC (rev 1876)
+++ pbibuild/modules/winrar/overlay-dir/winrar.desktop	2008-05-09 00:13:40 UTC (rev 1877)
@@ -12,7 +12,7 @@
 Name[fr]=Ouvrir avec Winrar
 Name[pl]=Otwórz w Winrar
 Name[de]=Öffnen mit Winrar
-Icon=zip
+Icon=winrar
 Exec=winrar "`winrarpath -w %f`"
 
 
@@ -24,7 +24,7 @@
 Name[fr]=Extraire ici
 Name[pl]=Wypakuj tutaj
 Name[de]=Hier entpacken
-Icon=zip
+Icon=winrar
 Exec=cd %D ; rm -R ./.winerartmp;mkdir ./.winerartmp/;ln -s %F ./.winerartmp;winrar x -iext -ow -ver  "`winrarpath -w ./.winerartmp/`*.*" "`winrarpath -w ./`" ; rm -R ./.winerartmp
 
 
@@ -36,7 +36,7 @@
 Name[fr]=Extraire dans des sous répertoires
 Name[pl]=Wypakuj do folderu
 Name[de]=Entpacken in Ordner
-Icon=zip
+Icon=winrar
 Exec=cd %D ; rm -R ./.winerartmp;mkdir ./.winerartmp/;ln -s %F ./.winerartmp;winrar x -ow -ver -ad "`winrarpath -w ./.winerartmp/`*.*" "`winrarpath -w ./`" ; rm -R ./.winerartmp
 
 
@@ -48,7 +48,7 @@
 Name[fr]=Extraire les fichiers...
 Name[pl]=Wypakuj pliki...
 Name[de]=Entpacken nach...
-Icon=zip
+Icon=winrar
 Exec=cd %D ; rm -R ./.winerartmp;mkdir ./.winerartmp/;ln -s %F ./.winerartmp;winrar x -iext -ow -ver -- "`winrarpath -w ./.winerartmp/`*.*" '?\' ; rm -R ./.winerartmp
 
 
@@ -60,7 +60,7 @@
 Name[fr]=Compression rapide
 Name[pl]=Szybka kompresja
 Name[de]=Schnell komprimieren
-Icon=zip
+Icon=winrar
 Exec=cd %D ; rm -R ./.winerartmp;mkdir ./.winerartmp/;ln -s %F ./.winerartmp;winrar a -r -ep1 -iext "`kdialog --inputbox 'Please, enter the archive name' \`basename %F\`  `".rar "`winrarpath -w ./.winerartmp/`*" ; rm -R ./.winerartmp
 
 
@@ -72,7 +72,7 @@
 Name[fr]=Compression...
 Name[pl]=Kompresuj...
 Name[de]=Komprimieren...
-Icon=zip
+Icon=winrar
 Exec=cd %D ; rm -R ./.winerartmp;mkdir ./.winerartmp/;ln -s %F ./.winerartmp;winrar a -r -iext -ep1 -- . "`winrarpath -w ./.winerartmp/`*" ; rm -R ./.winerartmp
 
 
@@ -84,5 +84,5 @@
 Name[fr]=Réparer l\'archive
 Name[pl]=Napraw archiwum
 Name[de]=Archiv reparieren
-Icon=zip
+Icon=winrar
 Exec=cd %D ;winrar R "`winrarpath -w %f`"

Modified: pbibuild/modules/winrar/pbi.conf
===================================================================
--- pbibuild/modules/winrar/pbi.conf	2008-05-08 20:50:29 UTC (rev 1876)
+++ pbibuild/modules/winrar/pbi.conf	2008-05-09 00:13:40 UTC (rev 1877)
@@ -32,7 +32,7 @@
 
 # Build Key - Change this to anything else to trigger a rebuild 
 #           - The rebuild will take place even if port is still the same ver
-BUILDKEY="04"
+BUILDKEY="05"
 
 # Don't build this PBI on certian processors (i386 / amd64)
 ARCHIGNORE="amd64" ; export ARCHIGNORE



More information about the Commits mailing list