Compare commits
23 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ce88e9df22 | ||
|
|
611e23da24 | ||
|
|
16f7bb4ad7 | ||
| 37018a6bab | |||
|
9fefb98399 |
|||
|
|
42d6a0812c | ||
|
|
52b5c43ab2 | ||
|
|
5665d50b72 | ||
|
|
0c7e1c1690 | ||
|
|
947ee5423b | ||
|
|
9cd9002213 | ||
|
|
ee0589db02 | ||
|
|
ec1dea6e33 | ||
|
|
54f93552df | ||
|
|
a156f3e1d7 | ||
|
|
7e45d866c5 | ||
|
|
cc36c6616a | ||
|
|
495a788719 | ||
|
|
d2a514367a | ||
|
|
d9ffa68b4f | ||
|
|
87999c1d23 | ||
|
|
d1d8a16407 | ||
|
|
00d8e20c09 |
5 changed files with 1 additions and 188 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1 +0,0 @@
|
|||
xgridfit-xgridfit.tar.gz
|
||||
1
dead.package
Normal file
1
dead.package
Normal file
|
|
@ -0,0 +1 @@
|
|||
xgridfit fails to build from source: https://bugzilla.redhat.com/show_bug.cgi?id=1676231
|
||||
1
sources
1
sources
|
|
@ -1 +0,0 @@
|
|||
73b5bbf484a0761ec878f817b5c15b44 xgridfit-xgridfit.tar.gz
|
||||
|
|
@ -1,26 +0,0 @@
|
|||
diff -uNr xgridfit-2.2a.orig/Makefile xgridfit-2.2a/Makefile
|
||||
--- xgridfit-2.2a.orig/Makefile 2010-03-30 17:58:56.000000000 +0200
|
||||
+++ xgridfit-2.2a/Makefile 2010-06-06 19:04:26.302726506 +0200
|
||||
@@ -46,7 +46,9 @@
|
||||
done
|
||||
@install -d -m 0755 $(DESTDIR)$(MANDIR)/man1
|
||||
@install -p -m 0644 man/*.1 $(DESTDIR)$(MANDIR)/man1
|
||||
- @cd python ; python setup.py install --root=$(DESTDIR)/
|
||||
+ @rm -fr python.tmp ; cp -pr python python.tmp ; sed -i -e "s|@xgridfit_dir@|${MAINDIR}|g" python.tmp/xgflib.py
|
||||
+ @cd python.tmp ; python setup.py install --root=$(DESTDIR)/
|
||||
+ @cd - ; rm -fr python.tmp
|
||||
@echo "Xgridfit installed successfully."
|
||||
|
||||
|
||||
diff -uNr xgridfit-2.2a.orig/python/xgflib.py xgridfit-2.2a/python/xgflib.py
|
||||
--- xgridfit-2.2a.orig/python/xgflib.py 2010-03-30 17:26:55.000000000 +0200
|
||||
+++ xgridfit-2.2a/python/xgflib.py 2010-06-06 18:55:45.840596588 +0200
|
||||
@@ -18,7 +18,7 @@
|
||||
VERSION = '2.2'
|
||||
JAVA_EXECUTABLE = 'java'
|
||||
DISPLAY_DIAGNOSTIC_MESSAGES = False
|
||||
-XGRIDFIT_DIR = abspath('/usr/local/share/xml/xgridfit/')
|
||||
+XGRIDFIT_DIR = abspath('@xgridfit_dir@')
|
||||
XSLT_DIR = abspath(join(XGRIDFIT_DIR, 'lib'))
|
||||
UTIL_DIR = abspath(join(XGRIDFIT_DIR, 'utils'))
|
||||
SCHEMA_DIR = abspath(join(XGRIDFIT_DIR, 'schemas'))
|
||||
160
xgridfit.spec
160
xgridfit.spec
|
|
@ -1,160 +0,0 @@
|
|||
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print (get_python_lib())")}
|
||||
|
||||
%global alphatag 20100725cvs
|
||||
%global patchlevel a
|
||||
|
||||
%global archivever %{!?alphatag:%{version}%{?patchlevel}}%{?alphatag:%{name}}
|
||||
|
||||
Name: xgridfit
|
||||
Version: 2.2
|
||||
Release: 4%{?patchlevel:.%{patchlevel}}%{?alphatag:.%{alphatag}}%{?dist}
|
||||
Summary: Font hinting tool
|
||||
|
||||
# This is where we drop fontforge
|
||||
Group: Applications/Publishing
|
||||
License: LGPLv2
|
||||
URL: http://%{name}.sf.net/
|
||||
Source0: %{!?alphatag:http://downloads.sourceforge.net/%{name}/}%{name}-%{archivever}.tar.gz
|
||||
Patch1: %{name}-2.2a-maindir-in-python.patch
|
||||
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python2-devel
|
||||
|
||||
Requires: %{_bindir}/xsltproc, fontforge, libxml2-python
|
||||
Requires(post): %{_bindir}/xmlcatalog
|
||||
Requires(preun): %{_bindir}/xmlcatalog
|
||||
|
||||
%description
|
||||
Xgridfit is a high-level, XML-based language for gridfitting, or ‘hinting’,
|
||||
fonts. The Xgridfit program compiles an XML source file into tables and
|
||||
instructions that relate to the gridfitting of glyphs. Xgridfit does not
|
||||
insert these elements into a font itself, but rather relies on FontForge, the
|
||||
Open-Source font editor, to do so.
|
||||
|
||||
|
||||
%package doc
|
||||
Group: Documentation
|
||||
Summary: Font hinting tool use documentation
|
||||
# Does not really make sense without the tool itself
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description doc
|
||||
Xgridfit font hinting tool user documentation.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}
|
||||
%patch1 -p1 -b .mip
|
||||
|
||||
%build
|
||||
|
||||
|
||||
%install
|
||||
rm -fr %{buildroot}
|
||||
|
||||
make install DESTDIR=%{buildroot} \
|
||||
BINDIR=%{_bindir} \
|
||||
MANDIR=%{_mandir} \
|
||||
MAINDIR=%{_datadir}/xml/%{name}-%{version}
|
||||
|
||||
# Simplify preun/post catalog logic
|
||||
ln -s catalog.xml \
|
||||
%{buildroot}%{_datadir}/xml/%{name}-%{version}/schemas/catalog-%{version}.%{release}.xml
|
||||
|
||||
%clean
|
||||
rm -fr %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
cd %{_sysconfdir}/xml
|
||||
[ -e catalog ] || xmlcatalog --noout --create catalog
|
||||
xmlcatalog --noout --add \
|
||||
nextCatalog %{_datadir}/xml/%{name}-%{version}/schemas/catalog-%{version}.%{release}.xml "" catalog >/dev/null
|
||||
:
|
||||
|
||||
|
||||
%preun
|
||||
xmlcatalog --noout --del \
|
||||
%{_datadir}/xml/%{name}-%{version}/schemas/catalog-%{version}.%{release}.xml \
|
||||
%{_sysconfdir}/xml/catalog >/dev/null >/dev/null
|
||||
:
|
||||
|
||||
|
||||
|
||||
%files
|
||||
%defattr(0644,root,root,0755)
|
||||
%doc COPYING ChangeLog
|
||||
|
||||
%{_datadir}/xml/%{name}-%{version}
|
||||
%{_mandir}/man1/*
|
||||
|
||||
%{python_sitelib}/*
|
||||
|
||||
%defattr(0755,root,root,0755)
|
||||
%{_bindir}/*
|
||||
|
||||
|
||||
%files doc
|
||||
%defattr(0644,root,root,0755)
|
||||
%doc docs/*
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Jul 25 2010 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
||||
- 2.2-4.a.20100725cvs
|
||||
— Bump to cvs version (required by edrip)
|
||||
|
||||
* Sun Jun 6 2010 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
||||
- 2.2-3.a
|
||||
— Fix hardcoded path in python module
|
||||
- 2.2-2.a
|
||||
— Add missing requires
|
||||
|
||||
* Sat Jun 5 2010 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
||||
- 2.2-1.a
|
||||
— Major upstream changes (python utilities, namespace, etc)
|
||||
|
||||
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
|
||||
- 1.19-2.b
|
||||
— Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
* Tue Jul 14 2009 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
||||
- 1.19-1.b
|
||||
— Rework to use upstream makefile now there is one
|
||||
|
||||
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
|
||||
- 1.17-4.a
|
||||
— Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
* Mon Feb 23 2009 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
||||
- 1.17-3.a
|
||||
— global-ization
|
||||
|
||||
* Mon Feb 16 2009 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
||||
- 1.17-2.a
|
||||
|
||||
* Fri Jan 30 2009 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
||||
- 1.17-1
|
||||
|
||||
* Fri Nov 14 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
||||
- 1.11-1.a
|
||||
◮ update for F11 cycle
|
||||
|
||||
* Mon Sep 1 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
||||
- 1.9-1
|
||||
ᕏ Major update, many changes
|
||||
ᕚ Only package xsltproc support for now
|
||||
|
||||
* Sun May 18 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
||||
- 1.6-3
|
||||
⊸ Lots of new makefile goodness
|
||||
|
||||
* Thu Mar 13 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
||||
- 1.5-2
|
||||
✓ Fix path munging
|
||||
|
||||
* Tue Mar 11 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
||||
- 1.5-1
|
||||
✓ Initial Fedora packaging
|
||||
Loading…
Add table
Add a link
Reference in a new issue