rpms/skencil/FC-6 skencil-0.6.17-fonts.patch, NONE, 1.1 skencil.spec, 1.12, 1.13 skencil-python2.4.patch, 1.1, NONE
Gérard Milmeister (gemi)
fedora-extras-commits at redhat.com
Sat Feb 3 13:13:40 UTC 2007
Author: gemi
Update of /cvs/extras/rpms/skencil/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23150
Modified Files:
skencil.spec
Added Files:
skencil-0.6.17-fonts.patch
Removed Files:
skencil-python2.4.patch
Log Message:
fix font paths
skencil-0.6.17-fonts.patch:
--- NEW FILE skencil-0.6.17-fonts.patch ---
--- skencil-0.6.17/Sketch/Base/config.py.fonts 2007-02-03 14:03:36.000000000 +0100
+++ skencil-0.6.17/Sketch/Base/config.py 2007-02-03 14:09:52.000000000 +0100
@@ -61,8 +61,10 @@
#
# On platforms other than Linux this probably needs a few additional
# directories. (non-existing dirs are automatically removed)
-font_path = ['/usr/X11R6/lib/X11/fonts/Type1',
- '/usr/share/ghostscript/fonts',
+font_path = ['/usr/share/X11/fonts/Type1',
+ '/usr/share/fonts/default/Type1',
+ '/usr/share/fonts/default/ghostscript',
+ '/usr/X11R6/lib/X11/fonts/Type1',
'/usr/lib/ghostscript/fonts']
Index: skencil.spec
===================================================================
RCS file: /cvs/extras/rpms/skencil/FC-6/skencil.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- skencil.spec 28 Aug 2006 09:20:12 -0000 1.12
+++ skencil.spec 3 Feb 2007 13:13:07 -0000 1.13
@@ -1,6 +1,6 @@
Name: skencil
Version: 0.6.17
-Release: 8%{?dist}
+Release: 9%{?dist}
Summary: Vector drawing program
@@ -9,6 +9,7 @@
URL: http://www.skencil.org
Source0: http://dl.sf.net/sketch/skencil-0.6.17.tar.gz
Source1: skencil-logo.png
+Patch0: skencil-0.6.17-fonts.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: python-devel
@@ -22,6 +23,9 @@
Requires: tkinter
Requires: python-imaging
Requires: PyXML
+Requires: xorg-x11-fonts-Type1
+Requires: urw-fonts
+Requires: ghostscript-fonts
Requires(post): shared-mime-info, desktop-file-utils
Requires(postun): shared-mime-info, desktop-file-utils
@@ -36,6 +40,7 @@
%prep
%setup -q
+%patch0 -p1
grep -rl lib/ . | xargs perl -pi -e's,lib/,%{_lib}/,g'
grep -rl lib\' . | xargs perl -pi -es,lib\',%{_lib}\',g
@@ -110,6 +115,9 @@
%changelog
+* Sat Feb 3 2007 Gerard Milmeister <gemi at bluewin.ch> - 0.6.17-9
+- fix font paths
+
* Mon Aug 28 2006 Gerard Milmeister <gemi at bluewin.ch> - 0.6.17-8
- Rebuild for FE6
--- skencil-python2.4.patch DELETED ---
More information about the scm-commits
mailing list