[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[hurd] 01/01: enable profile by default for experimental build
From: |
Samuel Thibault |
Subject: |
[hurd] 01/01: enable profile by default for experimental build |
Date: |
Mon, 02 May 2016 20:56:21 +0000 |
This is an automated email from the git hooks/post-receive script.
sthibault pushed a commit to branch experimental
in repository hurd.
commit d607bee7e3c7166cae8e3377ac468cb50520d133
Author: Samuel Thibault <address@hidden>
Date: Mon May 2 18:38:28 2016 +0000
enable profile by default for experimental build
---
debian/changelog | 5 +++--
debian/control | 26 +++++++++++++-------------
debian/rules | 10 +++++-----
3 files changed, 21 insertions(+), 20 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index e021c82..e8f1f22 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,8 @@
-hurd (1:0.7.git20160320-3) UNRELEASED; urgency=medium
+hurd (1:0.7.git20160320-3) experimental; urgency=medium
- * rules: Add prof dpkg build profile to build gprof versions of the main
+ * rules: Add hurd-prof package to ship gprof versions of the main
translators.
+ * control: Depend on recent-enough gcc-5 to have gprof working.
-- Samuel Thibault <address@hidden> Wed, 20 Apr 2016 21:58:37 +0000
diff --git a/debian/control b/debian/control
index 8c4d7f8..0ee6f1b 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: admin
Priority: required
Maintainer: GNU Hurd Maintainers <address@hidden>
Standards-Version: 3.9.7
-Build-Depends: mig (>= 1.4-3~) <!stage1 !stage2 !stage3>, gnumach-dev (>=
1.4+git20141109~) <!stage1 !stage2>,
+Build-Depends: mig (>= 1.4-3~) <!stage1 !stage2 !stage3>, gnumach-dev (>=
1.4+git20141109~) <!stage1 !stage2>, gcc-5 (>= 5.3.1-15~),
libc0.3-dev (>= 2.17-94~) <!stage1>, texinfo, libncursesw5-dev <!stage1
!stage2 !stage3>,
debhelper (>= 9.20150628), dpkg-dev (>= 1.17.14), dh-exec (>= 0.17),
autoconf, dh-autoreconf,
libparted-dev <!stage1 !stage2 !stage3>, libpciaccess-dev <!stage1 !stage2
!stage3>, libx11-dev <!stage1 !stage2 !stage3>, x11proto-core-dev <!stage1
!stage2 !stage3>, pkg-config <!stage1 !stage2 !stage3>,
@@ -43,18 +43,18 @@ Description: GNU Hurd
This is the GNU Hurd package. It contains essential system software and
libraries.
-#Package: hurd-prof
-#Pre-Depends: hurd-libs0.3
-#Depends: ${misc:Depends}, hurd-libs0.3 (= ${binary:Version}), sysv-rc
<!stage3>, netdde (>= 0.0.20120518~) <!stage3>, ${shlibs:Depends}, xkb-data
<!stage3>
-#Breaks: gnumach (<< 2:1.3.99.dfsg.cvs20070526-1), libc0.3 (<< 2.19-15~),
netdde (<< 0.0.20121127-2)
-#Built-Using: ${built-using}
-#Suggests: hurd-doc
-#Recommends: bf-utf-source
-#Architecture: hurd-any
-#Build-Profiles: <!stage1 !stage2>
-#Description: GNU Hurd
-# This is the GNU Hurd package. It contains essential system software and
-# libraries, with gprof profiling enabled.
+Package: hurd-prof
+Pre-Depends: hurd-libs0.3
+Depends: ${misc:Depends}, hurd-libs0.3 (= ${binary:Version}), sysv-rc
<!stage3>, netdde (>= 0.0.20120518~) <!stage3>, ${shlibs:Depends}, xkb-data
<!stage3>
+Breaks: gnumach (<< 2:1.3.99.dfsg.cvs20070526-1), libc0.3 (<< 2.19-15~),
netdde (<< 0.0.20121127-2)
+Built-Using: ${built-using}
+Suggests: hurd-doc
+Recommends: bf-utf-source
+Architecture: hurd-any
+Build-Profiles: <!stage1 !stage2>
+Description: GNU Hurd
+ This is the GNU Hurd package. It contains essential system software and
+ libraries, with gprof profiling enabled.
Package: hurd-dev
Priority: standard
diff --git a/debian/rules b/debian/rules
index 1bd3191..c38edd9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -67,7 +67,7 @@ endif
override_dh_auto_configure:
dh_auto_configure -Bbuild-deb -- $(CONFIGURE_ARGS)
$(CONFIGURE_ARGS_deb) $(shell dpkg-buildflags --export=configure)
-ifneq (,$(filter prof,$(DEB_BUILD_PROFILES)))
+ifeq (,$(filter noprof,$(DEB_BUILD_PROFILES)))
dh_auto_configure -Bbuild-prof -- $(CONFIGURE_ARGS)
$(CONFIGURE_ARGS_deb) $(shell DEB_CFLAGS_APPEND=-pg dpkg-buildflags
--export=configure)
endif
ifeq (,$(filter stage1 stage2 stage3 noudeb,$(DEB_BUILD_PROFILES)))
@@ -85,7 +85,7 @@ else
dh_auto_build -Bbuild-udeb
endif
dh_auto_build -Bbuild-deb
-ifneq (,$(filter prof,$(DEB_BUILD_PROFILES)))
+ifeq (,$(filter noprof,$(DEB_BUILD_PROFILES)))
dh_auto_build -Bbuild-prof
for i in $(TRANSLATORS_PROF) ; do \
$(MAKE) -C build-prof/$$i $$i.static ; \
@@ -99,7 +99,7 @@ endif
override_dh_auto_clean:
dh_auto_clean -Bbuild-deb
-ifneq (,$(filter prof,$(DEB_BUILD_PROFILES)))
+ifeq (,$(filter noprof,$(DEB_BUILD_PROFILES)))
dh_auto_clean -Bbuild-prof
endif
ifeq (,$(filter stage1 stage2 stage3 noudeb,$(DEB_BUILD_PROFILES)))
@@ -119,7 +119,7 @@ ifneq (,$(filter stage1 stage2,$(DEB_BUILD_PROFILES)))
endif
else
dh_auto_install -Bbuild-deb -- prefix=$(DEB_DESTDIR)
libdir=$(DEB_DESTDIR)/lib/$(DEB_HOST_MULTIARCH)
libexecdir=$(DEB_DESTDIR)/lib/hurd sysconfdir=$(DEB_DESTDIR)/etc
localstatedir=$(DEB_DESTDIR)/var XKB_BASE=$(DEB_DESTDIR)/usr/share/X11/xkb
-ifneq (,$(filter prof,$(DEB_BUILD_PROFILES)))
+ifeq (,$(filter noprof,$(DEB_BUILD_PROFILES)))
install -d $(DEB_DESTDIR_PROF)/hurd
for i in $(TRANSLATORS_PROF) ; do \
install -m 755 build-prof/$$i/$$i.static
$(DEB_DESTDIR_PROF)/hurd/$$i.prof ; \
@@ -165,7 +165,7 @@ override_dh_install: $(INSTALL_generated)
ifeq (,$(filter stage1 stage2 stage3 noudeb,$(DEB_BUILD_PROFILES)))
dh_install $(addprefix -p,$(filter %-udeb,$(shell dh_listpackages)))
--sourcedir=debian/tmp-udeb
endif
-ifneq (,$(filter prof,$(DEB_BUILD_PROFILES)))
+ifeq (,$(filter noprof,$(DEB_BUILD_PROFILES)))
dh_install -phurd-prof --sourcedir=debian/tmp-prof
endif
dh_install --remaining-packages --list-missing --sourcedir=debian/tmp
--
Alioth's /usr/local/bin/git-commit-notice on
/srv/git.debian.org/git/pkg-hurd/hurd.git