Compare commits
5 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| cbaabf983b | |||
| 214c433642 | |||
| 359fcc6fa5 | |||
| 1558eae178 | |||
| 5d4e98d157 |
22
0001-change-to-interim-version-number.patch
Normal file
22
0001-change-to-interim-version-number.patch
Normal file
@@ -0,0 +1,22 @@
|
||||
From 072a0a89f4e85718f89734f2eb3d45184c4dc630 Mon Sep 17 00:00:00 2001
|
||||
From: Lawrence D'Oliveiro <ldo@geek-central.gen.nz>
|
||||
Date: Thu, 19 Jan 2017 23:22:23 +0000
|
||||
Subject: [PATCH 01/12] change to interim version number
|
||||
|
||||
---
|
||||
configure.ac | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index f4b270f..b3c020b 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -1,4 +1,4 @@
|
||||
-AC_INIT(DVDAuthor,0.7.2,dvdauthor-users@lists.sourceforge.net)
|
||||
+AC_INIT(DVDAuthor,0.7.2+,dvdauthor-users@lists.sourceforge.net)
|
||||
|
||||
AC_CONFIG_HEADERS(src/config.h)
|
||||
AC_CONFIG_AUX_DIR(autotools)
|
||||
--
|
||||
2.51.0
|
||||
|
||||
25
0002-fix-to-build-with-GraphicsMagick.patch
Normal file
25
0002-fix-to-build-with-GraphicsMagick.patch
Normal file
@@ -0,0 +1,25 @@
|
||||
From 84d971def13b7e6317eae44369f49fd709b01030 Mon Sep 17 00:00:00 2001
|
||||
From: Lawrence D'Oliveiro <ldo@geek-central.gen.nz>
|
||||
Date: Thu, 19 Jan 2017 23:22:52 +0000
|
||||
Subject: [PATCH 02/12] fix to build with GraphicsMagick
|
||||
|
||||
---
|
||||
src/Makefile.am | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/Makefile.am b/src/Makefile.am
|
||||
index c7f89a9..5ef90c3 100644
|
||||
--- a/src/Makefile.am
|
||||
+++ b/src/Makefile.am
|
||||
@@ -8,7 +8,7 @@ endif
|
||||
nodist_bin_SCRIPTS = dvddirdel
|
||||
|
||||
AM_CPPFLAGS = -DSYSCONFDIR="\"$(sysconfdir)\"" \
|
||||
- @XML_CPPFLAGS@ @MAGICK_CPPFLAGS@ @FREETYPE_CPPFLAGS@ @FRIBIDI_CFLAGS@ @FONTCONFIG_CFLAGS@
|
||||
+ @XML_CPPFLAGS@ @MAGICK_CFLAGS@ @FREETYPE_CPPFLAGS@ @FRIBIDI_CFLAGS@ @FONTCONFIG_CFLAGS@
|
||||
AM_CFLAGS = -Wall
|
||||
|
||||
dvdauthor_SOURCES = dvdauthor.c common.h dvdauthor.h da-internal.h \
|
||||
--
|
||||
2.51.0
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
From 17609a2785d4ae7654183affd25e357a606a260d Mon Sep 17 00:00:00 2001
|
||||
From: Lawrence D'Oliveiro <ldo@geek-central.gen.nz>
|
||||
Date: Wed, 25 Jan 2017 01:26:07 +0000
|
||||
Subject: [PATCH 03/12] Looks like I need both MAGICK_CPPFLAGS and
|
||||
MAGICK_CFLAGS for GraphicsMagick and ImageMagick.
|
||||
|
||||
---
|
||||
src/Makefile.am | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/Makefile.am b/src/Makefile.am
|
||||
index 5ef90c3..045a453 100644
|
||||
--- a/src/Makefile.am
|
||||
+++ b/src/Makefile.am
|
||||
@@ -8,7 +8,7 @@ endif
|
||||
nodist_bin_SCRIPTS = dvddirdel
|
||||
|
||||
AM_CPPFLAGS = -DSYSCONFDIR="\"$(sysconfdir)\"" \
|
||||
- @XML_CPPFLAGS@ @MAGICK_CFLAGS@ @FREETYPE_CPPFLAGS@ @FRIBIDI_CFLAGS@ @FONTCONFIG_CFLAGS@
|
||||
+ @XML_CPPFLAGS@ @MAGICK_CPPFLAGS@ @MAGICK_CFLAGS@ @FREETYPE_CPPFLAGS@ @FRIBIDI_CFLAGS@ @FONTCONFIG_CFLAGS@
|
||||
AM_CFLAGS = -Wall
|
||||
|
||||
dvdauthor_SOURCES = dvdauthor.c common.h dvdauthor.h da-internal.h \
|
||||
--
|
||||
2.51.0
|
||||
|
||||
@@ -0,0 +1,40 @@
|
||||
From 1f7426707a6cd90673a01930838cc43fdfea1593 Mon Sep 17 00:00:00 2001
|
||||
From: Lawrence D'Oliveiro <ldo@geek-central.gen.nz>
|
||||
Date: Fri, 30 Jun 2017 02:53:20 +0000
|
||||
Subject: [PATCH 04/12] try using simpler way of building with ImageEMagick
|
||||
|
||||
---
|
||||
configure.ac | 17 +----------------
|
||||
1 file changed, 1 insertion(+), 16 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index b3c020b..064722e 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -47,22 +47,7 @@ fi
|
||||
|
||||
usemagick=0
|
||||
|
||||
-AC_CHECK_PROGS(MAGICKCONFIG, [MagickCore-config])
|
||||
-if test -n "$MAGICKCONFIG"; then
|
||||
- ac_save_CPPFLAGS="$CPPFLAGS"
|
||||
- ac_save_LIBS="$LIBS"
|
||||
- MAGICK_CPPFLAGS="`$MAGICKCONFIG --cppflags`"
|
||||
- MAGICK_LIBS="`$MAGICKCONFIG --ldflags` `$MAGICKCONFIG --libs`"
|
||||
- CPPFLAGS="$CPPFLAGS $MAGICK_CPPFLAGS"
|
||||
- LIBS="$MAGICK_LIBS $LIBS"
|
||||
- AC_CHECK_FUNC(ExportImagePixels, usemagick=1, AC_MSG_NOTICE([ImageMagick does not support the function
|
||||
- ExportImagePixels. Please upgrade to ImageMagick 5.5.7 or newer]))
|
||||
- CPPFLAGS="$ac_save_CPPFLAGS"
|
||||
- LIBS="$ac_save_LIBS"
|
||||
- if test "$usemagick" = 1; then
|
||||
- AC_DEFINE(HAVE_MAGICK, 1, [Whether the ImageMagick libraries are available])
|
||||
- fi
|
||||
-fi
|
||||
+PKG_CHECK_MODULES([MAGICK], [ImageMagick >= 5.5.7], usemagick=1; AC_DEFINE(HAVE_MAGICK, 1, [Whether the ImageMagick libraries are available]), [:])
|
||||
|
||||
if test "$usemagick" != 1; then
|
||||
PKG_CHECK_MODULES([MAGICK], [GraphicsMagick], usemagick=1; [AC_DEFINE(HAVE_GMAGICK, 1, [whether the GraphicsMagick libraries are available])], [:])
|
||||
--
|
||||
2.51.0
|
||||
|
||||
44
0005-merge-MAGICK_CPPFLAGS-into-MAGICK_CFLAGS.patch
Normal file
44
0005-merge-MAGICK_CPPFLAGS-into-MAGICK_CFLAGS.patch
Normal file
@@ -0,0 +1,44 @@
|
||||
From 1910f8c9ad281d03d80970d672c3b839a879d0d3 Mon Sep 17 00:00:00 2001
|
||||
From: Lawrence D'Oliveiro <ldo@geek-central.gen.nz>
|
||||
Date: Tue, 4 Jul 2017 05:59:18 +0000
|
||||
Subject: [PATCH 05/12] merge MAGICK_CPPFLAGS into MAGICK_CFLAGS
|
||||
|
||||
---
|
||||
configure.ac | 4 ++--
|
||||
src/Makefile.am | 2 +-
|
||||
2 files changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 064722e..b18d2a6 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -54,11 +54,11 @@ if test "$usemagick" != 1; then
|
||||
fi
|
||||
|
||||
if test "$usemagick" != 1; then
|
||||
- MAGICK_CPPFLAGS="$LIBPNG_CFLAGS"
|
||||
+ MAGICK_CFLAGS="$LIBPNG_CFLAGS"
|
||||
MAGICK_LIBS="$LIBPNG_LIBS"
|
||||
fi
|
||||
|
||||
-AC_SUBST(MAGICK_CPPFLAGS)
|
||||
+AC_SUBST(MAGICK_CFLAGS)
|
||||
AC_SUBST(MAGICK_LIBS)
|
||||
|
||||
PKG_CHECK_MODULES([FONTCONFIG], [fontconfig], [AC_DEFINE(HAVE_FONTCONFIG, 1, [whether Fontconfig is available])], [:])
|
||||
diff --git a/src/Makefile.am b/src/Makefile.am
|
||||
index 045a453..5ef90c3 100644
|
||||
--- a/src/Makefile.am
|
||||
+++ b/src/Makefile.am
|
||||
@@ -8,7 +8,7 @@ endif
|
||||
nodist_bin_SCRIPTS = dvddirdel
|
||||
|
||||
AM_CPPFLAGS = -DSYSCONFDIR="\"$(sysconfdir)\"" \
|
||||
- @XML_CPPFLAGS@ @MAGICK_CPPFLAGS@ @MAGICK_CFLAGS@ @FREETYPE_CPPFLAGS@ @FRIBIDI_CFLAGS@ @FONTCONFIG_CFLAGS@
|
||||
+ @XML_CPPFLAGS@ @MAGICK_CFLAGS@ @FREETYPE_CPPFLAGS@ @FRIBIDI_CFLAGS@ @FONTCONFIG_CFLAGS@
|
||||
AM_CFLAGS = -Wall
|
||||
|
||||
dvdauthor_SOURCES = dvdauthor.c common.h dvdauthor.h da-internal.h \
|
||||
--
|
||||
2.51.0
|
||||
|
||||
@@ -0,0 +1,46 @@
|
||||
From ba1f36271ce31f0ac92444aaf58cc5fd7493464f Mon Sep 17 00:00:00 2001
|
||||
From: Lawrence D'Oliveiro <ldo@geek-central.gen.nz>
|
||||
Date: Tue, 4 Jul 2017 06:38:39 +0000
|
||||
Subject: [PATCH 06/12] use different module names ImageMagick vs
|
||||
GraphicsMagick just to distinguish them in config log
|
||||
|
||||
---
|
||||
configure.ac | 22 +++++++++++++---------
|
||||
1 file changed, 13 insertions(+), 9 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index b18d2a6..d65cc32 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -47,15 +47,19 @@ fi
|
||||
|
||||
usemagick=0
|
||||
|
||||
-PKG_CHECK_MODULES([MAGICK], [ImageMagick >= 5.5.7], usemagick=1; AC_DEFINE(HAVE_MAGICK, 1, [Whether the ImageMagick libraries are available]), [:])
|
||||
-
|
||||
-if test "$usemagick" != 1; then
|
||||
- PKG_CHECK_MODULES([MAGICK], [GraphicsMagick], usemagick=1; [AC_DEFINE(HAVE_GMAGICK, 1, [whether the GraphicsMagick libraries are available])], [:])
|
||||
-fi
|
||||
-
|
||||
-if test "$usemagick" != 1; then
|
||||
- MAGICK_CFLAGS="$LIBPNG_CFLAGS"
|
||||
- MAGICK_LIBS="$LIBPNG_LIBS"
|
||||
+PKG_CHECK_MODULES([IMAGEMAGICK], [ImageMagick >= 5.5.7], usemagick=1; AC_DEFINE(HAVE_MAGICK, 1, [Whether the ImageMagick libraries are available]), [:])
|
||||
+if test "$usemagick" = 1; then
|
||||
+ MAGICK_CFLAGS="$IMAGEMAGICK_CFLAGS"
|
||||
+ MAGICK_LIBS="$IMAGEMAGICK_LIBS"
|
||||
+else
|
||||
+ PKG_CHECK_MODULES([GRAPHICSMAGICK], [GraphicsMagick], usemagick=1; [AC_DEFINE(HAVE_GMAGICK, 1, [whether the GraphicsMagick libraries are available])], [:])
|
||||
+ if test "$usemagick" = 1; then
|
||||
+ MAGICK_CFLAGS="$GRAPHICSMAGICK_CFLAGS"
|
||||
+ MAGICK_LIBS="$GRAPHICSMAGICK_LIBS"
|
||||
+ else
|
||||
+ MAGICK_CFLAGS="$LIBPNG_CFLAGS"
|
||||
+ MAGICK_LIBS="$LIBPNG_LIBS"
|
||||
+ fi
|
||||
fi
|
||||
|
||||
AC_SUBST(MAGICK_CFLAGS)
|
||||
--
|
||||
2.51.0
|
||||
|
||||
@@ -0,0 +1,72 @@
|
||||
From a0d57bebb3a5d7259a0508a07a898cfe044155a1 Mon Sep 17 00:00:00 2001
|
||||
From: Lawrence D'Oliveiro <ldo@geek-central.gen.nz>
|
||||
Date: Tue, 4 Jul 2017 06:56:00 +0000
|
||||
Subject: [PATCH 07/12] No longer automatically build with ImageMagick or
|
||||
GraphicsMagick if present; now need to explicitly specify --with-imagemagick
|
||||
or --with-graphicsmagick to configure
|
||||
|
||||
---
|
||||
ChangeLog | 5 +++++
|
||||
configure.ac | 30 ++++++++++++++++++------------
|
||||
2 files changed, 23 insertions(+), 12 deletions(-)
|
||||
|
||||
diff --git a/ChangeLog b/ChangeLog
|
||||
index 596e22d..1cf42b1 100644
|
||||
--- a/ChangeLog
|
||||
+++ b/ChangeLog
|
||||
@@ -1,3 +1,8 @@
|
||||
+0.7.2+: 2017 July 4
|
||||
+ No longer automatically build with ImageMagick or GraphicsMagick if
|
||||
+ present; now need to explicitly specify --with-imagemagick or
|
||||
+ --with-graphicsmagick to configure
|
||||
+
|
||||
0.7.2: 2016 December 31
|
||||
Various code-quality and build improvements
|
||||
Support “jump pgc n” and other interaction code-generation improvements
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index d65cc32..1b7ec6f 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -45,21 +45,27 @@ if test "$enable_shared" = 'no'; then
|
||||
config_static='--static'
|
||||
fi
|
||||
|
||||
-usemagick=0
|
||||
+use_imagemagick=0
|
||||
+use_graphicsmagick=0
|
||||
+AC_ARG_WITH([imagemagick], AS_HELP_STRING([--with-imagemagick], [Use ImageMagick to augment image import formats]), [use_imagemagick=1])
|
||||
+AC_ARG_WITH([graphicsmagick], AS_HELP_STRING([--with-graphicsmagick], [Use GraphicsMagick to augment image import formats]), [use_graphicsmagick=1])
|
||||
+if test "$use_imagemagick" = 1 && test "$use_graphicsmagick" = 1; then
|
||||
+ AC_MSG_ERROR([cannot specify both --with-imagemagick and --with-graphicsmagick], 1)
|
||||
+fi
|
||||
|
||||
-PKG_CHECK_MODULES([IMAGEMAGICK], [ImageMagick >= 5.5.7], usemagick=1; AC_DEFINE(HAVE_MAGICK, 1, [Whether the ImageMagick libraries are available]), [:])
|
||||
-if test "$usemagick" = 1; then
|
||||
+if test "$use_imagemagick" = 1; then
|
||||
+ PKG_CHECK_MODULES([IMAGEMAGICK], [ImageMagick >= 5.5.7], [AC_DEFINE(HAVE_MAGICK, 1, [Whether the ImageMagick libraries are available])], [AC_MSG_ERROR([ImageMagick not available])])
|
||||
MAGICK_CFLAGS="$IMAGEMAGICK_CFLAGS"
|
||||
MAGICK_LIBS="$IMAGEMAGICK_LIBS"
|
||||
-else
|
||||
- PKG_CHECK_MODULES([GRAPHICSMAGICK], [GraphicsMagick], usemagick=1; [AC_DEFINE(HAVE_GMAGICK, 1, [whether the GraphicsMagick libraries are available])], [:])
|
||||
- if test "$usemagick" = 1; then
|
||||
- MAGICK_CFLAGS="$GRAPHICSMAGICK_CFLAGS"
|
||||
- MAGICK_LIBS="$GRAPHICSMAGICK_LIBS"
|
||||
- else
|
||||
- MAGICK_CFLAGS="$LIBPNG_CFLAGS"
|
||||
- MAGICK_LIBS="$LIBPNG_LIBS"
|
||||
- fi
|
||||
+fi
|
||||
+if test "$use_graphicsmagick" = 1; then
|
||||
+ PKG_CHECK_MODULES([GRAPHICSMAGICK], [GraphicsMagick], [AC_DEFINE(HAVE_GMAGICK, 1, [whether the GraphicsMagick libraries are available])], [AC_MSG_ERROR([GraphicsMagick not available])])
|
||||
+ MAGICK_CFLAGS="$GRAPHICSMAGICK_CFLAGS"
|
||||
+ MAGICK_LIBS="$GRAPHICSMAGICK_LIBS"
|
||||
+fi
|
||||
+if test "$use_imagemagick" != 1 && test "$use_graphicsmagick" != 1; then
|
||||
+ MAGICK_CFLAGS="$LIBPNG_CFLAGS"
|
||||
+ MAGICK_LIBS="$LIBPNG_LIBS"
|
||||
fi
|
||||
|
||||
AC_SUBST(MAGICK_CFLAGS)
|
||||
--
|
||||
2.51.0
|
||||
|
||||
27
0008-fix-incorrect-use-of-AC_ARG_WITH.patch
Normal file
27
0008-fix-incorrect-use-of-AC_ARG_WITH.patch
Normal file
@@ -0,0 +1,27 @@
|
||||
From d926718e9aad9919fbd922ca1e0da8bc07cb67d7 Mon Sep 17 00:00:00 2001
|
||||
From: Lawrence D'Oliveiro <ldo@geek-central.gen.nz>
|
||||
Date: Wed, 5 Jul 2017 01:50:49 +0000
|
||||
Subject: [PATCH 08/12] fix incorrect use of AC_ARG_WITH
|
||||
|
||||
---
|
||||
configure.ac | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 1b7ec6f..c06ac6b 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -47,8 +47,8 @@ fi
|
||||
|
||||
use_imagemagick=0
|
||||
use_graphicsmagick=0
|
||||
-AC_ARG_WITH([imagemagick], AS_HELP_STRING([--with-imagemagick], [Use ImageMagick to augment image import formats]), [use_imagemagick=1])
|
||||
-AC_ARG_WITH([graphicsmagick], AS_HELP_STRING([--with-graphicsmagick], [Use GraphicsMagick to augment image import formats]), [use_graphicsmagick=1])
|
||||
+AC_ARG_WITH([imagemagick], AS_HELP_STRING([--with-imagemagick], [Use ImageMagick to augment image import formats]), [if test "$withval" != "no"; then use_imagemagick=1; fi])
|
||||
+AC_ARG_WITH([graphicsmagick], AS_HELP_STRING([--with-graphicsmagick], [Use GraphicsMagick to augment image import formats]), [if test "$withval" != "no"; then use_graphicsmagick=1; fi])
|
||||
if test "$use_imagemagick" = 1 && test "$use_graphicsmagick" = 1; then
|
||||
AC_MSG_ERROR([cannot specify both --with-imagemagick and --with-graphicsmagick], 1)
|
||||
fi
|
||||
--
|
||||
2.51.0
|
||||
|
||||
@@ -0,0 +1,42 @@
|
||||
From d5bb0bdd542c33214855a7062fcc485f8977934e Mon Sep 17 00:00:00 2001
|
||||
From: Lawrence D'Oliveiro <ldo@geek-central.gen.nz>
|
||||
Date: Fri, 19 Apr 2019 08:00:05 +0000
|
||||
Subject: [PATCH 09/12] Use pkg-config to find FreeType (thanks to Lars
|
||||
Wendler).
|
||||
|
||||
---
|
||||
configure.ac | 10 ++++------
|
||||
1 file changed, 4 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index c06ac6b..1194059 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -79,10 +79,8 @@ PKG_CHECK_MODULES([FRIBIDI], [fribidi], [AC_DEFINE(HAVE_FRIBIDI, 1, [whether Fri
|
||||
AC_SUBST(FRIBIDI_CFLAGS)
|
||||
AC_SUBST(FRIBIDI_LIBS)
|
||||
|
||||
-AC_CHECK_PROGS(FREETYPECONFIG, [freetype-config])
|
||||
-if test -n "$FREETYPECONFIG"; then
|
||||
- FREETYPE_CPPFLAGS="`$FREETYPECONFIG --cflags`"
|
||||
- FREETYPE_LIBS="`$FREETYPECONFIG --libs $config_static`"
|
||||
+PKG_CHECK_MODULES(FREETYPE, [freetype2],[
|
||||
+ FREETYPE_CPPFLAGS="$FREETYPE_CFLAGS"
|
||||
AC_DEFINE(HAVE_FREETYPE, 1, [Whether FreeType is available])
|
||||
|
||||
ac_save_CPPFLAGS="$CPPFLAGS"
|
||||
@@ -91,9 +89,9 @@ if test -n "$FREETYPECONFIG"; then
|
||||
CPPFLAGS="$ac_save_CPPFLAGS"
|
||||
AC_SUBST(FREETYPE_CPPFLAGS)
|
||||
AC_SUBST(FREETYPE_LIBS)
|
||||
-else
|
||||
+ ],
|
||||
AC_MSG_ERROR([freetype not found])
|
||||
-fi
|
||||
+)
|
||||
|
||||
|
||||
AC_ARG_ENABLE([default-video-format],
|
||||
--
|
||||
2.51.0
|
||||
|
||||
50
0010-fix-some-build-warnings.patch
Normal file
50
0010-fix-some-build-warnings.patch
Normal file
@@ -0,0 +1,50 @@
|
||||
From f93eb78171b6c893b48a945c8ead22c25deb234c Mon Sep 17 00:00:00 2001
|
||||
From: Lawrence D'Oliveiro <ldo@geek-central.gen.nz>
|
||||
Date: Mon, 1 Feb 2021 21:09:13 +0000
|
||||
Subject: [PATCH 10/12] fix some build warnings
|
||||
|
||||
---
|
||||
Makefile.am | 2 ++
|
||||
bootstrap | 2 +-
|
||||
configure.ac | 1 +
|
||||
3 files changed, 4 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
index de76fc5..7c11310 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -1,4 +1,6 @@
|
||||
SUBDIRS = doc src
|
||||
+ACLOCAL_AMFLAGS = -I m4
|
||||
+# as per recommendation at <https://www.gnu.org/software/libtool/manual/html_node/Invoking-libtoolize.html>
|
||||
|
||||
noinst_DATA = dvdauthor.spec
|
||||
|
||||
diff --git a/bootstrap b/bootstrap
|
||||
index 88b61ae..ecf35f0 100755
|
||||
--- a/bootstrap
|
||||
+++ b/bootstrap
|
||||
@@ -14,7 +14,7 @@
|
||||
#
|
||||
# Created by Lawrence D'Oliveiro <ldo@geek-central.gen.nz>.
|
||||
#-
|
||||
-mkdir autotools
|
||||
+mkdir autotools m4
|
||||
cp /usr/share/gettext/config.rpath autotools/
|
||||
autoreconf -i
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 1194059..63daa71 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -1,6 +1,7 @@
|
||||
AC_INIT(DVDAuthor,0.7.2+,dvdauthor-users@lists.sourceforge.net)
|
||||
|
||||
AC_CONFIG_HEADERS(src/config.h)
|
||||
+AC_CONFIG_MACRO_DIRS([m4])
|
||||
AC_CONFIG_AUX_DIR(autotools)
|
||||
|
||||
AM_INIT_AUTOMAKE
|
||||
--
|
||||
2.51.0
|
||||
|
||||
@@ -0,0 +1,80 @@
|
||||
From 45705ece5ec5d7d6b9ab3e7a68194796a398e855 Mon Sep 17 00:00:00 2001
|
||||
From: Hugh McMaster <hugh.mcmaster@outlook.com>
|
||||
Date: Wed, 26 Feb 2020 23:44:23 +1100
|
||||
Subject: [PATCH 11/12] Use PKG_CHECK_MODULES to detect the libxml2 library
|
||||
|
||||
---
|
||||
configure.ac | 8 +++-----
|
||||
src/Makefile.am | 8 ++++----
|
||||
2 files changed, 7 insertions(+), 9 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 63daa71..1750e3b 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -9,6 +9,8 @@ LT_INIT
|
||||
|
||||
AC_PROG_INSTALL
|
||||
|
||||
+PKG_PROG_PKG_CONFIG
|
||||
+
|
||||
AC_SYS_LARGEFILE
|
||||
|
||||
AC_HEADER_STDBOOL
|
||||
@@ -94,6 +96,7 @@ PKG_CHECK_MODULES(FREETYPE, [freetype2],[
|
||||
AC_MSG_ERROR([freetype not found])
|
||||
)
|
||||
|
||||
+PKG_CHECK_MODULES([XML2], [libxml-2.0 >= 2.6.0])
|
||||
|
||||
AC_ARG_ENABLE([default-video-format],
|
||||
AS_HELP_STRING([--enable-default-video-format=format], [specify a default video format, either NTSC or PAL, to be used if no configuration or input setting is given]),
|
||||
@@ -129,11 +132,6 @@ dnl AM_LANGINFO_CODESET
|
||||
|
||||
AM_ICONV
|
||||
|
||||
-ifdef([AM_PATH_XML2],
|
||||
- [AM_PATH_XML2(2.6.0, , AC_MSG_ERROR([You must have libxml2 >= 2.6.0 installed]))],
|
||||
- [errprint([You must have libxml2 (>= 2.6.0) installed
|
||||
-])m4_exit(1)AC_MSG_ERROR([You must have libxml2 (>= 2.6.0) installed])])
|
||||
-
|
||||
AC_CHECK_DECLS(O_BINARY, , , [ #include <fcntl.h> ] )
|
||||
|
||||
AC_OUTPUT(Makefile doc/Makefile src/Makefile)
|
||||
diff --git a/src/Makefile.am b/src/Makefile.am
|
||||
index 5ef90c3..5504b8e 100644
|
||||
--- a/src/Makefile.am
|
||||
+++ b/src/Makefile.am
|
||||
@@ -8,7 +8,7 @@ endif
|
||||
nodist_bin_SCRIPTS = dvddirdel
|
||||
|
||||
AM_CPPFLAGS = -DSYSCONFDIR="\"$(sysconfdir)\"" \
|
||||
- @XML_CPPFLAGS@ @MAGICK_CFLAGS@ @FREETYPE_CPPFLAGS@ @FRIBIDI_CFLAGS@ @FONTCONFIG_CFLAGS@
|
||||
+ @XML2_CFLAGS@ @MAGICK_CFLAGS@ @FREETYPE_CPPFLAGS@ @FRIBIDI_CFLAGS@ @FONTCONFIG_CFLAGS@
|
||||
AM_CFLAGS = -Wall
|
||||
|
||||
dvdauthor_SOURCES = dvdauthor.c common.h dvdauthor.h da-internal.h \
|
||||
@@ -16,17 +16,17 @@ dvdauthor_SOURCES = dvdauthor.c common.h dvdauthor.h da-internal.h \
|
||||
dvdifo.c dvdvob.c dvdpgc.c \
|
||||
dvdcli.c readxml.c readxml.h \
|
||||
conffile.c conffile.h compat.c compat.h rgb.h
|
||||
-dvdauthor_LDADD = $(LIBICONV) $(XML_LIBS)
|
||||
+dvdauthor_LDADD = $(LIBICONV) $(XML2_LIBS)
|
||||
|
||||
dvdunauthor_SOURCES = dvdunauthor.c dvduncompile.c common.h dvduncompile.h compat.c compat.h
|
||||
-dvdunauthor_LDADD = $(XML_LIBS) $(LIBICONV) -ldvdread
|
||||
+dvdunauthor_LDADD = $(XML2_LIBS) $(LIBICONV) -ldvdread
|
||||
|
||||
spumux_SOURCES = subgen.c subgen.h rgb.h \
|
||||
subgen-parse-xml.c readxml.c readxml.h \
|
||||
subgen-encode.c subgen-image.c subglobals.h \
|
||||
conffile.c conffile.h compat.c compat.h common.h \
|
||||
subrender.c subrender.h subreader.c subreader.h subfont.c subfont.h
|
||||
-spumux_LDADD = $(XML_LIBS) $(MAGICK_LIBS) $(FREETYPE_LIBS) \
|
||||
+spumux_LDADD = $(XML2_LIBS) $(MAGICK_LIBS) $(FREETYPE_LIBS) \
|
||||
$(FRIBIDI_LIBS) $(FONTCONFIG_LIBS) $(LIBICONV) -lm
|
||||
|
||||
spuunmux_SOURCES = spuunmux.c rgb.h compat.c compat.h common.h conffile.h conffile.c
|
||||
--
|
||||
2.51.0
|
||||
|
||||
23
0012-Fix-another-build-warning.patch
Normal file
23
0012-Fix-another-build-warning.patch
Normal file
@@ -0,0 +1,23 @@
|
||||
From fe8fe3578f95f34889e7ed17591d02dceb4f42ed Mon Sep 17 00:00:00 2001
|
||||
From: Lawrence D'Oliveiro <ldo@geek-central.gen.nz>
|
||||
Date: Fri, 5 Nov 2021 01:46:27 +0000
|
||||
Subject: [PATCH 12/12] Fix another build warning
|
||||
|
||||
---
|
||||
configure.ac | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 1750e3b..b843cf4 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -134,4 +134,5 @@ AM_ICONV
|
||||
|
||||
AC_CHECK_DECLS(O_BINARY, , , [ #include <fcntl.h> ] )
|
||||
|
||||
-AC_OUTPUT(Makefile doc/Makefile src/Makefile)
|
||||
+AC_CONFIG_FILES(Makefile doc/Makefile src/Makefile)
|
||||
+AC_OUTPUT
|
||||
--
|
||||
2.51.0
|
||||
|
||||
@@ -1,3 +1,34 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 17 10:37:18 UTC 2025 - Ana Guerrero <ana.guerrero@suse.com>
|
||||
|
||||
- Add all patches from upstream git since last release, they're
|
||||
all build system fixes:
|
||||
* 0001-change-to-interim-version-number.patch
|
||||
* 0002-fix-to-build-with-GraphicsMagick.patch
|
||||
* 0003-Looks-like-I-need-both-MAGICK_CPPFLAGS-and-MAGICK_CF.patch
|
||||
* 0004-try-using-simpler-way-of-building-with-ImageEMagick.patch
|
||||
* 0005-merge-MAGICK_CPPFLAGS-into-MAGICK_CFLAGS.patch
|
||||
* 0006-use-different-module-names-ImageMagick-vs-GraphicsMa.patch
|
||||
* 0007-No-longer-automatically-build-with-ImageMagick-or-Gr.patch
|
||||
* 0008-fix-incorrect-use-of-AC_ARG_WITH.patch
|
||||
* 0009-Use-pkg-config-to-find-FreeType-thanks-to-Lars-Wendl.patch
|
||||
* 0010-fix-some-build-warnings.patch
|
||||
* 0011-Use-PKG_CHECK_MODULES-to-detect-the-libxml2-library.patch
|
||||
* 0012-Fix-another-build-warning.patch
|
||||
- Update patch gettext-fix.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 20 12:18:34 UTC 2025 - Dave Plater <davejplater@gmail.com>
|
||||
|
||||
- Disabled i586 build and remove obsolete statements from spec
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 20 09:43:39 UTC 2025 - Takashi Iwai <tiwai@suse.com>
|
||||
|
||||
- Fix build failures on FACTORY due to the new gettext:
|
||||
gettext-fix.patch
|
||||
- Clean up spec file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 26 07:53:10 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package dvdauthor
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -22,11 +22,26 @@ Release: 0
|
||||
Summary: Low-level DVD Authoring Tools
|
||||
License: GPL-2.0-or-later
|
||||
Group: Productivity/Multimedia/Video/Editors and Convertors
|
||||
Url: http://dvdauthor.sourceforge.net/
|
||||
URL: http://dvdauthor.sourceforge.net/
|
||||
Source0: https://github.com/ldo/dvdauthor/archive/%{version}.tar.gz#/dvdauthor-%{version}.tar.gz
|
||||
#PATCH-FIX-UPSTREAM dvdauthor-0.7.0_glibc-2.20.patch avvissu@yandex.ru -- Fix build with glibc-2.20
|
||||
Patch0: dvdauthor-0.7.0_glibc-2.20.patch
|
||||
Patch1: dvdauthor-0.7.2-imagemagick7.patch
|
||||
# Patches from upstream's git:
|
||||
Patch3: 0001-change-to-interim-version-number.patch
|
||||
Patch4: 0002-fix-to-build-with-GraphicsMagick.patch
|
||||
Patch5: 0003-Looks-like-I-need-both-MAGICK_CPPFLAGS-and-MAGICK_CF.patch
|
||||
Patch6: 0004-try-using-simpler-way-of-building-with-ImageEMagick.patch
|
||||
Patch7: 0005-merge-MAGICK_CPPFLAGS-into-MAGICK_CFLAGS.patch
|
||||
Patch8: 0006-use-different-module-names-ImageMagick-vs-GraphicsMa.patch
|
||||
Patch9: 0007-No-longer-automatically-build-with-ImageMagick-or-Gr.patch
|
||||
Patch10: 0008-fix-incorrect-use-of-AC_ARG_WITH.patch
|
||||
Patch11: 0009-Use-pkg-config-to-find-FreeType-thanks-to-Lars-Wendl.patch
|
||||
Patch12: 0010-fix-some-build-warnings.patch
|
||||
Patch13: 0011-Use-PKG_CHECK_MODULES-to-detect-the-libxml2-library.patch
|
||||
Patch14: 0012-Fix-another-build-warning.patch
|
||||
Patch15: gettext-fix.patch
|
||||
|
||||
BuildRequires: ImageMagick-devel
|
||||
BuildRequires: bison
|
||||
BuildRequires: docbook-utils
|
||||
@@ -48,7 +63,7 @@ BuildRequires: pkgconfig(libxml-2.0)
|
||||
BuildRequires: pkgconfig(zlib)
|
||||
Provides: dvdauthor07 = %{version}
|
||||
Obsoletes: dvdauthor07 <= %{version}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
ExcludeArch: i586
|
||||
|
||||
%description
|
||||
dvdauthor is a program that will generate a DVD-Video movie from a
|
||||
@@ -60,12 +75,6 @@ FFmpeg, or by by passing `-f 8` to `mplex`.
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%if 1 == 0
|
||||
%define gcc_version 7
|
||||
export CC=gcc-7
|
||||
export CPP=cpp-7
|
||||
export CXX=g++-7
|
||||
%endif
|
||||
./bootstrap
|
||||
# export MAGICK_CFLAGS=`ImageMagick-config --cppflags`
|
||||
# export CFLAGS="%{optflags} $MAGICK_CFLAGS"
|
||||
@@ -78,7 +87,8 @@ make %{?_smp_mflags}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING README TODO AUTHORS ChangeLog
|
||||
%doc README TODO AUTHORS ChangeLog
|
||||
%license COPYING
|
||||
%{_bindir}/*
|
||||
%{_mandir}/man*/*
|
||||
%dir %{_datadir}/dvdauthor
|
||||
|
||||
9
gettext-fix.patch
Normal file
9
gettext-fix.patch
Normal file
@@ -0,0 +1,9 @@
|
||||
--- a/bootstrap
|
||||
+++ b/bootstrap
|
||||
@@ -16,5 +16,5 @@
|
||||
#-
|
||||
mkdir autotools m4
|
||||
cp /usr/share/gettext/config.rpath autotools/
|
||||
-autoreconf -i
|
||||
+autoreconf -i -I /usr/share/gettext/m4
|
||||
|
||||
Reference in New Issue
Block a user