SHA256
1
0
forked from pool/gegl

18 Commits

Author SHA256 Message Date
37dcafd094 Accepting request 1278395 from graphics
- Update to 0.4.62:
  * png-load: avoid crashing on some invalid files
  * bevel: code cleanups, pass only valid values to gegl:emboss
  * exr-save: fix scratch buffer computation for large images
  * fractal-trace: add ui-ranges to coordiantes
  * depend on babl>=0.1.112 removing ifdefs keeping old variants working
  * mark nodes as intert in ::dispose and check for this during traversals, this
    fixes a crash when using a libc that has a non-clobbering free. (forwarded request 1278316 from polslinux)

OBS-URL: https://build.opensuse.org/request/show/1278395
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gegl?expand=0&rev=85
2025-05-23 12:28:56 +00:00
8cb1c0d819 Accepting request 1278316 from home:polslinux:branches:graphics
- Update to 0.4.62:
  * png-load: avoid crashing on some invalid files
  * bevel: code cleanups, pass only valid values to gegl:emboss
  * exr-save: fix scratch buffer computation for large images
  * fractal-trace: add ui-ranges to coordiantes
  * depend on babl>=0.1.112 removing ifdefs keeping old variants working
  * mark nodes as intert in ::dispose and check for this during traversals, this
    fixes a crash when using a libc that has a non-clobbering free.

OBS-URL: https://build.opensuse.org/request/show/1278316
OBS-URL: https://build.opensuse.org/package/show/graphics/gegl?expand=0&rev=170
2025-05-19 11:55:49 +00:00
9c8268245e Accepting request 1255866 from graphics
OBS-URL: https://build.opensuse.org/request/show/1255866
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gegl?expand=0&rev=84
2025-03-26 20:17:55 +00:00
291c66fcbe - Update to version 0.4.58:
- dither: fixed crash when applied to pixels with negative pixel
    coordinates.

OBS-URL: https://build.opensuse.org/package/show/graphics/gegl?expand=0&rev=168
2025-03-25 08:48:49 +00:00
6c9d4f7bc7 Accepting request 1253760 from graphics
- Update to version 0.4.56:
  - Ops:
    - drop-shadow: restrict opacity range to 0.0-1.0
    - ctx-script: crash fix
  - Core:
    - ctx has been syncrhonized with upstream.
  - Buffer:
    - Remnants of old iterator-api has been removed.

OBS-URL: https://build.opensuse.org/request/show/1253760
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gegl?expand=0&rev=83
2025-03-18 16:40:12 +00:00
c31fc004d2 - Update to version 0.4.56:
- Ops:
    - drop-shadow: restrict opacity range to 0.0-1.0
    - ctx-script: crash fix
  - Core:
    - ctx has been syncrhonized with upstream.
  - Buffer:
    - Remnants of old iterator-api has been removed.

OBS-URL: https://build.opensuse.org/package/show/graphics/gegl?expand=0&rev=166
2025-03-17 11:45:09 +00:00
9ad68701c3 Accepting request 1244819 from graphics
- Update to version 0.4.54:
  - Ops:
    - bump_map: fix typo in property nick
    - noise_spread: better performance with no-op values
    - negative_darkroom: more presets, better performance
    - styles: fix regression of opacirt sliders (forwarded request 1244813 from darix)

OBS-URL: https://build.opensuse.org/request/show/1244819
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gegl?expand=0&rev=82
2025-02-11 20:21:11 +00:00
67fe37a809 - Update to version 0.4.54:
- Ops:
    - bump_map: fix typo in property nick
    - noise_spread: better performance with no-op values
    - negative_darkroom: more presets, better performance
    - styles: fix regression of opacirt sliders

