[ptxdist] [RFC 4/4] ptxdist: add a 'lint' subcommand

2019-08-22 Thread Roland Hieber
Currently it only prints the list of unreferenced patch directories, but the functionality could be expanded to other linting tasks as well. Signed-off-by: Roland Hieber --- bin/ptxdist | 20 1 file changed, 20 insertions(+) diff --git a/bin/ptxdist b/bin/ptxdist index

[ptxdist] [RFC 3/4] libptxdist: add a function to find unreferenced source directories

2019-08-22 Thread Roland Hieber
seconds for listing all existing patch dirs - 0.01 seconds to compare both lists Signed-off-by: Roland Hieber --- Makefile.in | 2 ++ configure.ac | 2 ++ scripts/libptxdist.sh | 50 +++ 3 files changed, 54 insertions(+) diff --git

Re: [ptxdist] [PATCH] treewide: remove all leftover references to "u-boot-v2"

2019-08-20 Thread Roland Hieber
been named better…). Does u-boot have a menuconfig meanwhile? I only know that it didn't have that in the past. - Roland > Greets > Alex > > Am Dienstag, 20. August 2019, 16:21:57 CEST schrieb Roland Hieber: > > Fixes: 8def36f40f44f2cdb83c ("u-boot-v2: remove in

[ptxdist] [PATCH] ptxdist: document 'getdev' action

2019-08-20 Thread Roland Hieber
Signed-off-by: Roland Hieber --- bin/ptxdist | 1 + doc/ref_parameter.inc | 5 + 2 files changed, 6 insertions(+) diff --git a/bin/ptxdist b/bin/ptxdist index d7bf4d5ffc5d..343d80a7052e 100755 --- a/bin/ptxdist +++ b/bin/ptxdist @@ -947,6 +947,7 @@ Build Actions: go

[ptxdist] [PATCH] treewide: remove all leftover references to "u-boot-v2"

2019-08-20 Thread Roland Hieber
Fixes: 8def36f40f44f2cdb83c ("u-boot-v2: remove in favor of barebox") Signed-off-by: Roland Hieber --- bin/ptxdist| 15 +-- rules/other/Namespace.make | 1 - tests/make_uboot_v2_env| 29 - 3 files changed, 1 insertion(+), 44

Re: [ptxdist] [PATCH] rt-tests: backfire: Don't include asm/uaccess.h directly

2019-08-30 Thread Roland Hieber
; 2.23.0 > > > ___ > ptxdist mailing list > ptxdist@pengutronix.de > -- Roland Hieber | r.hie...@pengutronix.de | Pengutronix e.K. | https://www.pengutronix.de/ | Peiner Str. 6-

[ptxdist] [PATCH 1/2] doc: dev manual: proof-read and update the "Patching Packages" section

2019-08-30 Thread Roland Hieber
correction. Signed-off-by: Roland Hieber --- doc/dev_manual.rst | 44 1 file changed, 28 insertions(+), 16 deletions(-) diff --git a/doc/dev_manual.rst b/doc/dev_manual.rst index d79ebdba780d..e0ba6baab367 100644 --- a/doc/dev_manual.rst +++ b/doc/dev_

[ptxdist] [PATCH 2/2] doc: remove empty chapter "Working with GIT sources"

2019-08-30 Thread Roland Hieber
dded later, but it is useless for now (and regularly confuses me when looking for the location where all those things mentioned above are explained). Fixes: 185c2bebaa1686f2faac ("Split the daily-work section into separate files") Signed-off-by: Roland Hieber --- doc/ref_make_variables.in

Re: [ptxdist] [PATCH 1/2] doc: dev manual: proof-read and update the "Patching Packages" section

2019-08-30 Thread Roland Hieber
On Fri, Aug 30, 2019 at 03:17:29PM +0200, Roland Hieber wrote: > Remind the reader to upstream their patches, mention the layer > mechanism for search order, fix the logical structure of the whole > chapter by removing the superfluous "Creating Patches for a Package" > head

[ptxdist] [PATCH v2 1/2] doc: dev manual: proof-read and update the "Patching Packages" section

2019-08-30 Thread Roland Hieber
correction. Signed-off-by: Roland Hieber --- doc/dev_manual.rst | 44 1 file changed, 28 insertions(+), 16 deletions(-) diff --git a/doc/dev_manual.rst b/doc/dev_manual.rst index d79ebdba780d..5dcad97d4a6c 100644 --- a/doc/dev_manual.rst +++ b/doc/dev_

[ptxdist] [PATCH v2 2/2] doc: remove empty chapter "Working with GIT sources"

2019-08-30 Thread Roland Hieber
dded later, but it is useless for now (and regularly confuses me when looking for the location where all those things mentioned above are explained). Fixes: 185c2bebaa1686f2faac ("Split the daily-work section into separate files") Signed-off-by: Roland Hieber --- doc/ref_make_variables.in

Re: [ptxdist] [RFC PATCH] doc: Add section on creating new layers

2019-09-03 Thread Roland Hieber
nd delta configs to it. nit: s/Git/SCM/, or something like that > + > +.. _DistroKit: https://www.pengutronix.de/de/software/distrokit.html > -- > 2.20.1 > > > ___ > ptxdist mailing list > ptxdist@pengutronix.de > -- Roland Hieber

Re: [ptxdist] [RFC PATCH] doc: Add section on creating new layers

