diff options
author | Patrick Kursawe <phosphan@gentoo.org> | 2009-06-23 22:30:57 +0000 |
---|---|---|
committer | Patrick Kursawe <phosphan@gentoo.org> | 2009-06-23 22:30:57 +0000 |
commit | 0cc63522996f3e540a471ed042a8a0055d61bf8a (patch) | |
tree | 16cde56e0c3bc9594f840e8b7e0d88e2a1fecaa0 /media-gfx/sane-frontends | |
parent | Removing obsolete version. (diff) | |
download | gentoo-2-0cc63522996f3e540a471ed042a8a0055d61bf8a.tar.gz gentoo-2-0cc63522996f3e540a471ed042a8a0055d61bf8a.tar.bz2 gentoo-2-0cc63522996f3e540a471ed042a8a0055d61bf8a.zip |
Adding a patch to make it work with sane-backends-1.0.20
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'media-gfx/sane-frontends')
-rw-r--r-- | media-gfx/sane-frontends/ChangeLog | 6 | ||||
-rw-r--r-- | media-gfx/sane-frontends/files/MissingCapsFlag.patch | 12 | ||||
-rw-r--r-- | media-gfx/sane-frontends/sane-frontends-1.0.14.ebuild | 12 |
3 files changed, 27 insertions, 3 deletions
diff --git a/media-gfx/sane-frontends/ChangeLog b/media-gfx/sane-frontends/ChangeLog index 45ccc47ac915..86b2553b94ec 100644 --- a/media-gfx/sane-frontends/ChangeLog +++ b/media-gfx/sane-frontends/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-gfx/sane-frontends # Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/sane-frontends/ChangeLog,v 1.40 2009/06/23 22:24:14 phosphan Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/sane-frontends/ChangeLog,v 1.41 2009/06/23 22:30:56 phosphan Exp $ + + 23 Jun 2009; Patrick Kursawe <phosphan@gentoo.org> + +files/MissingCapsFlag.patch, sane-frontends-1.0.14.ebuild: + Adding a patch to make it work with sane-backends-1.0.20 23 Jun 2009; Patrick Kursawe <phosphan@gentoo.org> -sane-frontends-1.0.13.ebuild: diff --git a/media-gfx/sane-frontends/files/MissingCapsFlag.patch b/media-gfx/sane-frontends/files/MissingCapsFlag.patch new file mode 100644 index 000000000000..4175a87f8e66 --- /dev/null +++ b/media-gfx/sane-frontends/files/MissingCapsFlag.patch @@ -0,0 +1,12 @@ +--- src/gtkglue.c 2005-04-16 15:12:07.000000000 +0200 ++++ src/gtkglue.c.new 2009-06-24 00:26:46.000000000 +0200 +@@ -1476,8 +1476,7 @@ + || opt->type == SANE_TYPE_GROUP || !dialog->element[i].widget) + continue; + +- if (!(opt->cap & SANE_CAP_ALWAYS_SETTABLE)) +- gtk_widget_set_sensitive (dialog->element[i].widget, sensitive); ++ gtk_widget_set_sensitive (dialog->element[i].widget, sensitive); + } + } + diff --git a/media-gfx/sane-frontends/sane-frontends-1.0.14.ebuild b/media-gfx/sane-frontends/sane-frontends-1.0.14.ebuild index a84d1dcef673..a4b2bf809ebe 100644 --- a/media-gfx/sane-frontends/sane-frontends-1.0.14.ebuild +++ b/media-gfx/sane-frontends/sane-frontends-1.0.14.ebuild @@ -1,6 +1,8 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/sane-frontends/sane-frontends-1.0.14.ebuild,v 1.11 2008/06/11 10:30:59 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/sane-frontends/sane-frontends-1.0.14.ebuild,v 1.12 2009/06/23 22:30:56 phosphan Exp $ + +inherit eutils DESCRIPTION="Scanner Access Now Easy" HOMEPAGE="http://www.sane-project.org" @@ -15,6 +17,12 @@ IUSE="gimp" DEPEND="media-gfx/sane-backends gimp? ( media-gfx/gimp )" +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/MissingCapsFlag.patch" +} + src_compile() { local myconf="" use gimp || myconf="--disable-gimp" |