wok-next rev 1987
Add: libnotify, libnotify-dev, xchat thanks Fabrice.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Mon Jan 05 23:57:02 2009 +0100 (2009-01-05) |
parents | 6c783361ba07 |
children | 8535947fa8a6 |
files | libnotify-dev/receipt libnotify/receipt xchat/receipt xchat/stuff/xc286-smallfixes.diff |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libnotify-dev/receipt Mon Jan 05 23:57:02 2009 +0100 1.3 @@ -0,0 +1,20 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="libnotify-dev" 1.7 +VERSION="0.4.4" 1.8 +CATEGORY="utilities" 1.9 +SHORT_DESC="Notification library" 1.10 +MAINTAINER="fabrice.thiroux@free.fr" 1.11 +DEPENDS="libnoptify" 1.12 +WANTED="libnotify" 1.13 +WEB_SITE="http://www.galago-project.org/" 1.14 + 1.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.16 +genpkg_rules() 1.17 +{ 1.18 + mkdir -p $fs/usr/lib 1.19 + cp -a $_pkg/usr/include $fs/usr 1.20 + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib 1.21 + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib 1.22 +} 1.23 +
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/libnotify/receipt Mon Jan 05 23:57:02 2009 +0100 2.3 @@ -0,0 +1,30 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="libnotify" 2.7 +VERSION="0.4.4" 2.8 +CATEGORY="utilities" 2.9 +SHORT_DESC="Notification library" 2.10 +MAINTAINER="fabrice.thiroux@free.fr" 2.11 +DEPENDS="dbus gtk+" 2.12 +BUILD_DEPENDS="dbus-dev gtk+-dev" 2.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 2.14 +WEB_SITE="http://www.galago-project.org/" 2.15 +WGET_URL="http://www.galago-project.org/files/releases/source/libnotify/$TARBALL" 2.16 + 2.17 +# Rules to configure and make the package. 2.18 +compile_rules() 2.19 +{ 2.20 + cd $src 2.21 + ./configure --prefix=/usr --infodir=/usr/share/info \ 2.22 + --mandir=/usr/share/man --disable-static $CONFIGURE_ARGS 2.23 + make 2.24 + make DESTDIR=$PWD/_pkg install 2.25 +} 2.26 + 2.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.28 +genpkg_rules() 2.29 +{ 2.30 + mkdir -p $fs/usr/lib 2.31 + cp -a $_pkg/usr/bin $fs/usr 2.32 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 2.33 +}
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/xchat/receipt Mon Jan 05 23:57:02 2009 +0100 3.3 @@ -0,0 +1,34 @@ 3.4 +# SliTaz package receipt. 3.5 + 3.6 +PACKAGE="xchat" 3.7 +VERSION="2.8.6" 3.8 +CATEGORY="network" 3.9 +SHORT_DESC="IRC client using GTK+" 3.10 +MAINTAINER="fabrice.thiroux@free.fr" 3.11 +DEPENDS="gtk+ dbus libsexy libnotify openssl gettext" 3.12 +BUILD_DEPENDS="gtk+-dev dbus-dev libsexy-dev libnotify-dev openssl" 3.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 3.14 +WEB_SITE="http://www.xchat.org/" 3.15 +WGET_URL="http://www.xchat.org/files/source/2.8/$TARBALL" 3.16 + 3.17 +# Rules to configure and make the package. 3.18 +compile_rules() 3.19 +{ 3.20 + cd $src 3.21 + patch -p1 -i ../stuff/xc286-smallfixes.diff 3.22 + ./configure --prefix=/usr --infodir=/usr/share/info \ 3.23 + --mandir=/usr/share/man $CONFIGURE_ARGS 3.24 + make 3.25 + make DESTDIR=$PWD/_pkg install 3.26 +} 3.27 + 3.28 +# Rules to gen a SliTaz package suitable for Tazpkg. 3.29 +genpkg_rules() 3.30 +{ 3.31 + mkdir -p $fs/usr \ 3.32 + $fs/usr/share 3.33 + cp -a $_pkg/usr/bin $fs/usr 3.34 + cp -a $_pkg/usr/share/applications $fs/usr/share 3.35 + cp -a $_pkg/usr/share/dbus-1 $fs/usr/share 3.36 + cp -a $_pkg/usr/share/pixmaps $fs/usr/share 3.37 +}
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/xchat/stuff/xc286-smallfixes.diff Mon Jan 05 23:57:02 2009 +0100 4.3 @@ -0,0 +1,68 @@ 4.4 +# 4.5 +# Various small fixes from CVS that are considered safe to apply to 2.8.6. 4.6 +# 4.7 +--- xchat-2.8.6/src/common/cfgfiles.c 2008-02-05 21:02:47.000000000 +1100 4.8 ++++ xchat-2.8.6p1/src/common/cfgfiles.c 2008-06-15 13:45:43.000000000 +1000 4.9 +@@ -886,7 +886,6 @@ 4.10 + set_showval (session *sess, const struct prefs *var, char *tbuf) 4.11 + { 4.12 + int len, dots, j; 4.13 +- static const char *offon[] = { "OFF", "ON" }; 4.14 + 4.15 + len = strlen (var->name); 4.16 + memcpy (tbuf, var->name, len); 4.17 +@@ -909,8 +908,10 @@ 4.18 + *((int *) &prefs + var->offset)); 4.19 + break; 4.20 + case TYPE_BOOL: 4.21 +- sprintf (tbuf + len, "\0033:\017 %s\n", offon[ 4.22 +- *((int *) &prefs + var->offset)]); 4.23 ++ if (*((int *) &prefs + var->offset)) 4.24 ++ sprintf (tbuf + len, "\0033:\017 %s\n", "ON"); 4.25 ++ else 4.26 ++ sprintf (tbuf + len, "\0033:\017 %s\n", "OFF"); 4.27 + break; 4.28 + } 4.29 + PrintText (sess, tbuf); 4.30 +--- xchat-2.8.6/src/common/chanopt.c 2008-06-10 22:00:55.000000000 +1000 4.31 ++++ xchat-2.8.6p1/src/common/chanopt.c 2008-06-15 13:48:04.000000000 +1000 4.32 +@@ -32,7 +32,7 @@ 4.33 + 4.34 + #define S_F(xx) STRUCT_OFFSET_STR(struct session,xx) 4.35 + 4.36 +-channel_options chanopt[] = 4.37 ++static const channel_options chanopt[] = 4.38 + { 4.39 + {"alert_beep", "BEEP", S_F(alert_beep)}, 4.40 + {"alert_taskbar", NULL, S_F(alert_taskbar)}, 4.41 +--- xchat-2.8.6/src/common/servlist.c 2008-04-01 19:22:34.000000000 +1100 4.42 ++++ xchat-2.8.6p1/src/common/servlist.c 2008-06-15 13:57:41.000000000 +1000 4.43 +@@ -509,6 +509,8 @@ 4.44 + list = g_slist_nth (net->servlist, net->selected); 4.45 + if (!list) 4.46 + list = net->servlist; 4.47 ++ if (!list) 4.48 ++ return; 4.49 + ircserv = list->data; 4.50 + 4.51 + /* incase a protocol switch is added to the servlist gui */ 4.52 +--- xchat-2.8.6/src/common/text.c 2008-03-28 13:20:04.000000000 +1100 4.53 ++++ xchat-2.8.6p1/src/common/text.c 2008-06-15 13:59:59.000000000 +1000 4.54 +@@ -216,7 +216,7 @@ 4.55 + static void 4.56 + scrollback_save (session *sess, char *text) 4.57 + { 4.58 +- char buf[1024]; 4.59 ++ char buf[512 * 4]; 4.60 + time_t stamp; 4.61 + int len; 4.62 + 4.63 +@@ -266,7 +266,7 @@ 4.64 + scrollback_load (session *sess) 4.65 + { 4.66 + int fh; 4.67 +- char buf[1024]; 4.68 ++ char buf[512 * 4]; 4.69 + char *text; 4.70 + time_t stamp; 4.71 + int lines;