Compare commits

..

3 commits

Author SHA1 Message Date
Fedora Release Engineering
cbb3409cb9 dist-git conversion 2010-07-28 09:38:01 +00:00
Bill Nottingham
0b26927f15 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:25:31 +00:00
Jesse Keating
e6faf8e158 Initialize branch F-8 for agg 2007-10-20 03:52:53 +00:00
6 changed files with 150 additions and 1 deletions

3
.gitignore vendored Normal file
View file

@ -0,0 +1,3 @@
agg23.tar.gz
agg-2.4.tar.gz
agg-2.5.tar.gz

35
agg-2.4-depends.patch Normal file
View file

@ -0,0 +1,35 @@
diff -ru agg-2.4.orig/font_freetype/Makefile.am agg-2.4/font_freetype/Makefile.am
--- agg-2.4.orig/font_freetype/Makefile.am 2005-10-18 11:45:40.000000000 +0100
+++ agg-2.4/font_freetype/Makefile.am 2006-07-10 15:11:55.000000000 +0100
@@ -4,8 +4,9 @@
agginclude_HEADERS = agg_font_freetype.h
lib_LTLIBRARIES = libaggfontfreetype.la
-libaggfontfreetype_la_LDFLAGS = -version-info @AGG_LIB_VERSION@ @FREETYPE_LIBS@
+libaggfontfreetype_la_LDFLAGS = -version-info @AGG_LIB_VERSION@ @FREETYPE_LIBS@
libaggfontfreetype_la_SOURCES = agg_font_freetype.cpp
libaggfontfreetype_la_CXXFLAGS = -I$(top_srcdir)/include @FREETYPE_CFLAGS@
+libaggfontfreetype_la_LIBADD = ../src/libagg.la
endif
diff -ru agg-2.4.orig/src/platform/sdl/Makefile.am agg-2.4/src/platform/sdl/Makefile.am
--- agg-2.4.orig/src/platform/sdl/Makefile.am 2005-10-17 23:49:35.000000000 +0100
+++ agg-2.4/src/platform/sdl/Makefile.am 2006-07-10 15:11:55.000000000 +0100
@@ -5,6 +5,6 @@
libaggplatformsdl_la_LDFLAGS = -version-info @AGG_LIB_VERSION@
libaggplatformsdl_la_SOURCES = agg_platform_support.cpp
libaggplatformsdl_la_CXXFLAGS = -I$(top_srcdir)/include @SDL_CFLAGS@
-libaggplatformsdl_la_LIBADD = @SDL_LIBS@
+libaggplatformsdl_la_LIBADD = @SDL_LIBS@ ../../libagg.la
endif
diff -ru agg-2.4.orig/src/platform/X11/Makefile.am agg-2.4/src/platform/X11/Makefile.am
--- agg-2.4.orig/src/platform/X11/Makefile.am 2005-10-19 19:11:35.000000000 +0100
+++ agg-2.4/src/platform/X11/Makefile.am 2006-07-10 15:11:55.000000000 +0100
@@ -4,5 +4,5 @@
libaggplatformX11_la_LDFLAGS = -version-info @AGG_LIB_VERSION@ -L@x_libraries@
libaggplatformX11_la_SOURCES = agg_platform_support.cpp
libaggplatformX11_la_CXXFLAGS = -I$(top_srcdir)/include -I@x_includes@
-libaggplatformX11_la_LIBADD = -lX11
+libaggplatformX11_la_LIBADD = -lX11 ../../libagg.la
endif

10
agg-2.5-pkgconfig.patch Normal file
View file

@ -0,0 +1,10 @@
--- agg-2.5/libagg.pc.in.orig 2007-01-07 13:58:28.000000000 +0000
+++ agg-2.5/libagg.pc.in 2007-01-07 14:02:40.000000000 +0000
@@ -6,5 +6,6 @@
Name: libagg
Description: Anti Grain Geometry - A High Quality Rendering Engine for C++
Version: @VERSION@
-Libs: -L${libdir} -Wl,-rpath,${exec_prefix}/lib -lagg
+Requires.private: freetype2
+Libs: -L${libdir} -lagg
Cflags: -I${includedir}

101
agg.spec Normal file
View file

@ -0,0 +1,101 @@
Summary: Anti-Grain Geometry
Name: agg
Version: 2.5
Release: 4%{?dist}
Group: System Environment/Libraries
URL: http://www.antigrain.com
License: GPLv2+
Source: http://www.antigrain.com/%{name}-%{version}.tar.gz
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: automake, libtool, libX11-devel, freetype-devel, SDL-devel
Patch0: agg-2.4-depends.patch
Patch1: agg-2.5-pkgconfig.patch
%description
A High Quality Rendering Engine for C++.
%package devel
Summary: Support files necessary to compile applications with agg
Group: Development/Libraries
Requires: agg = %{version}-%{release}, freetype-devel
%description devel
Libraries, headers, and support files necessary to compile applications using agg.
%prep
%setup -q
%patch0 -p1 -b .agg-2.4-depends
%patch1 -p1 -b .agg-2.5-pkgconfig.patch
sh ./autogen.sh
%build
%configure --disable-static --disable-gpc
make %{?_smp_mflags}
%install
make DESTDIR=$RPM_BUILD_ROOT install
rm $RPM_BUILD_ROOT/%{_libdir}/*.la
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc authors copying readme
%{_libdir}/lib*.so.*
%files devel
%{_libdir}/*.so
%{_libdir}/pkgconfig/libagg.pc
%{_includedir}/agg2/
%{_datadir}/aclocal/libagg.m4
%clean
rm -r $RPM_BUILD_ROOT
%changelog
* Fri Aug 03 2007 Caolan McNamara <caolanm@redhat.com> - 2.5-4
- clarify license
- source upstream silently changed even though version remained
unchanged
* Tue Jun 26 2007 Caolan McNamara <caolanm@redhat.com> - 2.5-3
- Resolves: rhbz#245650 -devel Require: freetype-devel
* Mon Apr 23 2007 Caolan McNamara <caolanm@redhat.com> - 2.5-2
- Resolves: rhbz#237493 misapplied patch
* Sat Jan 06 2007 Caolan McNamara <caolanm@redhat.com> - 2.5-1
- bump to 2.5
* Fri Nov 10 2006 Caolan McNamara <caolanm@redhat.com> - 2.4-3
- Resolves: rhbz#214970 rebuild with new 2.4 sources
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.4-2.1
- rebuild
* Mon Jul 10 2006 Caolan McNamara <caolanm@redhat.com> - 2.4-2
- rh#198174# add extra links from libs to their runtime requirements
* Wed May 10 2006 Caolan McNamara <caolanm@redhat.com> - 2.4-1
- next version
* Fri Feb 17 2006 Karsten Hopp <karsten@redhat.de> 2.3-4
- add BuildRequires freetype-devel for ft2build.h
* Mon Feb 13 2006 Caolan McNamara <caolanm@redhat.com> - 2.3-3
- BuildRequires
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.3-2.1
- bump again for double-long bug on ppc(64)
* Wed Feb 08 2006 Caolan McNamara <caolanm@redhat.com> - 2.3-2
- rh#180341# BuildRequires
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.3-1.1
- rebuilt for new gcc4.1 snapshot and glibc changes
* Wed Nov 23 2005 Caolan McNamara <caolanm@redhat.com> 2.3-1
- initial import

View file

@ -1 +0,0 @@
No longer used within Fedora due to changes not accepted upstream from several projects

1
sources Normal file
View file

@ -0,0 +1 @@
0229a488bc47be10a2fee6cf0b2febd6 agg-2.5.tar.gz