2019-09-03 Thread Roland Hieber
On Tue, Sep 03, 2019 at 03:08:08PM +0200, Michael Olbrich wrote: > On Tue, Sep 03, 2019 at 02:22:04PM +0200, Alexander Dahl wrote: > > Hello Roland, > > > > Am Dienstag, 3. September 2019, 14:00:17 CEST schrieb Roland Hieber: > > > On Tue, Sep 03, 2019 at 01:50:25

Re: [ptxdist] RPi3b+ boot sequence with DistroKit (barebox)

2019-09-03 Thread Roland Hieber
arebox handle this in a different way? > > Thanks, > -Jon > ___ > ptxdist mailing list > ptxdist@pengutronix.de -- Roland Hieber | r.hie...@pengutronix.de | Pengutronix e.K. | https://ww

[ptxdist] [PATCH] platform: make clear that libc version is not only used for checking

2019-08-29 Thread Roland Hieber
: --- target: glibc.targetinstall --- ptxdist: error: ptxd_make_xpkg_init: please define _VERSION Signed-off-by: Roland Hieber --- platforms/toolchain.in | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/platforms/toolchain.in b/platforms

[ptxdist] [PATCH 3/4] host-python-setuptools: version bump 17.0 -> 41.2.0

2019-08-28 Thread Roland Hieber
python-pyro (which we will package in the next commit) needs a newer setuptools version. Based on a patch by Niklas Reisser. Cc: Niklas Reisser Signed-off-by: Roland Hieber --- rules/host-python-setuptools.make | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rules/host

[ptxdist] [PATCH 2/4] host-swig: version bump 2.0.9 -> 3.0.8

2019-08-28 Thread Roland Hieber
Update version and make support for Java, Python 2 and Python 3 code generation selectable so that it doesn't pull in too many dependencies, but target packages can still select it if needed. Based on a patch by Niklas Reisser. Cc: Niklas Reisser Signed-off-by: Roland Hieber --- rules/host

[ptxdist] [PATCH 4/4] python-pyro: new package

2019-08-28 Thread Roland Hieber
Based on a patch by Niklas Reisser. Cc: Niklas Reisser Signed-off-by: Roland Hieber --- rules/python-pyro.in | 20 +++ rules/python-pyro.make | 56 ++ 2 files changed, 76 insertions(+) create mode 100644 rules/python-pyro.in create mode

[ptxdist] [PATCH 1/4] sqlitecpp: new package

2019-08-28 Thread Roland Hieber
SQLiteC++ offers an encapsulation around the native C APIs of SQLite, with a few intuitive and well documented C++ classes. The library is only built statically, so there is no need to targetinstall anything. Based on a patch by Chetan Dayananda. Cc: Chetan Dayananda Signed-off-by: Roland

[ptxdist] [PATCH] rootfs: update /etc/issue when its content changes

2019-08-26 Thread Roland Hieber
${PTXDIST_BSP_AUTOVERSION}). Make sure that /etc/issue always shows the correct information at build time, even after checking out a different SCM revision, by using the same mechanism as in os-release.make. Signed-off-by: Roland Hieber --- rules/rootfs.make | 18 ++ 1 file changed, 18

Re: [ptxdist] [RFC 3/4] libptxdist: add a function to find unreferenced source directories

2019-08-23 Thread Roland Hieber
On Thu, Aug 22, 2019 at 05:38:19PM +0200, Michael Olbrich wrote: > On Thu, Aug 22, 2019 at 12:42:40PM +0200, Roland Hieber wrote: > > A recurring task for package version bumps is to make sure the > > respective patch stacks are ported too. Add functionality to find > > f

Re: [ptxdist] [PATCH] mmc-utils: use https:// URL instead of git://

2019-08-23 Thread Roland Hieber
p://*.git|https://*.git|ssh://*.git) 400 ptxd_make_get_download_permitted && 401 ptxd_make_get_git -- Roland Hieber | r.hie...@pengutronix.de | Pengutronix e.K. | https://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim | Phone: +49-5121-20691

[ptxdist] [PATCH v2 2/4] host-swig: version bump 2.0.9 -> 3.0.8

2019-09-01 Thread Roland Hieber
Update version and make support for Java, Python 2 and Python 3 code generation selectable so that it doesn't pull in too many dependencies, but target packages can still select it if needed. Based on a patch by Niklas Reisser. Cc: Niklas Reisser Signed-off-by: Roland Hieber --- v1 ->

[ptxdist] [PATCH] README: update

2019-09-01 Thread Roland Hieber
ained files"). Link to the new documentation directly instead of through a redirected URL, and fix incorrect use of "refer" in the section heading. Signed-off-by: Roland Hieber --- README | 20 +--- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/R

Re: [ptxdist] [PATCH v2 1/2] doc: dev manual: proof-read and update the "Patching Packages" section

2019-09-02 Thread Roland Hieber
On Mon, Sep 02, 2019 at 11:02:00AM +0200, Michael Olbrich wrote: > On Fri, Aug 30, 2019 at 03:36:37PM +0200, Roland Hieber wrote: > > Remind the reader to upstream their patches, mention the layer > > mechanism for search order, fix the logical structure of the whole > >

[ptxdist] [PATCH v3 2/2] doc: remove empty chapter "Working with GIT sources"

