Update to gegl04-0.4.30.

This commit is contained in:
ajacoutot 2021-03-28 08:02:15 +00:00
parent 9b3cd76656
commit dad262b998
6 changed files with 30 additions and 11 deletions

View File

@ -1,13 +1,13 @@
# $OpenBSD: Makefile,v 1.26 2020/12/21 11:40:13 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.27 2021/03/28 08:02:15 ajacoutot Exp $
COMMENT= graph based image processing framework (API version 0.4)
V= 0.4.28
V= 0.4.30
DISTNAME= gegl-${V}
PKGNAME= gegl04-${V}
EXTRACT_SUFX= .tar.xz
SHARED_LIBS += gegl-0.4 0.4 # 0.427.1
SHARED_LIBS += gegl-0.4 0.5 # 0.427.1
API_VERSION= ${V:R}
SUBST_VARS= API_VERSION

View File

@ -1,2 +1,2 @@
SHA256 (gegl-0.4.28.tar.xz) = HRENhXfVTMo7NCOTFb03xXzLJ91DVWVQdKLSs/2JeQA=
SIZE (gegl-0.4.28.tar.xz) = 4966580
SHA256 (gegl-0.4.30.tar.xz) = wRJ4LPQJaWniMhfM36vkIoTjXVQ1/wxD1A5McPrsqN0=
SIZE (gegl-0.4.30.tar.xz) = 5398052

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-gegl_meson_build,v 1.3 2020/06/08 16:46:26 ajacoutot Exp $
$OpenBSD: patch-gegl_meson_build,v 1.4 2021/03/28 08:02:15 ajacoutot Exp $
Fix non deterministic build:
../gegl-0.4.18/gegl/opencl/gegl-cl-color.c:32:10: fatal error: 'opencl/colors.cl.h' file not found
@ -9,11 +9,11 @@ Fix non deterministic build:
Index: gegl/meson.build
--- gegl/meson.build.orig
+++ gegl/meson.build
@@ -91,6 +91,7 @@ gegl_ldflags = os_osx ? ['-framework', 'OpenCL'] : []
@@ -93,6 +93,7 @@ gegl_ldflags = os_osx ? ['-framework', 'OpenCL'] : []
gegl_lib = library(api_name,
gegl_sources,
+ opencl_headers,
include_directories: [ rootInclude, geglInclude, ],
include_directories: [rootInclude, geglInclude],
dependencies: [
babl,

View File

@ -1,11 +1,11 @@
$OpenBSD: patch-meson_build,v 1.5 2020/12/21 11:40:13 ajacoutot Exp $
$OpenBSD: patch-meson_build,v 1.6 2021/03/28 08:02:15 ajacoutot Exp $
Remove dependency on devel/libexecinfo.
Index: meson.build
--- meson.build.orig
+++ meson.build
@@ -148,7 +148,6 @@ ruby = find_program('ruby', required:
@@ -153,7 +153,6 @@ ruby = find_program('ruby', required:
# Required Dependencies
config.set('HAVE_UNISTD_H', cc.has_header('unistd.h'))

View File

@ -0,0 +1,17 @@
$OpenBSD: patch-operations_external_png-load_c,v 1.1 2021/03/28 08:02:15 ajacoutot Exp $
../gegl-0.4.30/operations/external/png-load.c:85:9: warning:
implicit declaration of function 'strptime' is invalid in C99 [-Wimplicit-function-declaration]
Index: operations/external/png-load.c
--- operations/external/png-load.c.orig
+++ operations/external/png-load.c
@@ -20,7 +20,7 @@
#include "config.h"
#ifdef HAVE_STRPTIME
-#define _XOPEN_SOURCE
+#define _XOPEN_SOURCE 700
#include <time.h>
#endif
#include <glib/gi18n-lib.h>

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.11 2020/12/21 11:40:13 ajacoutot Exp $
@comment $OpenBSD: PLIST,v 1.12 2021/03/28 08:02:15 ajacoutot Exp $
@conflict gegl-*
@conflict gegl03-*
@pkgpath graphics/gegl,-main
@ -94,6 +94,7 @@ include/gegl-${API_VERSION}/sc/sc-context.h
include/gegl-${API_VERSION}/sc/sc-outline.h
include/gegl-${API_VERSION}/sc/sc-sample.h
lib/gegl-${API_VERSION}/
lib/gegl-${API_VERSION}/dropshadow2.json
@so lib/gegl-${API_VERSION}/gegl-common-cxx.so
@so lib/gegl-${API_VERSION}/gegl-common-gpl3.so
@so lib/gegl-${API_VERSION}/gegl-common.so
@ -169,6 +170,7 @@ share/locale/ru/LC_MESSAGES/gegl-${API_VERSION}.mo
share/locale/sk/LC_MESSAGES/gegl-${API_VERSION}.mo
share/locale/sl/LC_MESSAGES/gegl-${API_VERSION}.mo
share/locale/sr/LC_MESSAGES/gegl-${API_VERSION}.mo
share/locale/sr@latin/LC_MESSAGES/gegl-${API_VERSION}.mo
share/locale/sv/LC_MESSAGES/gegl-${API_VERSION}.mo
share/locale/tr/LC_MESSAGES/gegl-${API_VERSION}.mo
share/locale/uk/LC_MESSAGES/gegl-${API_VERSION}.mo