Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 372939 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/media-gfx/graphviz/graphviz-2.26.3-r3.ebuild (-28 / +13 lines)
Lines 14-20 Link Here
14
LICENSE="CPL-1.0"
14
LICENSE="CPL-1.0"
15
SLOT="0"
15
SLOT="0"
16
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
16
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
17
IUSE="cairo doc examples gtk java lasi nls perl python ruby static-libs tcl"
17
IUSE="cairo doc examples gtk java lasi nls perl python qt4 rsvg ruby static-libs tcl Xaw"
18
18
19
# Requires ksh
19
# Requires ksh
20
RESTRICT="test"
20
RESTRICT="test"
Lines 29-47 Link Here
29
	virtual/jpeg
29
	virtual/jpeg
30
	virtual/libiconv
30
	virtual/libiconv
31
	cairo?	(
31
	cairo?	(
32
		x11-libs/libXaw
33
		>=x11-libs/pango-1.12
32
		>=x11-libs/pango-1.12
34
		>=x11-libs/cairo-1.1.10[svg]
33
		>=x11-libs/cairo-1.1.10[svg]
35
	)
34
	)
36
	gtk?	(
35
	gtk?	(
37
		x11-libs/gtk+:2
36
		x11-libs/gtk+:2
38
		x11-libs/libXaw
37
		x11-libs/gdk-pixbuf:2
39
		>=x11-libs/pango-1.12
38
		>=x11-libs/pango-1.12
40
		>=x11-libs/cairo-1.1.10
39
		>=x11-libs/cairo-1.1.10
41
	)
40
	)
42
	lasi?	( media-libs/lasi )
41
	lasi?	( media-libs/lasi )
42
	qt4?	( x11-libs/qt-core x11-libs/qt-gui )
43
	rsvg?	( gnome-base/librsvg )
43
	ruby?	( dev-lang/ruby )
44
	ruby?	( dev-lang/ruby )
44
	tcl?	( >=dev-lang/tcl-8.3 )"
45
	tcl?	( >=dev-lang/tcl-8.3 )
46
	Xaw?	( x11-libs/libXaw )"
45
DEPEND="${RDEPEND}
47
DEPEND="${RDEPEND}
46
	dev-util/pkgconfig
48
	dev-util/pkgconfig
47
	sys-devel/flex
49
	sys-devel/flex
Lines 57-67 Link Here
57
# Rendering is done via the following plugins (/plugins):
59
# Rendering is done via the following plugins (/plugins):
58
# - core, dot_layout, neato_layout, gd , dot
60
# - core, dot_layout, neato_layout, gd , dot
59
#   the ones which are always compiled in, depend on zlib, gd
61
#   the ones which are always compiled in, depend on zlib, gd
60
# - gtk
61
#   Directly depends on gtk-2.
62
#   gtk-2 depends on pango, cairo and libX11 directly.
63
# - gdk-pixbuf
62
# - gdk-pixbuf
64
#   Disabled, GTK-1 junk.
63
#   
65
# - ming
64
# - ming
66
#   flash plugin via -Tswf requires media-libs/ming-0.4. Disabled as it's
65
#   flash plugin via -Tswf requires media-libs/ming-0.4. Disabled as it's
67
#   incomplete.
66
#   incomplete.
Lines 104-110 Link Here
104
}
103
}
105
104
106
src_prepare() {
105
src_prepare() {
107
	epatch "${FILESDIR}"/${P}-libtool.patch
106
	epatch "${FILESDIR}"/graphviz-lefty-automagic.patch
108
107
109
	# ToDo: Do the same thing for examples and/or
108
	# ToDo: Do the same thing for examples and/or
110
	#       write a patch for a configuration-option
109
	#       write a patch for a configuration-option
Lines 114-132 Link Here
114
			| xargs sed -i -e '/html_DATA/d' -e '/pdf_DATA/d' || die
113
			| xargs sed -i -e '/html_DATA/d' -e '/pdf_DATA/d' || die
115
	fi
114
	fi
116
115
117
	# This is an old version of libtool
118
	rm -rf libltdl
119
	sed -i -e '/libltdl/d' configure.ac || die
120
	sed -i -e 's/AC_LIBLTDL_CONVENIENCE/AC_LIBLTDL_INSTALLABLE/' configure.ac || die
121
122
	# Update this file from our local libtool which is much newer than the
123
	# bundled one. This allows MAKEOPTS=-j2 to work on FreeBSD.
124
	if has_version ">=sys-devel/libtool-2" ; then
125
		cp "${EPREFIX}"/usr/share/libtool/config/install-sh config || die
126
	else
127
		cp "${EPREFIX}"/usr/share/libtool/install-sh config || die
128
	fi
129
130
	# no nls, no gettext, no iconv macro, so disable it
116
	# no nls, no gettext, no iconv macro, so disable it
131
	use nls || { sed -i -e '/^AM_ICONV/d' configure.ac || die; }
117
	use nls || { sed -i -e '/^AM_ICONV/d' configure.ac || die; }
132
118
Lines 134-148 Link Here
134
	sed -i -e '/$(pkgluadir)/d' tclpkg/gv/Makefile.am || die
120
	sed -i -e '/$(pkgluadir)/d' tclpkg/gv/Makefile.am || die
135
121
136
	# replace the whitespace with tabs
122
	# replace the whitespace with tabs
137
	sed -i -e 's:  :\t:g' doc/info/Makefile.am || die
123
	# sed -i -e 's:  :\t:g' doc/info/Makefile.am || die
138
124
139
	eautoreconf
125
	eautoreconf
140
}
126
}
141
127
142
src_configure() {
128
src_configure() {
143
	# libtool file collision, bug 276609
144
	local myconf="--disable-ltdl-install"
145
146
	# Core functionality:
129
	# Core functionality:
147
	# All of X, cairo-output, gtk need the pango+cairo functionality
130
	# All of X, cairo-output, gtk need the pango+cairo functionality
148
	if use gtk || use cairo; then
131
	if use gtk || use cairo; then
Lines 153-158 Link Here
153
	myconf="${myconf}
136
	myconf="${myconf}
154
		$(use_with cairo pangocairo)
137
		$(use_with cairo pangocairo)
155
		$(use_with gtk)
138
		$(use_with gtk)
139
		$(use_with gtk gdk-pixbuf)
140
		$(use_with qt4 qt)
141
		$(use_with rsvg)
142
		$(use_with Xaw lefty)
156
		$(use_with lasi)
143
		$(use_with lasi)
157
		--with-digcola
144
		--with-digcola
158
		--with-fontconfig
145
		--with-fontconfig
Lines 160-166 Link Here
160
		--with-ipsepcola
147
		--with-ipsepcola
161
		--with-libgd
148
		--with-libgd
162
		--with-sfdp
149
		--with-sfdp
163
		--without-gdk-pixbuf
164
		--without-ming"
150
		--without-ming"
165
151
166
	# new/experimental features, to be tested, disable for now
152
	# new/experimental features, to be tested, disable for now
Lines 169-175 Link Here
169
		--without-devil
155
		--without-devil
170
		--without-digcola
156
		--without-digcola
171
		--without-ipsepcola
157
		--without-ipsepcola
172
		--without-rsvg
173
		--without-smyrna"
158
		--without-smyrna"
174
159
175
	# Bindings:
160
	# Bindings:

Return to bug 372939