Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


So for me gdk-pixbuf fails to build under windows, debugging it down I
find that strangely on calling nmake -f makefile.msc in gdk-pixbuf that
the lines $(PERL)... modify the pwd, i.e. with added pwd in there I
get...

        pwd
/cygdrive/f/libo/clone/libs-extern-sys/gdk-pixbuf/wntmsci12.pro/misc/build/gdk-pixbuf-2.23.0/gdk-pixbuf
        C:/cygwin/bin/perl -e 'print "hello world"'
        pwd
/usr/bin

while if I change $(PERL) to just perl I get the expected results...

        pwd
/cygdrive/f/libo/clone/libs-extern-sys/gdk-pixbuf/wntmsci12.pro/misc/build/gdk-pixbuf-2.23.0/gdk-pixbuf
        perl -e 'print "hello world"'
hello world     pwd
/cygdrive/f/libo/clone/libs-extern-sys/gdk-pixbuf/wntmsci12.pro/misc/build/gdk-pixbuf-2.23.0/gdk-pixbuf

where echo $PERL says

c:/cygwin/bin/perl

If I use this patch, all is well. Anyone an idea what the cock might
really be.

C.
diff --git a/gdk-pixbuf/gdk-pixbuf-2.23.0-win32.patch b/gdk-pixbuf/gdk-pixbuf-2.23.0-win32.patch
index 3c56feb..142ea34 100644
--- a/gdk-pixbuf/gdk-pixbuf-2.23.0-win32.patch
+++ b/gdk-pixbuf/gdk-pixbuf-2.23.0-win32.patch
@@ -333,7 +333,7 @@
  #
  gdk-pixbuf-enum-types.h : $(gdk_pixbuf_headers) makefile.msc
 -      $(PERL) $(GLIB)\gobject\glib-mkenums \
-+      $(PERL) $(OUTDIR)\bin\glib-mkenums \
++      perl $(OUTDIR)\bin\glib-mkenums \
                --fhead "#ifndef __GDK_PIXBUF__ENUM_TYPES_H__\n#define 
__GDK_PIXBUF_ENUM_TYPES_H__\n" \
                --fprod "/* enumerations from \"@filename@\" */\n" \
                --vhead "GType @enum_name@_get_type (void);\n#define GDK_TYPE_@ENUMSHORT@ 
(@enum_name@_get_type())\n"         \
@@ -343,7 +343,7 @@
  gdk-pixbuf-enum-types.c: $(gdk_pixbuf_headers) makefile.msc
 -      $(PERL) $(GLIB)\gobject\glib-mkenums \
 -              --fhead "#include <gdk-pixbuf/gdk-pixbuf.h>" \
-+      $(PERL) $(OUTDIR)\bin\glib-mkenums \
++      perl $(OUTDIR)\bin\glib-mkenums \
 +              --fhead "#include <gdk-pixbuf.h>" \
                --fprod "\n/* enumerations from \"@filename@\" */" \
                --vhead "GType\n@enum_name@_get_type (void)\n{\n  static GType etype = 0;\n  if 
(etype == 0) {\n    static const G@Type@Value values[] = {"       \

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.