rpms/geglmm/devel geglmm-0.0.22-add-cstdio.patch, NONE, 1.1 geglmm-0.0.22-kill-warnings.patch, NONE, 1.1 geglmm.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Dodji Seketeli dodji at fedoraproject.org
Tue Feb 17 07:22:18 UTC 2009


Author: dodji

Update of /cvs/pkgs/rpms/geglmm/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv26494/devel

Modified Files:
	.cvsignore sources 
Added Files:
	geglmm-0.0.22-add-cstdio.patch 
	geglmm-0.0.22-kill-warnings.patch geglmm.spec import.log 
Log Message:
* Tue Feb 17 2009 Dodji Seketeli <dodji at redhat.org> 0.0.22-2
- Use dist macro
- Give source0 with full URL
- Remove babl-devel from Requires, as gegl-devel already requires it
- Make dependency between -devel and base package be EVR specific
- Use defattr(-,root,root,-)
- Add AUTHORS COPYING COPYING.LESSER to main package
- Add ChangeLog to devel package
- Add add-cstdio.patch
- Add kill-warnings.patch



geglmm-0.0.22-add-cstdio.patch:

--- NEW FILE geglmm-0.0.22-add-cstdio.patch ---
commit 58eed3442d52b6deae9ca985dda9450bcd4aa569
Author: Dodji Seketeli <dodji at redhat.com>
Date:   Sun Feb 15 14:39:38 2009 +0100

    Fix a compilation error
    
    	* examples/hello-world.cc: Include <cstdio> to declare snprintf.

diff --git a/examples/hello-world.cc b/examples/hello-world.cc
index 1fd2641..7f44c9b 100644
--- a/examples/hello-world.cc
+++ b/examples/hello-world.cc
@@ -1,3 +1,4 @@
+#include <cstdio>
 #include <glib.h>
 #include <geglmm/init.h>
 #include <geglmm/node.h>

geglmm-0.0.22-kill-warnings.patch:

--- NEW FILE geglmm-0.0.22-kill-warnings.patch ---
commit 2523a724b8481fdba4f1adc319a25a243e07dacf
Author: Dodji Seketeli <dodji at redhat.com>
Date:   Sun Feb 15 14:46:28 2009 +0100

    Fix warnings
    
    	* examples/geglbuffer-clock.cc (main): Remove unused variables.
    	val and string.

diff --git a/examples/geglbuffer-clock.cc b/examples/geglbuffer-clock.cc
index 093e958..c1cc9d3 100644
--- a/examples/geglbuffer-clock.cc
+++ b/examples/geglbuffer-clock.cc
@@ -60,11 +60,9 @@ main (gint    argc,
   {
     gint frame;
     gint frames = 1024;
-    GTimeVal val;
 
     for (frame=0; frame<frames; frame++)
       {
-        gchar string[512];
         struct timeval tv;
 
         int t = gettimeofday(&tv, NULL);


--- NEW FILE geglmm.spec ---
Name:           geglmm
Version:        0.0.22
Release:        2%{?dist}
Summary:        A graphic processing library, C++ bindings

Group:          Development/Libraries
License:        LGPLv3+
URL:            http://ftp.gnome.org/pub/gnome/sources/geglmm

Source0: http://ftp.gnome.org/pub/gnome/sources/geglmm/0.0/geglmm-%{version}.tar.bz2
# Patch submitted upstream at http://bugzilla.gnome.org/show_bug.cgi?id=571837
Patch0:  %{name}-%{version}-add-cstdio.patch
# Patch submitted upstream at http://bugzilla.gnome.org/show_bug.cgi?id=571838
Patch1:  %{name}-%{version}-kill-warnings.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:  gegl-devel >= 0.0.22
BuildRequires:  glibmm24-devel >= 2.18

%description
C++ binding for the GEGL graph based image processing framework.
These bindings adhere to the Gtkmm2 bindings APIs.

%package devel
Summary:        Development tools for the geglmm library
Group:          Development/Libraries
Requires:       %{name} = %{version}-%{release}
Requires:       glibmm24-devel >= 2.18
Requires:       gegl-devel >= 0.0.22
%description devel
The header files and dynamic shared libraries of the geglmm library

%prep
%setup -q
%patch0 -p1 -b .add-cstdio.patch
%patch1 -p1 -b .kill-warnings.patch

%build
%configure
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p" install
rm -rf $RPM_BUILD_ROOT%{_infodir}/dir

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING COPYING.LESSER
%{_libdir}/libgeglmm.so.*

%files devel
%defattr(-,root,root,-)
%doc ChangeLog
%{_libdir}/pkgconfig/geglmm.pc
%{_libdir}/geglmm-1.0
%{_libdir}/libgeglmm.so
%{_includedir}/geglmm-1.0
%exclude %{_libdir}/libgeglmm.la

%changelog
* Sun Feb 15 2009 Dodji Seketeli <dodji at redhat.org> 0.0.22-2
- Use dist macro
- Give source0 with full URL
- Remove babl-devel from Requires, as gegl-devel already requires it
- Make dependency between -devel and base package be EVR specific
- Use defattr(-,root,root,-)
- Add AUTHORS COPYING COPYING.LESSER to main package
- Add ChangeLog to devel package
- Add add-cstdio.patch
- Add kill-warnings.patch

* Fri Feb 13 2009 Dodji Seketeli <dodji at redhat.org> 0.0.22-1
- Initial version of the package


--- NEW FILE import.log ---
geglmm-0_0_22-2_fc10:HEAD:geglmm-0.0.22-2.fc10.src.rpm:1234855230


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/geglmm/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	16 Feb 2009 21:35:25 -0000	1.1
+++ .cvsignore	17 Feb 2009 07:21:48 -0000	1.2
@@ -0,0 +1 @@
+geglmm-0.0.22.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/geglmm/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	16 Feb 2009 21:35:25 -0000	1.1
+++ sources	17 Feb 2009 07:21:48 -0000	1.2
@@ -0,0 +1 @@
+70cb8d6a97b0d51cc25bde84f4593786  geglmm-0.0.22.tar.bz2




More information about the scm-commits mailing list