Changes of Revision 2
[-] | Added | t1lib.spec |
x 1
2 +Name: t1lib 3 +Version: 5.1.2 4 +Release: 2%{?dist} 5 + 6 +Summary: PostScript Type 1 font rasterizer 7 + 8 +Group: Applications/Publishing 9 +License: LGPLv2+ 10 +URL: ftp://sunsite.unc.edu/pub/Linux/libs/graphics/t1lib-%{version}.lsm 11 +Source0: ftp://sunsite.unc.edu/pub/Linux/libs/graphics/t1lib-%{version}.tar.gz 12 +Patch0: http://ftp.de.debian.org/debian/pool/main/t/t1lib/t1lib_5.1.1-3.diff.gz 13 +Patch1: t1lib-5.1.2-segf.patch 14 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 15 +BuildRequires: libXaw-devel 16 + 17 +Requires(post): coreutils, findutils 18 + 19 +%description 20 +T1lib is a rasterizer library for Adobe Type 1 Fonts. It supports 21 +rotation and transformation, kerning underlining and antialiasing. It 22 +does not depend on X11, but does provides some special functions for 23 +X11. 24 + 25 +AFM-files can be generated from Type 1 font files and font subsetting 26 +is possible. 27 + 28 +%package devel 29 +Summary: Header files and development files for %{name} 30 +Group: Development/Libraries 31 +Requires: %{name} = %{version}-%{release} 32 + 33 +%description devel 34 +This package contains header files and development files for %{name}. 35 + 36 +%package static 37 +Summary: Static libraries for %{name} 38 +Group: Development/Libraries 39 +Requires: %{name}-devel = %{version}-%{release} 40 + 41 +%description static 42 +This package contains static libraries for %{name}. 43 + 44 +%prep 45 +%setup -q 46 +%patch0 -p1 47 +%patch1 -p1 -b .segf 48 + 49 +# use debian patches directly instead of duplicating them 50 +#patch -p1 < debian/patches/segfault.diff -b -z .segf 51 +patch -p1 < debian/patches/no-config.diff 52 +patch -p1 < debian/patches/no-docs.diff 53 +patch -p1 < debian/patches/lib-cleanup.diff 54 + 55 +iconv -f latin1 -t utf8 < Changes > Changes.utf8 56 +touch -r Changes Changes.utf8 57 +mv Changes.utf8 Changes 58 + 59 + 60 +%build 61 +%configure 62 +make %{?_smp_mflags} without_doc 63 +touch -r lib/t1lib/t1lib.h.in lib/t1lib.h 64 +touch -r lib/t1lib/t1libx.h lib/t1libx.h 65 +ln README.t1lib-%{version} README 66 +sed -e 's;/usr/share/X11/fonts;%{_datadir}/X11/fonts;' \ 67 + -e 's;/usr/share/fonts/type1;%{_datadir}/fonts %{_datadir}/texmf/fonts;' \ 68 + -e 's;/etc/t1lib/;%{_datadir}/t1lib/;' \ 69 + debian/t1libconfig > t1libconfig 70 +touch -r README.t1lib-%{version} t1libconfig 71 + 72 +%install 73 +rm -rf $RPM_BUILD_ROOT 74 +make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' 75 +rm $RPM_BUILD_ROOT%{_libdir}/libt1*.la 76 +chmod a+x $RPM_BUILD_ROOT%{_libdir}/libt1*.so.* 77 + 78 +mkdir -p $RPM_BUILD_ROOT%{_mandir}/man{1,5,8} 79 +install -p -m 644 debian/FontDatabase.5 $RPM_BUILD_ROOT%{_mandir}/man5/ 80 +install -p -m 644 debian/t1libconfig.8 $RPM_BUILD_ROOT%{_mandir}/man8/ 81 +install -p -m 644 debian/type1afm.1 $RPM_BUILD_ROOT%{_mandir}/man1/ 82 +install -p -m 644 debian/xglyph.1 $RPM_BUILD_ROOT%{_mandir}/man1/ 83 +touch -r README.t1lib-%{version} $RPM_BUILD_ROOT%{_mandir}/man?/*.* 84 + 85 +mkdir -p $RPM_BUILD_ROOT%{_sbindir} 86 +install -p -m 755 t1libconfig $RPM_BUILD_ROOT%{_sbindir}/ 87 + 88 +mkdir -p $RPM_BUILD_ROOT%{_datadir}/t1lib/ 89 +touch $RPM_BUILD_ROOT%{_datadir}/t1lib/{FontDatabase,t1lib.config} 90 + 91 +%clean 92 +rm -rf $RPM_BUILD_ROOT 93 + 94 + 95 +%post 96 +/sbin/ldconfig 97 +%{_sbindir}/t1libconfig --force > /dev/null 98 + 99 +%postun -p /sbin/ldconfig 100 + 101 + 102 +%files 103 +%defattr(-,root,root,-) 104 +%doc Changes LGPL LICENSE README 105 +%dir %{_datadir}/t1lib 106 +%ghost %verify(not size mtime md5) %{_datadir}/t1lib/t1lib.config 107 +%ghost %verify(not size mtime md5) %{_datadir}/t1lib/FontDatabase 108 +%{_bindir}/type1afm 109 +%{_bindir}/xglyph 110 +%{_libdir}/libt1.so.* 111 +%{_libdir}/libt1x.so.* 112 +%{_mandir}/man*/* 113 +%{_sbindir}/t1libconfig 114 + 115 +%files devel 116 +%defattr(-,root,root,-) 117 +%doc doc/t1lib_doc.pdf 118 +%{_includedir}/t1lib*.h 119 +%{_libdir}/libt1.so 120 +%{_libdir}/libt1x.so 121 + 122 +%files static 123 +%defattr(-,root,root,-) 124 +%{_libdir}/libt1.a 125 +%{_libdir}/libt1x.a 126 + 127 + 128 +%changelog 129 +* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 5.1.2-2 130 +- Autorebuild for GCC 4.3 131 + 132 +* Sat Jan 12 2008 Patrice Dumas <pertusus[AT]free.fr> - 5.1.2-1 133 +- update to 5.1.2 134 + 135 +* Tue Jan 8 2008 Patrice Dumas <pertusus[AT]free.fr> - 5.1.1-7 136 +- add X libs BuildRequires (#353861) 137 + 138 +* Tue Jan 8 2008 Patrice Dumas <pertusus[AT]free.fr> - 5.1.1-6 139 +- apply debian patch 140 +- use debian patches directly 141 + 142 +* Sat Jan 5 2008 Patrice Dumas <pertusus[AT]free.fr> - 5.1.1-5 143 +- silence t1libconfig when the directories don't exist (#183108) 144 + 145 +* Sat Jan 5 2008 Patrice Dumas <pertusus[AT]free.fr> - 5.1.1-4 146 +- separate subpackage for static library 147 +- keep timestamps 148 +- add more paths to t1libconfig and use rpm macros for those paths 149 +- fix the -maxdepth position in find 150 +- put t1lib.config and FontDatabase in %%{_datadir} these are not 151 + config files, they are generated 152 +- fix a segfault in t1lib with long TYPE1 lines 153 + 154 +* Thu Sep 27 2007 José Matos <jamatos[AT]fc.up.pt> - 5.1.1-3 155 +- Apply patch to fix CVE-2007-4033 156 + 157 +* Tue Aug 28 2007 José Matos <jamatos[AT]fc.up.pt> - 5.1.1-2 158 +- License fix, rebuild for devel (F8). 159 + 160 +* Thu Jun 7 2007 José Matos <jamatos[AT]fc.up.pt> - 5.1.1-1 161 +- Update to 5.1.1. 162 +- Remove t1lib-5.1.0-destdir.patch (applied upstream). 163 + 164 +* Sun Apr 22 2007 José Matos <jamatos[AT]fc.up.pt> - 5.1.0-9 165 +- Add Requires(post). 166 + 167 +* Thu Oct 05 2006 Christian Iseli <Christian.Iseli@licr.org> 5.1.0-8 168 + - rebuilt for unwind info generation, broken in gcc-4.1.1-21 169 + 170 +* Wed Sep 20 2006 José Matos <jamatos[AT]fc.up.pt> - 5.1.0-7 171 +- Rebuild for FC-6. 172 + 173 +* Sun Feb 26 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 5.1.0-6 174 +- Change X11 font path to Fedora Core 5's default (#183108, Ville Skyttä) 175 + 176 +* Tue Feb 14 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 5.1.0-5 177 +- Rebuild for Fedora Extras 5 178 + 179 +* Tue Jan 17 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 5.1.0-4 180 +- %%ghost-ing config files, also making sure they're regenerated 181 + 182 +* Tue Jan 17 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 5.1.0-3 183 +- rebuild 184 + 185 +* Tue Jan 17 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 5.1.0-2 186 +- remove unneeded %%{_datadir}/t1lib contents 187 +- cleanup 188 + 189 +* Tue Sep 27 2005 Michael A. Peters <mpeters@mac.com> - 5.1.0-1 190 +- updated version 191 +- remove Patch0 (in upstream), added Patch6 192 +- Does not BuildRequire xfree/xorg devel 193 +- no longer BuildRequire autoconf (Patch0 removed) 194 + 195 +* Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 5.0.2-3 196 +- rebuild on all arches 197 + 198 +* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> 199 +- rebuilt 200 + 201 |
||
[+] | Added | t1lib-5.1.2-segf.patch ^ |
@@ -0,0 +1,59 @@ +diff -up t1lib-5.1.2/lib/t1lib/t1base.c.segf t1lib-5.1.2/lib/t1lib/t1base.c +--- t1lib-5.1.2/lib/t1lib/t1base.c.segf 2007-12-23 16:49:42.000000000 +0100 ++++ t1lib-5.1.2/lib/t1lib/t1base.c 2008-01-12 01:43:42.000000000 +0100 +@@ -455,7 +455,7 @@ int intT1_scanFontDBase( char *filename) + to test_for_t1_file() filename is substituted by an emty + string if the file was not found: */ + sprintf( err_warn_msg_buf, "Type 1 Font file %s.[pfa/pfb] not found (FontID=%d, SearchPath=%s)", +- linebuf, m-1, T1_GetFileSearchPath(T1_PFAB_PATH)); ++ linebuf, m-1, intT1_GetFileSearchPath(T1_PFAB_PATH)); + if ((test_for_t1_file( &linebuf[0]))){ + T1_PrintLog( "intT1_scanFontDBase()", err_warn_msg_buf, T1LOG_WARNING); + located=0; +@@ -579,7 +579,7 @@ int intT1_scanFontDBaseXLFD( char *filen + to test_for_t1_file() filename is substituted by an emty + string if the file was not found: */ + sprintf( err_warn_msg_buf, "Type 1 Font file %s.[pfa/pfb] not found (FontID=%d, SearchPath=%s)", +- linebuf, m-1, T1_GetFileSearchPath(T1_PFAB_PATH)); ++ linebuf, m-1, intT1_GetFileSearchPath(T1_PFAB_PATH)); + if ((test_for_t1_file( &linebuf[0]))){ + T1_PrintLog( "intT1_scanFontDBase()", err_warn_msg_buf, T1LOG_WARNING); + located=0; +diff -up t1lib-5.1.2/lib/t1lib/t1env.c.segf t1lib-5.1.2/lib/t1lib/t1env.c +--- t1lib-5.1.2/lib/t1lib/t1env.c.segf 2007-12-23 16:49:42.000000000 +0100 ++++ t1lib-5.1.2/lib/t1lib/t1env.c 2008-01-12 01:43:42.000000000 +0100 +@@ -818,6 +818,14 @@ char *T1_GetFileSearchPath( int type) + + } + ++/* intT1_GetFileSearchPath(): ++ call T1_GetFileSearchPath and truncate the line to avoid overflowing ++ error buffers*/ ++char *intT1_GetFileSearchPath( int type) ++{ ++ char *res = T1_GetFileSearchPath(type); ++ res[900] = 0; ++} + + /* T1_AddToFileSearchPath(): Add the specified path element to + the specified search path. If the existing path is the default path, +diff -up t1lib-5.1.2/lib/t1lib/t1load.c.segf t1lib-5.1.2/lib/t1lib/t1load.c +diff -up t1lib-5.1.2/lib/t1lib/t1env.h.segf t1lib-5.1.2/lib/t1lib/t1env.h +--- t1lib-5.1.2/lib/t1lib/t1env.h.segf 2007-12-23 16:49:42.000000000 +0100 ++++ t1lib-5.1.2/lib/t1lib/t1env.h 2008-01-12 01:43:42.000000000 +0100 +@@ -35,6 +35,7 @@ char *intT1_Env_GetCompletePath( char *F + int T1_SetFileSearchPath( int type, char *pathname); + int T1_AddToFileSearchPath( int pathtype, int mode, char *pathname); + char *T1_GetFileSearchPath( int type); ++char *intT1_GetFileSearchPath( int type); + int T1_SetFontDataBase( char *filename); + int T1_AddFontDataBase( int mode, char *filename); + int T1_SetFontDataBaseXLFD( char *filename); +@@ -49,6 +50,7 @@ extern char *intT1_Env_GetCompletePath( + extern int T1_SetFileSearchPath( int type, char *pathname); + extern int T1_AddToFileSearchPath( int pathtype, int mode, char *pathname); + extern char *T1_GetFileSearchPath( int type); ++extern char *intT1_GetFileSearchPath( int type); + extern int T1_SetFontDataBase( char *filename); + extern int T1_AddFontDataBase( int mode, char *filename); + extern int T1_SetFontDataBaseXLFD( char *filename); | ||
[+] | Added | t1lib_5.1.1-3.diff.gz ^ |
@@ -0,0 +1,1405 @@ +--- t1lib-5.1.1.orig/debian/patches/cve-2007-4033.diff ++++ t1lib-5.1.1/debian/patches/cve-2007-4033.diff +@@ -0,0 +1,19 @@ ++This patch fixes CVE-2007-4033. ++ ++Index: t1lib-5.1.1/lib/t1lib/t1env.c ++=================================================================== ++--- t1lib-5.1.1.orig/lib/t1lib/t1env.c 2008-01-05 19:08:50.000000000 +0100 +++++ t1lib-5.1.1/lib/t1lib/t1env.c 2008-01-05 19:09:14.000000000 +0100 ++@@ -611,6 +611,12 @@ ++ #endif ++ strcat( pathbuf, DIRECTORY_SEP); ++ /* And finally the filename: */ +++ /* If current pathbuf + StrippedName + 1 byte for NULL is bigger than pathbuf +++ let's try next pathbuf */ +++ if( strlen(pathbuf) + strlen(StrippedName) + 1 > sizeof(pathbuf) ) { +++ i++; +++ continue; +++ } ++ strcat( pathbuf, StrippedName); ++ ++ /* Check for existence of the path: */ +--- t1lib-5.1.1.orig/debian/patches/segfault.diff ++++ t1lib-5.1.1/debian/patches/segfault.diff +@@ -0,0 +1,93 @@ ++Index: t1lib-5.1.1/lib/t1lib/t1base.c ++=================================================================== ++--- t1lib-5.1.1.orig/lib/t1lib/t1base.c 2005-05-18 05:08:01.000000000 +0200 +++++ t1lib-5.1.1/lib/t1lib/t1base.c 2008-01-06 20:48:32.000000000 +0100 ++@@ -455,7 +455,7 @@ ++ to test_for_t1_file() filename is substituted by an emty ++ string if the file was not found: */ ++ sprintf( err_warn_msg_buf, "Type 1 Font file %s.[pfa/pfb] not found (FontID=%d, SearchPath=%s)", ++- linebuf, m-1, T1_GetFileSearchPath(T1_PFAB_PATH)); +++ linebuf, m-1, intT1_GetFileSearchPath(T1_PFAB_PATH)); ++ if ((test_for_t1_file( &linebuf[0]))){ ++ T1_PrintLog( "intT1_scanFontDBase()", err_warn_msg_buf, T1LOG_WARNING); ++ located=0; ++@@ -579,7 +579,7 @@ ++ to test_for_t1_file() filename is substituted by an emty ++ string if the file was not found: */ ++ sprintf( err_warn_msg_buf, "Type 1 Font file %s.[pfa/pfb] not found (FontID=%d, SearchPath=%s)", ++- linebuf, m-1, T1_GetFileSearchPath(T1_PFAB_PATH)); +++ linebuf, m-1, intT1_GetFileSearchPath(T1_PFAB_PATH)); ++ if ((test_for_t1_file( &linebuf[0]))){ ++ T1_PrintLog( "intT1_scanFontDBase()", err_warn_msg_buf, T1LOG_WARNING); ++ located=0; ++Index: t1lib-5.1.1/lib/t1lib/t1env.c ++=================================================================== ++--- t1lib-5.1.1.orig/lib/t1lib/t1env.c 2008-01-06 20:48:32.000000000 +0100 +++++ t1lib-5.1.1/lib/t1lib/t1env.c 2008-01-06 20:48:32.000000000 +0100 ++@@ -807,6 +807,14 @@ ++ ++ } ++ +++/* intT1_GetFileSearchPath(): +++ call T1_GetFileSearchPath and truncate the line to avoid overflowing +++ error buffers*/ +++char *intT1_GetFileSearchPath( int type) +++{ +++ char *res = T1_GetFileSearchPath(type); +++ res[900] = 0; +++} ++ ++ /* T1_AddToFileSearchPath(): Add the specified path element to ++ the specified search path. If the existing path is the default path, ++Index: t1lib-5.1.1/lib/t1lib/t1env.h ++=================================================================== ++--- t1lib-5.1.1.orig/lib/t1lib/t1env.h 2005-05-16 20:37:43.000000000 +0200 +++++ t1lib-5.1.1/lib/t1lib/t1env.h 2008-01-06 20:48:32.000000000 +0100 ++@@ -35,6 +35,7 @@ ++ int T1_SetFileSearchPath( int type, char *pathname); ++ int T1_AddToFileSearchPath( int pathtype, int mode, char *pathname); ++ char *T1_GetFileSearchPath( int type); +++char *intT1_GetFileSearchPath( int type); ++ int T1_SetFontDataBase( char *filename); ++ int T1_AddFontDataBase( int mode, char *filename); ++ int T1_SetFontDataBaseXLFD( char *filename); ++@@ -49,6 +50,7 @@ ++ extern int T1_SetFileSearchPath( int type, char *pathname); ++ extern int T1_AddToFileSearchPath( int pathtype, int mode, char *pathname); ++ extern char *T1_GetFileSearchPath( int type); +++extern char *intT1_GetFileSearchPath( int type); ++ extern int T1_SetFontDataBase( char *filename); ++ extern int T1_AddFontDataBase( int mode, char *filename); ++ extern int T1_SetFontDataBaseXLFD( char *filename); ++Index: t1lib-5.1.1/lib/t1lib/t1load.c ++=================================================================== ++--- t1lib-5.1.1.orig/lib/t1lib/t1load.c 2005-05-02 01:16:05.000000000 +0200 +++++ t1lib-5.1.1/lib/t1lib/t1load.c 2008-01-06 20:49:36.000000000 +0100 ++@@ -160,6 +160,27 @@ ++ free(FileNamePath); ++ ++ +++ /* set some default values if not assigned to avoid library crash */ +++ /* XXX: may be it is better to issue error, and return -1 */ +++ if (pFontBase->pFontArray[FontID].pType1Data->fontInfoP[FONTBBOX].value.data.arrayP == NULL) { +++ if ((pFontBase->pFontArray[FontID].pType1Data->fontInfoP[FONTBBOX].value.data.arrayP = +++ (psobj *)vm_alloc(4 * sizeof(psobj))) == NULL) { +++ T1_PrintLog( "T1_LoadFont()", "Error allocating memory for fontbbox objects (FontID=%d)", +++ T1LOG_WARNING, FontID); +++ T1_errno=T1ERR_ALLOC_MEM; +++ return(-1); +++ } +++ for (i = 0; i < 4; i++) { +++ pFontBase->pFontArray[FontID].pType1Data->fontInfoP[FONTBBOX].value.data.arrayP[i].type = OBJ_INTEGER; +++ pFontBase->pFontArray[FontID].pType1Data->fontInfoP[FONTBBOX].value.data.arrayP[i].len = 0; +++ pFontBase->pFontArray[FontID].pType1Data->fontInfoP[FONTBBOX].value.data.arrayP[i].data.integer = 0; +++ } +++ } +++ if (pFontBase->pFontArray[FontID].pFontEnc == NULL && +++ pFontBase->pFontArray[FontID].pType1Data->fontInfoP[ENCODING].value.data.arrayP == NULL) { +++ pFontBase->pFontArray[FontID].pType1Data->fontInfoP[ENCODING].value.data.valueP = (char *) StdEncArrayP; +++ } +++ ++ /* Store the base address of virtual memory and realloc in order not ++ to waste too much memory: */ ++ pFontBase->pFontArray[FontID].vm_base=vm_base; +--- t1lib-5.1.1.orig/debian/patches/lib-cleanup.diff ++++ t1lib-5.1.1/debian/patches/lib-cleanup.diff +@@ -0,0 +1,59 @@ ++do not link against libraries that are not needed ++ ++Index: t1lib-5.1.1/lib/Makefile.in ++=================================================================== ++--- t1lib-5.1.1.orig/lib/Makefile.in 2008-01-05 19:17:21.000000000 +0100 +++++ t1lib-5.1.1/lib/Makefile.in 2008-01-05 19:17:38.000000000 +0100 ++@@ -24,7 +24,7 @@ ++ X_LIBS = @X_LIBS@ ++ TOPSRC = @top_srcdir@ ++ XPM_LIB = -lXpm ++-XLIB = @X_PRE_LIBS@ -lXext -lX11 @X_EXTRA_LIBS@ +++XLIB = -lX11 ++ LDFLAGS = @LDFLAGS@ ++ LDLIBS = @LDLIBS@ ++ AR = ar rc ++@@ -137,7 +137,7 @@ ++ $(LIBTOOL) --mode=link \ ++ $(CC) $(LDFLAGS) -o $@ $(T1LIBX_OBJS) \ ++ -version-info @T1LIB_LT_CURRENT@:@T1LIB_LT_REVISION@:@T1LIB_LT_AGE@ \ ++- libt1.la $(X_LIBS) $(XPM_LIB) $(XLIB) -no-undefined -rpath $(libdir) +++ libt1.la $(X_LIBS) $(XLIB) -no-undefined -rpath $(libdir) ++ cp t1lib/t1libx.h . ++ ++ ++Index: t1lib-5.1.1/type1afm/Makefile.in ++=================================================================== ++--- t1lib-5.1.1.orig/type1afm/Makefile.in 2008-01-05 19:17:52.000000000 +0100 +++++ t1lib-5.1.1/type1afm/Makefile.in 2008-01-05 19:18:02.000000000 +0100 ++@@ -70,7 +70,7 @@ ++ ++ type1afm: $(OBJS) ../lib/t1lib.h ++ $(LIBTOOL) --mode=link \ ++- $(CC) -o type1afm $(LDFLAGS) $(OBJS) $(T1LIB) $(LDLIBS) +++ $(CC) -o type1afm $(LDFLAGS) $(OBJS) $(T1LIB) ++ ++ .SUFFIXES: .lo ++ .c.lo: ++Index: t1lib-5.1.1/xglyph/Makefile.in ++=================================================================== ++--- t1lib-5.1.1.orig/xglyph/Makefile.in 2008-01-05 19:18:15.000000000 +0100 +++++ t1lib-5.1.1/xglyph/Makefile.in 2008-01-05 19:18:31.000000000 +0100 ++@@ -24,7 +24,7 @@ ++ X_LIBS = @X_LIBS@ ++ TOPSRC = @top_srcdir@ ++ XPM_LIB = -lXpm ++-XLIB = @X_PRE_LIBS@ -lXext -lX11 @X_EXTRA_LIBS@ +++XLIB = -lX11 @X_EXTRA_LIBS@ ++ LDFLAGS = @LDFLAGS@ ++ LDLIBS = @LDLIBS@ ++ AR = ar rc ++@@ -65,7 +65,7 @@ ++ ++ T1LIB = ../lib/libt1.la ++ T1LIBX = ../lib/libt1x.la ++-XAWLIB = -lXaw -lXt -lXmu +++XAWLIB = -lXaw -lXt ++ ++ ++ all: xglyph +--- t1lib-5.1.1.orig/debian/patches/no-config.diff ++++ t1lib-5.1.1/debian/patches/no-config.diff +@@ -0,0 +1,57 @@ ++do not install a static configuration file ++ ++Index: t1lib-5.1.1/lib/Makefile.in ++=================================================================== ++--- t1lib-5.1.1.orig/lib/Makefile.in 2008-01-05 19:13:57.000000000 +0100 +++++ t1lib-5.1.1/lib/Makefile.in 2008-01-05 19:14:18.000000000 +0100 ++@@ -161,17 +161,17 @@ ++ install: dummy ++ $(MKINSTALLDIRS) $(DESTDIR)$(libdir) ++ $(MKINSTALLDIRS) $(DESTDIR)$(includedir) ++- $(MKINSTALLDIRS) $(DESTDIR)@T1LIB_DATA_DIR@ +++# $(MKINSTALLDIRS) $(DESTDIR)@T1LIB_DATA_DIR@ ++ $(LIBTOOL) --mode=install \ ++ $(INSTALL_DATA) $(MAIN_TARGET) $(DESTDIR)$(libdir) ++ $(LIBTOOL) --mode=install \ ++ $(INSTALL_DATA) $(MAIN_HEADER) $(DESTDIR)$(includedir) | ||
[+] | Deleted | _aggregate ^ |
@@ -1,5 +0,0 @@ -<aggregatelist> - <aggregate project="home:jg:devel"> - <package>t1lib</package> - </aggregate> -</aggregatelist> | ||
Added | t1lib-5.1.2.tar.gz ^ |