# HG changeset patch # User Christophe Lincoln # Date 1397493202 -7200 # Node ID 59d50f859d0dafed7b54257f426ae671892d9874 # Parent 089e96b232b81b8b076f54753d7113bdb652a4e2 Add eggwm + tinyxml and hg add for pkgs from last commit diff -r 089e96b232b8 -r 59d50f859d0d eggwm/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eggwm/receipt Mon Apr 14 18:33:22 2014 +0200 @@ -0,0 +1,52 @@ +# SliTaz package receipt. + +PACKAGE="eggwm" +VERSION="0.2" +CATEGORY="x-window" +SHORT_DESC="EggWM is a light QT Window Manager." +MAINTAINER="pankso@slitaz.org" +LICENSE="GPL3" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://code.google.com/p/eggwm/" +WGET_URL="http://eggwm.googlecode.com/files/$TARBALL" + +DEPENDS="xorg-libX11 libQtCore libQtGui" +BUILD_DEPENDS="qmake Qt4-dev" + +# Rules to configure and make the package. +compile_rules() +{ + qmake EggWM.pro && + make && + make install INSTALL_ROOT=$DESTDIR +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/bin $fs/usr/share + install -m 755 $src/eggwm $fs/usr/bin/eggwm + cp -a $src/installation $fs/usr/share/eggwm + rm -rf $fs/usr/share/eggwm/themes/testtheme + find $fs/usr/share/eggwm -type f -exec chmod 0644 {} \; + cp -r $stuff/xsessions $fs/usr/share +} + +post_install() +{ + res=$(cat $root/etc/slim.conf | grep ^session | sed s/"sessions. *"//) + # Adding WM to SLIM available sessions. + if ! echo "$res" | grep -q $PACKAGE; then + echo -n "Adding $PACKAGE to /etc/slim.conf..." + sed -i "s/^sessions.*/sessions ${res},$PACKAGE/" $root/etc/slim.conf + status + fi +} + +post_remove() +{ + # Remove WM from SLIM available sessions. + if grep -q $PACKAGE $1/etc/slim.conf; then + sed -i s/,$PACKAGE// $root/etc/slim.conf + fi +} diff -r 089e96b232b8 -r 59d50f859d0d eggwm/stuff/xsessions/eggwm.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eggwm/stuff/xsessions/eggwm.desktop Mon Apr 14 18:33:22 2014 +0200 @@ -0,0 +1,7 @@ +[Desktop Entry] +Encoding=UTF-8 +Type=XSession +Name=EggWM Desktop +Name[fr]=Bureau EggWM +Exec=eggwm + diff -r 089e96b232b8 -r 59d50f859d0d flmusic/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/flmusic/receipt Mon Apr 14 18:33:22 2014 +0200 @@ -0,0 +1,34 @@ +# SliTaz package receipt + +PACKAGE="flmusic" +VERSION="1.2.1" +CATEGORY="multimedia" +SHORT_DESC="FLTK Audio player" +MAINTAINER="pankso@slitaz.org" +LICENSE="GPL" +TARBALL="$PACKAGE-fltk13-source-$VERSION.tgz" +WEB_SITE="http://home.arcor.de/szukw000/english_index.html" +WGET_URL="http://home.arcor.de/szukw000/$TARBALL" + +DEPENDS="fltk alsa-lib sox" +BUILD_DEPENDS="fltk-dev alsa-lib-dev sox-dev" + +# Rules to configure and make the package. +compile_rules() +{ + #sed -i '/ioctl.h/a #include ' reader.c && + sed -i 's/$(installdir)/$(DESTDIR)$(installdir)/' \ + Makefile.in || return 1 + chmod +x configure && + ./configure --prefix=/usr \ + $CONFIGURE_ARGS && + make && mkdir -p $DESTDIR/usr/bin && + make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $install/usr/bin $fs/usr +} diff -r 089e96b232b8 -r 59d50f859d0d flmusic/stuff/flmusic.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/flmusic/stuff/flmusic.desktop Mon Apr 14 18:33:22 2014 +0200 @@ -0,0 +1,12 @@ +[Desktop Entry] +Type=Application +Name=Audio Player Flmusic +Name[fr]=Lecteur audio Flmusic +Name[pt]=Reprodutor de audio Flmusic +Name[pt_BR]=Reprodutor de audio Flmusic +Name[ru]=Аудио проигрыватель Flmusic +Name[zh_CN]=Flmusic 音乐播放器 +Exec=flmusic +Icon=audio-x-wav +Categories=AudioVideo;Audio;Player; +MimeType=audio/x-scpls;audio/x-mpegurl;audio/mpegurl;audio/mp3;audio/x-mp3;audio/mpeg;audio/x-mpeg;audio/x-wav;audio/ogg+vorbis;audio/ogg;application/flac; diff -r 089e96b232b8 -r 59d50f859d0d fltk-blocks/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fltk-blocks/receipt Mon Apr 14 18:33:22 2014 +0200 @@ -0,0 +1,29 @@ +# SliTaz package receipt. + +PACKAGE="fltk-blocks" +VERSION="1.3.2" +CATEGORY="games" +SHORT_DESC="FLTK Blocks game." +MAINTAINER="pankso@slitaz.org" +LICENSE="LGPL2" +WEB_SITE="http://www.fltk.org/" +HOST_ARCH="i486 arm" + +WANTED="fltk" +DEPENDS="fltk" + +# Rules to configure and make the package. +compile_rules() +{ + cd ${src}/test && + [ -x ./blocks ] || make blocks +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/games $fs/usr/share/pixmaps + cp -a ${src}/test/blocks $fs/usr/games/$PACKAGE + cp -a ${src}/test/desktop/blocks-32.png \ + $fs/usr/share/pixmaps/$PACKAGE.png +} diff -r 089e96b232b8 -r 59d50f859d0d fltk-blocks/stuff/fltk-blocks.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fltk-blocks/stuff/fltk-blocks.desktop Mon Apr 14 18:33:22 2014 +0200 @@ -0,0 +1,7 @@ +[Desktop Entry] +Name=Block Attack! +Exec=fltk-blocks +Icon=fltk-blocks +Terminal=false +Type=Application +Categories=Game;BoardGame; diff -r 089e96b232b8 -r 59d50f859d0d fltk-checkers/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fltk-checkers/receipt Mon Apr 14 18:33:22 2014 +0200 @@ -0,0 +1,29 @@ +# SliTaz package receipt. + +PACKAGE="fltk-checkers" +VERSION="1.3.2" +CATEGORY="games" +SHORT_DESC="FLTK Checkers game." +MAINTAINER="pankso@slitaz.org" +LICENSE="LGPL2" +WEB_SITE="http://www.fltk.org/" +HOST_ARCH="i486 arm" + +WANTED="fltk" +DEPENDS="fltk" + +# Rules to configure and make the package. +compile_rules() +{ + cd ${src}/test && + [ -x ./checkers ] || make checkers +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/games $fs/usr/share/pixmaps + cp -a ${src}/test/checkers $fs/usr/games/$PACKAGE + cp -a ${src}/test/desktop/checkers-32.png \ + $fs/usr/share/pixmaps/$PACKAGE.png +} diff -r 089e96b232b8 -r 59d50f859d0d fltk-checkers/stuff/fltk-checkers.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fltk-checkers/stuff/fltk-checkers.desktop Mon Apr 14 18:33:22 2014 +0200 @@ -0,0 +1,7 @@ +[Desktop Entry] +Name=Checkers Game +Exec=fltk-checkers +Icon=fltk-checkers +Terminal=false +Type=Application +Categories=Game;BoardGame; diff -r 089e96b232b8 -r 59d50f859d0d fltk-colbrowser/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fltk-colbrowser/receipt Mon Apr 14 18:33:22 2014 +0200 @@ -0,0 +1,29 @@ +# SliTaz package receipt. + +PACKAGE="fltk-colbrowser" +VERSION="1.3.2" +CATEGORY="graphics" +SHORT_DESC="FLT Color browser." +MAINTAINER="pankso@slitaz.org" +LICENSE="LGPL2" +WEB_SITE="http://www.fltk.org/" +HOST_ARCH="i486 arm" + +WANTED="fltk" +DEPENDS="fltk" + +# Rules to configure and make the package. +compile_rules() +{ + cd ${src}/test && rm -f colbrowser && + sed -i s'#"rgb.txt"#"/usr/share/fltk/rgb.txt"#' colbrowser.cxx && + make colbrowser +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/bin $fs/usr/share/fltk + cp -a ${src}/test/colbrowser ${fs}/usr/bin/$PACKAGE + cp ${src}/test/rgb.txt ${fs}/usr/share/fltk +} diff -r 089e96b232b8 -r 59d50f859d0d fltk-colbrowser/stuff/fltk-colbrowser.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fltk-colbrowser/stuff/fltk-colbrowser.desktop Mon Apr 14 18:33:22 2014 +0200 @@ -0,0 +1,7 @@ +[Desktop Entry] +Name=FLTK Color Browser +Exec=fltk-colbrowser +Icon=gcolor2 +Terminal=false +Type=Application +Categories=Graphics; diff -r 089e96b232b8 -r 59d50f859d0d tinyxml/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tinyxml/receipt Mon Apr 14 18:33:22 2014 +0200 @@ -0,0 +1,33 @@ +# SliTaz package receipt. + +PACKAGE="tinyxml" +VERSION="2_6_2" +CATEGORY="system-tools" +SHORT_DESC="TinyXML is a simple, small, C++ XML parser." +MAINTAINER="pankso@slitaz.org" +LICENSE="GPL2" +TARBALL="${PACKAGE}_$VERSION.zip" +WEB_SITE="http://wiki.lxde.org/en/LXMusic" +WGET_URL="$SF_MIRROR/project/$PACKAGE/$PACKAGE/2.6.2/$TARBALL" +HOST_ARCH="i486 arm" + +# Rules to configure and make the package. +compile_rules() +{ + make && + ${HOST_SYSTEM}-g++ -m32 -fPIC "$CXXFLAGS" -shared \ + -o libtinyxml.so.0.${pkgver} \ + -Wl,-soname,libtinyxml.so.0 $(ls *.o | grep -v xmltest) +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib $fs/usr/bin + cp -a ${src}/xmltest $fs/usr/bin + cp -a ${src}/*.so* $fs/usr/lib + cd $fs/usr/lib + ln -s libtinyxml.so.0.2.6.2 libtinyxml.so.0 + ln -s libtinyxml.so.0.2.6.2 libtinyxml.so +} +