From ba06c2d6a37dc081a3a8c5a01426a0a009428ca9 Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Tue, 29 Jul 2014 14:02:16 +0000 Subject: Rename p*/ patch-xy patches to reflect the files they modify. --- print/transfig/files/patch-ac | 71 ------------------------ print/transfig/files/patch-ba | 49 ---------------- print/transfig/files/patch-fig2dev_Imakefile | 71 ++++++++++++++++++++++++ print/transfig/files/patch-fig2dev_dev_korean.ps | 49 ++++++++++++++++ 4 files changed, 120 insertions(+), 120 deletions(-) delete mode 100644 print/transfig/files/patch-ac delete mode 100644 print/transfig/files/patch-ba create mode 100644 print/transfig/files/patch-fig2dev_Imakefile create mode 100644 print/transfig/files/patch-fig2dev_dev_korean.ps (limited to 'print/transfig') diff --git a/print/transfig/files/patch-ac b/print/transfig/files/patch-ac deleted file mode 100644 index b9f1a4acbdc7..000000000000 --- a/print/transfig/files/patch-ac +++ /dev/null @@ -1,71 +0,0 @@ ---- fig2dev/Imakefile.orig Thu Oct 27 09:56:02 2005 -+++ fig2dev/Imakefile -@@ -34,7 +34,7 @@ - XCOMM You should point XFIGLIBDIR to the same directory you did when you compiled - XCOMM and installed xfig. - --XFIGLIBDIR = /usr/local/lib/X11/xfig -+XFIGLIBDIR = $(LIBDIR)/xfig - - XCOMM ****** - XCOMM If your system doesn't have the strerror() function (has sys_errlist) then -@@ -53,7 +53,7 @@ - XCOMM inline functions. With the "INLINE" keyword, you should notice that - XCOMM the display will be a bit faster in complex figures - --XCOMM USEINLINE = -DUSE_INLINE -+USEINLINE = -DUSE_INLINE - - XCOMM **************** - XCOMM Change RGB if necessary, to point to your rgb.txt color database -@@ -74,9 +74,9 @@ - XCOMM file are in different places - - #ifdef USEPNG --PNGLIBDIR = $(USRLIBDIR) -+PNGLIBDIR = ${LOCALBASE}/lib - ZLIBDIR = $(USRLIBDIR) --PNGINC = -I/usr/include/X11 -+PNGINC = -I${LOCALBASE}/include/libpng - #endif - - XCOMM **************** -@@ -92,7 +92,7 @@ - - #ifdef USEXPM - XPMLIBDIR = $(USRLIBDIR) --XPMINC = -I/usr/include/X11 -+XPMINC = -I$(INCDIR)/X11 - #endif - - XCOMM **************** -@@ -141,7 +141,7 @@ - - #ifdef I18N - I18N_DEFS = -DI18N --FIG2DEV_LIBDIR = /usr/local/lib/fig2dev -+FIG2DEV_LIBDIR = $(LIBDIR)/fig2dev - I18N_DEV_DEFS = $(I18N_DEFS) -DFIG2DEV_LIBDIR=$(FIG2DEV_LIBDIR) -DFIG2DEV_LIBDIR_STR=\\\"$(FIG2DEV_LIBDIR)\\\" - - #endif /* I18N */ -@@ -188,11 +188,7 @@ - INCLUDES = -I.. - - LOCAL_LIBRARIES = $(LIBTRANSFIG) --#if defined(NetBSDArchitecture) || defined(FreeBSDArchitecture) --SYS_LIBRARIES = $(PNGLIBS) $(XPMLIBS) -lm -lcompat --#else - SYS_LIBRARIES = $(PNGLIBS) $(XPMLIBS) -lm --#endif - DEPLIBS = $(LIBTRANSFIG) - - #if !(defined(SunOSPlatform) && (OSMajorVersion>=5)) -@@ -229,7 +225,7 @@ - else (set -x; $(MKDIRHIER) $(DESTDIR)$(XFIGLIBDIR)/bitmaps ); fi ; \ - echo Copying bitmap files for tk to $(DESTDIR)$(XFIGLIBDIR)/bitmaps ; \ - for f in * ; do \ -- $(INSTALL) -c $$f $(DESTDIR)$(XFIGLIBDIR)/bitmaps ; \ -+ $(INSTALL) $(INSTALLFLAGS) $(INSTDATFLAGS) $$f $(DESTDIR)$(XFIGLIBDIR)/bitmaps ; \ - done) ; - - install.all:: diff --git a/print/transfig/files/patch-ba b/print/transfig/files/patch-ba deleted file mode 100644 index c84166115ff2..000000000000 --- a/print/transfig/files/patch-ba +++ /dev/null @@ -1,49 +0,0 @@ ---- fig2dev/dev/korean.ps.orig Sat Jul 15 02:23:17 2000 -+++ fig2dev/dev/korean.ps Sat Jul 15 02:27:58 2000 -@@ -9,14 +9,18 @@ - % available, it try to use HLaTeX-Myoungjo-Regular-KSC-EUC-H - % and HLaTeX-Gothic-Regular-KSC-EUC-H instead. - % --- T.Sato, 1999/8/13 -+% -+% Search Batang/Dotum-KSC-EUC-H instead Munhwa family. -+% --- CHOI Junho 2000/7/15 -+% - --/has_munhwa_font true def --FontDirectory /Munhwa-Regular-KSC-EUC-H known not { -+/has_baekmuk_font true def -+FontDirectory /Batang-Medium-KSC-EUC-H known not { - systemdict /resourcestatus known { -- /Munhwa-Regular-KSC-EUC-H /Font resourcestatus { -+ /Batang-Medium-KSC-EUC-H /Font resourcestatus { - pop pop - } { -- /has_munhwa_font false def -+ /has_baekmuk_font false def - } ifelse - } if - } if -@@ -25,9 +29,9 @@ - /FontName /CompositeRoman def /FontType 0 def - /WMode 0 def /FMapType 3 def /FontMatrix matrix def - /Encoding [0 1] def -- has_munhwa_font { -+ has_baekmuk_font { - /FDepVector [ /Times-Roman findfont -- /Munhwa-Regular-KSC-EUC-H findfont ] def -+ /Batang-Medium-KSC-EUC-H findfont ] def - } { - /FDepVector [ /Times-Roman findfont - /HLaTeX-Myoungjo-Regular-KSC-EUC-H findfont ] def -@@ -40,9 +44,9 @@ - /FontName /CompositeBold def /FontType 0 def - /WMode 0 def /FMapType 3 def /FontMatrix matrix def - /Encoding [0 1] def -- has_munhwa_font { -+ has_baekmuk_font { - /FDepVector [ /Times-Bold findfont -- /MunhwaGothic-Bold-KSC-EUC-H findfont ] def -+ /Dotum-Medium-KSC-EUC-H findfont ] def - } { - /FDepVector [ /Times-Bold findfont - /HLaTeX-Gothic-Regular-KSC-EUC-H findfont ] def diff --git a/print/transfig/files/patch-fig2dev_Imakefile b/print/transfig/files/patch-fig2dev_Imakefile new file mode 100644 index 000000000000..b9f1a4acbdc7 --- /dev/null +++ b/print/transfig/files/patch-fig2dev_Imakefile @@ -0,0 +1,71 @@ +--- fig2dev/Imakefile.orig Thu Oct 27 09:56:02 2005 ++++ fig2dev/Imakefile +@@ -34,7 +34,7 @@ + XCOMM You should point XFIGLIBDIR to the same directory you did when you compiled + XCOMM and installed xfig. + +-XFIGLIBDIR = /usr/local/lib/X11/xfig ++XFIGLIBDIR = $(LIBDIR)/xfig + + XCOMM ****** + XCOMM If your system doesn't have the strerror() function (has sys_errlist) then +@@ -53,7 +53,7 @@ + XCOMM inline functions. With the "INLINE" keyword, you should notice that + XCOMM the display will be a bit faster in complex figures + +-XCOMM USEINLINE = -DUSE_INLINE ++USEINLINE = -DUSE_INLINE + + XCOMM **************** + XCOMM Change RGB if necessary, to point to your rgb.txt color database +@@ -74,9 +74,9 @@ + XCOMM file are in different places + + #ifdef USEPNG +-PNGLIBDIR = $(USRLIBDIR) ++PNGLIBDIR = ${LOCALBASE}/lib + ZLIBDIR = $(USRLIBDIR) +-PNGINC = -I/usr/include/X11 ++PNGINC = -I${LOCALBASE}/include/libpng + #endif + + XCOMM **************** +@@ -92,7 +92,7 @@ + + #ifdef USEXPM + XPMLIBDIR = $(USRLIBDIR) +-XPMINC = -I/usr/include/X11 ++XPMINC = -I$(INCDIR)/X11 + #endif + + XCOMM **************** +@@ -141,7 +141,7 @@ + + #ifdef I18N + I18N_DEFS = -DI18N +-FIG2DEV_LIBDIR = /usr/local/lib/fig2dev ++FIG2DEV_LIBDIR = $(LIBDIR)/fig2dev + I18N_DEV_DEFS = $(I18N_DEFS) -DFIG2DEV_LIBDIR=$(FIG2DEV_LIBDIR) -DFIG2DEV_LIBDIR_STR=\\\"$(FIG2DEV_LIBDIR)\\\" + + #endif /* I18N */ +@@ -188,11 +188,7 @@ + INCLUDES = -I.. + + LOCAL_LIBRARIES = $(LIBTRANSFIG) +-#if defined(NetBSDArchitecture) || defined(FreeBSDArchitecture) +-SYS_LIBRARIES = $(PNGLIBS) $(XPMLIBS) -lm -lcompat +-#else + SYS_LIBRARIES = $(PNGLIBS) $(XPMLIBS) -lm +-#endif + DEPLIBS = $(LIBTRANSFIG) + + #if !(defined(SunOSPlatform) && (OSMajorVersion>=5)) +@@ -229,7 +225,7 @@ + else (set -x; $(MKDIRHIER) $(DESTDIR)$(XFIGLIBDIR)/bitmaps ); fi ; \ + echo Copying bitmap files for tk to $(DESTDIR)$(XFIGLIBDIR)/bitmaps ; \ + for f in * ; do \ +- $(INSTALL) -c $$f $(DESTDIR)$(XFIGLIBDIR)/bitmaps ; \ ++ $(INSTALL) $(INSTALLFLAGS) $(INSTDATFLAGS) $$f $(DESTDIR)$(XFIGLIBDIR)/bitmaps ; \ + done) ; + + install.all:: diff --git a/print/transfig/files/patch-fig2dev_dev_korean.ps b/print/transfig/files/patch-fig2dev_dev_korean.ps new file mode 100644 index 000000000000..c84166115ff2 --- /dev/null +++ b/print/transfig/files/patch-fig2dev_dev_korean.ps @@ -0,0 +1,49 @@ +--- fig2dev/dev/korean.ps.orig Sat Jul 15 02:23:17 2000 ++++ fig2dev/dev/korean.ps Sat Jul 15 02:27:58 2000 +@@ -9,14 +9,18 @@ + % available, it try to use HLaTeX-Myoungjo-Regular-KSC-EUC-H + % and HLaTeX-Gothic-Regular-KSC-EUC-H instead. + % --- T.Sato, 1999/8/13 ++% ++% Search Batang/Dotum-KSC-EUC-H instead Munhwa family. ++% --- CHOI Junho 2000/7/15 ++% + +-/has_munhwa_font true def +-FontDirectory /Munhwa-Regular-KSC-EUC-H known not { ++/has_baekmuk_font true def ++FontDirectory /Batang-Medium-KSC-EUC-H known not { + systemdict /resourcestatus known { +- /Munhwa-Regular-KSC-EUC-H /Font resourcestatus { ++ /Batang-Medium-KSC-EUC-H /Font resourcestatus { + pop pop + } { +- /has_munhwa_font false def ++ /has_baekmuk_font false def + } ifelse + } if + } if +@@ -25,9 +29,9 @@ + /FontName /CompositeRoman def /FontType 0 def + /WMode 0 def /FMapType 3 def /FontMatrix matrix def + /Encoding [0 1] def +- has_munhwa_font { ++ has_baekmuk_font { + /FDepVector [ /Times-Roman findfont +- /Munhwa-Regular-KSC-EUC-H findfont ] def ++ /Batang-Medium-KSC-EUC-H findfont ] def + } { + /FDepVector [ /Times-Roman findfont + /HLaTeX-Myoungjo-Regular-KSC-EUC-H findfont ] def +@@ -40,9 +44,9 @@ + /FontName /CompositeBold def /FontType 0 def + /WMode 0 def /FMapType 3 def /FontMatrix matrix def + /Encoding [0 1] def +- has_munhwa_font { ++ has_baekmuk_font { + /FDepVector [ /Times-Bold findfont +- /MunhwaGothic-Bold-KSC-EUC-H findfont ] def ++ /Dotum-Medium-KSC-EUC-H findfont ] def + } { + /FDepVector [ /Times-Bold findfont + /HLaTeX-Gothic-Regular-KSC-EUC-H findfont ] def -- cgit v1.2.3