Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 157607 Details for
Bug 228337
improved ebuild for media-gfx/gimp
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to improve media-gfx/gimp-2.4.6
patch (text/plain), 3.10 KB, created by
Rémi Cardona (RETIRED)
on 2008-06-19 12:38:30 UTC
(
hide
)
Description:
patch to improve media-gfx/gimp-2.4.6
Filename:
MIME Type:
Creator:
Rémi Cardona (RETIRED)
Created:
2008-06-19 12:38:30 UTC
Size:
3.10 KB
patch
obsolete
>diff -u -B -r1.1 gimp-2.4.6.ebuild >--- gimp-2.4.6.ebuild 2 Jun 2008 13:28:21 -0000 1.1 >+++ gimp-2.4.6.ebuild 19 Jun 2008 12:36:39 -0000 >@@ -2,7 +2,7 @@ > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp/gimp-2.4.6.ebuild,v 1.1 2008/06/02 13:28:21 hanno Exp $ > >-inherit fdo-mime flag-o-matic multilib python eutils autotools >+inherit gnome2 fdo-mime flag-o-matic multilib python eutils autotools > > DESCRIPTION="GNU Image Manipulation Program" > HOMEPAGE="http://www.gimp.org/" >@@ -52,6 +52,8 @@ > >=sys-devel/gettext-0.17 > doc? ( >=dev-util/gtk-doc-1 )" > >+DOCS="AUTHORS ChangeLog* HACKING NEWS README*" >+ > pkg_setup() { > if use pdf && ! built_with_use app-text/poppler-bindings gtk; then > eerror "This package requires app-text/poppler-bindings compiled with GTK+ support." >@@ -61,33 +63,8 @@ > eerror "This package requires media-libs/alsa-lib compiled with midi support." > die "Please reemerge media-libs/alsa-lib with USE=\"midi\"." > fi >-} >- >-src_unpack() { >- unpack ${A} >- cd "${S}" >- epatch "${FILESDIR}/gimp-web-browser.patch" >- >- # Workaround for MIME-type, this is fixed in gimp trunk, so we can >- # remove this with >= 2.5 >- use svg && epatch "${FILESDIR}/gimp-svg.diff" >- >- eautoreconf >-} >- >-src_compile() { >- # workaround portage variable leakage >- local AA= >- >- # gimp uses inline functions (e.g. plug-ins/common/grid.c) (#23078) >- # gimp uses floating point math, needs accuracy (#98685) >- filter-flags "-fno-inline" "-ffast-math" >- # gimp assumes char is signed (fixes preview corruption) >- if use ppc || use ppc64; then >- append-flags "-fsigned-char" >- fi > >- econf --enable-default-binary \ >+ G2CONF="--enable-default-binary \ > --with-x \ > $(use_with aalib aa) \ > $(use_with alsa) \ >@@ -111,21 +88,37 @@ > $(use_enable sse) \ > $(use_with svg librsvg) \ > $(use_with tiff libtiff) \ >- $(use_with wmf) \ >- || die "econf failed" >+ $(use_with wmf)" >+} >+ >+src_unpack() { >+ gnome2_src_unpack >+ epatch "${FILESDIR}/gimp-web-browser.patch" > >- emake || die "emake failed" >+ # Workaround for MIME-type, this is fixed in gimp trunk, so we can >+ # remove this with >= 2.5 >+ use svg && epatch "${FILESDIR}/gimp-svg.diff" >+ >+ eautoreconf > } > >-src_install() { >- make DESTDIR="${D}" install || die "make install failed" >+src_compile() { >+ # workaround portage variable leakage >+ local AA= >+ >+ # gimp uses inline functions (e.g. plug-ins/common/grid.c) (#23078) >+ # gimp uses floating point math, needs accuracy (#98685) >+ filter-flags "-fno-inline" "-ffast-math" >+ # gimp assumes char is signed (fixes preview corruption) >+ if use ppc || use ppc64; then >+ append-flags "-fsigned-char" >+ fi > >- dodoc AUTHORS ChangeLog* HACKING NEWS README* >+ gnome2_src_compile > } > > pkg_postinst() { >- fdo-mime_desktop_database_update >- fdo-mime_mime_database_update >+ gnome2_pkg_postinst > > elog > elog "If you want Postscript file support, emerge ghostscript." >@@ -136,8 +129,7 @@ > } > > pkg_postrm() { >- fdo-mime_desktop_database_update >- fdo-mime_mime_database_update >+ gnome2_pkg_postrm > python_mod_cleanup /usr/$(get_libdir)/gimp/2.0/python \ > /usr/$(get_libdir)/gimp/2.0/plug-ins > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 228337
:
157607
|
157613