public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Hüttel" <dilfridge@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-print/gutenprint/
Date: Mon, 25 Dec 2017 21:24:25 +0000 (UTC)	[thread overview]
Message-ID: <1514237050.af3f66c0136b0fcf54f0dae52d72af199a2ad994.dilfridge@gentoo> (raw)

commit:     af3f66c0136b0fcf54f0dae52d72af199a2ad994
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 25 21:23:44 2017 +0000
Commit:     Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Mon Dec 25 21:24:10 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af3f66c0

net-print/gutenprint: Version bump

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 net-print/gutenprint/Manifest                 |  1 +
 net-print/gutenprint/gutenprint-5.2.13.ebuild | 94 +++++++++++++++++++++++++++
 2 files changed, 95 insertions(+)

diff --git a/net-print/gutenprint/Manifest b/net-print/gutenprint/Manifest
index 39b5f605af9..40c3c132f06 100644
--- a/net-print/gutenprint/Manifest
+++ b/net-print/gutenprint/Manifest
@@ -1,2 +1,3 @@
 DIST gutenprint-5.2.12.tar.bz2 6898738 BLAKE2B 753fee4b2fad6fdcb3ed5c6bfd8bebf4c1459c86a8e2e6bd5922b367b887b0100b9f3c8562283f7b850fd6b616353e2455c8ccdae3455c537e4ccce04222cf86 SHA512 38dd34ca1946a37d0bdaa7d69f65b11651097b6d7f2b451387afd72b32fc92c3670bf54b46df226ca7a64d78f50117a648e2d6194ebaf2e86627cb29fb0e958e
 DIST gutenprint-5.2.13-pre1.tar.bz2 6971542 BLAKE2B 50ea5051760ea5a03e2d72c1ae390803e16bd8ec18cd9884f3ef1ae9ddef66fce72823f4c0622f156f013a642acf3a5a60d7fa312b9e35fe198ef755a44ccf02 SHA512 86c04136fa783391abd47aeefe4ce405f2940728ffccf55196f683f1977843f96a0e6d66bc1fe4d7eef7d3fcac3860fa6125d74ae4be088e95450e05b7f855b2
+DIST gutenprint-5.2.13.tar.bz2 6995005 BLAKE2B 7f9fe4bfee907fa6fe6de9bde674368701a221ea12459438053c231cc0e181601eb4fc700a95531135aecff2de6b2f41c2c78d89ad4445773efe0c11a8f45a35 SHA512 6a60a5e462bfd754ac4389b7e926715c06847c660df17e40d48cd57ece99a7ea6098bfd16c067cb27d8aef7ef705a2fdca9f05209d1f3ebf168b0ab16af4e36e

diff --git a/net-print/gutenprint/gutenprint-5.2.13.ebuild b/net-print/gutenprint/gutenprint-5.2.13.ebuild
new file mode 100644
index 00000000000..53882ab7a0f
--- /dev/null
+++ b/net-print/gutenprint/gutenprint-5.2.13.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools
+
+DESCRIPTION="Ghostscript and cups printer drivers"
+HOMEPAGE="http://gutenprint.sourceforge.net"
+
+MY_P="${P/_/-}"
+S="${WORKDIR}/${MY_P}"
+SRC_URI="mirror://sourceforge/gimp-print/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+
+IUSE="cups gimp gtk nls readline ppds static-libs"
+REQUIRED_USE="gimp? ( gtk )"
+
+RDEPEND="
+	dev-lang/perl
+	readline? ( sys-libs/readline:0= )
+	cups? ( >=net-print/cups-1.1.14 )
+	gimp? ( >=media-gfx/gimp-2.2 x11-libs/gtk+:2 )
+	gtk? ( x11-libs/gtk+:2 )
+	nls? ( virtual/libintl )
+"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig
+	nls? ( sys-devel/gettext )
+"
+
+RESTRICT="test"
+
+DOCS=( AUTHORS ChangeLog NEWS README doc/gutenprint-users-manual.{pdf,odt} )
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-5.2.4-CFLAGS.patch
+	"${FILESDIR}"/${PN}-5.2.10-genppd.patch # bug 382927
+)
+
+src_prepare() {
+	default
+
+	sed -i "s:m4local:m4extra:" Makefile.am || die
+
+	sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" \
+		-e "s/AM_PROG_CC_STDC/AC_PROG_CC/" \
+		-i configure.ac || die
+
+	eautoreconf
+}
+
+src_configure() {
+	local myeconfargs=(
+		--enable-test
+		--disable-translated-cups-ppds
+		$(use_enable gtk libgutenprintui2)
+		$(use_with gimp gimp2)
+		$(use_with gimp gimp2-as-gutenprint)
+		$(use_with cups)
+		$(use_enable nls)
+		$(use_with readline)
+		$(use_enable static-libs static)
+	)
+
+	if use cups && use ppds; then
+		myeconfargs+=( --enable-cups-ppds --enable-cups-level3-ppds )
+	else
+		myeconfargs+=( --disable-cups-ppds )
+	fi
+
+	econf "${myeconfargs[@]}"
+}
+
+src_install() {
+	default
+
+	dodoc doc/FAQ.html
+	dodoc -r doc/gutenprintui2/html
+	rm -r "${ED}"/usr/share/gutenprint/doc || die
+
+	find "${ED}" -name '*.la' -exec rm -f '{}' + || die
+}
+
+pkg_postinst() {
+	if [[ ${ROOT} == / ]] && [[ -x /usr/sbin/cups-genppdupdate ]]; then
+		elog "Updating installed printer ppd files"
+		elog $(/usr/sbin/cups-genppdupdate)
+	else
+		elog "You need to update installed ppds manually using cups-genppdupdate"
+	fi
+}


             reply	other threads:[~2017-12-25 21:24 UTC|newest]

