summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2011-06-06 20:43:26 +0000
committerAndrey Grozin <grozin@gentoo.org>2011-06-06 20:43:26 +0000
commita51703b70045b45c9cb15be9e59a15c20d32c615 (patch)
tree36067b207411cca6e0124531f430281ebb60e470 /media-gfx/fotoxx/files
parentRemove mentions of kdeprefix (diff)
downloadhistorical-a51703b70045b45c9cb15be9e59a15c20d32c615.tar.gz
historical-a51703b70045b45c9cb15be9e59a15c20d32c615.tar.bz2
historical-a51703b70045b45c9cb15be9e59a15c20d32c615.zip
Version bump, closing #368379
Package-Manager: portage-2.2.0_alpha38/cvs/Linux i686
Diffstat (limited to 'media-gfx/fotoxx/files')
-rw-r--r--media-gfx/fotoxx/files/fotoxx-11.02-makefile.patch36
-rw-r--r--media-gfx/fotoxx/files/fotoxx-11.03.1-makefile.patch36
-rw-r--r--media-gfx/fotoxx/files/fotoxx-11.06-docdir.patch8
-rw-r--r--media-gfx/fotoxx/files/fotoxx-11.06-makefile.patch45
4 files changed, 53 insertions, 72 deletions
diff --git a/media-gfx/fotoxx/files/fotoxx-11.02-makefile.patch b/media-gfx/fotoxx/files/fotoxx-11.02-makefile.patch
deleted file mode 100644
index 1053d4a3b7b1..000000000000
--- a/media-gfx/fotoxx/files/fotoxx-11.02-makefile.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-diff -r -U1 fotoxx-11.02.orig/Makefile fotoxx-11.02/Makefile
---- fotoxx-11.02.orig/Makefile 2011-02-01 16:16:20.000000000 +0600
-+++ fotoxx-11.02/Makefile 2011-02-10 00:09:50.000000000 +0600
-@@ -7,8 +7,8 @@
- # defaults for parameters that may be pre-defined
--CXXFLAGS ?= -O3 -g -Wall
--LDFLAGS ?= -O3 -g -Wall -rdynamic
-+CXXFLAGS += -Wall
-+LDFLAGS += -rdynamic
- PREFIX ?= /usr/local
-
--CFLAGS = $(CXXFLAGS) -c `pkg-config --cflags gtk+-2.0`
--LFLAGS = $(LDFLAGS) `pkg-config --libs gtk+-2.0 gthread-2.0`
-+CXXFLAGS += -c `pkg-config --cflags gtk+-2.0`
-+LIBS = `pkg-config --libs gtk+-2.0 gthread-2.0`
-
-@@ -16,3 +16,3 @@
- DATADIR = $(PREFIX)/share/$(PROGRAM)
--DOCDIR = $(PREFIX)/share/doc/$(PROGRAM)
-+DOCDIR = $(PREFIX)/share/doc/$(PF)
- MANDIR = $(PREFIX)/share/man/man1
-@@ -22,3 +22,3 @@
- $(PROGRAM): $(PROGRAM).o zfuncs.o
-- $(CXX) $(LFLAGS) -ltiff -o $(PROGRAM) $(PROGRAM).o zfuncs.o
-+ $(CXX) $(LDFLAGS) -o $(PROGRAM) $(PROGRAM).o zfuncs.o -ltiff $(LIBS)
- @ ./dependencies.sh
-@@ -26,3 +26,3 @@
- $(PROGRAM).o: $(SOURCE)
-- $(CXX) $(CFLAGS) -o $(PROGRAM).o $(SOURCE) \
-+ $(CXX) $(CXXFLAGS) -o $(PROGRAM).o $(SOURCE) \
- -D "DATADIR=\"$(DATADIR)\"" -D "DOCDIR=\"$(DOCDIR)\""
-@@ -30,3 +30,3 @@
- zfuncs.o: zfuncs.cc
-- $(CXX) $(CFLAGS) zfuncs.cc \
-+ $(CXX) $(CXXFLAGS) zfuncs.cc \
- -D "DATADIR=\"$(DATADIR)\"" -D "DOCDIR=\"$(DOCDIR)\"" -D "BINDIR=\"$(BINDIR)\""
diff --git a/media-gfx/fotoxx/files/fotoxx-11.03.1-makefile.patch b/media-gfx/fotoxx/files/fotoxx-11.03.1-makefile.patch
deleted file mode 100644
index 1053d4a3b7b1..000000000000
--- a/media-gfx/fotoxx/files/fotoxx-11.03.1-makefile.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-diff -r -U1 fotoxx-11.02.orig/Makefile fotoxx-11.02/Makefile
---- fotoxx-11.02.orig/Makefile 2011-02-01 16:16:20.000000000 +0600
-+++ fotoxx-11.02/Makefile 2011-02-10 00:09:50.000000000 +0600
-@@ -7,8 +7,8 @@
- # defaults for parameters that may be pre-defined
--CXXFLAGS ?= -O3 -g -Wall
--LDFLAGS ?= -O3 -g -Wall -rdynamic
-+CXXFLAGS += -Wall
-+LDFLAGS += -rdynamic
- PREFIX ?= /usr/local
-
--CFLAGS = $(CXXFLAGS) -c `pkg-config --cflags gtk+-2.0`
--LFLAGS = $(LDFLAGS) `pkg-config --libs gtk+-2.0 gthread-2.0`
-+CXXFLAGS += -c `pkg-config --cflags gtk+-2.0`
-+LIBS = `pkg-config --libs gtk+-2.0 gthread-2.0`
-
-@@ -16,3 +16,3 @@
- DATADIR = $(PREFIX)/share/$(PROGRAM)
--DOCDIR = $(PREFIX)/share/doc/$(PROGRAM)
-+DOCDIR = $(PREFIX)/share/doc/$(PF)
- MANDIR = $(PREFIX)/share/man/man1
-@@ -22,3 +22,3 @@
- $(PROGRAM): $(PROGRAM).o zfuncs.o
-- $(CXX) $(LFLAGS) -ltiff -o $(PROGRAM) $(PROGRAM).o zfuncs.o
-+ $(CXX) $(LDFLAGS) -o $(PROGRAM) $(PROGRAM).o zfuncs.o -ltiff $(LIBS)
- @ ./dependencies.sh
-@@ -26,3 +26,3 @@
- $(PROGRAM).o: $(SOURCE)
-- $(CXX) $(CFLAGS) -o $(PROGRAM).o $(SOURCE) \
-+ $(CXX) $(CXXFLAGS) -o $(PROGRAM).o $(SOURCE) \
- -D "DATADIR=\"$(DATADIR)\"" -D "DOCDIR=\"$(DOCDIR)\""
-@@ -30,3 +30,3 @@
- zfuncs.o: zfuncs.cc
-- $(CXX) $(CFLAGS) zfuncs.cc \
-+ $(CXX) $(CXXFLAGS) zfuncs.cc \
- -D "DATADIR=\"$(DATADIR)\"" -D "DOCDIR=\"$(DOCDIR)\"" -D "BINDIR=\"$(BINDIR)\""
diff --git a/media-gfx/fotoxx/files/fotoxx-11.06-docdir.patch b/media-gfx/fotoxx/files/fotoxx-11.06-docdir.patch
new file mode 100644
index 000000000000..4c54ba3169a5
--- /dev/null
+++ b/media-gfx/fotoxx/files/fotoxx-11.06-docdir.patch
@@ -0,0 +1,8 @@
+diff -r -U1 fotoxx-11.06.orig/zfuncs.cc fotoxx-11.06/zfuncs.cc
+--- fotoxx-11.06.orig/zfuncs.cc 2011-06-04 20:53:41.000000000 +0700
++++ fotoxx-11.06/zfuncs.cc 2011-06-07 03:25:04.000000000 +0700
+@@ -2999,3 +2999,3 @@
+ strncatv(zlocalesdir,199,work,"/share/",zappname,"/locales",null); // /installoc/share/appname/locales
+- strncatv(zdocdir,199,work,"/share/doc/",zappname,null); // /installoc/share/doc/appname
++ strncatv(zdocdir,199,work,"/share/doc/",PF,null); // /installoc/share/doc/appname
+
diff --git a/media-gfx/fotoxx/files/fotoxx-11.06-makefile.patch b/media-gfx/fotoxx/files/fotoxx-11.06-makefile.patch
new file mode 100644
index 000000000000..9a580117bdde
--- /dev/null
+++ b/media-gfx/fotoxx/files/fotoxx-11.06-makefile.patch
@@ -0,0 +1,45 @@
+diff -r -U1 fotoxx-11.06.orig/Makefile fotoxx-11.06/Makefile
+--- fotoxx-11.06.orig/Makefile 2011-06-04 20:53:41.000000000 +0700
++++ fotoxx-11.06/Makefile 2011-06-07 03:27:17.000000000 +0700
+@@ -6,5 +6,6 @@
+ # defaults for parameters that may be pre-defined
+-CXXFLAGS ?= -O3 -g -Wall
+-LDFLAGS ?= -O3 -g -Wall -rdynamic
++CXXFLAGS += -Wall -c `pkg-config --cflags gtk+-2.0`
++LDFLAGS += -rdynamic
+ PREFIX ?= /usr
++LIBS = `pkg-config --libs gtk+-2.0 gthread-2.0`
+
+@@ -16,3 +17,3 @@
+ LOCALESDIR = $(SHAREDIR)/locales
+-DOCDIR = $(PREFIX)/share/doc/fotoxx
++DOCDIR = $(PREFIX)/share/doc/$(PF)
+ MANDIR = $(PREFIX)/share/man/man1
+@@ -21,5 +22,2 @@
+
+-CFLAGS = $(CXXFLAGS) -c `pkg-config --cflags gtk+-2.0`
+-LIBS = `pkg-config --libs gtk+-2.0 gthread-2.0`
+-
+ fotoxx: fotoxx.o fotoxx_area.o fotoxx_info.o fotoxx_edit.o zfuncs.o
+@@ -30,15 +28,15 @@
+ fotoxx.o: $(VERSION) fotoxx.h
+- $(CXX) $(CFLAGS) -o fotoxx.o $(VERSION)
++ $(CXX) $(CXXFLAGS) -o fotoxx.o $(VERSION)
+
+ fotoxx_area.o: fotoxx_area.cc fotoxx.h
+- $(CXX) $(CFLAGS) fotoxx_area.cc
++ $(CXX) $(CXXFLAGS) fotoxx_area.cc
+
+ fotoxx_info.o: fotoxx_info.cc fotoxx.h
+- $(CXX) $(CFLAGS) fotoxx_info.cc
++ $(CXX) $(CXXFLAGS) fotoxx_info.cc
+
+ fotoxx_edit.o: fotoxx_edit.cc fotoxx.h
+- $(CXX) $(CFLAGS) fotoxx_edit.cc
++ $(CXX) $(CXXFLAGS) fotoxx_edit.cc
+
+ zfuncs.o: zfuncs.cc
+- $(CXX) $(CFLAGS) zfuncs.cc
++ $(CXX) $(CXXFLAGS) -DPF=\"$(PF)\" zfuncs.cc
+
+Только в fotoxx-11.06: Makefile~