[Pkg-cli-apps-commits] r4547 - in /packages/monodevelop-java/trunk/debian: changelog patches/00list patches/allow_minimal_configure_for_clean.dpatch rules
directhex-guest at users.alioth.debian.org
directhex-guest at users.alioth.debian.org
Thu Feb 19 22:09:11 UTC 2009
Author: directhex-guest
Date: Thu Feb 19 22:09:11 2009
New Revision: 4547
URL: http://svn.debian.org/wsvn/pkg-cli-apps/?sc=1&rev=4547
Log:
Patch to remove the obnoxious "need build-deps installed to run clean rule" requirement
Added:
packages/monodevelop-java/trunk/debian/patches/allow_minimal_configure_for_clean.dpatch
Modified:
packages/monodevelop-java/trunk/debian/changelog
packages/monodevelop-java/trunk/debian/patches/00list
packages/monodevelop-java/trunk/debian/rules
Modified: packages/monodevelop-java/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-cli-apps/packages/monodevelop-java/trunk/debian/changelog?rev=4547&op=diff
==============================================================================
--- packages/monodevelop-java/trunk/debian/changelog (original)
+++ packages/monodevelop-java/trunk/debian/changelog Thu Feb 19 22:09:11 2009
@@ -1,3 +1,13 @@
+monodevelop-java (1.9.2-2) UNRELEASED; urgency=low
+
+ * NOT RELEASED YET
+ * debian/rules,
+ debian/patches/allow_minimal_configure_for_clean.dpatch:
+ + Tweak build process to allow "clean" rule to run without
+ all the package dependencies installed
+
+ -- Jo Shields <directhex at apebox.org> Thu, 19 Feb 2009 21:30:56 +0000
+
monodevelop-java (1.9.2-1) experimental; urgency=low
[ Jo Shields ]
Modified: packages/monodevelop-java/trunk/debian/patches/00list
URL: http://svn.debian.org/wsvn/pkg-cli-apps/packages/monodevelop-java/trunk/debian/patches/00list?rev=4547&op=diff
==============================================================================
--- packages/monodevelop-java/trunk/debian/patches/00list (original)
+++ packages/monodevelop-java/trunk/debian/patches/00list Thu Feb 19 22:09:11 2009
@@ -1,1 +1,2 @@
use_csc
+allow_minimal_configure_for_clean
Added: packages/monodevelop-java/trunk/debian/patches/allow_minimal_configure_for_clean.dpatch
URL: http://svn.debian.org/wsvn/pkg-cli-apps/packages/monodevelop-java/trunk/debian/patches/allow_minimal_configure_for_clean.dpatch?rev=4547&op=file
==============================================================================
--- packages/monodevelop-java/trunk/debian/patches/allow_minimal_configure_for_clean.dpatch (added)
+++ packages/monodevelop-java/trunk/debian/patches/allow_minimal_configure_for_clean.dpatch Thu Feb 19 22:09:11 2009
@@ -1,0 +1,23 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## allow_minimal_configure_for_clean.dpatch by Jo Shields <directhex at apebox.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: "make clean" on this package fails unless configure has been run.
+## DP: This patch adds an "empty" configure which can satisfy the
+## DP: requirement without requiring all package dependencies be
+## DP: installed
+
+ at DPATCH@
+diff -urNad monodevelop-java-1.9.2.orig/configure monodevelop-java-1.9.2/configure
+--- monodevelop-java-1.9.2.orig/configure 2009-02-19 20:58:25.000000000 +0000
++++ monodevelop-java-1.9.2/configure 2009-02-19 20:59:22.000000000 +0000
+@@ -52,6 +52,9 @@
+
+ while test x$1 != x; do
+ case $1 in
++ --clean-only)
++ required_packages=""
++ ;;
+ --prefix=*)
+ prefix=`echo $1 | sed 's/--prefix=//'`
+ ;;
Modified: packages/monodevelop-java/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-cli-apps/packages/monodevelop-java/trunk/debian/rules?rev=4547&op=diff
==============================================================================
--- packages/monodevelop-java/trunk/debian/rules (original)
+++ packages/monodevelop-java/trunk/debian/rules Thu Feb 19 22:09:11 2009
@@ -26,9 +26,10 @@
touch build-stamp
clean: clean-patched unpatch
-clean-patched: configure-stamp
+clean-patched: patch-stamp
dh_testdir
dh_testroot
+ [ -f config.make ] || ./configure --clean-only
[ ! -f Makefile ] || $(MAKE) clean
rm -rf $(CURDIR)/.wapi
rm -f configure-stamp
More information about the Pkg-cli-apps-commits
mailing list