Package: src:mkvtoolnix
Severity: minor
Tags: patch

Hi,

The manpage of mkvtoolnix-gui is not provided by the package which
provides the binary of mkvtoolnix-gui. Currently, manpage of
mkvtoolnix-gui is provided by mkvtoolnix. I guess is should be better
to move the manpage to the package which provides the binary. Please
find attached a patch to do this (you will have to adapt Breaks and
Replaces according to the new version).

Best,
Dylan
From 500f99b99dac97932d24c42164ad63c3a2a8a468 Mon Sep 17 00:00:00 2001
From: Dylan Aïssi <dai...@debian.org>
Date: Sat, 4 May 2019 09:34:07 +0200
Subject: [PATCH] Move mkvtoolnix-gui.1 from package mkvtoolnix to mkvtoolnix-gui

---
 debian/control                | 4 +++-
 debian/mkvtoolnix-gui.install | 2 ++
 debian/mkvtoolnix.install     | 9 ++++++++-
 3 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index b5d3d766..172b40e8 100644
--- a/debian/control
+++ b/debian/control
@@ -15,6 +15,7 @@ Build-Depends: debhelper-compat (= 12), libboost-math-dev, libboost-regex-dev,
 Package: mkvtoolnix
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
+Breaks: mkvtoolnix-gui (<< 31.0.0-2)
 Suggests: mkvtoolnix-gui
 Description: Set of command-line tools to work with Matroska files
  Matroska is a new multimedia container format, based on EBML (Extensible
@@ -30,7 +31,8 @@ Description: Set of command-line tools to work with Matroska files
 Package: mkvtoolnix-gui
 Architecture: any
 Depends: mkvtoolnix (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
-Replaces: mkvtoolnix (<= 4.6.0-1)
+Breaks: mkvtoolnix (<< 31.0.0-2)
+Replaces: mkvtoolnix (<< 31.0.0-2)
 Description: Set of tools to work with Matroska files - GUI frontend
  Matroska is a new multimedia container format, based on EBML (Extensible 
  Binary Meta Language), which is a kind of binary XML.
diff --git a/debian/mkvtoolnix-gui.install b/debian/mkvtoolnix-gui.install
index e9716086..179a142e 100644
--- a/debian/mkvtoolnix-gui.install
+++ b/debian/mkvtoolnix-gui.install
@@ -6,3 +6,5 @@ usr/share/mkvtoolnix/sounds/finished-2.ogg
 usr/share/mkvtoolnix/sounds/finished-3.ogg
 usr/share/mime/packages/org.bunkus.mkvtoolnix-gui.xml
 usr/share/metainfo/org.bunkus.mkvtoolnix-gui.appdata.xml
+usr/share/man/man1/mkvtoolnix-gui.1
+usr/share/man/*/man1/mkvtoolnix-gui.1
diff --git a/debian/mkvtoolnix.install b/debian/mkvtoolnix.install
index 65a94d5f..5c174d53 100644
--- a/debian/mkvtoolnix.install
+++ b/debian/mkvtoolnix.install
@@ -2,7 +2,14 @@ usr/bin/mkvmerge
 usr/bin/mkvinfo
 usr/bin/mkvextract
 usr/bin/mkvpropedit
-usr/share/man
+usr/share/man/man1/mkvextract.1
+usr/share/man/man1/mkvinfo.1
+usr/share/man/man1/mkvmerge.1
+usr/share/man/man1/mkvpropedit.1
+usr/share/man/*/man1/mkvextract.1
+usr/share/man/*/man1/mkvinfo.1
+usr/share/man/*/man1/mkvmerge.1
+usr/share/man/*/man1/mkvpropedit.1
 usr/share/locale
 usr/share/icons/hicolor/*/apps/mkvpropedit.png
 usr/share/icons/hicolor/*/apps/mkvextract.png
-- 
2.11.0

Reply via email to