summaryrefslogtreecommitdiffstats
path: root/extra/xchat
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-12 20:58:55 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-12 20:58:55 +0200
commitc0af1b17c0ae7d4df20dde10979913ae035beeda (patch)
tree3d2be55e5ec45ac07bfb7e8c110885db0702af11 /extra/xchat
parentb5d84ce4c74f974d66fd9630fa1099a3f66626f4 (diff)
downloadnutyx-extra-c0af1b17c0ae7d4df20dde10979913ae035beeda.tar.gz
nutyx-extra-c0af1b17c0ae7d4df20dde10979913ae035beeda.tar.bz2
nutyx-extra-c0af1b17c0ae7d4df20dde10979913ae035beeda.tar.xz
nutyx-extra-c0af1b17c0ae7d4df20dde10979913ae035beeda.zip
Ajout de xchat#2.8.6-1
Diffstat (limited to 'extra/xchat')
-rw-r--r--extra/xchat/.footprint20
-rw-r--r--extra/xchat/.md5sum3
-rw-r--r--extra/xchat/Pkgfile32
-rw-r--r--extra/xchat/xchat-gtk2.patch13
4 files changed, 68 insertions, 0 deletions
diff --git a/extra/xchat/.footprint b/extra/xchat/.footprint
new file mode 100644
index 000000000..e1fdc2efa
--- /dev/null
+++ b/extra/xchat/.footprint
@@ -0,0 +1,20 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/xchat
+drwxr-xr-x root/root usr/lib/
+drwxr-xr-x root/root usr/lib/xchat/
+drwxr-xr-x root/root usr/lib/xchat/plugins/
+-rwxr-xr-x root/root usr/lib/xchat/plugins/perl.la
+-rwxr-xr-x root/root usr/lib/xchat/plugins/perl.so
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/applications/
+-rwxr-xr-x root/root usr/share/applications/xchat.desktop
+drwxr-xr-x root/root usr/share/dbus-1/
+drwxr-xr-x root/root usr/share/dbus-1/services/
+-rw-r--r-- root/root usr/share/dbus-1/services/org.xchat.service.service
+drwxr-xr-x root/root usr/share/locale/
+drwxr-xr-x root/root usr/share/locale/fr/
+drwxr-xr-x root/root usr/share/locale/fr/LC_MESSAGES/
+-rw-r--r-- root/root usr/share/locale/fr/LC_MESSAGES/xchat.mo
+drwxr-xr-x root/root usr/share/pixmaps/
+-rwxr-xr-x root/root usr/share/pixmaps/xchat.png
diff --git a/extra/xchat/.md5sum b/extra/xchat/.md5sum
new file mode 100644
index 000000000..c07f5c653
--- /dev/null
+++ b/extra/xchat/.md5sum
@@ -0,0 +1,3 @@
+eb68b6261bf6740cb5f223627eb8f384 xc286-smallfixes.diff
+1f2670865d43a23a9abc596dde999aca xchat-2.8.6.tar.bz2
+ea64eeb96b62b36e2215eeee104bd9ec xchat-gtk2.patch
diff --git a/extra/xchat/Pkgfile b/extra/xchat/Pkgfile
new file mode 100644
index 000000000..91184d9e2
--- /dev/null
+++ b/extra/xchat/Pkgfile
@@ -0,0 +1,32 @@
+# Description: Client IRC basé sur GTK+2
+# URL: http://www.xchat.org/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: openssl, gtk, perl, libsexy
+
+name=xchat
+version=2.8.6
+release=1
+source=(http://www.xchat.org/files/source/2.8/$name-$version.tar.bz2 \
+ http://www.xchat.org/files/source/2.8/patches/xc286-smallfixes.diff \
+ $name-gtk2.patch)
+
+build() {
+ cd $name-$version
+ patch -p1 -i $SRC/xc286-smallfixes.diff
+ patch -p1 -i $SRC/$name-gtk2.patch
+ ./configure --prefix=/usr \
+ --enable-openssl \
+ --enable-perl \
+ --enable-ipv6 \
+ --disable-gnome \
+ --disable-textfe \
+ --disable-python \
+ --disable-tcl
+ make -j3
+ make DESTDIR=$PKG install
+ rm -rf $PKG/usr/etc
+ install -D $name.desktop $PKG/usr/share/applications/$name.desktop
+ install -D $name.png $PKG/usr/share/pixmaps/$name.png
+}
+
diff --git a/extra/xchat/xchat-gtk2.patch b/extra/xchat/xchat-gtk2.patch
new file mode 100644
index 000000000..88dc3e646
--- /dev/null
+++ b/extra/xchat/xchat-gtk2.patch
@@ -0,0 +1,13 @@
+--- xchat-2.8.6/src/fe-gtk/xtext.h.orig 2008-02-24
+05:48:02.000000000 +0100
++++ xchat-2.8.6/src/fe-gtk/xtext.h 2008-09-06
+02:18:39.000000000 +0200
+@@ -270,6 +270,6 @@
+ xtext_buffer *gtk_xtext_buffer_new (GtkXText *xtext);
+ void gtk_xtext_buffer_free (xtext_buffer *buf);
+ void gtk_xtext_buffer_show (GtkXText *xtext, xtext_buffer *buf, int render);
+-GtkType gtk_xtext_get_type (void);
++GType gtk_xtext_get_type (void);
+
+ #endif
+