diff options
author | Matthew Kennedy <mkennedy@gentoo.org> | 2003-01-16 07:08:55 +0000 |
---|---|---|
committer | Matthew Kennedy <mkennedy@gentoo.org> | 2003-01-16 07:08:55 +0000 |
commit | 3160c5c6e4d58dc0ba014753f4043e53b787be98 (patch) | |
tree | 62580eaeb5dfc8b85a5661fc70c61debd0c04a97 | |
parent | Small fix to pkg_postinst() einfo message to display correct path. (diff) | |
download | gentoo-2-3160c5c6e4d58dc0ba014753f4043e53b787be98.tar.gz gentoo-2-3160c5c6e4d58dc0ba014753f4043e53b787be98.tar.bz2 gentoo-2-3160c5c6e4d58dc0ba014753f4043e53b787be98.zip |
Minor fix to build under GTK+-2.2.
-rw-r--r-- | net-misc/gyach/ChangeLog | 10 | ||||
-rw-r--r-- | net-misc/gyach/files/digest-gyach-0.9.1-r1 | 1 | ||||
-rw-r--r-- | net-misc/gyach/files/gyach-0.9.1-gtk2.2-gentoo.patch | 11 | ||||
-rw-r--r-- | net-misc/gyach/gyach-0.9.1-r1.ebuild | 40 |
4 files changed, 61 insertions, 1 deletions
diff --git a/net-misc/gyach/ChangeLog b/net-misc/gyach/ChangeLog index ad2ed4b792d1..d6f3d866f743 100644 --- a/net-misc/gyach/ChangeLog +++ b/net-misc/gyach/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for net-misc/gyach # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/net-misc/gyach/ChangeLog,v 1.10 2002/12/13 11:00:11 blizzy Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/gyach/ChangeLog,v 1.11 2003/01/16 07:08:55 mkennedy Exp $ + +*gyach-0.9.1-r1 (11 Nov 2002) + + 16 Jan 2002; Matthew Kennedy <mkennedy@gentoo.org> + gyach-0.9.1-r1.ebuild, files/digest-gyach-0.9.1-r1, + files/gyach-0.9.1-gtk2.2-gentoo.patch, ChangeLog : + + Minor fix to build under GTK+-2.2. 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords diff --git a/net-misc/gyach/files/digest-gyach-0.9.1-r1 b/net-misc/gyach/files/digest-gyach-0.9.1-r1 new file mode 100644 index 000000000000..5519b66d53db --- /dev/null +++ b/net-misc/gyach/files/digest-gyach-0.9.1-r1 @@ -0,0 +1 @@ +MD5 9210614735cbfa612a3eb7399497ed7a gyach-0.9.1.tar.gz 257894 diff --git a/net-misc/gyach/files/gyach-0.9.1-gtk2.2-gentoo.patch b/net-misc/gyach/files/gyach-0.9.1-gtk2.2-gentoo.patch new file mode 100644 index 000000000000..01c51dc8d415 --- /dev/null +++ b/net-misc/gyach/files/gyach-0.9.1-gtk2.2-gentoo.patch @@ -0,0 +1,11 @@ +--- gyach-0.9.1/src/gyach_int_text.c~ 2002-10-28 16:06:09.000000000 -0600 ++++ gyach-0.9.1/src/gyach_int_text.c 2003-01-16 00:35:54.000000000 -0600 +@@ -334,7 +334,7 @@ + pixbuf = gdk_pixbuf_get_from_drawable (NULL, pp, cmap, + x, y, 0, 0, w, h); + } +- gdk_xid_table_remove (GDK_WINDOW_XWINDOW (pp)); ++/* gdk_xid_table_remove (GDK_WINDOW_XWINDOW (pp)); */ + g_dataset_destroy (pp); + g_free (pp); + diff --git a/net-misc/gyach/gyach-0.9.1-r1.ebuild b/net-misc/gyach/gyach-0.9.1-r1.ebuild new file mode 100644 index 000000000000..7d0805fdccc5 --- /dev/null +++ b/net-misc/gyach/gyach-0.9.1-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/gyach/gyach-0.9.1-r1.ebuild,v 1.1 2003/01/16 07:08:55 mkennedy Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="GTK+-based Yahoo! chat client" +SRC_URI="http://www4.infi.net/~cpinkham/gyach/code/${P}.tar.gz" +HOMEPAGE="http://www4.infi.net/~cpinkham/gyach/" +KEYWORDS="x86 sparc " +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +DEPEND="virtual/glibc + =x11-libs/gtk+-2*" + +src_unpack() { + unpack ${A} + cd ${S} && patch -p1 <${FILESDIR}/gyach-0.9.1-gtk2.2-gentoo.patch || die +} + +src_compile() { + ./configure --host=${CHOST} --prefix=/usr || die + emake || die +} + +src_install() { + make prefix=${D}/usr install || die + dodoc AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README* TODO + dodoc sample.* + + # install icon and desktop entry for gnome + if [ "`use gnome`" ] ; then + insinto /usr/share/pixmaps + doins ${D}/usr/share/gyach/pixmaps/gyach-icon.xpm + insinto /usr/share/gnome/apps/Internet + doins ${FILESDIR}/gyach.desktop + fi + +} |