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