diff options
author | Mamoru Komachi <usata@gentoo.org> | 2004-04-01 18:07:26 +0000 |
---|---|---|
committer | Mamoru Komachi <usata@gentoo.org> | 2004-04-01 18:07:26 +0000 |
commit | 551ab1dd3298bcb78ae07b7d47c98637e6c1e6fa (patch) | |
tree | d83bd0bf4f7ce6e54f19720ee215010322ef8506 /app-dicts | |
parent | 2004_04_01 version bump (Manifest recommit) (diff) | |
download | gentoo-2-551ab1dd3298bcb78ae07b7d47c98637e6c1e6fa.tar.gz gentoo-2-551ab1dd3298bcb78ae07b7d47c98637e6c1e6fa.tar.bz2 gentoo-2-551ab1dd3298bcb78ae07b7d47c98637e6c1e6fa.zip |
Fixed compilation failure with gtk+ 2.4. Thanks to ikezoe <ikezoe@users.sourceforge.jp> for the patch. Closing bug #46425
Diffstat (limited to 'app-dicts')
-rw-r--r-- | app-dicts/ebview/ChangeLog | 7 | ||||
-rw-r--r-- | app-dicts/ebview/ebview-0.3.1-r1.ebuild | 5 | ||||
-rw-r--r-- | app-dicts/ebview/ebview-0.3.2-r1.ebuild | 5 | ||||
-rw-r--r-- | app-dicts/ebview/ebview-0.3.5.ebuild | 7 | ||||
-rw-r--r-- | app-dicts/ebview/files/ebview-gtk24.diff | 26 |
5 files changed, 45 insertions, 5 deletions
diff --git a/app-dicts/ebview/ChangeLog b/app-dicts/ebview/ChangeLog index f71dbaac9a1d..86abaa742183 100644 --- a/app-dicts/ebview/ChangeLog +++ b/app-dicts/ebview/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-dicts/ebview # Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-dicts/ebview/ChangeLog,v 1.10 2004/03/04 18:52:53 usata Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-dicts/ebview/ChangeLog,v 1.11 2004/04/01 18:07:25 usata Exp $ + + 02 Apr 2004; Mamoru KOMACHI <usata@gentoo.org> ebview-0.3.1-r1.ebuild, + ebview-0.3.2-r1.ebuild, ebview-0.3.5.ebuild, files/ebview-gtk24.diff: + Fixed compilation failure with gtk+ 2.4. Thanks to ikezoe + <ikezoe@users.sourceforge.jp> for the patch. Closing bug #46425 *ebview-0.3.5 (05 Mar 2004) diff --git a/app-dicts/ebview/ebview-0.3.1-r1.ebuild b/app-dicts/ebview/ebview-0.3.1-r1.ebuild index 6d90b26884fc..335ef0563723 100644 --- a/app-dicts/ebview/ebview-0.3.1-r1.ebuild +++ b/app-dicts/ebview/ebview-0.3.1-r1.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-dicts/ebview/ebview-0.3.1-r1.ebuild,v 1.2 2004/03/04 18:52:53 usata Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-dicts/ebview/ebview-0.3.1-r1.ebuild,v 1.3 2004/04/01 18:07:25 usata Exp $ + +inherit eutils IUSE="" @@ -23,6 +25,7 @@ src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/${PN}-eb4-gentoo.diff + epatch ${FILESDIR}/${PN}-gtk24.diff if has_version '>=sys-devel/gettext-0.12' ; then cd ${S}/po diff --git a/app-dicts/ebview/ebview-0.3.2-r1.ebuild b/app-dicts/ebview/ebview-0.3.2-r1.ebuild index 2930009871e9..06bf8113a394 100644 --- a/app-dicts/ebview/ebview-0.3.2-r1.ebuild +++ b/app-dicts/ebview/ebview-0.3.2-r1.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-dicts/ebview/ebview-0.3.2-r1.ebuild,v 1.2 2004/03/04 18:52:53 usata Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-dicts/ebview/ebview-0.3.2-r1.ebuild,v 1.3 2004/04/01 18:07:25 usata Exp $ + +inherit eutils IUSE="" @@ -23,6 +25,7 @@ src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/${PN}-eb4-gentoo.diff + epatch ${FILESDIR}/${PN}-gtk24.diff if has_version '>=sys-devel/gettext-0.12' ; then cd ${S}/po diff --git a/app-dicts/ebview/ebview-0.3.5.ebuild b/app-dicts/ebview/ebview-0.3.5.ebuild index e25cea0c48fe..a8d86725c424 100644 --- a/app-dicts/ebview/ebview-0.3.5.ebuild +++ b/app-dicts/ebview/ebview-0.3.5.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-dicts/ebview/ebview-0.3.5.ebuild,v 1.1 2004/03/04 18:52:53 usata Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-dicts/ebview/ebview-0.3.5.ebuild,v 1.2 2004/04/01 18:07:25 usata Exp $ + +inherit eutils IUSE="" @@ -10,7 +12,7 @@ SRC_URI="mirror://sourceforge/ebview/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~x86" +KEYWORDS="x86" DEPEND="${RDEPEND} >=sys-devel/autoconf-2.57" @@ -23,6 +25,7 @@ src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/${PN}-eb4-gentoo.diff + epatch ${FILESDIR}/${PN}-gtk24.diff rm -rf autom4te.cache if has_version '>=sys-devel/gettext-0.12' ; then diff --git a/app-dicts/ebview/files/ebview-gtk24.diff b/app-dicts/ebview/files/ebview-gtk24.diff new file mode 100644 index 000000000000..8881127dace8 --- /dev/null +++ b/app-dicts/ebview/files/ebview-gtk24.diff @@ -0,0 +1,26 @@ +diff -urN ebview-0.3.5/src/defs.h ebview-0.3.5_gtk240/src/defs.h +--- ebview-0.3.5/src/defs.h 2004-02-15 22:59:41.000000000 +0900 ++++ ebview-0.3.5_gtk240/src/defs.h 2004-04-02 02:04:04.868289632 +0900 +@@ -19,7 +19,9 @@ + #define __DEFS_H__ + + /* Disable old GTK+ functions */ ++#if (GTK_MAJOR_VERSION == 2) && (GTK_MINOR_VERSION < 3) + #define GTK_DISABLE_DEPRECATED 1 ++#endif + + #include "../config.h" + #include <sys/stat.h> +diff -urN ebview-0.3.5/src/ebview.c ebview-0.3.5_gtk240/src/ebview.c +--- ebview-0.3.5/src/ebview.c 2004-02-22 12:46:29.000000000 +0900 ++++ ebview-0.3.5_gtk240/src/ebview.c 2004-04-02 02:03:39.758106960 +0900 +@@ -15,7 +15,9 @@ + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ + ++#if (GTK_MAJOR_VERSION == 2) && (GTK_MINOR_VERSION < 3) + #define GTK_DISABLE_DEPRECATED 1 ++#endif + + #define _GLOBAL + #include <signal.h> |