[Pkg-ocaml-maint-commits] r1535 - in trunk/packages/demexp/trunk: . debian debian/patches

Thomas Petazzoni tpetazzo-guest at costa.debian.org
Fri Jul 29 22:04:33 UTC 2005


Author: tpetazzo-guest
Date: 2005-07-29 22:04:33 +0000 (Fri, 29 Jul 2005)
New Revision: 1535

Added:
   trunk/packages/demexp/trunk/debian/
   trunk/packages/demexp/trunk/debian/README.Debian
   trunk/packages/demexp/trunk/debian/changelog
   trunk/packages/demexp/trunk/debian/compat
   trunk/packages/demexp/trunk/debian/control
   trunk/packages/demexp/trunk/debian/copyright
   trunk/packages/demexp/trunk/debian/demexp-client-gtk2.dirs
   trunk/packages/demexp/trunk/debian/demexp-client-gtk2.docs
   trunk/packages/demexp/trunk/debian/demexp-client-gtk2.install
   trunk/packages/demexp/trunk/debian/demexp-client-gtk2.manpages
   trunk/packages/demexp/trunk/debian/demexp-client-gtk2.menu
   trunk/packages/demexp/trunk/debian/demexp-server.dirs
   trunk/packages/demexp/trunk/debian/demexp-server.docs
   trunk/packages/demexp/trunk/debian/demexp-server.install
   trunk/packages/demexp/trunk/debian/demexp-server.manpages
   trunk/packages/demexp/trunk/debian/dirs
   trunk/packages/demexp/trunk/debian/docs
   trunk/packages/demexp/trunk/debian/patches/
   trunk/packages/demexp/trunk/debian/patches/00list
   trunk/packages/demexp/trunk/debian/patches/configure.dpatch
   trunk/packages/demexp/trunk/debian/patches/makefile.dpatch
   trunk/packages/demexp/trunk/debian/rules
Log:
Control files for the newest version

Added: trunk/packages/demexp/trunk/debian/README.Debian
===================================================================
--- trunk/packages/demexp/trunk/debian/README.Debian	2005-07-29 22:03:18 UTC (rev 1534)
+++ trunk/packages/demexp/trunk/debian/README.Debian	2005-07-29 22:04:33 UTC (rev 1535)
@@ -0,0 +1,7 @@
+demexp for Debian
+-----------------
+
+This package contains the software written for the Democratic
+Experience project, http://www.demexp.org.
+
+ -- Thomas Petazzoni <thomas.petazzoni at enix.org>, Sun Apr 10 16:13:28 2005

Added: trunk/packages/demexp/trunk/debian/changelog
===================================================================
--- trunk/packages/demexp/trunk/debian/changelog	2005-07-29 22:03:18 UTC (rev 1534)
+++ trunk/packages/demexp/trunk/debian/changelog	2005-07-29 22:04:33 UTC (rev 1535)
@@ -0,0 +1,6 @@
+demexp (0.6-1) unstable; urgency=low
+
+  * Initial Release (upstream version 0.5.5)
+
+ -- Thomas Petazzoni <thomas.petazzoni at enix.org>  Sat, 29 Jan 2005 15:15:11 +0100
+

Added: trunk/packages/demexp/trunk/debian/compat
===================================================================
--- trunk/packages/demexp/trunk/debian/compat	2005-07-29 22:03:18 UTC (rev 1534)
+++ trunk/packages/demexp/trunk/debian/compat	2005-07-29 22:04:33 UTC (rev 1535)
@@ -0,0 +1 @@
+4

