public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Dominik 'Rathann' Mierzejewski <dominik@greysector.net>
To: git-commits@fedoraproject.org
Subject: [rpms/gpac] f45: update to 26.07.0 (resolves rhbz#2514277)
Date: Sat, 15 Aug 2026 23:05:49 GMT [thread overview]
Message-ID: <178683514985.1.9320106539912155423.rpms-gpac-c521edd662df@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/gpac
Branch : f45
Commit : c521edd662df803cc22f24be8e2f748d5ae7e68d
Author : Dominik 'Rathann' Mierzejewski <dominik@greysector.net>
Date : 2026-08-15T23:09:35+02:00
Stats : +98/-6 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/gpac/c/c521edd662df803cc22f24be8e2f748d5ae7e68d?branch=f45
Log:
update to 26.07.0 (resolves rhbz#2514277)
- fix building sggen binaries
---
diff --git a/.gitignore b/.gitignore
index 1e7ef40..c9d36ae 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/gpac-2.4.0.tar.gz
/gpac-26.02.0.tar.gz
+/gpac-26.07.0.tar.gz
diff --git a/gpac-strcpy.patch b/gpac-strcpy.patch
new file mode 100644
index 0000000..2ca353a
--- /dev/null
+++ b/gpac-strcpy.patch
@@ -0,0 +1,22 @@
+diff -up gpac-26.07.0/applications/generators/MPEG4/main.c.orig gpac-26.07.0/applications/generators/MPEG4/main.c
+--- gpac-26.07.0/applications/generators/MPEG4/main.c.orig 2026-07-24 18:55:39.000000000 +0200
++++ gpac-26.07.0/applications/generators/MPEG4/main.c 2026-08-15 22:10:19.780230838 +0200
+@@ -30,6 +30,7 @@
+ #undef _DEBUG
+ #undef DEBUG
+
++#define GPAC_ALLOW_UNSAFE_STRFUNC
+ #include <gpac/list.h>
+
+
+diff -up gpac-26.07.0/applications/generators/X3D/main.c.orig gpac-26.07.0/applications/generators/X3D/main.c
+--- gpac-26.07.0/applications/generators/X3D/main.c.orig 2026-07-24 18:55:39.000000000 +0200
++++ gpac-26.07.0/applications/generators/X3D/main.c 2026-08-15 22:11:18.940467752 +0200
+@@ -27,6 +27,7 @@
+ #include <stdio.h>
+ #include <string.h>
+
++#define GPAC_ALLOW_UNSAFE_STRFUNC
+ #include <gpac/list.h>
+ #include <time.h>
+
diff --git a/gpac-svggen.patch b/gpac-svggen.patch
new file mode 100644
index 0000000..31636ea
--- /dev/null
+++ b/gpac-svggen.patch
@@ -0,0 +1,60 @@
+diff -up gpac-26.07.0/applications/generators/SVG/main.c.orig gpac-26.07.0/applications/generators/SVG/main.c
+--- gpac-26.07.0/applications/generators/SVG/main.c.orig 2026-07-24 18:55:39.000000000 +0200
++++ gpac-26.07.0/applications/generators/SVG/main.c 2026-08-15 22:11:55.886616214 +0200
+@@ -23,6 +23,7 @@
+ *
+ */
+
++#define GPAC_ALLOW_UNSAFE_STRFUNC
+ #include "svggen.h"
+
+ SVGGenAttribute *NewSVGGenAttribute()
+diff -up gpac-26.07.0/applications/generators/SVG/svggen.h.orig gpac-26.07.0/applications/generators/SVG/svggen.h
+--- gpac-26.07.0/applications/generators/SVG/svggen.h.orig 2026-07-24 18:55:39.000000000 +0200
++++ gpac-26.07.0/applications/generators/SVG/svggen.h 2026-08-15 23:04:53.171113837 +0200
+@@ -155,7 +155,7 @@ static char *timing[] = {
+ };
+
+ /* Sync */
+-static char *sync[] = {
++static char *media_sync[] = {
+ "syncBehavior", "syncBehaviorDefault", "syncTolerance", "syncToleranceDefault", "syncMaster", "syncReference"
+ };
+
+@@ -183,13 +183,24 @@ static _atts generic_attributes[] = {
+ { 12, focus },
+ { 7, xlink },
+ { 11, timing },
+- { 6, sync },
++ { 6, media_sync },
+ { 13, anim },
+ { 5, conditional}
+ };
+
+ FILE *BeginFile(u32 type);
+ void EndFile(FILE *f, u32 type);
++SVGGenAttribute *findAttribute(SVGGenElement *e, char *name);
++void generateAttributes(FILE *output, GF_List *attributes, Bool inDefine);
++u32 generateCoreInfo(FILE *output, SVGGenElement *elt, u32 start);
++u32 generateGenericInfo(FILE *output, SVGGenElement *elt, u32 index, char *pointer_root, u32 start);
++void generateSVGCode_V1(GF_List *svg_elements);
++void generateSVGCode_V2(GF_List *svg_elements);
++void generateSVGCode_V3(GF_List *svg_elements);
++void generate_laser_tables(GF_List *svg_elements);
++void generate_laser_tables_da(GF_List *atts);
++void generate_table(GF_List *elements);
++void svgNameToImplementationName(xmlChar *svg_name, char implementation_name[50]);
+
+
+ #endif // _SVGGEN_H_
+diff -up gpac-26.07.0/applications/generators/SVG/v3.c.orig gpac-26.07.0/applications/generators/SVG/v3.c
+--- gpac-26.07.0/applications/generators/SVG/v3.c.orig 2026-07-24 18:55:39.000000000 +0200
++++ gpac-26.07.0/applications/generators/SVG/v3.c 2026-08-15 22:44:37.014163613 +0200
+@@ -23,6 +23,7 @@
+ *
+ */
+
++#define GPAC_ALLOW_UNSAFE_STRFUNC
+ #include "svggen.h"
+
+
diff --git a/gpac.spec b/gpac.spec
index aa1cec6..d6e0c93 100644
--- a/gpac.spec
+++ b/gpac.spec
@@ -2,8 +2,8 @@
Name: gpac
Summary: MPEG-4 multimedia framework
-Version: 26.02.0
-Release: 3%{?dist}
+Version: 26.07.0
+Release: 1%{?dist}
License: LGPL-2.0-or-later
URL: https://gpac.io/
Source0: https://github.com/gpac/gpac/archive/v%{version}/gpac-%{version}.tar.gz
@@ -12,6 +12,10 @@ Source0: https://github.com/gpac/gpac/archive/v%{version}/gpac-%{version}.ta
Patch0: gpac-noopt.patch
# skip adding standard rpath
Patch1: gpac-norpath.patch
+# fix compilation of demo applications
+Patch2: gpac-strcpy.patch
+# fix building SVGGen binary
+Patch3: gpac-svggen.patch
BuildRequires: SDL2-devel
BuildRequires: a52dec-devel
@@ -107,6 +111,7 @@ popd
--X11-path=%{_prefix} \
--libdir=%{_lib} \
--disable-oss \
+ --enable-scenegraph \
--enable-pic \
%if %{with check}
--unittests \
@@ -119,7 +124,7 @@ sed -ie 's/DEBUGBUILD=no/DEBUGBUILD=yes/' config.mak
cp -p config.h include/gpac
%make_build all
-%make_build sggen
+%make_build sggen HAS_LIBXML2=yes XML2_CFLAGS="$(pkg-config --cflags libxml-2.0)" XML2_LIBS="$(pkg-config --libs libxml-2.0)"
## kwizart - build doxygen doc for devel
pushd share/doc
@@ -130,8 +135,7 @@ popd
%make_install install-lib
#Install generated sggen binaries
-#for b in MPEG4 SVG X3D; do
-for b in MPEG4 X3D; do
+for b in MPEG4 SVG X3D; do
pushd applications/generators/${b}
install -pm 0755 ${b}Gen %{buildroot}%{_bindir}
popd
@@ -161,6 +165,7 @@ rm %{buildroot}%{_includedir}/gpac/00_doxy.h
%{_bindir}/gpac
%{_bindir}/MP4Box
%{_bindir}/MPEG4Gen
+%{_bindir}/SVGGen
%{_bindir}/X3DGen
%{_datadir}/gpac/
%{_mandir}/man1/gpac-filters.1.*
@@ -194,6 +199,10 @@ rm %{buildroot}%{_includedir}/gpac/00_doxy.h
%changelog
+* Sat Aug 15 2026 Dominik Mierzejewski <dominik@greysector.net> - 26.07.0-1
+- update to 26.07.0 (resolves rhbz#2514277)
+- fix building sggen binaries
+
* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 26.02.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
diff --git a/sources b/sources
index e025147..f973187 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (gpac-26.02.0.tar.gz) = 77e170c77f71c0133ff15ef9b31a8c3bc98c711010d4e92cf74abfda2bc4c07e843391c20c26df5967c57c68e31846e28493a818ba83ec29600b7ff283afd8b3
+SHA512 (gpac-26.07.0.tar.gz) = aa72a2693d5beb02812fd02213a92b2ef83f74380aa39c6955434fb2dfcad7a3db6af77fa84e5cc77b369d1e30d75c08fff07f7cc60c8fcbd6ad71638760f0f1
reply other threads:[~2026-08-15 23:05 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178683514985.1.9320106539912155423.rpms-gpac-c521edd662df@fedoraproject.org \
--to=dominik@greysector.net \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox