Skip to contentSkip to conversation

package/lua-gd: bump version

PATCH New Fabrice Fontaine 2 participants 3 messages Sep 20, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/lua-gd: bump version

Bump to latest master to get latest commit and drop gdlib-config which is not available on latest gd:
https://github.com/ittner/lua-gd/commit/2ce8e478a8591afd71e607506bc8c64b161bbd30

gd has a pkg-config file since version 2.1.0 and
https://github.com/libgd/libgd/commit/071a2a94ee9f9e5ce00ff689dfe67a0fcb885ad6

---
 package/lua-gd/lua-gd.hash | 2 +-
 package/lua-gd/lua-gd.mk   | 5 ++---
 2 files changed, 3 insertions(+), 4 deletions(-)
package/lua-gd/lua-gd.hash +1 -1
index d1bab37bc1..512573b474 100644
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256  114f273a64da6ccbf6e0555757b952f84ab8c134416dd7aae1aeb666ca0e964d  lua-gd-e60b13b7977bb3424d7044976ccba5d42c256934.tar.gz
+sha256  928fa036b37595d773db1999c9ff43195c4290f0722298fa5b0c3e619c678525  lua-gd-2ce8e478a8591afd71e607506bc8c64b161bbd30.tar.gz
 sha256  b0ca41d88ddb0ca785436d37b08b8f413055755eb6bfd3ea0a6ff3214303aa43  COPYING
package/lua-gd/lua-gd.mk +2 -3
index e9a51a1677..38e064b77e 100644
@@ -4,17 +4,16 @@
 #
 ################################################################################
 
-LUA_GD_VERSION = e60b13b7977bb3424d7044976ccba5d42c256934
+LUA_GD_VERSION = 2ce8e478a8591afd71e607506bc8c64b161bbd30
 LUA_GD_SITE = $(call github,ittner,lua-gd,$(LUA_GD_VERSION))
 LUA_GD_LICENSE = MIT
 LUA_GD_LICENSE_FILES = COPYING
-LUA_GD_DEPENDENCIES = luainterpreter gd
+LUA_GD_DEPENDENCIES = host-pkgconf luainterpreter gd
 
 # VERSION follows the scheme described on https://ittner.github.io/lua-gd/manual.html#intro,
 # the current version of the binding is 3.
 define LUA_GD_BUILD_CMDS
 	$(MAKE) -C $(@D) gd.so \
-		GDLIBCONFIG="$(STAGING_DIR)/usr/bin/gdlib-config" \
 		CC=$(TARGET_CC) \
 		CFLAGS="$(TARGET_CFLAGS) -fPIC -DVERSION=\\\"$(GD_VERSION)r3\\\"" \
 		LFLAGS="-shared -lgd"
Signature · 1 line
2.28.0
#1 lore raw

PATCH 1/1 package/lua-gd: bump version

Le dim. 20 sept. 2020 ? 10:21, Fabrice Fontaine <[email protected]> a ?crit :

Quoted 11 lines

Bump to latest master to get latest commit and drop gdlib-config which is not available on latest gd:

https://github.com/ittner/lua-gd/commit/2ce8e478a8591afd71e607506bc8c64b161bbd30

gd has a pkg-config file since version 2.1.0 and

https://github.com/libgd/libgd/commit/071a2a94ee9f9e5ce00ff689dfe67a0fcb885ad6

Nack

in commit
https://github.com/ittner/lua-gd/commit/2ce8e478a8591afd71e607506bc8c64b161bbd30
you could see that pkg-config replaces gdlib-config for CFLAGS & LFLAGS but GDFEATURES is set unconditionnally.

I've already sent a good patch,
see
https://patchwork.ozlabs.org/project/buildroot/patch/20200908052352.1735787-1-francois.perrad at gadz.org/

Fran?ois

---

Quoted 41 lines
 package/lua-gd/lua-gd.hash | 2 +-
 package/lua-gd/lua-gd.mk   | 5 ++---
 2 files changed, 3 insertions(+), 4 deletions(-)
package/lua-gd/lua-gd.hash +0 -1
index d1bab37bc1..512573b474 100644
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256  114f273a64da6ccbf6e0555757b952f84ab8c134416dd7aae1aeb666ca0e964d

lua-gd-e60b13b7977bb3424d7044976ccba5d42c256934.tar.gz +sha256 928fa036b37595d773db1999c9ff43195c4290f0722298fa5b0c3e619c678525 lua-gd-2ce8e478a8591afd71e607506bc8c64b161bbd30.tar.gz
sha256 b0ca41d88ddb0ca785436d37b08b8f413055755eb6bfd3ea0a6ff3214303aa43
COPYING

package/lua-gd/lua-gd.mk +2 -3
index e9a51a1677..38e064b77e 100644
@@ -4,17 +4,16 @@
 #
 
 ################################################################################
 
