[svn] r5104 - in trunk/rpms: . dnsmasq nxtvepg swftools t1lib

packagers at lists.rpmforge.net packagers at lists.rpmforge.net
Mon Jan 22 12:10:42 CET 2007


Author: dag
Date: 2007-01-22 12:10:40 +0100 (Mon, 22 Jan 2007)
New Revision: 5104

Added:
   trunk/rpms/swftools/
   trunk/rpms/swftools/swftools-0.7.0-destdir.patch
   trunk/rpms/swftools/swftools-0.7.spec
   trunk/rpms/swftools/swftools-0.8.0-destdir.patch
   trunk/rpms/swftools/swftools.spec
   trunk/rpms/t1lib/
   trunk/rpms/t1lib/t1lib-5.0.0-manpages.patch
   trunk/rpms/t1lib/t1lib-5.0.0-t1libconfig.patch
   trunk/rpms/t1lib/t1lib-5.0.0-xglyph-env.patch
   trunk/rpms/t1lib/t1lib-5.1.0-destdir.patch
   trunk/rpms/t1lib/t1lib.spec
Modified:
   trunk/rpms/dnsmasq/dnsmasq.spec
   trunk/rpms/nxtvepg/nxtvepg.spec
Log:
Updates

Modified: trunk/rpms/dnsmasq/dnsmasq.spec
===================================================================
--- trunk/rpms/dnsmasq/dnsmasq.spec	2007-01-21 17:33:57 UTC (rev 5103)
+++ trunk/rpms/dnsmasq/dnsmasq.spec	2007-01-22 11:10:40 UTC (rev 5104)
@@ -4,7 +4,7 @@
 
 Summary: Lightweight caching nameserver with integrated DHCP server
 Name: dnsmasq
-Version: 2.35
+Version: 2.36
 Release: 1
 License: GPL
 Group: System Environment/Daemons
@@ -156,6 +156,9 @@
 %{_localstatedir}/lib/misc/
 
 %changelog
+* Mon Jan 22 2007 Dag Wieers <dag at wieers.com> - 2.36-1
+- Updated to release 2.36.
+
 * Sun Oct 29 2006 Dag Wieers <dag at wieers.com> - 2.35-1
 - Updated to release 2.35.
 

Modified: trunk/rpms/nxtvepg/nxtvepg.spec
===================================================================
--- trunk/rpms/nxtvepg/nxtvepg.spec	2007-01-21 17:33:57 UTC (rev 5103)
+++ trunk/rpms/nxtvepg/nxtvepg.spec	2007-01-22 11:10:40 UTC (rev 5104)
@@ -6,26 +6,30 @@
 
 %{?dist: %{expand: %%define %dist 1}}
 
+%{?fc4:%define _without_modxorg 1}
+%{?el4:%define _without_modxorg 1}
+%{?fc3:%define _without_modxorg 1}
+%{?fc2:%define _without_modxorg 1}
+%{?fc1:%define _without_modxorg 1}
+%{?el3:%define _without_modxorg 1}
+
+%{?rh9:%define _without_modxorg 1}
 %{?rh9:%define _without_tcltk_devel 1}
+
 %{?rh8:%define _without_tcltk_devel 1}
+
 %{?rh7:%define _without_freedesktop 1}
+%{?rh7:%define _without_modxorg 1}
 %{?rh7:%define _without_tcltk_devel 1}
+
 %{?el2:%define _without_freedesktop 1}
+%{?el2:%define _without_modxorg 1}
 %{?el2:%define _without_tcltk_devel 1}
 
-%{?el4:%define _without_modxorg 1}
-%{?el3:%define _without_modxorg 1}
-%{?el2:%define _without_modxorg 1}
-%{?fc4:%define _without_modxorg 1}
-%{?fc3:%define _without_modxorg 1}
-%{?fc2:%define _without_modxorg 1}
-%{?fc1:%define _without_modxorg 1}
-
-
 Summary: NexTView EPG decoder and browser
 Name: nxtvepg
-Version: 2.7.5
-Release: 1.2
+Version: 2.7.7
+Release: 1
 License: GPL
 Group: Applications/Multimedia
 URL: http://nxtvepg.sourceforge.net/
@@ -105,8 +109,8 @@
 %{_datadir}/pixmaps/nxtvepg.png
 
 %changelog
-* Sat Apr 08 2006 Dries Verachtert <dries at ulyssis.org> - 2.7.5-1.2
-- Rebuild for Fedora Core 5.
+* Mon Jan 22 2007 Dag Wieers <dag at wieers.com> - 2.7.7-1
+- Updated to release 2.7.7.
 
 * Sat Apr 04 2005 Dag Wieers <dag at wieers.com> - 2.7.5-1
 - Updated to release 2.7.5.

