Commit Graph

22 Commits

Author SHA1 Message Date
Rosen Penev 2e654b19f3 treewide: back to cmake.mk
Ninja was merged to base and therefore we can now use normal cmake.mk

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-06-12 21:05:01 -07:00
Rosen Penev 83c45e18a8 libgd: update to 2.3.2
Switch to building with Ninja for faster compilation.

Refreshed patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-03-20 21:05:40 -07:00
Rosen Penev dc5e0d0ccd
libgd: update to 2.3.1
Remove upstreamed patches. Add one to fix finding libwebp.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-02-20 21:16:56 -08:00
Rosen Penev cc8901117d
libgd: fix wrong version
Upstream messed up and did not include getlib.sh, causing a wrong version
to be applied to the library.

lrwxrwxrwx 1 libgd.so -> libgd.so.VERSION
-rw-r--r-- 1 libgd.so.VERSION

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-04-05 19:28:12 -07:00
Rosen Penev a1d3619c17
libgd: fix pkgconfig file
The wrong paths are specified, causing failures with depending packages
that use pkgconfig.

Removed CMAKE_INSTALL as a result. No point when InstallDev is explicit.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-04-04 14:27:02 -07:00
Rosen Penev cc59ab12e5
libgd: update to 2.30
Fixed CPE_ID.

Simplified TIFF option.

Refreshed/removed upstream patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-03-27 20:27:01 -07:00
W. Michael Petullo 0762c72cc5 libgd: provide a -full variant
The php7-mod-gd package requires that freetype support exist in libgd,
but this is not included in the default libgd build. In order to allow
a working php7-mod-gd package while keeping the default libgd package
as small as possible, this commit introduces a -full variant of the
libgd package.

Ref: https://github.com/openwrt/packages/issues/10944
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2020-01-08 20:46:46 -05:00
W. Michael Petullo 7bd2a149ff libgd: fix building with freetype support
Freetype support is required for php7-mod-gd as of commit 0f10c8c8,
which causes the PHP7 package to build using this external libgd library.
This commit adds FREETYPE_INCLUDE_DIRS to the definition of CMAKE_OPTIONS.
Without this, libgd does not build freetype support as shown by
this message:

....
Build libgd:
-- Could NOT find Freetype (missing:  FREETYPE_INCLUDE_DIRS)
-- Configuring done
-- Generating done
....

Signed-off-by: W. Michael Petullo <mike@flyn.org>
2020-01-04 19:12:43 -05:00
Michael Heimpold 2065eb8147 libgd: fix version in generated pkg-config .pc file
With the previous change to cmake, the generated pkg-config .pc
file does not contain the library version anymore. This breaks
programs which checks for a specific version, e.g. upcoming PHP 7.4.

The version is not filled because of a variable misnaming,
which was not covered by the imported upstream patch.

To not mangle the upstream patch, add an additional patch to
fix things up.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2019-12-03 21:39:33 +01:00
Jan Pavlinec 299e5b0a9b
treewide: add PKG_CPE_ID for better cvescanner coverage
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-09-17 12:40:26 +02:00
Rosen Penev b5b2fa187d
libgd: Backport SOVERSION and pkgconfig changes
The latter is needed for some packages to find libgd.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-09-13 12:54:50 -07:00
Rosen Penev 3e44ecbafa
libgd: Switch to CMake
Size reduced from 92878 to 91675 bytes.

CMake added CXX files. Removed those.

Removed ceill patch. ceill is not used anymore.

Removed pkgconfig patch. CMake uses a different file, which does not have
this problem.

Further size reduction to 87938 with LTO.

Removed InstallDev. CMAKE_INSTALL takes care of that.

Added WebP support.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-09-12 14:48:32 -07:00
Rosen Penev bf2f1a0263 libgd: Properly disable iconv support
HAVE_ICONV and HAVE_ICONV_H are two different headers that both need to
evaluate to false. Added the extra CONFIGURE_VARS.

This can be verified by passing -Werror=implicit-function-declaration

Added PKG_LICENSE_FILES

Updated homepage URL.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-08-14 00:49:07 -07:00
Daniel Engberg 888570f281
libs/libgd: Update to 2.2.5
Update libgd to 2.2.5
CVEs: CVE-2017-6362 + CVE-2017-7890

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2017-12-04 19:32:29 +01:00
Val Kulkov 68314d0e58 libgd: fix missing dependency, add build options
libgd fails to build due to missing dependency if the libtiff
package is selected. Fix the build issue and add two new
configuration options, both disabled by default:
1) enable TIFF support, and
2) enable Freetype 2.x support.

Signed-off-by: Val Kulkov <val.kulkov@gmail.com>
2017-04-19 21:51:18 -04:00
Daniel Engberg b37475417f libs/libgd: Update to 2.2.4
Update libgd to 2.2.4
Fixes multiple CVEs
Refresh patches
Update list according to:
https://svnweb.freebsd.org/ports/head/graphics/gd/pkg-plist?revision=432648&view=markup
...except helpers as it's not generated.

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2017-04-17 20:39:01 +02:00
Matthias Schiffer 759cbf3c44
libgd: remove unused LIBPNG12_CONFIG definition
While fixing up some incorrect STAGING_DIR_HOSTPKG uses I introduced, I
noticed that the LIBPNG12_CONFIG variable is not used by libgd anymore (it
is called LIBPNG_CONFIG now).

As the build runs fine without setting LIBPNG_CONFIG, let's just remove the
unused line.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2017-01-24 12:45:45 +01:00
Matthias Schiffer 4a984a8d60
treewide: replace $(STAGING_DIR)/host and $(HOST_BUILD_PREFIX) with $(STAGING_DIR_HOSTPKG)
As both LEDE and OpenWrt have STAGING_DIR_HOSTPKG now, we can start to rely
on it. See 73b7f55424 for more information on
STAGING_DIR_HOSTPKG.

STAGING_DIR_HOSTPKG won't actually be changed before the first LEDE release
(it is equivalent to $(STAGING_DIR)/host), so this simple search/replace
cleanup is safe to apply. Doing this cleanup now will be useful for the
Gluon project (an OpenWrt/LEDE based firmware framework) for experimenting
with modifying STAGING_DIR_HOSTPKG before doing this in the LEDE upstream.

Also fixes a typo in the dbus Makefile ("STAGIND_DIR").

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2017-01-10 18:25:54 +01:00
Jo-Philipp Wich 9843f170d7 treewide: replace my defunct email address
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-06-07 12:00:59 +02:00
Jo-Philipp Wich c190d68ff8 libgd: update to v2.1.1
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-02-06 13:15:30 +01:00
Jo-Philipp Wich 71ea5447e8 libgd: explicitely disable libvpx support (#765)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-11 00:09:40 +01:00
Jo-Philipp Wich 60feea09c9 libgd: import from oldpackages, add myself as maintainer, add license information, update to v2.1.0
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2014-07-02 16:12:44 +02:00