[PC-BSD Commits] r1050 - in pbibuild/modules/gimp: . overlay-dir

svn at pcbsd.org svn at pcbsd.org
Wed Dec 19 14:02:23 PST 2007


Author: kris
Date: 2007-12-19 14:02:22 -0800 (Wed, 19 Dec 2007)
New Revision: 1050

Modified:
   pbibuild/modules/gimp/build.sh
   pbibuild/modules/gimp/overlay-dir/PBI.RemoveScript.sh
   pbibuild/modules/gimp/overlay-dir/PBI.SetupScript.sh
Log:

Fixed up the gimp langs to add *all* the .mo files, since there are 
more than one



Modified: pbibuild/modules/gimp/build.sh
===================================================================
--- pbibuild/modules/gimp/build.sh	2007-12-19 21:33:54 UTC (rev 1049)
+++ pbibuild/modules/gimp/build.sh	2007-12-19 22:02:22 UTC (rev 1050)
@@ -10,7 +10,11 @@
 ##############################################################################
 
 # Get all the various language files and copy them to the PBI
-LANGFILE="gimp.mo"
+LANGFILE="gimp20.mo"
+LANGFILE1="gimp20-python.mo"
+LANGFILE2="gimp20-script-fu.mo"
+LANGFILE3="gimp20-std-plug-ins.mo"
+LANGFILE4="gimp20-libgimp.mo"
 mkdir ${PBIDIR}/locale/
 cd /usr/local/share/locale
 for i in `ls`
@@ -19,5 +23,10 @@
   then
     mkdir ${PBIDIR}/locale/${i}
     cp /usr/local/share/locale/${i}/LC_MESSAGES/${LANGFILE} ${PBIDIR}/locale/${i}/
+    cp /usr/local/share/locale/${i}/LC_MESSAGES/${LANGFILE1} ${PBIDIR}/locale/${i}/
+    cp /usr/local/share/locale/${i}/LC_MESSAGES/${LANGFILE2} ${PBIDIR}/locale/${i}/
+    cp /usr/local/share/locale/${i}/LC_MESSAGES/${LANGFILE3} ${PBIDIR}/locale/${i}/
+    cp /usr/local/share/locale/${i}/LC_MESSAGES/${LANGFILE4} ${PBIDIR}/locale/${i}/
   fi
 done
+

Modified: pbibuild/modules/gimp/overlay-dir/PBI.RemoveScript.sh
===================================================================
--- pbibuild/modules/gimp/overlay-dir/PBI.RemoveScript.sh	2007-12-19 21:33:54 UTC (rev 1049)
+++ pbibuild/modules/gimp/overlay-dir/PBI.RemoveScript.sh	2007-12-19 22:02:22 UTC (rev 1050)
@@ -14,11 +14,19 @@
 rm /usr/local/bin/gimp
 
 # Remove the old locale files since we are uninstalling
-LANGFILE="gimp.mo"
+LANGFILE="gimp20.mo"
+LANGFILE1="gimp20-python.mo"
+LANGFILE2="gimp20-script-fu.mo"
+LANGFILE3="gimp20-std-plug-ins.mo"
+LANGFILE4="gimp20-libgimp.mo"
 cd /Programs/${PROGDIR}/locale
 for i in `ls`
 do
   rm /usr/local/share/locale/${i}/LC_MESSAGES/${LANGFILE}
+  rm /usr/local/share/locale/${i}/LC_MESSAGES/${LANGFILE1}
+  rm /usr/local/share/locale/${i}/LC_MESSAGES/${LANGFILE2}
+  rm /usr/local/share/locale/${i}/LC_MESSAGES/${LANGFILE3}
+  rm /usr/local/share/locale/${i}/LC_MESSAGES/${LANGFILE4}
 done
 
 cd /home 

Modified: pbibuild/modules/gimp/overlay-dir/PBI.SetupScript.sh
===================================================================
--- pbibuild/modules/gimp/overlay-dir/PBI.SetupScript.sh	2007-12-19 21:33:54 UTC (rev 1049)
+++ pbibuild/modules/gimp/overlay-dir/PBI.SetupScript.sh	2007-12-19 22:02:22 UTC (rev 1050)
@@ -22,12 +22,20 @@
 ln -s /Programs/${PROGDIR}/.sbin/gimp /usr/local/bin/gimp
 
 # Copy over all the LANG files
-LANGFILE="gimp.mo"
+LANGFILE="gimp20.mo"
+LANGFILE1="gimp20-python.mo"
+LANGFILE2="gimp20-script-fu.mo"
+LANGFILE3="gimp20-std-plug-ins.mo"
+LANGFILE4="gimp20-libgimp.mo"
 cd /Programs/${PROGDIR}/locale
 for i in `ls`
 do
   mkdir -p /usr/local/share/locale/${i}/LC_MESSAGES >/dev/null 2>/dev/null
   cp /Programs/${PROGDIR}/locale/${i}/${LANGFILE} /usr/local/share/locale/${i}/LC_MESSAGES/${LANGFILE}
+  cp /Programs/${PROGDIR}/locale/${i}/${LANGFILE1} /usr/local/share/locale/${i}/LC_MESSAGES/${LANGFILE1}
+  cp /Programs/${PROGDIR}/locale/${i}/${LANGFILE2} /usr/local/share/locale/${i}/LC_MESSAGES/${LANGFILE2}
+  cp /Programs/${PROGDIR}/locale/${i}/${LANGFILE3} /usr/local/share/locale/${i}/LC_MESSAGES/${LANGFILE3}
+  cp /Programs/${PROGDIR}/locale/${i}/${LANGFILE4} /usr/local/share/locale/${i}/LC_MESSAGES/${LANGFILE4}
 done
 
 



More information about the Commits mailing list