public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-gfx/fotoxx/files: fotoxx-14.06.1.patch fotoxx-14.04.patch
@ 2014-06-11 14:48 Andrey Grozin (grozin)
  0 siblings, 0 replies; only message in thread
From: Andrey Grozin (grozin) @ 2014-06-11 14:48 UTC (permalink / raw
  To: gentoo-commits

grozin      14/06/11 14:48:38

  Added:                fotoxx-14.06.1.patch
  Removed:              fotoxx-14.04.patch
  Log:
  Version bump
  
  (Portage version: 2.2.10/cvs/Linux i686, signed Manifest commit with key 0x3AFFCE974D34BD8C!)

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

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

Index: fotoxx-14.06.1.patch
===================================================================
diff -r -U1 fotoxx-14.06.1.orig/Makefile fotoxx-14.06.1/Makefile
--- fotoxx-14.06.1.orig/Makefile	2014-06-06 17:40:42.000000000 +0700
+++ fotoxx-14.06.1/Makefile	2014-06-12 01:33:21.967129937 +0700
@@ -5,5 +5,4 @@
 # defaults for parameters that may be pre-defined
-CXXFLAGS ?= -O2 -Wall -ggdb 
-
-LDFLAGS ?= -rdynamic 
+CXXFLAGS += -Wall
+LDFLAGS += -rdynamic
 PREFIX ?= /usr
@@ -16,3 +15,3 @@
 LOCALESDIR = $(SHAREDIR)/locales
-DOCDIR = $(PREFIX)/share/doc/fotoxx
+DOCDIR = $(PREFIX)/share/doc/$(PF)
 MANDIR = $(PREFIX)/share/man/man1
@@ -21,4 +20,4 @@
 
-CFLAGS = $(CXXFLAGS) -c `pkg-config --cflags gtk+-3.0`
-LIBS = `pkg-config --libs gtk+-3.0`
+CFLAGS = $(CXXFLAGS) -c -DPF=\"$(PF)\" `pkg-config --cflags gtk+-3.0`
+LIBS = `pkg-config --libs gtk+-3.0` -lpthread
 
@@ -80,3 +79,2 @@
 	rm -f  $(DESTDIR)$(MANDIR)/fotoxx.1.gz
-	xdg-desktop-menu uninstall $(DESTDIR)$(MENUFILE)
 	rm -f  $(DESTDIR)$(MENUFILE)
@@ -87,2 +85,3 @@
 	mkdir -p  $(DESTDIR)$(DOCDIR)
+	mkdir -p  $(DESTDIR)$(APPDATADIR)
 	mkdir -p  $(DESTDIR)$(MANDIR)
@@ -101,6 +100,2 @@
 	rm -f fotoxx.1.gz
-	# menu (desktop) file
-	cp -f desktop $(DESTDIR)$(MENUFILE)
-	# chmod +x $(DESTDIR)$(MENUFILE)
-	xdg-desktop-menu install --novendor $(DESTDIR)$(MENUFILE)
 
@@ -111,3 +106,2 @@
 	rm -f  $(DESTDIR)$(MANDIR)/fotoxx.1.gz
-	xdg-desktop-menu uninstall $(DESTDIR)$(MENUFILE)
 	rm -f  $(DESTDIR)$(MENUFILE)
diff -r -U1 fotoxx-14.06.1.orig/zfuncs.cc fotoxx-14.06.1/zfuncs.cc
--- fotoxx-14.06.1.orig/zfuncs.cc	2014-06-06 17:40:42.000000000 +0700
+++ fotoxx-14.06.1/zfuncs.cc	2014-06-12 01:31:16.672135206 +0700
@@ -3864,3 +3864,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:[~2014-06-11 14:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-11 14:48 [gentoo-commits] gentoo-x86 commit in media-gfx/fotoxx/files: fotoxx-14.06.1.patch fotoxx-14.04.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