Message ID | 20250712195144.3925991-2-Rauch.Christian@gmx.de |
---|---|
State | Superseded |
Headers | show |
Series |
|
Related | show |
Quoting Christian Rauch (2025-07-12 20:51:43) > This metadata file provides meta information about the version, licence, > maintainers and build dependencies. The file is used by build systems, such > as colcon, to manage and resolve build dependencies. > > The file structure is defined at: https://www.ros.org/reps/rep-0149.html > > Signed-off-by: Christian Rauch <Rauch.Christian@gmx.de> > --- > package.xml | 45 +++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 45 insertions(+) > create mode 100644 package.xml > > diff --git a/package.xml b/package.xml > new file mode 100644 > index 000000000..814084c17 > --- /dev/null > +++ b/package.xml > @@ -0,0 +1,45 @@ > +<?xml version="1.0"?> > +<!-- SPDX-License-Identifier: CC0-1.0 --> > +<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?> > +<package format="3"> > + <name>libcamera</name> > + > + <version>0.5.1</version> This is probably the only part that impacts me - but could be handled 'automatically' by updating utils/release.sh ? It doesn't seem like a high cost to have this file in repo ... but it's very 'ROS' specific... but ROS is probably a project we expect to support using libcamera ... and after all we have package/gentoo/media-libs/libcamera/libcamera-9999.ebuild so ... Acked-by: Kieran Bingham <kieran.bingham@ideasonboard.com> ? Would be nice if this series could also update utils/release.sh ? -- Kieran > + > + <description>An open source camera stack and framework for Linux, Android, and ChromeOS</description> > + > + <maintainer email="Rauch.Christian@gmx.de">Christian Rauch</maintainer> > + <maintainer email="Laurent.Pinchart@ideasonboard.com">Laurent Pinchart</maintainer> > + > + <license>Apache-2.0</license> > + <license>BSD-2-Clause</license> > + <license>BSD-3-Clause</license> > + <license>GPL-2.0-or-later</license> > + <license>LGPL-2.1-or-later</license> > + > + <url>https://libcamera.org</url> > + > + <author email="libcamera-devel@lists.libcamera.org">libcamera project</author> > + > + <buildtool_depend>meson</buildtool_depend> > + <buildtool_depend>pkg-config</buildtool_depend> > + <buildtool_depend>git</buildtool_depend> > + > + <build_depend>python3-yaml</build_depend> > + <build_depend>python3-ply</build_depend> > + <build_depend>python3-jinja2</build_depend> > + <build_depend>openssl</build_depend> > + <build_depend>pybind11-dev</build_depend> > + > + <depend>yaml</depend> > + <depend>libssl-dev</depend> > + <depend>libudev-dev</depend> > + <depend>python3</depend> > + > + <!-- workaround for https://bugs.libcamera.org/show_bug.cgi?id=189 --> > + <depend>libatomic</depend> > + > + <export> > + <build_type>meson</build_type> > + </export> > +</package> > -- > 2.43.0 >
On Wed, Jul 16, 2025 at 10:18:39AM +0100, Kieran Bingham wrote: > Quoting Christian Rauch (2025-07-12 20:51:43) > > This metadata file provides meta information about the version, licence, > > maintainers and build dependencies. The file is used by build systems, such > > as colcon, to manage and resolve build dependencies. > > > > The file structure is defined at: https://www.ros.org/reps/rep-0149.html > > > > Signed-off-by: Christian Rauch <Rauch.Christian@gmx.de> > > --- > > package.xml | 45 +++++++++++++++++++++++++++++++++++++++++++++ > > 1 file changed, 45 insertions(+) > > create mode 100644 package.xml > > > > diff --git a/package.xml b/package.xml > > new file mode 100644 > > index 000000000..814084c17 > > --- /dev/null > > +++ b/package.xml > > @@ -0,0 +1,45 @@ > > +<?xml version="1.0"?> > > +<!-- SPDX-License-Identifier: CC0-1.0 --> > > +<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?> > > +<package format="3"> > > + <name>libcamera</name> > > + > > + <version>0.5.1</version> > > This is probably the only part that impacts me - but could be handled > 'automatically' by updating utils/release.sh ? > > It doesn't seem like a high cost to have this file in repo ... but it's > very 'ROS' specific... That's my concern. If we do that, why not also include files for Debian packaging, and Fedora packaging, and... and where do we stop ? > but ROS is probably a project we expect to > support using libcamera ... and after all we have > package/gentoo/media-libs/libcamera/libcamera-9999.ebuild > > > so ... > > > Acked-by: Kieran Bingham <kieran.bingham@ideasonboard.com> > > ? > > Would be nice if this series could also update utils/release.sh ? > > > + > > + <description>An open source camera stack and framework for Linux, Android, and ChromeOS</description> > > + > > + <maintainer email="Rauch.Christian@gmx.de">Christian Rauch</maintainer> > > + <maintainer email="Laurent.Pinchart@ideasonboard.com">Laurent Pinchart</maintainer> > > + > > + <license>Apache-2.0</license> > > + <license>BSD-2-Clause</license> > > + <license>BSD-3-Clause</license> > > + <license>GPL-2.0-or-later</license> > > + <license>LGPL-2.1-or-later</license> > > + > > + <url>https://libcamera.org</url> > > + > > + <author email="libcamera-devel@lists.libcamera.org">libcamera project</author> > > + > > + <buildtool_depend>meson</buildtool_depend> > > + <buildtool_depend>pkg-config</buildtool_depend> > > + <buildtool_depend>git</buildtool_depend> > > + > > + <build_depend>python3-yaml</build_depend> > > + <build_depend>python3-ply</build_depend> > > + <build_depend>python3-jinja2</build_depend> > > + <build_depend>openssl</build_depend> > > + <build_depend>pybind11-dev</build_depend> > > + > > + <depend>yaml</depend> > > + <depend>libssl-dev</depend> > > + <depend>libudev-dev</depend> > > + <depend>python3</depend> > > + > > + <!-- workaround for https://bugs.libcamera.org/show_bug.cgi?id=189 --> > > + <depend>libatomic</depend> > > + > > + <export> > > + <build_type>meson</build_type> > > + </export> > > +</package>
Quoting Laurent Pinchart (2025-07-16 10:25:21) > On Wed, Jul 16, 2025 at 10:18:39AM +0100, Kieran Bingham wrote: > > Quoting Christian Rauch (2025-07-12 20:51:43) > > > This metadata file provides meta information about the version, licence, > > > maintainers and build dependencies. The file is used by build systems, such > > > as colcon, to manage and resolve build dependencies. > > > > > > The file structure is defined at: https://www.ros.org/reps/rep-0149.html > > > > > > Signed-off-by: Christian Rauch <Rauch.Christian@gmx.de> > > > --- > > > package.xml | 45 +++++++++++++++++++++++++++++++++++++++++++++ > > > 1 file changed, 45 insertions(+) > > > create mode 100644 package.xml > > > > > > diff --git a/package.xml b/package.xml > > > new file mode 100644 > > > index 000000000..814084c17 > > > --- /dev/null > > > +++ b/package.xml > > > @@ -0,0 +1,45 @@ > > > +<?xml version="1.0"?> > > > +<!-- SPDX-License-Identifier: CC0-1.0 --> > > > +<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?> > > > +<package format="3"> > > > + <name>libcamera</name> > > > + > > > + <version>0.5.1</version> > > > > This is probably the only part that impacts me - but could be handled > > 'automatically' by updating utils/release.sh ? > > > > It doesn't seem like a high cost to have this file in repo ... but it's > > very 'ROS' specific... > > That's my concern. If we do that, why not also include files for Debian > packaging, and Fedora packaging, and... and where do we stop ? I'd love to have debian packaging included to make it easier to build debian packages ... but we can't customise the path to keep it under package/ > > > but ROS is probably a project we expect to > > support using libcamera ... and after all we have > > package/gentoo/media-libs/libcamera/libcamera-9999.ebuild > > > > > > so ... > > > > > > Acked-by: Kieran Bingham <kieran.bingham@ideasonboard.com> > > > > ? > > > > Would be nice if this series could also update utils/release.sh ? > > > > > + > > > + <description>An open source camera stack and framework for Linux, Android, and ChromeOS</description> > > > + > > > + <maintainer email="Rauch.Christian@gmx.de">Christian Rauch</maintainer> > > > + <maintainer email="Laurent.Pinchart@ideasonboard.com">Laurent Pinchart</maintainer> > > > + > > > + <license>Apache-2.0</license> > > > + <license>BSD-2-Clause</license> > > > + <license>BSD-3-Clause</license> > > > + <license>GPL-2.0-or-later</license> > > > + <license>LGPL-2.1-or-later</license> > > > + > > > + <url>https://libcamera.org</url> > > > + > > > + <author email="libcamera-devel@lists.libcamera.org">libcamera project</author> > > > + > > > + <buildtool_depend>meson</buildtool_depend> > > > + <buildtool_depend>pkg-config</buildtool_depend> > > > + <buildtool_depend>git</buildtool_depend> > > > + > > > + <build_depend>python3-yaml</build_depend> > > > + <build_depend>python3-ply</build_depend> > > > + <build_depend>python3-jinja2</build_depend> > > > + <build_depend>openssl</build_depend> > > > + <build_depend>pybind11-dev</build_depend> > > > + > > > + <depend>yaml</depend> > > > + <depend>libssl-dev</depend> > > > + <depend>libudev-dev</depend> > > > + <depend>python3</depend> > > > + > > > + <!-- workaround for https://bugs.libcamera.org/show_bug.cgi?id=189 --> > > > + <depend>libatomic</depend> > > > + > > > + <export> > > > + <build_type>meson</build_type> > > > + </export> > > > +</package> > > -- > Regards, > > Laurent Pinchart
Am 16.07.25 um 11:49 schrieb Kieran Bingham: > Quoting Laurent Pinchart (2025-07-16 10:25:21) >> On Wed, Jul 16, 2025 at 10:18:39AM +0100, Kieran Bingham wrote: >>> Quoting Christian Rauch (2025-07-12 20:51:43) >>>> This metadata file provides meta information about the version, licence, >>>> maintainers and build dependencies. The file is used by build systems, such >>>> as colcon, to manage and resolve build dependencies. >>>> >>>> The file structure is defined at: https://www.ros.org/reps/rep-0149.html >>>> >>>> Signed-off-by: Christian Rauch <Rauch.Christian@gmx.de> >>>> --- >>>> package.xml | 45 +++++++++++++++++++++++++++++++++++++++++++++ >>>> 1 file changed, 45 insertions(+) >>>> create mode 100644 package.xml >>>> >>>> diff --git a/package.xml b/package.xml >>>> new file mode 100644 >>>> index 000000000..814084c17 >>>> --- /dev/null >>>> +++ b/package.xml >>>> @@ -0,0 +1,45 @@ >>>> +<?xml version="1.0"?> >>>> +<!-- SPDX-License-Identifier: CC0-1.0 --> >>>> +<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?> >>>> +<package format="3"> >>>> + <name>libcamera</name> >>>> + >>>> + <version>0.5.1</version> >>> >>> This is probably the only part that impacts me - but could be handled >>> 'automatically' by updating utils/release.sh ? >>> >>> It doesn't seem like a high cost to have this file in repo ... but it's >>> very 'ROS' specific... >> >> That's my concern. If we do that, why not also include files for Debian >> packaging, and Fedora packaging, and... and where do we stop ? > > I'd love to have debian packaging included to make it easier to build > debian packages ... but we can't customise the path to keep it under > package/ Most package formats expect a certain file layout and do not recursively discover the requested structure. I could understand if it is not wanted that all those package specific files clutter the root folder of the project. If there are too many "package" files for different formats, you could maintain them in a separate "package" branch or fork and regularly, e.g. after a release, merge the "master" branch into this "package" branch or fork. This way, package maintainers could use this branch or fork to generate package releases. I am not sure, though, what a sensible way of tagging would be as you typically would need to tag releases in the "master" branch, but the package releases also often need matching tags. - Christian > >> >>> but ROS is probably a project we expect to >>> support using libcamera ... and after all we have >>> package/gentoo/media-libs/libcamera/libcamera-9999.ebuild >>> >>> >>> so ... >>> >>> >>> Acked-by: Kieran Bingham <kieran.bingham@ideasonboard.com> >>> >>> ? >>> >>> Would be nice if this series could also update utils/release.sh ? >>> >>>> + >>>> + <description>An open source camera stack and framework for Linux, Android, and ChromeOS</description> >>>> + >>>> + <maintainer email="Rauch.Christian@gmx.de">Christian Rauch</maintainer> >>>> + <maintainer email="Laurent.Pinchart@ideasonboard.com">Laurent Pinchart</maintainer> >>>> + >>>> + <license>Apache-2.0</license> >>>> + <license>BSD-2-Clause</license> >>>> + <license>BSD-3-Clause</license> >>>> + <license>GPL-2.0-or-later</license> >>>> + <license>LGPL-2.1-or-later</license> >>>> + >>>> + <url>https://libcamera.org</url> >>>> + >>>> + <author email="libcamera-devel@lists.libcamera.org">libcamera project</author> >>>> + >>>> + <buildtool_depend>meson</buildtool_depend> >>>> + <buildtool_depend>pkg-config</buildtool_depend> >>>> + <buildtool_depend>git</buildtool_depend> >>>> + >>>> + <build_depend>python3-yaml</build_depend> >>>> + <build_depend>python3-ply</build_depend> >>>> + <build_depend>python3-jinja2</build_depend> >>>> + <build_depend>openssl</build_depend> >>>> + <build_depend>pybind11-dev</build_depend> >>>> + >>>> + <depend>yaml</depend> >>>> + <depend>libssl-dev</depend> >>>> + <depend>libudev-dev</depend> >>>> + <depend>python3</depend> >>>> + >>>> + <!-- workaround for https://bugs.libcamera.org/show_bug.cgi?id=189 --> >>>> + <depend>libatomic</depend> >>>> + >>>> + <export> >>>> + <build_type>meson</build_type> >>>> + </export> >>>> +</package> >> >> -- >> Regards, >> >> Laurent Pinchart
diff --git a/package.xml b/package.xml new file mode 100644 index 000000000..814084c17 --- /dev/null +++ b/package.xml @@ -0,0 +1,45 @@ +<?xml version="1.0"?> +<!-- SPDX-License-Identifier: CC0-1.0 --> +<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?> +<package format="3"> + <name>libcamera</name> + + <version>0.5.1</version> + + <description>An open source camera stack and framework for Linux, Android, and ChromeOS</description> + + <maintainer email="Rauch.Christian@gmx.de">Christian Rauch</maintainer> + <maintainer email="Laurent.Pinchart@ideasonboard.com">Laurent Pinchart</maintainer> + + <license>Apache-2.0</license> + <license>BSD-2-Clause</license> + <license>BSD-3-Clause</license> + <license>GPL-2.0-or-later</license> + <license>LGPL-2.1-or-later</license> + + <url>https://libcamera.org</url> + + <author email="libcamera-devel@lists.libcamera.org">libcamera project</author> + + <buildtool_depend>meson</buildtool_depend> + <buildtool_depend>pkg-config</buildtool_depend> + <buildtool_depend>git</buildtool_depend> + + <build_depend>python3-yaml</build_depend> + <build_depend>python3-ply</build_depend> + <build_depend>python3-jinja2</build_depend> + <build_depend>openssl</build_depend> + <build_depend>pybind11-dev</build_depend> + + <depend>yaml</depend> + <depend>libssl-dev</depend> + <depend>libudev-dev</depend> + <depend>python3</depend> + + <!-- workaround for https://bugs.libcamera.org/show_bug.cgi?id=189 --> + <depend>libatomic</depend> + + <export> + <build_type>meson</build_type> + </export> +</package>
This metadata file provides meta information about the version, licence, maintainers and build dependencies. The file is used by build systems, such as colcon, to manage and resolve build dependencies. The file structure is defined at: https://www.ros.org/reps/rep-0149.html Signed-off-by: Christian Rauch <Rauch.Christian@gmx.de> --- package.xml | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 package.xml