Resolves: rhbz#565106 fix inkscape-0.47-x11.patch to not clobber

INKSCAPE_LIBS
This commit is contained in:
Caolan McNamara 2010-04-06 09:47:13 +00:00
parent b61a5e2531
commit 8749035ded
2 changed files with 29 additions and 3 deletions

View File

@ -5,7 +5,7 @@ diff -up inkscape-0.47/configure.ac.x11 inkscape-0.47/configure.ac
fi fi
dnl Shouldn't we test for libpng and libz? dnl Shouldn't we test for libpng and libz?
+INKSCAPE_LIBS="-lpng -lz -lX11 -lxml2" +INKSCAPE_LIBS="$INKSCAPE_LIBS -lpng -lz -lX11 -lxml2"
if test "x$openmp_ok" = "xyes"; then if test "x$openmp_ok" = "xyes"; then
- INKSCAPE_LIBS="$INKSCAPE_LIBS -lpng -lz -lgomp" - INKSCAPE_LIBS="$INKSCAPE_LIBS -lpng -lz -lgomp"
-else -else

View File

@ -1,6 +1,6 @@
Name: inkscape Name: inkscape
Version: 0.48 Version: 0.48
Release: 0.1.20100318bzr%{?dist} Release: 0.2.20100318bzr%{?dist}
Summary: Vector-based drawing program using SVG Summary: Vector-based drawing program using SVG
Group: Applications/Productivity Group: Applications/Productivity
@ -192,6 +192,29 @@ make -k check || :
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%post
if [ -x /usr/bin/gtk-update-icon-cache ]; then
for theme in hicolor; do
if test -d "%{_datadir}/icons/$theme"; then
if test -f "%{_datadir}/icons/$theme/index.theme"; then
touch --no-create %{_datadir}/icons/$theme
gtk-update-icon-cache -q %{_datadir}/icons/$theme
fi
fi
done
fi
%postun
if [ -x /usr/bin/gtk-update-icon-cache ]; then
for theme in hicolor; do
if test -d "%{_datadir}/icons/$theme"; then
if test -f "%{_datadir}/icons/$theme/index.theme"; then
touch --no-create %{_datadir}/icons/$theme
gtk-update-icon-cache -q %{_datadir}/icons/$theme
fi
fi
done
fi
%files -f %{name}.lang %files -f %{name}.lang
%defattr(-,root,root,-) %defattr(-,root,root,-)
@ -211,7 +234,7 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/inkscape/templates %{_datadir}/inkscape/templates
%{_datadir}/inkscape/ui %{_datadir}/inkscape/ui
%{_datadir}/applications/fedora-inkscape.desktop %{_datadir}/applications/fedora-inkscape.desktop
%{_datadir}/pixmaps/inkscape.png %{_datadir}/icons/*/*/*/inkscape*
%{_mandir}/man1/inkscape.1* %{_mandir}/man1/inkscape.1*
%{_mandir}/fr/man1/inkscape.1* %{_mandir}/fr/man1/inkscape.1*
%doc AUTHORS COPYING ChangeLog NEWS README %doc AUTHORS COPYING ChangeLog NEWS README
@ -232,6 +255,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Tue Apr 06 2010 Caolán McNamara <caolanm@redhat.com> - 0.48-0.2.20100318bzr
- Resolves: rhbz#565106 fix inkscape-0.47-x11.patch to not clobber INKSCAPE_LIBS
* Thu Mar 18 2010 Lubomir Rintel <lkundrak@v3.sk> - 0.48-0.1.20100318bzr * Thu Mar 18 2010 Lubomir Rintel <lkundrak@v3.sk> - 0.48-0.1.20100318bzr
- Update to latest bazaar snapshot - Update to latest bazaar snapshot