Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 211499 Details for
Bug 240648
media-gfx/gimp-2.6.6: gimptool-2.0 does not respect DESTDIR (dcraw with USE=gimp - ACCESS DENIED)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
use pkg-config instead of gimptool
dcraw-8.86.ebuild.use-pkg-config.patch (text/plain), 1.52 KB, created by
Andrew Savchenko
on 2009-11-29 05:21:03 UTC
(
hide
)
Description:
use pkg-config instead of gimptool
Filename:
MIME Type:
Creator:
Andrew Savchenko
Created:
2009-11-29 05:21:03 UTC
Size:
1.52 KB
patch
obsolete
>--- dcraw-8.86.ebuild.orig 2009-09-23 19:35:46.000000000 +0400 >+++ dcraw-8.86.ebuild 2009-11-29 08:14:27.000000000 +0300 >@@ -15,7 +15,7 @@ > > DEPEND="jpeg? ( >=media-libs/jpeg-6b ) > lcms? ( media-libs/lcms ) >- gimp? ( media-gfx/gimp )" >+ gimp? ( media-gfx/gimp dev-util/pkgconfig )" > > RDEPEND="${DEPEND} > media-libs/netpbm" >@@ -27,21 +27,9 @@ > emake CC=$(tc-getCC) ${mymakeopts} || die "make failed" > > # rawphoto gimp plugin >- if use gimp; then >- >- # find gimptool (ugly!) >- local gimptool=/usr/bin/gimptool >- if [ ! -x ${gimptool} ]; then >- gimptool=${gimptool}-2.0 >- if [ ! -x ${gimptool} ]; then >- die "Couldn't find gimptool. Please reinstall gimp." >- fi >- fi >- >- # build plugin >- ${gimptool} --build rawphoto.c || die "gimptool failed" >- >- fi >+ use gimp && $(tc-getCC) ${CFLAGS} \ >+ $(pkg-config --libs --cflags gimpui-2.0) rawphoto.c -o rawphoto || >+ die "rawphoto gimp plugin failed to compile" > } > > src_install() { >@@ -49,21 +37,11 @@ > dodoc doc/conversion-examples.txt doc/dcwrap > > # rawphoto gimp plugin >- if use gimp; then >- >- # find gimptool (ugly!) >- local gimptool=/usr/bin/gimptool >- if [ ! -x ${gimptool} ]; then >- gimptool=${gimptool}-2.0 >- if [ ! -x ${gimptool} ]; then >- die "Couldn't find gimptool. Please reinstall gimp." >- fi >- fi >- >- # install plugin >- env DESTDIR="${D}" ${gimptool} --install-admin-bin rawphoto || die "gimptool failed" >- >- fi >+ use gimp && { >+ insinto "$(pkg-config --variable=gimplibdir gimp-2.0)/plug-ins" >+ insopts -m0755 >+ doins rawphoto >+ } > } > > pkg_postinst() {
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 240648
:
187978
|
202979
| 211499