OBS-URL: https://build.opensuse.org/package/show/graphics/gegl?expand=0&rev=164
2025-02-10 17:02:18 +00:00
cb120c86a0 Accepting request 1235694 from graphics
OBS-URL: https://build.opensuse.org/request/show/1235694
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gegl?expand=0&rev=81
2025-01-09 14:05:13 +00:00
acd6393f69 - use https for the url
OBS-URL: https://build.opensuse.org/package/show/graphics/gegl?expand=0&rev=162
2025-01-07 17:19:40 +00:00
601bd85ec6 Accepting request 1233672 from graphics
OBS-URL: https://build.opensuse.org/request/show/1233672
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gegl?expand=0&rev=80
2024-12-30 11:50:44 +00:00
d636711485 needed in preparation for gimp 3
- Update to version 0.4.52:
  - Core:
    - Fix regression cubic interpolation - it was quadratic rather
      than cubic, this improves all uses of cubic interpolation.
      Use g_spawn_sync rather than system() for launching graphviz'
      dot.
  - Ops:
    - invert-gamma: operate on perceptual encoding.
    - newsprint: do processing with perceptual encoding.
    - denoise-dct, mantiuk06: pass-through for too small input
      buffers.

OBS-URL: https://build.opensuse.org/package/show/graphics/gegl?expand=0&rev=160
2024-12-28 09:17:13 +00:00
bb3b3bde0a Accepting request 1228705 from graphics
OBS-URL: https://build.opensuse.org/request/show/1228705
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gegl?expand=0&rev=79
2024-12-08 10:36:10 +00:00
Petr Vorel
c862a9d535 - Disable luajit on LoongArch64
OBS-URL: https://build.opensuse.org/package/show/graphics/gegl?expand=0&rev=158
2024-12-06 08:05:49 +00:00
981860e2ae Accepting request 1221965 from graphics
OBS-URL: https://build.opensuse.org/request/show/1221965
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gegl?expand=0&rev=78
2024-11-07 15:23:59 +00:00
Petr Vorel
3d06378241 - Update to version 0.4.50:
- Core:
    - Better Gobject Introspection annotation coverage.
    - Improved error handling for gegl chain processing.
    - Added accessors for pad meta-data, to be able to show names and descriptions in UIs.
    - GeglColor: more lax parameters for g_arapm_values_cmp
  - Ops:
    API: GEGL_OP_NAME needs to be uniqe .c filenames no longer
    needs to be. First registered op with a given name now takes
    precedence over later.
    * exr-save: store 16bpc files as half, fixing gimp#10778
    * ff-load, ff-save: fix build with FFmpeg 7
    * dither: do processing in linear when all levels==2
    * OpenCL: upgrade from 1.1 to 3.0, disable opencl caching
      system - not crashing is more important than caching. And
      fixes to the opencl operation of the following ops:
    * alien-map
    * color-to-alpha
    * edge-sobel
    * hue-chroma
    * noise-reduction
    * oilify
    * snn-mean
  - New Ops:
    - styles: a UI for achieving many visual effects for use on
      text and similar alpha defined shapes. bevel: simulate light
      and shadow on an alpha defined shape. inner-glow: an inner
      shadow glow effect
  - New Ops in workshop:
    - ctx-script: an experimental op for rendering ctx protocol

OBS-URL: https://build.opensuse.org/package/show/graphics/gegl?expand=0&rev=156
2024-11-07 00:29:14 +00:00
780115f145 Accepting request 1203569 from graphics
OBS-URL: https://build.opensuse.org/request/show/1203569
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gegl?expand=0&rev=77
2024-09-26 16:52:32 +00:00
e5b43f8efd Add revertleap.patch for 66de8124.patch to build with older ffmpeg Versions like in Leap.
OBS-URL: https://build.opensuse.org/package/show/graphics/gegl?expand=0&rev=154
2024-09-25 12:43:01 +00:00
5 changed files with 123 additions and 123 deletions

View File

