[PC-BSD Commits] r943 - in pbibuild/modules/tellico: . overlay-dir

svn at pcbsd.org svn at pcbsd.org
Tue Dec 4 16:00:00 PST 2007


Author: gonzalo
Date: 2007-12-04 15:59:59 -0800 (Tue, 04 Dec 2007)
New Revision: 943

Modified:
   pbibuild/modules/tellico/copy-files
   pbibuild/modules/tellico/overlay-dir/PBI.RemoveScript.sh
   pbibuild/modules/tellico/overlay-dir/PBI.SetupScript.sh
   pbibuild/modules/tellico/pbi.conf
Log:
fixing some problems in remove script and lang&icons errors

Modified: pbibuild/modules/tellico/copy-files
===================================================================
--- pbibuild/modules/tellico/copy-files	2007-12-03 21:01:47 UTC (rev 942)
+++ pbibuild/modules/tellico/copy-files	2007-12-04 23:59:59 UTC (rev 943)
@@ -7,7 +7,37 @@
 /usr/local/share/config.kcfg/tellico_config.kcfg share/config.kcfg/
 /usr/local/share/doc/HTML/en/tellico share/doc/HTML/en/
 /usr/local/share/doc/HTML/fr/tellico share/doc/HTML/fr/
-/usr/local/share/icons/hicolor/*/apps/tellico.png share/icons/hicolor/*/apps/
-/usr/local/share/icons/hicolor/*/mimetypes/tellico.png share/icons/hicolor/*/mimetypes/
-/usr/local/share/locale/*/LC_MESSAGES/tellico.mo share/locale/*/LC_MESSAGES/
+/usr/local/share/icons/hicolor/128x128/apps/tellico.png share/icons/hicolor/128x128/apps/
+/usr/local/share/icons/hicolor/128x128/mimetypes/tellico.png share/icons/hicolor/128x128/mimetypes/
+/usr/local/share/icons/hicolor/16x16/apps/tellico.png share/icons/hicolor/16x16/apps/
+/usr/local/share/icons/hicolor/16x16/mimetypes/tellico.png share/icons/hicolor/16x16/mimetypes/
+/usr/local/share/icons/hicolor/22x22/apps/tellico.png share/icons/hicolor/22x22/apps/
+/usr/local/share/icons/hicolor/22x22/mimetypes/tellico.png share/icons/hicolor/22x22/mimetypes/
+/usr/local/share/icons/hicolor/32x32/apps/tellico.png share/icons/hicolor/32x32/apps/
+/usr/local/share/icons/hicolor/32x32/mimetypes/tellico.png share/icons/hicolor/32x32/mimetypes/
+/usr/local/share/icons/hicolor/48x48/apps/tellico.png share/icons/hicolor/48x48/apps/
+/usr/local/share/icons/hicolor/48x48/mimetypes/tellico.png share/icons/hicolor/48x48/mimetypes/
+/usr/local/share/icons/hicolor/64x64/apps/tellico.png share/icons/hicolor/64x64/apps/
+/usr/local/share/icons/hicolor/64x64/mimetypes/tellico.png share/icons/hicolor/64x64/mimetypes/
+/usr/local/share/locale/bg/LC_MESSAGES/tellico.mo share/locale/bg/LC_MESSAGES/
+/usr/local/share/locale/ca/LC_MESSAGES/tellico.mo share/locale/ca/LC_MESSAGES/
+/usr/local/share/locale/cs/LC_MESSAGES/tellico.mo share/locale/cs/LC_MESSAGES/
+/usr/local/share/locale/de/LC_MESSAGES/tellico.mo share/locale/de/LC_MESSAGES/
+/usr/local/share/locale/ee/LC_MESSAGES/tellico.mo share/locale/ee/LC_MESSAGES/
+/usr/local/share/locale/en_GB/LC_MESSAGES/tellico.mo share/locale/en_GB/LC_MESSAGES/
+/usr/local/share/locale/es/LC_MESSAGES/tellico.mo share/locale/es/LC_MESSAGES/
+/usr/local/share/locale/fi/LC_MESSAGES/tellico.mo share/locale/fi/LC_MESSAGES/
+/usr/local/share/locale/fr/LC_MESSAGES/tellico.mo share/locale/fr/LC_MESSAGES/
+/usr/local/share/locale/hu/LC_MESSAGES/tellico.mo share/locale/hu/LC_MESSAGES/
+/usr/local/share/locale/it/LC_MESSAGES/tellico.mo share/locale/it/LC_MESSAGES/
+/usr/local/share/locale/nb/LC_MESSAGES/tellico.mo share/locale/nb/LC_MESSAGES/
+/usr/local/share/locale/nl/LC_MESSAGES/tellico.mo share/locale/nl/LC_MESSAGES/
+/usr/local/share/locale/nn/LC_MESSAGES/tellico.mo share/locale/nn/LC_MESSAGES/
+/usr/local/share/locale/pl/LC_MESSAGES/tellico.mo share/locale/pl/LC_MESSAGES/
+/usr/local/share/locale/pt/LC_MESSAGES/tellico.mo share/locale/pt/LC_MESSAGES/
+/usr/local/share/locale/pt_BR/LC_MESSAGES/tellico.mo share/locale/pt_BR/LC_MESSAGES/
+/usr/local/share/locale/ro/LC_MESSAGES/tellico.mo share/locale/ro/LC_MESSAGES/
+/usr/local/share/locale/ru/LC_MESSAGES/tellico.mo share/locale/ru/LC_MESSAGES/
+/usr/local/share/locale/sv/LC_MESSAGES/tellico.mo share/locale/sv/LC_MESSAGES/
+/usr/local/share/locale/tr/LC_MESSAGES/tellico.mo share/locale/tr/LC_MESSAGES/
 /usr/local/share/mimelnk/application/x-tellico.desktop share/mimelnk/application/