-LUA_GD_VERSION = e60b13b7977bb3424d7044976ccba5d42c256934
+LUA_GD_VERSION = 2ce8e478a8591afd71e607506bc8c64b161bbd30
 LUA_GD_SITE = $(call github,ittner,lua-gd,$(LUA_GD_VERSION))
 LUA_GD_LICENSE = MIT
 LUA_GD_LICENSE_FILES = COPYING
-LUA_GD_DEPENDENCIES = luainterpreter gd
+LUA_GD_DEPENDENCIES = host-pkgconf luainterpreter gd
 
 # VERSION follows the scheme described on
 https://ittner.github.io/lua-gd/manual.html#intro,
 # the current version of the binding is 3.
 define LUA_GD_BUILD_CMDS
        $(MAKE) -C $(@D) gd.so \
-               GDLIBCONFIG="$(STAGING_DIR)/usr/bin/gdlib-config" \
                CC=$(TARGET_CC) \
                CFLAGS="$(TARGET_CFLAGS) -fPIC
Quoted 6 lines

-DVERSION=\\\"$(GD_VERSION)r3\\\"" \
LFLAGS="-shared -lgd"
--
2.28.0

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20200920/c663b769/attachment-0001.html>

#2 lore raw

PATCH 1/1 package/lua-gd: bump version

Hi Fran?ois,

Le dim. 20 sept. 2020 ? 11:24, Fran?ois Perrad
<[email protected]> a ?crit :

Quoted 14 lines

Le dim. 20 sept. 2020 ? 10:21, Fabrice Fontaine <[email protected]> a ?crit :

Quoted 9 lines

Bump to latest master to get latest commit and drop gdlib-config which is not available on latest gd:
https://github.com/ittner/lua-gd/commit/2ce8e478a8591afd71e607506bc8c64b161bbd30

gd has a pkg-config file since version 2.1.0 and
https://github.com/libgd/libgd/commit/071a2a94ee9f9e5ce00ff689dfe67a0fcb885ad6

Quoted 8 lines

Nack

in commit https://github.com/ittner/lua-gd/commit/2ce8e478a8591afd71e607506bc8c64b161bbd30
you could see that pkg-config replaces gdlib-config for CFLAGS & LFLAGS
but GDFEATURES is set unconditionnally.

I've already sent a good patch,
see https://patchwork.ozlabs.org/project/buildroot/patch/20200908052352.1735787-1-francois.perrad at gadz.org/

OK, I missed it. I'll set my patch as rejected.

Quoted 33 lines

Fran?ois

Quoted 30 lines
---
 package/lua-gd/lua-gd.hash | 2 +-
 package/lua-gd/lua-gd.mk   | 5 ++---
 2 files changed, 3 insertions(+), 4 deletions(-)
package/lua-gd/lua-gd.hash +1 -1
index d1bab37bc1..512573b474 100644
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256  114f273a64da6ccbf6e0555757b952f84ab8c134416dd7aae1aeb666ca0e964d  lua-gd-e60b13b7977bb3424d7044976ccba5d42c256934.tar.gz
+sha256  928fa036b37595d773db1999c9ff43195c4290f0722298fa5b0c3e619c678525  lua-gd-2ce8e478a8591afd71e607506bc8c64b161bbd30.tar.gz
 sha256  b0ca41d88ddb0ca785436d37b08b8f413055755eb6bfd3ea0a6ff3214303aa43  COPYING
package/lua-gd/lua-gd.mk +2 -2
index e9a51a1677..38e064b77e 100644
@@ -4,17 +4,16 @@
 #
 ################################################################################
 
-LUA_GD_VERSION = e60b13b7977bb3424d7044976ccba5d42c256934
+LUA_GD_VERSION = 2ce8e478a8591afd71e607506bc8c64b161bbd30
 LUA_GD_SITE = $(call github,ittner,lua-gd,$(LUA_GD_VERSION))
 LUA_GD_LICENSE = MIT
 LUA_GD_LICENSE_FILES = COPYING
-LUA_GD_DEPENDENCIES = luainterpreter gd
+LUA_GD_DEPENDENCIES = host-pkgconf luainterpreter gd
 
Quoted 11 lines
Quoted 11 lines
package/lua-gd/lua-gd.mk +0 -2
 # VERSION follows the scheme described on https://ittner.github.io/lua-gd/manual.html#intro,
 # the current version of the binding is 3.
 define LUA_GD_BUILD_CMDS
        $(MAKE) -C $(@D) gd.so \
-               GDLIBCONFIG="$(STAGING_DIR)/usr/bin/gdlib-config" \
                CC=$(TARGET_CC) \
                CFLAGS="$(TARGET_CFLAGS) -fPIC -DVERSION=\\\"$(GD_VERSION)r3\\\"" \
                LFLAGS="-shared -lgd"
--

2.28.0

Best Regards,

Fabrice