@@ -1,113 +0,0 @@
From 66de8124f496617eee8e6b5c68138a00343882db Mon Sep 17 00:00:00 2001
From: Joe Locash <@jlocash2>
Date: Sat, 4 May 2024 17:08:04 +0200
Subject: [PATCH] ff-load, ff-save: fix build with FFmpeg 7
Fixing issue #371
---
operations/external/ff-load.c | 8 ++++++++
operations/external/ff-save.c | 24 ++++++++++++++++++++++--
2 files changed, 30 insertions(+), 2 deletions(-)
diff --git a/operations/external/ff-load.c b/operations/external/ff-load.c
index 6b96fdfdd..dc24a6d59 100644
--- a/operations/external/ff-load.c
+++ b/operations/external/ff-load.c
@@ -250,7 +250,11 @@ decode_audio (GeglOperation *operation,
while (samples_left)
{
int sample_count = samples_left;
+#if LIBAVCODEC_VERSION_MAJOR < 61
int channels = MIN(p->audio_stream->codecpar->channels, GEGL_MAX_AUDIO_CHANNELS);
+#else
+ int channels = MIN(p->audio_stream->codecpar->ch_layout.nb_channels, GEGL_MAX_AUDIO_CHANNELS);
+#endif
GeglAudioFragment *af = gegl_audio_fragment_new (o->audio_sample_rate, channels,
AV_CH_LAYOUT_STEREO, samples_left);
//);
@@ -553,7 +557,11 @@ prepare (GeglOperation *operation)
else
{
o->audio_sample_rate = p->audio_stream->codecpar->sample_rate;
+#if LIBAVCODEC_VERSION_MAJOR < 61
o->audio_channels = MIN(p->audio_stream->codecpar->channels, GEGL_MAX_AUDIO_CHANNELS);
+#else
+ o->audio_channels = MIN(p->audio_stream->codecpar->ch_layout.nb_channels, GEGL_MAX_AUDIO_CHANNELS);
+#endif
}
}
diff --git a/operations/external/ff-save.c b/operations/external/ff-save.c
index 9196b34aa..ffa5d8bee 100644
--- a/operations/external/ff-save.c
+++ b/operations/external/ff-save.c
@@ -315,8 +315,13 @@ add_audio_stream (GeglProperties *o, AVFormatContext * oc, int codec_id)
}
cp->sample_rate = o->audio_sample_rate;
+#if LIBAVCODEC_VERSION_MAJOR < 61
cp->channel_layout = AV_CH_LAYOUT_STEREO;
cp->channels = 2;
+#else
+ cp->ch_layout.u.mask = AV_CH_LAYOUT_STEREO;
+ cp->ch_layout.nb_channels = 2;
+#endif
return st;
}
@@ -392,8 +397,13 @@ static AVFrame *alloc_audio_frame(AVCodecContext *c, int nb_samples)
frame->format = c->sample_fmt;
+#if LIBAVCODEC_VERSION_MAJOR < 61
frame->channel_layout = c->channel_layout;
frame->channels = c->channels;
+#else
+ frame->ch_layout = c->ch_layout;
+ frame->ch_layout.nb_channels = c->ch_layout.nb_channels;
+#endif
frame->sample_rate = c->sample_rate;
frame->nb_samples = nb_samples;
@@ -423,8 +433,13 @@ static void encode_audio_fragments (Priv *p, AVFormatContext *oc, AVStream *st,
{
float left = 0, right = 0;
get_sample_data (p, i + p->audio_read_pos, &left, &right);
+#if LIBAVCODEC_VERSION_MAJOR < 61
((float*)frame->data[0])[c->channels*i+0] = left;
((float*)frame->data[0])[c->channels*i+1] = right;
+#else
+ ((float*)frame->data[0])[c->ch_layout.nb_channels*i+0] = left;
+ ((float*)frame->data[0])[c->ch_layout.nb_channels*i+1] = right;
+#endif
}
break;
case AV_SAMPLE_FMT_FLTP:
@@ -441,8 +456,13 @@ static void encode_audio_fragments (Priv *p, AVFormatContext *oc, AVStream *st,
{
float left = 0, right = 0;
get_sample_data (p, i + p->audio_read_pos, &left, &right);
+#if LIBAVCODEC_VERSION_MAJOR < 61
((int16_t*)frame->data[0])[c->channels*i+0] = left * (1<<15);
((int16_t*)frame->data[0])[c->channels*i+1] = right * (1<<15);
+#else
+ ((int16_t*)frame->data[0])[c->ch_layout.nb_channels*i+0] = left * (1<<15);
+ ((int16_t*)frame->data[0])[c->ch_layout.nb_channels*i+1] = right * (1<<15);
+#endif
}
break;
case AV_SAMPLE_FMT_S32:
@@ -450,8 +470,8 @@ static void encode_audio_fragments (Priv *p, AVFormatContext *oc, AVStream *st,
{
float left = 0, right = 0;
get_sample_data (p, i + p->audio_read_pos, &left, &right);
- ((int32_t*)frame->data[0])[c->channels*i+0] = left * (1<<31);
- ((int32_t*)frame->data[0])[c->channels*i+1] = right * (1<<31);
+ ((int32_t*)frame->data[0])[c->ch_layout.nb_channels*i+0] = left * (1<<31);
+ ((int32_t*)frame->data[0])[c->ch_layout.nb_channels*i+1] = right * (1<<31);
}
break;
case AV_SAMPLE_FMT_S32P:
--
GitLab

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:418c26d94be8805d7d98f6de0c6825ca26bd74fcacb6c188da47533d9ee28247
size 5805488

3
gegl-0.4.62.tar.xz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5887576371ebf1d9e90797d10e4b9a7f1658228d4827583e79e1db3d94505c6c
size 6025372

View File

@@ -1,3 +1,118 @@
-------------------------------------------------------------------
Mon May 19 07:17:49 UTC 2025 - Paolo Stivanin <info@paolostivanin.com>
- Update to 0.4.62:
* png-load: avoid crashing on some invalid files
* bevel: code cleanups, pass only valid values to gegl:emboss
* exr-save: fix scratch buffer computation for large images
* fractal-trace: add ui-ranges to coordiantes
* depend on babl>=0.1.112 removing ifdefs keeping old variants working
* mark nodes as intert in ::dispose and check for this during traversals, this
fixes a crash when using a libc that has a non-clobbering free.
-------------------------------------------------------------------
Mon Mar 24 23:20:02 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>
- Update to version 0.4.58:
- dither: fixed crash when applied to pixels with negative pixel
coordinates.
-------------------------------------------------------------------
Mon Mar 17 11:34:19 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>
- Update to version 0.4.56:
- Ops:
- drop-shadow: restrict opacity range to 0.0-1.0
- ctx-script: crash fix
- Core:
- ctx has been syncrhonized with upstream.
- Buffer:
- Remnants of old iterator-api has been removed.
-------------------------------------------------------------------
Mon Feb 10 16:48:03 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>
- Update to version 0.4.54:
- Ops:
- bump_map: fix typo in property nick
- noise_spread: better performance with no-op values
- negative_darkroom: more presets, better performance
- styles: fix regression of opacirt sliders
-------------------------------------------------------------------
Tue Jan 7 12:24:48 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>
- use https for the url
-------------------------------------------------------------------
Sat Dec 28 00:52:21 UTC 2024 - Marcus Rueckert <mrueckert@suse.de>
- Update to version 0.4.52:
- Core:
- Fix regression cubic interpolation - it was quadratic rather
than cubic, this improves all uses of cubic interpolation.
Use g_spawn_sync rather than system() for launching graphviz'
dot.
- Ops:
- invert-gamma: operate on perceptual encoding.
- newsprint: do processing with perceptual encoding.
- denoise-dct, mantiuk06: pass-through for too small input
buffers.
-------------------------------------------------------------------
Fri Dec 6 07:39:33 UTC 2024 - Adrian Schröter <adrian@suse.de>
- Disable luajit on LoongArch64
-------------------------------------------------------------------
Wed Nov 6 22:42:54 UTC 2024 - Marcus Rueckert <mrueckert@suse.de>
- Update to version 0.4.50:
- Core:
- Better Gobject Introspection annotation coverage.
- Improved error handling for gegl chain processing.
- Added accessors for pad meta-data, to be able to show names and descriptions in UIs.
- GeglColor: more lax parameters for g_arapm_values_cmp
- Ops:
API: GEGL_OP_NAME needs to be uniqe .c filenames no longer
needs to be. First registered op with a given name now takes
precedence over later.
* exr-save: store 16bpc files as half, fixing gimp#10778
* ff-load, ff-save: fix build with FFmpeg 7
* dither: do processing in linear when all levels==2
* OpenCL: upgrade from 1.1 to 3.0, disable opencl caching
system - not crashing is more important than caching. And
fixes to the opencl operation of the following ops:
* alien-map
* color-to-alpha
* edge-sobel
* hue-chroma
* noise-reduction
* oilify
* snn-mean
- New Ops:
- styles: a UI for achieving many visual effects for use on
text and similar alpha defined shapes. bevel: simulate light
and shadow on an alpha defined shape. inner-glow: an inner
shadow glow effect
- New Ops in workshop:
- ctx-script: an experimental op for rendering ctx protocol
this might be a future basis for ctx-based vector layers.
- Build:
- Various meson cleanups.
- Updated vendored libraries
- ctx has been updated from upstream, perhaps most
significantly the protocol/drawing API has been fuzzed with
afl+
- drop upstreamed patches:
66de8124.patch
revertleap.patch
-------------------------------------------------------------------
Mon Sep 16 11:20:53 UTC 2024 - Stephan Hemeier <Sauerlandlinux@gmx.de>
- add revertleap.patch to get gegl build on older ffmpegs
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jul 31 06:02:54 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org> Wed Jul 31 06:02:54 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package gegl # spec file for package gegl
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
# This is based on the ExcludeArch in https://build.opensuse.org/package/show/openSUSE:Factory/luajit # This is based on the ExcludeArch in https://build.opensuse.org/package/show/openSUSE:Factory/luajit
%ifarch riscv64 ppc64 ppc64le %ifarch riscv64 ppc64 ppc64le loongarch64
%bcond_with luajit %bcond_with luajit
%else %else
%bcond_without luajit %bcond_without luajit
@@ -26,17 +26,15 @@
%bcond_with gegl_docs %bcond_with gegl_docs
Name: gegl Name: gegl
Version: 0.4.48 Version: 0.4.62
Release: 0 Release: 0
Summary: Generic Graphics Library Summary: Generic Graphics Library
License: GPL-3.0-or-later AND LGPL-3.0-or-later License: GPL-3.0-or-later AND LGPL-3.0-or-later
Group: Productivity/Graphics/Other Group: Productivity/Graphics/Other
URL: http://gegl.org/ URL: https://gegl.org/
Source0: https://download.gimp.org/pub/gegl/0.4/%{name}-%{version}.tar.xz Source0: https://download.gimp.org/pub/gegl/0.4/%{name}-%{version}.tar.xz
Source1: normalize-gir.pl Source1: normalize-gir.pl
Source99: baselibs.conf Source99: baselibs.conf
# PATCH-FIX-UPSTREAM
Patch0: https://gitlab.gnome.org/GNOME/gegl/-/commit/66de8124.patch
BuildRequires: ImageMagick BuildRequires: ImageMagick
BuildRequires: asciidoc BuildRequires: asciidoc
@@ -53,7 +51,7 @@ BuildRequires: python3-gi-docgen
%endif %endif
BuildRequires: ruby BuildRequires: ruby
BuildRequires: suitesparse-devel BuildRequires: suitesparse-devel
BuildRequires: (pkgconfig(babl) or pkgconfig(babl-0.1)) BuildRequires: (pkgconfig(babl) >= 0.1.112 or pkgconfig(babl-0.1) >= 0.1.112)
BuildRequires: pkgconfig(OpenEXR) >= 1.6.1 BuildRequires: pkgconfig(OpenEXR) >= 1.6.1
BuildRequires: pkgconfig(cairo) >= 1.12.2 BuildRequires: pkgconfig(cairo) >= 1.12.2
BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.32.0 BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.32.0