Added: trunk/packages/demexp/trunk/debian/control
===================================================================
--- trunk/packages/demexp/trunk/debian/control	2005-07-29 22:03:18 UTC (rev 1534)
+++ trunk/packages/demexp/trunk/debian/control	2005-07-29 22:04:33 UTC (rev 1535)
@@ -0,0 +1,21 @@
+Source: demexp
+Section: net
+Priority: optional
+Maintainer: Thomas Petazzoni <thomas.petazzoni at enix.org>
+Build-Depends: debhelper (>= 4.0.0), ocaml-nox-3.08.3, liblablgtk2-ocaml-dev, nowebm, latex, tetex-extra, ocaml-findlib, libpxp-ocaml-dev, libequeue-ocaml-dev, librpc-ocaml-dev, libnetclient-ocaml-dev, ocaml-ulex, ocaml-native-compilers, dpatch (>= 1.19), cduce (>= 0.3)
+Standards-Version: 3.6.2
+
+Package: demexp-client-gtk2
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: GTK2 client for the DemExp project
+ GTK2 client for the Democratic Experience Project.
+ See <http://www.demexp.org>
+
+Package: demexp-server
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: Server for the DemExp project
+ Server for the Democratic Experience Project.
+ See <http://www.demexp.org>
+

Added: trunk/packages/demexp/trunk/debian/copyright
===================================================================
--- trunk/packages/demexp/trunk/debian/copyright	2005-07-29 22:03:18 UTC (rev 1534)
+++ trunk/packages/demexp/trunk/debian/copyright	2005-07-29 22:04:33 UTC (rev 1535)
@@ -0,0 +1,30 @@
+This package was debianized by Thomas Petazzoni <thomas.petazzoni at enix.org> on
+Sat, 29 Jan 2005 15:15:11 +0100.
+
+It was downloaded from http://www.demexp.org
+
+Copyright (C) 2004-2005 by the Democratic Experience project
+
+Upstream Author: David Mentré <dmentre at linux-france.org>
+
+License:
+
+Main code is under GNU General Public License (GPL). It relies on
+external libraries and code of which licenses are GPL compatible (see
+source code for details).
+
+DemExp 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, or (at your option) any
+later version.
+
+DemExp is distributed in the hope that it will be useful, but WITHOUT
+ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+for more details.
+
+You should have received a copy of the GNU General Public License with
+your Debian GNU/Linux system, in /usr/share/common-licenses/GPL, or with
+the Debian GNU/Linux bash source package as the file COPYING.  If not,
+write to the Free Software Foundation, Inc., 59 Temple Place - Suite
+330, Boston, MA 02111-1307, USA.

Added: trunk/packages/demexp/trunk/debian/demexp-client-gtk2.dirs
===================================================================
--- trunk/packages/demexp/trunk/debian/demexp-client-gtk2.dirs	2005-07-29 22:03:18 UTC (rev 1534)
+++ trunk/packages/demexp/trunk/debian/demexp-client-gtk2.dirs	2005-07-29 22:04:33 UTC (rev 1535)
@@ -0,0 +1,2 @@
+usr/bin
+usr/share/pixmaps

Added: trunk/packages/demexp/trunk/debian/demexp-client-gtk2.docs
===================================================================
--- trunk/packages/demexp/trunk/debian/demexp-client-gtk2.docs	2005-07-29 22:03:18 UTC (rev 1534)
+++ trunk/packages/demexp/trunk/debian/demexp-client-gtk2.docs	2005-07-29 22:04:33 UTC (rev 1535)
@@ -0,0 +1 @@
+doc/demexp-book.pdf

Added: trunk/packages/demexp/trunk/debian/demexp-client-gtk2.install
===================================================================
--- trunk/packages/demexp/trunk/debian/demexp-client-gtk2.install	2005-07-29 22:03:18 UTC (rev 1534)
+++ trunk/packages/demexp/trunk/debian/demexp-client-gtk2.install	2005-07-29 22:04:33 UTC (rev 1535)
@@ -0,0 +1 @@
+gtk2-clnt/demexp-client-gtk2	usr/bin/

Added: trunk/packages/demexp/trunk/debian/demexp-client-gtk2.manpages
===================================================================
--- trunk/packages/demexp/trunk/debian/demexp-client-gtk2.manpages	2005-07-29 22:03:18 UTC (rev 1534)
+++ trunk/packages/demexp/trunk/debian/demexp-client-gtk2.manpages	2005-07-29 22:04:33 UTC (rev 1535)
@@ -0,0 +1 @@
+doc/demexp-client-gtk2.1

