Commit graph

16 commits

Author SHA1 Message Date
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
Alexander Ryzhov
7a17805b6d ibgd: avoid using host headers
Signed-off-by: Alexander Ryzhov <github@ryzhov-al.ru>
2019-09-26 13:42:11 +03:00
Rosen Penev
c56ad06395
libgd: Fix pkgconfig file for cross compilation
This allows packages that use pkgconfig to find libgd properly.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-09-17 16:09:38 -07: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