diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2006-08-17 23:59:44 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2006-08-17 23:59:44 +0000 |
commit | 44360ea8dac5fd5465559ae906258f77d750c853 (patch) | |
tree | 06ec574c3fada9425cf4bab00fe23a247b8a9cbf /net-print | |
parent | digest commit failed (diff) | |
download | gentoo-2-44360ea8dac5fd5465559ae906258f77d750c853.tar.gz gentoo-2-44360ea8dac5fd5465559ae906258f77d750c853.tar.bz2 gentoo-2-44360ea8dac5fd5465559ae906258f77d750c853.zip |
remove old, more on-demand the postinst information thanks to ph <phajdan.jr@gmail.com> in bug 142057
(Portage version: 2.1.1_pre5-r2)
Diffstat (limited to 'net-print')
-rw-r--r-- | net-print/cups/ChangeLog | 7 | ||||
-rw-r--r-- | net-print/cups/cups-1.1.23-r8.ebuild | 14 | ||||
-rw-r--r-- | net-print/cups/cups-1.2.2.ebuild | 16 |
3 files changed, 31 insertions, 6 deletions
diff --git a/net-print/cups/ChangeLog b/net-print/cups/ChangeLog index e500fcf8dcc1..bb01e5a1d33c 100644 --- a/net-print/cups/ChangeLog +++ b/net-print/cups/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-print/cups # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-print/cups/ChangeLog,v 1.192 2006/07/23 18:23:15 genstef Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-print/cups/ChangeLog,v 1.193 2006/08/17 23:59:44 genstef Exp $ + + 17 Aug 2006; Stefan Schweizer <genstef@gentoo.org> cups-1.1.23-r8.ebuild, + cups-1.2.2.ebuild: + remove old, more on-demand the postinst information thanks to ph + <phajdan.jr@gmail.com> in bug 142057 *cups-1.2.2 (23 Jul 2006) diff --git a/net-print/cups/cups-1.1.23-r8.ebuild b/net-print/cups/cups-1.1.23-r8.ebuild index e88ddd97010f..cb5d0a337a64 100644 --- a/net-print/cups/cups-1.1.23-r8.ebuild +++ b/net-print/cups/cups-1.1.23-r8.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-print/cups/cups-1.1.23-r8.ebuild,v 1.2 2006/07/03 20:05:33 gustavoz Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-print/cups/cups-1.1.23-r8.ebuild,v 1.3 2006/08/17 23:59:44 genstef Exp $ inherit eutils flag-o-matic pam autotools @@ -167,5 +167,15 @@ pkg_postinst() { einfo "For more information about installing a printer take a look at:" einfo "http://www.gentoo.org/doc/en/printing-howto.xml." - einfo "You need to emerge ghostscript with the cups-USEflag turned on" + local good_gs=false + for x in app-text/ghostscript-gpl app-text/ghostscript-gnu app-text/ghostscript-esp; do + if built_with_use ${x} cups; then + good_gs=true + break + fi + done; + if ! ${good_gs}; then + ewarn + ewarn "You need to emerge ghostscript with the cups-USEflag turned on" + fi } diff --git a/net-print/cups/cups-1.2.2.ebuild b/net-print/cups/cups-1.2.2.ebuild index 11d62f1e630f..db7ff1eb6559 100644 --- a/net-print/cups/cups-1.2.2.ebuild +++ b/net-print/cups/cups-1.2.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-print/cups/cups-1.2.2.ebuild,v 1.1 2006/07/23 18:23:15 genstef Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-print/cups/cups-1.2.2.ebuild,v 1.2 2006/08/17 23:59:44 genstef Exp $ inherit autotools eutils flag-o-matic multilib pam @@ -153,8 +153,18 @@ pkg_postinst() { einfo einfo "For more information about installing a printer take a look at:" einfo "http://www.gentoo.org/doc/en/printing-howto.xml." - einfo - einfo "You need to emerge ghostscript with the cups-USEflag turned on" + + local good_gs=false + for x in app-text/ghostscript-gpl app-text/ghostscript-gnu app-text/ghostscript-esp; do + if built_with_use ${x} cups; then + good_gs=true + break + fi + done; + if ! ${good_gs}; then + ewarn + ewarn "You need to emerge ghostscript with the cups-USEflag turned on" + fi if has_version =net-print/cups-1.1*; then ewarn ewarn "The configuration changed with cups-1.2, you may want to save the old" |