2019-09-02 Thread Roland Hieber
dded later, but it is useless for now (and regularly confuses me when looking for the location where all those things mentioned above are explained). Fixes: 185c2bebaa1686f2faac ("Split the daily-work section into separate files") Signed-off-by: Roland Hieber --- Notes: v2 -> v3: -

[ptxdist] [PATCH v3 1/2] doc: dev manual: proof-read and update the "Patching Packages" section

2019-09-02 Thread Roland Hieber
correction. Signed-off-by: Roland Hieber --- Notes: v2 -> v3: - reformulate search order for layers - reformulate "experimental" explanation about --git - keep git lowercase where the command line tool is meant v1 -> v2: - fix a vim-not-in-command-mod

Re: [ptxdist] [RFC PATCH] doc: Add section on creating new layers

2019-09-04 Thread Roland Hieber
'ptxdist help'. Saving 'test-bsp/configs/ptxconfig'. Saving 'test-bsp/configs/ptxconfig.diff'. rhi@dude dude test-bsp $ ll total 0 lrwxrwxrwx 1 rhi ptx 12 Sep 4 12:19 base -> ../DistroKit drwxr-xr-x 2 rhi ptx 66 Sep 4 12:20 configs drwxr-xr-x 2 rhi ptx 78 Sep

Re: [ptxdist] [RFC PATCH] doc: Add section on creating new layers

2019-09-04 Thread Roland Hieber
On Wed, Sep 04, 2019 at 12:30:58PM +0200, Roland Hieber wrote: > On Tue, Sep 03, 2019 at 04:12:02PM +0200, Michael Olbrich wrote: > > I cannot reproduce this. It works as expected for me. The last log message > > may be a clue, I would expect > > > > "Savin

[ptxdist] [PATCH] ptxd_normalize_config: fix typo in variable name

2019-09-04 Thread Roland Hieber
A simple s/nomalized/normalized/g in that function did the trick. Signed-off-by: Roland Hieber --- scripts/lib/ptxd_lib_kconfig.sh | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/scripts/lib/ptxd_lib_kconfig.sh b/scripts/lib/ptxd_lib_kconfig.sh index

Re: [ptxdist] [PATCH] kernel: do not select binutils

2019-09-12 Thread Roland Hieber
if KERNEL_TOOL_PERF > - select BINUTILS if KERNEL_TOOL_PERF > select LIBUNWINDif KERNEL_TOOL_PERF This depends on which kernel version you use in the platformconfig. Could you find out since when binutils is no longer needed? - Roland -- Roland Hieber

Re: [ptxdist] [PATCH 4/4] sshfs: add license information

2019-09-12 Thread Roland Hieber
* [PATCH 2/4] host-softhsm: add license information * [PATCH 3/4] slang: add license information * [PATCH 4/4] sshfs: add license information Reviewed-by: Roland Hieber -- Roland Hieber | r.hie...@pengutronix.de | Pengutronix e.K. | https://www.pengutro

[ptxdist] [PATCH] configure_helper.py: check for emptyish ptxdist environment variables

2019-09-11 Thread Roland Hieber
When the environment variable exists, but is empty, os.environment.get() will return its value instead of using the supplied default. Check for cases like that to prevent calling an empty command. Signed-off-by: Roland Hieber --- scripts/configure_helper.py | 7 ++- 1 file changed, 6

Re: [ptxdist] RPi3b+ boot sequence with DistroKit (barebox)

2019-09-09 Thread Roland Hieber
On Sat, Sep 07, 2019 at 04:06:24PM -0400, Jon Ringle wrote: > On Sat, Sep 7, 2019 at 1:42 AM Jon Ringle wrote: > > > > > On Tue, Sep 3, 2019 at 9:53 AM Roland Hieber wrote: > > > >> On Sat, Aug 31, 2019 at 10:35:05PM -0400, Jon Ringle wrote: > >> > B

[ptxdist] [PATCH 2/2] doc: environment: correct typos, grammar and wording

2019-09-09 Thread Roland Hieber
--- doc/environment.rst | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/environment.rst b/doc/environment.rst index 8d025118bc15..64b0cd3af21d 100644 --- a/doc/environment.rst +++ b/doc/environment.rst @@ -585,8 +585,8 @@ be extracted there. This is a

[ptxdist] [PATCH 1/2] doc: contributing: mention configure_helper.py support for cmake

2019-09-09 Thread Roland Hieber
This was introduced in commit 41d0336d4aec17d671f2 ("configure_helper: add cmake support"). Signed-off-by: Roland Hieber --- doc/contributing.rst | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/doc/contributing.rst b/doc/contributing.rst index 07

[ptxdist] [PATCH] libcurl: version bump 7.64.0 -> 7.66.0

2019-09-11 Thread Roland Hieber
Pin down all loose configure options, except for those --with-* options that don't understand a --without-*. Note that --disable-dateparse is currently broken [1], so keep it enabled. [2]: https://github.com/curl/curl/issues/4325 --- rules/libcurl.make | 30 ++ 1 file

[ptxdist] [PATCH] rules: enable use of nconfig for barebox_mlo and custom kernel packages

2019-08-07 Thread Roland Hieber
'ptxdist nconfig' works for the main kernel and barebox packages, so enable it for all other barebox and kernel packages too. Signed-off-by: Roland Hieber --- rules/barebox_mlo.make | 2 +- rules/templates/template-kernel-make | 2 +- 2 files changed, 2 insertions(+), 2 deletions

