From: "Pacho Ramos" <pacho@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/xsane/
Date: Sat, 11 Feb 2017 12:03:29 +0000 (UTC) [thread overview]
Message-ID: <1486814599.6d722fdf3a546676174a1953f125b949b1ad4b5f.pacho@gentoo> (raw)
commit: 6d722fdf3a546676174a1953f125b949b1ad4b5f
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 11 12:02:55 2017 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sat Feb 11 12:03:19 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d722fdf
media-gfx/xsane: Fix dependencies, bump eapi, use bigger icon for desktop file
Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --force
media-gfx/xsane/Manifest | 1 +
...{xsane-0.999-r1.ebuild => xsane-0.999-r2.ebuild} | 21 ++++++++++++---------
2 files changed, 13 insertions(+), 9 deletions(-)
diff --git a/media-gfx/xsane/Manifest b/media-gfx/xsane/Manifest
index cb5d50e419..f5b65dcc72 100644
--- a/media-gfx/xsane/Manifest
+++ b/media-gfx/xsane/Manifest
@@ -1,2 +1,3 @@
DIST xsane-0.998-patches-2.tar.xz 54804 SHA256 84af533cba6309cf44892da8952b6203daa4dcfaf64e2efd1dddc5144e4cab4c SHA512 973ccac2fe3b6089049c1c5ba3e4cb0db29fdc79de372f8a7b461ee108e5bfc3f4a84997552fc3d3b651bbe9f98d247a5974d90e8949089b2ea52118eab6ad1f WHIRLPOOL 2294601aa696c442e8d2b5173b8ee04d158439e0ae02dd22c7d5c8f9fce98c8238a42e0867a5e511d206dd4030f7a15df2a98676471abe1e91870883662add56
DIST xsane-0.999.tar.gz 2950621 SHA256 5782d23e67dc961c81eef13a87b17eb0144cae3d1ffc5cf7e0322da751482b4b SHA512 73ec961fce1a86b5d6f5bac0995d222785eb4b077dc8e72492b092d2bf4500455426e80e4d27233721cd38ec84f77fb9f92190a6afe45bdaf7ffd1ee50b431ed WHIRLPOOL 7d50f6ecd8ad671d36a6b92eb365a6361da8d90bfea3136cf7add0890313294903f8cbc75684cbc24e42a028f83922a0308783fb20d89b0d6b14b1f949283ad5
+DIST xsane-256x256.png 18478 SHA256 cb3f91fda48033734f1ac233fd788313e19522446680113dbc6dc5f5d33e4b16 SHA512 7bd63a701a4776b395689799ad98b7619917a9b40367c980bebaa116e6c5c2bfeffb8b996a8295b07f3483aa689c9040d8a68bb21376af65b1c0e8f69294f2e5 WHIRLPOOL 138c3b657d0527241237540cbe23dc541dff31f691c5971984c5e710cfb658cab301fc9ea6be0dcc609382104dab67dbd4c1bd65d9f8aabf1d04d6974922cf39
diff --git a/media-gfx/xsane/xsane-0.999-r1.ebuild b/media-gfx/xsane/xsane-0.999-r2.ebuild
similarity index 85%
rename from media-gfx/xsane/xsane-0.999-r1.ebuild
rename to media-gfx/xsane/xsane-0.999-r2.ebuild
index 26651ddcad..e3886389b6 100644
--- a/media-gfx/xsane/xsane-0.999-r1.ebuild
+++ b/media-gfx/xsane/xsane-0.999-r2.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
+EAPI=6
inherit autotools eutils toolchain-funcs
DESCRIPTION="graphical scanning frontend"
@@ -10,6 +10,7 @@ HOMEPAGE="http://www.xsane.org/"
SRC_URI="
http://www.xsane.org/download/${P}.tar.gz
https://dev.gentoo.org/~dilfridge/distfiles/${PN}-0.998-patches-2.tar.xz
+ https://dev.gentoo.org/~pacho/${PN}/${PN}-256x256.png
"
LICENSE="GPL-2"
@@ -21,21 +22,21 @@ RDEPEND="
media-gfx/sane-backends
x11-libs/gtk+:2
x11-misc/xdg-utils
- jpeg? ( virtual/jpeg )
- png? ( media-libs/libpng )
- tiff? ( media-libs/tiff )
+ jpeg? ( virtual/jpeg:0 )
+ png? ( media-libs/libpng:0= )
+ tiff? ( media-libs/tiff:0 )
gimp? ( media-gfx/gimp )
lcms? ( media-libs/lcms:2 )
"
-
PDEPEND="ocr? ( app-text/gocr )"
DEPEND="${RDEPEND}
- app-arch/xz-utils
virtual/pkgconfig
"
src_prepare() {
+ default
+
# Apply multiple fixes from different distributions
# Drop included patch and reuse patchset from prior version
rm "${WORKDIR}/${PN}-0.998-patches-2"/005-update-param-crash.patch || die
@@ -49,7 +50,9 @@ src_prepare() {
tc-export AR
# Add support for lcms-2 (from Fedora)
- epatch "${FILESDIR}/${PN}-0.999-lcms2.patch"
+ eapply "${FILESDIR}/${PN}-0.999-lcms2.patch"
+
+ mv configure.in configure.ac || die
AT_M4DIR="m4" eautoreconf
}
@@ -83,5 +86,5 @@ src_install() {
dosym /usr/bin/xsane "${plugindir#${EPREFIX}}"/xsane
fi
- newicon src/xsane-48x48.png ${PN}.png
+ newicon "${DISTDIR}/${PN}-256x256.png" "${PN}".png
}
next reply other threads:[~2017-02-11 12:03 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-11 12:03 Pacho Ramos [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-06-23 20:12 [gentoo-commits] repo/gentoo:master commit in: media-gfx/xsane/ David Seifert
2021-06-30 10:15 Ulrich Müller
2020-11-15 10:12 Michał Górny
2020-11-08 12:50 Sam James
2020-11-08 12:02 Sam James
2020-10-11 19:21 Sam James
2020-07-23 5:15 Kent Fredric
2019-02-07 13:31 Miroslav Šulc
2017-02-21 19:57 Pacho Ramos
2017-02-18 18:50 Pacho Ramos
2015-11-22 8:15 Markus Meier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1486814599.6d722fdf3a546676174a1953f125b949b1ad4b5f.pacho@gentoo \
--to=pacho@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox