rpms/gperiodic/devel gtk.patch,NONE,1.1 gperiodic.spec,1.8,1.9

Eric Tanguy (tanguy) fedora-extras-commits at redhat.com
Tue Sep 11 18:34:15 UTC 2007


Author: tanguy

Update of /cvs/extras/rpms/gperiodic/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13689

Modified Files:
	gperiodic.spec 
Added Files:
	gtk.patch 
Log Message:


gtk.patch:

--- NEW FILE gtk.patch ---
--- gperiodic-2.0.10/Makefile	2007-07-11 14:58:05.000000000 +0200
+++ gperiodic-2.0.10/Makefile	2007-09-11 20:11:45.000000000 +0200
@@ -1,5 +1,5 @@
 CC := gcc
-CFLAGS := `pkg-config --cflags gtk+-2.0` -I. -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED
+CFLAGS := `pkg-config --cflags gtk+-2.0` -I. -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED
 LIBS :=`pkg-config --libs gtk+-2.0`
 bindir ?= /usr/bin
 datadir ?= /usr/share


Index: gperiodic.spec
===================================================================
RCS file: /cvs/extras/rpms/gperiodic/devel/gperiodic.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- gperiodic.spec	8 Sep 2007 07:20:43 -0000	1.8
+++ gperiodic.spec	11 Sep 2007 18:33:42 -0000	1.9
@@ -1,14 +1,15 @@
 Summary: Program for browsing the periodic table
 Name: gperiodic
 Version: 2.0.10
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: GPL
 Group: Applications/Engineering
 URL: http://www.frantz.fi/software/gperiodic.php
 Source: http://www.frantz.fi/software/gperiodic-%{version}.tar.gz
 Patch0: gperiodic-bh.patch
+Patch1: gtk.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: gtk2-devel, desktop-file-utils, gettext
+BuildRequires: gtk2-devel, desktop-file-utils, gettext, 
 
 %description
 Gperiodic displays a periodic table of the elements, allowing you to
@@ -18,6 +19,7 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 CFLAGS="$RPM_OPT_FLAGS" %{__make} %{?_smp_mflags}
@@ -54,6 +56,9 @@
 %doc README AUTHORS ChangeLog gpl.txt
 
 %changelog
+* Sat Sep 08 2007 Eric Tanguy <eric.tanguy at univ-nantes.fr> 2.0.10-2
+- Patch to erase DGTK_DISABLE_DEPRECATED flag from the Makefile
+
 * Sat Sep 08 2007 Eric Tanguy <eric.tanguy at univ-nantes.fr> 2.0.10-1
 - New upstream version
 




More information about the fedora-extras-commits mailing list