1 |
grozin 12/01/02 14:59:22 |
2 |
|
3 |
Added: fotoxx-12.01.patch |
4 |
Removed: fotoxx-11.11.1.patch |
5 |
Log: |
6 |
Version bump |
7 |
|
8 |
(Portage version: 2.2.0_alpha84/cvs/Linux i686) |
9 |
|
10 |
Revision Changes Path |
11 |
1.1 media-gfx/fotoxx/files/fotoxx-12.01.patch |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/fotoxx/files/fotoxx-12.01.patch?rev=1.1&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/fotoxx/files/fotoxx-12.01.patch?rev=1.1&content-type=text/plain |
15 |
|
16 |
Index: fotoxx-12.01.patch |
17 |
=================================================================== |
18 |
diff -r -U1 fotoxx-11.12.1.orig/Makefile fotoxx-11.12.1/Makefile |
19 |
--- fotoxx-11.12.1.orig/Makefile 2011-12-02 21:10:01.000000000 +0700 |
20 |
+++ fotoxx-11.12.1/Makefile 2011-12-04 15:26:12.000000000 +0700 |
21 |
@@ -5,4 +5,4 @@ |
22 |
# defaults for parameters that may be pre-defined |
23 |
-CXXFLAGS ?= -O3 -g -Wall |
24 |
-LDFLAGS ?= -O3 -g -Wall -rdynamic |
25 |
+CXXFLAGS += -Wall |
26 |
+LDFLAGS += -rdynamic |
27 |
PREFIX ?= /usr |
28 |
@@ -14,3 +14,3 @@ |
29 |
LOCALESDIR = $(SHAREDIR)/locales |
30 |
-DOCDIR = $(PREFIX)/share/doc/fotoxx |
31 |
+DOCDIR = $(PREFIX)/share/doc/$(PF) |
32 |
MANDIR = $(PREFIX)/share/man/man1 |
33 |
@@ -18,3 +18,3 @@ |
34 |
|
35 |
-CFLAGS = $(CXXFLAGS) -c `pkg-config --cflags gtk+-2.0` |
36 |
+CFLAGS = $(CXXFLAGS) -c -DPF=\"$(PF)\" `pkg-config --cflags gtk+-2.0` |
37 |
LIBS = `pkg-config --libs gtk+-2.0 gthread-2.0` |
38 |
@@ -75,5 +75,2 @@ |
39 |
rm -f fotoxx.1.gz |
40 |
- # menu (desktop) file |
41 |
- cp -f desktop $(DESTDIR)$(MENUFILE) |
42 |
- xdg-desktop-menu install $(DESTDIR)$(MENUFILE) |
43 |
|
44 |
diff -r -U1 fotoxx-11.12.1.orig/zfuncs.cc fotoxx-11.12.1/zfuncs.cc |
45 |
--- fotoxx-11.12.1.orig/zfuncs.cc 2011-12-02 21:10:01.000000000 +0700 |
46 |
+++ fotoxx-11.12.1/zfuncs.cc 2011-12-04 15:28:27.000000000 +0700 |
47 |
@@ -3123,3 +3123,3 @@ |
48 |
strncatv(zlocalesdir,199,work,"/share/",zappname,"/locales",null); // /prefix/share/appname/locales |
49 |
- strncatv(zdocdir,199,work,"/share/doc/",zappname,null); // /prefix/share/doc/appname |
50 |
+ strncatv(zdocdir,199,work,"/share/doc/",PF,null); // /prefix/share/doc/appname |