summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Kursawe <phosphan@gentoo.org>2009-06-23 22:30:57 +0000
committerPatrick Kursawe <phosphan@gentoo.org>2009-06-23 22:30:57 +0000
commit1188c6b0dc9dd8bbc436725e26d6ed6242bcf3c6 (patch)
treef8f83a9e31cbcfbb34df25f39c799cd6e8ee19cc /media-gfx/sane-frontends
parentRemoving obsolete version. (diff)
downloadhistorical-1188c6b0dc9dd8bbc436725e26d6ed6242bcf3c6.tar.gz
historical-1188c6b0dc9dd8bbc436725e26d6ed6242bcf3c6.tar.bz2
historical-1188c6b0dc9dd8bbc436725e26d6ed6242bcf3c6.zip
Adding a patch to make it work with sane-backends-1.0.20
Package-Manager: portage-2.1.6.13/cvs/Linux i686
Diffstat (limited to 'media-gfx/sane-frontends')
-rw-r--r--media-gfx/sane-frontends/ChangeLog6
-rw-r--r--media-gfx/sane-frontends/Manifest5
-rw-r--r--media-gfx/sane-frontends/files/MissingCapsFlag.patch12
-rw-r--r--media-gfx/sane-frontends/sane-frontends-1.0.14.ebuild12
4 files changed, 30 insertions, 5 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/Manifest b/media-gfx/sane-frontends/Manifest
index b7ab2da1c6f6..befcfd0b3ba4 100644
--- a/media-gfx/sane-frontends/Manifest
+++ b/media-gfx/sane-frontends/Manifest
@@ -1,4 +1,5 @@
+AUX MissingCapsFlag.patch 417 RMD160 5ca6bd4865e617d27110ba5738ba3ba3d46e8811 SHA1 a07fdff2c1bfb6693689c425e3ad0416e4fb0eca SHA256 6e02cefef14248a6928fe7d078d71bcb69404118140bc6cc8257b2557f16a468
DIST sane-frontends-1.0.14.tar.gz 231892 RMD160 571599cbebbce53ffc00b701874d5e76dcd90467 SHA1 063e11df3e32d7a43161fd37026a4dc601d5482d SHA256 e7839dac1b70b5bb39124615aba8a136f5275d0e78bafd3d52ed76964ffea4a9
-EBUILD sane-frontends-1.0.14.ebuild 1466 RMD160 986137c7f2c194b9c6c6d53f136fe70c76adf95a SHA1 4d655bb4c08fa20b29c835cb95b6d87c1be490fd SHA256 caa70425cb49e91ac70049fa9dad709b4a2f413638de634a9f25fcbd9fc05126
-MISC ChangeLog 5544 RMD160 d34707733301b52431fd21cbeaded463331a3565 SHA1 ba38befe2598b8939a6591ed8bf57c78a4b9df91 SHA256 f7efcece86353d97cbe24576346e851460c67b1eac737bbc0c135687b8d37060
+EBUILD sane-frontends-1.0.14.ebuild 1569 RMD160 b103e745f51cb691eb3871e25ff0c7f7df32c6ab SHA1 f69f376db1b9d6d935e278d15138b5806739816c SHA256 26d35b61eb0296d285292467c854e19881f51618469feff18617003a7dce3b5e
+MISC ChangeLog 5719 RMD160 b20b01e5167c5b29cb9a9545f03d6ea520015591 SHA1 54624029b9e82450ae7fe12e0dc171590b22319b SHA256 a0a722e051abb2a1274a43d3f82b2d71e6efe482ba74ef47171cdef2a693d143
MISC metadata.xml 224 RMD160 d646bef174a902fd1910871e794292c44f292052 SHA1 411f9bc454756fe51f5ff5033b73f91b0b07a204 SHA256 c2d7984543cf5a2770459f930dc78cbe0a220cb3297123dc108b225edc33a822
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"