pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/mkvtoolnix mkvtoolnix: updated to 29.0.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2c678d9a1e0a
branches:  trunk
changeset: 326276:2c678d9a1e0a
user:      adam <adam%pkgsrc.org@localhost>
date:      Sun Dec 02 17:13:41 2018 +0000

description:
mkvtoolnix: updated to 29.0.0

Version 29.0.0 "Like It Or Not"

Important notes
* The string formatting library used was switched from boost::format to
  [fmt](http://fmtlib.net/). See the section "Build system changes" for
  details.

New features and enhancements
* MKVToolNix GUI: added an option in the preferences for disabling automatic
  scaling for high DPI displays.
* MKVToolNix GUI: the GUI will now prevent the system from going to sleep
  while the job queue is running. This feature is implemented for macOS,
  Windows and Linux/Unix systems where the org.freedesktop.login1.Manager
  D-Bus interface is available.

Bug fixes
* mkvmerge: chapter generation: the start timestamps of chapters generated in
  intervals was wrong for files whose smallest video timestamp was bigger than
  0.
* mkvmerge: MP4 reader: fixed handling of atoms whose size exceeds the parent
  atom's size.
* mkvmerge, MKVToolNix GUI's chapter editor: the chapter name template will
  now also be used when reading Ogg-style chapter files with empty chapter
  names.
* mkvextract: AAC: mkvextract will now write the program config element (PCE)
  before the first AAC raw data packet if the PCE is present in the
  AudioSpecificConfig structure in the Codec Private Matroska element. The
  PCE carries vital information about the number of channels and is required
  in certain cases.
* mkvpropedit, MKVToolNix GUI's header editor: in situations when a one-byte
  space must be covered by a new EBML void element the following element must
  be moved up instead. If that moved element is a cluster, the corresponding
  cue entries will now be updated to reflect the cluster's new position.
* MKVToolNix GUI: Windows: the application manifest is now included properly
  so that Windows actually recognizes it.

Build system changes
* Qt's D-Bus implementation is now required for building on systems other than
  macOS and Windows,
* The boost::format library is not used anymore.
* The [fmt library](http://fmtlib.net/) is now required. Versions 3 and
  newer are supported. As not all Linux distributions include packages for the
  library, its release 5.2.1 comes bundled with MKVToolNix. The configure
  script will check for a system version of the library and use it if present
  and recent enough. Otherwise it will fall back to the bundled version and
  link that statically.

diffstat:

 multimedia/mkvtoolnix/Makefile                      |  11 ++++++-----
 multimedia/mkvtoolnix/distinfo                      |  13 +++++++------
 multimedia/mkvtoolnix/patches/patch-Rakefile        |  14 ++++++++++++++
 multimedia/mkvtoolnix/patches/patch-build-config.in |   8 ++++----
 4 files changed, 31 insertions(+), 15 deletions(-)

diffs (97 lines):

diff -r 47b5d33a16c7 -r 2c678d9a1e0a multimedia/mkvtoolnix/Makefile
--- a/multimedia/mkvtoolnix/Makefile    Sun Dec 02 17:12:18 2018 +0000
+++ b/multimedia/mkvtoolnix/Makefile    Sun Dec 02 17:13:41 2018 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.118 2018/11/12 03:52:38 ryoon Exp $
+# $NetBSD: Makefile,v 1.119 2018/12/02 17:13:41 adam Exp $
 
-DISTNAME=      mkvtoolnix-28.2.0
-PKGREVISION=   1
+DISTNAME=      mkvtoolnix-29.0.0
 CATEGORIES=    multimedia
 MASTER_SITES=  https://mkvtoolnix.download/sources/
 EXTRACT_SUFX=  .tar.xz
@@ -24,9 +23,9 @@
 CONFIGURE_ARGS+=       --disable-update-check
 CONFIGURE_ARGS+=       --with-boost-libdir=${BUILDLINK_PREFIX.boost-libs}/lib
 CONFIGURE_ARGS+=       --with-boost-date-time=boost_date_time
+CONFIGURE_ARGS+=       --with-boost-filesystem=boost_filesystem
 CONFIGURE_ARGS+=       --with-boost_regex=boost_regex
 CONFIGURE_ARGS+=       --with-boost-system=boost_system
-CONFIGURE_ARGS+=       --with-boost-filesystem=boost_filesystem
 CONFIGURE_ARGS+=       --with-docbook-xsl-root=${PREFIX}/share/xsl/docbook
 
 REPLACE_LOCALEDIR_PATTERNS=    build-config.in
@@ -37,7 +36,7 @@
 INSTALL_ENV+=  SHELL=${SH:Q}
 
 .if !empty(MAKE_JOBS)
-DRAKE_ARGS=    -j${MAKE_JOBS}
+DRAKE_ARGS=    -v -j${MAKE_JOBS}
 .else
 DRAKE_ARGS=    # empty
 .endif
@@ -67,4 +66,6 @@
 .include "../../sysutils/file/buildlink3.mk"
 .include "../../textproc/cmark/buildlink3.mk"
 .include "../../textproc/expat/buildlink3.mk"
+.include "../../textproc/fmtlib/buildlink3.mk"
+.include "../../textproc/pugixml/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 47b5d33a16c7 -r 2c678d9a1e0a multimedia/mkvtoolnix/distinfo
--- a/multimedia/mkvtoolnix/distinfo    Sun Dec 02 17:12:18 2018 +0000
+++ b/multimedia/mkvtoolnix/distinfo    Sun Dec 02 17:13:41 2018 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.56 2018/10/26 18:09:39 maya Exp $
+$NetBSD: distinfo,v 1.57 2018/12/02 17:13:41 adam Exp $
 
-SHA1 (mkvtoolnix-28.2.0.tar.xz) = e54ee2ccc241ca3d21d7cc61daa934c51da798f0
-RMD160 (mkvtoolnix-28.2.0.tar.xz) = 903e89f5110e9eb472dbe3e16b6b7c369f2026e2
-SHA512 (mkvtoolnix-28.2.0.tar.xz) = 89c9890673a1755d203878b7cc656b44a0835bcb71f96f1f5d0f94b9bf651b95efb93c16601480f7c3c8abec16a5d655238705d84b54549ba094445236ab1efd
-Size (mkvtoolnix-28.2.0.tar.xz) = 6546844 bytes
-SHA1 (patch-build-config.in) = 89c67720f7886741dcabbbed88cfbfd31bf4ccc7
+SHA1 (mkvtoolnix-29.0.0.tar.xz) = c794cc9e37dc24207051c21eb8e7f4a2deef7cb6
+RMD160 (mkvtoolnix-29.0.0.tar.xz) = 174006d8e7aab417335c60bd168dc8698842689c
+SHA512 (mkvtoolnix-29.0.0.tar.xz) = bfb5e31fdd43dbb1c3a54a9b82af414abd43f8edad1cc87e5118f8c1781185470152163fda828303c58db97df27c8037b7fa64e2077c69e3204d5080f0248dae
+Size (mkvtoolnix-29.0.0.tar.xz) = 7051380 bytes
+SHA1 (patch-Rakefile) = bac8a1e581725e329079ab0acccd83795d707594
+SHA1 (patch-build-config.in) = a9072de691ee3e011b472280dd276a67f1799fac
diff -r 47b5d33a16c7 -r 2c678d9a1e0a multimedia/mkvtoolnix/patches/patch-Rakefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/mkvtoolnix/patches/patch-Rakefile      Sun Dec 02 17:13:41 2018 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-Rakefile,v 1.1 2018/12/02 17:13:41 adam Exp $
+
+Fix linking on macOS.
+
+--- Rakefile.orig      2018-12-02 17:00:02.000000000 +0000
++++ Rakefile
+@@ -1111,6 +1111,7 @@ if $build_mkvtoolnix_gui
+     libraries($common_libs, :qt).
+     libraries("-mwindows", :powrprof, :if => $building_for[:windows]).
+     libraries("-framework IOKit", :if => $building_for[:macos]).
++    libraries("-framework CoreFoundation", :if => $building_for[:macos]).
+     libraries($custom_libs).
+     create
+ end
diff -r 47b5d33a16c7 -r 2c678d9a1e0a multimedia/mkvtoolnix/patches/patch-build-config.in
--- a/multimedia/mkvtoolnix/patches/patch-build-config.in       Sun Dec 02 17:12:18 2018 +0000
+++ b/multimedia/mkvtoolnix/patches/patch-build-config.in       Sun Dec 02 17:13:41 2018 +0000
@@ -1,13 +1,13 @@
-$NetBSD: patch-build-config.in,v 1.1 2018/02/02 10:04:40 jperkin Exp $
+$NetBSD: patch-build-config.in,v 1.2 2018/12/02 17:13:41 adam Exp $
 
 Leave pkgsrc to handle security features.
 
---- build-config.in.orig       2018-01-15 17:56:15.000000000 +0000
+--- build-config.in.orig       2018-12-01 11:15:36.000000000 +0000
 +++ build-config.in
-@@ -91,7 +91,7 @@ MATROSKA_LIBS = @MATROSKA_LIBS@
- EGREP = @EGREP@
+@@ -97,7 +97,7 @@ EGREP = @EGREP@
  EXTRA_CFLAGS = @EXTRA_CFLAGS@
  EXTRA_LDFLAGS = @EXTRA_LDFLAGS@
+ FMT_INTERNAL = @FMT_INTERNAL@
 -FSTACK_PROTECTOR = @FSTACK_PROTECTOR@
 +FSTACK_PROTECTOR =
  GOOGLE_BENCHMARK = @GOOGLE_BENCHMARK@



Home | Main Index | Thread Index | Old Index