[PC-BSD Commits] r843 - in pbibuild/modules/k3b: . overlay-dir

svn at pcbsd.org svn at pcbsd.org
Wed Nov 7 10:47:03 PST 2007


Author: kris
Date: 2007-11-07 10:47:02 -0800 (Wed, 07 Nov 2007)
New Revision: 843

Added:
   pbibuild/modules/k3b/overlay-dir/PBI.FirstRun.sh
Modified:
   pbibuild/modules/k3b/copy-files
   pbibuild/modules/k3b/overlay-dir/PBI.RemoveScript.sh
   pbibuild/modules/k3b/overlay-dir/PBI.SetupScript.sh
   pbibuild/modules/k3b/pbi.conf
Log:

Fixed a lot of the bugs with K3B auto-build PBI, services, artwork and
sounds should be working as normal now



Modified: pbibuild/modules/k3b/copy-files
===================================================================
--- pbibuild/modules/k3b/copy-files	2007-11-07 01:04:01 UTC (rev 842)
+++ pbibuild/modules/k3b/copy-files	2007-11-07 18:47:02 UTC (rev 843)
@@ -55,9 +55,9 @@
 /usr/local/bin/transcode bin/
 /usr/local/bin/untoast bin/
 /usr/local/bin/xvid4conf bin/
-/usr/local/lib/kde3/kfile_kdb* autolibs/
-/usr/local/lib/kde3/libk3b* autolibs/
-/usr/local/lib/kde3/kio_videodvd* autolibs/
+/usr/local/lib/kde3/kfile_kdb* autolibs/kde3/
+/usr/local/lib/kde3/libk3b* autolibs/kde3/
+/usr/local/lib/kde3/kio_videodvd* autolibs/kde3/
 /usr/local/lib/libk3b* autolibs/
 /usr/local/lib/libmp3lame* autolibs/
 /usr/local/share/apps/k3b share/apps/

Added: pbibuild/modules/k3b/overlay-dir/PBI.FirstRun.sh


Property changes on: pbibuild/modules/k3b/overlay-dir/PBI.FirstRun.sh
___________________________________________________________________
Name: svn:executable
   + *

Modified: pbibuild/modules/k3b/overlay-dir/PBI.RemoveScript.sh
===================================================================
--- pbibuild/modules/k3b/overlay-dir/PBI.RemoveScript.sh	2007-11-07 01:04:01 UTC (rev 842)
+++ pbibuild/modules/k3b/overlay-dir/PBI.RemoveScript.sh	2007-11-07 18:47:02 UTC (rev 843)
@@ -8,7 +8,24 @@
 #########################################
 
 rm /usr/local/bin/k3b
+rm /usr/local/share/apps/k3b
+rm /usr/local/share/services/kfile_k3b.desktop
+rm /usr/local/share/services/videodvd.protocol
 
+# Remove the services links
+cd /Programs/${1}/autolibs/kde3/
+for i in `ls`
+do
+ rm /usr/local/lib/kde3/${i}
+done
+
+# Remove the sound links
+cd /Programs/${1}/share/sounds/
+for i in `ls`
+do
+ rm /usr/local/share/sounds/${i}
+done
+
 cd /home
 for i in `ls` 
    do 

Modified: pbibuild/modules/k3b/overlay-dir/PBI.SetupScript.sh
===================================================================
--- pbibuild/modules/k3b/overlay-dir/PBI.SetupScript.sh	2007-11-07 01:04:01 UTC (rev 842)
+++ pbibuild/modules/k3b/overlay-dir/PBI.SetupScript.sh	2007-11-07 18:47:02 UTC (rev 843)
@@ -15,3 +15,22 @@
 # echo 'MSG: <text>' # Display this text above progress bar
 #########################################
 ln -s /Programs/${PROGDIR}/.sbin/k3b /usr/local/bin/k3b
+ln -s /Programs/${PROGDIR}/share/apps/k3b /usr/local/share/apps/k3b
+ln -s /Programs/${PROGDIR}/share/services/kfile_k3b.desktop /usr/local/share/services/kfile_k3b.desktop
+ln -s /Programs/${PROGDIR}/share/services/videodvd.protocol /usr/local/share/services/videodvd.protocol
+
+# Make links for services
+cd /Programs/${PROGDIR}/autolibs/kde3/
+for i in `ls`
+do
+ # Link the services now
+ ln -s /Programs/${PROGDIR}/autolibs/kde3/${i} /usr/local/lib/kde3/${i}
+done
+
+# Make links for sounds wav files
+cd /Programs/${PROGDIR}/share/sounds/
+for i in `ls`
+do
+ # Link the services now
+ ln -s /Programs/${PROGDIR}/share/sounds/${i} /usr/local/share/sounds/${i}
+done

Modified: pbibuild/modules/k3b/pbi.conf
===================================================================
--- pbibuild/modules/k3b/pbi.conf	2007-11-07 01:04:01 UTC (rev 842)
+++ pbibuild/modules/k3b/pbi.conf	2007-11-07 18:47:02 UTC (rev 843)
@@ -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="02"
+BUILDKEY="03"
 
 export PBIPORT MAKEOPTS PROGNAME PROGWEB PROGAUTHOR OTHERPORT PROGICON PROGLIBS PBIUPDATE BUILDKEY



More information about the Commits mailing list