|
|
|
@ -2,6 +2,7 @@
|
|
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
|
|
|
#
|
|
|
|
|
# Filename: package/.../normalmap/makefile.patch
|
|
|
|
|
# Copyright (C) 2011 The OpenSDE Project
|
|
|
|
|
# Copyright (C) 2004 - 2006 The T2 SDE Project
|
|
|
|
|
#
|
|
|
|
|
# More information can be found in the files COPYING and README.
|
|
|
|
@ -13,30 +14,30 @@
|
|
|
|
|
# Foundation; either version 2 of the License, or (at your option) any later
|
|
|
|
|
# version.
|
|
|
|
|
# --- SDE-COPYRIGHT-NOTE-END ---
|
|
|
|
|
--- gimp-normalmap/Makefile_orig 2005-11-16 06:52:44.000000000 +0100
|
|
|
|
|
+++ gimp-normalmap/Makefile 2005-11-16 22:20:03.000000000 +0100
|
|
|
|
|
@@ -15,12 +15,13 @@
|
|
|
|
|
|
|
|
|
|
OBJS=normalmap.o preview3d.o scale.o
|
|
|
|
|
|
|
|
|
|
-LIBS=`pkg-config --libs gtk+-2.0 gtkglext-1.0 gimp-2.0 gimpui-2.0`
|
|
|
|
|
+LIBS=`pkg-config --libs gtk+-2.0 gtkglext-1.0 gimp-2.0 gimpui-2.0 pangox`
|
|
|
|
|
ifdef WIN32
|
|
|
|
|
LIBS+=-lglew32
|
|
|
|
|
else
|
|
|
|
|
-LIBS+=-L/usr/X11R6/lib -lGLEW
|
|
|
|
|
+LIBS+=-L/usr/X11/lib -lGLEW
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
Description: OpenSDE specific adaption
|
|
|
|
|
|
|
|
|
|
--- gimp-normalmap-1.2.2/Makefile.linux.orig 2011-03-22 22:39:43.912058197 +0100
|
|
|
|
|
+++ gimp-normalmap-1.2.2/Makefile.linux 2011-03-22 22:44:41.352072237 +0100
|
|
|
|
|
@@ -10,9 +10,11 @@
|
|
|
|
|
|
|
|
|
|
OBJS=normalmap.o preview3d.o scale.o
|
|
|
|
|
|
|
|
|
|
-LIBS=`pkg-config --libs gtk+-2.0 gtkglext-1.0 gimp-2.0 gimpui-2.0` \
|
|
|
|
|
--L/usr/X11R6/lib -lGLEW
|
|
|
|
|
+LIBS=`pkg-config --libs gtk+-2.0 gtkglext-1.0 gimp-2.0 gimpui-2.0 pangox` \
|
|
|
|
|
+-L/usr/X11/lib -lGLEW
|
|
|
|
|
|
|
|
|
|
+PPATH=`$(GIMPTOOL) --gimpplugindir`
|
|
|
|
|
|
|
|
|
|
all: $(TARGET)
|
|
|
|
|
|
|
|
|
|
@@ -31,7 +32,7 @@
|
|
|
|
|
rm -f *.o $(TARGET)
|
|
|
|
|
|
|
|
|
|
install: all
|
|
|
|
|
- $(GIMPTOOL) --install-bin $(TARGET)
|
|
|
|
|
+
|
|
|
|
|
all: $(TARGET)
|
|
|
|
|
|
|
|
|
|
$(TARGET): $(OBJS)
|
|
|
|
|
@@ -23,6 +25,7 @@
|
|
|
|
|
|
|
|
|
|
install: all
|
|
|
|
|
$(GIMPTOOL) --install-bin $(TARGET)
|
|
|
|
|
+ install $(TARGET) $(PPATH)/plug-ins/
|
|
|
|
|
|
|
|
|
|
.c.o:
|
|
|
|
|
$(CC) -c $(CFLAGS) $<
|
|
|
|
|
|
|
|
|
|
.c.o:
|
|
|
|
|
$(CC) -c $(CFLAGS) $<
|
|
|
|
|