Compare commits

...
Sign in to create a new pull request.

7 commits

Author SHA1 Message Date
Fedora Release Engineering
824ea49ead dist-git conversion 2010-07-29 15:29:35 +00:00
Bill Nottingham
5f9f0a50d7 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:19:47 +00:00
Stewart Adam
b8ff2a8a1b Don't libtoolize, but libtool is still a BR 2008-12-11 20:23:07 +00:00
Stewart Adam
1f3b14635b Upstream re-uploaded tarball inplace... :/
Patch out internal expat sources, fix BR, don't libtoolize
2008-12-11 19:32:51 +00:00
Stewart Adam
bac7f9614e Fix ./configure errors 2008-11-20 16:46:37 +00:00
Stewart Adam
71b1b8ce95 Update to 1.0 final 2008-11-20 16:09:19 +00:00
Jesse Keating
e841694138 Initialize branch F-8 for wxsvg 2007-10-20 19:07:34 +00:00
7 changed files with 84 additions and 6956 deletions

View file

@ -1 +0,0 @@
wxsvg-1.0b7_3.tar.gz

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
wxsvg-1.0.tar.bz2

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: wxsvg
# $Id$
NAME := wxsvg
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

6909
ltmain.sh

File diff suppressed because it is too large Load diff

View file

@ -1 +1 @@
ff34383d35221259312dc49127140c05 wxsvg-1.0b7_3.tar.gz
baa08719193486b52041050f0a890ccc wxsvg-1.0.tar.bz2

View file

@ -0,0 +1,35 @@
--- src/svgxml/Makefile.am.orig 2008-11-13 21:33:02.000000000 -0500
+++ src/svgxml/Makefile.am 2008-11-13 21:36:12.000000000 -0500
@@ -1,7 +1,5 @@
-SUBDIRS = expat
-
noinst_LTLIBRARIES = libwxsvgxml.la
libwxsvgxml_la_SOURCES = svgxml.cpp svgxmlhelpr.cpp
-libwxsvgxml_la_LIBADD = expat/libexpat.la
+libwxsvgxml_la_LIBADD = $(EXPAT_LIBS)
INCLUDES = -I$(top_builddir)/include/wxSVGXML
--- configure.in.orig 2008-12-11 13:35:19.000000000 -0500
+++ configure.in 2008-12-11 13:35:24.000000000 -0500
@@ -179,7 +179,6 @@
include/wxSVGXML/Makefile
include/wxSVG/Makefile
src/svgxml/Makefile
- src/svgxml/expat/Makefile
src/Makefile
src/agg/Makefile
src/cairo/Makefile
--- src/svgxml/svgxml.cpp.orig 2008-12-11 13:39:49.000000000 -0500
+++ src/svgxml/svgxml.cpp 2008-12-11 13:40:00.000000000 -0500
@@ -21,11 +21,7 @@
#include "svgxml.h"
-#ifdef SYSEXPAT
#include <expat.h>
-#else
-#include "expat/xmlparse.h"
-#endif
#include "wx/wfstream.h"
#include "wx/datstrm.h"

View file

@ -1,22 +1,23 @@
%define prever b7_3
Summary: C++ library to create, manipulate and render SVG files
Name: wxsvg
Version: 1.0
Release: 0.5.%{prever}%{?dist}
License: wxWidgets
Release: 4%{?dist}
Summary: C++ library to create, manipulate and render SVG files
Group: System Environment/Libraries
URL: http://wxsvg.sourceforge.net/
Source0: http://downloads.sf.net/wxsvg/wxsvg-%{version}%{prever}.tar.gz
Source1: ltmain.sh
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: libart_lgpl-devel
BuildRequires: pkgconfig
BuildRequires: pango-devel
License: wxWidgets
URL: http://www.wxsvg.org/
Source0: http://downloads.sf.net/wxsvg/wxsvg-%{version}.tar.bz2
Patch0: wxsvg-1.0-internal_expat.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: automake, autoconf, libtool
BuildRequires: expat-devel
BuildRequires: freetype-devel
BuildRequires: libart_lgpl-devel
BuildRequires: pango-devel
BuildRequires: pkgconfig
BuildRequires: wxGTK-devel
# In 1.0b7_3 ltmain.sh is missing... so are Makefile.in files :-(
BuildRequires: libtool, automake, autoconf
# this doesn't get picked up for some reason.
Requires: expat
%description
wxSVG is C++ library to create, manipulate and render SVG files.
@ -33,25 +34,33 @@ wxSVG is C++ library to create, manipulate and render SVG files.
%prep
%setup -q -n %{name}-%{version}%{prever}
%{__install} -m 0755 -p %{SOURCE1} ltmain.sh
./autogen.sh
%setup -q
%patch0 -b .expat
%{__rm} -rf src/svgxml/expat
%build
%configure --disable-static
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
./autogen.sh
%configure \
--disable-dependency-tracking \
--disable-static \
--disable-ffmpeg
%{__sed} -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
%{__sed} -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
%{__make} %{?_smp_mflags}
%install
%{__rm} -rf %{buildroot}
%{__make} install DESTDIR=%{buildroot} INSTALL="%{__install} -p"
%{__rm} -rf $RPM_BUILD_ROOT
%{__make} install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p"
# Get rid of those .la files
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%clean
%{__rm} -rf %{buildroot}
%{__rm} -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
@ -68,12 +77,26 @@ sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
%files devel
%defattr(-,root,root,-)
%{_includedir}/wxSVG/
%{_includedir}/wxXML/
%exclude %{_libdir}/*.la
%{_includedir}/wxSVGXML/
%{_libdir}/*.so
%changelog
* Thu Dec 11 2008 Stewart Adam <s.adam at diffingo.com> - 1.0-4
- We do need the BR: libtool though...
* Thu Dec 11 2008 Stewart Adam <s.adam at diffingo.com> - 1.0-3
- Don't use 'libtoolize --force' anymore
- Update expat patch, rm -rf internal expat sources
- BR: expat should be BR: expat-devel
* Thu Nov 20 2008 Stewart Adam <s.adam at diffingo.com> - 1.0-2
- Use autogen.sh to generate ./configure
* Thu Nov 20 2008 Stewart Adam <s.adam at diffingo.com> - 1.0-1
- Update to 1.0
- Sync with devel branch
* Thu Aug 23 2007 Matthias Saou <http://freshrpms.net/> 1.0-0.5.b7_3
- Rebuild for new BuildID feature.