Added: trunk/packages/demexp/trunk/debian/demexp-client-gtk2.menu
===================================================================
--- trunk/packages/demexp/trunk/debian/demexp-client-gtk2.menu	2005-07-29 22:03:18 UTC (rev 1534)
+++ trunk/packages/demexp/trunk/debian/demexp-client-gtk2.menu	2005-07-29 22:04:33 UTC (rev 1535)
@@ -0,0 +1,4 @@
+?package(demexp-client-gtk2):command="/usr/bin/demexp-client-gtk2" \
+  icon="/usr/share/pixmaps/demexp.xpm" \
+  needs="X11" \
+  section="Apps/Net" title="DemExp Client"

Added: trunk/packages/demexp/trunk/debian/demexp-server.dirs
===================================================================
--- trunk/packages/demexp/trunk/debian/demexp-server.dirs	2005-07-29 22:03:18 UTC (rev 1534)
+++ trunk/packages/demexp/trunk/debian/demexp-server.dirs	2005-07-29 22:04:33 UTC (rev 1535)
@@ -0,0 +1 @@
+usr/bin

Added: trunk/packages/demexp/trunk/debian/demexp-server.docs
===================================================================
--- trunk/packages/demexp/trunk/debian/demexp-server.docs	2005-07-29 22:03:18 UTC (rev 1534)
+++ trunk/packages/demexp/trunk/debian/demexp-server.docs	2005-07-29 22:04:33 UTC (rev 1535)
@@ -0,0 +1 @@
+doc/demexp-book.pdf

Added: trunk/packages/demexp/trunk/debian/demexp-server.install
===================================================================
--- trunk/packages/demexp/trunk/debian/demexp-server.install	2005-07-29 22:03:18 UTC (rev 1534)
+++ trunk/packages/demexp/trunk/debian/demexp-server.install	2005-07-29 22:04:33 UTC (rev 1535)
@@ -0,0 +1 @@
+srv/demexp-server	usr/bin/

Added: trunk/packages/demexp/trunk/debian/demexp-server.manpages
===================================================================
--- trunk/packages/demexp/trunk/debian/demexp-server.manpages	2005-07-29 22:03:18 UTC (rev 1534)
+++ trunk/packages/demexp/trunk/debian/demexp-server.manpages	2005-07-29 22:04:33 UTC (rev 1535)
@@ -0,0 +1 @@
+doc/demexp-server.1

Added: trunk/packages/demexp/trunk/debian/dirs
===================================================================
--- trunk/packages/demexp/trunk/debian/dirs	2005-07-29 22:03:18 UTC (rev 1534)
+++ trunk/packages/demexp/trunk/debian/dirs	2005-07-29 22:04:33 UTC (rev 1535)
@@ -0,0 +1,2 @@
+usr/bin
+usr/sbin

Added: trunk/packages/demexp/trunk/debian/docs
===================================================================
--- trunk/packages/demexp/trunk/debian/docs	2005-07-29 22:03:18 UTC (rev 1534)
+++ trunk/packages/demexp/trunk/debian/docs	2005-07-29 22:04:33 UTC (rev 1535)
@@ -0,0 +1 @@
+README

Added: trunk/packages/demexp/trunk/debian/patches/00list
===================================================================
--- trunk/packages/demexp/trunk/debian/patches/00list	2005-07-29 22:03:18 UTC (rev 1534)
+++ trunk/packages/demexp/trunk/debian/patches/00list	2005-07-29 22:04:33 UTC (rev 1535)
@@ -0,0 +1,2 @@
+configure
+makefile

