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[] = {"       \
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to