public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
* [ITA] gegl0.4
@ 2020-05-25 22:54 Ken Brown
  2020-05-26 15:33 ` Marco Atzeri
  0 siblings, 1 reply; 2+ messages in thread
From: Ken Brown @ 2020-05-25 22:54 UTC (permalink / raw)
  To: cygwin-apps

[-- Attachment #1: Type: text/plain, Size: 312 bytes --]

cygport file and patch attached.

As with babl, the build system has changed from autotools to meson.

And, as with babl, I've added a libgegl0.4-doc package, corresponding to 
Fedora's gegl04-devel-docs package.  I'm not sure why this wasn't packaged 
before.  Yaakov, is there some reason not to do this?

Ken

[-- Attachment #2: 0.4.22-no-babl-gir.patch --]
[-- Type: text/plain, Size: 415 bytes --]

--- origsrc/gegl-0.4.22/gegl/meson.build	2020-02-18 15:50:00.000000000 -0500
+++ src/gegl-0.4.22/gegl/meson.build	2020-05-21 07:35:45.224379400 -0400
@@ -114,7 +114,7 @@ if get_option('introspection')
     identifier_prefix: 'Gegl',
     symbol_prefix: 'gegl',
     header: 'gegl.h',
-    includes: [ 'GLib-2.0', 'GObject-2.0', 'Babl-0.1' ],
+    includes: [ 'GLib-2.0', 'GObject-2.0' ],
     install: true,
   )
 

[-- Attachment #3: gegl0.4.cygport --]
[-- Type: text/plain, Size: 4060 bytes --]

inherit meson

NAME="gegl0.4"
VERSION=0.4.22
RELEASE=1
CATEGORY="Libs"
SUMMARY="Generic Graphics Library"
DESCRIPTION="GEGL (Generic Graphics Library) is a graph based image processing
framework.  GEGL provides infrastructure to do demand based cached
non-destructive image editing on larger than RAM buffers."
HOMEPAGE="http://www.gegl.org/"
SRC_URI="http://download.gimp.org/pub/gegl/${VERSION%.*}/gegl-${VERSION}.tar.xz"
SRC_DIR="gegl-${VERSION}"

PATCH_URI="0.4.22-no-babl-gir.patch"

# python27-gi is needed for testsuite.
BUILD_REQUIRES="enscript \
	gobject-introspection \
	gtk-doc \
	libIlmImf-devel \
	libbabl-devel \
	libcairo-devel \
	libexiv2-devel \
	libgdk_pixbuf2.0-devel \
	libgexiv2-devel \
	libglib2.0-devel \
	libjasper-devel \
	libjson-glib1.0-devel \
	liblcms2-devel \
	liblensfun-devel \
	libpango1.0-devel \
	libpng-devel \
	libraw-devel \
	librsvg2-devel \
	libspiro-devel \
	libsuitesparseconfig-devel \
	libtiff-devel \
	libumfpack-devel \
	libwebp-devel \
	meson \
	python27-gi \
	python-gi-devel \
	vala \
"

PKG_NAMES="gegl0.4 libgegl0.4_0 libgegl0.4-devel girepository-Gegl0.4 vala-gegl0.4 libgegl0.4-doc"
gegl0_4_CATEGORY="Graphics"
gegl0_4_CONTENTS="usr/bin/*-0.4.exe"
libgegl0_4_0_SUMMARY="${SUMMARY} (runtime)"
libgegl0_4_0_CONTENTS="
	usr/bin/cyggegl-0.4-0.dll
	usr/bin/cyggegl-*-0.4.dll
	usr/lib/gegl-0.4/
	usr/share/doc/${NAME}
	usr/share/locale/*/*/gegl-0.4.mo
"
libgegl0_4_devel_SUMMARY="${SUMMARY} (development)"
libgegl0_4_devel_CONTENTS="
	usr/include/gegl-0.4/
	usr/lib/libgegl*-0.4.*.a
	usr/lib/pkgconfig/gegl*-0.4.pc
"
libgegl0_4_doc_SUMMARY="${SUMMARY} (documentation)"
libgegl0_4_doc_CONTENTS="usr/share/gtk-doc/"
girepository_Gegl0_4_SUMMARY="${SUMMARY} (GObject Introspection)"
girepository_Gegl0_4_CONTENTS="usr/*/gir*/Gegl-0.4.*"
vala_gegl0_4_SUMMARY="${SUMMARY} (Vala bindings)"
vala_gegl0_4_CONTENTS="usr/share/vala/vapi/gegl-0.4.*"

CYGMESON_ARGS="
	--auto-features=auto
	-Dworkshop=true
	-Ddocs=true
	-Dlibav=disabled
	-Dlua=disabled
"
src_install() {
	cd ${S}
	meson_install
	cd ${D}
	mv usr/bin/gegl.exe usr/bin/gegl-0.4.exe
	mv usr/bin/gegl-imgcmp.exe usr/bin/gegl-imgcmp-0.4.exe
	mv usr/lib/libgegl.exe.a usr/lib/libgegl-0.4.exe.a
}
# One failed test on x86_64:
  # 6/108 gegl:simple / buffer-sharing                    FAIL           12.01s (exit status 1)

# --- command ---
# 13:51:24 ABS_TOP_BUILDDIR='/home/kbrown/src/cygpackages/gegl0.4/gegl0.4-0.4.22-1.x86_64/src/gegl-0.4.22/x86_64-pc-cygwin' GEGL_PATH='/home/kbrown/src/cygpackages/gegl0.4/gegl0.4-0.4.22-1.x86_64/src/gegl-0.4.22/x86_64-pc-cygwin/operations' ABS_TOP_SRCDIR='/home/kbrown/src/cygpackages/gegl0.4/gegl0.4-0.4.22-1.x86_64/src/gegl-0.4.22' GEGL_SWAP='RAM' /home/kbrown/src/cygpackages/gegl0.4/gegl0.4-0.4.22-1.x86_64/src/gegl-0.4.22/x86_64-pc-cygwin/tests/simple/buffer-sharing.exe
# --- stdout ---
# timeout!

# Two failed tests on x86:
#   1/108 gegl:simple / backend-file                      FAIL           0.93s (killed by signal 11 SIGSEGV)

# --- command ---
# 13:49:56 ABS_TOP_SRCDIR='/home/kbrown/src/cygpackages/gegl0.4/gegl0.4-0.4.22-1.i686/src/gegl-0.4.22' ABS_TOP_BUILDDIR='/home/kbrown/src/cygpackages/gegl0.4/gegl0.4-0.4.22-1.i686/src/gegl-0.4.22/i686-pc-cygwin' GEGL_PATH='/home/kbrown/src/cygpackages/gegl0.4/gegl0.4-0.4.22-1.i686/src/gegl-0.4.22/i686-pc-cygwin/operations' GEGL_SWAP='RAM' /home/kbrown/src/cygpackages/gegl0.4/gegl0.4-0.4.22-1.i686/src/gegl-0.4.22/i686-pc-cygwin/tests/simple/backend-file.exe
# -------

#   6/108 gegl:simple / buffer-sharing                    FAIL           1.90s (killed by signal 11 SIGSEGV)

# --- command ---
# 13:50:01 ABS_TOP_SRCDIR='/home/kbrown/src/cygpackages/gegl0.4/gegl0.4-0.4.22-1.i686/src/gegl-0.4.22' ABS_TOP_BUILDDIR='/home/kbrown/src/cygpackages/gegl0.4/gegl0.4-0.4.22-1.i686/src/gegl-0.4.22/i686-pc-cygwin' GEGL_PATH='/home/kbrown/src/cygpackages/gegl0.4/gegl0.4-0.4.22-1.i686/src/gegl-0.4.22/i686-pc-cygwin/operations' GEGL_SWAP='RAM' /home/kbrown/src/cygpackages/gegl0.4/gegl0.4-0.4.22-1.i686/src/gegl-0.4.22/i686-pc-cygwin/tests/simple/buffer-sharing.exe

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ITA] gegl0.4
  2020-05-25 22:54 [ITA] gegl0.4 Ken Brown
@ 2020-05-26 15:33 ` Marco Atzeri
  0 siblings, 0 replies; 2+ messages in thread
From: Marco Atzeri @ 2020-05-26 15:33 UTC (permalink / raw)
  To: cygwin-apps

On 26.05.2020 00:54, Ken Brown via Cygwin-apps wrote:
> cygport file and patch attached.
> 
> As with babl, the build system has changed from autotools to meson.
> 
> And, as with babl, I've added a libgegl0.4-doc package, corresponding to 
> Fedora's gegl04-devel-docs package.  I'm not sure why this wasn't 
> packaged before.  Yaakov, is there some reason not to do this?
> 
> Ken

changed maintainer

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-05-26 15:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-25 22:54 [ITA] gegl0.4 Ken Brown
2020-05-26 15:33 ` Marco Atzeri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).