Thread overview: 63+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-25 21:24 Andreas Hüttel [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-03-11  0:41 [gentoo-commits] repo/gentoo:master commit in: net-print/gutenprint/ Sam James
2021-08-23 22:16 Agostino Sarubbo
2021-08-21  4:52 Agostino Sarubbo
2021-08-21  4:51 Agostino Sarubbo
2021-08-21  4:50 Agostino Sarubbo
2021-08-21  4:49 Agostino Sarubbo
2021-08-20 23:51 Sam James
2021-08-20  2:27 Sam James
2021-08-20  2:26 Sam James
2021-06-11 18:48 Ionen Wolkens
2021-06-11 18:46 Ionen Wolkens
2021-06-10 10:54 Joonas Niilola
2021-06-10 10:54 Joonas Niilola
2020-12-17 13:11 Sam James
2020-12-16 21:24 Sergei Trofimovich
2020-12-09 22:38 Sergei Trofimovich
2020-12-07  5:23 Sam James
2020-12-04 18:37 Sergei Trofimovich
2020-12-03 17:37 Thomas Deutschmann
2020-11-08 12:02 Sam James
2020-03-31 16:04 Miroslav Šulc
2020-02-22 14:19 Sergei Trofimovich
2020-02-17 12:25 Agostino Sarubbo
2020-02-17 12:21 Agostino Sarubbo
2020-02-17 12:13 Agostino Sarubbo
2020-02-17 12:09 Agostino Sarubbo
2020-02-17 11:45 Agostino Sarubbo
2020-02-15 19:30 Sergei Trofimovich
2020-02-14  9:10 Miroslav Šulc
2019-12-15 10:38 Miroslav Šulc
2019-07-28 11:01 Mikle Kolyada
2019-07-03 21:32 Sergei Trofimovich
2019-05-13  0:38 Thomas Deutschmann
2019-05-07  8:46 Tobias Klausmann
2019-05-02 18:40 Mikle Kolyada
2019-04-29 19:49 Sergei Trofimovich
2019-04-29  8:51 Sergei Trofimovich
2019-04-29  8:49 Sergei Trofimovich
2019-04-29  8:19 Sergei Trofimovich
2018-12-30  8:53 Tim Harder
2018-05-30 18:00 Mikle Kolyada
2018-05-14 11:49 Tobias Klausmann
2018-05-14  0:08 Aaron Bauman
2018-05-13 22:06 Thomas Deutschmann
2018-05-13 10:08 Sergei Trofimovich
2018-05-13  9:53 Sergei Trofimovich
2018-05-09 21:53 Sergei Trofimovich
2018-01-04 17:35 Andreas Hüttel
2017-09-27 11:08 Pacho Ramos
2017-02-21 12:44 Andreas Hüttel
2017-02-21 11:54 Tobias Klausmann
2017-02-18 12:05 Jeroen Roovers
2017-02-17 22:47 Michael Weber
2017-02-17 10:42 Agostino Sarubbo
2017-02-17 10:15 Agostino Sarubbo
2017-02-16 23:21 Andreas Hüttel
2017-01-29 16:56 Andreas Hüttel
2017-01-29 16:56 Andreas Hüttel
2016-10-12 18:33 Pacho Ramos
2016-10-11  6:42 Jeroen Roovers
2016-10-01 14:06 Jeroen Roovers
2016-07-26 12:55 Tobias Klausmann

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=1514237050.af3f66c0136b0fcf54f0dae52d72af199a2ad994.dilfridge@gentoo \
    --to=dilfridge@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