All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH/next 1/1] package/libdmtx: bump version to 0.7.5
@ 2019-08-31 10:49 Bernd Kuhls
  2019-09-06  7:06 ` Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: Bernd Kuhls @ 2019-08-31 10:49 UTC (permalink / raw)
  To: buildroot

According to https://sourceforge.net/projects/libdmtx the project was
moved to https://github.com/dmtx so update project URL in Config.in.

Updated license hash due to upstream commit
https://github.com/dmtx/libdmtx/commit/b65ff367ad90ab29568a5719b2ec07a2c2a6d8e8

Added AUTORECONF because the github tarball does not include a
configure script.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/libdmtx/Config.in    |  2 +-
 package/libdmtx/libdmtx.hash |  4 ++--
 package/libdmtx/libdmtx.mk   | 13 +++++++++++--
 3 files changed, 14 insertions(+), 5 deletions(-)

diff --git a/package/libdmtx/Config.in b/package/libdmtx/Config.in
index b81b99c423..20f469148c 100644
--- a/package/libdmtx/Config.in
+++ b/package/libdmtx/Config.in
@@ -4,4 +4,4 @@ config BR2_PACKAGE_LIBDMTX
 	  libdmtx is a software library that enables programs to read
 	  and write Data Matrix barcodes of the modern ECC200 variety.
 
-	  http://www.libdmtx.org/
+	  https://github.com/dmtx/libdmtx
diff --git a/package/libdmtx/libdmtx.hash b/package/libdmtx/libdmtx.hash
index 01e4ba4910..98eef9aeeb 100644
--- a/package/libdmtx/libdmtx.hash
+++ b/package/libdmtx/libdmtx.hash
@@ -1,3 +1,3 @@
 # Locally computed:
-sha256  686bcfb44e50b96345aa53f41e285f2118a2cf87a333b69b74165a2e7ddca492  libdmtx-0.7.4.tar.gz
-sha256  fe6959a664a7abb7d19bf125fa58a045d8757fe3cb3dc41975a54da0e627313d  LICENSE
+sha256  be0c5275695a732a5f434ded1fcc232aa63b1a6015c00044fe87f3a689b75f2e  libdmtx-0.7.5.tar.gz
+sha256  fcc277b7302645322c63de22b9b0bdae2df3dfa7d6cbc0d5bed7a4d3f1a9af79  LICENSE
diff --git a/package/libdmtx/libdmtx.mk b/package/libdmtx/libdmtx.mk
index f718b137b5..39fb8d1a4d 100644
--- a/package/libdmtx/libdmtx.mk
+++ b/package/libdmtx/libdmtx.mk
@@ -4,10 +4,19 @@
 #
 ################################################################################
 
-LIBDMTX_VERSION = 0.7.4
-LIBDMTX_SITE = http://downloads.sourceforge.net/project/libdmtx/libdmtx/$(LIBDMTX_VERSION)
+LIBDMTX_VERSION = 0.7.5
+LIBDMTX_SITE = $(call github,dmtx,libdmtx,v$(LIBDMTX_VERSION))
 LIBDMTX_LICENSE = BSD-2-Clause or Special Permission
 LIBDMTX_LICENSE_FILES = LICENSE
 LIBDMTX_INSTALL_STAGING = YES
+# github tarball does not include configure
+LIBDMTX_AUTORECONF = YES
+
+# Create the m4 directory (missing from the archive).
+# This is required for autoconf.
+define LIBDMTX_CREATE_M4
+	mkdir -p $(@D)/m4
+endef
+LIBDMTX_PRE_CONFIGURE_HOOKS += LIBDMTX_CREATE_M4
 
 $(eval $(autotools-package))
-- 
2.20.1

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

* [Buildroot] [PATCH/next 1/1] package/libdmtx: bump version to 0.7.5
  2019-08-31 10:49 [Buildroot] [PATCH/next 1/1] package/libdmtx: bump version to 0.7.5 Bernd Kuhls
@ 2019-09-06  7:06 ` Peter Korsgaard
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2019-09-06  7:06 UTC (permalink / raw)
  To: buildroot

>>>>> "Bernd" == Bernd Kuhls <bernd.kuhls@t-online.de> writes:

 > According to https://sourceforge.net/projects/libdmtx the project was
 > moved to https://github.com/dmtx so update project URL in Config.in.

 > Updated license hash due to upstream commit
 > https://github.com/dmtx/libdmtx/commit/b65ff367ad90ab29568a5719b2ec07a2c2a6d8e8

 > Added AUTORECONF because the github tarball does not include a
 > configure script.

 > Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>

Committed, thanks.

-- 
Bye, Peter Korsgaard

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

end of thread, other threads:[~2019-09-06  7:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-31 10:49 [Buildroot] [PATCH/next 1/1] package/libdmtx: bump version to 0.7.5 Bernd Kuhls
2019-09-06  7:06 ` Peter Korsgaard

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.