Bug#615899: dpkg-source: please do not generate patch with --abort-on-upstream-changes

2011-02-28 Thread Nicolas Boulenguez
Package: dpkg-dev Version: 1.15.8.10 Severity: wishlist When upstream modifications are detected outside the debian/ subdirectory, dpkg-source will automatically add a patch to debian/patches/series. If the user has set the --abort-on-upstream-changes option, he/she certainly wants to handle the

Bug#855450: dpkg-source: please add monotone VCS to diff-ignore-default-regexp

2017-02-18 Thread Nicolas Boulenguez
Package: dpkg Version: 1.18.22 Severity: wishlist Tags: patch Hello. Dpkg-source rightfully ignores the "_MTN" directory, used by the Monotone version control system. It should also ignore the ".mtn-ignore" file. The attached patch fixes this. Thanks. --- a/scripts/Dpkg/Source/Package.pm +++

Bug#872381: dpkg-dev: optimize Makefile snippets for debian/rules

2017-08-16 Thread Nicolas Boulenguez
Package: dpkg-dev Version: 1.18.24 Severity: wishlist Tags: patch Hello. A new implementation of /usr/share/dpkg/architecture.mk /usr/share/dpkg/buildflags.mk /usr/share/dpkg/pkg-info.mk is attached. You may use run_tests.sh to check that the behaviour remains the same in most

Bug#872381: dpkg-dev: optimize Makefile snippets for debian/rules

2018-11-02 Thread Nicolas Boulenguez
Package: dpkg-dev Version: 1.19.2 Followup-For: Bug #872381 Hi. This new version improves the readability in various aspects, and should be easyer to review. It fixes a difference with the current version in dpkg-dev by exporting all dpkg-architecture variables. Is there anything that I can do to

Bug#872381: dpkg-dev: optimize Makefile snippets for debian/rules

2019-07-29 Thread Nicolas Boulenguez
tests, slightly faster. How can I help? Thanks. >From 55c1f85f2f371b94aa36db098cf5408213a8295c Mon Sep 17 00:00:00 2001 From: Nicolas Boulenguez Date: Mon, 29 Jul 2019 14:38:32 +0200 Subject: [PATCH 1/3] scripts/mk: simplify Makefile.am with sed --in-place option --- scripts/mk/Makefile.am |

Bug#872381: dpkg-dev: optimize Makefile snippets for debian/rules

2019-09-22 Thread Nicolas Boulenguez
Please replace 0003.patch with the attached version (changes are cosmetic but should use review and merge). >From a93a87581dbe90bd15822f11f374ae6d76263ca4 Mon Sep 17 00:00:00 2001 From: Nicolas Boulenguez Date: Mon, 29 Jul 2019 19:03:16 +0200 Subject: [PATCH 3 (v2)/3] scripts/mk: impr

Bug#990073: dpkg-gencontrol: please expand binary packages in Built-Using to source and version

2021-06-19 Thread Nicolas Boulenguez
Package: dpkg-dev Version: 1.20.9 Severity: wishlist Hello. This pattern seems common: debian/rules: override_dh_gencontrol: dh_gencontrol -- "-VBuilt-Using:P1=`dpkg-query -Wf'$${source:Package} (= $${source:Version})' P2`" debian/control: Package: P1 Built-Using:

Bug#990073: dpkg-gencontrol: please expand binary packages in Built-Using to source and version

2021-06-20 Thread Nicolas Boulenguez
Package: dpkg-dev Followup-For: Bug #990073 Control: tags -1 + patch Here is a proof of concept passing the following tests. gcc -> gcc-defaults (= .*) bla (= 1), gcc, foo (= 2) -> bla (= 1), foo (= 2), gcc-defaults (= .*) bla (= 1), gcc,

Bug#985980: allow dpkg-buildflags to query for a specific feature

2021-06-20 Thread Nicolas Boulenguez
Package: dpkg-dev Followup-For: Bug #985980 A space-separated list of enabled features may be useful on its own, and would not increase the complexity in Makefiles. features := $(shell dpkg-buildflags --enabled-features optimize) ifneq (,$(filter lto,$(features))) ... endif ifneq (,$(filter

Bug#872381: dpkg-dev: optimize Makefile snippets for debian/rules

2021-06-20 Thread Nicolas Boulenguez
Package: dpkg-dev Version: 1.20.9 Followup-For: Bug #872381 The attached commits are, once more, manually rebased on the current HEAD. >From ad7a566e7966f7c8062a044d0c2df0b07b0011d7 Mon Sep 17 00:00:00 2001 From: Nicolas Boulenguez Date: Mon, 29 Jul 2019 14:38:32 +0200 Subject: [PATCH

Bug#968963: dpkg-dev: architecture.mk is slow

2021-06-20 Thread Nicolas Boulenguez
Package: dpkg-dev Version: 1.20.9 Followup-For: Bug #968963 Control: severity 872381 normal Control: tags -1 patch Control: merge -1 872381 This bug duplicates 872381, which carries a patch.

Bug#872381: dpkg-dev: optimize Makefile snippets for debian/rules

2021-02-13 Thread Nicolas Boulenguez
Mon Sep 17 00:00:00 2001 From: Nicolas Boulenguez Date: Mon, 29 Jul 2019 14:38:32 +0200 Subject: [PATCH 1/7] scripts/mk: simplify Makefile.am with sed --in-place option --- scripts/mk/Makefile.am | 18 -- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/scripts

Bug#872381: dpkg-dev: optimize Makefile snippets for debian/rules

