debian/0000755000000000000000000000000012265227463007177 5ustar debian/source/0000755000000000000000000000000012265227463010477 5ustar debian/source/format0000644000000000000000000000001412265227463011705 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000007212265227463010227 0ustar version=3 http://sf.net/xgridfit/xgridfit-(.*)\.tar\.gz debian/patches/0000755000000000000000000000000012265227463010626 5ustar debian/patches/fix_manpage_hyphen-used-as-minus-sign.patch0000644000000000000000000000731512265227463021134 0ustar Description: fix hyphen-used-as-minus-sign Author: Hideki Yamane Forwarded: no Last-Update: 2014-01-14 Index: xgridfit/man/xgfconfig.1 =================================================================== --- xgridfit.orig/man/xgfconfig.1 2014-01-14 21:31:18.408764667 +0900 +++ xgridfit/man/xgfconfig.1 2014-01-14 21:31:18.404764663 +0900 @@ -16,16 +16,16 @@ programs are looked for first. Xgfconfig may be invoked in one of these forms: - $ xgfconfig --processors processor-list + $ xgfconfig \-\-processors processor\-list - $ xgfconfig --validators validator-list + $ xgfconfig \-\-validators validator\-list - $ xgfconfig --xgridfit-dir /xgridfit/directory + $ xgfconfig \-\-xgridfit\-dir /xgridfit/directory - $ xgfconfig --show + $ xgfconfig \-\-show .PP The first of these selects processors (one or more of libxslt, lxml, -xsltproc, saxon-6, saxon-9, xalan-j, xalan-c, 4xslt); the second +xsltproc, saxon\-6, saxon\-9, xalan\-j, xalan\-c, 4xslt); the second selects validators (one or more of libxml2, lxml, jing, msv, rnv); the third specifies a complete path to the Xgridfit base directory (use it if you have installed Xgridfit in your own account rather @@ -34,13 +34,13 @@ Several of the processors and validators that Xgridfit knows about are Java programs; for these, Xgridfit needs the name and location of a .jar file (by default it assumes certain standard file names, -found in /usr/share/java). Specify this with a hash-mark followed +found in /usr/share/java). Specify this with a hash\-mark followed by a complete -path-name for the file. Here are sample command lines: +path\-name for the file. Here are sample command lines: - $ xgfconfig -p saxon-9#/usr/local/share/java/saxon9he.jar lxml + $ xgfconfig \-p saxon\-9#/usr/local/share/java/saxon9he.jar lxml - $ xgfconfig --config=config.xml -V rnv msv#/home/me/java/msv.jar + $ xgfconfig \-\-config=config.xml \-V rnv msv#/home/me/java/msv.jar .PP The second of these commands stores the configuration in the file .I config.xml @@ -57,7 +57,7 @@ configuration.) .PP An Xgridfit configuration file is a simple XML file, easily editable -by users. The entries in it should be all but self-explanatory. +by users. The entries in it should be all but self\-explanatory. .hy . .SH OPTIONS .IP "\-\-config" @@ -65,7 +65,7 @@ Xgfconfig will search in the standard places (see above) for an existing configuration file for which the user has write privileges. Failing that, it will create a configuration file in the directory -~/.xgridfit (Linux/Mac) or some-dir (Windows). If the user is root +~/.xgridfit (Linux/Mac) or some\-dir (Windows). If the user is root or has administrative privileges, Xgfconfig will create the file in the Xgridfit base directory. .IP "\-h, \-\-help" Index: xgridfit/man/xgfmerge.1 =================================================================== --- xgridfit.orig/man/xgfmerge.1 2014-01-14 21:06:19.832558373 +0900 +++ xgridfit/man/xgfmerge.1 2014-01-14 21:31:57.008808996 +0900 @@ -18,7 +18,7 @@ outputs the merged programming to stdout. To capture the output in a file, use this syntax: - $xgfmerge -o merged-file.xgf file-a.xgf file-b.xgf + $xgfmerge \-o merged\-file.xgf file\-a.xgf file\-b.xgf .hy . .PP .B "Note:" Index: xgridfit/man/xgridfit.1 =================================================================== --- xgridfit.orig/man/xgridfit.1 2014-01-14 21:06:19.832558373 +0900 +++ xgridfit/man/xgridfit.1 2014-01-14 21:32:06.812820154 +0900 @@ -31,7 +31,7 @@ execute the script (the FontForge Python bindings are required for this): - $ xgridfit --execute file.xgf + $ xgridfit \-\-execute file.xgf .PP For more information about .B Xgridfit, debian/patches/series0000644000000000000000000000017212265227463012043 0ustar 002_fix_makefile_clean.diff usr_local.diff remove_sourceforge-logo-link.patch fix_manpage_hyphen-used-as-minus-sign.patch debian/patches/002_fix_makefile_clean.diff0000644000000000000000000000075012265227463015630 0ustar Description: Fixes the clean target of Makefile. Removes no longer necessary after installation directory python/build. Author: Kęstutis Biliūnas --- Forwarded: Peter Baker Last-Update: 2010-06-17 --- xgridfit-2.2a.orig/Makefile +++ xgridfit-2.2a/Makefile @@ -137,6 +137,7 @@ clean: rm -f schemas/*.*~ rm -f utils/*.*~ rm -f man/*.*~ + rm -fr python/build .PHONY: install install-mac install-docs install-all install-all-mac \ debian/patches/usr_local.diff0000644000000000000000000000401512265227463013443 0ustar On a Debian system the installed files end up in /usr/share/xml/xgridfit/ so we have to edit the hard coded search path accordingly. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=625587 --- a/python/xgflib.py +++ b/python/xgflib.py @@ -18,7 +18,7 @@ except ImportError: VERSION = '2.2' JAVA_EXECUTABLE = 'java' DISPLAY_DIAGNOSTIC_MESSAGES = False -XGRIDFIT_DIR = abspath('/usr/local/share/xml/xgridfit/') +XGRIDFIT_DIR = abspath('/usr/share/xml/xgridfit/') XSLT_DIR = abspath(join(XGRIDFIT_DIR, 'lib')) UTIL_DIR = abspath(join(XGRIDFIT_DIR, 'utils')) SCHEMA_DIR = abspath(join(XGRIDFIT_DIR, 'schemas')) @@ -1202,7 +1202,7 @@ class Configuration(): stderr.write("I don't know a processor or validator " + priority_item + "\n") exit(1) -def run_xgridfit(xgfdir="/usr/local/share/xml/xgridfit/"): +def run_xgridfit(xgfdir="/usr/share/xml/xgridfit/"): XGRIDFIT_DIR = abspath(xgfdir) """ Validates and compiles an Xgridfit program. """ start_time = time() @@ -1322,7 +1322,7 @@ def run_xgridfit(xgfdir="/usr/local/shar print "Elapsed time:", time() - start_time return error_free -def run_config(xgfdir="/usr/local/share/xml/xgridfit/"): +def run_config(xgfdir="/usr/share/xml/xgridfit/"): XGRIDFIT_DIR = abspath(xgfdir) """ Creates/reads/updates a configuration file. """ # Parse the command line @@ -1354,7 +1354,7 @@ def run_config(xgfdir="/usr/local/share/ return False return True -def run_ttx2xgf(xgfdir="/usr/local/share/xml/xgridfit/"): +def run_ttx2xgf(xgfdir="/usr/share/xml/xgridfit/"): XGRIDFIT_DIR = abspath(xgfdir) """ Extract TT instructions from a TTX file. """ start_time = time() @@ -1445,7 +1445,7 @@ def run_ttx2xgf(xgfdir="/usr/local/share print "Elapsed time:", time() - start_time return error_free -def run_xgfmerge(xgfdir="/usr/local/share/xml/xgridfit/"): +def run_xgfmerge(xgfdir="/usr/share/xml/xgridfit/"): XGRIDFIT_DIR = abspath(xgfdir) start_time = time() # Parse the command line debian/patches/remove_sourceforge-logo-link.patch0000644000000000000000000004425612265227463017453 0ustar Description: remove log link to sf.net To deal with lintian "privacy-breach-logo" error, remove link to sourceforge logo image. Forwarded: not-needed Last-Update: 2014-01-14 --- xgridfit-2.3.orig/docs/arithmetic.html +++ xgridfit-2.3/docs/arithmetic.html @@ -17,7 +17,7 @@
- SourceForge.net Logo + SourceForge.net Logo Home Page Project Page Do\wnload --- xgridfit-2.3.orig/docs/convert.html +++ xgridfit-2.3/docs/convert.html @@ -17,7 +17,7 @@
- SourceForge.net Logo + SourceForge.net Logo Home Page Project Page Download --- xgridfit-2.3.orig/docs/cvt.html +++ xgridfit-2.3/docs/cvt.html @@ -17,7 +17,7 @@
- SourceForge.net Logo + SourceForge.net Logo Home Page Project Page Download --- xgridfit-2.3.orig/docs/debug.html +++ xgridfit-2.3/docs/debug.html @@ -17,7 +17,7 @@
- SourceForge.net Logo + SourceForge.net Logo Home Page Project Page Download --- xgridfit-2.3.orig/docs/deltas.html +++ xgridfit-2.3/docs/deltas.html @@ -17,7 +17,7 @@
- SourceForge.net Logo + SourceForge.net Logo Home Page Project Page Download --- xgridfit-2.3.orig/docs/expressions.html +++ xgridfit-2.3/docs/expressions.html @@ -17,7 +17,7 @@
- SourceForge.net Logo + SourceForge.net Logo Home Page Project Page Download --- xgridfit-2.3.orig/docs/fontforge-old.html +++ xgridfit-2.3/docs/fontforge-old.html @@ -18,7 +18,7 @@
- SourceForge.net Logo + SourceForge.net Logo Home Page Project Page Download --- xgridfit-2.3.orig/docs/functions.html +++ xgridfit-2.3/docs/functions.html @@ -17,7 +17,7 @@
- SourceForge.net Logo + SourceForge.net Logo Home Page Project Page Download --- xgridfit-2.3.orig/docs/graphics.html +++ xgridfit-2.3/docs/graphics.html @@ -18,7 +18,7 @@
SourceForge.net Logo Home Page Project Page --- xgridfit-2.3.orig/docs/if.html +++ xgridfit-2.3/docs/if.html @@ -17,7 +17,7 @@
- SourceForge.net Logo + SourceForge.net Logo Home Page Project Page Download --- xgridfit-2.3.orig/docs/index.html +++ xgridfit-2.3/docs/index.html @@ -15,7 +15,7 @@
SourceForge.net Logo Project Page Download (v. 2.3, 4 June 2011) --- xgridfit-2.3.orig/docs/install.html +++ xgridfit-2.3/docs/install.html @@ -18,7 +18,7 @@
- SourceForge.net Logo + SourceForge.net Logo Home Page Project Page Download --- xgridfit-2.3.orig/docs/invoke.html +++ xgridfit-2.3/docs/invoke.html @@ -18,7 +18,7 @@
- SourceForge.net Logo + SourceForge.net Logo Home Page Project Page Download --- xgridfit-2.3.orig/docs/low-level.html +++ xgridfit-2.3/docs/low-level.html @@ -17,7 +17,7 @@
- SourceForge.net Logo + SourceForge.net Logo Home Page Project Page Download --- xgridfit-2.3.orig/docs/merge-mode.html +++ xgridfit-2.3/docs/merge-mode.html @@ -18,7 +18,7 @@
- SourceForge.net Logo + SourceForge.net Logo Home Page Project Page Download --- xgridfit-2.3.orig/docs/moves.html +++ xgridfit-2.3/docs/moves.html @@ -17,7 +17,7 @@
-SourceForge.net Logo +SourceForge.net Logo Home Page Project Page Download --- xgridfit-2.3.orig/docs/points.html +++ xgridfit-2.3/docs/points.html @@ -17,7 +17,7 @@
- SourceForge.net Logo + SourceForge.net Logo Home Page Project Page Download --- xgridfit-2.3.orig/docs/reference.html +++ xgridfit-2.3/docs/reference.html @@ -18,7 +18,7 @@
SourceForge.net Logo Home Page Project Page --- xgridfit-2.3.orig/docs/round.html +++ xgridfit-2.3/docs/round.html @@ -17,7 +17,7 @@
- SourceForge.net Logo + SourceForge.net Logo Home Page Project Page Download --- xgridfit-2.3.orig/docs/schema.html +++ xgridfit-2.3/docs/schema.html @@ -17,7 +17,7 @@
- SourceForge.net Logo + SourceForge.net Logo Home Page Project Page Download --- xgridfit-2.3.orig/docs/structure.html +++ xgridfit-2.3/docs/structure.html @@ -17,7 +17,7 @@
- SourceForge.net Logo + SourceForge.net Logo Home Page Project Page Download --- xgridfit-2.3.orig/docs/trans-to-1.html +++ xgridfit-2.3/docs/trans-to-1.html @@ -17,7 +17,7 @@
- SourceForge.net Logo + SourceForge.net Logo Home Page Project Page Download --- xgridfit-2.3.orig/docs/tutorial1.html +++ xgridfit-2.3/docs/tutorial1.html @@ -17,7 +17,7 @@
- SourceForge.net Logo + SourceForge.net Logo Home Page Project Page Download --- xgridfit-2.3.orig/docs/tutorial2.html +++ xgridfit-2.3/docs/tutorial2.html @@ -17,7 +17,7 @@
- SourceForge.net Logo + SourceForge.net Logo Home Page Project Page Download --- xgridfit-2.3.orig/docs/tutorial3.html +++ xgridfit-2.3/docs/tutorial3.html @@ -17,7 +17,7 @@
- SourceForge.net Logo + SourceForge.net Logo Home Page Project Page Download --- xgridfit-2.3.orig/docs/types.html +++ xgridfit-2.3/docs/types.html @@ -17,7 +17,7 @@
- SourceForge.net Logo + SourceForge.net Logo Home Page Project Page Download --- xgridfit-2.3.orig/docs/variables.html +++ xgridfit-2.3/docs/variables.html @@ -17,7 +17,7 @@
- SourceForge.net Logo + SourceForge.net Logo Home Page Project Page Download --- xgridfit-2.3.orig/docs/vectors.html +++ xgridfit-2.3/docs/vectors.html @@ -17,7 +17,7 @@
- SourceForge.net Logo + SourceForge.net Logo Home Page Project Page Download --- xgridfit-2.3.orig/docs/xinclude.html +++ xgridfit-2.3/docs/xinclude.html @@ -17,7 +17,7 @@
- SourceForge.net Logo + SourceForge.net Logo Home Page Project Page Download debian/copyright0000644000000000000000000000264412265227463011140 0ustar This package was debianized by Kęstutis Biliūnas on Sat, 07 Jul 2007 20:54:37 +0300. This package is maintained by Debian Fonts Task Force team. It was downloaded from http://sourceforge.net/projects/xgridfit Upstream Author: Peter Baker Copyright: Copyright 2006 Peter Baker License: This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License with the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA On Debian systems, the complete text of the GNU General Public License, version 2, can be found in /usr/share/common-licenses/GPL-2. The Debian packaging is (C) 2007, Debian Fonts Task Force and is licensed under the GPL, see `/usr/share/common-licenses/GPL'. debian/compat0000644000000000000000000000000212265227463010375 0ustar 9 debian/rules0000755000000000000000000000042012265227463010253 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 %: dh $@ --with python2 override_dh_auto_build: dh_auto_build --no-act override_dh_install: $(MAKE) DESTDIR=$(CURDIR)/debian/xgridfit PREFIX=/usr install $(MAKE) DESTDIR=$(CURDIR)/debian/xgridfit-doc PREFIX=/usr install-docs debian/changelog0000644000000000000000000000753112265227463011057 0ustar xgridfit (2.3-1) unstable; urgency=medium * Team upload * New upstream release * debian/control - drop Kęstutis Biliūnas from Uploaders, Thanks for your past work (Closes: #704976) - add me as Uploaders - set Standards-Version: 3.9.5 - drop obsolete "Dm-Upload-Allowed: yes" field - set "Build-Depends: debhelper (>= 9)" - add "Build-Depends: python-dev" - move svn to git for Vcs-* - add "Depends: python-fontforge, python-libxml2" - drop Build-Depends-Indep - fix "description-synopsis-starts-with-article" and "duplicate-long-description" * debian/compat - set 9 * debian/rules - use --with python2 * debian/patches - add remove_sourceforge-logo-link.patch - add fix_manpage_hyphen-used-as-minus-sign.patch -- Hideki Yamane Tue, 14 Jan 2014 13:19:38 +0900 xgridfit (2.2a-2) unstable; urgency=low [ Sven Hoexter ] * Team upload. * Add debian/patches/usr_local.diff to remove the 'local' part hard coded in python/xgflib.py. (Closes: #625587) Thanks to Sven Hoexter for the patch. -- Christian Perrier Fri, 27 May 2011 16:17:19 +0200 xgridfit (2.2a-1) unstable; urgency=low * New upstream release. * debian/control: - added Build-Depends on python and python-support; - added 'XS-Python-Version: >= 2.6' field; - bumped Standards-Version to 3.8.4. No changes required. * debian/patches: added the patch 002_fix_makefile_clean.diff for removing python/build directory. -- Kęstutis Biliūnas Fri, 16 Apr 2010 11:11:28 +0300 xgridfit (2.1-1) unstable; urgency=low * New upstream release. * debian/patches: removed the patch 001_fix_manpage_xgridfit.diff -- applied by upstream. * Switched to 3.0 (quilt) source format. * debian/control: - switched to debhelper v7; - add ${misc:Depends} to dependencies to properly cope with debhelper-triggerred dependencies; - added Depends on python for the xgridfit binary package; - bumped Standards-Version to 3.8.3. No changes required. * Use a minimal debian/rules file. -- Kęstutis Biliūnas Tue, 22 Dec 2009 21:38:37 +0200 xgridfit (1.19b-1) unstable; urgency=low * New upstream release. * debian/control: bumped Standards-Version to 3.8.2. No changes required. -- Kęstutis Biliūnas Wed, 24 Jun 2009 18:33:24 +0300 xgridfit (1.18-1) unstable; urgency=low * New upstream release. * debian/control: - changed section to the new fonts section; - bumped Standards-Version to 3.8.1. No changes required. -- Kęstutis Biliūnas Fri, 12 Jun 2009 17:48:44 +0300 xgridfit (1.17a-1) unstable; urgency=low * New upstream release * debian/menu.doc-base: changed section to Graphics. * debian/control: - added Build-Depends on quilt for manage a patches. Correspondingly changed the file debian/rules and added the directory debian/patches. - bumped Standards-Version to 3.8.0. No changes required. - added DM-Upload-Allowed: yes. * debian/patches: added the patch 001_fix_manpage_xgridfit.diff for fixing menpage xgridfit.1 formating. -- Kęstutis Biliūnas Sat, 14 Feb 2009 19:54:16 +0200 xgridfit (1.0a-1) unstable; urgency=low * New upstream release. * debian/control: - the homepage address removed from extended package description and added Homepage field in the source package. - added Vcs-Svn and Vcs-Browser fields. - bumped Standards-Version to 3.7.3. * debian/manpages: removed this file. -- Kęstutis Biliūnas Thu, 06 Dec 2007 11:48:02 +0200 xgridfit (0.6.1-1) unstable; urgency=low * Initial release (Closes: #427917, #430916). -- Kęstutis Biliūnas Sun, 08 Jul 2007 13:29:18 +0300 debian/xgridfit-doc.doc-base0000644000000000000000000000046212265227463013163 0ustar Document: xgridfit Title: Xgridfit Manual Author: Peter Baker Abstract: This manual describes what xgridfit is and how it can be used for gridfitting, or "hinting," TrueType fonts. Section: Graphics Format: HTML Index: /usr/share/doc/xgridfit/html/index.html Files: /usr/share/doc/xgridfit/html/*.html debian/control0000644000000000000000000000206312265227463010603 0ustar Source: xgridfit Section: fonts Priority: optional Maintainer: Debian Fonts Task Force Uploaders: Hideki Yamane XS-Python-Version: >= 2.6 Build-Depends: debhelper (>= 9), python-dev Standards-Version: 3.9.5 Homepage: http://xgridfit.sourceforge.net/ Vcs-Git: git://anonscm.debian.org/pkg-fonts/xgridfit.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-fonts/xgridfit.git;a=summary Package: xgridfit Architecture: all Depends: ${misc:Depends}, ${python:Depends}, xsltproc, python-fontforge, python-libxml2 Suggests: fontforge, fonttools Description: program for gridfitting, or "hinting," TrueType fonts Xgridfit is a simple program that implements an XML-based language for gridfitting, or "hinting," TrueType fonts. Package: xgridfit-doc Section: doc Architecture: all Depends: ${misc:Depends} Description: Documentation for xgridfit Xgridfit is a simple program that implements an XML-based language for gridfitting, or "hinting," TrueType fonts. . This package contains document for xgridfit.