Added: trunk/rpms/swftools/swftools-0.7.0-destdir.patch
===================================================================
--- trunk/rpms/swftools/swftools-0.7.0-destdir.patch	                        (rev 0)
+++ trunk/rpms/swftools/swftools-0.7.0-destdir.patch	2007-01-22 11:10:40 UTC (rev 5104)
@@ -0,0 +1,63 @@
+--- Makefile.common.in.orig	2007-01-22 11:59:26.000000000 +0100
++++ Makefile.common.in	2007-01-22 11:59:57.000000000 +0100
+@@ -58,9 +58,9 @@
+ 
+ # ------------------- defines -------------------------
+ 
+-INSTALL_BIN = echo installing $$file to $(bindir);$(INSTALL_PROGRAM) $$file $(bindir)/`echo $$file|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`
++INSTALL_BIN = echo installing $$file to $(DESTDIR)$(bindir);$(INSTALL_PROGRAM) $$file $(DESTDIR)$(bindir)/`echo $$file|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`
+ UNINSTALL_BIN = ff=`echo $$file|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`;echo rm -f $(bindir)/$$ff;rm -f $(bindir)/$$ff
+-INSTALL_MAN1 = ff=$(srcdir)/$$file.1; inst=`echo $$file | sed '$(transform)'`.1; echo "$(INSTALL_DATA) $$ff $(man1dir)/$$inst"; $(INSTALL_DATA) $$ff $(man1dir)/$$inst
++INSTALL_MAN1 = ff=$(srcdir)/$$file.1; inst=`echo $$file | sed '$(transform)'`.1; echo "$(INSTALL_DATA) $$ff $(DESTDIR)$(man1dir)/$$inst"; $(INSTALL_DATA) $$ff $(DESTDIR)$(man1dir)/$$inst
+ UNINSTALL_MAN1 = ff=$(srcdir)/$$file.1; inst=`echo $$file | sed '$(transform)'`.1; echo "rm -f $(man1dir)/$$inst"; rm -f $(man1dir)/$$inst
+ 
+ #%.o: %.c
+--- pdf2swf/Makefile.in.orig	2007-01-22 12:00:17.000000000 +0100
++++ pdf2swf/Makefile.in	2007-01-22 12:00:56.000000000 +0100
+@@ -38,11 +38,11 @@
+ 	cd ttf2pt1;$(MAKE)
+ 
+ install:
+-	$(mkinstalldirs) $(bindir)
+-	$(mkinstalldirs) $(man1dir)
++	$(mkinstalldirs) $(DESTDIR)$(bindir)
++	$(mkinstalldirs) $(DESTDIR)$(man1dir)
+ 	@file=pdf2swf;$(INSTALL_BIN);$(INSTALL_MAN1)
+-	$(mkinstalldirs) $(pkgdatadir)/fonts
+-	@echo installing fonts in $(pkgdatadir)/fonts;for file in $(fonts);do $(INSTALL_DATA) fonts/$$file $(pkgdatadir)/fonts/$$file;done
++	$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/fonts
++	@echo installing fonts in $(DESTDIR)$(pkgdatadir)/fonts;for file in $(fonts);do $(INSTALL_DATA) fonts/$$file $(DESTDIR)$(pkgdatadir)/fonts/$$file;done
+ 	
+ uninstall:
+ 	@file=pdf2swf;$(UNINSTALL_BIN);$(UNINSTALL_MAN1)
+--- swfs/Makefile.in.orig	2007-01-22 11:57:39.000000000 +0100
++++ swfs/Makefile.in	2007-01-22 11:59:04.000000000 +0100
+@@ -34,17 +34,17 @@
+ 	./PreLoaderTemplate$(E) || true
+ 
+ install:
+-	$(mkinstalldirs) $(pkgdatadir)
+-	$(mkinstalldirs) $(pkgdatadir)/swfs
+-	$(INSTALL_DATA) ./simple_viewer.swf $(pkgdatadir)/swfs/simple_viewer.swf
+-	$(INSTALL_DATA) ./keyboard_viewer.swf $(pkgdatadir)/swfs/keyboard_viewer.swf
+-	$(INSTALL_DATA) ./PreLoaderTemplate.swf $(pkgdatadir)/swfs/PreLoaderTemplate.swf
+-	$(INSTALL_DATA) ./tessel_loader.swf $(pkgdatadir)/swfs/tessel_loader.swf
+-	$(INSTALL_DATA) ./swft_loader.swf $(pkgdatadir)/swfs/swft_loader.swf
+-	test -f $(pkgdatadir)/swfs/default_viewer.swf || \
+-	    $(LN_S) $(pkgdatadir)/swfs/simple_viewer.swf $(pkgdatadir)/swfs/default_viewer.swf;
+-	test -f $(pkgdatadir)/swfs/default_loader.swf || \
+-	    $(LN_S) $(pkgdatadir)/swfs/tessel_loader.swf $(pkgdatadir)/swfs/default_loader.swf;
++	$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
++	$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/swfs
++	$(INSTALL_DATA) ./simple_viewer.swf $(DESTDIR)$(pkgdatadir)/swfs/simple_viewer.swf
++	$(INSTALL_DATA) ./keyboard_viewer.swf $(DESTDIR)$(pkgdatadir)/swfs/keyboard_viewer.swf
++	$(INSTALL_DATA) ./PreLoaderTemplate.swf $(DESTDIR)$(pkgdatadir)/swfs/PreLoaderTemplate.swf
++	$(INSTALL_DATA) ./tessel_loader.swf $(DESTDIR)$(pkgdatadir)/swfs/tessel_loader.swf
++	$(INSTALL_DATA) ./swft_loader.swf $(DESTDIR)$(pkgdatadir)/swfs/swft_loader.swf
++	test -f $(DESTDIR)$(pkgdatadir)/swfs/default_viewer.swf || \
++	    $(LN_S) simple_viewer.swf $(DESTDIR)$(pkgdatadir)/swfs/default_viewer.swf;
++	test -f $(DESTDIR)$(pkgdatadir)/swfs/default_loader.swf || \
++	    $(LN_S) tessel_loader.swf $(DESTDIR)$(pkgdatadir)/swfs/default_loader.swf;
+ 		
+ uninstall:
+ 	$(UNINSTALL_DATA) $(pkgdatadir)/swfs/simple_viewer.swf

Added: trunk/rpms/swftools/swftools-0.7.spec
===================================================================
--- trunk/rpms/swftools/swftools-0.7.spec	                        (rev 0)
+++ trunk/rpms/swftools/swftools-0.7.spec	2007-01-22 11:10:40 UTC (rev 5104)
@@ -0,0 +1,49 @@
+# $Id$
+# Authority: dag
+
+Summary: Tools for SWF (Flash) animations under linux
+Name: swftools
+Version: 0.7.0
+Release: 1
+License: GPL
+Group: Applications/Multimedia
+URL: http://www.swftools.org/
+
+Source: http://www.swftools.org/swftools-%{version}.tar.gz
+Patch: swftools-0.7.0-destdir.patch
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildRequires: bison, flex, zlib-devel, libjpeg-devel, t1lib-devel
+#BuildRequires: libavifile-devel
+Conflicts: ming
+
+%description
+SWF Tools is a collection of SWF manipulation and generation utilities.
+
+%prep
+%setup
+%patch0 -p0
+
+%build
+%configure
+%{__make} %{?_smp_mflags}
+
+%install
+%{__rm} -rf %{buildroot}
+%{__install} -d -m0755 %{buildroot}%{_bindir}
+%{__install} -d -m0755 %{buildroot}%{_mandir}/man1/
+%{__make} install DESTDIR="%{buildroot}"
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-,root,root)
+%doc AUTHORS ChangeLog COPYING TODO
+%doc %{_mandir}/man1/*.1*
+%{_bindir}/*
+%_datadir/swftools/
+
+%changelog
+* Mon Jan 22 2007 Dag Wieers <dag at wieers.com> - 0.7.0-1
+- Initial package. (using DAR)


Property changes on: trunk/rpms/swftools/swftools-0.7.spec
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + native

Added: trunk/rpms/swftools/swftools-0.8.0-destdir.patch
===================================================================
--- trunk/rpms/swftools/swftools-0.8.0-destdir.patch	                        (rev 0)
+++ trunk/rpms/swftools/swftools-0.8.0-destdir.patch	2007-01-22 11:10:40 UTC (rev 5104)
@@ -0,0 +1,58 @@
+--- Makefile.common.in.orig	2007-01-22 11:08:24.000000000 +0100
++++ Makefile.common.in	2007-01-22 11:09:31.000000000 +0100
+@@ -60,9 +60,9 @@
+ 
+ # ------------------- defines -------------------------
+ 
+-INSTALL_BIN = echo installing $$file to $(bindir);$(INSTALL_PROGRAM) $$file $(bindir)/`echo $$file|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`
++INSTALL_BIN = echo installing $$file to $(DESTDIR)$(bindir);$(INSTALL_PROGRAM) $$file $(DESTDIR)$(bindir)/`echo $$file|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`
+ UNINSTALL_BIN = ff=`echo $$file|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`;echo rm -f $(bindir)/$$ff;rm -f $(bindir)/$$ff
+-INSTALL_MAN1 = ff=$(srcdir)/$$file.1; inst=`echo $$file | sed '$(transform)'`.1; echo "$(INSTALL_DATA) $$ff $(man1dir)/$$inst"; $(INSTALL_DATA) $$ff $(man1dir)/$$inst
++INSTALL_MAN1 = ff=$(srcdir)/$$file.1; inst=`echo $$file | sed '$(transform)'`.1; echo "$(INSTALL_DATA) $$ff $(DESTDIR)$(man1dir)/$$inst"; $(INSTALL_DATA) $$ff $(DESTDIR)$(man1dir)/$$inst
+ UNINSTALL_MAN1 = ff=$(srcdir)/$$file.1; inst=`echo $$file | sed '$(transform)'`.1; echo "rm -f $(man1dir)/$$inst"; rm -f $(man1dir)/$$inst
+ 
+ #%.o: %.c
+--- pdf2swf/fonts/Makefile.in.orig	2007-01-22 11:35:09.000000000 +0100
++++ pdf2swf/fonts/Makefile.in	2007-01-22 11:35:40.000000000 +0100
+@@ -8,8 +8,8 @@
+ fonts = n021003l.pfb n021023l.pfb n021004l.pfb n021024l.pfb n019003l.pfb n019023l.pfb n019004l.pfb n019024l.pfb n022003l.pfb n022023l.pfb n022004l.pfb n022024l.pfb s050000l.pfb d050000l.pfb n021003l.afm n021023l.afm n021004l.afm n021024l.afm n019003l.afm n019023l.afm n019004l.afm n019024l.afm n022003l.afm n022023l.afm n022004l.afm n022024l.afm s050000l.afm d050000l.afm
+ 
+ install:
+-	$(mkinstalldirs) $(pkgdatadir)/fonts
+-	@echo installing fonts in $(pkgdatadir)/fonts;for file in $(fonts);do $(INSTALL_DATA) $$file $(pkgdatadir)/fonts/$$file;done
++	$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/fonts
++	@echo installing fonts in $(pkgdatadir)/fonts;for file in $(fonts);do $(INSTALL_DATA) $$file $(DESTDIR)$(pkgdatadir)/fonts/$$file;done
+ 	
+ uninstall:
+ 	@for file in $(fonts);do $(UNINSTALL_DATA) $(pkgdatadir)/fonts/$$file;done
+--- swfs/Makefile.in.orig	2007-01-22 11:39:19.000000000 +0100
++++ swfs/Makefile.in	2007-01-22 11:41:08.000000000 +0100
+@@ -34,17 +34,17 @@
+ 	./PreLoaderTemplate$(E) || true
+ 
+ install:
+-	$(mkinstalldirs) $(pkgdatadir)
+-	$(mkinstalldirs) $(pkgdatadir)/swfs
+-	$(INSTALL_DATA) ./simple_viewer.swf $(pkgdatadir)/swfs/simple_viewer.swf
+-	$(INSTALL_DATA) ./keyboard_viewer.swf $(pkgdatadir)/swfs/keyboard_viewer.swf
+-	$(INSTALL_DATA) ./PreLoaderTemplate.swf $(pkgdatadir)/swfs/PreLoaderTemplate.swf
+-	$(INSTALL_DATA) ./tessel_loader.swf $(pkgdatadir)/swfs/tessel_loader.swf
+-	$(INSTALL_DATA) ./swft_loader.swf $(pkgdatadir)/swfs/swft_loader.swf
+-	test -f $(pkgdatadir)/swfs/default_viewer.swf || \
+-	    $(LN_S) $(pkgdatadir)/swfs/simple_viewer.swf $(pkgdatadir)/swfs/default_viewer.swf;
+-	test -f $(pkgdatadir)/swfs/default_loader.swf || \
+-	    $(LN_S) $(pkgdatadir)/swfs/tessel_loader.swf $(pkgdatadir)/swfs/default_loader.swf;
++	$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
++	$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/swfs
++	$(INSTALL_DATA) ./simple_viewer.swf $(DESTDIR)$(pkgdatadir)/swfs/simple_viewer.swf
++	$(INSTALL_DATA) ./keyboard_viewer.swf $(DESTDIR)$(pkgdatadir)/swfs/keyboard_viewer.swf
++	$(INSTALL_DATA) ./PreLoaderTemplate.swf $(DESTDIR)$(pkgdatadir)/swfs/PreLoaderTemplate.swf
++	$(INSTALL_DATA) ./tessel_loader.swf $(DESTDIR)$(pkgdatadir)/swfs/tessel_loader.swf
++	$(INSTALL_DATA) ./swft_loader.swf $(DESTDIR)$(pkgdatadir)/swfs/swft_loader.swf
++	test -f $(DESTDIR)$(pkgdatadir)/swfs/default_viewer.swf || \
++	    $(LN_S) simple_viewer.swf $(DESTDIR)$(pkgdatadir)/swfs/default_viewer.swf;
++	test -f $(DESTDIR)$(pkgdatadir)/swfs/default_loader.swf || \
++	    $(LN_S) tessel_loader.swf $(DESTDIR)$(pkgdatadir)/swfs/default_loader.swf;
+ 		
+ uninstall:
+ 	$(UNINSTALL_DATA) $(pkgdatadir)/swfs/simple_viewer.swf

Added: trunk/rpms/swftools/swftools.spec
===================================================================
--- trunk/rpms/swftools/swftools.spec	                        (rev 0)
+++ trunk/rpms/swftools/swftools.spec	2007-01-22 11:10:40 UTC (rev 5104)
@@ -0,0 +1,73 @@
+# $Id$
+# Authority: dag
+
+Summary: Tools for SWF (Flash) animations under linux
+Name: swftools
+Version: 0.8.0
+Release: 1
+License: GPL
+Group: Applications/Multimedia
+URL: http://www.swftools.org/
+
+Source: http://www.swftools.org/swftools-%{version}.tar.gz
+Patch0: swftools-0.8.0-destdir.patch
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildRequires: bison, flex, gcc >= 3.0, zlib-devel, libjpeg-devel, t1lib-devel
+#BuildRequires: libavifile-devel
+Conflicts: ming
+
+%description
+SWF Tools is a collection of SWF manipulation and generation utilities.
+
+%prep
+%setup
+%patch0 -p0
+
+%build
+%configure
+%{__make} %{?_smp_mflags}
+
+%install
+%{__rm} -rf %{buildroot}
+%{__install} -d -m0755 %{buildroot}%{_bindir}
+%{__install} -d -m0755 %{buildroot}%{_mandir}/man1/
+%{__make} install DESTDIR="%{buildroot}"
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-,root,root)
+%doc AUTHORS ChangeLog COPYING FAQ TODO
+#%doc %{_mandir}/man1/avi2swf.1*
+%doc %{_mandir}/man1/font2swf.1*
+%doc %{_mandir}/man1/gif2swf.1*
+%doc %{_mandir}/man1/jpeg2swf.1*
+%doc %{_mandir}/man1/pdf2swf.1*
+%doc %{_mandir}/man1/png2swf.1*
+%doc %{_mandir}/man1/swfbbox.1*
+%doc %{_mandir}/man1/swfc.1*
+%doc %{_mandir}/man1/swfcombine.1*
+%doc %{_mandir}/man1/swfdump.1*
+%doc %{_mandir}/man1/swfextract.1*
+%doc %{_mandir}/man1/swfstrings.1*
+%doc %{_mandir}/man1/wav2swf.1*
+#%{_bindir}/avi2swf
+%{_bindir}/font2swf
+%{_bindir}/gif2swf
+%{_bindir}/jpeg2swf
+%{_bindir}/pdf2swf
+%{_bindir}/png2swf
+%{_bindir}/swfbbox
+%{_bindir}/swfc
+%{_bindir}/swfcombine
+%{_bindir}/swfdump
+%{_bindir}/swfextract
+%{_bindir}/swfstrings
+%{_bindir}/wav2swf
+%{_datadir}/swftools/
+
+%changelog
+* Mon Jan 22 2007 Dag Wieers <dag at wieers.com> - 0.8.0-1
+- Initial package. (using DAR)


Property changes on: trunk/rpms/swftools/swftools.spec
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + native

Added: trunk/rpms/t1lib/t1lib-5.0.0-manpages.patch
===================================================================
--- trunk/rpms/t1lib/t1lib-5.0.0-manpages.patch	                        (rev 0)
+++ trunk/rpms/t1lib/t1lib-5.0.0-manpages.patch	2007-01-22 11:10:40 UTC (rev 5104)
@@ -0,0 +1,231 @@
+--- t1lib-5.0.0.orig/debian/type1afm.1
++++ t1lib-5.0.0/debian/type1afm.1
+@@ -0,0 +1,34 @@
++.TH TYPE1AFM 1
++.SH NAME
++.B type1afm
++\- create a font metrics file from a Type 1 font file
++.SH SYNOPSIS
++.B type1afm
++[
++.BR \-l
++]
++.B fontfile
++[
++.B fontfile...
++]
++.SH DESCRIPTION
++This manual page was written for the Debian GNU/Linux distribution
++because the original program does not have a manual page.
++.PP
++.B type1afm
++reads in Type 1 font files specified on the command line, rasterizes
++them to 1000bp, and writes AFM (font metrics) files based on the
++observed metrics information.
++.PP
++The AFM file is created in the same directory as the font file, so be
++sure that you have write access there before running this program.
++.SH OPTIONS
++.TP
++.BR \-l
++Write a log file
++.SH SEE ALSO
++.BR getafm (1)
++.SH AUTHOR
++This manual page was David Huggins-Daines <dhd at debian.org>
++for the Debian GNU/Linux distribution (but may be used by others)
++
+--- t1lib-5.0.0.orig/debian/xglyph.1
++++ t1lib-5.0.0/debian/xglyph.1
+@@ -0,0 +1,111 @@
++.TH XGLYPH 1
++.SH NAME
++xglyph \- demonstration program for the t1lib font rasterizer library.
++.SH SYNOPSIS
++.B xglyph
++[
++.B fontfile...
++]
++.SH "DESCRIPTION"
++This manual page documents briefly the
++.BR xglyph
++program.
++This manual page was written for the Debian GNU/Linux distribution
++because the original program does not have a manual page.
++.PP
++.B xglyph
++is a program which demonstrates the capabilities of the
++.B t1lib
++library.  It allows the user to view an arbitrary character or string
++rendered in the various ways pgossible with the library.  By default,
++it writes a log file named \fIt1lib.log\fR in the current directory.
++.PP
++If invoked with no arguments, it will attempt to read the global
++configuration file and font database.  It will also accept any number
++of filenames on the command line, in which case these are treated as
++font files to be loaded instead of the default font database.
++.SH "OPTIONS"
++.TP
++.BR \-\-help
++Shows a brief help text
++.TP
++.BR \-\-Help
++Shows a description of all options
++.TP
++.BR \-\-noGrid 
++Don't draw grid lines when displaying glyphs
++.TP
++.BR \-\-setPad 
++Set bitmap padding
++.TP
++.BR \-\-logError
++Log errors only
++.TP
++.BR \-\-logWarning
++Log errors and warnings
++.TP
++.BR \-\-logStatistic
++Log errors, warnings, and statistics
++.TP
++.BR \-\-logDebug
++Log just about everything
++.TP
++.BR \-\-ignoreForceBold
++Don't make pseudo-boldface glyphs
++.TP
++.BR \-\-ignoreFamilyAlignment
++.TP
++.BR \-\-ignoreHinting
++Ignore hints when scaling glyphs
++.TP
++.BR \-\-debugLine
++Show debugging info for line-drawing
++operations in the rasterizer
++.TP
++.BR \-\-debugRegion
++Show debugging info for region operations in
++the rasterizer
++.TP
++.BR \-\-debugPath
++Show debugging info for path operations in the
++rasterizer
++.TP
++.BR \-\-debugFont
++.TP
++.BR \-\-debugHint
++Show debugging info for hinting in the rasterizer.
++.TP
++.BR \-\-checkPerformance
++Do some simple performance tests while rasterizing.
++.TP
++.BR \-\-checkCopyFont
++Check that copying fonts works.
++.TP
++.BR \-\-checkConcatGlyphs
++Check that concatenating glyphs works.
++.TP
++.BR \-\-checkBadCharHandling
++.TP
++.BR \-\-checkDefaultEncoding
++Set a default encoding vector.
++.SH "ENVIRONMENT"
++In the Debian GNU/Linux version of this program, the environment
++variable
++.B T1LIB_CONFIG,
++if set, points to an alternate configuration
++file with which to initialize the library.
++.SH "SEE ALSO"
++.BR FontDataBase (5),
++.BR t1libconfig (8).
++.PP
++.B xglyph
++is much more fully documented in the LaTeX documentation that
++accompanies the upstream
++.B t1lib
++distribution.  This documentation is installed in PostScript and source
++formats with the t1lib-dev package in /usr/share/doc/t1lib-dev, and is
++also accessible through the dwww system.
++.SH AUTHOR
++This manual page was written by David Huggins-Daines
++<dhd at debian.org>, for the Debian GNU/Linux system (but may
++be used by others).
+--- t1lib-5.0.0.orig/debian/FontDatabase.5
++++ t1lib-5.0.0/debian/FontDatabase.5
+@@ -0,0 +1,77 @@
++.TH FONTDATABASE 5
++.SH NAME
++FontDataBase \- database of fonts accessible to t1lib.
++.SH DESCRIPTION
++This manual page has been written for the Debian GNU/Linux
++distribution.  It has been adapted from the documentation included in
++the upstream
++.B t1lib
++distribution.
++.PP
++.B /etc/t1lib/FontDataBase
++is a text file which contains, minimally, the basenames of Type 1 font 
++files to be made accessible to the
++.B t1lib
++font rasterizer library.  The format is intentionally similar to that
++of the
++.B fonts.dir
++and
++.B fonts.scale
++files used by X11.
++.PP
++Line 1 of this file contains a positive integer specifying the number
++of fonts declared in that file. This is as in the
++.B fonts.dir
++files of the X11 system.
++.PP
++All remaining lines contain declarations of one font each. The only
++thing taken from such a line is the last string (delimited by white
++space) in it. It is assumed to be a filename of the format
++\fIbasename\fR.\fIsomeextension\fR.
++.PP
++The \fIbasename\fR part is assumed to be the
++.BR basename (1)
++of a fontfile.  After the a string has been parsed, the
++.I extension
++is cut off and replaced in turn with
++.I .pfa
++and
++.I .pfb.
++The initialization routine tries to open a font file in
++its search path with one of the resulting filenames.
++.PP
++The remainder of the line, i.e., from beginning to the start of the
++filename string, is completely ignored and thus may contain
++information for other programs.
++.SH EXAMPLES
++Here is a minimal font database file for 4 fonts:
++.sp
++.nf
++4
++isvl.afm
++isvli.afm
++isvd.afm
++isvdi.afm
++.fi
++.PP
++This file is \fIminimal\fR, because it contains just the information
++needed, and nothing not needed by the library. 
++.PP
++Here is a more realistic example, which allows an application to match
++a fully qualified X11 fontname to a FontID in
++.B t1lib.
++This is also a valid font database file:
++.sp
++.nf
++4
++Souvenir Souvenir-Light       --- -itc-souvenir-light-r-normal--#-0-0-0-p-0-iso8859-1 isvl.afm
++Souvenir Souvenir-LightItalic -*- -itc-souvenir-light-i-normal--#-0-0-0-p-0-iso8859-1 isvli.afm
++          Souvenir-Demi       *-- -itc-souvenir-demi-r-normal--#-0-0-0-p-0-iso8859-1 isvd.afm
++          Souvenir-DemiItalic **- -itc-souvenir-demi-i-normal--#-0-0-0-p-0-iso8859-1 isvdi.afm
++.fi
++.PP
++.SH FILES
++.I /etc/t1lib/FontDataBase
++.SH "SEE ALSO"
++.BR mkfontdir (1x)
++

Added: trunk/rpms/t1lib/t1lib-5.0.0-t1libconfig.patch
===================================================================
--- trunk/rpms/t1lib/t1lib-5.0.0-t1libconfig.patch	                        (rev 0)
+++ trunk/rpms/t1lib/t1lib-5.0.0-t1libconfig.patch	2007-01-22 11:10:40 UTC (rev 5104)
@@ -0,0 +1,221 @@
+--- t1lib-5.0.0.orig/debian/t1libconfig.8
++++ t1lib-5.0.0/debian/t1libconfig.8
+@@ -0,0 +1,57 @@
++.TH T1LIBCONFIG 8
++.SH NAME
++.B t1libconfig
++\- create the t1lib.config and FontDataBase files for t1lib
++.SH SYNOPSIS
++.B t1libconfig
++[
++.BR \-v\fP, \fB\-\-version
++]
++[
++.BR \-h\fP, \fB\-\-help
++]
++.B \-\-force
++]
++[
++.B fontdirectory...
++]
++.SH DESCRIPTION
++.B t1libconfig
++scans a list of directories for Type 1 fonts and font metric files,
++and generates a configuration file and font database file for the
++.B t1lib
++rasterizer library accordingly.  By default, it looks in all
++subdirectories of /usr/share/X11/fonts, and in
++/usr/lib/ghostscript.  Extra directories to search may be specified on 
++the command line.  The
++.B t1libconfig
++script tries not to scan the same directory twice (this is, however,
++not foolproof, since symbolic links may result in different paths
++pointing to the same directory on GNU/Linux systems).
++.SH OPTIONS
++.TP
++.BR \-v\fP, \fB\-\-version
++Print the version of
++.B t1libconfig
++and exit.
++.TP
++.BR \-h\fP, \fB\-\-help
++Print help about usage and exit.
++.TP
++.B \-\-force
++Force the generation of new configuration files even if these files
++already exist on the system.
++.SH FILES
++.TP 25
++.B /etc/t1lib/t1lib.config
++Contains configuration information for t1lib, including
++colon-separated lists of paths to Type 1 font files and font metrics
++files, and the location of the default font database file
++.TP 25
++.B /etc/t1lib/FontDataBase
++Contains a list of the names of Type 1 font files to be used by t1lib.
++.SH AUTHOR
++David Huggins-Daines <dhd at debian.org>
++.SH SEE ALSO
++.BR FontDataBase (5)
++
+--- t1lib-5.0.0.orig/debian/t1libconfig
++++ t1lib-5.0.0/debian/t1libconfig
+@@ -0,0 +1,158 @@
++#!/bin/sh -e
++
++# to test POSIX-correctness, change hash-bang to /bin/bash and uncomment
++# the following line:
++
++# set -o posix
++
++# Very simple configuration script for t1lib.  Checks a couple of
++# directories that might contain fonts, and if they exist, adds
++# anything ending in .pfa or pfb to the font database.  A few things
++# borrowed from paperconfig, (C) 1996, Yves Arrouye
++# <arrouye at debian.org>
++
++# note that this creates the "minimal" font database accepted by t1lib,
++# and doesn't look in every possible place for fonts.  It is mostly
++# provided so that xglyph will work out of the box...
++
++# Written by David Huggins-Daines <dhd at debian.org>
++
++usage() {
++    if [ "$1" = -h ]
++    then
++	exec 1>&2
++	echo -n U
++    else
++	echo -n u
++    fi
++
++    echo "sage: `basename $0` [ -v, --version ] [ -h, --help ] [ --force ]"
++    echo "                   [ fontdirs... ]"
++
++    if [ "$1" = -h ]
++    then
++	cat <<EOF
++
++Options: -v, --verbose          print version information and exit
++         -h, --help             print this help and exit
++         --force                force configuration
++EOF
++	exit 0
++    else
++	exit 1
++    fi
++}
++
++version=0.2
++x11fontdirs=$(find /usr/share/X11/fonts -type d -printf "%p " || true)
++fontdirs="/usr/lib/ghostscript/fonts $x11fontdirs"
++conffile=/etc/t1lib/t1lib.config
++confdir=/etc/t1lib/
++dbase=/etc/t1lib/FontDatabase
++temp=/etc/t1lib/FontDatabase.tmp
++
++force=0
++
++while [ $# -ne 0 ]
++do
++    case "$1" in
++	-v|--version)
++	    echo "`basename $0` version $version" \
++		"by David Huggins-Daines <dhd at debian.org>"
++	    exit 0
++	    ;;
++	-h|--help)
++	    usage -h
++	    ;;
++	--force)
++	    force=1
++	    ;;
++	*)
++	    # hairy way to remove a trailing backslash (should use perl)
++	    pat=`expr $1 : "\(.*\)\/\$" || echo $1`
++	    # hairier way to find a string anywhere in another string
++	    # should really use perl.
++	    if ! grep $pat <<EOF >/dev/null 2>&1
++$fontdirs
++EOF
++	    then
++		fontdirs="$fontdirs $1"
++	    fi
++	    ;;
++    esac
++    shift
++done
++
++# We presume that if the database exists, then so does the
++# configuration file.  Hopefully this won't break anything.
++
++if [ $force -eq 1 ] || [ ! -e $dbase ]; then
++    fontpath=""
++    afmpath=""
++
++    mkdir -p $confdir || true
++
++    echo -n "Searching for Type 1 fonts and AFM files..."
++
++    for i in $fontdirs
++    do
++	if [ -d $i ] && ls $i/*.pf[ab] > /dev/null 2>&1; then
++	    if [ -n "$fontpath" ]; then
++		fontpath="$fontpath:$i"
++	    else
++		fontpath="$i"
++	    fi
++	    
++	    if ls $i/*.afm > /dev/null 2>&1; then
++		if [ -n "$afmpath" ]; then
++		    afmpath="$afmpath:$i"
++		else
++		    afmpath="$i"
++		fi
++	    fi
++	    # get a listing of all the fonts in each dir
++	    find $i -name *.pf[ab] -maxdepth 1 -printf '%f\n' >> $temp
++	fi
++    done
++    if [ -z "$fontpath" ]; then
++	cat <<EOF
++
++No Type 1 fonts were found in the expected locations.
++If you want t1lib to be aware of your fonts, you should run
++/usr/sbin/t1libconfig with the names of your local font directories as
++arguments, or you should edit the /etc/t1lib/FontDatabase file manually.
++See the FontDatabase(5) manual page for more information.
++
++Press [return] to continue.
++EOF
++        read foo || true
++	rm -f $temp
++    else
++        echo "done."
++        echo -n "Building font database..."
++        fontcount=`wc -l $temp || true`
++        echo $fontcount > $dbase
++        cat $temp >> $dbase
++        rm -f $temp
++        echo "done."
++    fi
++
++    # now set the paths in the config file
++    cat <<EOF >$conffile
++t1lib.config - global configuration file for t1lib.
++It was created automatically on `date`
++by the t1libconfig script.
++
++Run /usr/sbin/t1libconfig --force to rebuild it.
++    
++ENCODING=.
++AFM=$afmpath
++TYPE1=$fontpath
++FONTDATABASE=$dbase
++EOF
++else
++    echo "Configuration and font database files already exist."
++    echo "Run /usr/sbin/t1libconfig --force to rebuild them."
++fi
++
++exit 0

Added: trunk/rpms/t1lib/t1lib-5.0.0-xglyph-env.patch
===================================================================
--- trunk/rpms/t1lib/t1lib-5.0.0-xglyph-env.patch	                        (rev 0)
+++ trunk/rpms/t1lib/t1lib-5.0.0-xglyph-env.patch	2007-01-22 11:10:40 UTC (rev 5104)
@@ -0,0 +1,15 @@
+--- t1lib-5.0.0.orig/xglyph/xglyph.c
++++ t1lib-5.0.0/xglyph/xglyph.c
+@@ -526,9 +526,12 @@
+   
+   /* Check for environment entry. If not set, set it to current
+      directory so that configuration file is found there */
++  /* It violates the Debian Policy */
++#if 0
+   if (getenv("T1LIB_CONFIG")==NULL){
+     putenv( "T1LIB_CONFIG=./t1lib.config");
+   }
++#endif
+ 
+   
+   /* Set log-level: */