2021-11-01 Thread Nicolas Boulenguez
Package: dpkg-dev Followup-For: Bug #872381 One more suggestion is attached. >From 95a908b270a533fc5d4a58a45deb929ce0d6159e Mon Sep 17 00:00:00 2001 From: Nicolas Boulenguez Date: Mon, 1 Nov 2021 10:08:08 +0100 Subject: [PATCH 8/8] scripts/mk/buildopts.mk: small optimisations Ass

Bug#872381: dpkg-dev: optimize Makefile snippets for debian/rules

2022-02-11 Thread Nicolas Boulenguez
> > [in scripts/mk/Makefile.am], I suggest to rename > > scripts/mk/{default,buildtools}.mk to scripts/mk/*.mk.sed or similar > > (for example, .sed.mk in order to keep syntax highlighting). Distinct > > source and object files would also simplify scripts/mk/Makefile a lot. > Yeah, that would be

Bug#872381: dpkg-dev: optimize Makefile snippets for debian/rules

2022-03-14 Thread Nicolas Boulenguez
is one out for now. The version information was added on > purpose to help people know when each interface or file was added, so Fixed in the attached commit (sorry, I thought that we were not supporting anything before oldoldstable). Thanks for the answers. >From 043f2cd6b8c445a2f0667260a

Bug#872381: dpkg-dev: optimize Makefile snippets for debian/rules

2022-02-14 Thread Nicolas Boulenguez
, but should be easyer to review. >From 5852b310ea8cdd519a0f7d6e1099c3c54db026ed Mon Sep 17 00:00:00 2001 From: Nicolas Boulenguez Date: Mon, 29 Jul 2019 14:38:32 +0200 Subject: [PATCH 01/10] scripts/mk: stop hard-coding dpkg_datadir The Makefile snippets include each other from their common direct

Bug#872381: dpkg-dev: optimize Makefile snippets for debian/rules

2022-02-10 Thread Nicolas Boulenguez
Package: dpkg-dev Followup-For: Bug #872381 (CCing Guillem as the author of the commits referenced below) Hello. The changes introduced by 1947fef8 and 981d5acb are basically incompatible with the first patch in bug report #872381 [1]. For the record, commits a49f0a9c and f28cbcc4 also require

Bug#689062: dpkg-dev: Need to add support for Built-Using to dpkg-shlibdeps or new similar tool

2023-06-22 Thread Nicolas Boulenguez
Package: dpkg-dev Followup-For: Bug #689062 Hello. I took the absence of answer to my messages here and the ITP as an agreement that an external tool, if somewhat redundant, is preferable to a change in the dpkg-gencontrol public interface, where any change has wide repercussions. So here is

Bug#689062: ITP: dh-builtusing -- debhelper tool generating the Built-Using field for Debian packages

2023-05-19 Thread Nicolas Boulenguez
Hello. I have written a tool inspired by this bug report. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1035888 A full description is available at https://salsa.debian.org/debian/dh-builtusing/-/blob/master/dh_builtusing.pod This is a proof of concept, any suggestion or critic is welcome

Bug#872381: dpkg-dev: optimize Makefile snippets for debian/rules

2024-01-10 Thread Nicolas Boulenguez
rom: Nicolas Boulenguez Date: Mon, 29 Jul 2019 14:38:32 +0200 Subject: [PATCH 1/8] scripts/mk: stop hard-coding dpkg_datadir, protect from double inclusion The Makefile snippets include each other from their common directory, but the path differ during tests and after installation. Inst

Bug#872381: dpkg-dev: optimize Makefile snippets for debian/rules

2024-04-10 Thread Nicolas Boulenguez
been present in pkg-info.mk since 2011. >From 5b3d75fb604dae497406f19073d03ea094da8d07 Mon Sep 17 00:00:00 2001 From: Nicolas Boulenguez Date: Wed, 10 Apr 2024 00:41:42 +0200 Subject: [PATCH 01/10] scripts/t/mk/buildflags.mk: fix test of _MAINT_APPEND when TEST_ is empty When TEST_CPPFLAGS is em

Bug#872381: dpkg-dev: optimize Makefile snippets for debian/rules

2024-05-07 Thread Nicolas Boulenguez
artifacts). Ironically, f1175056 seems to introduce the exact kind of human error that dynamic generation would prevent. 0001-build-spare-an-unneeded-subst-handling-in-pkg-info.m.patch >From 36e98fdd10b1896f8fa89733b5e0c1781c0cce4c Mon Sep 17 00:00:00 2001 From: Nicolas Boulenguez Date: Mon, 6

Bug#872381: dpkg-dev: optimize Makefile snippets for debian/rules

2024-03-10 Thread Nicolas Boulenguez
. This issue can also be seen with 1.22.5. >From 37f1089c450fca16d06d586cf390a05642af25f0 Mon Sep 17 00:00:00 2001 From: Nicolas Boulenguez Date: Mon, 4 Mar 2024 13:23:56 +0100 Subject: [PATCH 01/11] scripts/mk: only use ASCII characters The policy recommends english, so french parenthesis must be replaced. Mor

Bug#872381: dpkg-dev: optimize Makefile snippets for debian/rules

2024-03-04 Thread Nicolas Boulenguez
is already computed in default.mk). * removes non-ASCII characters from comments >From e29be20064687eee52fa9b6c1ee1cb722867d590 Mon Sep 17 00:00:00 2001 From: Nicolas Boulenguez Date: Mon, 29 Jul 2019 14:38:32 +0200 Subject: [PATCH 01/10] scripts/mk: protect scripts from double inclusion