about summary refs log tree commit diff
path: root/debian
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2025-02-28 19:21:53 +0100
committerMichael Biebl <biebl@debian.org>2025-03-08 16:11:59 +0100
commitec75d4eacda1d1adad8bf7cea084bc3f06a51830 (patch)
tree8aa88b6fbb5fdff2e32a329ac31d453297312a67 /debian
parent5954229e574dd5cd4df3efd69c9d7afff8ceb8df (diff)
Split translations into a separate package named network-manager-l10n
The translations make up more than 50% of the disk footprint.
To make network-manager more suitable for minimal environments, split
the translations into a separate package named network-manager-l10n and
make network-manager recommend this new package. This means that
translations will still be installed by default but they can be omitted
if desired.
Diffstat (limited to 'debian')
-rw-r--r--debian/control12
-rw-r--r--debian/network-manager-l10n.install1
-rw-r--r--debian/network-manager.install1
3 files changed, 13 insertions, 1 deletions
diff --git a/debian/control b/debian/control
index 37cb3319..683876a3 100644
--- a/debian/control
+++ b/debian/control
@@ -65,6 +65,7 @@ Recommends: ppp,
             libpam-systemd,
             polkitd,
             udev,
+            network-manager-l10n,
 Suggests: libteam-utils,
           iptables,
 Breaks: ${misc:Breaks}
@@ -96,6 +97,17 @@ Description: network management framework (development files)
  configuration formats and command line utilities.
  It also provides D-Bus introspection files.
 
+Package: network-manager-l10n
+Section: localization
+Architecture: all
+Multi-Arch: foreign
+Depends: ${misc:Depends}
+Breaks: network-manager (<< 1.52.0-3~)
+Replaces: network-manager (<< 1.52.0-3~)
+Description: network management framework (translation files)
+ This package provides translations for messages of the programs found in the
+ network-manager package.
+
 Package: libnm0
 Section: libs
 Architecture: linux-any
diff --git a/debian/network-manager-l10n.install b/debian/network-manager-l10n.install
new file mode 100644
index 00000000..2568e1fe
--- /dev/null
+++ b/debian/network-manager-l10n.install
@@ -0,0 +1 @@
+usr/share/locale/
diff --git a/debian/network-manager.install b/debian/network-manager.install
index 1c9f4fe9..69d38c54 100644
--- a/debian/network-manager.install
+++ b/debian/network-manager.install
@@ -12,7 +12,6 @@ usr/lib/pppd/*/*.so
 usr/lib/firewalld/zones/nm-shared.xml
 usr/lib/systemd/system/*.service
 usr/lib/udev/rules.d/*.rules
-usr/share/locale/
 usr/share/man/
 usr/share/dbus-1/system-services/
 usr/share/dbus-1/system.d/org.freedesktop.NetworkManager.conf