Re: [ptxdist] [PATCH v2 11/13] file: fix license identifier

2019-08-08 Thread Roland Hieber
:= BSD AND 2-term BSD > > +FILE_LICENSE := BSD-2-Clause > > src/strcasestr.c is BSD-3-Clause > > src/strlcat.c and src/strlcpy.c look like ISC (I think?) Yes, it's ISC. - Roland -- Roland Hieber | r.hie...@pengutronix.de | Pengutronix e.K.

Re: [ptxdist] [PATCH 03/13] procps: fix license identifier

2019-07-22 Thread Roland Hieber
Reviewed-by: Roland Hieber If you're going to send v2 of the series, please put a short sentence in the commit message with a more verbose justification, like: All files contain the "or (at your option) any later version" clause of the GPL-2.0 or the LGPL-2.1 dedication.

Re: [ptxdist] [PATCH 04/13] bash: fix license identifier

2019-07-22 Thread Roland Hieber
- > # Prepare > -- > 2.22.0 > > > _______ > ptxdist mailing list > ptxdist@pengutronix.de > -- Roland Hieber | r.hie...@pengutronix.de | Pengutronix e.K. | https://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim

Re: [ptxdist] [PATCH 05/13] bc: fix license identifier

2019-07-22 Thread Roland Hieber
gt; _______ > ptxdist mailing list > ptxdist@pengutronix.de > -- Roland Hieber | r.hie...@pengutronix.de | Pengutronix e.K. | https://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim | Phone: +49-5121

[ptxdist] [PATCH 1/3] udev: remove unused kconfig symbols for udev-legacy

2019-10-01 Thread Roland Hieber
Signed-off-by: Roland Hieber --- rules/udev.in | 10 -- 1 file changed, 10 deletions(-) diff --git a/rules/udev.in b/rules/udev.in index 2a6d375ca5e1..6747084dec77 100644 --- a/rules/udev.in +++ b/rules/udev.in @@ -24,8 +24,6 @@ menuconfig UDEV_LEGACY select LIBKMOD

[ptxdist] [PATCH 2/3] usb-ids: new package

2019-10-01 Thread Roland Hieber
The usb.ids file is no longer installed by usbutils since v008, create a new package to fetch it. Since the file is not a tarball, we cannot use $(call extract) and need to extract it ourselves. Signed-off-by: Roland Hieber --- rules/usb-ids.in | 4 ++ rules/usb-ids.make | 92

[ptxdist] [PATCH 3/3] usbutils: version bump 007 -> 012

2019-10-01 Thread Roland Hieber
The upstream tarball currently does not provide a pre-built configure script [1], we need to generate it during the extract stage. The usb.ids file was removed from the source tarball in v008 [3], instead we now install it through an extra package. With that, zlib is no longer needed for the

Re: [ptxdist] [PATCH] configure_helper.py: check for emptyish ptxdist environment variables

2019-09-23 Thread Roland Hieber
mol, any comments to this? - Roland On Wed, Sep 11, 2019 at 09:50:49AM +0200, Roland Hieber wrote: > When the environment variable exists, but is empty, os.environment.get() > will return its value instead of using the supplied default. Check for > cases like that to prevent calling

Re: [ptxdist] [PATCH 2/3] usb-ids: new package

2019-10-02 Thread Roland Hieber
On Tue, Oct 01, 2019 at 06:12:37PM +0200, Alexander Dahl wrote: > Hello Roland, > > Am Dienstag, 1. Oktober 2019, 13:15:19 CEST schrieb Roland Hieber: > > The usb.ids file is no longer installed by usbutils since v008, create a > > new package to fetch it. Since the file

Re: [ptxdist] [PATCH 3/3] usbutils: version bump 007 -> 012

2019-10-02 Thread Roland Hieber
On Tue, Oct 01, 2019 at 06:15:14PM +0200, Alexander Dahl wrote: > Hello Roland, > > Am Dienstag, 1. Oktober 2019, 13:15:20 CEST schrieb Roland Hieber: > > The upstream tarball currently does not provide a pre-built configure > > script [1], we need to generate it dur

Re: [ptxdist] [PATCH v1] nss: make installed libraries configurable