Added: trunk/packages/demexp/trunk/debian/patches/configure.dpatch
===================================================================
--- trunk/packages/demexp/trunk/debian/patches/configure.dpatch	2005-07-29 22:03:18 UTC (rev 1534)
+++ trunk/packages/demexp/trunk/debian/patches/configure.dpatch	2005-07-29 22:04:33 UTC (rev 1535)
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## configure.dpatch by  <thomas at crazy.kos.nx>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad demexp-0.6/configure /tmp/dpep.3H46lg/demexp-0.6/configure
+--- demexp-0.6/configure	2005-07-11 21:57:53.000000000 +0200
++++ /tmp/dpep.3H46lg/demexp-0.6/configure	2005-07-29 22:42:08.000000000 +0200
+@@ -245,6 +245,8 @@
+ echo "EXTERNAL_INC=$external_include" >> Makefile
+ 
+ external_cmxa=`ocamlfind query -predicates native -a-format -recursive -separator ' ' $external_package`
++# remove spurious '+'
++external_cmxa=`echo $external_cmxa | sed -e "s|+||g"`
+ echo "EXTERNAL_CMXA=$external_cmxa" >> Makefile
+ 
+ # compute default targets and finish Makefile


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

Added: trunk/packages/demexp/trunk/debian/patches/makefile.dpatch
===================================================================
--- trunk/packages/demexp/trunk/debian/patches/makefile.dpatch	2005-07-29 22:03:18 UTC (rev 1534)
+++ trunk/packages/demexp/trunk/debian/patches/makefile.dpatch	2005-07-29 22:04:33 UTC (rev 1535)
@@ -0,0 +1,32 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## makefile.dpatch by  <thomas at crazy.kos.nx>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad demexp-0.6/config/Makefile.inc /tmp/dpep.zwxuPe/demexp-0.6/config/Makefile.inc
+--- demexp-0.6/config/Makefile.inc	2005-07-11 21:57:53.000000000 +0200
++++ /tmp/dpep.zwxuPe/demexp-0.6/config/Makefile.inc	2005-07-29 23:19:21.000000000 +0200
+@@ -63,7 +63,7 @@
+ 
+ 
+ OCAMLC:=ocamlc.opt
+-OCAMLOPT:=ocamlopt.opt
++OCAMLOPT:=ocamlfind ocamlopt -linkpkg
+ OCAMLDEP:=ocamldep
+ OCAMLLEX:=ocamllex
+ OCAMLYACC:=ocamlyacc
+@@ -418,10 +418,10 @@
+ 	$(CDUCE) $(SRV_OCAMLINC) --compile $<
+ 
+ %.cmo: %.cdo
+-	$(OCAMLC) -c $(SRV_OCAMLINC) -pp "cdo2ml -static" -impl $<
++	cd $(<D) ; $(OCAMLC) -c -package "cduce" -pp "$(CDUCE) --mlstub" -impl $(<F)
+ 
+ %.cmx: %.cdo
+-	$(OCAMLOPT) -c $(SRV_OCAMLINC) -pp "cdo2ml -static" -impl $<
++	cd $(<D) ; $(OCAMLOPT) -c -package "cduce" -pp "$(CDUCE) --mlstub" -impl $(<F)
+ 
+ ### O'Caml sources dependencies
+ 


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

Added: trunk/packages/demexp/trunk/debian/rules
===================================================================
--- trunk/packages/demexp/trunk/debian/rules	2005-07-29 22:03:18 UTC (rev 1534)
+++ trunk/packages/demexp/trunk/debian/rules	2005-07-29 22:04:33 UTC (rev 1535)
@@ -0,0 +1,80 @@
+#!/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
+
+include /usr/share/dpatch/dpatch.make
+PACKAGE = demexp
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	# Add here commands to configure the package.
+	./configure
+	touch configure-stamp
+
+
+build: build-stamp
+
+build-stamp: patch-stamp configure-stamp 
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE) bin doc pdf
+	#docbook-to-man debian/demexp.sgml > demexp.1
+
+	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.
+	@rm -f gtk2-clnt/demexp-client-gtk2
+	@rm -f gtk2-clnt/demexp-client-gtk2-book.pdf
+#	-$(MAKE) clean
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+	mv gtk2-clnt/demexp-gtk2-client gtk2-clnt/demexp-client-gtk2
+	mv doc/demexp-gtk2-client.1 doc/demexp-client-gtk2.1
+	cp misc/demexp.xpm debian/demexp-client-gtk2/usr/share/pixmaps/
+	dh_install
+
+# 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_installmenu
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	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: trunk/packages/demexp/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *




More information about the Pkg-ocaml-maint-commits mailing list