[PC-BSD Commits] r979 - in pbibuild/modules/bmpx: . kmenu-dir overlay-dir

svn at pcbsd.org svn at pcbsd.org
Fri Dec 7 18:41:33 PST 2007


Author: kris
Date: 2007-12-07 18:41:32 -0800 (Fri, 07 Dec 2007)
New Revision: 979

Added:
   pbibuild/modules/bmpx/overlay-dir/header.png
   pbibuild/modules/bmpx/overlay-dir/leftside.png
   pbibuild/modules/bmpx/overlay-dir/lib
   pbibuild/modules/bmpx/overlay-dir/libexec/
   pbibuild/modules/bmpx/preportmake.sh
Modified:
   pbibuild/modules/bmpx/build.sh
   pbibuild/modules/bmpx/copy-files
   pbibuild/modules/bmpx/kmenu-dir/bmpx
   pbibuild/modules/bmpx/overlay-dir/PBI.RemoveScript.sh
   pbibuild/modules/bmpx/overlay-dir/PBI.SetupScript.sh
   pbibuild/modules/bmpx/pbi.conf
Log:

The new and WORKING bmpx module, ready to go!



Modified: pbibuild/modules/bmpx/build.sh
===================================================================
--- pbibuild/modules/bmpx/build.sh	2007-12-07 21:07:27 UTC (rev 978)
+++ pbibuild/modules/bmpx/build.sh	2007-12-08 02:41:32 UTC (rev 979)
@@ -9,3 +9,16 @@
 #   PORTVER = Version number of the port we used to build
 ##############################################################################
 
+# Get all the various language files and copy them to the PBI
+LANGFILE="bmpx.mo"
+mkdir ${PBIDIR}/locale/
+cd /usr/local/share/locale
+for i in `ls`
+do
+  if [ -e "/usr/local/share/locale/${i}/LC_MESSAGES/${LANGFILE}" ]
+  then
+    mkdir ${PBIDIR}/locale/${i}
+    cp /usr/local/share/locale/${i}/LC_MESSAGES/${LANGFILE} ${PBIDIR}/locale/${i}/
+  fi
+done
+

Modified: pbibuild/modules/bmpx/copy-files
===================================================================
--- pbibuild/modules/bmpx/copy-files	2007-12-07 21:07:27 UTC (rev 978)
+++ pbibuild/modules/bmpx/copy-files	2007-12-08 02:41:32 UTC (rev 979)
@@ -2,11 +2,46 @@
 /usr/local/bin/beep-* bin/
 /usr/local/bin/gst-* bin/
 /usr/local/bin/oil-* bin/
+/usr/local/bin/a52de* bin/
+/usr/local/bin/extract_a52* bin/
+/usr/local/bin/metaflac bin/
+/usr/local/bin/flac bin/
+/usr/local/bin/faad bin/
+/usr/local/bin/lame bin/
+/usr/local/bin/mp3* bin/
+/usr/local/bin/nasm* bin/
+/usr/local/bin/ndisasm* bin/
+/usr/local/bin/xmlproc* bin/
+/usr/local/bin/OpenSPC* bin/
 /usr/local/share/bmpx share/bmpx
 /usr/local/share/applications/bmp-* share/applications/
 /usr/local/lib/bmpx autolibs/bmpx
+/usr/local/lib/libflac* autolibs/
+/usr/local/lib/libmad* autolibs/
 /usr/local/lib/libsoup* autolibs/
 /usr/local/lib/libsexy* autolibs/
 /usr/local/lib/enchant autolibs/
 /usr/local/lib/libenchant* autolibs/
+/usr/local/lib/libglademm* autolibs/
+/usr/local/lib/libgst* autolibs/
+/usr/local/lib/libgtkmm* autolibs/
+/usr/local/lib/libgdkmm* autolibs/
+/usr/local/lib/libatkmm* autolibs/
+/usr/local/lib/libpangomm* autolibs/
+/usr/local/lib/libcairomm* autolibs/
+/usr/local/lib/libmp3* autolibs/
+/usr/local/lib/libOpen* autolibs/
+/usr/local/lib/liba52* autolibs/
+/usr/local/lib/libfaad* autolibs/
+/usr/local/lib/liboil* autolibs/
+/usr/local/lib/libsidpl* autolibs/
+/usr/local/lib/libsigc* autolibs/
+/usr/local/lib/libxml* autolibs/
+/usr/local/lib/libpcre* autolibs/
+/usr/local/lib/libintl* autolibs/
+/usr/local/lib/libiconv* autolibs/
+/usr/local/lib/libGL* autolibs/
+/usr/local/lib/libdrm* autolibs/
+/usr/local/lib/libg* autolibs/
+/usr/local/lib/gstream* autolibs/
 /usr/local/libexec/beep* libexec/

Modified: pbibuild/modules/bmpx/kmenu-dir/bmpx
===================================================================
--- pbibuild/modules/bmpx/kmenu-dir/bmpx	2007-12-07 21:07:27 UTC (rev 978)
+++ pbibuild/modules/bmpx/kmenu-dir/bmpx	2007-12-08 02:41:32 UTC (rev 979)
@@ -1,4 +1,4 @@
-ExePath: bin/bmp2
+ExePath: libexec/beep-media-player-2-bin
 ExeIcon: share/bmpx/icons/themes/red/icon_player_128.png
 ExeDescr: Beep Media Player 
 ExeNoDesktop: 0

Modified: pbibuild/modules/bmpx/overlay-dir/PBI.RemoveScript.sh
===================================================================
--- pbibuild/modules/bmpx/overlay-dir/PBI.RemoveScript.sh	2007-12-07 21:07:27 UTC (rev 978)
+++ pbibuild/modules/bmpx/overlay-dir/PBI.RemoveScript.sh	2007-12-08 02:41:32 UTC (rev 979)
@@ -7,15 +7,34 @@
 # TIP: 'kdialog' should be used for user interaction. 
 #########################################
 
