Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/811069/?format=api
{ "id": 811069, "url": "http://patchwork.ozlabs.org/api/patches/811069/?format=api", "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20170907151757.28606-1-ps.report@gmx.net/", "project": { "id": 27, "url": "http://patchwork.ozlabs.org/api/projects/27/?format=api", "name": "Buildroot development", "link_name": "buildroot", "list_id": "buildroot.buildroot.org", "list_email": "buildroot@buildroot.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20170907151757.28606-1-ps.report@gmx.net>", "list_archive_url": null, "date": "2017-09-07T15:17:57", "name": "[v1] gst1-plugins-bad: fix build against openjpeg 2.2", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "bc1da2194169b5dcff00b8acbf3fa472450eef52", "submitter": { "id": 43323, "url": "http://patchwork.ozlabs.org/api/people/43323/?format=api", "name": "Peter Seiderer", "email": "ps.report@gmx.net" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20170907151757.28606-1-ps.report@gmx.net/mbox/", "series": [ { "id": 2013, "url": "http://patchwork.ozlabs.org/api/series/2013/?format=api", "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=2013", "date": "2017-09-07T15:17:57", "name": "[v1] gst1-plugins-bad: fix build against openjpeg 2.2", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/2013/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/811069/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/811069/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<buildroot-bounces@busybox.net>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "buildroot@lists.busybox.net" ], "Delivered-To": [ "patchwork-incoming@bilbo.ozlabs.org", "buildroot@osuosl.org" ], "Authentication-Results": "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=busybox.net\n\t(client-ip=140.211.166.133; helo=hemlock.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\n\treceiver=<UNKNOWN>)", "Received": [ "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xp3xk3W7dz9s7c\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 8 Sep 2017 01:18:34 +1000 (AEST)", "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 0078F89F89;\n\tThu, 7 Sep 2017 15:18:29 +0000 (UTC)", "from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id cbcq+drgxrIF; Thu, 7 Sep 2017 15:18:24 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 8E59589F87;\n\tThu, 7 Sep 2017 15:18:24 +0000 (UTC)", "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id 46D301C3EC6\n\tfor <buildroot@lists.busybox.net>;\n\tThu, 7 Sep 2017 15:18:22 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 3F3B2820F7\n\tfor <buildroot@lists.busybox.net>;\n\tThu, 7 Sep 2017 15:18:22 +0000 (UTC)", "from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id lPH6TPFKvT-D for <buildroot@lists.busybox.net>;\n\tThu, 7 Sep 2017 15:18:19 +0000 (UTC)", "from mout.gmx.net (mout.gmx.net [212.227.17.21])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id 8D77E81FB4\n\tfor <buildroot@busybox.net>; Thu, 7 Sep 2017 15:18:18 +0000 (UTC)", "from linux.local ([188.99.112.207]) by mail.gmx.com (mrgmx102\n\t[212.227.17.168]) with ESMTPSA (Nemesis) id 0LgNGi-1d4nuQ05RM-00nkgr;\n\tThu, 07 Sep 2017 17:18:02 +0200" ], "X-Virus-Scanned": [ "amavisd-new at osuosl.org", "amavisd-new at osuosl.org" ], "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6", "From": "Peter Seiderer <ps.report@gmx.net>", "To": "buildroot@busybox.net", "Date": "Thu, 7 Sep 2017 17:17:57 +0200", "Message-Id": "<20170907151757.28606-1-ps.report@gmx.net>", "X-Mailer": "git-send-email 2.12.3", "X-Provags-ID": "V03:K0:/afMQ62Xh8a+DVYLAxyVKsxjvh2Qsteyr6o0CCiHfAHWR52qO8d\n\tIhBDdtev82vX8qHjLN8TWNLGH75Fe6JsYJQBFiN6fZc40t8vjcTOuwUV6IEU2e29jWbvr7J\n\tFo6sN5Oq1gmMpXqz29uRlmafyz5jsMBIll9fdxCvAPk8AySwQNuW2MpFyAysF0eAP1L9JA0\n\tCgmDbvL3d0bIgY/0XlVZQ==", "X-UI-Out-Filterresults": "notjunk:1; V01:K0:ONrxw/IOroc=:wU00Wj4AfYiQMGb12Gkx+m\n\tYGf/AbDx0K57er7S5JH1SEO/YQh56MgVP0lQch579eubHlINnZKB30lJDwrstQ1v5SrlUQCy2\n\tAWZJ399EVf3BS8bPUOndTgQa2SkotDfQN10dvBZ6tX7rN+AmiTZ6VU3JMprEy8Xl/A9K7NV+A\n\tWM1Zyx7N9MatKfySsesnSCJDJO9jxZMlB6Jx39T1696TAuoD/+sPO2w9HPXYuT5/aptaCerSk\n\tkeXeXYWjPOcAcFFLd9RDn2iW4TeoKgf/E5rg1z2adSPXkE/ohNPWWLQAvHjJMhu3Yoqn8cLcp\n\tOCJMCXZY+c10COLJeuzD20p76qvHK+hHpE0Qfpsae0anRv+yk5IZorvYmk1QQgm+9cHTWU+rY\n\tmfC8+v2fgjhKvWxUti5tMUZpNuBNsEwvXE3XdbJDmIEygv7cs8jymO4SaN1LKOvN/DGEV84UK\n\tzrVzCCaI2GNHDj7oCQX5TtwC5yOmvckMZndddPwUo1oZo/sEyaOHd9BCxJppby6IXTOMJudtw\n\t4iyCLbJFhouaTxNO2rpAdYaUod0+3LgUrXuchBAH/qsQMUA/u8psPuL09L5nJi0h+RbE8zZmz\n\ty9SExjVHRq2jBqQg9ADGCv7pqYTtapy+GYM6rkJ9OpXd2AJIMGG1M3bFo4t9Qz+PTvT4JDYjY\n\twx4vC1lyylD7cwjv1gdqu+wpIc2/mu7AOhhiFLdlCxvhC+Qfv/R9Rw66mtt08xs8YwvTzFmJ7\n\tFwjkNVEo4RGXxombw7jN+11fYlyUexj0SGRFszvhFGuNd93ZiDx2H16fSPyTC6rBn5tkEfkIA\n\tpKy4GauPjtvMN/cGV2X+2GirTp9MQ==", "Subject": "[Buildroot] [PATCH v1] gst1-plugins-bad: fix build against openjpeg\n\t2.2", "X-BeenThere": "buildroot@busybox.net", "X-Mailman-Version": "2.1.18-1", "Precedence": "list", "List-Id": "Discussion and development of buildroot <buildroot.busybox.net>", "List-Unsubscribe": "<http://lists.busybox.net/mailman/options/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=unsubscribe>", "List-Archive": "<http://lists.busybox.net/pipermail/buildroot/>", "List-Post": "<mailto:buildroot@busybox.net>", "List-Help": "<mailto:buildroot-request@busybox.net?subject=help>", "List-Subscribe": "<http://lists.busybox.net/mailman/listinfo/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=subscribe>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Errors-To": "buildroot-bounces@busybox.net", "Sender": "\"buildroot\" <buildroot-bounces@busybox.net>" }, "content": "Add upstream patch to fix build against openjpeg 2.2.\n\nFixes [1]:\n\n gstopenjpeg.h:42:37: fatal error: openjpeg-2.1/openjpeg.h: No such file or directory\n\n[1] http://autobuild.buildroot.net/results/90f1f7838f08e3a557be27470406d4d84dbcc828\n\nSigned-off-by: Peter Seiderer <ps.report@gmx.net>\n---\n ...1-openjpeg-Fix-build-against-openjpeg-2.2.patch | 93 ++++++++++++++++++++++\n 1 file changed, 93 insertions(+)\n create mode 100644 package/gstreamer1/gst1-plugins-bad/0001-openjpeg-Fix-build-against-openjpeg-2.2.patch", "diff": "diff --git a/package/gstreamer1/gst1-plugins-bad/0001-openjpeg-Fix-build-against-openjpeg-2.2.patch b/package/gstreamer1/gst1-plugins-bad/0001-openjpeg-Fix-build-against-openjpeg-2.2.patch\nnew file mode 100644\nindex 0000000000..d9268bc9b6\n--- /dev/null\n+++ b/package/gstreamer1/gst1-plugins-bad/0001-openjpeg-Fix-build-against-openjpeg-2.2.patch\n@@ -0,0 +1,93 @@\n+From daaf649bda7231fd0d760802232a36ba62a4ea2d Mon Sep 17 00:00:00 2001\n+From: Clemens Lang <cal@macports.org>\n+Date: Sun, 13 Aug 2017 21:17:18 +0200\n+Subject: [PATCH] openjpeg: Fix build against openjpeg 2.2\n+\n+OpenJPEG 2.2 has some API changes and thus ships its headers in a new\n+include path. Add a configure check (to both meson and autoconf) to\n+detect the newer version of OpenJPEG and add conditional includes.\n+\n+Fix the autoconf test for OpenJPEG 2.1, which checked for HAVE_OPENJPEG,\n+which was always set even for 2.0.\n+\n+https://bugzilla.gnome.org/show_bug.cgi?id=786250\n+\n+Upstream: https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/patch/?id=15f24fef53a955c7c76fc966302cb0453732e657\n+Signed-off-by: Peter Seiderer <ps.report@gmx.net>\n+---\n+ configure.ac | 7 ++++++-\n+ ext/openjpeg/gstopenjpeg.h | 4 +++-\n+ ext/openjpeg/meson.build | 21 +++++++++++++--------\n+ 3 files changed, 22 insertions(+), 10 deletions(-)\n+\n+diff --git a/configure.ac b/configure.ac\n+index 30e26b8..c4f08c7 100644\n+--- a/configure.ac\n++++ b/configure.ac\n+@@ -2813,8 +2813,13 @@ AG_GST_CHECK_FEATURE(OPENJPEG, [openjpeg library], openjpeg, [\n+ if test x\"$HAVE_OPENJPEG\" = x\"yes\"; then\n+ dnl minor API changes in v2.1\n+ AG_GST_PKG_CHECK_MODULES(OPENJPEG_2_1, libopenjp2 >= 2.1)\n+- if test x\"$HAVE_OPENJPEG\" = x\"yes\"; then\n++ if test x\"$HAVE_OPENJPEG_2_1\" = x\"yes\"; then\n+ AC_DEFINE([HAVE_OPENJPEG_2_1], 1, [Define if OpenJPEG 2.1 is used])\n++ dnl include paths changed for v2.2\n++ AG_GST_PKG_CHECK_MODULES(OPENJPEG_2_2, libopenjp2 >= 2.2)\n++ if test x\"$HAVE_OPENJPEG_2_2\" = x\"yes\"; then\n++ AC_DEFINE([HAVE_OPENJPEG_2_2], 1, [Define if OpenJPEG 2.2 is used])\n++ fi\n+ fi\n+ else\n+ # Fallback to v1.5\n+diff --git a/ext/openjpeg/gstopenjpeg.h b/ext/openjpeg/gstopenjpeg.h\n+index 03ce52e..52410a4 100644\n+--- a/ext/openjpeg/gstopenjpeg.h\n++++ b/ext/openjpeg/gstopenjpeg.h\n+@@ -38,7 +38,9 @@\n+ #define OPJ_CPRL CPRL\n+ #else\n+ #include <stdio.h>\n+-# ifdef HAVE_OPENJPEG_2_1\n++# if defined(HAVE_OPENJPEG_2_2)\n++# include <openjpeg-2.2/openjpeg.h>\n++# elif defined(HAVE_OPENJPEG_2_1)\n+ # include <openjpeg-2.1/openjpeg.h>\n+ # else\n+ # include <openjpeg-2.0/openjpeg.h>\n+diff --git a/ext/openjpeg/meson.build b/ext/openjpeg/meson.build\n+index d60974c..e9c416c 100644\n+--- a/ext/openjpeg/meson.build\n++++ b/ext/openjpeg/meson.build\n+@@ -6,16 +6,21 @@ openjpeg_sources = [\n+ \n+ openjpeg_cargs = []\n+ \n+-# Check for 2.1, then 2.0\n+-openjpeg_dep = dependency('libopenjp2', version : '>=2.1', required : false)\n++# Check for 2.2, 2.1, then 2.0\n++openjpeg_dep = dependency('libopenjp2', version : '>=2.2', required : false)\n+ if openjpeg_dep.found()\n+- openjpeg_cargs += ['-DHAVE_OPENJPEG_2_1']\n++ openjpeg_cargs += ['-DHAVE_OPENJPEG_2_2']\n+ else\n+- openjpeg_dep = dependency('libopenjp2', required : false)\n+- # Fallback to 1.5\n+- if not openjpeg_dep.found()\n+- openjpeg_dep = dependency('libopenjpeg1', required : false)\n+- openjpeg_cargs += ['-DHAVE_OPENJPEG_1']\n++ openjpeg_dep = dependency('libopenjp2', version : '>=2.1', required : false)\n++ if openjpeg_dep.found()\n++ openjpeg_cargs += ['-DHAVE_OPENJPEG_2_1']\n++ else\n++ openjpeg_dep = dependency('libopenjp2', required : false)\n++ # Fallback to 1.5\n++ if not openjpeg_dep.found()\n++ openjpeg_dep = dependency('libopenjpeg1', required : false)\n++ openjpeg_cargs += ['-DHAVE_OPENJPEG_1']\n++ endif\n+ endif\n+ endif\n+ \n+-- \n+2.12.3\n+\n", "prefixes": [ "v1" ] }