update external tests -- camlp5 still missing because the AST has changed

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13734 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Damien Doligez 2013-06-03 14:06:57 +00:00
parent 38cac2d847
commit e86521630c
5 changed files with 70 additions and 0 deletions

View File

@ -21,6 +21,8 @@ calendar
calendar-2.03.2
camlimages
camlimages-4.0.1
camlpdf
camlpdf-0.5
camlp5
camlp5-6.08
camlzip

View File

@ -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:

25
testsuite/external/camlpdf-0.5.patch vendored Normal file
View File

@ -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

View File

@ -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 \

View File

@ -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)