[Pkg-ocaml-maint-commits] r3699 - in /trunk/packages/ocaml/branches/ocaml-3.10.0~beta/debian: changelog patches/00dpatch.conf patches/00list patches/build_wo_debug_info.dpatch

zack at users.alioth.debian.org zack at users.alioth.debian.org
Mon Apr 16 13:20:57 UTC 2007


Author: zack
Date: Mon Apr 16 13:20:56 2007
New Revision: 3699

URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/?sc=1&rev=3699
Log:
avoid building camlp4/ocamlbuild with debugging info to reduce the ocaml-nox .deb size

Added:
    trunk/packages/ocaml/branches/ocaml-3.10.0~beta/debian/patches/build_wo_debug_info.dpatch   (with props)
Modified:
    trunk/packages/ocaml/branches/ocaml-3.10.0~beta/debian/changelog
    trunk/packages/ocaml/branches/ocaml-3.10.0~beta/debian/patches/00dpatch.conf
    trunk/packages/ocaml/branches/ocaml-3.10.0~beta/debian/patches/00list

Modified: trunk/packages/ocaml/branches/ocaml-3.10.0~beta/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocaml/branches/ocaml-3.10.0%7Ebeta/debian/changelog?rev=3699&op=diff
==============================================================================
--- trunk/packages/ocaml/branches/ocaml-3.10.0~beta/debian/changelog (original)
+++ trunk/packages/ocaml/branches/ocaml-3.10.0~beta/debian/changelog Mon Apr 16 13:20:56 2007
@@ -9,6 +9,8 @@
     - removed: versioned_libdir (no longer needed with this upstream)
     - ported to this upstream: call_ld_with_proper_flags, alpha_ld_no-relax,
       no_rpath
+    - added: build_wo_debug_info.dpatch (avoid building camlp4/ocamldoc with
+      debug info, wont be needed for the stable release)
   * CDBS class
     - added support for the OCAML_DLL_DIR variable, pointing ATM to the
       stublibs/ subdirectory of the standard library directory. It's
@@ -34,7 +36,7 @@
     - Patch LIBDIR and STBLIBDIR setting in config/Makefile after invokation
       of configure
 
- -- Stefano Zacchiroli <zack at debian.org>  Sun, 15 Apr 2007 17:26:45 +0200
+ -- Stefano Zacchiroli <zack at debian.org>  Mon, 16 Apr 2007 15:19:03 +0200
 
 ocaml (3.09.3-1) experimental; urgency=low
 

Modified: trunk/packages/ocaml/branches/ocaml-3.10.0~beta/debian/patches/00dpatch.conf
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocaml/branches/ocaml-3.10.0%7Ebeta/debian/patches/00dpatch.conf?rev=3699&op=diff
==============================================================================
--- trunk/packages/ocaml/branches/ocaml-3.10.0~beta/debian/patches/00dpatch.conf (original)
+++ trunk/packages/ocaml/branches/ocaml-3.10.0~beta/debian/patches/00dpatch.conf Mon Apr 16 13:20:56 2007
@@ -1,2 +1,2 @@
 conf_debianonly=1
-conf_origtargzpath=../upstream
+conf_origtargzpath=../../upstream

Modified: trunk/packages/ocaml/branches/ocaml-3.10.0~beta/debian/patches/00list
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocaml/branches/ocaml-3.10.0%7Ebeta/debian/patches/00list?rev=3699&op=diff
==============================================================================
--- trunk/packages/ocaml/branches/ocaml-3.10.0~beta/debian/patches/00list (original)
+++ trunk/packages/ocaml/branches/ocaml-3.10.0~beta/debian/patches/00list Mon Apr 16 13:20:56 2007
@@ -9,3 +9,4 @@
 install_scripts_config.dpatch
 ocaml-interp_manpage.dpatch
 install_ocamlbuild.dpatch
+build_wo_debug_info.dpatch

Added: trunk/packages/ocaml/branches/ocaml-3.10.0~beta/debian/patches/build_wo_debug_info.dpatch
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocaml/branches/ocaml-3.10.0%7Ebeta/debian/patches/build_wo_debug_info.dpatch?rev=3699&op=file
==============================================================================
--- trunk/packages/ocaml/branches/ocaml-3.10.0~beta/debian/patches/build_wo_debug_info.dpatch (added)
+++ trunk/packages/ocaml/branches/ocaml-3.10.0~beta/debian/patches/build_wo_debug_info.dpatch Mon Apr 16 13:20:56 2007
@@ -1,0 +1,20 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## build_wo_debug_info.dpatch by Stefano Zacchiroli <zack at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Avoid building with debugging info ocamldoc and camlp4.
+## DP: Wont be needed for the stable release of ocaml 3.10.0.
+
+ at DPATCH@
+diff -urNad ocaml-3.10.0~beta~/_tags ocaml-3.10.0~beta/_tags
+--- ocaml-3.10.0~beta~/_tags	2007-03-04 12:00:26.000000000 +0100
++++ ocaml-3.10.0~beta/_tags	2007-04-16 15:02:20.000000000 +0200
+@@ -12,6 +12,8 @@
+ 
+ # We want -g everywhere it's possible
+ true: debug
++<ocamldoc/**>: -debug
++<camlp4/**>: -debug
+ 
+ # By default everything we link needs the stdlib
+ true: use_stdlib

Propchange: trunk/packages/ocaml/branches/ocaml-3.10.0~beta/debian/patches/build_wo_debug_info.dpatch
------------------------------------------------------------------------------
    svn:executable = *




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