# HG changeset patch # User Pascal Bellard # Date 1320354157 -3600 # Node ID 5189e691d619462c63e92a853ea8039e0d6abbe7 # Parent 7df05207d343a5591bcace41f8cfd5421894b1c7 Add from wok-undigest: ayttm billardgl blackbox bleachbit blueman brasero diff -r 7df05207d343 -r 5189e691d619 ayttm/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ayttm/receipt Thu Nov 03 22:02:37 2011 +0100 @@ -0,0 +1,34 @@ +# SliTaz package receipt. + +PACKAGE="ayttm" +VERSION="0.6.3" +CATEGORY="network" +SHORT_DESC="Universal instant messenger client" +MAINTAINER="devl547@gmail.com" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://ayttm.sourceforge.net/" +WGET_URL="http://downloads.sourceforge.net/project/$PACKAGE/$PACKAGE/$VERSION/$TARBALL" +BUILD_DEPENDS="gtk+-dev zlib-dev audiofile-dev xcb-util-dev openssl-dev flex enchant-dev" +DEPENDS="gtk+ zlib audiofile xcb-util openssl enchant aspell" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr --infodir=/usr/share/info \ + --mandir=/usr/share/man $CONFIGURE_ARGS \ + --disable-webcam --disable-esd --disable-arts --disable-webcam \ + --enable-lj && + make && make install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/ + mkdir -p $fs/etc/ + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib $fs/usr + cp -a $install/usr/share/ $fs/usr + cp $install/usr/etc/ayttmrc $fs/etc/ayttmrc +} diff -r 7df05207d343 -r 5189e691d619 billardgl/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/billardgl/receipt Thu Nov 03 22:02:37 2011 +0100 @@ -0,0 +1,36 @@ +# SliTaz package receipt. + +PACKAGE="billardgl" +VERSION="1.75" +CATEGORY="games" +SHORT_DESC="OpenGL billard game." +MAINTAINER="pascal.bellard@slitaz.org" +SOURCE="BillardGL" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://www.billardgl.de/" +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" + +DEPENDS="libglu-mesa freeglut" +BUILD_DEPENDS="libglu-mesa xorg-libXmu-dev xorg-libXi-dev mesa-dev freeglut-dev" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src/src + sed -i 's/stream.h/stream/' bmp.cpp + grep -q namespace bmp.cpp || + sed -i 's/"bmp.h"/"bmp.h"\nusing namespace std;/' bmp.cpp + make || return 1 + mkdir -p $DESTDIR/usr/share/BillardGL $DESTDIR/usr/games + cp $src/src/BillardGL $DESTDIR/usr/games + cp -R $src/src/Texturen $DESTDIR/usr/share/BillardGL + cp -R $src/src/lang $DESTDIR/usr/share/BillardGL + cp -R $src/src/README $DESTDIR/usr/share/BillardGL +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $_pkg/usr $fs +} + diff -r 7df05207d343 -r 5189e691d619 blackbox/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/blackbox/receipt Thu Nov 03 22:02:37 2011 +0100 @@ -0,0 +1,38 @@ +# SliTaz package receipt. + +PACKAGE="blackbox" +VERSION="0.70.1" +CATEGORY="x-window" +SHORT_DESC="A small, fast, full-featured window manager for X" +MAINTAINER="devl547@gmail.com" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://blackboxwm.sourceforge.net/" +WGET_URL="$SF_MIRROR/blackboxwm/$TARBALL" + +DEPENDS="xorg-libXt xorg-libXft" +BUILD_DEPENDS="xorg-libXt-dev xorg-libXft-dev xorg-xextproto" + +# TODO: modify tazx for blackbox so it will creat a correct ~/.xinitrc +# to let user use the wm via slim/F1 or by default with 'tazx blackbox'. + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + patch -p1 < $stuff/blackbox-0.70.1-gcc-4.3.patch + patch -p0 < $stuff/blackbox-0.70.1-asneeded.patch + patch -p1 < $stuff/textpropertytostring-unconditional.patch + ./configure --sysconfdir=/etc \ + --libexecdir=/usr/bin --mandir=/usr/share/man \ + $CONFIGURE_ARGS && + make && + make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/share/blackbox $fs/usr/share +} diff -r 7df05207d343 -r 5189e691d619 blackbox/stuff/blackbox-0.70.1-asneeded.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/blackbox/stuff/blackbox-0.70.1-asneeded.patch Thu Nov 03 22:02:37 2011 +0100 @@ -0,0 +1,49 @@ +Fixing build with as-needed. Enabling shared libs. + +http://bugs.gentoo.org/show_bug.cgi?id=248549 + +--- src/Makefile.am ++++ src/Makefile.am +@@ -22,7 +22,7 @@ + + DEFAULT_MENU = $(pkgdatadir)/menu + DEFAULT_STYLE = $(pkgdatadir)/styles/Gray +-CPPFLAGS = @CPPFLAGS@ @SHAPE@ @XFT@ @DEBUG@ @NLS@ \ ++AM_CPPFLAGS = @SHAPE@ @XFT@ @DEBUG@ @NLS@ \ + -DLOCALEPATH=\"$(pkgdatadir)/nls\" \ + -DDEFAULTMENU=\"$(DEFAULT_MENU)\" \ + -DDEFAULTSTYLE=\"$(DEFAULT_STYLE)\" \ +--- lib/Makefile.am ++++ lib/Makefile.am +@@ -62,7 +62,8 @@ + Util.hh \ + XDG.hh + +-libbt_la_LIBADD = @ICONV@ @LOCALE@ ++libbt_la_LIBADD = @ICONV@ @LOCALE@ @xft_LIBS@ ++libbt_la_CFLAGS = @xft_CFLAGS@ + + pkgconfigdir = $(libdir)/pkgconfig + nodist_pkgconfig_DATA = libbt.pc +--- util/Makefile.am ++++ util/Makefile.am +@@ -21,7 +21,7 @@ + # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + # DEALINGS IN THE SOFTWARE. + +-CPPFLAGS = @CPPFLAGS@ @DEBUG@ @NLS@ \ ++AM_CPPFLAGS = @DEBUG@ @NLS@ \ + -I$(top_srcdir)/lib + + bin_SCRIPTS = bsetbg +--- configure.ac ++++ configure.ac +@@ -29,7 +29,7 @@ + AC_PROG_INSTALL + + dnl libbt shouldn't be shared by default (yet) +-AC_DISABLE_SHARED ++dnl AC_DISABLE_SHARED + AC_PROG_LIBTOOL + AC_SUBST(LIBTOOL_DEPS) + diff -r 7df05207d343 -r 5189e691d619 blackbox/stuff/blackbox-0.70.1-gcc-4.3.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/blackbox/stuff/blackbox-0.70.1-gcc-4.3.patch Thu Nov 03 22:02:37 2011 +0100 @@ -0,0 +1,106 @@ +diff -Naupr blackbox-0.70.1.orig/lib/Image.cc blackbox-0.70.1/lib/Image.cc +--- blackbox-0.70.1.orig/lib/Image.cc 2005-04-08 17:41:09.000000000 +0200 ++++ blackbox-0.70.1/lib/Image.cc 2008-02-24 08:31:28.000000000 +0100 +@@ -42,8 +42,9 @@ + + #include + #include +-#include +-#include ++#include ++#include ++#include + + // #define COLORTABLE_DEBUG + // #define MITSHM_DEBUG +diff -Naupr blackbox-0.70.1.orig/lib/Resource.cc blackbox-0.70.1/lib/Resource.cc +--- blackbox-0.70.1.orig/lib/Resource.cc 2005-04-06 23:16:50.000000000 +0200 ++++ blackbox-0.70.1/lib/Resource.cc 2008-02-24 08:33:11.000000000 +0100 +@@ -28,7 +28,8 @@ + #include + #include + +-#include ++#include ++#include + + + bt::Resource::Resource(void) +diff -Naupr blackbox-0.70.1.orig/lib/XDG.cc blackbox-0.70.1/lib/XDG.cc +--- blackbox-0.70.1.orig/lib/XDG.cc 2005-04-06 16:04:38.000000000 +0200 ++++ blackbox-0.70.1/lib/XDG.cc 2008-02-24 08:34:11.000000000 +0100 +@@ -25,7 +25,8 @@ + #include "Util.hh" + #include "XDG.hh" + +-#include ++#include ++#include + + + // make sure directory names end with a slash +diff -Naupr blackbox-0.70.1.orig/src/BlackboxResource.cc blackbox-0.70.1/src/BlackboxResource.cc +--- blackbox-0.70.1.orig/src/BlackboxResource.cc 2005-10-18 09:34:46.000000000 +0200 ++++ blackbox-0.70.1/src/BlackboxResource.cc 2008-02-24 08:34:49.000000000 +0100 +@@ -33,6 +33,8 @@ + #include + #include + ++#include ++ + + BlackboxResource::BlackboxResource(const std::string& rc): rc_file(rc) { + screen_resources = 0; +diff -Naupr blackbox-0.70.1.orig/src/main.cc blackbox-0.70.1/src/main.cc +--- blackbox-0.70.1.orig/src/main.cc 2005-01-03 10:42:57.000000000 +0100 ++++ blackbox-0.70.1/src/main.cc 2008-02-24 08:37:16.000000000 +0100 +@@ -34,7 +34,8 @@ + #include "blackbox.hh" + #include "../version.h" + +-#include ++#include ++#include + + + static void showHelp(int exitval) { +diff -Naupr blackbox-0.70.1.orig/src/Screen.cc blackbox-0.70.1/src/Screen.cc +--- blackbox-0.70.1.orig/src/Screen.cc 2005-10-18 10:07:22.000000000 +0200 ++++ blackbox-0.70.1/src/Screen.cc 2008-02-24 08:35:46.000000000 +0100 +@@ -45,8 +45,9 @@ + #include + #include + #include +-#include + #include ++#include ++#include + + + static bool running = true; +diff -Naupr blackbox-0.70.1.orig/src/ScreenResource.cc blackbox-0.70.1/src/ScreenResource.cc +--- blackbox-0.70.1.orig/src/ScreenResource.cc 2005-04-13 07:54:08.000000000 +0200 ++++ blackbox-0.70.1/src/ScreenResource.cc 2008-02-24 08:36:31.000000000 +0100 +@@ -33,6 +33,8 @@ + + #include + ++#include ++ + + static const int iconify_width = 9; + static const int iconify_height = 9; +diff -Naupr blackbox-0.70.1.orig/util/bsetroot.cc blackbox-0.70.1/util/bsetroot.cc +--- blackbox-0.70.1.orig/util/bsetroot.cc 2005-03-15 08:01:37.000000000 +0100 ++++ blackbox-0.70.1/util/bsetroot.cc 2008-02-24 08:38:41.000000000 +0100 +@@ -30,7 +30,9 @@ + #include + + #include +-#include ++#include ++#include ++#include + + + // ignore all X errors diff -r 7df05207d343 -r 5189e691d619 blackbox/stuff/textpropertytostring-unconditional.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/blackbox/stuff/textpropertytostring-unconditional.patch Thu Nov 03 22:02:37 2011 +0100 @@ -0,0 +1,28 @@ +Description: Declare bt::textPropertyToString unconditionally. +Author: Jakub Wilk +Forwarded: no +Bug-Debian: http://bugs.debian.org/614468 +Last-Update: 2011-03-12 + +--- a/lib/Util.hh ++++ b/lib/Util.hh +@@ -25,6 +25,8 @@ + #ifndef __Util_hh + #define __Util_hh + ++#include ++ + #include + #include + +@@ -94,10 +96,8 @@ + + std::string tolower(const std::string &string); + +-#ifdef _XUTIL_H_ + std::string textPropertyToString(::Display *display, + ::XTextProperty& text_prop); +-#endif + + } // namespace bt + diff -r 7df05207d343 -r 5189e691d619 bleachbit/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bleachbit/receipt Thu Nov 03 22:02:37 2011 +0100 @@ -0,0 +1,28 @@ +# SliTaz package receipt. + +PACKAGE="bleachbit" +VERSION="0.8.7" +CATEGORY="system-tools" +SHORT_DESC="Deletes unneeded files to free disk space and maintain privacy" +MAINTAINER="devl547@gmail.com" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://bleachbit.sourceforge.net/" +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" +BUILD_DEPENDS="python" +DEPENDS="pygtk python" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + make -C po local && + make prefix=/usr DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/ + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/share $fs/usr +} diff -r 7df05207d343 -r 5189e691d619 blueman/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/blueman/receipt Thu Nov 03 22:02:37 2011 +0100 @@ -0,0 +1,43 @@ +# SliTaz package receipt. + +PACKAGE="blueman" +VERSION="1.10" +CATEGORY="system-tools" +SHORT_DESC="Easy to use GTK+ Bluetooth Manager." +MAINTAINER="pankso@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://blueman-project.org/" +WGET_URL="http://download.tuxfamily.org/blueman/$TARBALL" + +DEPENDS="linux-bluetooth bluez python pygtk libnotify notify-python python-pyrex \ +startup-notification util-linux-ng-uuid dbus dbus-python" +BUILD_DEPENDS="bluez-dev python-dev pygtk-dev notify-python libnotify-dev \ +python-pyrex startup-notification-dev util-linux-ng-uuid-dev dbus-dev \ +dbus-python-dev" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --libexecdir=/usr/lib/$PACKAGE \ + $CONFIGURE_ARGS && + make && make install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share/pixmaps + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib $fs/usr + cp -a $install/usr/share/blueman $fs/usr/share + cp -a $install/usr/share/hal $fs/usr/share + cp -a $install/usr/share/dbus-1 $fs/usr/share + cp -a $install/usr/share/PolicyKit $fs/usr/share + cp -a $install/usr/share/icons/hicolor/32x32/apps/*.png \ + $fs/usr/share/pixmaps + cp -a $install/etc $fs +} diff -r 7df05207d343 -r 5189e691d619 brasero/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/brasero/receipt Thu Nov 03 22:02:37 2011 +0100 @@ -0,0 +1,43 @@ +# SliTaz package receipt. + +PACKAGE="brasero" +VERSION="2.30.0" +CATEGORY="utilities" +SHORT_DESC="Brasero (aka Bonfire) is yet another application to burn CD/DVD for the gnome desktop." +MAINTAINER="devl547@gmail.com" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://www.gnome.org/projects/brasero" +WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/2.30/$TARBALL" + +DEPENDS="glib gtk+ GConf gstreamer gst-plugins-base libxml2 libunique \ +dbus-glib cdrdao dvd+rw-tools libcanberra libvorbis libogg" +BUILD_DEPENDS="glib-dev gtk+-dev GConf-dev gstreamer-dev gst-plugins-base-dev \ +libxml2-dev libunique-dev dbus-glib-dev gnome-doc-utils-dev libxcb-dev \ +libpthread-stubs xcb-util-dev ORBit2-dev dbus-dev libcanberra-dev \ +gnome-doc-utils libxml2-python libvorbis-dev libogg-dev util-linux-ng-uuid-dev" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure \ + --prefix=/usr \ + --disable-schemas-install \ + --disable-scrollkeeper \ + --disable-caches \ + --disable-gtk-doc-html \ + --disable-nautilus \ + --disable-gtk-doc \ + --disable-search \ + --disable-playlist && + make && + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share + cp -a $_pkg/usr/bin $fs/usr/ + cp -a $_pkg/usr/share/applications $fs/usr/share/applications +}