pango is ready

This commit is contained in:
Ertuğrul Erata
2015-07-04 15:43:20 +03:00
parent 6da3190be0
commit bfee09872f
24 changed files with 627 additions and 0 deletions
@@ -0,0 +1,40 @@
diff -urNp openjade-1.3.2/grove/Makefile.sub devel/grove/Makefile.sub
--- openjade-1.3.2/grove/Makefile.sub 2002-10-20 23:47:24.000000000 +0200
+++ devel/grove/Makefile.sub 2007-07-23 15:39:23.000000000 +0200
@@ -1,4 +1,4 @@
LTVERSION=0:1:0
LIB=ogrove
-DEPLIBS=-lm
+DEPLIBS=-lm -lstdc++
OBJS=Node.o LocNode.o
diff -urNp openjade-1.3.2/spgrove/Makefile.sub devel/spgrove/Makefile.sub
--- openjade-1.3.2/spgrove/Makefile.sub 2002-11-15 23:46:50.000000000 +0100
+++ devel/spgrove/Makefile.sub 2007-07-23 16:06:13.000000000 +0200
@@ -1,9 +1,10 @@
LTVERSION=0:1:0
LIB=ospgrove
INCLUDE=-I$(srcdir)/../grove
-DEPLIBS=-lm -L$(TOP)/grove -L$(TOP)/grove/.libs \
+DEPLIBS=$(TOP)/grove/libogrove.la \
+ -lm -losp -L$(TOP)/grove/.libs \
-L$(TOP)/lib -L$(TOP)/lib/.libs \
- $(LIB_THREADS)
+ $(LIB_THREADS) -lstdc++
OBJS=GroveApp.o GroveBuilder.o SdNode.o
GENSRCS=grove_inst.cxx
diff -urNp openjade-1.3.2/style/Makefile.sub devel/style/Makefile.sub
--- openjade-1.3.2/style/Makefile.sub 2003-04-18 19:18:10.000000000 +0200
+++ devel/style/Makefile.sub 2007-07-23 16:08:26.000000000 +0200
@@ -1,8 +1,8 @@
LTVERSION=0:1:0
LIB=ostyle
-DEPLIBS=-lm -L$(TOP)/grove -L$(TOP)/grove/.libs \
- -L$(TOP)/lib -L$(TOP)/lib/.libs \
- -L$(TOP)/spgrove -L$(TOP)/spgrove/.libs
+DEPLIBS=$(TOP)/grove/libogrove.la $(TOP)/spgrove/libospgrove.la \
+ -lm -losp -L$(TOP)/lib -L$(TOP)/lib/.libs -L$(TOP)/grove/.libs \
+ -L$(TOP)/spgrove -L$(TOP)/spgrove/.libs -lstdc++
OBJS=LangObj.o \
Collector.o \
DssslApp.o \
@@ -0,0 +1,13 @@
Index: openjade-1.3.2/jade/Makefile.sub
===================================================================
--- openjade-1.3.2.orig/jade/Makefile.sub
+++ openjade-1.3.2/jade/Makefile.sub
@@ -4,7 +4,7 @@ OBJS=jade.o SgmlFOTBuilder.o RtfFOTBuild
INCLUDE=-I$(srcdir)/../grove -I$(srcdir)/../spgrove -I$(srcdir)/../style
# XLIBS=../style/libostyle.a ../spgrove/libospgrove.a ../grove/libogrove.a \
# ../lib/libosp.a
-XLIBS=../style/libostyle.a ../spgrove/libospgrove.a ../grove/libogrove.a $(splibdir)/libosp.a
+XLIBS=../style/libostyle.a ../grove/libogrove.a ../spgrove/libospgrove.a $(splibdir)/libosp.so
GENSRCS=JadeMessages.h HtmlMessages.h RtfMessages.h TeXMessages.h \
HtmlFOTBuilder_inst.cxx RtfFOTBuilder_inst.cxx TeXFOTBuilder_inst.cxx \
TransformFOTBuilder_inst.cxx MifMessages.h MifFOTBuilder_inst.cxx
@@ -0,0 +1,24 @@
See https://bugs.gentoo.org/show_bug.cgi?id=235610
--- config/configure.in
+++ config/configure.in
@@ -53,7 +53,7 @@
esac
# On PPC64 libosp is to be found in /usr/lib64; thus
# fall back to this directory
-test -d ${osplibdir}64 && osplibdir=${osplibdir}64
+test -f ${osplibdir}64/libosp.la && osplibdir=${osplibdir}64
AC_MSG_CHECKING(location of OpenSP Library)
AC_ARG_ENABLE(splibdir,
[ --enable-splibdir=pathlist
--- configure
+++ configure
@@ -1753,7 +1753,7 @@
esac
# On PPC64 libosp is to be found in /usr/lib64; thus
# fall back to this directory
-test -d ${osplibdir}64 && osplibdir=${osplibdir}64
+test -f ${osplibdir}64/libosp.la && osplibdir=${osplibdir}64
echo "$as_me:$LINENO: checking location of OpenSP Library" >&5
echo $ECHO_N "checking location of OpenSP Library... $ECHO_C" >&6
# Check whether --enable-splibdir or --disable-splibdir was given.
@@ -0,0 +1,32 @@
Use Getopt::Std in place of getopts.pl.
https://bugs.gentoo.org/show_bug.cgi?id=420083
--- a/msggen.pl
+++ b/msggen.pl
@@ -4,6 +4,7 @@
# See the file COPYING for copying permission.
use POSIX;
+use Getopt::Std;
# Package and version.
$package = 'openjade';
@@ -18,8 +19,7 @@
undef $opt_l;
undef $opt_p;
undef $opt_t;
-do 'getopts.pl';
-&Getopts('l:p:t:');
+getopts('l:p:t:');
$module = $opt_l;
$pot_file = $opt_p;
@@ -72,7 +72,7 @@
else {
$field[0] =~ /^[IWQXE][0-9]$/ || &error("invalid first field");;
$type[$num] = substr($field[0], 0, 1);
- $argc = int(substr($field[0], 1, 1));
+ $argc = substr($field[0], 1, 1);
}
$nargs[$num] = $argc;
$field[1] =~ /^[a-zA-Z_][a-zA-Z0-9_]+$/ || &error("invalid tag");
@@ -0,0 +1,12 @@
diff -ru a/Makefile.lib.in b/Makefile.lib.in
--- a/Makefile.lib.in 2002-01-22 05:57:53.000000000 -0600
+++ b/Makefile.lib.in 2009-01-04 16:15:41.000000000 -0600
@@ -23,7 +23,7 @@
echo 'LT_OBJS='`echo $(OBJS)|sed 's/\.o/.lo/g'` >Makefile.lt
lib$(LIB).la: $(LT_OBJS)
- $(LIBTOOL) --mode=link $(CC) $(LINKFLAGS) -o lib$(LIB).la $(LT_OBJS) \
+ $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) $(LINKFLAGS) -o lib$(LIB).la $(LT_OBJS) \
-rpath $(libdir) -version-info $(LTVERSION) $(DEPLIBS)
install:
@@ -0,0 +1 @@
SYSTEM "builtins.dsl" "builtins.dsl"
@@ -0,0 +1,4 @@
PUBLIC "-//James Clark//DTD DSSSL Flow Object Tree//EN" "fot.dtd"
PUBLIC "ISO/IEC 10179:1996//DTD DSSSL Architecture//EN" "dsssl.dtd"
PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" "style-sheet.dtd"
PUBLIC "-//OpenJade//DTD DSSSL Style Sheet//EN" "style-sheet.dtd"