Gentoo Archives: gentoo-commits

From: "Miroslav Šulc" <fordfrog@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-print/gutenprint/
Date: Tue, 31 Mar 2020 16:04:19
Message-Id: 1585670646.592ac06c7193ce22a695ab7812df88ea0072040b.fordfrog@gentoo
1 commit: 592ac06c7193ce22a695ab7812df88ea0072040b
2 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
3 AuthorDate: Tue Mar 31 16:03:34 2020 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 31 16:04:06 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=592ac06c
7
8 net-print/gutenprint: removed old 5.3.1 & dropping to ~ia64
9
10 Package-Manager: Portage-2.3.96, Repoman-2.3.22
11 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
12
13 net-print/gutenprint/Manifest | 1 -
14 net-print/gutenprint/gutenprint-5.3.1.ebuild | 94 ----------------------------
15 2 files changed, 95 deletions(-)
16
17 diff --git a/net-print/gutenprint/Manifest b/net-print/gutenprint/Manifest
18 index 633fabf6b1b..88c4bc61669 100644
19 --- a/net-print/gutenprint/Manifest
20 +++ b/net-print/gutenprint/Manifest
21 @@ -1,2 +1 @@
22 -DIST gutenprint-5.3.1.tar.xz 5153260 BLAKE2B 03465158944a77af93bfaf13878f821f13e63eac1bd92f9e33ba003b49a4cc1864e0ddf2bd3d72cec9fd2759401f90304f62ec068c3b62b0c210c53d1265c0d1 SHA512 214d07e6f78130e95c8c9d98f0862921d26f74a7c302afabdb138b35ef5f02f52fa143411983867fd7015477c16ca18cf8001e6552c27cd4a12c08ff77e92986
23 DIST gutenprint-5.3.3.tar.xz 5050624 BLAKE2B dbcf74169d0756d991bbdad7338a6e6f995f8eeedc2610677b327abee6aecc787d1cc35949f73c1d93ad274de7d467542b72a5fe0abf58fbc4ec6f21667cbad7 SHA512 d2c47eb4ccc3c46ccb2f1042682edf7443f5c57439ead72f49ecd10537cf967251bacf7ca7da29fb8dceecc7eebd55ed021f2594ff9fb6509bab543fab1dc8d6
24
25 diff --git a/net-print/gutenprint/gutenprint-5.3.1.ebuild b/net-print/gutenprint/gutenprint-5.3.1.ebuild
26 deleted file mode 100644
27 index fcbf7a181fe..00000000000
28 --- a/net-print/gutenprint/gutenprint-5.3.1.ebuild
29 +++ /dev/null
30 @@ -1,94 +0,0 @@
31 -# Copyright 1999-2020 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -inherit autotools
36 -
37 -DESCRIPTION="Ghostscript and cups printer drivers"
38 -HOMEPAGE="http://gutenprint.sourceforge.net"
39 -
40 -MY_P="${P/_/-}"
41 -S="${WORKDIR}/${MY_P}"
42 -SRC_URI="mirror://sourceforge/gimp-print/${MY_P}.tar.xz"
43 -
44 -LICENSE="GPL-2"
45 -SLOT="0"
46 -KEYWORDS="~alpha amd64 arm hppa ia64 ppc ppc64 sparc x86"
47 -
48 -IUSE="cups gimp gtk nls readline ppds static-libs"
49 -REQUIRED_USE="gimp? ( gtk )"
50 -
51 -# gimp restriction: https://sourceforge.net/p/gimp-print/bugs/725/
52 -RDEPEND="
53 - dev-lang/perl
54 - readline? ( sys-libs/readline:0= )
55 - cups? ( >=net-print/cups-1.1.14 )
56 - gimp? ( <media-gfx/gimp-9999:2 x11-libs/gtk+:2 )
57 - gtk? ( x11-libs/gtk+:2 )
58 - nls? ( virtual/libintl )
59 -"
60 -DEPEND="${RDEPEND}
61 - virtual/pkgconfig
62 - nls? ( sys-devel/gettext )
63 -"
64 -
65 -RESTRICT="test"
66 -
67 -DOCS=( AUTHORS ChangeLog NEWS README doc/gutenprint-users-manual.{pdf,odt} )
68 -
69 -PATCHES=(
70 - "${FILESDIR}"/${PN}-5.3.1-cflags.patch
71 -)
72 -
73 -src_prepare() {
74 - default
75 -
76 - sed -i "s:m4local:m4extra:" Makefile.am || die
77 -
78 - sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" \
79 - -e "s/AM_PROG_CC_STDC/AC_PROG_CC/" \
80 - -i configure.ac || die
81 -
82 - eautoreconf
83 -}
84 -
85 -src_configure() {
86 - local myeconfargs=(
87 - --enable-test
88 - --disable-translated-cups-ppds
89 - $(use_enable gtk libgutenprintui2)
90 - $(use_with gimp gimp2)
91 - $(use_with gimp gimp2-as-gutenprint)
92 - $(use_with cups)
93 - $(use_enable nls)
94 - $(use_with readline)
95 - $(use_enable static-libs static)
96 - )
97 -
98 - if use cups && use ppds; then
99 - myeconfargs+=( --enable-cups-ppds --enable-cups-level3-ppds )
100 - else
101 - myeconfargs+=( --disable-cups-ppds )
102 - fi
103 -
104 - econf "${myeconfargs[@]}"
105 -}
106 -
107 -src_install() {
108 - default
109 -
110 - dodoc doc/FAQ.html
111 - dodoc -r doc/gutenprintui2/html
112 - rm -r "${ED}"/usr/share/gutenprint/doc || die
113 -
114 - find "${ED}" -name '*.la' -exec rm -f '{}' + || die
115 -}
116 -
117 -pkg_postinst() {
118 - if [[ ${ROOT} == / ]] && [[ -x /usr/sbin/cups-genppdupdate ]]; then
119 - elog "Updating installed printer ppd files"
120 - elog $(/usr/sbin/cups-genppdupdate)
121 - else
122 - elog "You need to update installed ppds manually using cups-genppdupdate"
123 - fi
124 -}