2019-09-30 Thread Roland Hieber
Please wait for a v2, I found a mismatched dependency in ecryptfs. - Roland On Tue, Sep 24, 2019 at 05:14:27PM +0200, Roland Hieber wrote: > Most NSS modules are only needed if any software links to them, or loads > them at runtime (e.g. as a PKCS#11 module). In extreme cases, we can

[ptxdist] [PATCH] doc: dev_manual: two URL fixes

2019-07-06 Thread Roland Hieber
The gnu.org URL never showed SPDX identifiers, replace it by a link to the official license list. The licenses-list repository has been renamed and restructured. Signed-off-by: Roland Hieber --- doc/dev_manual.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc

[ptxdist] [PATCH] git-ptx-patches: call git in a pristine environment

2019-11-11 Thread Roland Hieber
be reproduced by different users when re-exporting existing patch stacks. Create a wrapper to call git in a pristine environment in order to minimize any differences between user environments, and use it to format the patch stack. Signed-off-by: Roland Hieber --- scripts/git-ptx-patches | 31

Re: [ptxdist] [PATCH v2] sshfs: add license information

2019-11-06 Thread Roland Hieber
E_FILES := file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 > > # > ---------------- > # Prepare Reviewed-by: Roland Hieber -- Roland Hieber | r.hie...@pengutronix.de | Pengutronix e.K. | https://www.pengutronix.de/ | Pe

Re: [ptxdist] [PATCH v3] python3-numpy: New package

2019-11-13 Thread Roland Hieber
tall_fixup, python3-numpy, SECTION, base) > + @$(call install_fixup, python3-numpy, AUTHOR, "Guillermo Rodriguez > ") > + @$(call install_fixup, python3-numpy, DESCRIPTION, missing) > + > + @$(call install_glob, python3-numpy, 0, 0, -, \ > + /us

[ptxdist] [PATCH 3/3] ptxdist: add 'init', 'init-platform' commands to create new configs

2019-11-14 Thread Roland Hieber
it not being a valid configuration file. When initialising a new BSP, create the platformconfig first so the selection of the ptxconfig does not complain about a missing platformconfig. Signed-off-by: Roland Hieber --- I was also thinking about using 'alldefconfig' instead of 'oldconfig' so that PTXdist

[ptxdist] [PATCH 1/3] ptxdist: _get_config_ptx: fix --force logic

2019-11-14 Thread Roland Hieber
When --force is used to override that message, PTXDIST_FORCE is set to true in parse_first(), resulting in the message to be shown. Signed-off-by: Roland Hieber --- bin/ptxdist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/ptxdist b/bin/ptxdist index 9394b1739190

[ptxdist] [PATCH 2/3] platforms: toolchain: bump default toolchain version

2019-11-14 Thread Roland Hieber
Prefer the currently released version for new platforms. Signed-off-by: Roland Hieber --- platforms/toolchain.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/platforms/toolchain.in b/platforms/toolchain.in index c219fe29de25..026e4395c3ad 100644 --- a/platforms

Re: [ptxdist] [PATCH v3] python3-numpy: New package

2019-11-14 Thread Roland Hieber
On Thu, Nov 14, 2019 at 12:40:43PM +0100, Guillermo Rodriguez Garcia wrote: > El jue., 14 nov. 2019 a las 12:18, Roland Hieber () > escribió: > > > On Thu, Nov 14, 2019 at 11:07:16AM +0100, Guillermo Rodriguez Garcia wrote: > > > El jue., 14 nov. 2019 a las 10:56, Roland

[ptxdist] [PATCH] doc: ref_make_macros: add missing binary ptx/* switches to header and usage

2019-11-17 Thread Roland Hieber
These macros are mentioned in the table below, but are not found in the header or the usage. Signed-off-by: Roland Hieber --- doc/ref_make_macros.inc | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/doc/ref_make_macros.inc b/doc/ref_make_macros.inc index 2a5c1e452e17

Re: [ptxdist] [PATCH] git-ptx-patches: call git in a pristine environment

2019-11-17 Thread Roland Hieber
On Sun, Nov 17, 2019 at 11:31:06AM +0100, Michael Olbrich wrote: > On Mon, Nov 11, 2019 at 12:31:29PM +0100, Roland Hieber wrote: > > The brhaviour of git-format-patch can be customized through user-defined s/brhaviour/behaviour ... > > variables from the environment or

[ptxdist] [PATCH v2] git-ptx-patches: call git in a pristine environment

2019-11-18 Thread Roland Hieber
be reproduced by different users when re-exporting existing patch stacks. Create a wrapper to call git in a pristine environment in order to minimize any differences between user environments, and use it to format the patch stack. Signed-off-by: Roland Hieber --- v2: - saving author and email

[ptxdist] [PATCH v3] git-ptx-patches: call git in a pristine environment

2019-11-18 Thread Roland Hieber
be reproduced by different users when re-exporting existing patch stacks. Create a wrapper to call git in a pristine environment in order to minimize any differences between user environments, and use it to format the patch stack. Signed-off-by: Roland Hieber --- v3: - fix typo in the log

Re: [ptxdist] [PATCH] python3-numpy: New package

2019-11-12 Thread Roland Hieber
g) > + > + @$(call install_glob, python3-numpy, 0, 0, -, \ > + /usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages/numpy,, > *.py) > + > + @$(call install_finish, python3-numpy) > + > + @$(call touch) > + > +# vim: syntax=make > -- > 2.21.0 > > > __

[ptxdist] [PATCH] ptxdist: make 'drop' idempotent with enough --force

2019-11-12 Thread Roland Hieber
This should make 'drop' suitable for use in a scripting environment, e.g. equivalent to 'rm --force'. In this case, the following rm is actually a no-op, but the message after that is useful nevertheless. Signed-off-by: Roland Hieber --- bin/ptxdist | 2 +- 1 file changed, 1 insertion(+), 1

Re: [ptxdist] [PATCH 3/3] ptxdist: add 'init', 'init-platform' commands to create new configs

2019-11-15 Thread Roland Hieber
On Fri, Nov 15, 2019 at 03:09:40PM +0100, Michael Olbrich wrote: > On Thu, Nov 14, 2019 at 05:01:16PM +0100, Roland Hieber wrote: > > Add small helpers to start from scratch with a new ptxconfig and/or > > platformconfig. We do that by creating a standard directory structure, &g

[ptxdist] [PATCH] bluez: fix list of tools in help text

2019-11-21 Thread Roland Hieber
This was apparently a copy-paste error. Sync the list of actually installed tools from rules/bluez.make. Signed-off-by: Roland Hieber --- rules/bluez.in | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/rules/bluez.in b/rules/bluez.in index 375c8cb2046c..310ba2d478f0

Re: [ptxdist] [PATCH] python3-yoyo-migrations: new package

2019-11-21 Thread Roland Hieber
; + @$(call touch) > + > +# > ---- > +# Clean > +# > > + > +#$(STATEDIR)/python3-yoyo-migrations.clean: > +#@$(call targetinfo) >

Re: [ptxdist] [PATCH] haveged: version bump 1.9.2 -> 1.9.8

2019-12-10 Thread Roland Hieber
/archive/v$(HAVEGED_VERSION).tar.gz > HAVEGED_SOURCE := $(SRCDIR)/$(HAVEGED).$(HAVEGED_SUFFIX) > HAVEGED_DIR := $(BUILDDIR)/$(HAVEGED) > -HAVEGED_LICENSE := GPL-3.0-only > +HAVEGED_LICENSE := GPL-3.0-or

Re: [ptxdist] [PATCH v3] git-ptx-patches: call git in a pristine environment

2019-12-05 Thread Roland Hieber
On Wed, Nov 27, 2019 at 10:41:20AM +0100, Roland Hieber wrote: > On Mon, Nov 18, 2019 at 08:39:22AM -0500, Jon Ringle wrote: > > On Mon, Nov 18, 2019 at 4:32 AM Roland Hieber wrote: > > > > > > > > @@ -129,7 +144,7 @@ fi > > > GIT_EXTRA

Re: [ptxdist] [PATCH v2] configure_helper.py: check for emptyish ptxdist environment variables

2019-10-16 Thread Roland Hieber
On Wed, Oct 16, 2019 at 01:38:56PM +0200, Michael Olbrich wrote: > On Wed, Oct 16, 2019 at 12:53:10PM +0200, Roland Hieber wrote: > > Michael, any comments? It does not seem to be applied yet. > > Right, this got lost. I'm not sure I like this. Why would there be an empty > PT

Re: [ptxdist] [PATCH v2] configure_helper.py: check for emptyish ptxdist environment variables

2019-10-16 Thread Roland Hieber
Michael, any comments? It does not seem to be applied yet. - Roland On Wed, Sep 25, 2019 at 03:13:40PM +0200, Roland Hieber wrote: > When the environment variable exists, but is empty, os.environment.get() > will return its value instead of using the supplied default. Check for > c

[ptxdist] [PATCH v2] README: update

2019-10-16 Thread Roland Hieber
hort intro for new users. Apply copy editing and very small improvements in the "Idea" section. Signed-off-by: Roland Hieber --- README | 91 +- 1 file changed, 13 insertions(+), 78 deletions(-) diff --git a/README b/READM

Re: [ptxdist] [PATCH] README: update

2019-10-16 Thread Roland Hieber
On Mon, Sep 02, 2019 at 01:36:35PM +0200, Ladislav Michl wrote: > On Mon, Sep 02, 2019 at 11:09:49AM +0200, Michael Olbrich wrote: > > On Mon, Sep 02, 2019 at 10:23:40AM +0200, Michael Tretter wrote: > > > On Sun, 01 Sep 2019 23:04:56 +0200, Roland Hieber wrote: > [...] >

Re: [ptxdist] [PATCH 3/3] usbutils: version bump 007 -> 012

2019-10-16 Thread Roland Hieber
On Tue, Oct 01, 2019 at 06:15:14PM +0200, Alexander Dahl wrote: > Hello Roland, > > Am Dienstag, 1. Oktober 2019, 13:15:20 CEST schrieb Roland Hieber: > > The upstream tarball currently does not provide a pre-built configure > > script [1], we need to generate it dur

Re: [ptxdist] [PATCH 2/3] openvpn: add license identifier

2019-10-15 Thread Roland Hieber
851a32fa98b8f9d6e33f9 file://src/openvpn/base64.c;startline=2;endline=31;md5=f4debd767645b13107fc5912faf2ad8f file://src/compat/compat-lz4.c;startline=13;endline=38;md5=5f66cf078523624965e41518eed881e2 - Roland -- Roland Hieber | r.hie...@pengu

Re: [ptxdist] [PATCH 1/3] wget: add license identifier

2019-10-15 Thread Roland Hieber
ntax... So I guess it's as correct as we can currently be. For further reference, I have opened the discussion at <https://github.com/spdx/license-list-XML/issues/939>. Reviewed-by: Roland Hieber -- Roland Hieber | r.hie...@pengutronix.de | Pengutronix e.K.

Re: [ptxdist] [PATCH 3/3] cpufrequtils: add license identifier

2019-10-15 Thread Roland Hieber
;endline=5;md5=a3504f2818a74b2fffdc8e61bf3ef0f8 Reviewed-by: Roland Hieber -- Roland Hieber | r.hie...@pengutronix.de | Pengutronix e.K. | https://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim | Phone: +49-5121-206917-5086 | Amtsge

[ptxdist] [PATCH v3] configure_helper.py: be more verbose when calling ptxdist fails

2019-10-17 Thread Roland Hieber
. Signed-off-by: Roland Hieber --- scripts/configure_helper.py | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/scripts/configure_helper.py b/scripts/configure_helper.py index c7b46f3b3846..bf2bf113b1f3 100755 --- a/scripts/configure_helper.py +++ b/scripts

[ptxdist] [PATCH] sudo: version bump 1.8.22 -> 1.8.28

2019-10-15 Thread Roland Hieber
. Signed-off-by: Roland Hieber --- rules/sudo.make | 27 --- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/rules/sudo.make b/rules/sudo.make index 96349406f67b..a7fa0ad4a2db 100644 --- a/rules/sudo.make +++ b/rules/sudo.make @@ -15,8 +15,8 @@ PACKAGES

Re: [ptxdist] [PATCH] sudo: version bump 1.8.22 -> 1.8.28

2019-10-23 Thread Roland Hieber
" > + select GCCLIBS_LIBASAN > + select GCCLIBS_LIBUBSAN > select LIBC_CRYPT > select LIBC_UTIL > select LIBC_DL > -- Roland Hieber | r.hie...@pengutronix.de | Pengutronix e.K.

Re: [ptxdist] [PATCH] networkmanager: version bump 1.20.0 -> 1.20.8

2019-11-26 Thread Roland Hieber
out of 3 hunks ignored -- saving rejects to file > introspection/meson.build.rej For the record, this kind of info is also generally useful to have in a commit message :-) - Roland -- Roland Hieber, Pengutronix e.K. | r.hie...@pengutronix.de | Steuerwalder Str. 21

[ptxdist] [PATCH] bash_completion: use '_have' instead of 'have'

2019-11-27 Thread Roland Hieber
, which does not have these problems. [0]: https://github.com/scop/bash-completion/commit/20c05b43b6e44b [1]: https://github.com/scop/bash-completion/blob/31b5cbc8016b18/bash_completion#L2158 Signed-off-by: Roland Hieber --- scripts/bash_completion | 2 +- 1 file changed, 1 insertion(+), 1 deletion

Re: [ptxdist] [PATCH] config: boardsetup: add nfs client specifications

2019-11-25 Thread Roland Hieber
" > "${PTXDIST_TEMPDIR}/exports" && > +echo "/ ${client_specficiations}" > "${PTXDIST_TEMPDIR}/exports" && > UNFS_BASE="${base}" unfsd -e "${PTXDIST_TEMPDIR}/exports" -n ${port} -m > ${port} -p -d >

Re: [ptxdist] [PATCH 1/2] tpm2-tss: version bump 2.2.2 -> 2.3.1

2019-11-28 Thread Roland Hieber
fault.so used anywhere? Or was it just renamed between the versions? - Roland > + @$(call install_lib, tpm2-tss, 0, 0, 0644, libtss2-rc) > > @$(call install_alternative, tpm2-tss, 0, 0, 0644, \ > /usr/lib/udev/rules.d/70-tpm-udev.rules) > -- > 2.24.

[ptxdist] [PATCH] README: there is no TODO file anymore

2019-11-04 Thread Roland Hieber
The TODO file was removed in commit b710f8cdf410a91b4298 ("PTXdist: remove useless and unmaintained files"). Signed-off-by: Roland Hieber --- README | 1 - 1 file changed, 1 deletion(-) diff --git a/README b/README index 86e111c1754e..54e64343d6cc 100644 --- a/README +++ b/READM

Re: [ptxdist] [PATCH v3] python3-numpy: New package

2019-11-14 Thread Roland Hieber
On Thu, Nov 14, 2019 at 10:36:56AM +0100, Guillermo Rodriguez Garcia wrote: > Hi Roland, > > El mié., 13 nov. 2019 a las 10:36, Roland Hieber () > escribió: > > > On Tue, Nov 12, 2019 at 12:51:03PM +0100, Guillermo Rodríguez wrote: > > > NumPy is the fundamental pa

Re: [ptxdist] [PATCH v3] python3-numpy: New package

2019-11-14 Thread Roland Hieber
On Thu, Nov 14, 2019 at 11:07:16AM +0100, Guillermo Rodriguez Garcia wrote: > El jue., 14 nov. 2019 a las 10:56, Roland Hieber () > escribió: > > > > > numpy/core/src/multiarray/dragon4.c seems to be a license found nowhere > > > > else, so I would also add "

Re: [ptxdist] [PATCH 3/3] ptxdist: add 'init', 'init-platform' commands to create new configs

2019-11-27 Thread Roland Hieber
On Sat, Nov 16, 2019 at 11:21:20AM +0100, Michael Olbrich wrote: > On Fri, Nov 15, 2019 at 03:30:23PM +0100, Roland Hieber wrote: > > On Fri, Nov 15, 2019 at 03:09:40PM +0100, Michael Olbrich wrote: > > > On Thu, Nov 14, 2019 at 05:01:16PM +0100, Roland Hieber wrote: > &g

Re: [ptxdist] [PATCH] doc: ref_make_macros: add missing binary ptx/* switches to header and usage

2019-11-27 Thread Roland Hieber
Ping? On Sun, Nov 17, 2019 at 10:45:42PM +0100, Roland Hieber wrote: > These macros are mentioned in the table below, but are not found in the > header or the usage. > > Signed-off-by: Roland Hieber > --- > doc/ref_make_macros.inc | 7 +-- > 1 file changed, 5 inser

Re: [ptxdist] [PATCH v3] git-ptx-patches: call git in a pristine environment

2019-11-27 Thread Roland Hieber
On Mon, Nov 18, 2019 at 08:39:22AM -0500, Jon Ringle wrote: > On Mon, Nov 18, 2019 at 4:32 AM Roland Hieber wrote: > > > > > @@ -129,7 +144,7 @@ fi > > GIT_EXTRA_ARGS="$GIT_EXTRA_ARGS --summary --stat=80" > > > > cat .ptxdist/series.0 > .ptxdis

[ptxdist] [PATCH] libsocketcan: version bump 0.0.10 -> 0.0.11

2019-09-25 Thread Roland Hieber
Follow the redirect in the URL, and add the license MD5 sum. --- rules/libsocketcan.make | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/rules/libsocketcan.make b/rules/libsocketcan.make index eaa644c94506..b9ffd5baf145 100644 --- a/rules/libsocketcan.make +++

[ptxdist] [PATCH] python: move to staging

2019-09-25 Thread Roland Hieber
-by: Roland Hieber --- rules/python-imaging.in | 7 ++- rules/python-protobuf.in | 6 +- rules/python-pyro.in | 7 ++- rules/python-routing.in | 7 ++- rules/python-rplicmp.in | 7 ++- rules/python.in | 7 ++- 6 files changed, 35 insertions(+), 6 deletions

[ptxdist] [PATCH v2] configure_helper.py: check for emptyish ptxdist environment variables

2019-09-25 Thread Roland Hieber
When the environment variable exists, but is empty, os.environment.get() will return its value instead of using the supplied default. Check for cases like that to prevent calling an empty command. Signed-off-by: Roland Hieber --- v1 -> v2: - prevent "AttributeError: 'NoneType' ob

[ptxdist] [PATCH 2/2] doc: dev/ref manual: describe the _PATCHES variable

2019-10-08 Thread Roland Hieber
Fixes: 2e2242356f0bc72a56bc ("ptxd_make_world_patchin: allow specifying a custom patch directory") Signed-off-by: Roland Hieber --- doc/dev_manual.rst | 5 - doc/ref_make_variables.inc | 10 ++ 2 files changed, 14 insertions(+), 1 deletion(-) diff -

[ptxdist] [PATCH 1/2] doc: dev manual: patches: clean up literal formatting

2019-10-08 Thread Roland Hieber
Make variable formatting consistent with the rest of the document by using reST syntax instead of Markdown syntax. Signed-off-by: Roland Hieber --- doc/dev_manual.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/dev_manual.rst b/doc/dev_manual.rst index

Re: [ptxdist] [PATCH] libnl3: fix license information

2019-10-10 Thread Roland Hieber
ery and file. > > Signed-off-by: Michael Olbrich > --- Acked-by: Roland Hieber > > So if had forgotten about the old discussion when I applied the patch. How > about this patch. I don't really care about the kernel headers. It makes no > difference if they are shipped

Re: [ptxdist] [PATCH] perl: Add patch for compatibility with recent libcrypt implementations.

2019-10-10 Thread Roland Hieber
b/patches/perl-5.18.2/series > index dbf4b587d..d504441ef 100644 > --- a/patches/perl-5.18.2/series > +++ b/patches/perl-5.18.2/series > @@ -1,4 +1,5 @@ > # generated by git-ptx-patches > #tag:base --start-number 1 > 0001-It-s-lpthread-not-lpthreads.patch > -# 8270

Re: [ptxdist] [PATCH 2/2] libnl3: fix license identifier (GPL-2.0-only -> LGPL-2.1-only)

2019-10-09 Thread Roland Hieber
On Wed, Oct 09, 2019 at 10:22:02AM +0200, Roland Hieber wrote: > On Tue, Oct 08, 2019 at 10:01:50PM +0200, Andreas Pretzsch wrote: > > One of the changes 3.4.0 -> 3.5.0 was to add SPDX tags all > > across the source files. They are now tagged as LGPL-2.1-only. > > >

Re: [ptxdist] [PATCH 2/2] libnl3: fix license identifier (GPL-2.0-only -> LGPL-2.1-only)

2019-10-09 Thread Roland Hieber
ment should be LGPL-2.1-only AND GPL-2.0-only AND GPL-2.0 WITH Linux-syscall-note and GPL-2.0+ WITH Linux-syscall-note and BSD-3-Clause. [1]: https://metacpan.org/pod/App::Licensecheck - Roland -- Roland Hieber | r.hie...@pengutronix.de | Pengutronix e.K.

Re: [ptxdist] [PATCH] kernel-headers: build out-of-tree

2020-02-27 Thread Roland Hieber
ogram) broke the patch. There are a lot > of descriptions online, on how to send patches with various mail programs. > If that doesn't work then a patch as attachment is ok as well. Of which I learned recently: https://git-send-email.io/ - Roland -- Roland Hieber,

[ptxdist] [PATCH] platforms: document precedence rules for TARGET_EXTRA_*FLAGS

2020-03-02 Thread Roland Hieber
-by: Roland Hieber --- platforms/toolchain_options.in | 16 1 file changed, 16 insertions(+) diff --git a/platforms/toolchain_options.in b/platforms/toolchain_options.in index afae2a67cd11..0361bf6e7e8f 100644 --- a/platforms/toolchain_options.in +++ b/platforms

<    1   2   3   4   5   6   7   8   9   10   >