--- ceve-1.4.orig/Makefile +++ ceve-1.4/Makefile @@ -20,7 +20,7 @@ cnf_writer.mli graphviz_writer.mli oz_writer.mli OBJS = $(OCAML_SOURCES:.ml=.cmo) XBJS = $(OCAML_SOURCES:.ml=.cmx) -CMIS = $(OCAML_MLIS:.mli=.cmi) +CMIS = $(OCAML_MLIS:.mli=.cmi) ceve.cmi PACKAGES = -package dose2.lifetime,dose2.ocamlpkgsrc,dose2.ocamlrpm,dose2.ocamldeb,dose2.dosebase,str,$(CAMLZIP_NAME) #ifdef USE_OCAMLDUCE @@ -28,8 +28,11 @@ #DUCEDIR=$(shell ocamlfind query ocamlduce) #endif +all: ceve +opt: ceve.opt + ceve: $(OBJS) - $(OCAMLFIND) ocamlc -I $(DUCEDIR) -thread -custom -o $@ -linkpkg $(PACKAGES) $(C_LIBRARIES) $(CCOPTFLAGS) $(OBJS) + $(OCAMLFIND) ocamlc -thread -o $@ -linkpkg $(PACKAGES) $(C_LIBRARIES) $(CCOPTFLAGS) $(OBJS) ceve.opt: $(XBJS) # bug in ocamlducefind @@ -60,7 +63,7 @@ $(OCAMLFIND) ocamlopt $(PACKAGES) -c $< %.cmi: %.mli - $(OCAMLFIND) ocamlopt $(PACKAGES) -c $< + $(OCAMLFIND) ocamlc $(PACKAGES) -c $< doc: $(CMIS) @rm -rf doc @@ -72,8 +75,12 @@ @rm -rf ceve ceve.opt doc $(OBJS) $(XBJS) $(CMIS) $(OCAML_SOURCES:.ml=.o) install: ceve - { test ! -f ceve.opt || install ceve.opt $(BINDIR); }; \ - install ceve $(BINDIR) + mkdir -p $(BINDIR) + if [ -f ceve.opt ] ; then \ + cp ceve.opt $(BINDIR)/ceve ; \ + else \ + cp ceve $(BINDIR)/ceve ; \ + fi depend: $(OCAMLFIND) ocamldep $(OCAML_SOURCES) $(OCAML_MLIS) > .depend --- ceve-1.4.orig/debian/changelog +++ ceve-1.4/debian/changelog @@ -0,0 +1,40 @@ +ceve (1.4-1) unstable; urgency=low + + * New Upstream Version + * Standards-Version 3.8.2 (no change) + * Bump dependency on libdose-ocaml-dev to >= 1.4.2 + + -- Ralf Treinen Tue, 21 Jul 2009 20:04:42 +0200 + +ceve (1.3.1-1) unstable; urgency=low + + * New upstream version + + -- Ralf Treinen Fri, 22 May 2009 09:00:35 +0200 + +ceve (1.3-1) unstable; urgency=low + + * New upstream version + + -- Ralf Treinen Mon, 18 May 2009 21:12:46 +0200 + +ceve (1.2.1-1) unstable; urgency=low + + [ Ralf Treinen ] + * New upstream release + * Add debian/watch + * debian/rules: class/ocaml.ml -> rules/ocaml.mk + * Standards-version 3.8.1 (no change) + * Build-dependency add dh-ocaml, libdose2 must be >= 1.4-2 + * Add myself to Uploaders + + [ Stefano Zacchiroli ] + * ship ceve.1 manpage + + -- Ralf Treinen Thu, 26 Mar 2009 08:20:45 +0100 + +ceve (1.1-1) experimental; urgency=low + + * Initial release. (Closes: #484280) + + -- Stefano Zacchiroli Tue, 03 Jun 2008 14:30:29 +0200 --- ceve-1.4.orig/debian/rules +++ ceve-1.4/debian/rules @@ -0,0 +1,17 @@ +#!/usr/bin/make -f +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/makefile.mk +include /usr/share/cdbs/1/rules/ocaml.mk + +BIN_PKG = ceve + +ifeq ($(OCAML_HAVE_OCAMLOPT),yes) +DEB_MAKE_BUILD_TARGET = opt +else +DEB_MAKE_BUILD_TARGET = all + +DEB_DH_GENCONTROL_ARGS += -VF:OCamlInterpDepends="ocaml-base-nox-$(OCAML_ABI), libdose2-ocaml, libexpat-ocaml" +DEB_STRIP_EXCLUDE += usr/bin/ceve +endif +DEB_MAKE_INSTALL_TARGET = install BINDIR=$(CURDIR)/debian/$(BIN_PKG)/usr/bin + --- ceve-1.4.orig/debian/watch +++ ceve-1.4/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://gforge.inria.fr/frs/?group_id=929 .*/ceve-(.*)\.tar\.gz --- ceve-1.4.orig/debian/copyright +++ ceve-1.4/debian/copyright @@ -0,0 +1,25 @@ +This package was debianized by Stefano Zacchiroli on +Tue, 03 Jun 2008 14:33:15 +0200. + +It was downloaded from + +Files: * +Copyright: © 2004-2008 Jaap Boender +License: GPL-2+ + + Ceve is free software: you can redistribute it and/or modify it under the + terms of the GNU General Public License as published by the Free Software + Foundation, either version 2 of the License, or (at your option) any later + version. + + On Debian systems, the complete text of the latest GNU General Public License + can be found in `/usr/share/common-licenses/LGPL'. + +Files: debian/* +Copyright: © 2008 Stefano Zacchiroli +License: GPL-3+ + + The Debian packaging is copyright Stefano Zacchiroli, and licensed under the + GNU General Public License, see `/usr/share/common-licenses/GPL' for the full + text. + --- ceve-1.4.orig/debian/compat +++ ceve-1.4/debian/compat @@ -0,0 +1 @@ +7 --- ceve-1.4.orig/debian/control +++ ceve-1.4/debian/control @@ -0,0 +1,41 @@ +Source: ceve +Section: devel +Priority: optional +Maintainer: Debian OCaml Maintainers +Uploaders: Stefano Zacchiroli , + Ralf Treinen +Build-Depends: cdbs, debhelper (>= 7), dh-ocaml, + ocaml-nox, ocaml-findlib, + libdose2-ocaml-dev (>= 1.4.2), + libexpat-ocaml-dev +Standards-Version: 3.8.2 +Homepage: http://sodiac.gforge.inria.fr/ +Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/ceve.git +Vcs-Git: git://git.debian.org/git/pkg-ocaml-maint/packages/ceve.git + +Package: ceve +Architecture: any +Depends: ${F:OCamlInterpDepends}, + ${shlibs:Depends}, + ${misc:Depends} +Description: utility to parse package dependencies as set of constraints + Ceve is a command line utility used to parse package metadata + information (in particular package interrelationships such as + dependencies) and convert them to set of constraints that need to + be satisfied by a proper package installation. + . + Supported input formats for package metadata are: + * .deb packages + * Debian package lists (i.e. as in Packages.gz) + * .rpm packages + * RPM package lists + * EGraph (XML based format, derived from GraphML) + . + Supported output formats for set of constraints are: + * pretty printed format for human consumption + * EGraph + * Dose base, suitable as input for the Pkglab tool + * Oz (a programming language supporting constraint programming) + * Graphviz + * Tart, suitable as input for the Tart media partitioner + --- ceve-1.4.orig/debian/ceve.manpages +++ ceve-1.4/debian/ceve.manpages @@ -0,0 +1 @@ +ceve.1