[ecj] 102/145: Build with the DH sequencer instead of CDBS (Closes: #806020)

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Tue Mar 27 23:11:34 BST 2018


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository ecj.

commit f62d93270a3217265d9b41346f0902f27de30c38
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Mon Aug 1 07:49:08 2016 +0000

    Build with the DH sequencer instead of CDBS (Closes: #806020)
---
 debian/changelog |  1 +
 debian/control   |  5 +----
 debian/rules     | 32 +++++++++++++++++---------------
 3 files changed, 19 insertions(+), 19 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 349a432..edbafd9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 ecj (3.11.0-2) UNRELEASED; urgency=medium
 
   * Team upload.
+  * Build with the DH sequencer instead of CDBS (Closes: #806020)
   * Converted debian/copyright to the Copyright Format 1.0
   * Updated the version of the Maven pom
   * debian/rules: Let DH install the .lintian-overrides files
diff --git a/debian/control b/debian/control
index 29de55d..f4bf90a 100644
--- a/debian/control
+++ b/debian/control
@@ -3,10 +3,7 @@ Section: java
 Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
 Uploaders: Matthias Klose <doko at debian.org>
-Build-Depends: cdbs (>= 0.4.90ubuntu9), debhelper (>= 9),
- gcj-5-jdk,
- libgcj-bc,
- fastjar, ant, zip, dpkg (>= 1.13.19), python, time
+Build-Depends: debhelper (>= 9), gcj-5-jdk, libgcj-bc, fastjar, ant, zip, dpkg (>= 1.13.19), python, time
 Build-Depends-Indep: maven-repo-helper
 Build-Conflicts: ecj-bootstrap-gcj (<< 3.8.2)
 Standards-Version: 3.9.8
diff --git a/debian/rules b/debian/rules
index f5b78e9..71a3538 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,5 @@
 #!/usr/bin/make -f
 
-include /usr/share/cdbs/1/rules/debhelper.mk
-
 DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
@@ -43,11 +41,14 @@ DEB_DH_GENCONTROL_ARGS = -- \
 
 JAR = eclipse-ecj.jar
 
-default: build
-
 eclipse_root = $(CURDIR)/../eclipse
 
-build/ecj:: build/stamp-bytecode build/stamp-nativecode
+%:
+	dh $@
+
+override_dh_auto_build-indep: build/stamp-bytecode
+
+override_dh_auto_build-arch: build/stamp-nativecode
 
 build/stamp-bytecode:
 ifneq (,$(findstring $(DEB_HOST_ARCH),arm))
@@ -179,19 +180,22 @@ endif
 	touch build/stamp-nativecode
 
 
-install/libecj-java::
+override_dh_install-indep:
+	dh_install -i
+
 	mh_installpoms -plibecj-java
 	mh_installjar -plibecj-java -l debian/poms/ecj.pom build/dist/$(JAR) \
 		--usj-name=eclipse-ecj
 
-install/ecj::
+override_dh_install-arch:
+	# ecj
 	mkdir -p debian/tmp/usr/bin
 	sed 's/@ver@/$(GCC_VERSION)/g' debian/ecj.in \
 	  > debian/tmp/usr/bin/ecj
 	chmod 755 debian/tmp/usr/bin/ecj
 
-install/libecj-java-gcj::
 ifeq ($(with_native),yes)
+	# libecj-java-gcj
 	mkdir -p debian/tmp/usr/lib/gcj
 	install -m 644 build/dist/$(JAR).so debian/tmp/usr/lib/gcj
 
@@ -200,15 +204,15 @@ ifeq ($(with_native),yes)
 		debian/tmp/usr/share/gcj/classmap.d/
 endif
 
-install/ecj1::
 ifeq ($(with_native),yes)
+	# ecj1::
 	mkdir -p debian/ecj1/usr/lib/$(DEB_HOST_MULTIARCH)/gcc
 	install -m 755 build/exe/ecj1 debian/ecj1/usr/lib/$(DEB_HOST_MULTIARCH)/gcc/
 	dh_link -p ecj1 \
 	  /usr/lib/$(DEB_HOST_MULTIARCH)/gcc/ecj1 /usr/lib/gcc/ecj1
 endif
 
-install/ecj-gcj::
+	# ecj-gcj
 ifeq ($(with_native),yes)
 	mkdir -p debian/tmp/usr/bin
 	install -m 755 build/exe/ecj-gcj debian/tmp/usr/bin/
@@ -219,13 +223,11 @@ endif
 	ln -sf ecj.1.gz \
 	  debian/ecj-gcj/usr/share/man/man1/ecj-gcj.1.gz
 
-binary-predeb/ecj1::
-#	sed -i 's/libgcj[1-9][^,]*//;s/,,/,/' debian/ecj1.substvars
+	dh_install -a
 
-binary-predeb/ecj-gcj::
-#	sed -i 's/libgcj[1-9][^,]*//;s/,,/,/' debian/ecj-gcj.substvars
 
-clean::
+override_dh_clean:
+	dh_clean
 	rm -rf build
 	rm -f debian/*.pyc ecj1
 	rm -rf debian/.mh

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/ecj.git



More information about the pkg-java-commits mailing list