LINUX.ORG.RU

[ненависть] Gentoo. USE=«cups» и LO 3.4.3.2-r1


0

1

На днях обновил LO с 3.3.x до 3.4.3. package.use пополнился еще одной строчкой:

app-text/ghostscript-gpl cups

С какого перепугу LO теперь хочет cups (без него не собирается, говорит нужно мол для @world)??? Ну нету у меня принтера, у меня в make.conf глобально -cups, а тут такая радость. Собрано вот так:

# equery u libreoffice
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for app-office/libreoffice-3.4.3.2-r1:
 U I
 - - bash-completion : Enable bash-completion support
 + + binfilter       : Enable support for legacy StarOffice 5.x and earlier file formats
 + + branding        : Enable Gentoo specific branding
 - - custom-cflags   : Build with user-specified CFLAGS (unsupported)
 + + dbus            : Enable dbus support for anything that needs it (gpsd, gnomemeeting, etc)
 - - debug           : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see http://www.gentoo.org/proj/en/qa/backtraces.xml
 - - eds             : Enables support for Evolution-Data-Server (EDS)
 - - gnome           : Adds GNOME support
 - - graphite        : Enable support for non-Roman fonts via media-gfx/graphite2
 - - gstreamer       : Adds support for media-libs/gstreamer (Streaming media)
 - - gtk             : Adds support for x11-libs/gtk+ (The GIMP Toolkit)
 + + java            : Adds support for Java
 + + kde             : Adds support for kde-base/kde (K Desktop Enviroment)
 - - ldap            : Adds LDAP support (Lightweight Directory Access Protocol)
 - - linguas_de      : German locale
 - - linguas_en_GB   : English locale for Britain
 - - linguas_en_ZA   : English locale for South Africa
 - - linguas_es      : Spanish locale
 - - linguas_fr      : French locale
 - - linguas_hu      : Hungarian locale
 - - linguas_it      : Italian locale
 - - mysql           : Adds mySQL Database support
 - - nsplugin        : Build plugin for browsers supporting the Netscape plugin architecture (that is almost any modern browser)
 - - odk             : Build the Office Development Kit
 + + opengl          : Adds support for OpenGL (3D graphics)
 - - python          : Adds optional support/bindings for the Python language
 + + templates       : Enable installation of Sun templates
 - - test            : Workaround to pull in packages needed to run with FEATURES=test. Portage-2.1.2 handles this internally, so don't set it in make.conf/package.use anymore
 + + vba             : Enable support for VBA compatibility and ActiveX embedding
 - - webdav          : Adds support for HTTP repositories via net-libs/neon

Ну и тупой вопрос: можно ли как-то выкорчевать капс, ессно не навредив никому

P.S. ACCEPT_KEYWORDS=«amd64»

★★★★★

mkdir -p /usr/local/portage/app-office/libreoffice/
cp -r /usr/portage/app-office/libreoffice/files/ /usr/local/portage/app-office/libreoffice/
cp /usr/portage/app-office/libreoffice/libreoffice-3.4.3.2-r1.ebuild  /usr/local/portage/app-office/libreoffice/libreoffice-3.4.3.2-r2.ebuild
$ cat libreoffice-3.4.3.2-r2.patch 

--- libreoffice-3.4.3.2-r2.ebuild	2011-10-29 00:53:39.660122260 +0400
+++ libreoffice-3.4.3.2-r2.ebuild_new	2011-10-29 00:54:06.160122266 +0400
@@ -1,6 +1,6 @@
 # Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/libreoffice-3.4.3.2-r1.ebuild,v 1.11 2011/10/16 14:12:14 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/libreoffice-3.4.3.2-r1.ebuild,v 1.12 2011/10/26 15:45:28 chainsaw Exp $
 
 EAPI=3
 
@@ -102,7 +102,7 @@
 
 IUSE="binfilter +branding custom-cflags dbus debug eds gnome graphite
 gstreamer gtk kde ldap mysql nsplugin odk opengl python templates test +vba
-webdav"
+webdav cups"
 LICENSE="LGPL-3"
 SLOT="0"
 [[ ${PV} == *9999* ]] || KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
@@ -135,7 +135,7 @@
 	>=media-libs/fontconfig-2.8.0
 	>=media-libs/vigra-1.7
 	>=media-libs/libpng-1.4
-	net-print/cups
+	cups? ( net-print/cups )
 	sci-mathematics/lpsolve
 	>=sys-libs/db-4.8
 	virtual/jpeg
@@ -445,8 +445,7 @@
 		--with-system-jars \
 		--with-system-db \
 		--with-system-dicts \
-		--enable-cairo \
-		--enable-cups \
+		--enable-cairo \		
 		--enable-fontconfig \
 		--enable-largefile \
 		--enable-randr \
@@ -488,6 +487,7 @@
 		--without-ppds \
 		--without-stlport \
 		--without-helppack-integration \
+		$(use_enable cups) \
 		$(use_enable binfilter) \
 		$(use_enable dbus) \
 		$(use_enable debug crashdump) \
cd /usr/local/portage/app-office/libreoffice/
patch -p0 < libreoffice-3.4.3.2-r2.patch
ebuild libreoffice-3.4.3.2-r2.ebuild digest
echo "PORTDIR_OVERLAY="/usr/local/portage"" > /etc/make.conf
kostik87 ★★★★★ ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.