Your message dated Fri, 02 Nov 2007 13:32:02 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#433862: fixed in cdbs 0.4.50
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: cdbs
Version: 0.4.49
Severity: wishlist
Tags: patch


Hi!

I have recently had the need for having a list of packages that
shouldn't be build under some conditions.

I tried different things, like -Npackage in DH_OPTIONS, but failed.

I ended up adapting buildvars.mk to my need - to support a DONT_BUILD
var to contain packages that shouldn't be build.

I think I have done it right - and I am currently using it in
kdenetwork.
It is there used as a workaround not being able to set 
Architecture: any !s390
in control file, as a negative list is easier to maintain than a
positive list.
so I wrap it in 
#if something
DONT_BUILD =pkgname
#endif 

in my rules file.

I don't expect the final variable to be called DONT_BUILD, but it should
be easy to change.

Any comments welcome.

/Sune

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (200, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.20-1-vserver-k7 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

cdbs depends on no packages.

Versions of packages cdbs recommends:
ii  autotools-dev                 20070306.1 Update infrastructure for config.{
ii  debhelper                     5.0.53     helper programs for debian/rules

-- no debconf information
--- /usr/share/cdbs/1/rules/buildvars.mk        2007-05-20 18:13:10.000000000 
+0200
+++ buildvars.mk        2007-07-10 21:35:51.000000000 +0200
@@ -35,25 +35,25 @@
 
 # Split into arch/indep packages
 ifneq ($(DEB_INDEP_PACKAGES),cdbs)
-DEB_INDEP_PACKAGES := $(strip $(shell $(_cdbs_scripts_path)/list-packages 
indep))
-DEB_ARCH_PACKAGES := $(filter-out $(DEB_INDEP_PACKAGES),$(strip $(shell 
$(_cdbs_scripts_path)/list-packages same)))
+DEB_INDEP_PACKAGES := $(filter-out $(DONT_BUILD), $(strip $(shell 
$(_cdbs_scripts_path)/list-packages indep)))
+DEB_ARCH_PACKAGES := $(filter-out $(DONT_BUILD), $(filter-out 
$(DEB_INDEP_PACKAGES),$(strip $(shell $(_cdbs_scripts_path)/list-packages 
same))))
 endif
 # Split into normal and udeb packages
 ifeq ($(DEB_UDEB_PACKAGES),)
-DEB_PACKAGES = $(filter-out %-udeb, $(DEB_ARCH_PACKAGES) $(DEB_INDEP_PACKAGES))
-DEB_UDEB_PACKAGES = $(filter %-udeb, $(DEB_ARCH_PACKAGES) 
$(DEB_INDEP_PACKAGES))
+DEB_PACKAGES = $(filter-out $(DONT_BUILD), $(filter-out %-udeb, 
$(DEB_ARCH_PACKAGES) $(DEB_INDEP_PACKAGES)))
+DEB_UDEB_PACKAGES = $(filter-out $(DONT_BUILD),$(filter %-udeb, 
$(DEB_ARCH_PACKAGES) $(DEB_INDEP_PACKAGES)))
 else
-DEB_PACKAGES = $(filter-out $(DEB_UDEB_PACKAGES), $(DEB_ARCH_PACKAGES) 
$(DEB_INDEP_PACKAGES))
+DEB_PACKAGES = $(filter-out $(DONT_BUILD), $(filter-out $(DEB_UDEB_PACKAGES), 
$(DEB_ARCH_PACKAGES) $(DEB_INDEP_PACKAGES)))
 endif
 # Too much bother for now.  If someone complains we'll fix it.
 #DEB_ARCH_UDEB_PACKAGES = $(filter %-udeb, $(DEB_ARCH_PACKAGES))
 #DEB_INDEP_UDEB_PACKAGES = $(filter %-udeb, $(DEB_INDEP_PACKAGES))
 # A handy list of every package, udeb or not
-DEB_ALL_PACKAGES = $(DEB_PACKAGES) $(DEB_UDEB_PACKAGES)
-DEB_INDEP_REGULAR_PACKAGES = $(filter-out 
$(DEB_UDEB_PACKAGES),$(DEB_INDEP_PACKAGES))
-DEB_ARCH_REGULAR_PACKAGES = $(filter-out 
$(DEB_UDEB_PACKAGES),$(DEB_ARCH_PACKAGES))
+DEB_ALL_PACKAGES = $(filter-out $(DONT_BUILD),$(DEB_PACKAGES) 
$(DEB_UDEB_PACKAGES))
+DEB_INDEP_REGULAR_PACKAGES = $(filter-out $(DONT_BUILD), $(filter-out 
$(DEB_UDEB_PACKAGES),$(DEB_INDEP_PACKAGES)))
+DEB_ARCH_REGULAR_PACKAGES = $(filter-out $(DONT_BUILD), $(filter-out 
$(DEB_UDEB_PACKAGES),$(DEB_ARCH_PACKAGES)))
 
-DEB_DBG_PACKAGES = $(filter %-dbg, $(DEB_ARCH_PACKAGES) $(DEB_INDEP_PACKAGES))
+DEB_DBG_PACKAGES = $(filter-out $(DONT_BUILD), $(filter %-dbg, 
$(DEB_ARCH_PACKAGES) $(DEB_INDEP_PACKAGES)))
 
 # Some support for srcdir != builddir builds.
 # These are relative to the root of the package

--- End Message ---
--- Begin Message ---
Source: cdbs
Source-Version: 0.4.50

We believe that the bug you reported is fixed in the latest version of
cdbs, which is due to be installed in the Debian FTP archive:

cdbs_0.4.50.dsc
  to pool/main/c/cdbs/cdbs_0.4.50.dsc
cdbs_0.4.50.tar.gz
  to pool/main/c/cdbs/cdbs_0.4.50.tar.gz
cdbs_0.4.50_all.deb
  to pool/main/c/cdbs/cdbs_0.4.50_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Peter Eisentraut <[EMAIL PROTECTED]> (supplier of updated cdbs package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Fri, 02 Nov 2007 13:11:42 +0100
Source: cdbs
Binary: cdbs
Architecture: source all
Version: 0.4.50
Distribution: unstable
Urgency: low
Maintainer: CDBS Hackers <[EMAIL PROTECTED]>
Changed-By: Peter Eisentraut <[EMAIL PROTECTED]>
Description: 
 cdbs       - common build system for Debian packages
Closes: 377524 377964 405413 411520 416018 423394 433862 438372 438417 439750 
439915
Changes: 
 cdbs (0.4.50) unstable; urgency=low
 .
   * Made qmake class observe nostrip option (qmake.mk) (closes: #438417)
   * Call make as $(MAKE) (qmake.mk)
   * Added cmake class (original patch by Fathi Boudra) (closes: #377524)
   * Documented cases where setting DEB_DESTDIR manually could be necessary
     (closes: #438372)
   * Use unversioned interpreter for default Python version
     (python-distutils.mk) (closes: #377964)
   * Use dh_testroot instead of custom rule when debhelper is used
     (buildcore.mk) (closes: #416018)
   * Documented variables DEB_AUTO_UPDATE_AUTOCONF, DEB_AUTO_UPDATE_AUTOMAKE,
     DEB_AUTO_UPDATE_LIBTOOL; thanks to Steve M. Robbins for the research
     (closes: #439750)
   * Use dh_listpackages instead of custom list-packages script when debhelper
     is used.  Since this requires a recent version of debhelper, debhelper is
     now a dependency of cdbs.  (buildcore.mk, permodule-vars.mk)
     (closes: #405413, #433862)
   * Added possibility to list files that are not installed in
     debian/not-installed (utils.mk) (closes: #423394)
   * Replaced uses of "#" in make $(warning) function argument, because it
     misbehaves in some versions of make (python-distutils.mk)
     (closes: #439915)
   * Add to CFLAGS/CXXFLAGS instead of overwriting them (langcore.mk)
     (closes: #411520)
Files: 
 5ffdc8d5331c978b7e9900107b2e61ee 920 devel optional cdbs_0.4.50.dsc
 79e59bdf871d283e087196e4ee693934 200153 devel optional cdbs_0.4.50.tar.gz
 a542fb6ef808b65d34550a5fef273a9b 967450 devel optional cdbs_0.4.50_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHKxbFTTx8oVVPtMYRAl18AJwMxRMmv0wyjfpCbxNtEUKzE1y4ygCeL4P8
myD1ZT7syYgYCQlJnBiA+Co=
=u/fH
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to