summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-04-24 19:15:56 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-04-24 19:15:56 +0000
commit93cd70d7559a8d9194cbda6bd79efa025425c49d (patch)
tree8b601b6b12bba03bba7f57430898f71db04c68c5 /kde-base
parentAdd new-style virtual for xft, again so xorg-x11-7 ebuilds don't provide it. (diff)
downloadhistorical-93cd70d7559a8d9194cbda6bd79efa025425c49d.tar.gz
historical-93cd70d7559a8d9194cbda6bd79efa025425c49d.tar.bz2
historical-93cd70d7559a8d9194cbda6bd79efa025425c49d.zip
Fix check for ghostscript built with X. Thanks to Andrei Ivanov in bug #131122.
Package-Manager: portage-2.1_pre9-r4
Diffstat (limited to 'kde-base')
-rw-r--r--kde-base/kdegraphics/ChangeLog6
-rw-r--r--kde-base/kdegraphics/kdegraphics-3.5.2.ebuild16
-rw-r--r--kde-base/kghostview/ChangeLog6
-rw-r--r--kde-base/kghostview/kghostview-3.5.2.ebuild14
4 files changed, 27 insertions, 15 deletions
diff --git a/kde-base/kdegraphics/ChangeLog b/kde-base/kdegraphics/ChangeLog
index b7c6df05d68b..382bfedc4feb 100644
--- a/kde-base/kdegraphics/ChangeLog
+++ b/kde-base/kdegraphics/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for kde-base/kdegraphics
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kdegraphics/ChangeLog,v 1.246 2006/04/05 22:57:59 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdegraphics/ChangeLog,v 1.247 2006/04/24 19:14:44 flameeyes Exp $
+
+ 24 Apr 2006; Diego Pettenò <flameeyes@gentoo.org>
+ kdegraphics-3.5.2.ebuild:
+ Fix check for ghostscript built with X. Thanks to Andrei Ivanov in bug #131122.
05 Apr 2006; Diego Pettenò <flameeyes@gentoo.org>
-files/kpdf-3.5.0-cropbox-fix.patch,
diff --git a/kde-base/kdegraphics/kdegraphics-3.5.2.ebuild b/kde-base/kdegraphics/kdegraphics-3.5.2.ebuild
index 39bd35170b7b..fa7e85ffc394 100644
--- a/kde-base/kdegraphics/kdegraphics-3.5.2.ebuild
+++ b/kde-base/kdegraphics/kdegraphics-3.5.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/kde-base/kdegraphics/kdegraphics-3.5.2.ebuild,v 1.2 2006/03/27 19:42:23 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdegraphics/kdegraphics-3.5.2.ebuild,v 1.3 2006/04/24 19:14:44 flameeyes Exp $
inherit kde-dist eutils
@@ -42,13 +42,15 @@ SRC_URI="${SRC_URI}
PATCHES="${DISTDIR}/kpdf-${PV}-poppler.patch.bz2"
pkg_setup() {
- if ! built_with_use virtual/ghostscript X; then
- eerror "This package requires virtual/ghostscript compiled with X11 support."
- eerror "Please reemerge virtual/ghostscript with USE=\"X\"."
- die "Please reemerge virtual/ghostscript with USE=\"X\"."
- fi
+ for ghostscript in app-text/ghostscript-{gnu,esp,afpl}; do
+ if has_version ${ghostscript} && !built_with_use ${ghostscript} X; then
+ eerror "This package requires ${ghostscript} compiled with X11 support."
+ eerror "Please reemerge ${ghostscript} with USE=\"X\"."
+ die "Please reemerge ${ghostscript} with USE=\"X\"."
+ fi
+ done
if use pdf && ! built_with_use app-text/poppler-bindings qt; then
- eerror "This package requires app-text/poppler-bindings compiled with Qt support."
+ eerror "This package requires app-text/poppler-bindings compiled with Qt support."
eerror "Please reemerge app-text/poppler-bindings with USE=\"qt\"."
die "Please reemerge app-text/poppler-bindings with USE=\"qt\"."
fi
diff --git a/kde-base/kghostview/ChangeLog b/kde-base/kghostview/ChangeLog
index 1afdfd7ac902..d4bdf8106aec 100644
--- a/kde-base/kghostview/ChangeLog
+++ b/kde-base/kghostview/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for kde-base/kghostview
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kghostview/ChangeLog,v 1.43 2006/04/09 16:48:39 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kghostview/ChangeLog,v 1.44 2006/04/24 19:15:56 flameeyes Exp $
+
+ 24 Apr 2006; Diego Pettenò <flameeyes@gentoo.org>
+ kghostview-3.5.2.ebuild:
+ Fix check for ghostscript built with X. Thanks to Andrei Ivanov in bug #131122.
09 Apr 2006; Diego Pettenò <flameeyes@gentoo.org>
kghostview-3.5.2.ebuild:
diff --git a/kde-base/kghostview/kghostview-3.5.2.ebuild b/kde-base/kghostview/kghostview-3.5.2.ebuild
index 7e75bc0bfe1e..c0788a82848d 100644
--- a/kde-base/kghostview/kghostview-3.5.2.ebuild
+++ b/kde-base/kghostview/kghostview-3.5.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/kde-base/kghostview/kghostview-3.5.2.ebuild,v 1.4 2006/04/09 16:48:39 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kghostview/kghostview-3.5.2.ebuild,v 1.5 2006/04/24 19:15:56 flameeyes Exp $
KMNAME=kdegraphics
MAXKDEVER=$PV
@@ -15,9 +15,11 @@ RDEPEND="virtual/ghostscript"
KMEXTRA="kfile-plugins/ps"
pkg_setup() {
- if ! built_with_use virtual/ghostscript X; then
- eerror "This package requires virtual/ghostscript compiled with X11 support."
- eerror "Please reemerge virtual/ghostscript with USE=\"X\"."
- die "Please reemerge virtual/ghostscript with USE=\"X\"."
- fi
+ for ghostscript in app-text/ghostscript-{gnu,esp,afpl}; do
+ if has_version ${ghostscript} && !built_with_use ${ghostscript} X; then
+ eerror "This package requires ${ghostscript} compiled with X11 support."
+ eerror "Please reemerge ${ghostscript} with USE=\"X\"."
+ die "Please reemerge ${ghostscript} with USE=\"X\"."
+ fi
+ done
}