-rm /usr/local/bin/bmp2
+rm /usr/local/bin/beep-media-player-2-bin
 rm /usr/local/share/bmpx
 rm /usr/local/libexec/beep-media*
+rm /Programs/BMPx
 
-# Remove the links for the applications folder
-cd /Programs/${PROGDIR}/share/applications/
+# Remove the old locale files since we are uninstalling
+LANGFILE="bmpx.mo"
+cd /Programs/${PROGDIR}/locale
 for i in `ls`
 do
-  rm /usr/local/share/applications/${i}
+  rm /usr/local/share/locale/${i}/LC_MESSAGES/${LANGFILE}
 done
 
 
+if [ ! -z "$DISPLAY" ]
+then
+ # Ask if we want to remove the user profiles
+ kdialog --yesno "Do you want to remove BMPx user settings?" --title "Remove user settings"
+ if [ "$?" = "0" ]
+ then
+  cd /home
+  for i in `ls`
+  do
+   if [ -e "/home/${i}/.config/bmpx" ]
+   then
+    rm -rf /home/${i}/.config/bmpx
+   fi
+  done
+ fi
+fi
+

Modified: pbibuild/modules/bmpx/overlay-dir/PBI.SetupScript.sh
===================================================================
--- pbibuild/modules/bmpx/overlay-dir/PBI.SetupScript.sh	2007-12-07 21:07:27 UTC (rev 978)
+++ pbibuild/modules/bmpx/overlay-dir/PBI.SetupScript.sh	2007-12-08 02:41:32 UTC (rev 979)
@@ -15,15 +15,20 @@
 # echo 'MSG: <text>' # Display this text above progress bar
 #########################################
 
-ln -s /Programs/${PROGDIR}/.sbin/bmp2 /usr/local/bin/bmp2
+ln -s /Programs/${PROGDIR}/.sbin/beep-media-player-2-bin /usr/local/bin/beep-media-player-2-bin
 ln -s /Programs/${PROGDIR}/share/bmpx /usr/local/share/bmpx
 ln -s /Programs/${PROGDIR}/libexec/beep-media-player-2-bin /usr/local/libexec/beep-media-player-2-bin
 ln -s /Programs/${PROGDIR}/libexec/beep-media-player-2-sentinel /usr/local/libexec/beep-media-player-2-sentinel
 
-cd /Programs/${PROGDIR}/share/applications/
+ln -s /Programs/${PROGDIR} /Programs/BMPx
+
+# Copy over all the LANG files
+LANGFILE="bmpx.mo"
+cd /Programs/${PROGDIR}/locale
 for i in `ls`
 do
-  ln -s /Programs/${PROGDIR}/share/applications/${i} /usr/local/share/applications/${i}
+  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}
 done
 
-echo "LAUNCHCLOSE: /usr/local/bin/bmp2"
+echo "LAUNCHCLOSE: /usr/local/bin/beep-media-player-2-bin"

Added: pbibuild/modules/bmpx/overlay-dir/header.png


Property changes on: pbibuild/modules/bmpx/overlay-dir/header.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: pbibuild/modules/bmpx/overlay-dir/leftside.png


Property changes on: pbibuild/modules/bmpx/overlay-dir/leftside.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: pbibuild/modules/bmpx/overlay-dir/lib


Property changes on: pbibuild/modules/bmpx/overlay-dir/lib
___________________________________________________________________
Name: svn:special
   + *

Modified: pbibuild/modules/bmpx/pbi.conf
===================================================================
--- pbibuild/modules/bmpx/pbi.conf	2007-12-07 21:07:27 UTC (rev 978)
+++ pbibuild/modules/bmpx/pbi.conf	2007-12-08 02:41:32 UTC (rev 979)
@@ -10,7 +10,7 @@
 PROGWEB="http://beep-media-player.org/"
 
 # Program Author
-PROGAUTHOR="The BMP Team"
+PROGAUTHOR="The BMPx Team"
 
 # Default Icon (Relative to overlay-dir)
 PROGICON="share/bmpx/icons/themes/red/icon_player_128.png"
@@ -25,13 +25,22 @@
 PBIUPDATE="http://update.pbidir.com"
 
 # Other Ports we need built (One per line)
-OTHERPORT=""
+OTHERPORT="/usr/ports/audio/flac
+/usr/ports/audio/openspc
+/usr/ports/audio/gstreamer-plugins-lame
+/usr/ports/audio/gstreamer-plugins-a52dec
+/usr/ports/audio/gstreamer-plugins-fluendo-mp3
+/usr/ports/audio/gstreamer-plugins-faad
+/usr/ports/audio/gstreamer-plugins-flac
+/usr/ports/multimedia/gstreamer-ffmpeg"
 
 # Enter your custom make options here
-MAKEOPTS=""
+MAKEOPTS="LDFLAGS=\"-Wl,--rpath=/Programs/BMPx/autolibs\"
+PREFIX=/Programs/BMPx
+WITH_HAL=yes"
 
 # 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="10"
+BUILDKEY="12"
 
 export PBIPORT MAKEOPTS PROGNAME PROGWEB PROGAUTHOR OTHERPORT PROGICON PROGLIBS PBIUPDATE BUILDKEY

Added: pbibuild/modules/bmpx/preportmake.sh


Property changes on: pbibuild/modules/bmpx/preportmake.sh
___________________________________________________________________
Name: svn:executable
   + *



More information about the Commits mailing list