Changeset 979

Show
Ignore:
Timestamp:
12/07/07 18:41:32 (12 months ago)
Author:
kris
Message:

The new and WORKING bmpx module, ready to go!

Location:
pbibuild/modules/bmpx
Files:
5 added
6 modified

Legend:

Unmodified
Added
Removed
  • pbibuild/modules/bmpx/build.sh

    r936 r979  
    1010############################################################################## 
    1111 
     12# Get all the various language files and copy them to the PBI 
     13LANGFILE="bmpx.mo" 
     14mkdir ${PBIDIR}/locale/ 
     15cd /usr/local/share/locale 
     16for i in `ls` 
     17do 
     18  if [ -e "/usr/local/share/locale/${i}/LC_MESSAGES/${LANGFILE}" ] 
     19  then 
     20    mkdir ${PBIDIR}/locale/${i} 
     21    cp /usr/local/share/locale/${i}/LC_MESSAGES/${LANGFILE} ${PBIDIR}/locale/${i}/ 
     22  fi 
     23done 
     24 
  • pbibuild/modules/bmpx/copy-files

    r938 r979  
    33/usr/local/bin/gst-* bin/ 
    44/usr/local/bin/oil-* bin/ 
     5/usr/local/bin/a52de* bin/ 
     6/usr/local/bin/extract_a52* bin/ 
     7/usr/local/bin/metaflac bin/ 
     8/usr/local/bin/flac bin/ 
     9/usr/local/bin/faad bin/ 
     10/usr/local/bin/lame bin/ 
     11/usr/local/bin/mp3* bin/ 
     12/usr/local/bin/nasm* bin/ 
     13/usr/local/bin/ndisasm* bin/ 
     14/usr/local/bin/xmlproc* bin/ 
     15/usr/local/bin/OpenSPC* bin/ 
    516/usr/local/share/bmpx share/bmpx 
    617/usr/local/share/applications/bmp-* share/applications/ 
    718/usr/local/lib/bmpx autolibs/bmpx 
     19/usr/local/lib/libflac* autolibs/ 
     20/usr/local/lib/libmad* autolibs/ 
    821/usr/local/lib/libsoup* autolibs/ 
    922/usr/local/lib/libsexy* autolibs/ 
    1023/usr/local/lib/enchant autolibs/ 
    1124/usr/local/lib/libenchant* autolibs/ 
     25/usr/local/lib/libglademm* autolibs/ 
     26/usr/local/lib/libgst* autolibs/ 
     27/usr/local/lib/libgtkmm* autolibs/ 
     28/usr/local/lib/libgdkmm* autolibs/ 
     29/usr/local/lib/libatkmm* autolibs/ 
     30/usr/local/lib/libpangomm* autolibs/ 
     31/usr/local/lib/libcairomm* autolibs/ 
     32/usr/local/lib/libmp3* autolibs/ 
     33/usr/local/lib/libOpen* autolibs/ 
     34/usr/local/lib/liba52* autolibs/ 
     35/usr/local/lib/libfaad* autolibs/ 
     36/usr/local/lib/liboil* autolibs/ 
     37/usr/local/lib/libsidpl* autolibs/ 
     38/usr/local/lib/libsigc* autolibs/ 
     39/usr/local/lib/libxml* autolibs/ 
     40/usr/local/lib/libpcre* autolibs/ 
     41/usr/local/lib/libintl* autolibs/ 
     42/usr/local/lib/libiconv* autolibs/ 
     43/usr/local/lib/libGL* autolibs/ 
     44/usr/local/lib/libdrm* autolibs/ 
     45/usr/local/lib/libg* autolibs/ 
     46/usr/local/lib/gstream* autolibs/ 
    1247/usr/local/libexec/beep* libexec/ 
  • pbibuild/modules/bmpx/kmenu-dir/bmpx

    r938 r979  
    1 ExePath: bin/bmp2 
     1ExePath: libexec/beep-media-player-2-bin 
    22ExeIcon: share/bmpx/icons/themes/red/icon_player_128.png 
    33ExeDescr: Beep Media Player  
  • pbibuild/modules/bmpx/overlay-dir/PBI.RemoveScript.sh

    r939 r979  
    88######################################### 
    99 
    10 rm /usr/local/bin/bmp2 
     10rm /usr/local/bin/beep-media-player-2-bin 
    1111rm /usr/local/share/bmpx 
    1212rm /usr/local/libexec/beep-media* 
     13rm /Programs/BMPx 
    1314 
    14 # Remove the links for the applications folder 
    15 cd /Programs/${PROGDIR}/share/applications/ 
     15# Remove the old locale files since we are uninstalling 
     16LANGFILE="bmpx.mo" 
     17cd /Programs/${PROGDIR}/locale 
    1618for i in `ls` 
    1719do 
    18   rm /usr/local/share/applications/${i} 
     20  rm /usr/local/share/locale/${i}/LC_MESSAGES/${LANGFILE} 
    1921done 
    2022 
    2123 
     24if [ ! -z "$DISPLAY" ] 
     25then 
     26 # Ask if we want to remove the user profiles 
     27 kdialog --yesno "Do you want to remove BMPx user settings?" --title "Remove user settings" 
     28 if [ "$?" = "0" ] 
     29 then 
     30  cd /home 
     31  for i in `ls` 
     32  do 
     33   if [ -e "/home/${i}/.config/bmpx" ] 
     34   then 
     35    rm -rf /home/${i}/.config/bmpx 
     36   fi 
     37  done 
     38 fi 
     39fi 
     40 
  • pbibuild/modules/bmpx/overlay-dir/PBI.SetupScript.sh

    r938 r979  
    1616######################################### 
    1717 
    18 ln -s /Programs/${PROGDIR}/.sbin/bmp2 /usr/local/bin/bmp2 
     18ln -s /Programs/${PROGDIR}/.sbin/beep-media-player-2-bin /usr/local/bin/beep-media-player-2-bin 
    1919ln -s /Programs/${PROGDIR}/share/bmpx /usr/local/share/bmpx 
    2020ln -s /Programs/${PROGDIR}/libexec/beep-media-player-2-bin /usr/local/libexec/beep-media-player-2-bin 
    2121ln -s /Programs/${PROGDIR}/libexec/beep-media-player-2-sentinel /usr/local/libexec/beep-media-player-2-sentinel 
    2222 
    23 cd /Programs/${PROGDIR}/share/applications/ 
     23ln -s /Programs/${PROGDIR} /Programs/BMPx 
     24 
     25# Copy over all the LANG files 
     26LANGFILE="bmpx.mo" 
     27cd /Programs/${PROGDIR}/locale 
    2428for i in `ls` 
    2529do 
    26   ln -s /Programs/${PROGDIR}/share/applications/${i} /usr/local/share/applications/${i} 
     30  mkdir -p /usr/local/share/locale/${i}/LC_MESSAGES >/dev/null 2>/dev/null 
     31  cp /Programs/${PROGDIR}/locale/${i}/${LANGFILE} /usr/local/share/locale/${i}/LC_MESSAGES/${LANGFILE} 
    2732done 
    2833 
    29 echo "LAUNCHCLOSE: /usr/local/bin/bmp2" 
     34echo "LAUNCHCLOSE: /usr/local/bin/beep-media-player-2-bin" 
  • pbibuild/modules/bmpx/pbi.conf

    r938 r979  
    1111 
    1212# Program Author 
    13 PROGAUTHOR="The BMP Team" 
     13PROGAUTHOR="The BMPx Team" 
    1414 
    1515# Default Icon (Relative to overlay-dir) 
     
    2626 
    2727# Other Ports we need built (One per line) 
    28 OTHERPORT="" 
     28OTHERPORT="/usr/ports/audio/flac 
     29/usr/ports/audio/openspc 
     30/usr/ports/audio/gstreamer-plugins-lame 
     31/usr/ports/audio/gstreamer-plugins-a52dec 
     32/usr/ports/audio/gstreamer-plugins-fluendo-mp3 
     33/usr/ports/audio/gstreamer-plugins-faad 
     34/usr/ports/audio/gstreamer-plugins-flac 
     35/usr/ports/multimedia/gstreamer-ffmpeg" 
    2936 
    3037# Enter your custom make options here 
    31 MAKEOPTS="" 
     38MAKEOPTS="LDFLAGS=\"-Wl,--rpath=/Programs/BMPx/autolibs\" 
     39PREFIX=/Programs/BMPx 
     40WITH_HAL=yes" 
    3241 
    3342# Build Key - Change this to anything else to trigger a rebuild  
    3443#           - The rebuild will take place even if port is still the same ver 
    35 BUILDKEY="10" 
     44BUILDKEY="12" 
    3645 
    3746export PBIPORT MAKEOPTS PROGNAME PROGWEB PROGAUTHOR OTHERPORT PROGICON PROGLIBS PBIUPDATE BUILDKEY