* [gentoo-commits] gentoo-x86 commit in media-gfx/fotoxx/files: fotoxx-11.09.patch fotoxx-11.07-makefile.patch fotoxx-11.07-docdir.patch
@ 2011-09-22 11:31 Andrey Grozin (grozin)
0 siblings, 0 replies; only message in thread
From: Andrey Grozin (grozin) @ 2011-09-22 11:31 UTC (permalink / raw
To: gentoo-commits
grozin 11/09/22 11:31:17
Added: fotoxx-11.09.patch
Removed: fotoxx-11.07-makefile.patch
fotoxx-11.07-docdir.patch
Log:
Version bump
(Portage version: 2.2.0_alpha59/cvs/Linux i686)
Revision Changes Path
1.1 media-gfx/fotoxx/files/fotoxx-11.09.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/fotoxx/files/fotoxx-11.09.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/fotoxx/files/fotoxx-11.09.patch?rev=1.1&content-type=text/plain
Index: fotoxx-11.09.patch
===================================================================
diff -r -U1 fotoxx-11.09.orig/Makefile fotoxx-11.09/Makefile
--- fotoxx-11.09.orig/Makefile 2011-09-05 05:32:59.000000000 +0700
+++ fotoxx-11.09/Makefile 2011-09-22 18:20:29.000000000 +0700
@@ -5,4 +5,4 @@
# defaults for parameters that may be pre-defined
-CXXFLAGS ?= -O3 -g -Wall
-LDFLAGS ?= -O3 -g -Wall -rdynamic
+CXXFLAGS += -Wall
+LDFLAGS += -rdynamic
PREFIX ?= /usr
@@ -15,3 +15,3 @@
LOCALESDIR = $(SHAREDIR)/locales
-DOCDIR = $(PREFIX)/share/doc/fotoxx
+DOCDIR = $(PREFIX)/share/doc/$(PF)
MANDIR = $(PREFIX)/share/man/man1
@@ -19,3 +19,3 @@
-CFLAGS = $(CXXFLAGS) -c `pkg-config --cflags gtk+-2.0`
+CFLAGS = $(CXXFLAGS) -c -DPF=\"$(PF)\" `pkg-config --cflags gtk+-2.0`
LIBS = `pkg-config --libs gtk+-2.0 gthread-2.0`
@@ -71,7 +71,2 @@
rm -f fotoxx.1.gz
- # menu (desktop) file (absolute paths to get around rpmbuild problem)
- cp -f data/desktop $(DESTDIR)$(MENUFILE)
- echo Exec=/usr/bin/fotoxx >> $(DESTDIR)$(MENUFILE)
- echo Icon=/usr/share/fotoxx/icons/fotoxx.png >> $(DESTDIR)$(MENUFILE)
- xdg-desktop-menu install $(DESTDIR)$(MENUFILE)
diff -r -U1 fotoxx-11.09.orig/zfuncs.cc fotoxx-11.09/zfuncs.cc
--- fotoxx-11.09.orig/zfuncs.cc 2011-09-05 05:32:59.000000000 +0700
+++ fotoxx-11.09/zfuncs.cc 2011-09-22 18:14:46.000000000 +0700
@@ -3066,3 +3066,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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-09-22 11:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-22 11:31 [gentoo-commits] gentoo-x86 commit in media-gfx/fotoxx/files: fotoxx-11.09.patch fotoxx-11.07-makefile.patch fotoxx-11.07-docdir.patch Andrey Grozin (grozin)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox