public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: media-libs/gegl/files/
@ 2016-12-22 16:04 Michael Palimaka
  0 siblings, 0 replies; 3+ messages in thread
From: Michael Palimaka @ 2016-12-22 16:04 UTC (permalink / raw
  To: gentoo-commits

commit:     3374c119b39762e12d2bba4bb7e4b55075c459bf
Author:     Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Tue Dec 20 19:17:26 2016 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Thu Dec 22 16:04:43 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3374c119

media-libs/gegl: remove unused patches

 media-libs/gegl/files/0.1.6-ffmpeg.patch           | 33 ----------
 media-libs/gegl/files/gegl-0.0.22-locale_h.diff    | 10 ---
 .../files/gegl-0.1.8-cve-2012-4433-4757cdf7.patch  | 74 ----------------------
 media-libs/gegl/files/gegl-doubledestdir.diff      | 12 ----
 .../files/replace-imgconvert-by-swsscale.patch     | 58 -----------------
 5 files changed, 187 deletions(-)

diff --git a/media-libs/gegl/files/0.1.6-ffmpeg.patch b/media-libs/gegl/files/0.1.6-ffmpeg.patch
deleted file mode 100644
index 51fb95d..00000000
--- a/media-libs/gegl/files/0.1.6-ffmpeg.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-diff -urN gegl-0.1.6.old//operations/external/ff-load.c gegl-0.1.6/operations/external/ff-load.c
---- gegl-0.1.6.old//operations/external/ff-load.c   2011-01-24 19:03:30.000000000 -0300
-+++ gegl-0.1.6/operations/external/ff-load.c    2011-05-04 09:59:48.910379742 -0300
-@@ -69,17 +69,17 @@
- {
-   switch (err)
-     {
--    case AVERROR_NUMEXPECTED:
-+    case AVERROR(EDOM):
-       g_warning ("%s: Incorrect image filename syntax.\n"
-                  "Use '%%d' to specify the image number:\n"
-                  "  for img1.jpg, img2.jpg, ..., use 'img%%d.jpg';\n"
-                  "  for img001.jpg, img002.jpg, ..., use 'img%%03d.jpg'.\n",
-                  filename);
-       break;
--    case AVERROR_INVALIDDATA:
-+    case AVERROR(EINVAL):
-       g_warning ("%s: Error while parsing header\n", filename);
-       break;
--    case AVERROR_NOFMT:
-+    case AVERROR(EILSEQ):
-       g_warning ("%s: Unknown format\n", filename);
-       break;
-     default:
-@@ -278,7 +278,7 @@
-       for (i = 0; i< p->ic->nb_streams; i++)
-         {
-           AVCodecContext *c = p->ic->streams[i]->codec;
--          if (c->codec_type == CODEC_TYPE_VIDEO)
-+          if (c->codec_type == AVMEDIA_TYPE_VIDEO)
-             {
-               p->video_st = p->ic->streams[i];
-               p->video_stream = i;

diff --git a/media-libs/gegl/files/gegl-0.0.22-locale_h.diff b/media-libs/gegl/files/gegl-0.0.22-locale_h.diff
deleted file mode 100644
index a4a9707..00000000
--- a/media-libs/gegl/files/gegl-0.0.22-locale_h.diff
+++ /dev/null
@@ -1,10 +0,0 @@
---- gegl-0.0.22/gegl/gegl-init.c	2008-12-31 02:38:59.000000000 +0100
-+++ gegl-0.0.22-1/gegl/gegl-init.c	2009-01-14 22:21:41.000000000 +0100
-@@ -26,6 +26,7 @@
- #include <glib/gi18n-lib.h>
- 
- #include <stdlib.h>
-+#include <locale.h>
- #ifdef HAVE_UNISTD_H
- #include <unistd.h>
- #endif

diff --git a/media-libs/gegl/files/gegl-0.1.8-cve-2012-4433-4757cdf7.patch b/media-libs/gegl/files/gegl-0.1.8-cve-2012-4433-4757cdf7.patch
deleted file mode 100644
index 7bda5b0..00000000
--- a/media-libs/gegl/files/gegl-0.1.8-cve-2012-4433-4757cdf7.patch
+++ /dev/null
@@ -1,74 +0,0 @@
-From 3d3b1559cb34bc862f145c9880d156f6f2fe7b5f Mon Sep 17 00:00:00 2001
-From: Sebastian Pipping <sebastian@pipping.org>
-Date: Sat, 17 Nov 2012 16:22:21 +0100
-Subject: [PATCH] ppm-load: CVE-2012-4433: add plausibility checks for header
- fields
-
-"Port" of 4757cdf73d3675478d645a3ec8250ba02168a230 by Nils Philippsen from GEGL 0.2.0 to 0.1.8
----
- operations/external/ppm-load.c | 33 ++++++++++++++++++++++++++++-----
- 1 file changed, 28 insertions(+), 5 deletions(-)
-
-diff --git a/operations/external/ppm-load.c b/operations/external/ppm-load.c
-index 6db6e5a..2d4f0ca 100644
---- a/operations/external/ppm-load.c
-+++ b/operations/external/ppm-load.c
-@@ -36,6 +36,7 @@ gegl_chant_file_path (path, _("File"), "", _("Path of file to load."))
- #include "gegl-chant.h"
- #include <stdio.h>
- #include <stdlib.h>
-+#include <errno.h>
- 
- typedef enum {
-   PIXMAP_ASCII  = 51,
-@@ -44,8 +45,8 @@ typedef enum {
- 
- typedef struct {
- 	map_type   type;
--	gint       width;
--	gint       height;
-+	glong      width;
-+	glong      height;
-         gsize      numsamples; /* width * height * channels */
-         gsize      bpc;        /* bytes per channel */
- 	guchar    *data;
-@@ -82,11 +83,33 @@ ppm_load_read_header(FILE       *fp,
-       }
- 
-     /* Get Width and Height */
--    img->width  = strtol (header,&ptr,0);
--    img->height = atoi (ptr);
-+    errno = 0;
-+    img->width  = strtol (header,&ptr,10);
-+    if (errno)
-+      {
-+        g_warning ("Error reading width: %s", strerror(errno));
-+        return FALSE;
-+      }
-+    else if (img->width < 0)
-+      {
-+        g_warning ("Error: width is negative");
-+        return FALSE;
-+      }
-+
-+    img->height = strtol (ptr,&ptr,10);
-+    if (errno)
-+      {
-+        g_warning ("Error reading height: %s", strerror(errno));
-+        return FALSE;
-+      }
-+    else if (img->width < 0)
-+      {
-+        g_warning ("Error: height is negative");
-+        return FALSE;
-+      }
- 
-     retval = fgets (header,MAX_CHARS_IN_ROW,fp);
--    maxval = strtol (header,&ptr,0);
-+    maxval = strtol (header,&ptr,10);
- 
-     if ((maxval != 255) && (maxval != 65535))
-       {
--- 
-1.7.12.4
-

diff --git a/media-libs/gegl/files/gegl-doubledestdir.diff b/media-libs/gegl/files/gegl-doubledestdir.diff
deleted file mode 100644
index 8a9bf33..00000000
--- a/media-libs/gegl/files/gegl-doubledestdir.diff
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Naur gegl-0.1.6/docs/Makefile.am gegl-0.1.6-1//docs/Makefile.am
---- gegl-0.1.6/docs/Makefile.am	2010-10-08 18:51:41.000000000 +0200
-+++ gegl-0.1.6-1//docs/Makefile.am	2011-02-16 20:05:30.458043758 +0100
-@@ -6,7 +6,7 @@
- # is very small, and should probably be documented in a tutorial.
- #
- 
--gtkdochtmldir = $(DESTDIR)$(datadir)/gtk-doc/html/gegl
-+gtkdochtmldir = $(datadir)/gtk-doc/html/gegl
- 
- HTML_FILES = \
- 	operations.html		\

diff --git a/media-libs/gegl/files/replace-imgconvert-by-swsscale.patch b/media-libs/gegl/files/replace-imgconvert-by-swsscale.patch
deleted file mode 100644
index 2cf5601..00000000
--- a/media-libs/gegl/files/replace-imgconvert-by-swsscale.patch
+++ /dev/null
@@ -1,58 +0,0 @@
-Index: gegl-0.0.22/operations/workshop/external/ff-save.c
-===================================================================
---- gegl-0.0.22.orig/operations/workshop/external/ff-save.c
-+++ gegl-0.0.22/operations/workshop/external/ff-save.c
-@@ -19,6 +19,8 @@
- #include "config.h"
- #include <glib/gi18n-lib.h>
- 
-+#include <libswscale/swscale.h>
-+
- 
- #ifdef GEGL_CHANT_PROPERTIES
- 
-@@ -640,6 +642,7 @@ write_video_frame (GeglChantO *op,
-   int       out_size, ret;
-   AVCodecContext *c;
-   AVFrame  *picture_ptr;
-+  struct SwsContext *img_convert_ctx;
- 
-   c = st->codec;
- 
-@@ -649,10 +652,22 @@ write_video_frame (GeglChantO *op,
-          to the codec pixel format if needed */
-       fill_yuv_image (op, p->tmp_picture, p->frame_count, c->width,
-                       c->height);
--      /* FIXME: img_convert is deprecated. Update code to use sws_scale(). */
-+      /* FIXME: img_convert is deprecated. Update code to use sws_scale().
-       img_convert ((AVPicture *) p->picture, c->pix_fmt,
-                    (AVPicture *) p->tmp_picture, PIX_FMT_RGB24,
-                    c->width, c->height);
-+      */
-+      img_convert_ctx = sws_getContext(c->width, c->height, c->pix_fmt,
-+                                       c->width, c->height, PIX_FMT_RGB24,
-+                                       SWS_BICUBIC, NULL, NULL, NULL);
-+
-+      if (img_convert_ctx == NULL)
-+        fprintf(stderr, "ff_save: Cannot initialize conversion context.");
-+      else
-+      {
-+        sws_scale(img_convert_ctx, p->tmp_picture->data, p->tmp_picture->linesize,
-+                  0, c->height, p->picture->data, p->picture->linesize);
-+      }
-     }
-   else
-     {
-Index: gegl-0.0.22/operations/workshop/external/Makefile.am
-===================================================================
---- gegl-0.0.22.orig/operations/workshop/external/Makefile.am
-+++ gegl-0.0.22/operations/workshop/external/Makefile.am
-@@ -21,7 +21,7 @@ endif
- if HAVE_AVFORMAT
- ops += ff_save.la
- ff_save_la_SOURCES = ff-save.c
--ff_save_la_LIBADD = $(op_libs) $(AVFORMAT_LIBS)
-+ff_save_la_LIBADD = $(op_libs) $(AVFORMAT_LIBS) -lswscale
- ff_save_la_CFLAGS = $(AVFORMAT_CFLAGS)
- endif
- 


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

* [gentoo-commits] repo/gentoo:master commit in: media-libs/gegl/files/
@ 2019-05-18 11:54 Sebastian Pipping
  0 siblings, 0 replies; 3+ messages in thread
From: Sebastian Pipping @ 2019-05-18 11:54 UTC (permalink / raw
  To: gentoo-commits

commit:     dcf00ca4549b3e362634f4a626b7a328cec8a47c
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Fri May 17 18:27:49 2019 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Sat May 18 11:53:39 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcf00ca4

media-libs/gegl: remove unused patch

Closes: https://github.com/gentoo/gentoo/pull/12034
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>

 .../files/gegl-0.4.8-remove-imath-version.patch    | 33 ----------------------
 1 file changed, 33 deletions(-)

diff --git a/media-libs/gegl/files/gegl-0.4.8-remove-imath-version.patch b/media-libs/gegl/files/gegl-0.4.8-remove-imath-version.patch
deleted file mode 100644
index 54ee791a68e..00000000000
--- a/media-libs/gegl/files/gegl-0.4.8-remove-imath-version.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-diff -urN a/operations/external/exr-save.cc b/operations/external/exr-save.cc
---- a/operations/external/exr-save.cc	2018-07-11 23:15:19.000000000 +0100
-+++ b/operations/external/exr-save.cc	2018-08-22 19:13:26.241432231 +0100
-@@ -145,10 +145,10 @@
-                           &blue[0], &blue[1],
-                           NULL, NULL, NULL);
-     {
--    Imf::Chromaticities c1 (Imath_2_2::V2f(red[0],red[1]),
--                            Imath_2_2::V2f(green[0],green[1]),
--                            Imath_2_2::V2f(blue[0],blue[1]),
--                            Imath_2_2::V2f(wp[0],wp[1]));
-+    Imf::Chromaticities c1 (Imath::V2f(red[0],red[1]),
-+                            Imath::V2f(green[0],green[1]),
-+                            Imath::V2f(blue[0],blue[1]),
-+                            Imath::V2f(wp[0],wp[1]));
-     Imf::addChromaticities (header, c1);
-     }
-   }
-@@ -184,10 +184,10 @@
-                            &green[0], &green[1],
-                            &blue[0], &blue[1],
-                            NULL, NULL, NULL);
--    Imf::Chromaticities c1 (Imath_2_2::V2f(red[0],red[1]),
--                            Imath_2_2::V2f(green[0],green[1]),
--                            Imath_2_2::V2f(blue[0],blue[1]),
--                            Imath_2_2::V2f(wp[0],wp[1]));
-+    Imf::Chromaticities c1 (Imath::V2f(red[0],red[1]),
-+                            Imath::V2f(green[0],green[1]),
-+                            Imath::V2f(blue[0],blue[1]),
-+                            Imath::V2f(wp[0],wp[1]));
-     Imf::addChromaticities (header, c1);
-   }
- 


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

* [gentoo-commits] repo/gentoo:master commit in: media-libs/gegl/files/
@ 2020-01-05 13:27 Sergei Trofimovich
  0 siblings, 0 replies; 3+ messages in thread
From: Sergei Trofimovich @ 2020-01-05 13:27 UTC (permalink / raw
  To: gentoo-commits

commit:     385dfbc785aed31726688504959be6e20896716c
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun Jan  5 13:26:45 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun Jan  5 13:26:59 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=385dfbc7

media-libs/gegl: add missing -lm to tests, bug #639986

The change fixes underlinking on ia64:
```
gnu/bin/ld: buffer-test.o: undefined reference to symbol 'floor@ <AT> GLIBC_2.2'
/usr/lib/gcc/ia64-unknown-linux-gnu/9.2.0/../../../../ia64-unknown-linux-gnu/bin/ld:
    /lib/libm.so.6.1: error adding symbols: DSO missing from command line
```

Closes: https://bugs.gentoo.org/639986
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 media-libs/gegl/files/gegl-0.2.0-underlinking.patch | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/media-libs/gegl/files/gegl-0.2.0-underlinking.patch b/media-libs/gegl/files/gegl-0.2.0-underlinking.patch
index 53f29c49da7..00e936ce68e 100644
--- a/media-libs/gegl/files/gegl-0.2.0-underlinking.patch
+++ b/media-libs/gegl/files/gegl-0.2.0-underlinking.patch
@@ -47,6 +47,19 @@ index 8f1077d..4dd3845 100644
  
  noinst_PROGRAMS = introspect operation_reference img_cmp
  
+diff --git a/tests/buffer/Makefile.am b/tests/buffer/Makefile.am
+index d62ce71..0a4df53 100644
+--- a/tests/buffer/Makefile.am
++++ b/tests/buffer/Makefile.am
+@@ -30,7 +30,7 @@ AM_CFLAGS = $(DEP_CFLAGS) $(BABL_CFLAGS)
+ 
+ buffer_test_LDADD = 						\
+ 	$(top_builddir)/gegl/libgegl-$(GEGL_API_VERSION).la	\
+-	$(DEP_LIBS) $(BABL_LIBS)
++	$(DEP_LIBS) $(BABL_LIBS) $(MATH_LIB)
+ 
+ 
+ # Our custom target rules
 -- 
 2.12.2
 


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

end of thread, other threads:[~2020-01-05 13:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-22 16:04 [gentoo-commits] repo/gentoo:master commit in: media-libs/gegl/files/ Michael Palimaka
  -- strict thread matches above, loose matches on Subject: below --
2019-05-18 11:54 Sebastian Pipping
2020-01-05 13:27 Sergei Trofimovich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox