public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-gfx/fotoxx/files: fotoxx-13.01.patch
@ 2013-01-02  8:26 Andrey Grozin (grozin)
  0 siblings, 0 replies; only message in thread
From: Andrey Grozin (grozin) @ 2013-01-02  8:26 UTC (permalink / raw
  To: gentoo-commits

grozin      13/01/02 08:26:00

  Added:                fotoxx-13.01.patch
  Log:
  Version bump
  
  (Portage version: 2.2.0_alpha149/cvs/Linux i686, unsigned Manifest commit)

Revision  Changes    Path
1.1                  media-gfx/fotoxx/files/fotoxx-13.01.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/fotoxx/files/fotoxx-13.01.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/fotoxx/files/fotoxx-13.01.patch?rev=1.1&content-type=text/plain

Index: fotoxx-13.01.patch
===================================================================
diff -r -U1 fotoxx-12.11.orig/Makefile fotoxx-12.11/Makefile
--- fotoxx-12.11.orig/Makefile	2012-11-01 17:20:02.000000000 +0700
+++ fotoxx-12.11/Makefile	2012-11-03 22:19:23.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 -Wno-deprecated-declarations
+LDFLAGS += -rdynamic
 PREFIX ?= /usr
@@ -14,3 +14,3 @@
 LOCALESDIR = $(SHAREDIR)/locales
-DOCDIR = $(PREFIX)/share/doc/fotoxx
+DOCDIR = $(PREFIX)/share/doc/$(PF)
 MANDIR = $(PREFIX)/share/man/man1
@@ -18,3 +18,3 @@
 
-CFLAGS = $(CXXFLAGS) -c `pkg-config --cflags gtk+-3.0`
+CFLAGS = $(CXXFLAGS) -c -DPF=\"$(PF)\" `pkg-config --cflags gtk+-3.0`
 LIBS = `pkg-config --libs gtk+-3.0`
@@ -75,5 +75,2 @@
 	rm -f fotoxx.1.gz
-	# menu (desktop) file
-	cp -f desktop $(DESTDIR)$(MENUFILE)
-	xdg-desktop-menu install $(DESTDIR)$(MENUFILE)
 
@@ -84,3 +81,2 @@
 	rm -f  $(DESTDIR)$(MANDIR)/fotoxx.1.gz
-	xdg-desktop-menu uninstall $(DESTDIR)$(MENUFILE)
 	rm -f  $(DESTDIR)$(MENUFILE)
diff -r -U1 fotoxx-12.11.orig/zfuncs.cc fotoxx-12.11/zfuncs.cc
--- fotoxx-12.11.orig/zfuncs.cc	2012-11-01 17:20:02.000000000 +0700
+++ fotoxx-12.11/zfuncs.cc	2012-11-03 22:21:34.000000000 +0700
@@ -3278,3 +3278,3 @@
    strncatv(zlocalesdir,199,work,"/share/",zappname,"/locales",null);      //  /prefix/share/appname/locales
-   strncatv(zdocdir,199,work,"/share/doc/",zappname,null);                 //  /prefix/share/doc/appname
+   strncatv(zdocdir,199,work,"/share/doc/",PF,null);                       //  /prefix/share/doc/$(PF)
    





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-01-02  8:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-02  8:26 [gentoo-commits] gentoo-x86 commit in media-gfx/fotoxx/files: fotoxx-13.01.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