libgd: update to 2.3.2
authorRosen Penev <rosenp@gmail.com>
Sun, 21 Mar 2021 01:26:12 +0000 (18:26 -0700)
committerRosen Penev <rosenp@gmail.com>
Sun, 21 Mar 2021 04:05:40 +0000 (21:05 -0700)
Switch to building with Ninja for faster compilation.

Refreshed patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
libs/libgd/Makefile
libs/libgd/patches/010-webp.patch
libs/libgd/patches/100-no-cxx.patch

index ead713bc8e9f1c2f978cc197bdda7339a4e0c7eb..49ad7003c0cd3a3543b4f4618938ac45fefa6941 100644 (file)
@@ -8,22 +8,20 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=libgd
-PKG_VERSION:=2.3.1
+PKG_VERSION:=2.3.2
 PKG_RELEASE:=$(AUTORELEASE)
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=https://github.com/$(PKG_NAME)/$(PKG_NAME)/releases/download/gd-$(PKG_VERSION)/
-PKG_HASH:=9767917d9f818faec4ddd763fe4a4ad9f6322c3d25da290ab2ea3e2ce4b52a7b
+PKG_HASH:=478a047084e0d89b83616e4c2cf3c9438175fb0cc55d8c8967f06e0427f7d7fb
 
 PKG_MAINTAINER:=Jo-Philipp Wich <jo@mein.io>
 PKG_LICENSE:=MIT
 PKG_LICENSE_FILES:=COPYING
 PKG_CPE_ID:=cpe:/a:libgd:libgd
 
-PKG_BUILD_PARALLEL:=1
-
 include $(INCLUDE_DIR)/package.mk
-include $(INCLUDE_DIR)/cmake.mk
+include ../../devel/ninja/ninja-cmake.mk
 
 define Package/libgd/default
   SECTION:=libs
index 1aa49c5736b45b70ee1ff9445ce7b14665160a13..e68a8ac5324f8dcdfdebfd504f6673ed32252bfa 100644 (file)
@@ -1,6 +1,6 @@
 --- a/CMakeLists.txt
 +++ b/CMakeLists.txt
-@@ -116,7 +116,7 @@ else (USE_EXT_GD)
+@@ -118,7 +118,7 @@ else (USE_EXT_GD)
        endif (ENABLE_ICONV)
  
        IF (ENABLE_WEBP)
@@ -8,8 +8,8 @@
 +              FIND_PACKAGE(WebP REQUIRED)
        ENDIF (ENABLE_WEBP)
  
-       IF (ENABLE_LIQ)
-@@ -166,10 +166,10 @@ else (USE_EXT_GD)
+       IF (ENABLE_HEIF)
+@@ -179,10 +179,10 @@ else (USE_EXT_GD)
                LIST(APPEND PKG_REQUIRES_PRIVATES zlib)
        ENDIF(ZLIB_FOUND)
  
@@ -21,5 +21,5 @@
 -      ENDIF(WEBP_FOUND)
 +      ENDIF(WebP_FOUND)
  
-       IF(PNG_FOUND)
-               INCLUDE_DIRECTORIES(${PNG_INCLUDE_DIR})
+       IF(HEIF_FOUND)
+               INCLUDE_DIRECTORIES(${HEIF_INCLUDE_DIR})
index d73a7ebc6446450ecd6aded6cc764e03a5a98ead..3deb6cc947d13e420e3497b60079519e3b3f5d9a 100644 (file)
@@ -1,6 +1,6 @@
 --- a/src/CMakeLists.txt
 +++ b/src/CMakeLists.txt
-@@ -22,8 +22,6 @@ SET (LIBGD_SRC_FILES
+@@ -24,8 +24,6 @@ SET (LIBGD_SRC_FILES
        gd_io_dp.c
        gd_io_file.c
        gd_io_ss.c
@@ -9,7 +9,7 @@
        gd_jpeg.c
        gd_matrix.c
        gd_nnquant.c
-@@ -59,8 +57,6 @@ SET (LIBGD_SRC_FILES
+@@ -61,8 +59,6 @@ SET (LIBGD_SRC_FILES
        gdhelpers.c
        gdhelpers.h
        gdkanji.c
@@ -18,7 +18,7 @@
        gdtables.c
        gdxpm.c
        jisx0208.h
-@@ -204,7 +200,6 @@ install(FILES
+@@ -203,7 +199,6 @@ install(FILES
        gdfonts.h
        gdfontt.h
        gdfx.h