Modified: pbibuild/modules/tellico/overlay-dir/PBI.RemoveScript.sh
===================================================================
--- pbibuild/modules/tellico/overlay-dir/PBI.RemoveScript.sh	2007-12-03 21:01:47 UTC (rev 942)
+++ pbibuild/modules/tellico/overlay-dir/PBI.RemoveScript.sh	2007-12-04 23:59:59 UTC (rev 943)
@@ -16,5 +16,18 @@
 rm -fR /usr/local/share/doc/HTML/fr/tellico
 rm -fR /usr/local/share/icons/hicolor/*/apps/tellico.png
 rm -fR /usr/local/share/icons/hicolor/*/mimetypes/tellico.png
-rm -fR /usr/local/share/locale/*/LC_MESSAGES/
-rm -fR /usr/local/share/mimelnk/application/x-tellico.desktop
\ No newline at end of file
+rm -fR /usr/local/share/locale/*/LC_MESSAGES/tellico.mo
+rm -fR /usr/local/share/mimelnk/application/x-tellico.desktop
+
+cd /home 
+ for i in `ls` 
+ do 
+   if [ -d "/home/${i}/.kde/share/apps/tellico" ] 
+   then 
+     kdialog --title "Uninstalling Tellico!" --yesno "Do you want to delete this PBI completely?\nIf you answer 'Yes', configuration files and all information located in /home/${i}/.kde/share/apps/tellico will be erased." 
+     if [ "$?" = "0" ] 
+     then 
+       rm -fR /home/${i}/.kde/share/apps/tellico
+     fi 
+   fi 
+ done 
\ No newline at end of file

