Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 187978 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]
gimp-2.6.4-alt-gimptool.patch
gimp-2.6.4-alt-gimptool.patch (text/plain), 1.57 KB, created by
Peter Volkov (RETIRED)
on 2009-04-11 12:24:07 UTC
(
hide
)
Description:
gimp-2.6.4-alt-gimptool.patch
Filename:
MIME Type:
Creator:
Peter Volkov (RETIRED)
Created:
2009-04-11 12:24:07 UTC
Size:
1.57 KB
patch
obsolete
>--- gimp-2.6.4/tools/Makefile.am.alt 2008-11-21 01:43:13 +0300 >+++ gimp-2.6.4/tools/Makefile.am 2009-01-01 22:12:55 +0300 >@@ -72,6 +72,7 @@ EXTRA_DIST = \ > > > install-exec-hook: >+ $(LN_S) gimptool-@GIMP_TOOL_VERSION@ $(DESTDIR)$(bindir)/gimptool > if DEFAULT_BINARY > if test -f "$(DESTDIR)$(bindir)/gimp-remote-@GIMP_APP_VERSION@"; then \ > echo "cd $(DESTDIR)$(bindir)"; \ >--- gimp-2.6.4/tools/gimptool.c.alt 2008-11-21 01:43:13 +0300 >+++ gimp-2.6.4/tools/gimptool.c 2009-01-01 22:24:22 +0300 >@@ -52,7 +52,7 @@ static const gchar *env_cc; > static const gchar *env_cflags; > static const gchar *env_ldflags; > static const gchar *env_libs; >- >+static const gchar *env_destdir; > > #ifdef G_OS_WIN32 > #define EXEEXT ".exe" >@@ -277,6 +277,11 @@ find_out_env_flags (void) > env_libs = p; > else > env_libs = ""; >+ >+ if ((p = getenv ("DESTDIR")) != NULL) >+ env_destdir = p; >+ else >+ env_destdir = ""; > } > > static void >@@ -567,9 +572,8 @@ get_sys_plugin_dir (gboolean forward_sla > const gchar slash = '/'; > #endif > >- return g_strdup_printf ("%s%clib%cgimp%c" GIMP_PLUGIN_VERSION "%cplug-ins", >- get_runtime_prefix (slash), >- slash, slash, slash, slash); >+ return g_strdup_printf (LIBDIR "%cgimp%c" GIMP_PLUGIN_VERSION "%cplug-ins", >+ slash, slash, slash); > } > > static void >@@ -594,6 +598,9 @@ static void > do_install_bin_2 (const gchar *dir, > const gchar *what) > { >+ if ( env_destdir != NULL ) >+ dir = g_strconcat (env_destdir, dir, NULL); >+ > g_mkdir_with_parents (dir, > S_IRUSR | S_IXUSR | S_IWUSR | > S_IRGRP | S_IXGRP |
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