Added: trunk/rpms/t1lib/t1lib-5.1.0-destdir.patch
===================================================================
--- trunk/rpms/t1lib/t1lib-5.1.0-destdir.patch	                        (rev 0)
+++ trunk/rpms/t1lib/t1lib-5.1.0-destdir.patch	2007-01-22 11:10:40 UTC (rev 5104)
@@ -0,0 +1,12 @@
+diff -ur t1lib-5.1.0/type1afm/Makefile.in t1lib-5.1.0.new/type1afm/Makefile.in
+--- t1lib-5.1.0/type1afm/Makefile.in	2004-12-12 18:45:12.000000000 -0800
++++ t1lib-5.1.0.new/type1afm/Makefile.in	2005-09-27 09:42:50.000000000 -0700
+@@ -89,7 +89,7 @@
+ install: dummy
+ 	$(MKINSTALLDIRS) $(DESTDIR)$(bindir)
+ 	$(LIBTOOL) --mode=install \
+-		$(INSTALL_PROGRAM) type1afm $(bindir)/type1afm
++		$(INSTALL_PROGRAM) type1afm $(DESTDIR)$(bindir)/type1afm
+ 
+ 
+ uninstall: dummy

Added: trunk/rpms/t1lib/t1lib.spec
===================================================================
--- trunk/rpms/t1lib/t1lib.spec	                        (rev 0)
+++ trunk/rpms/t1lib/t1lib.spec	2007-01-22 11:10:40 UTC (rev 5104)
@@ -0,0 +1,104 @@
+# $Id$
+# Authority: dag
+
+Summary: PostScript Type 1 font rasterizer
+Name: t1lib
+Version: 5.1.0
+Release: 1
+License: LGPL
+Group: Applications/Publishing
+URL: ftp://sunsite.unc.edu/pub/Linux/libs/graphics/
+
+Source: ftp://sunsite.unc.edu/pub/Linux/libs/graphics/t1lib-%{version}.tar.gz
+Patch0: t1lib-5.0.0-manpages.patch
+Patch1: t1lib-5.0.0-xglyph-env.patch
+Patch2: t1lib-5.0.0-t1libconfig.patch
+Patch3: t1lib-5.1.0-destdir.patch
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+%description
+T1lib is a rasterizer library for Adobe Type 1 Fonts. It supports
+rotation and transformation, kerning underlining and antialiasing. It
+does not depend on X11, but does provides some special functions for
+X11.
+
+AFM-files can be generated from Type 1 font files and font subsetting
+is possible.
+
+%package devel
+Summary: Header files, libraries and development documentation for %{name}.
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+This package contains the header files, static libraries and development
+documentation for %{name}. If you like to develop programs using %{name},
+you will need to install %{name}-devel.
+
+%prep
+%setup
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+
+%build
+%configure
+#%{__make} %{?_smp_mflags} without_doc
+%{__make} %{?_smp_mflags}
+%{__ln_s} README.t1lib-%{version} README
+
+%install
+%{__rm} -rf %{buildroot}
+%{__make} install DESTDIR="%{buildroot}"
+
+%{__install} -Dp -m0755 debian/t1libconfig %{buildroot}%{_sbindir}/t1libconfig
+
+%{__install} -d -m0755 %{buildroot}%{_sysconfdir}/t1lib/
+touch %{buildroot}%{_sysconfdir}/t1lib/FontDatabase
+touch %{buildroot}%{_sysconfdir}/t1lib/t1lib.config
+
+%{__install} -Dp -m0644 debian/type1afm.1 %{buildroot}%{_mandir}/man1/type1afm.1
+%{__install} -Dp -m0644 debian/xglyph.1 %{buildroot}%{_mandir}/man1/xglyph.1
+%{__install} -Dp -m0644 debian/FontDatabase.5 %{buildroot}%{_mandir}/man5/FontDatabase.5
+%{__install} -Dp -m0644 debian/t1libconfig.8 %{buildroot}%{_mandir}/man8/t1libconfig.8
+
+%{__rm} -rf %{buildroot}%{_datadir}/t1lib/
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%post
+/sbin/ldconfig
+%{_sbindir}/t1libconfig --force &>/dev/null || :
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-, root, root, 0755)
+%doc Changes LGPL LICENSE README
+%doc %{_mandir}/man*/*
+%dir %{_sysconfdir}/t1lib
+%ghost %{_sysconfdir}/t1lib/t1lib.config
+%ghost %{_sysconfdir}/t1lib/FontDatabase
+%{_bindir}/type1afm
+%{_bindir}/xglyph
+%{_libdir}/libt1.so.*
+%{_libdir}/libt1x.so.*
+%{_sbindir}/t1libconfig
+
+%files devel
+%defattr(-, root, root, 0755)
+%doc doc/t1lib_doc.pdf
+%{_includedir}/t1lib.h
+%{_includedir}/t1libx.h
+%{_libdir}/libt1.a
+%{_libdir}/libt1x.a
+%exclude %{_libdir}/libt1.la
+%exclude %{_libdir}/libt1x.la
+%{_libdir}/libt1.so
+%{_libdir}/libt1x.so
+
+%changelog
+* Mon Jan 22 2007 Dag Wieers <dag at wieers.com> - 5.1.0-1
+- Initial package. (using DAR)


Property changes on: trunk/rpms/t1lib/t1lib.spec
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + native



More information about the svn-commits mailing list