[Pkg-ocaml-maint-commits] r903 - in packages/ant/trunk: . debian debian/patches

Samuel Mimram smimram-guest@costa.debian.org
Sun, 16 Jan 2005 00:53:55 +0100


Author: smimram-guest
Date: 2005-01-16 00:53:34 +0100 (Sun, 16 Jan 2005)
New Revision: 903

Added:
   packages/ant/trunk/ant_0.6.orig.tar.gz
   packages/ant/trunk/debian/
   packages/ant/trunk/debian/changelog
   packages/ant/trunk/debian/compat
   packages/ant/trunk/debian/control
   packages/ant/trunk/debian/copyright
   packages/ant/trunk/debian/dirs
   packages/ant/trunk/debian/docs
   packages/ant/trunk/debian/examples
   packages/ant/trunk/debian/patches/
   packages/ant/trunk/debian/patches/00list
   packages/ant/trunk/debian/patches/makefile_path.dpatch
   packages/ant/trunk/debian/rules
Log:
First version of the ant package, waiting for license clarifications.

Added: packages/ant/trunk/ant_0.6.orig.tar.gz
===================================================================
(Binary files differ)


Property changes on: packages/ant/trunk/ant_0.6.orig.tar.gz
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: packages/ant/trunk/debian/changelog
===================================================================
--- packages/ant/trunk/debian/changelog	2005-01-15 17:41:40 UTC (rev 902)
+++ packages/ant/trunk/debian/changelog	2005-01-15 23:53:34 UTC (rev 903)
@@ -0,0 +1,6 @@
+ant (0.6-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Samuel Mimram <smimram@debian.org>  Sat, 15 Jan 2005 18:44:18 +0100
+

Added: packages/ant/trunk/debian/compat
===================================================================
--- packages/ant/trunk/debian/compat	2005-01-15 17:41:40 UTC (rev 902)
+++ packages/ant/trunk/debian/compat	2005-01-15 23:53:34 UTC (rev 903)
@@ -0,0 +1 @@
+4

Added: packages/ant/trunk/debian/control
===================================================================
--- packages/ant/trunk/debian/control	2005-01-15 17:41:40 UTC (rev 902)
+++ packages/ant/trunk/debian/control	2005-01-15 23:53:34 UTC (rev 903)
@@ -0,0 +1,13 @@
+Source: ant
+Section: text
+Priority: optional
+Maintainer: Samuel Mimram <smimram@debian.org>
+Build-Depends: debhelper (>= 4.0.0), ocaml-base-nox, ocaml-best-compilers, libkpathsea-dev, libfreetype6-dev, libgmp-ocaml-dev, libcamlimages-ocaml-dev, tetex-bin, dpatch
+Standards-Version: 3.6.1
+
+Package: ant
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: typesetting system inspired by TeX, aiming at a better design
+ Ant is a rewrite from scatch of a TeX-like aiming for a simple, clean, and
+ modular design.

Added: packages/ant/trunk/debian/copyright
===================================================================
--- packages/ant/trunk/debian/copyright	2005-01-15 17:41:40 UTC (rev 902)
+++ packages/ant/trunk/debian/copyright	2005-01-15 23:53:34 UTC (rev 903)
@@ -0,0 +1,12 @@
+This package was debianized by Samuel Mimram <smimram@debian.org> on
+Sat, 15 Jan 2005 18:44:18 +0100.
+
+It was downloaded from http://www-mgi.informatik.rwth-aachen.de/~blume/Download.html
+
+Copyright:
+
+Upstream Author: Achim Blumensath <achim.blumensath@labri.fr>
+
+License:
+
+<Must follow here>

Added: packages/ant/trunk/debian/dirs
===================================================================
--- packages/ant/trunk/debian/dirs	2005-01-15 17:41:40 UTC (rev 902)
+++ packages/ant/trunk/debian/dirs	2005-01-15 23:53:34 UTC (rev 903)
@@ -0,0 +1 @@
+usr/bin

Added: packages/ant/trunk/debian/docs
===================================================================
--- packages/ant/trunk/debian/docs	2005-01-15 17:41:40 UTC (rev 902)
+++ packages/ant/trunk/debian/docs	2005-01-15 23:53:34 UTC (rev 903)
@@ -0,0 +1,2 @@
+README
+manual.ps

Added: packages/ant/trunk/debian/examples
===================================================================
--- packages/ant/trunk/debian/examples	2005-01-15 17:41:40 UTC (rev 902)
+++ packages/ant/trunk/debian/examples	2005-01-15 23:53:34 UTC (rev 903)
@@ -0,0 +1 @@
+Examples

Added: packages/ant/trunk/debian/patches/00list
===================================================================
--- packages/ant/trunk/debian/patches/00list	2005-01-15 17:41:40 UTC (rev 902)
+++ packages/ant/trunk/debian/patches/00list	2005-01-15 23:53:34 UTC (rev 903)
@@ -0,0 +1 @@
+makefile_path

Added: packages/ant/trunk/debian/patches/makefile_path.dpatch
===================================================================
--- packages/ant/trunk/debian/patches/makefile_path.dpatch	2005-01-15 17:41:40 UTC (rev 902)
+++ packages/ant/trunk/debian/patches/makefile_path.dpatch	2005-01-15 23:53:34 UTC (rev 903)
@@ -0,0 +1,43 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## makefile_path.dpatch by Berke Durak <obdurak@free.fr>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Correct the paths in the Makefiles.
+
+@DPATCH@
+diff -urNad ant-0.6/Config.mk /tmp/dpep.Vi6JmA/ant-0.6/Config.mk
+--- ant-0.6/Config.mk	2004-10-23 14:41:51.000000000 +0200
++++ /tmp/dpep.Vi6JmA/ant-0.6/Config.mk	2005-01-15 18:51:17.000000000 +0100
+@@ -35,15 +35,15 @@
+ 
+ TEXMFCNF       := $(shell kpsewhich '--expand-var=$$TEXMFCNF')
+ HYPHENDIR      := $(shell kpsewhich '--expand-path=$$TEXMF/tex/generic/hyphen')
+-KPATHSEA_LFLAGS = -cclib -L/usr/local/teTeX/lib
+-KPATHSEA_CFLAGS = -cclib -I/usr/local/teTeX/include
++KPATHSEA_LFLAGS = -cclib -L/usr/lib
++KPATHSEA_CFLAGS = -cclib -I/usr/include/kpathsea
+ FREETYPE_FLAGS := $(addprefix -ccopt ,$(shell freetype-config --cflags))
+ X11_LFLAGS      = -cclib -L/usr/X11/lib
+ 
+ CAML_LIB_DIR   := $(shell $(MLC) -where)
+ 
+ #NUMLIB = nums.$(CMA)
+-NUMLIB = gmp/gmp.$(CMA)
++NUMLIB = gmp/gmp.$(CMA) -cclib -L/usr/lib/ocaml/3.08/gmp
+ 
+ INCFLAGS   = -I . -I Tools $(addprefix -I ,$(dir $@)) -I lib #$(addprefix -I ,$(DIRECTORIES))
+ WARNFLAGS  = -w Aes
+diff -urNad ant-0.6/Images/Makefile.inc /tmp/dpep.Vi6JmA/ant-0.6/Images/Makefile.inc
+--- ant-0.6/Images/Makefile.inc	2004-10-04 18:07:58.000000000 +0200
++++ /tmp/dpep.Vi6JmA/ant-0.6/Images/Makefile.inc	2005-01-15 18:51:17.000000000 +0100
+@@ -7,7 +7,9 @@
+                   xpm.$(CMO) xvthumb.$(CMO)
+ CAMLIMAGES_O    = tiffread.o tiffwrite.o xpmread.o xpmwrite.o ftintf.o gifread.o gifwrite.o jpegread.o \
+                   jpegwrite.o pngread.o pngwrite.o
+-CAMLIMAGES_LIBS = -lgif -ljpeg -ltiff -lfreetype -lpng -lz -lXpm
++CAMLIMAGES_LIBS = -L/usr/lib/ocaml/3.08/camlimages -lci_gif -lci_jpeg -lci_tiff \
++		  -lci_freetype -lci_png -lz -lci_xpm -lpng -ljpeg -lgif -ltiff \
++		  -L/usr/X11R6/lib/ -lXpm
+ 
+ Images/CamlImages.$(CMO):
+ 	$(MLC) -pack -o $@ $(CUSTOM) $(addprefix camlimages/, $(CAMLIMAGES_CMO))


Property changes on: packages/ant/trunk/debian/patches/makefile_path.dpatch
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/ant/trunk/debian/rules
===================================================================
--- packages/ant/trunk/debian/rules	2005-01-15 17:41:40 UTC (rev 902)
+++ packages/ant/trunk/debian/rules	2005-01-15 23:53:34 UTC (rev 903)
@@ -0,0 +1,98 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# We want to use dpatch.
+include /usr/share/dpatch/dpatch.make
+
+DESTDIR=$(CURDIR)/debian/ant
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	touch configure-stamp
+
+
+build: build-stamp
+build-stamp: patch-stamp configure-stamp 
+	dh_testdir
+
+	$(MAKE) depend
+	if [ -x /usr/bin/ocamlopt ] ; then \
+	    $(MAKE) ; \
+	else \
+	    $(MAKE) OPT= NATIVE= ; \
+	fi
+
+	touch build-stamp
+
+clean: unpatch
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+
+	# Add here commands to clean up after the build process.
+	-$(MAKE) clean
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	cp ant $(DESTDIR)/usr/bin
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs 
+	dh_installdocs
+	dh_installexamples
+#	dh_install
+#	dh_installmenu
+#	dh_installdebconf	
+#	dh_installlogrotate
+#	dh_installemacsen
+#	dh_installpam
+#	dh_installmime
+#	dh_installinit
+#	dh_installcron
+#	dh_installinfo
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+#	dh_perl
+#	dh_python
+#	dh_makeshlibs
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure


Property changes on: packages/ant/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *