All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH v2 0/4] libgpiod: support for v1.0 series
@ 2018-04-17 14:20 Bartosz Golaszewski
  2018-04-17 14:20 ` [meta-oe][PATCH v2 1/4] libgpiod: include the version in the recipe filename Bartosz Golaszewski
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Bartosz Golaszewski @ 2018-04-17 14:20 UTC (permalink / raw)
  To: Armin Kuster, openembedded-devel

I recently released a new major version of libgpiod in which the
initial API was heavily reworked. Since it's no longer compatible
with v0.3.3 but I know there are users of the latter and I also
intend on supporting it for some time, I thought we should have both
versions in recipes-support.

This series adds a new recipe for libgpiod v1.0.1 that can live next to
v0.3.3.

v1 -> v2:
- there was no reply to the previous series, and new v0.3.x and v1.0.x
  versions have been released during that time, so v2 bumps the versions

Bartosz Golaszewski (4):
  libgpiod: include the version in the recipe filename
  libgpiod: split recipe into .inc and .bb files
  libgpiod: bump version to v0.3.3
  libgpiod: add support for v1.x series

 .../recipes-support/libgpiod/{libgpiod.bb => libgpiod.inc}   | 5 -----
 meta-oe/recipes-support/libgpiod/libgpiod_0.3.3.bb           | 4 ++++
 meta-oe/recipes-support/libgpiod/libgpiod_1.0.1.bb           | 4 ++++
 3 files changed, 8 insertions(+), 5 deletions(-)
 rename meta-oe/recipes-support/libgpiod/{libgpiod.bb => libgpiod.inc} (80%)
 create mode 100644 meta-oe/recipes-support/libgpiod/libgpiod_0.3.3.bb
 create mode 100644 meta-oe/recipes-support/libgpiod/libgpiod_1.0.1.bb

-- 
2.17.0



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [meta-oe][PATCH v2 1/4] libgpiod: include the version in the recipe filename
  2018-04-17 14:20 [meta-oe][PATCH v2 0/4] libgpiod: support for v1.0 series Bartosz Golaszewski
@ 2018-04-17 14:20 ` Bartosz Golaszewski
  2018-04-17 14:20 ` [meta-oe][PATCH v2 2/4] libgpiod: split recipe into .inc and .bb files Bartosz Golaszewski
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Bartosz Golaszewski @ 2018-04-17 14:20 UTC (permalink / raw)
  To: Armin Kuster, openembedded-devel

As the first step in supporting both v0.x and v1.x series: include the
version in the recipe filename.

Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
---
 .../recipes-support/libgpiod/{libgpiod.bb => libgpiod_0.3.2.bb} | 2 --
 1 file changed, 2 deletions(-)
 rename meta-oe/recipes-support/libgpiod/{libgpiod.bb => libgpiod_0.3.2.bb} (98%)

diff --git a/meta-oe/recipes-support/libgpiod/libgpiod.bb b/meta-oe/recipes-support/libgpiod/libgpiod_0.3.2.bb
similarity index 98%
rename from meta-oe/recipes-support/libgpiod/libgpiod.bb
rename to meta-oe/recipes-support/libgpiod/libgpiod_0.3.2.bb
index b2e3bae69..20068894e 100644
--- a/meta-oe/recipes-support/libgpiod/libgpiod.bb
+++ b/meta-oe/recipes-support/libgpiod/libgpiod_0.3.2.bb
@@ -8,8 +8,6 @@ SRC_URI = "https://www.kernel.org/pub/software/libs/libgpiod/${BP}.tar.xz"
 SRC_URI[md5sum] = "9c1966bea7dffd59bd099a8b2930e2ea"
 SRC_URI[sha256sum] = "50c7862428ca90b58672e2475aea66d33a6fc86c6bab1928c0660f3aedf44a37"
 
-PV = "0.3.2"
-
 inherit autotools pkgconfig
 
 # enable tools
-- 
2.17.0



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [meta-oe][PATCH v2 2/4] libgpiod: split recipe into .inc and .bb files
  2018-04-17 14:20 [meta-oe][PATCH v2 0/4] libgpiod: support for v1.0 series Bartosz Golaszewski
  2018-04-17 14:20 ` [meta-oe][PATCH v2 1/4] libgpiod: include the version in the recipe filename Bartosz Golaszewski
@ 2018-04-17 14:20 ` Bartosz Golaszewski
  2018-04-17 14:20 ` [meta-oe][PATCH v2 3/4] libgpiod: bump version to v0.3.3 Bartosz Golaszewski
  2018-04-17 14:20 ` [meta-oe][PATCH v2 4/4] libgpiod: add support for v1.x series Bartosz Golaszewski
  3 siblings, 0 replies; 5+ messages in thread
From: Bartosz Golaszewski @ 2018-04-17 14:20 UTC (permalink / raw)
  To: Armin Kuster, openembedded-devel

The build works the same for v0.x and v1.x series - leave only the
hashes in the .bb file and put everything else into .inc.

Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
---
 meta-oe/recipes-support/libgpiod/libgpiod.inc | 21 ++++++++++++++++++
 .../libgpiod/libgpiod_0.3.2.bb                | 22 +------------------
 2 files changed, 22 insertions(+), 21 deletions(-)
 create mode 100644 meta-oe/recipes-support/libgpiod/libgpiod.inc

diff --git a/meta-oe/recipes-support/libgpiod/libgpiod.inc b/meta-oe/recipes-support/libgpiod/libgpiod.inc
new file mode 100644
index 000000000..cd7750623
--- /dev/null
+++ b/meta-oe/recipes-support/libgpiod/libgpiod.inc
@@ -0,0 +1,21 @@
+SUMMARY = "C library and tools for interacting with the linux GPIO character device"
+
+LICENSE = "LGPLv2.1+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=2caced0b25dfefd4c601d92bd15116de"
+
+SRC_URI = "https://www.kernel.org/pub/software/libs/libgpiod/${BP}.tar.xz"
+
+inherit autotools pkgconfig
+
+# enable tools
+PACKAGECONFIG ?= "tools"
+
+PACKAGECONFIG[tests] = "--enable-tests,--disable-tests,kmod udev"
+PACKAGECONFIG[tools] = "--enable-tools,--disable-tools,"
+
+PACKAGES =+ " ${PN}-tools"
+
+FILES_${PN}-tools = "${bindir}/*"
+
+RRECOMMENDS_TOOLS = "${@bb.utils.contains('PACKAGECONFIG', 'tools', '${PN}-tools', '',d)}"
+RRECOMMENDS_${PN} += "${RRECOMMENDS_TOOLS}"
diff --git a/meta-oe/recipes-support/libgpiod/libgpiod_0.3.2.bb b/meta-oe/recipes-support/libgpiod/libgpiod_0.3.2.bb
index 20068894e..ea785ad0c 100644
--- a/meta-oe/recipes-support/libgpiod/libgpiod_0.3.2.bb
+++ b/meta-oe/recipes-support/libgpiod/libgpiod_0.3.2.bb
@@ -1,24 +1,4 @@
-SUMMARY = "C library and tools for interacting with the linux GPIO character device"
-
-LICENSE = "LGPLv2.1+"
-LIC_FILES_CHKSUM = "file://COPYING;md5=2caced0b25dfefd4c601d92bd15116de"
-
-SRC_URI = "https://www.kernel.org/pub/software/libs/libgpiod/${BP}.tar.xz"
+require libgpiod.inc
 
 SRC_URI[md5sum] = "9c1966bea7dffd59bd099a8b2930e2ea"
 SRC_URI[sha256sum] = "50c7862428ca90b58672e2475aea66d33a6fc86c6bab1928c0660f3aedf44a37"
-
-inherit autotools pkgconfig
-
-# enable tools
-PACKAGECONFIG ?= "tools"
-
-PACKAGECONFIG[tests] = "--enable-tests,--disable-tests,kmod udev"
-PACKAGECONFIG[tools] = "--enable-tools,--disable-tools,"
-
-PACKAGES =+ " ${PN}-tools"
-
-FILES_${PN}-tools = "${bindir}/*"
-
-RRECOMMENDS_TOOLS = "${@bb.utils.contains('PACKAGECONFIG', 'tools', '${PN}-tools', '',d)}"
-RRECOMMENDS_${PN} += "${RRECOMMENDS_TOOLS}"
-- 
2.17.0



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [meta-oe][PATCH v2 3/4] libgpiod: bump version to v0.3.3
  2018-04-17 14:20 [meta-oe][PATCH v2 0/4] libgpiod: support for v1.0 series Bartosz Golaszewski
  2018-04-17 14:20 ` [meta-oe][PATCH v2 1/4] libgpiod: include the version in the recipe filename Bartosz Golaszewski
  2018-04-17 14:20 ` [meta-oe][PATCH v2 2/4] libgpiod: split recipe into .inc and .bb files Bartosz Golaszewski
@ 2018-04-17 14:20 ` Bartosz Golaszewski
  2018-04-17 14:20 ` [meta-oe][PATCH v2 4/4] libgpiod: add support for v1.x series Bartosz Golaszewski
  3 siblings, 0 replies; 5+ messages in thread
From: Bartosz Golaszewski @ 2018-04-17 14:20 UTC (permalink / raw)
  To: Armin Kuster, openembedded-devel

This is a bug fix release of the v0.3.x series.

Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
---
 meta-oe/recipes-support/libgpiod/libgpiod_0.3.2.bb | 4 ----
 meta-oe/recipes-support/libgpiod/libgpiod_0.3.3.bb | 4 ++++
 2 files changed, 4 insertions(+), 4 deletions(-)
 delete mode 100644 meta-oe/recipes-support/libgpiod/libgpiod_0.3.2.bb
 create mode 100644 meta-oe/recipes-support/libgpiod/libgpiod_0.3.3.bb

diff --git a/meta-oe/recipes-support/libgpiod/libgpiod_0.3.2.bb b/meta-oe/recipes-support/libgpiod/libgpiod_0.3.2.bb
deleted file mode 100644
index ea785ad0c..000000000
--- a/meta-oe/recipes-support/libgpiod/libgpiod_0.3.2.bb
+++ /dev/null
@@ -1,4 +0,0 @@
-require libgpiod.inc
-
-SRC_URI[md5sum] = "9c1966bea7dffd59bd099a8b2930e2ea"
-SRC_URI[sha256sum] = "50c7862428ca90b58672e2475aea66d33a6fc86c6bab1928c0660f3aedf44a37"
diff --git a/meta-oe/recipes-support/libgpiod/libgpiod_0.3.3.bb b/meta-oe/recipes-support/libgpiod/libgpiod_0.3.3.bb
new file mode 100644
index 000000000..09fb65a08
--- /dev/null
+++ b/meta-oe/recipes-support/libgpiod/libgpiod_0.3.3.bb
@@ -0,0 +1,4 @@
+require libgpiod.inc
+
+SRC_URI[md5sum] = "2aa1e1a80c3c919ae142ab9a55fb59ca"
+SRC_URI[sha256sum] = "b773e557af1a497f786825462a776b7bf90168e67ee0a5bc5d2473a5674dc38c"
-- 
2.17.0



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [meta-oe][PATCH v2 4/4] libgpiod: add support for v1.x series
  2018-04-17 14:20 [meta-oe][PATCH v2 0/4] libgpiod: support for v1.0 series Bartosz Golaszewski
                   ` (2 preceding siblings ...)
  2018-04-17 14:20 ` [meta-oe][PATCH v2 3/4] libgpiod: bump version to v0.3.3 Bartosz Golaszewski
@ 2018-04-17 14:20 ` Bartosz Golaszewski
  3 siblings, 0 replies; 5+ messages in thread
From: Bartosz Golaszewski @ 2018-04-17 14:20 UTC (permalink / raw)
  To: Armin Kuster, openembedded-devel

Add a recipe for libgpiod v1.0.1. It can live next to the one for v0.3.3.

Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
---
 meta-oe/recipes-support/libgpiod/libgpiod_1.0.1.bb | 4 ++++
 1 file changed, 4 insertions(+)
 create mode 100644 meta-oe/recipes-support/libgpiod/libgpiod_1.0.1.bb

diff --git a/meta-oe/recipes-support/libgpiod/libgpiod_1.0.1.bb b/meta-oe/recipes-support/libgpiod/libgpiod_1.0.1.bb
new file mode 100644
index 000000000..51499fd72
--- /dev/null
+++ b/meta-oe/recipes-support/libgpiod/libgpiod_1.0.1.bb
@@ -0,0 +1,4 @@
+require libgpiod.inc
+
+SRC_URI[md5sum] = "2ca0c3eb17d69e367b6f6a109ca86e41"
+SRC_URI[sha256sum] = "972924195367f5fb045c023d65340c4b7dfc8764499516be446553865208dedc"
-- 
2.17.0



^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-04-17 14:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-17 14:20 [meta-oe][PATCH v2 0/4] libgpiod: support for v1.0 series Bartosz Golaszewski
2018-04-17 14:20 ` [meta-oe][PATCH v2 1/4] libgpiod: include the version in the recipe filename Bartosz Golaszewski
2018-04-17 14:20 ` [meta-oe][PATCH v2 2/4] libgpiod: split recipe into .inc and .bb files Bartosz Golaszewski
2018-04-17 14:20 ` [meta-oe][PATCH v2 3/4] libgpiod: bump version to v0.3.3 Bartosz Golaszewski
2018-04-17 14:20 ` [meta-oe][PATCH v2 4/4] libgpiod: add support for v1.x series Bartosz Golaszewski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.