Modified: pbibuild/modules/tellico/overlay-dir/PBI.SetupScript.sh
===================================================================
--- pbibuild/modules/tellico/overlay-dir/PBI.SetupScript.sh	2007-12-03 21:01:47 UTC (rev 942)
+++ pbibuild/modules/tellico/overlay-dir/PBI.SetupScript.sh	2007-12-04 23:59:59 UTC (rev 943)
@@ -23,9 +23,39 @@
 ln -s /Programs/${PROGDIR}/share/config.kcfg/tellico_config.kcfg /usr/local/share/config.kcfg/tellico_config.kcfg
 ln -s /Programs/${PROGDIR}/share/doc/HTML/en/tellico /usr/local/share/doc/HTML/en/tellico
 ln -s /Programs/${PROGDIR}/share/doc/HTML/fr/tellico /usr/local/share/doc/HTML/fr/tellico
-ln -s /Programs/${PROGDIR}/share/icons/hicolor/*/apps/tellico.png /usr/local/share/icons/hicolor/*/apps/tellico.png
-ln -s /Programs/${PROGDIR}/share/icons/hicolor/*/mimetypes/tellico.png /usr/local/share/icons/hicolor/*/mimetypes/tellico.png
-ln -s /Programs/${PROGDIR}/share/locale/*/LC_MESSAGES/tellico.mo /usr/local/share/locale/*/LC_MESSAGES/
+ln -s /Programs/${PROGDIR}/share/icons/hicolor/128x128/apps/tellico.png /usr/local/share/icons/hicolor/128x128/apps/tellico.png
+ln -s /Programs/${PROGDIR}/share/icons/hicolor/128x128/mimetypes/tellico.png /usr/local/share/icons/hicolor/128x128/mimetypes/tellico.png
+ln -s /Programs/${PROGDIR}/share/icons/hicolor/16x16/apps/tellico.png /usr/local/share/icons/hicolor/16x16/apps/tellico.png
+ln -s /Programs/${PROGDIR}/share/icons/hicolor/16x16/mimetypes/tellico.png /usr/local/share/icons/hicolor/16x16/mimetypes/tellico.png
+ln -s /Programs/${PROGDIR}/share/icons/hicolor/22x22/apps/tellico.png /usr/local/share/icons/hicolor/22x22/apps/tellico.png
+ln -s /Programs/${PROGDIR}/share/icons/hicolor/22x22/mimetypes/tellico.png /usr/local/share/icons/hicolor/22x22/mimetypes/tellico.png
+ln -s /Programs/${PROGDIR}/share/icons/hicolor/32x32/apps/tellico.png /usr/local/share/icons/hicolor/32x32/apps/tellico.png
+ln -s /Programs/${PROGDIR}/share/icons/hicolor/32x32/mimetypes/tellico.png /usr/local/share/icons/hicolor/32x32/mimetypes/tellico.png
+ln -s /Programs/${PROGDIR}/share/icons/hicolor/48x48/apps/tellico.png /usr/local/share/icons/hicolor/48x48/apps/tellico.png
+ln -s /Programs/${PROGDIR}/share/icons/hicolor/48x48/mimetypes/tellico.png /usr/local/share/icons/hicolor/48x48/mimetypes/tellico.png
+ln -s /Programs/${PROGDIR}/share/icons/hicolor/64x64/apps/tellico.png /usr/local/share/icons/hicolor/64x64/apps/tellico.png
+ln -s /Programs/${PROGDIR}/share/icons/hicolor/64x64/mimetypes/tellico.png /usr/local/share/icons/hicolor/64x64/mimetypes/tellico.png
+ln -s /Programs/${PROGDIR}/share/locale/bg/LC_MESSAGES/tellico.mo /usr/local/share/locale/bg/LC_MESSAGES/tellico.mo
+ln -s /Programs/${PROGDIR}/share/locale/ca/LC_MESSAGES/tellico.mo /usr/local/share/locale/ca/LC_MESSAGES/tellico.mo
+ln -s /Programs/${PROGDIR}/share/locale/cs/LC_MESSAGES/tellico.mo /usr/local/share/locale/cs/LC_MESSAGES/tellico.mo
+ln -s /Programs/${PROGDIR}/share/locale/de/LC_MESSAGES/tellico.mo /usr/local/share/locale/de/LC_MESSAGES/tellico.mo
+ln -s /Programs/${PROGDIR}/share/locale/ee/LC_MESSAGES/tellico.mo /usr/local/share/locale/ee/LC_MESSAGES/tellico.mo
+ln -s /Programs/${PROGDIR}/share/locale/en_GB/LC_MESSAGES/tellico.mo /usr/local/share/locale/en_GB/LC_MESSAGES/tellico.mo
+ln -s /Programs/${PROGDIR}/share/locale/es/LC_MESSAGES/tellico.mo /usr/local/share/locale/es/LC_MESSAGES/tellico.mo
+ln -s /Programs/${PROGDIR}/share/locale/fi/LC_MESSAGES/tellico.mo /usr/local/share/locale/fi/LC_MESSAGES/tellico.mo
+ln -s /Programs/${PROGDIR}/share/locale/fr/LC_MESSAGES/tellico.mo /usr/local/share/locale/fr/LC_MESSAGES/tellico.mo
+ln -s /Programs/${PROGDIR}/share/locale/hu/LC_MESSAGES/tellico.mo /usr/local/share/locale/hu/LC_MESSAGES/tellico.mo
+ln -s /Programs/${PROGDIR}/share/locale/it/LC_MESSAGES/tellico.mo /usr/local/share/locale/it/LC_MESSAGES/tellico.mo
+ln -s /Programs/${PROGDIR}/share/locale/nb/LC_MESSAGES/tellico.mo /usr/local/share/locale/nb/LC_MESSAGES/tellico.mo
+ln -s /Programs/${PROGDIR}/share/locale/nl/LC_MESSAGES/tellico.mo /usr/local/share/locale/nl/LC_MESSAGES/tellico.mo
+ln -s /Programs/${PROGDIR}/share/locale/nn/LC_MESSAGES/tellico.mo /usr/local/share/locale/nn/LC_MESSAGES/tellico.mo
+ln -s /Programs/${PROGDIR}/share/locale/pl/LC_MESSAGES/tellico.mo /usr/local/share/locale/pl/LC_MESSAGES/tellico.mo
+ln -s /Programs/${PROGDIR}/share/locale/pt/LC_MESSAGES/tellico.mo /usr/local/share/locale/pt/LC_MESSAGES/tellico.mo
+ln -s /Programs/${PROGDIR}/share/locale/pt_BR/LC_MESSAGES/tellico.mo /usr/local/share/locale/pt_BR/LC_MESSAGES/tellico.mo
+ln -s /Programs/${PROGDIR}/share/locale/ro/LC_MESSAGES/tellico.mo /usr/local/share/locale/ro/LC_MESSAGES/tellico.mo
+ln -s /Programs/${PROGDIR}/share/locale/ru/LC_MESSAGES/tellico.mo /usr/local/share/locale/ru/LC_MESSAGES/tellico.mo
+ln -s /Programs/${PROGDIR}/share/locale/sv/LC_MESSAGES/tellico.mo /usr/local/share/locale/sv/LC_MESSAGES/tellico.mo
+ln -s /Programs/${PROGDIR}/share/locale/tr/LC_MESSAGES/tellico.mo /usr/local/share/locale/tr/LC_MESSAGES/tellico.mo
 ln -s /Programs/${PROGDIR}/share/mimelnk/application/x-tellico.desktop /usr/local/share/mimelnk/application/x-tellico.desktop
 
 echo "LAUNCHCLOSE: /usr/local/bin/tellico"

Modified: pbibuild/modules/tellico/pbi.conf
===================================================================
--- pbibuild/modules/tellico/pbi.conf	2007-12-03 21:01:47 UTC (rev 942)
+++ pbibuild/modules/tellico/pbi.conf	2007-12-04 23:59:59 UTC (rev 943)
@@ -32,6 +32,6 @@
 
 # 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="01"
+BUILDKEY="02"
 
 export PBIPORT MAKEOPTS PROGNAME PROGWEB PROGAUTHOR OTHERPORT PROGICON PROGLIBS PBIUPDATE BUILDKEY



More information about the Commits mailing list