diff options
-rw-r--r-- | testsuite/external/.ignore | 2 | ||||
-rw-r--r-- | testsuite/external/Makefile | 21 | ||||
-rw-r--r-- | testsuite/external/camlpdf-0.5.patch | 25 | ||||
-rw-r--r-- | testsuite/external/lablgtkextras-1.3.patch | 11 | ||||
-rw-r--r-- | testsuite/external/sks-1.1.3.patch | 11 |
5 files changed, 70 insertions, 0 deletions
diff --git a/testsuite/external/.ignore b/testsuite/external/.ignore index 586f738a3..9e5691ac7 100644 --- a/testsuite/external/.ignore +++ b/testsuite/external/.ignore @@ -21,6 +21,8 @@ calendar calendar-2.03.2 camlimages camlimages-4.0.1 +camlpdf +camlpdf-0.5 camlp5 camlp5-6.08 camlzip diff --git a/testsuite/external/Makefile b/testsuite/external/Makefile index a33d09d19..bb239ce53 100644 --- a/testsuite/external/Makefile +++ b/testsuite/external/Makefile @@ -1353,6 +1353,27 @@ distclean:: rm -f ${KAPUTT}.tar.gz all: kaputt +#http://www.coherentpdf.com/ocaml-libraries.html +CAMLPDF=camlpdf-0.5 +${CAMLPDF}.tar.bz2: + ${WGET} http://www.coherentpdf.com/$@ +camlpdf: ${CAMLPDF}.tar.bz2 + printf "%s " "$@" >/dev/tty + test -d ${PREFIX} + rm -rf ${CAMLPDF} + tar zxf ${CAMLPDF}.tar.bz2 + ./Patcher.sh ${CAMLPDF} + ( cd ${CAMLPDF} && \ + export PATH=${PREFIX}/bin:$$PATH && \ + ${MAKE} all && \ + ${MAKE} install ) + echo ${VERSION} >$@ +clean:: + rm -rf ${CAMLPDF} foo +distclean:: + rm -f ${CAMLPDF}.tar.gz +all: camlpdf + # http://pauillac.inria.fr/~ddr/camlp5/ CAMLP5=camlp5-6.08 ${CAMLP5}.tgz: diff --git a/testsuite/external/camlpdf-0.5.patch b/testsuite/external/camlpdf-0.5.patch new file mode 100644 index 000000000..e13ac3399 --- /dev/null +++ b/testsuite/external/camlpdf-0.5.patch @@ -0,0 +1,25 @@ +--- camlpdf-0.5.orig/makefile 2010-03-08 17:30:19.000000000 +0100 ++++ camlpdf-0.5/makefile 2013-05-30 17:07:12.000000000 +0200 +@@ -42,7 +42,7 @@ + + CLIBS = z + +-CFLAGS = -m32 ++#CFLAGS = -m32 + + #Uncomment for debug build + #OCAMLNCFLAGS = -g +@@ -56,6 +56,13 @@ + #Remove native-code-library if you don't have native compilers + all : byte-code-library native-code-library + ++LIBDIR="`ocamlc -where`"/camlpdf ++.PHONY: install ++install : ++ mkdir -p ${LIBDIR} ++ cp *.mli *.cm[ia] *.cmxa *.a *.so ${LIBDIR}/ ++ cp introduction_to_camlpdf.pdf ${LIBDIR}/ ++ + # Predefined generic makefile + -include OCamlMakefile + diff --git a/testsuite/external/lablgtkextras-1.3.patch b/testsuite/external/lablgtkextras-1.3.patch new file mode 100644 index 000000000..e36480fd0 --- /dev/null +++ b/testsuite/external/lablgtkextras-1.3.patch @@ -0,0 +1,11 @@ +--- lablgtkextras-1.3/src/Makefile.orig 2013-05-29 14:21:34.000000000 +0200 ++++ lablgtkextras-1.3/src/Makefile 2013-05-29 14:21:52.000000000 +0200 +@@ -29,7 +29,7 @@ + PACKAGES=config-file,lablgtk2.sourceview2,xmlm + OF_FLAGS= -package $(PACKAGES) + +-COMPFLAGS=-annot -g -warn-error A ++COMPFLAGS=-annot -g -warn-error a + + GELIB_CMOFILES= \ + gtke_version.cmo \ diff --git a/testsuite/external/sks-1.1.3.patch b/testsuite/external/sks-1.1.3.patch index 2ff1daf24..d59953402 100644 --- a/testsuite/external/sks-1.1.3.patch +++ b/testsuite/external/sks-1.1.3.patch @@ -7,3 +7,14 @@ diff -N -r -u sks-1.1.3.orig/Makefile.local sks-1.1.3/Makefile.local +export PREFIX +export LIBDB +export MANDIR +--- sks-1.1.3.orig/Makefile 2012-04-11 04:03:25.000000000 +0200 ++++ sks-1.1.3/Makefile 2013-05-30 14:40:03.000000000 +0200 +@@ -47,7 +47,7 @@ + + CAMLP4=-pp $(CAMLP4O) + CAMLINCLUDE= -I lib -I bdb +-COMMONCAMLFLAGS=$(CAMLINCLUDE) $(OCAMLLIB) -ccopt -Lbdb -dtypes -ccopt -pthread -ccopt -pg -warn-error A ++COMMONCAMLFLAGS=$(CAMLINCLUDE) $(OCAMLLIB) -ccopt -Lbdb -dtypes -ccopt -pthread -ccopt -pg -warn-error a + OCAMLDEP=ocamldep $(CAMLP4) + CAMLLIBS=unix.cma str.cma bdb.cma nums.cma bigarray.cma cryptokit.cma + OCAMLFLAGS=$(COMMONCAMLFLAGS) -g $(CAMLLIBS) |