* [PR PATCH] manpages-l10n: update to 4.17.0, add meta pkg, ...
@ 2023-02-28 11:14 classabbyamp
2023-02-28 11:52 ` [PR PATCH] [Updated] " classabbyamp
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: classabbyamp @ 2023-02-28 11:14 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 905 bytes --]
There is a new pull request by classabbyamp against master on the void-packages repository
https://github.com/classabbyamp/void-packages update/manpages-l10n
https://github.com/void-linux/void-packages/pull/42500
manpages-l10n: update to 4.17.0, add meta pkg, ...
### STILL WIP
- make a meta-package to make the template a little nicer
- `manpages-pt-br` is now a subpackage instead of the main one
- modeled after `firefox{,-esr}-i18n` template
- fix borked short_descs for some subpackages
- new subpackage: `manpages-ru` (Russian language)
- use configure args to disable compression instead of a build-time hack
closes #42498
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**|**briefly**|**NO**
A patch file from https://github.com/void-linux/void-packages/pull/42500.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-update/manpages-l10n-42500.patch --]
[-- Type: text/x-diff, Size: 13554 bytes --]
From 69f5319b9e57142ff26a8241294b3883d26f495b Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Tue, 28 Feb 2023 05:41:59 -0500
Subject: [PATCH] manpages-l10n: update to 4.17.0, add meta pkg, ...
- make a meta-package to make the template a little nicer
- `manpages-pt-br` is now a subpackage instead of the main one
- modeled after `firefox{,-esr}-i18n` template
- fix borked short_descs for some subpackages
- new subpackage: `manpages-ru` (Russian language)
- use configure args to disable compression instead of a build-time hack
---
srcpkgs/manpages-cs | 2 +-
srcpkgs/manpages-da | 2 +-
srcpkgs/manpages-de | 2 +-
srcpkgs/manpages-el | 2 +-
srcpkgs/manpages-es | 2 +-
srcpkgs/manpages-fi | 2 +-
srcpkgs/manpages-fr | 2 +-
srcpkgs/manpages-hu | 2 +-
srcpkgs/manpages-id | 2 +-
srcpkgs/manpages-it | 2 +-
srcpkgs/manpages-l10n/template | 78 +++++++++
.../{manpages-pt-br => manpages-l10n}/update | 1 -
srcpkgs/manpages-mk | 2 +-
srcpkgs/manpages-nb | 2 +-
srcpkgs/manpages-nl | 2 +-
srcpkgs/manpages-pl | 2 +-
srcpkgs/manpages-pt-br | 1 +
srcpkgs/manpages-pt-br/template | 153 ------------------
srcpkgs/manpages-ro | 2 +-
srcpkgs/manpages-ru | 1 +
srcpkgs/manpages-sr | 2 +-
srcpkgs/manpages-sv | 2 +-
srcpkgs/manpages-uk | 2 +-
srcpkgs/manpages-vi | 2 +-
24 files changed, 99 insertions(+), 173 deletions(-)
create mode 100644 srcpkgs/manpages-l10n/template
rename srcpkgs/{manpages-pt-br => manpages-l10n}/update (79%)
create mode 120000 srcpkgs/manpages-pt-br
delete mode 100644 srcpkgs/manpages-pt-br/template
create mode 120000 srcpkgs/manpages-ru
diff --git a/srcpkgs/manpages-cs b/srcpkgs/manpages-cs
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-cs
+++ b/srcpkgs/manpages-cs
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-da b/srcpkgs/manpages-da
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-da
+++ b/srcpkgs/manpages-da
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-de b/srcpkgs/manpages-de
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-de
+++ b/srcpkgs/manpages-de
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-el b/srcpkgs/manpages-el
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-el
+++ b/srcpkgs/manpages-el
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-es b/srcpkgs/manpages-es
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-es
+++ b/srcpkgs/manpages-es
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-fi b/srcpkgs/manpages-fi
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-fi
+++ b/srcpkgs/manpages-fi
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-fr b/srcpkgs/manpages-fr
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-fr
+++ b/srcpkgs/manpages-fr
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-hu b/srcpkgs/manpages-hu
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-hu
+++ b/srcpkgs/manpages-hu
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-id b/srcpkgs/manpages-id
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-id
+++ b/srcpkgs/manpages-id
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-it b/srcpkgs/manpages-it
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-it
+++ b/srcpkgs/manpages-it
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-l10n/template b/srcpkgs/manpages-l10n/template
new file mode 100644
index 0000000000000..e1acbf066a341
--- /dev/null
+++ b/srcpkgs/manpages-l10n/template
@@ -0,0 +1,78 @@
+# Template file for 'manpages-l10n'
+pkgname=manpages-l10n
+version=4.17.0
+revision=1
+build_style=meta
+hostmakedepends="po4a"
+short_desc="Translations of manpages"
+maintainer="Érico Nogueira <ericonr@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://manpages-l10n-team.pages.debian.net/manpages-l10n/"
+changelog="https://salsa.debian.org/manpages-l10n-team/manpages-l10n/-/raw/master/CHANGES.md"
+distfiles="https://salsa.debian.org/manpages-l10n-team/manpages-l10n/-/archive/${version}/manpages-l10n-v${version}.tar.gz"
+checksum=0afbe8196b091d37bb25702185a903ff69622e3dfbbf400f54ccc1260dcaa4c4
+
+do_configure() {
+ ./configure --prefix=/usr --enable-compression=none
+}
+
+do_build() {
+ make ${makejobs}
+}
+
+do_install() {
+ make DESTDIR=${DESTDIR} install
+}
+
+post_install() {
+ find $DESTDIR -name '*systemd*' -delete
+}
+
+# lang name for package <space> description <space> dir name (if different)
+_languages=(
+ 'cs "Czech (Čeština)"'
+ 'da "Danish (Dansk)"'
+ 'de "German (Deutsch)"'
+ 'el "Greek (Ελληνικά)"'
+ 'es "Spanish (Español)"'
+ 'fi "Finnish (Suomi)"'
+ 'fr "French (Français)"'
+ 'hu "Hungarian (Magyar Nyelv)"'
+ 'id "Indonesian (Bahasa Indonesia)"'
+ 'it "Italian (Italiano)"'
+ 'mk "Macedonian (Македонски)"'
+ 'nb "Norwegian Bokmål (Bokmål)"'
+ 'nl "Dutch (Nederlands)"'
+ 'pl "Polish (Polski)"'
+ 'pt-br "Brazilian Portuguese (Português Brasileiro)" pt_BR'
+ 'ro "Romanian (Limba Română)"'
+ 'ru "Russian (ру́сский)"'
+ 'sr "Serbian (Српски Језик)"'
+ 'sv "Swedish (Svenska)"'
+ 'uk "Ukrainian (Украї́нська Мо́ва)"'
+ 'vi "Vietnamese (Tiếng Việt)"'
+)
+
+for _line in "${_languages[@]}"; do
+ _pkgname="manpages-${_line%% *}"
+ depends+=" ${_pkgname}"
+
+ eval "${_pkgname}_package() {
+ _pkgtmpl "$_line"
+ }"
+done
+
+_pkgtmpl() {
+ local _lang="$1"
+ local _desc="$2"
+ local _dir="$3"
+
+ short_desc+=" - $2"
+ pkg_install() {
+ if [ -n "$_dir" ]; then
+ vmove "usr/share/man/${_dir}"
+ else
+ vmove "usr/share/man/${_lang}"
+ fi
+ }
+}
diff --git a/srcpkgs/manpages-pt-br/update b/srcpkgs/manpages-l10n/update
similarity index 79%
rename from srcpkgs/manpages-pt-br/update
rename to srcpkgs/manpages-l10n/update
index f8d78a094573d..189391b17e025 100644
--- a/srcpkgs/manpages-pt-br/update
+++ b/srcpkgs/manpages-l10n/update
@@ -1,3 +1,2 @@
-pkgname=manpages-l10n
site="https://salsa.debian.org/manpages-l10n-team/manpages-l10n/-/tags"
ignore="*pre*"
diff --git a/srcpkgs/manpages-mk b/srcpkgs/manpages-mk
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-mk
+++ b/srcpkgs/manpages-mk
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-nb b/srcpkgs/manpages-nb
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-nb
+++ b/srcpkgs/manpages-nb
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-nl b/srcpkgs/manpages-nl
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-nl
+++ b/srcpkgs/manpages-nl
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-pl b/srcpkgs/manpages-pl
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-pl
+++ b/srcpkgs/manpages-pl
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-pt-br b/srcpkgs/manpages-pt-br
new file mode 120000
index 0000000000000..5eb955f7668c4
--- /dev/null
+++ b/srcpkgs/manpages-pt-br
@@ -0,0 +1 @@
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-pt-br/template b/srcpkgs/manpages-pt-br/template
deleted file mode 100644
index 98ba79b4e7c82..0000000000000
--- a/srcpkgs/manpages-pt-br/template
+++ /dev/null
@@ -1,153 +0,0 @@
-# Template file for 'manpages-pt-br'
-pkgname=manpages-pt-br
-version=4.14.0
-revision=1
-_commit=2a0461feb98f408bac9454b87325aacb1dd014f2
-_prjname=manpages-l10n
-build_style=gnu-configure
-make_build_args="comp_extension= compressor=cat"
-hostmakedepends="po4a"
-_desc="Translations of manpages"
-short_desc="${_desc} - Brazilian Portuguese (Português Brasileiro)"
-maintainer="Érico Nogueira <ericonr@disroot.org>"
-license="GPL-3.0-or-later"
-homepage="https://manpages-l10n-team.pages.debian.net/manpages-l10n/"
-distfiles="https://salsa.debian.org/manpages-l10n-team/manpages-l10n/-/archive/${version}/${_prjname}-v${version}.tar.gz"
-checksum=33f9f867e958faa0b3a699d503809d56aed3eadfcc349d329a79b545071c544f
-
-post_install() {
- find $DESTDIR -name '*systemd*' -delete
-}
-
-manpages-nl_package() {
- short_desc="${_desc} - Dutch (Nederlands)"
- pkg_install() {
- vmove usr/share/man/nl
- }
-}
-
-manpages-fr_package() {
- short_desc="${_desc} - French (Français)"
- pkg_install() {
- vmove usr/share/man/fr
- }
-}
-
-manpages-de_package() {
- short_desc="${_desc} - German (Deutsch)"
- pkg_install() {
- vmove usr/share/man/de
- }
-}
-
-manpages-pl_package() {
- short_desc="${_desc} - Polish (Polski)"
- pkg_install() {
- vmove usr/share/man/pl
- }
-}
-
-manpages-ro_package() {
- short_desc="${_desc} - Romanian (Limba Română)"
- pkg_install() {
- vmove usr/share/man/ro
- }
-}
-
-manpages-vi_package() {
- short_desc+="${_desc} - Vietnamese (Tiếng Việt)"
- pkg_install() {
- vmove usr/share/man/vi
- }
-}
-
-manpages-uk_package() {
- short_desc+="${_desc} - Ukrainian (Украї́нська Мо́ва)"
- pkg_install() {
- vmove usr/share/man/uk
- }
-}
-
-manpages-sv_package() {
- short_desc+="${_desc} - Swedish (Svenska)"
- pkg_install() {
- vmove usr/share/man/sv
- }
-}
-
-manpages-sr_package() {
- short_desc+="${_desc} - Serbian (Српски Језик)"
- pkg_install() {
- vmove usr/share/man/sr
- }
-}
-
-manpages-nb_package() {
- short_desc+="${_desc} - Norwegian Bokmål (Bokmål)"
- pkg_install() {
- vmove usr/share/man/nb
- }
-}
-
-manpages-mk_package() {
- short_desc+="${_desc} - Macedonian (Македонски)"
- pkg_install() {
- vmove usr/share/man/mk
- }
-}
-
-manpages-it_package() {
- short_desc+="${_desc} - Italian (Italiano)"
- pkg_install() {
- vmove usr/share/man/it
- }
-}
-
-manpages-id_package() {
- short_desc+="${_desc} - Indonesian (Bahasa Indonesia)"
- pkg_install() {
- vmove usr/share/man/id
- }
-}
-
-manpages-hu_package() {
- short_desc+="${_desc} - Hungarian (Magyar Nyelv)"
- pkg_install() {
- vmove usr/share/man/hu
- }
-}
-
-manpages-fi_package() {
- short_desc+="${_desc} - Finnish (Suomi)"
- pkg_install() {
- vmove usr/share/man/fi
- }
-}
-
-manpages-es_package() {
- short_desc+="${_desc} - Spanish (Español)"
- pkg_install() {
- vmove usr/share/man/es
- }
-}
-
-manpages-el_package() {
- short_desc+="${_desc} - Greek (Ελληνικά)"
- pkg_install() {
- vmove usr/share/man/el
- }
-}
-
-manpages-da_package() {
- short_desc+="${_desc} - Danish (Dansk)"
- pkg_install() {
- vmove usr/share/man/da
- }
-}
-
-manpages-cs_package() {
- short_desc+="${_desc} - Czech (Čeština)"
- pkg_install() {
- vmove usr/share/man/cs
- }
-}
diff --git a/srcpkgs/manpages-ro b/srcpkgs/manpages-ro
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-ro
+++ b/srcpkgs/manpages-ro
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-ru b/srcpkgs/manpages-ru
new file mode 120000
index 0000000000000..5eb955f7668c4
--- /dev/null
+++ b/srcpkgs/manpages-ru
@@ -0,0 +1 @@
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-sr b/srcpkgs/manpages-sr
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-sr
+++ b/srcpkgs/manpages-sr
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-sv b/srcpkgs/manpages-sv
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-sv
+++ b/srcpkgs/manpages-sv
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-uk b/srcpkgs/manpages-uk
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-uk
+++ b/srcpkgs/manpages-uk
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-vi b/srcpkgs/manpages-vi
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-vi
+++ b/srcpkgs/manpages-vi
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Updated] manpages-l10n: update to 4.17.0, add meta pkg, ...
2023-02-28 11:14 [PR PATCH] manpages-l10n: update to 4.17.0, add meta pkg, classabbyamp
@ 2023-02-28 11:52 ` classabbyamp
2023-02-28 12:02 ` classabbyamp
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: classabbyamp @ 2023-02-28 11:52 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 910 bytes --]
There is an updated pull request by classabbyamp against master on the void-packages repository
https://github.com/classabbyamp/void-packages update/manpages-l10n
https://github.com/void-linux/void-packages/pull/42500
manpages-l10n: update to 4.17.0, add meta pkg, ...
### STILL WIP
- make a meta-package to make the template a little nicer
- `manpages-pt-br` is now a subpackage instead of the main one
- modeled after `firefox{,-esr}-i18n` template
- fix borked short_descs for some subpackages
- new subpackage: `manpages-ru` (Russian language)
- use configure args to disable compression instead of a build-time hack
closes #42498
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**|**briefly**|**NO**
A patch file from https://github.com/void-linux/void-packages/pull/42500.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-update/manpages-l10n-42500.patch --]
[-- Type: text/x-diff, Size: 15146 bytes --]
From 69f5319b9e57142ff26a8241294b3883d26f495b Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Tue, 28 Feb 2023 05:41:59 -0500
Subject: [PATCH 1/2] manpages-l10n: update to 4.17.0, add meta pkg, ...
- make a meta-package to make the template a little nicer
- `manpages-pt-br` is now a subpackage instead of the main one
- modeled after `firefox{,-esr}-i18n` template
- fix borked short_descs for some subpackages
- new subpackage: `manpages-ru` (Russian language)
- use configure args to disable compression instead of a build-time hack
---
srcpkgs/manpages-cs | 2 +-
srcpkgs/manpages-da | 2 +-
srcpkgs/manpages-de | 2 +-
srcpkgs/manpages-el | 2 +-
srcpkgs/manpages-es | 2 +-
srcpkgs/manpages-fi | 2 +-
srcpkgs/manpages-fr | 2 +-
srcpkgs/manpages-hu | 2 +-
srcpkgs/manpages-id | 2 +-
srcpkgs/manpages-it | 2 +-
srcpkgs/manpages-l10n/template | 78 +++++++++
.../{manpages-pt-br => manpages-l10n}/update | 1 -
srcpkgs/manpages-mk | 2 +-
srcpkgs/manpages-nb | 2 +-
srcpkgs/manpages-nl | 2 +-
srcpkgs/manpages-pl | 2 +-
srcpkgs/manpages-pt-br | 1 +
srcpkgs/manpages-pt-br/template | 153 ------------------
srcpkgs/manpages-ro | 2 +-
srcpkgs/manpages-ru | 1 +
srcpkgs/manpages-sr | 2 +-
srcpkgs/manpages-sv | 2 +-
srcpkgs/manpages-uk | 2 +-
srcpkgs/manpages-vi | 2 +-
24 files changed, 99 insertions(+), 173 deletions(-)
create mode 100644 srcpkgs/manpages-l10n/template
rename srcpkgs/{manpages-pt-br => manpages-l10n}/update (79%)
create mode 120000 srcpkgs/manpages-pt-br
delete mode 100644 srcpkgs/manpages-pt-br/template
create mode 120000 srcpkgs/manpages-ru
diff --git a/srcpkgs/manpages-cs b/srcpkgs/manpages-cs
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-cs
+++ b/srcpkgs/manpages-cs
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-da b/srcpkgs/manpages-da
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-da
+++ b/srcpkgs/manpages-da
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-de b/srcpkgs/manpages-de
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-de
+++ b/srcpkgs/manpages-de
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-el b/srcpkgs/manpages-el
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-el
+++ b/srcpkgs/manpages-el
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-es b/srcpkgs/manpages-es
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-es
+++ b/srcpkgs/manpages-es
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-fi b/srcpkgs/manpages-fi
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-fi
+++ b/srcpkgs/manpages-fi
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-fr b/srcpkgs/manpages-fr
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-fr
+++ b/srcpkgs/manpages-fr
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-hu b/srcpkgs/manpages-hu
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-hu
+++ b/srcpkgs/manpages-hu
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-id b/srcpkgs/manpages-id
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-id
+++ b/srcpkgs/manpages-id
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-it b/srcpkgs/manpages-it
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-it
+++ b/srcpkgs/manpages-it
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-l10n/template b/srcpkgs/manpages-l10n/template
new file mode 100644
index 0000000000000..e1acbf066a341
--- /dev/null
+++ b/srcpkgs/manpages-l10n/template
@@ -0,0 +1,78 @@
+# Template file for 'manpages-l10n'
+pkgname=manpages-l10n
+version=4.17.0
+revision=1
+build_style=meta
+hostmakedepends="po4a"
+short_desc="Translations of manpages"
+maintainer="Érico Nogueira <ericonr@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://manpages-l10n-team.pages.debian.net/manpages-l10n/"
+changelog="https://salsa.debian.org/manpages-l10n-team/manpages-l10n/-/raw/master/CHANGES.md"
+distfiles="https://salsa.debian.org/manpages-l10n-team/manpages-l10n/-/archive/${version}/manpages-l10n-v${version}.tar.gz"
+checksum=0afbe8196b091d37bb25702185a903ff69622e3dfbbf400f54ccc1260dcaa4c4
+
+do_configure() {
+ ./configure --prefix=/usr --enable-compression=none
+}
+
+do_build() {
+ make ${makejobs}
+}
+
+do_install() {
+ make DESTDIR=${DESTDIR} install
+}
+
+post_install() {
+ find $DESTDIR -name '*systemd*' -delete
+}
+
+# lang name for package <space> description <space> dir name (if different)
+_languages=(
+ 'cs "Czech (Čeština)"'
+ 'da "Danish (Dansk)"'
+ 'de "German (Deutsch)"'
+ 'el "Greek (Ελληνικά)"'
+ 'es "Spanish (Español)"'
+ 'fi "Finnish (Suomi)"'
+ 'fr "French (Français)"'
+ 'hu "Hungarian (Magyar Nyelv)"'
+ 'id "Indonesian (Bahasa Indonesia)"'
+ 'it "Italian (Italiano)"'
+ 'mk "Macedonian (Македонски)"'
+ 'nb "Norwegian Bokmål (Bokmål)"'
+ 'nl "Dutch (Nederlands)"'
+ 'pl "Polish (Polski)"'
+ 'pt-br "Brazilian Portuguese (Português Brasileiro)" pt_BR'
+ 'ro "Romanian (Limba Română)"'
+ 'ru "Russian (ру́сский)"'
+ 'sr "Serbian (Српски Језик)"'
+ 'sv "Swedish (Svenska)"'
+ 'uk "Ukrainian (Украї́нська Мо́ва)"'
+ 'vi "Vietnamese (Tiếng Việt)"'
+)
+
+for _line in "${_languages[@]}"; do
+ _pkgname="manpages-${_line%% *}"
+ depends+=" ${_pkgname}"
+
+ eval "${_pkgname}_package() {
+ _pkgtmpl "$_line"
+ }"
+done
+
+_pkgtmpl() {
+ local _lang="$1"
+ local _desc="$2"
+ local _dir="$3"
+
+ short_desc+=" - $2"
+ pkg_install() {
+ if [ -n "$_dir" ]; then
+ vmove "usr/share/man/${_dir}"
+ else
+ vmove "usr/share/man/${_lang}"
+ fi
+ }
+}
diff --git a/srcpkgs/manpages-pt-br/update b/srcpkgs/manpages-l10n/update
similarity index 79%
rename from srcpkgs/manpages-pt-br/update
rename to srcpkgs/manpages-l10n/update
index f8d78a094573d..189391b17e025 100644
--- a/srcpkgs/manpages-pt-br/update
+++ b/srcpkgs/manpages-l10n/update
@@ -1,3 +1,2 @@
-pkgname=manpages-l10n
site="https://salsa.debian.org/manpages-l10n-team/manpages-l10n/-/tags"
ignore="*pre*"
diff --git a/srcpkgs/manpages-mk b/srcpkgs/manpages-mk
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-mk
+++ b/srcpkgs/manpages-mk
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-nb b/srcpkgs/manpages-nb
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-nb
+++ b/srcpkgs/manpages-nb
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-nl b/srcpkgs/manpages-nl
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-nl
+++ b/srcpkgs/manpages-nl
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-pl b/srcpkgs/manpages-pl
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-pl
+++ b/srcpkgs/manpages-pl
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-pt-br b/srcpkgs/manpages-pt-br
new file mode 120000
index 0000000000000..5eb955f7668c4
--- /dev/null
+++ b/srcpkgs/manpages-pt-br
@@ -0,0 +1 @@
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-pt-br/template b/srcpkgs/manpages-pt-br/template
deleted file mode 100644
index 98ba79b4e7c82..0000000000000
--- a/srcpkgs/manpages-pt-br/template
+++ /dev/null
@@ -1,153 +0,0 @@
-# Template file for 'manpages-pt-br'
-pkgname=manpages-pt-br
-version=4.14.0
-revision=1
-_commit=2a0461feb98f408bac9454b87325aacb1dd014f2
-_prjname=manpages-l10n
-build_style=gnu-configure
-make_build_args="comp_extension= compressor=cat"
-hostmakedepends="po4a"
-_desc="Translations of manpages"
-short_desc="${_desc} - Brazilian Portuguese (Português Brasileiro)"
-maintainer="Érico Nogueira <ericonr@disroot.org>"
-license="GPL-3.0-or-later"
-homepage="https://manpages-l10n-team.pages.debian.net/manpages-l10n/"
-distfiles="https://salsa.debian.org/manpages-l10n-team/manpages-l10n/-/archive/${version}/${_prjname}-v${version}.tar.gz"
-checksum=33f9f867e958faa0b3a699d503809d56aed3eadfcc349d329a79b545071c544f
-
-post_install() {
- find $DESTDIR -name '*systemd*' -delete
-}
-
-manpages-nl_package() {
- short_desc="${_desc} - Dutch (Nederlands)"
- pkg_install() {
- vmove usr/share/man/nl
- }
-}
-
-manpages-fr_package() {
- short_desc="${_desc} - French (Français)"
- pkg_install() {
- vmove usr/share/man/fr
- }
-}
-
-manpages-de_package() {
- short_desc="${_desc} - German (Deutsch)"
- pkg_install() {
- vmove usr/share/man/de
- }
-}
-
-manpages-pl_package() {
- short_desc="${_desc} - Polish (Polski)"
- pkg_install() {
- vmove usr/share/man/pl
- }
-}
-
-manpages-ro_package() {
- short_desc="${_desc} - Romanian (Limba Română)"
- pkg_install() {
- vmove usr/share/man/ro
- }
-}
-
-manpages-vi_package() {
- short_desc+="${_desc} - Vietnamese (Tiếng Việt)"
- pkg_install() {
- vmove usr/share/man/vi
- }
-}
-
-manpages-uk_package() {
- short_desc+="${_desc} - Ukrainian (Украї́нська Мо́ва)"
- pkg_install() {
- vmove usr/share/man/uk
- }
-}
-
-manpages-sv_package() {
- short_desc+="${_desc} - Swedish (Svenska)"
- pkg_install() {
- vmove usr/share/man/sv
- }
-}
-
-manpages-sr_package() {
- short_desc+="${_desc} - Serbian (Српски Језик)"
- pkg_install() {
- vmove usr/share/man/sr
- }
-}
-
-manpages-nb_package() {
- short_desc+="${_desc} - Norwegian Bokmål (Bokmål)"
- pkg_install() {
- vmove usr/share/man/nb
- }
-}
-
-manpages-mk_package() {
- short_desc+="${_desc} - Macedonian (Македонски)"
- pkg_install() {
- vmove usr/share/man/mk
- }
-}
-
-manpages-it_package() {
- short_desc+="${_desc} - Italian (Italiano)"
- pkg_install() {
- vmove usr/share/man/it
- }
-}
-
-manpages-id_package() {
- short_desc+="${_desc} - Indonesian (Bahasa Indonesia)"
- pkg_install() {
- vmove usr/share/man/id
- }
-}
-
-manpages-hu_package() {
- short_desc+="${_desc} - Hungarian (Magyar Nyelv)"
- pkg_install() {
- vmove usr/share/man/hu
- }
-}
-
-manpages-fi_package() {
- short_desc+="${_desc} - Finnish (Suomi)"
- pkg_install() {
- vmove usr/share/man/fi
- }
-}
-
-manpages-es_package() {
- short_desc+="${_desc} - Spanish (Español)"
- pkg_install() {
- vmove usr/share/man/es
- }
-}
-
-manpages-el_package() {
- short_desc+="${_desc} - Greek (Ελληνικά)"
- pkg_install() {
- vmove usr/share/man/el
- }
-}
-
-manpages-da_package() {
- short_desc+="${_desc} - Danish (Dansk)"
- pkg_install() {
- vmove usr/share/man/da
- }
-}
-
-manpages-cs_package() {
- short_desc+="${_desc} - Czech (Čeština)"
- pkg_install() {
- vmove usr/share/man/cs
- }
-}
diff --git a/srcpkgs/manpages-ro b/srcpkgs/manpages-ro
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-ro
+++ b/srcpkgs/manpages-ro
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-ru b/srcpkgs/manpages-ru
new file mode 120000
index 0000000000000..5eb955f7668c4
--- /dev/null
+++ b/srcpkgs/manpages-ru
@@ -0,0 +1 @@
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-sr b/srcpkgs/manpages-sr
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-sr
+++ b/srcpkgs/manpages-sr
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-sv b/srcpkgs/manpages-sv
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-sv
+++ b/srcpkgs/manpages-sv
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-uk b/srcpkgs/manpages-uk
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-uk
+++ b/srcpkgs/manpages-uk
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-vi b/srcpkgs/manpages-vi
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-vi
+++ b/srcpkgs/manpages-vi
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
From 21b20abe657dd3c2abde1a6f2e7fc38a02eb540d Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Tue, 28 Feb 2023 06:51:59 -0500
Subject: [PATCH 2/2] fixup! manpages-l10n: update to 4.17.0, add meta pkg, ...
---
srcpkgs/manpages-l10n/template | 24 +++++++++++++-----------
1 file changed, 13 insertions(+), 11 deletions(-)
diff --git a/srcpkgs/manpages-l10n/template b/srcpkgs/manpages-l10n/template
index e1acbf066a341..4092aed29ca21 100644
--- a/srcpkgs/manpages-l10n/template
+++ b/srcpkgs/manpages-l10n/template
@@ -46,28 +46,21 @@ _languages=(
'pl "Polish (Polski)"'
'pt-br "Brazilian Portuguese (Português Brasileiro)" pt_BR'
'ro "Romanian (Limba Română)"'
- 'ru "Russian (ру́сский)"'
+ 'ru "Russian (Русский)"'
'sr "Serbian (Српски Језик)"'
'sv "Swedish (Svenska)"'
'uk "Ukrainian (Украї́нська Мо́ва)"'
'vi "Vietnamese (Tiếng Việt)"'
)
-for _line in "${_languages[@]}"; do
- _pkgname="manpages-${_line%% *}"
- depends+=" ${_pkgname}"
-
- eval "${_pkgname}_package() {
- _pkgtmpl "$_line"
- }"
-done
-
_pkgtmpl() {
local _lang="$1"
local _desc="$2"
local _dir="$3"
+ msg_warn "_lang=$_lang"
+ msg_warn "_dir=$_dir"
- short_desc+=" - $2"
+ short_desc+=" - $_desc"
pkg_install() {
if [ -n "$_dir" ]; then
vmove "usr/share/man/${_dir}"
@@ -76,3 +69,12 @@ _pkgtmpl() {
fi
}
}
+
+for _line in "${_languages[@]}"; do
+ _pkgname="manpages-${_line%% *}"
+ depends+=" ${_pkgname}"
+
+ eval "${_pkgname}_package() {
+ _pkgtmpl "$_line"
+ }"
+done
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Updated] manpages-l10n: update to 4.17.0, add meta pkg, ...
2023-02-28 11:14 [PR PATCH] manpages-l10n: update to 4.17.0, add meta pkg, classabbyamp
2023-02-28 11:52 ` [PR PATCH] [Updated] " classabbyamp
@ 2023-02-28 12:02 ` classabbyamp
2023-02-28 12:03 ` classabbyamp
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: classabbyamp @ 2023-02-28 12:02 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 910 bytes --]
There is an updated pull request by classabbyamp against master on the void-packages repository
https://github.com/classabbyamp/void-packages update/manpages-l10n
https://github.com/void-linux/void-packages/pull/42500
manpages-l10n: update to 4.17.0, add meta pkg, ...
### STILL WIP
- make a meta-package to make the template a little nicer
- `manpages-pt-br` is now a subpackage instead of the main one
- modeled after `firefox{,-esr}-i18n` template
- fix borked short_descs for some subpackages
- new subpackage: `manpages-ru` (Russian language)
- use configure args to disable compression instead of a build-time hack
closes #42498
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**|**briefly**|**NO**
A patch file from https://github.com/void-linux/void-packages/pull/42500.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-update/manpages-l10n-42500.patch --]
[-- Type: text/x-diff, Size: 13419 bytes --]
From 1434beb17e8056f1b51ed0411158f7ffc09c3a8d Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Tue, 28 Feb 2023 05:41:59 -0500
Subject: [PATCH] manpages-l10n: update to 4.17.0, add meta pkg, ...
- make a meta-package to make the template a little nicer
- `manpages-pt-br` is now a subpackage instead of the main one
- modeled after `firefox{,-esr}-i18n` template
- fix borked short_descs for some subpackages
- new subpackage: `manpages-ru` (Russian language)
- use configure args to disable compression instead of a build-time hack
---
srcpkgs/manpages-cs | 2 +-
srcpkgs/manpages-da | 2 +-
srcpkgs/manpages-de | 2 +-
srcpkgs/manpages-el | 2 +-
srcpkgs/manpages-es | 2 +-
srcpkgs/manpages-fi | 2 +-
srcpkgs/manpages-fr | 2 +-
srcpkgs/manpages-hu | 2 +-
srcpkgs/manpages-id | 2 +-
srcpkgs/manpages-it | 2 +-
srcpkgs/manpages-l10n/template | 71 ++++++++
.../{manpages-pt-br => manpages-l10n}/update | 1 -
srcpkgs/manpages-mk | 2 +-
srcpkgs/manpages-nb | 2 +-
srcpkgs/manpages-nl | 2 +-
srcpkgs/manpages-pl | 2 +-
srcpkgs/manpages-pt-br | 1 +
srcpkgs/manpages-pt-br/template | 153 ------------------
srcpkgs/manpages-ro | 2 +-
srcpkgs/manpages-ru | 1 +
srcpkgs/manpages-sr | 2 +-
srcpkgs/manpages-sv | 2 +-
srcpkgs/manpages-uk | 2 +-
srcpkgs/manpages-vi | 2 +-
24 files changed, 92 insertions(+), 173 deletions(-)
create mode 100644 srcpkgs/manpages-l10n/template
rename srcpkgs/{manpages-pt-br => manpages-l10n}/update (79%)
create mode 120000 srcpkgs/manpages-pt-br
delete mode 100644 srcpkgs/manpages-pt-br/template
create mode 120000 srcpkgs/manpages-ru
diff --git a/srcpkgs/manpages-cs b/srcpkgs/manpages-cs
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-cs
+++ b/srcpkgs/manpages-cs
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-da b/srcpkgs/manpages-da
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-da
+++ b/srcpkgs/manpages-da
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-de b/srcpkgs/manpages-de
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-de
+++ b/srcpkgs/manpages-de
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-el b/srcpkgs/manpages-el
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-el
+++ b/srcpkgs/manpages-el
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-es b/srcpkgs/manpages-es
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-es
+++ b/srcpkgs/manpages-es
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-fi b/srcpkgs/manpages-fi
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-fi
+++ b/srcpkgs/manpages-fi
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-fr b/srcpkgs/manpages-fr
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-fr
+++ b/srcpkgs/manpages-fr
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-hu b/srcpkgs/manpages-hu
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-hu
+++ b/srcpkgs/manpages-hu
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-id b/srcpkgs/manpages-id
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-id
+++ b/srcpkgs/manpages-id
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-it b/srcpkgs/manpages-it
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-it
+++ b/srcpkgs/manpages-it
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-l10n/template b/srcpkgs/manpages-l10n/template
new file mode 100644
index 0000000000000..1f873d797d8ed
--- /dev/null
+++ b/srcpkgs/manpages-l10n/template
@@ -0,0 +1,71 @@
+# Template file for 'manpages-l10n'
+pkgname=manpages-l10n
+version=4.17.0
+revision=1
+build_style=meta
+hostmakedepends="po4a"
+short_desc="Translations of manpages"
+maintainer="Érico Nogueira <ericonr@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://manpages-l10n-team.pages.debian.net/manpages-l10n/"
+changelog="https://salsa.debian.org/manpages-l10n-team/manpages-l10n/-/raw/master/CHANGES.md"
+distfiles="https://salsa.debian.org/manpages-l10n-team/manpages-l10n/-/archive/${version}/manpages-l10n-v${version}.tar.gz"
+checksum=0afbe8196b091d37bb25702185a903ff69622e3dfbbf400f54ccc1260dcaa4c4
+
+do_configure() {
+ ./configure --prefix=/usr --enable-compression=none
+}
+
+do_build() {
+ make ${makejobs}
+}
+
+do_install() {
+ make DESTDIR=${DESTDIR} install
+}
+
+post_install() {
+ find $DESTDIR -name '*systemd*' -delete
+}
+
+# lang name for package <space> description <space> dir name (if different)
+_languages=(
+ 'cs "Czech (Čeština)"'
+ 'da "Danish (Dansk)"'
+ 'de "German (Deutsch)"'
+ 'el "Greek (Ελληνικά)"'
+ 'es "Spanish (Español)"'
+ 'fi "Finnish (Suomi)"'
+ 'fr "French (Français)"'
+ 'hu "Hungarian (Magyar Nyelv)"'
+ 'id "Indonesian (Bahasa Indonesia)"'
+ 'it "Italian (Italiano)"'
+ 'mk "Macedonian (Македонски)"'
+ 'nb "Norwegian Bokmål (Bokmål)"'
+ 'nl "Dutch (Nederlands)"'
+ 'pl "Polish (Polski)"'
+ 'pt-br "Brazilian Portuguese (Português Brasileiro)" pt_BR'
+ 'ro "Romanian (Limba Română)"'
+ 'ru "Russian (Русский)"'
+ 'sr "Serbian (Српски Језик)"'
+ 'sv "Swedish (Svenska)"'
+ 'uk "Ukrainian (Украї́нська Мо́ва)"'
+ 'vi "Vietnamese (Tiếng Việt)"'
+)
+
+for _line in "${_languages[@]}"; do
+ _pkgname="manpages-${_line%% *}"
+ depends+=" ${_pkgname}"
+
+ eval "${_pkgname}_package() {
+ _pkgtmpl "$_line"
+ }"
+done
+
+_pkgtmpl() {
+ short_desc+=" - $2"
+ pkg_install() {
+ vmove "usr/share/man/${3:-$1}"
+ }
+}
+
diff --git a/srcpkgs/manpages-pt-br/update b/srcpkgs/manpages-l10n/update
similarity index 79%
rename from srcpkgs/manpages-pt-br/update
rename to srcpkgs/manpages-l10n/update
index f8d78a094573d..189391b17e025 100644
--- a/srcpkgs/manpages-pt-br/update
+++ b/srcpkgs/manpages-l10n/update
@@ -1,3 +1,2 @@
-pkgname=manpages-l10n
site="https://salsa.debian.org/manpages-l10n-team/manpages-l10n/-/tags"
ignore="*pre*"
diff --git a/srcpkgs/manpages-mk b/srcpkgs/manpages-mk
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-mk
+++ b/srcpkgs/manpages-mk
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-nb b/srcpkgs/manpages-nb
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-nb
+++ b/srcpkgs/manpages-nb
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-nl b/srcpkgs/manpages-nl
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-nl
+++ b/srcpkgs/manpages-nl
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-pl b/srcpkgs/manpages-pl
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-pl
+++ b/srcpkgs/manpages-pl
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-pt-br b/srcpkgs/manpages-pt-br
new file mode 120000
index 0000000000000..5eb955f7668c4
--- /dev/null
+++ b/srcpkgs/manpages-pt-br
@@ -0,0 +1 @@
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-pt-br/template b/srcpkgs/manpages-pt-br/template
deleted file mode 100644
index 98ba79b4e7c82..0000000000000
--- a/srcpkgs/manpages-pt-br/template
+++ /dev/null
@@ -1,153 +0,0 @@
-# Template file for 'manpages-pt-br'
-pkgname=manpages-pt-br
-version=4.14.0
-revision=1
-_commit=2a0461feb98f408bac9454b87325aacb1dd014f2
-_prjname=manpages-l10n
-build_style=gnu-configure
-make_build_args="comp_extension= compressor=cat"
-hostmakedepends="po4a"
-_desc="Translations of manpages"
-short_desc="${_desc} - Brazilian Portuguese (Português Brasileiro)"
-maintainer="Érico Nogueira <ericonr@disroot.org>"
-license="GPL-3.0-or-later"
-homepage="https://manpages-l10n-team.pages.debian.net/manpages-l10n/"
-distfiles="https://salsa.debian.org/manpages-l10n-team/manpages-l10n/-/archive/${version}/${_prjname}-v${version}.tar.gz"
-checksum=33f9f867e958faa0b3a699d503809d56aed3eadfcc349d329a79b545071c544f
-
-post_install() {
- find $DESTDIR -name '*systemd*' -delete
-}
-
-manpages-nl_package() {
- short_desc="${_desc} - Dutch (Nederlands)"
- pkg_install() {
- vmove usr/share/man/nl
- }
-}
-
-manpages-fr_package() {
- short_desc="${_desc} - French (Français)"
- pkg_install() {
- vmove usr/share/man/fr
- }
-}
-
-manpages-de_package() {
- short_desc="${_desc} - German (Deutsch)"
- pkg_install() {
- vmove usr/share/man/de
- }
-}
-
-manpages-pl_package() {
- short_desc="${_desc} - Polish (Polski)"
- pkg_install() {
- vmove usr/share/man/pl
- }
-}
-
-manpages-ro_package() {
- short_desc="${_desc} - Romanian (Limba Română)"
- pkg_install() {
- vmove usr/share/man/ro
- }
-}
-
-manpages-vi_package() {
- short_desc+="${_desc} - Vietnamese (Tiếng Việt)"
- pkg_install() {
- vmove usr/share/man/vi
- }
-}
-
-manpages-uk_package() {
- short_desc+="${_desc} - Ukrainian (Украї́нська Мо́ва)"
- pkg_install() {
- vmove usr/share/man/uk
- }
-}
-
-manpages-sv_package() {
- short_desc+="${_desc} - Swedish (Svenska)"
- pkg_install() {
- vmove usr/share/man/sv
- }
-}
-
-manpages-sr_package() {
- short_desc+="${_desc} - Serbian (Српски Језик)"
- pkg_install() {
- vmove usr/share/man/sr
- }
-}
-
-manpages-nb_package() {
- short_desc+="${_desc} - Norwegian Bokmål (Bokmål)"
- pkg_install() {
- vmove usr/share/man/nb
- }
-}
-
-manpages-mk_package() {
- short_desc+="${_desc} - Macedonian (Македонски)"
- pkg_install() {
- vmove usr/share/man/mk
- }
-}
-
-manpages-it_package() {
- short_desc+="${_desc} - Italian (Italiano)"
- pkg_install() {
- vmove usr/share/man/it
- }
-}
-
-manpages-id_package() {
- short_desc+="${_desc} - Indonesian (Bahasa Indonesia)"
- pkg_install() {
- vmove usr/share/man/id
- }
-}
-
-manpages-hu_package() {
- short_desc+="${_desc} - Hungarian (Magyar Nyelv)"
- pkg_install() {
- vmove usr/share/man/hu
- }
-}
-
-manpages-fi_package() {
- short_desc+="${_desc} - Finnish (Suomi)"
- pkg_install() {
- vmove usr/share/man/fi
- }
-}
-
-manpages-es_package() {
- short_desc+="${_desc} - Spanish (Español)"
- pkg_install() {
- vmove usr/share/man/es
- }
-}
-
-manpages-el_package() {
- short_desc+="${_desc} - Greek (Ελληνικά)"
- pkg_install() {
- vmove usr/share/man/el
- }
-}
-
-manpages-da_package() {
- short_desc+="${_desc} - Danish (Dansk)"
- pkg_install() {
- vmove usr/share/man/da
- }
-}
-
-manpages-cs_package() {
- short_desc+="${_desc} - Czech (Čeština)"
- pkg_install() {
- vmove usr/share/man/cs
- }
-}
diff --git a/srcpkgs/manpages-ro b/srcpkgs/manpages-ro
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-ro
+++ b/srcpkgs/manpages-ro
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-ru b/srcpkgs/manpages-ru
new file mode 120000
index 0000000000000..5eb955f7668c4
--- /dev/null
+++ b/srcpkgs/manpages-ru
@@ -0,0 +1 @@
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-sr b/srcpkgs/manpages-sr
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-sr
+++ b/srcpkgs/manpages-sr
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-sv b/srcpkgs/manpages-sv
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-sv
+++ b/srcpkgs/manpages-sv
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-uk b/srcpkgs/manpages-uk
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-uk
+++ b/srcpkgs/manpages-uk
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-vi b/srcpkgs/manpages-vi
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-vi
+++ b/srcpkgs/manpages-vi
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Updated] manpages-l10n: update to 4.17.0, add meta pkg, ...
2023-02-28 11:14 [PR PATCH] manpages-l10n: update to 4.17.0, add meta pkg, classabbyamp
2023-02-28 11:52 ` [PR PATCH] [Updated] " classabbyamp
2023-02-28 12:02 ` classabbyamp
@ 2023-02-28 12:03 ` classabbyamp
2023-02-28 17:46 ` classabbyamp
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: classabbyamp @ 2023-02-28 12:03 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 924 bytes --]
There is an updated pull request by classabbyamp against master on the void-packages repository
https://github.com/classabbyamp/void-packages update/manpages-l10n
https://github.com/void-linux/void-packages/pull/42500
manpages-l10n: update to 4.17.0, add meta pkg, ...
- make a meta-package to make the template a little nicer
- `manpages-pt-br` is now a subpackage instead of the main one
- modeled after `firefox{,-esr}-i18n` template
- fix borked short_descs for some subpackages
- new subpackage: `manpages-ru` (Russian language)
- use configure args to disable compression instead of a build-time hack
supercedes and closes #42498
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**|**briefly**|**NO**
A patch file from https://github.com/void-linux/void-packages/pull/42500.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-update/manpages-l10n-42500.patch --]
[-- Type: text/x-diff, Size: 13417 bytes --]
From 053568f7cb6c1d398cd27a883f86814ee47bde1a Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Tue, 28 Feb 2023 05:41:59 -0500
Subject: [PATCH] manpages-l10n: update to 4.17.0, add meta pkg, ...
- make a meta-package to make the template a little nicer
- `manpages-pt-br` is now a subpackage instead of the main one
- modeled after `firefox{,-esr}-i18n` template
- fix borked short_descs for some subpackages
- new subpackage: `manpages-ru` (Russian language)
- use configure args to disable compression instead of a build-time hack
---
srcpkgs/manpages-cs | 2 +-
srcpkgs/manpages-da | 2 +-
srcpkgs/manpages-de | 2 +-
srcpkgs/manpages-el | 2 +-
srcpkgs/manpages-es | 2 +-
srcpkgs/manpages-fi | 2 +-
srcpkgs/manpages-fr | 2 +-
srcpkgs/manpages-hu | 2 +-
srcpkgs/manpages-id | 2 +-
srcpkgs/manpages-it | 2 +-
srcpkgs/manpages-l10n/template | 70 ++++++++
.../{manpages-pt-br => manpages-l10n}/update | 1 -
srcpkgs/manpages-mk | 2 +-
srcpkgs/manpages-nb | 2 +-
srcpkgs/manpages-nl | 2 +-
srcpkgs/manpages-pl | 2 +-
srcpkgs/manpages-pt-br | 1 +
srcpkgs/manpages-pt-br/template | 153 ------------------
srcpkgs/manpages-ro | 2 +-
srcpkgs/manpages-ru | 1 +
srcpkgs/manpages-sr | 2 +-
srcpkgs/manpages-sv | 2 +-
srcpkgs/manpages-uk | 2 +-
srcpkgs/manpages-vi | 2 +-
24 files changed, 91 insertions(+), 173 deletions(-)
create mode 100644 srcpkgs/manpages-l10n/template
rename srcpkgs/{manpages-pt-br => manpages-l10n}/update (79%)
create mode 120000 srcpkgs/manpages-pt-br
delete mode 100644 srcpkgs/manpages-pt-br/template
create mode 120000 srcpkgs/manpages-ru
diff --git a/srcpkgs/manpages-cs b/srcpkgs/manpages-cs
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-cs
+++ b/srcpkgs/manpages-cs
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-da b/srcpkgs/manpages-da
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-da
+++ b/srcpkgs/manpages-da
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-de b/srcpkgs/manpages-de
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-de
+++ b/srcpkgs/manpages-de
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-el b/srcpkgs/manpages-el
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-el
+++ b/srcpkgs/manpages-el
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-es b/srcpkgs/manpages-es
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-es
+++ b/srcpkgs/manpages-es
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-fi b/srcpkgs/manpages-fi
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-fi
+++ b/srcpkgs/manpages-fi
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-fr b/srcpkgs/manpages-fr
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-fr
+++ b/srcpkgs/manpages-fr
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-hu b/srcpkgs/manpages-hu
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-hu
+++ b/srcpkgs/manpages-hu
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-id b/srcpkgs/manpages-id
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-id
+++ b/srcpkgs/manpages-id
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-it b/srcpkgs/manpages-it
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-it
+++ b/srcpkgs/manpages-it
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-l10n/template b/srcpkgs/manpages-l10n/template
new file mode 100644
index 0000000000000..5067262f11c8e
--- /dev/null
+++ b/srcpkgs/manpages-l10n/template
@@ -0,0 +1,70 @@
+# Template file for 'manpages-l10n'
+pkgname=manpages-l10n
+version=4.17.0
+revision=1
+build_style=meta
+hostmakedepends="po4a"
+short_desc="Translations of manpages"
+maintainer="Érico Nogueira <ericonr@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://manpages-l10n-team.pages.debian.net/manpages-l10n/"
+changelog="https://salsa.debian.org/manpages-l10n-team/manpages-l10n/-/raw/master/CHANGES.md"
+distfiles="https://salsa.debian.org/manpages-l10n-team/manpages-l10n/-/archive/${version}/manpages-l10n-v${version}.tar.gz"
+checksum=0afbe8196b091d37bb25702185a903ff69622e3dfbbf400f54ccc1260dcaa4c4
+
+do_configure() {
+ ./configure --prefix=/usr --enable-compression=none
+}
+
+do_build() {
+ make ${makejobs}
+}
+
+do_install() {
+ make DESTDIR=${DESTDIR} install
+}
+
+post_install() {
+ find $DESTDIR -name '*systemd*' -delete
+}
+
+# lang name for package <space> description <space> dir name (if different)
+_languages=(
+ 'cs "Czech (Čeština)"'
+ 'da "Danish (Dansk)"'
+ 'de "German (Deutsch)"'
+ 'el "Greek (Ελληνικά)"'
+ 'es "Spanish (Español)"'
+ 'fi "Finnish (Suomi)"'
+ 'fr "French (Français)"'
+ 'hu "Hungarian (Magyar Nyelv)"'
+ 'id "Indonesian (Bahasa Indonesia)"'
+ 'it "Italian (Italiano)"'
+ 'mk "Macedonian (Македонски)"'
+ 'nb "Norwegian Bokmål (Bokmål)"'
+ 'nl "Dutch (Nederlands)"'
+ 'pl "Polish (Polski)"'
+ 'pt-br "Brazilian Portuguese (Português Brasileiro)" pt_BR'
+ 'ro "Romanian (Limba Română)"'
+ 'ru "Russian (Русский)"'
+ 'sr "Serbian (Српски Језик)"'
+ 'sv "Swedish (Svenska)"'
+ 'uk "Ukrainian (Украї́нська Мо́ва)"'
+ 'vi "Vietnamese (Tiếng Việt)"'
+)
+
+for _line in "${_languages[@]}"; do
+ _pkgname="manpages-${_line%% *}"
+ depends+=" ${_pkgname}"
+
+ eval "${_pkgname}_package() {
+ _pkgtmpl "$_line"
+ }"
+done
+
+_pkgtmpl() {
+ short_desc+=" - $2"
+ pkg_install() {
+ vmove "usr/share/man/${3:-$1}"
+ }
+}
diff --git a/srcpkgs/manpages-pt-br/update b/srcpkgs/manpages-l10n/update
similarity index 79%
rename from srcpkgs/manpages-pt-br/update
rename to srcpkgs/manpages-l10n/update
index f8d78a094573d..189391b17e025 100644
--- a/srcpkgs/manpages-pt-br/update
+++ b/srcpkgs/manpages-l10n/update
@@ -1,3 +1,2 @@
-pkgname=manpages-l10n
site="https://salsa.debian.org/manpages-l10n-team/manpages-l10n/-/tags"
ignore="*pre*"
diff --git a/srcpkgs/manpages-mk b/srcpkgs/manpages-mk
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-mk
+++ b/srcpkgs/manpages-mk
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-nb b/srcpkgs/manpages-nb
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-nb
+++ b/srcpkgs/manpages-nb
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-nl b/srcpkgs/manpages-nl
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-nl
+++ b/srcpkgs/manpages-nl
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-pl b/srcpkgs/manpages-pl
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-pl
+++ b/srcpkgs/manpages-pl
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-pt-br b/srcpkgs/manpages-pt-br
new file mode 120000
index 0000000000000..5eb955f7668c4
--- /dev/null
+++ b/srcpkgs/manpages-pt-br
@@ -0,0 +1 @@
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-pt-br/template b/srcpkgs/manpages-pt-br/template
deleted file mode 100644
index 98ba79b4e7c82..0000000000000
--- a/srcpkgs/manpages-pt-br/template
+++ /dev/null
@@ -1,153 +0,0 @@
-# Template file for 'manpages-pt-br'
-pkgname=manpages-pt-br
-version=4.14.0
-revision=1
-_commit=2a0461feb98f408bac9454b87325aacb1dd014f2
-_prjname=manpages-l10n
-build_style=gnu-configure
-make_build_args="comp_extension= compressor=cat"
-hostmakedepends="po4a"
-_desc="Translations of manpages"
-short_desc="${_desc} - Brazilian Portuguese (Português Brasileiro)"
-maintainer="Érico Nogueira <ericonr@disroot.org>"
-license="GPL-3.0-or-later"
-homepage="https://manpages-l10n-team.pages.debian.net/manpages-l10n/"
-distfiles="https://salsa.debian.org/manpages-l10n-team/manpages-l10n/-/archive/${version}/${_prjname}-v${version}.tar.gz"
-checksum=33f9f867e958faa0b3a699d503809d56aed3eadfcc349d329a79b545071c544f
-
-post_install() {
- find $DESTDIR -name '*systemd*' -delete
-}
-
-manpages-nl_package() {
- short_desc="${_desc} - Dutch (Nederlands)"
- pkg_install() {
- vmove usr/share/man/nl
- }
-}
-
-manpages-fr_package() {
- short_desc="${_desc} - French (Français)"
- pkg_install() {
- vmove usr/share/man/fr
- }
-}
-
-manpages-de_package() {
- short_desc="${_desc} - German (Deutsch)"
- pkg_install() {
- vmove usr/share/man/de
- }
-}
-
-manpages-pl_package() {
- short_desc="${_desc} - Polish (Polski)"
- pkg_install() {
- vmove usr/share/man/pl
- }
-}
-
-manpages-ro_package() {
- short_desc="${_desc} - Romanian (Limba Română)"
- pkg_install() {
- vmove usr/share/man/ro
- }
-}
-
-manpages-vi_package() {
- short_desc+="${_desc} - Vietnamese (Tiếng Việt)"
- pkg_install() {
- vmove usr/share/man/vi
- }
-}
-
-manpages-uk_package() {
- short_desc+="${_desc} - Ukrainian (Украї́нська Мо́ва)"
- pkg_install() {
- vmove usr/share/man/uk
- }
-}
-
-manpages-sv_package() {
- short_desc+="${_desc} - Swedish (Svenska)"
- pkg_install() {
- vmove usr/share/man/sv
- }
-}
-
-manpages-sr_package() {
- short_desc+="${_desc} - Serbian (Српски Језик)"
- pkg_install() {
- vmove usr/share/man/sr
- }
-}
-
-manpages-nb_package() {
- short_desc+="${_desc} - Norwegian Bokmål (Bokmål)"
- pkg_install() {
- vmove usr/share/man/nb
- }
-}
-
-manpages-mk_package() {
- short_desc+="${_desc} - Macedonian (Македонски)"
- pkg_install() {
- vmove usr/share/man/mk
- }
-}
-
-manpages-it_package() {
- short_desc+="${_desc} - Italian (Italiano)"
- pkg_install() {
- vmove usr/share/man/it
- }
-}
-
-manpages-id_package() {
- short_desc+="${_desc} - Indonesian (Bahasa Indonesia)"
- pkg_install() {
- vmove usr/share/man/id
- }
-}
-
-manpages-hu_package() {
- short_desc+="${_desc} - Hungarian (Magyar Nyelv)"
- pkg_install() {
- vmove usr/share/man/hu
- }
-}
-
-manpages-fi_package() {
- short_desc+="${_desc} - Finnish (Suomi)"
- pkg_install() {
- vmove usr/share/man/fi
- }
-}
-
-manpages-es_package() {
- short_desc+="${_desc} - Spanish (Español)"
- pkg_install() {
- vmove usr/share/man/es
- }
-}
-
-manpages-el_package() {
- short_desc+="${_desc} - Greek (Ελληνικά)"
- pkg_install() {
- vmove usr/share/man/el
- }
-}
-
-manpages-da_package() {
- short_desc+="${_desc} - Danish (Dansk)"
- pkg_install() {
- vmove usr/share/man/da
- }
-}
-
-manpages-cs_package() {
- short_desc+="${_desc} - Czech (Čeština)"
- pkg_install() {
- vmove usr/share/man/cs
- }
-}
diff --git a/srcpkgs/manpages-ro b/srcpkgs/manpages-ro
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-ro
+++ b/srcpkgs/manpages-ro
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-ru b/srcpkgs/manpages-ru
new file mode 120000
index 0000000000000..5eb955f7668c4
--- /dev/null
+++ b/srcpkgs/manpages-ru
@@ -0,0 +1 @@
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-sr b/srcpkgs/manpages-sr
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-sr
+++ b/srcpkgs/manpages-sr
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-sv b/srcpkgs/manpages-sv
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-sv
+++ b/srcpkgs/manpages-sv
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-uk b/srcpkgs/manpages-uk
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-uk
+++ b/srcpkgs/manpages-uk
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-vi b/srcpkgs/manpages-vi
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-vi
+++ b/srcpkgs/manpages-vi
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Updated] manpages-l10n: update to 4.17.0, add meta pkg, ...
2023-02-28 11:14 [PR PATCH] manpages-l10n: update to 4.17.0, add meta pkg, classabbyamp
` (2 preceding siblings ...)
2023-02-28 12:03 ` classabbyamp
@ 2023-02-28 17:46 ` classabbyamp
2023-02-28 17:47 ` Chocimier
2023-02-28 18:01 ` [PR PATCH] [Closed]: " classabbyamp
5 siblings, 0 replies; 7+ messages in thread
From: classabbyamp @ 2023-02-28 17:46 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 924 bytes --]
There is an updated pull request by classabbyamp against master on the void-packages repository
https://github.com/classabbyamp/void-packages update/manpages-l10n
https://github.com/void-linux/void-packages/pull/42500
manpages-l10n: update to 4.17.0, add meta pkg, ...
- make a meta-package to make the template a little nicer
- `manpages-pt-br` is now a subpackage instead of the main one
- modeled after `firefox{,-esr}-i18n` template
- fix borked short_descs for some subpackages
- new subpackage: `manpages-ru` (Russian language)
- use configure args to disable compression instead of a build-time hack
supercedes and closes #42498
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**|**briefly**|**NO**
A patch file from https://github.com/void-linux/void-packages/pull/42500.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-update/manpages-l10n-42500.patch --]
[-- Type: text/x-diff, Size: 13436 bytes --]
From eea65e45c6427cef23b23e3cd3b9a73015e8d1da Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Tue, 28 Feb 2023 05:41:59 -0500
Subject: [PATCH] manpages-l10n: update to 4.17.0, add meta pkg, ...
- make a meta-package to make the template a little nicer
- `manpages-pt-br` is now a subpackage instead of the main one
- modeled after `firefox{,-esr}-i18n` template
- fix borked short_descs for some subpackages
- new subpackage: `manpages-ru` (Russian language)
- use configure args to disable compression instead of a build-time hack
---
srcpkgs/manpages-cs | 2 +-
srcpkgs/manpages-da | 2 +-
srcpkgs/manpages-de | 2 +-
srcpkgs/manpages-el | 2 +-
srcpkgs/manpages-es | 2 +-
srcpkgs/manpages-fi | 2 +-
srcpkgs/manpages-fr | 2 +-
srcpkgs/manpages-hu | 2 +-
srcpkgs/manpages-id | 2 +-
srcpkgs/manpages-it | 2 +-
srcpkgs/manpages-l10n/template | 71 ++++++++
.../{manpages-pt-br => manpages-l10n}/update | 1 -
srcpkgs/manpages-mk | 2 +-
srcpkgs/manpages-nb | 2 +-
srcpkgs/manpages-nl | 2 +-
srcpkgs/manpages-pl | 2 +-
srcpkgs/manpages-pt-br | 1 +
srcpkgs/manpages-pt-br/template | 153 ------------------
srcpkgs/manpages-ro | 2 +-
srcpkgs/manpages-ru | 1 +
srcpkgs/manpages-sr | 2 +-
srcpkgs/manpages-sv | 2 +-
srcpkgs/manpages-uk | 2 +-
srcpkgs/manpages-vi | 2 +-
24 files changed, 92 insertions(+), 173 deletions(-)
create mode 100644 srcpkgs/manpages-l10n/template
rename srcpkgs/{manpages-pt-br => manpages-l10n}/update (79%)
create mode 120000 srcpkgs/manpages-pt-br
delete mode 100644 srcpkgs/manpages-pt-br/template
create mode 120000 srcpkgs/manpages-ru
diff --git a/srcpkgs/manpages-cs b/srcpkgs/manpages-cs
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-cs
+++ b/srcpkgs/manpages-cs
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-da b/srcpkgs/manpages-da
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-da
+++ b/srcpkgs/manpages-da
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-de b/srcpkgs/manpages-de
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-de
+++ b/srcpkgs/manpages-de
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-el b/srcpkgs/manpages-el
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-el
+++ b/srcpkgs/manpages-el
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-es b/srcpkgs/manpages-es
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-es
+++ b/srcpkgs/manpages-es
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-fi b/srcpkgs/manpages-fi
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-fi
+++ b/srcpkgs/manpages-fi
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-fr b/srcpkgs/manpages-fr
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-fr
+++ b/srcpkgs/manpages-fr
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-hu b/srcpkgs/manpages-hu
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-hu
+++ b/srcpkgs/manpages-hu
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-id b/srcpkgs/manpages-id
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-id
+++ b/srcpkgs/manpages-id
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-it b/srcpkgs/manpages-it
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-it
+++ b/srcpkgs/manpages-it
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-l10n/template b/srcpkgs/manpages-l10n/template
new file mode 100644
index 0000000000000..ff98046235203
--- /dev/null
+++ b/srcpkgs/manpages-l10n/template
@@ -0,0 +1,71 @@
+# Template file for 'manpages-l10n'
+pkgname=manpages-l10n
+version=4.17.0
+revision=1
+build_style=meta
+hostmakedepends="po4a"
+short_desc="Translations of manpages"
+maintainer="Érico Nogueira <ericonr@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://manpages-l10n-team.pages.debian.net/manpages-l10n/"
+changelog="https://salsa.debian.org/manpages-l10n-team/manpages-l10n/-/raw/master/CHANGES.md"
+distfiles="https://salsa.debian.org/manpages-l10n-team/manpages-l10n/-/archive/${version}/manpages-l10n-v${version}.tar.gz"
+checksum=0afbe8196b091d37bb25702185a903ff69622e3dfbbf400f54ccc1260dcaa4c4
+
+do_configure() {
+ ./configure --prefix=/usr --enable-compression=none
+}
+
+do_build() {
+ make ${makejobs}
+}
+
+do_install() {
+ make DESTDIR=${DESTDIR} install
+}
+
+post_install() {
+ find $DESTDIR -name '*systemd*' -delete
+}
+
+# lang name for package <space> description <space> dir name (if different)
+_languages=(
+ 'cs "Czech (Čeština)"'
+ 'da "Danish (Dansk)"'
+ 'de "German (Deutsch)"'
+ 'el "Greek (Ελληνικά)"'
+ 'es "Spanish (Español)"'
+ 'fi "Finnish (Suomi)"'
+ 'fr "French (Français)"'
+ 'hu "Hungarian (Magyar Nyelv)"'
+ 'id "Indonesian (Bahasa Indonesia)"'
+ 'it "Italian (Italiano)"'
+ 'mk "Macedonian (Македонски)"'
+ 'nb "Norwegian Bokmål (Bokmål)"'
+ 'nl "Dutch (Nederlands)"'
+ 'pl "Polish (Polski)"'
+ 'pt-br "Brazilian Portuguese (Português Brasileiro)" pt_BR'
+ 'ro "Romanian (Limba Română)"'
+ 'ru "Russian (Русский)"'
+ 'sr "Serbian (Српски Језик)"'
+ 'sv "Swedish (Svenska)"'
+ 'uk "Ukrainian (Украї́нська Мо́ва)"'
+ 'vi "Vietnamese (Tiếng Việt)"'
+)
+
+for _line in "${_languages[@]}"; do
+ _pkgname="manpages-${_line%% *}"
+ depends+=" ${_pkgname}"
+
+ eval "${_pkgname}_package() {
+ _pkgtmpl "$_line"
+ }"
+done
+
+_pkgtmpl() {
+ _lang="${3:-$1}"
+ short_desc+=" - $2"
+ pkg_install() {
+ vmove "usr/share/man/${_lang}"
+ }
+}
diff --git a/srcpkgs/manpages-pt-br/update b/srcpkgs/manpages-l10n/update
similarity index 79%
rename from srcpkgs/manpages-pt-br/update
rename to srcpkgs/manpages-l10n/update
index f8d78a094573d..189391b17e025 100644
--- a/srcpkgs/manpages-pt-br/update
+++ b/srcpkgs/manpages-l10n/update
@@ -1,3 +1,2 @@
-pkgname=manpages-l10n
site="https://salsa.debian.org/manpages-l10n-team/manpages-l10n/-/tags"
ignore="*pre*"
diff --git a/srcpkgs/manpages-mk b/srcpkgs/manpages-mk
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-mk
+++ b/srcpkgs/manpages-mk
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-nb b/srcpkgs/manpages-nb
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-nb
+++ b/srcpkgs/manpages-nb
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-nl b/srcpkgs/manpages-nl
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-nl
+++ b/srcpkgs/manpages-nl
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-pl b/srcpkgs/manpages-pl
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-pl
+++ b/srcpkgs/manpages-pl
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-pt-br b/srcpkgs/manpages-pt-br
new file mode 120000
index 0000000000000..5eb955f7668c4
--- /dev/null
+++ b/srcpkgs/manpages-pt-br
@@ -0,0 +1 @@
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-pt-br/template b/srcpkgs/manpages-pt-br/template
deleted file mode 100644
index 98ba79b4e7c82..0000000000000
--- a/srcpkgs/manpages-pt-br/template
+++ /dev/null
@@ -1,153 +0,0 @@
-# Template file for 'manpages-pt-br'
-pkgname=manpages-pt-br
-version=4.14.0
-revision=1
-_commit=2a0461feb98f408bac9454b87325aacb1dd014f2
-_prjname=manpages-l10n
-build_style=gnu-configure
-make_build_args="comp_extension= compressor=cat"
-hostmakedepends="po4a"
-_desc="Translations of manpages"
-short_desc="${_desc} - Brazilian Portuguese (Português Brasileiro)"
-maintainer="Érico Nogueira <ericonr@disroot.org>"
-license="GPL-3.0-or-later"
-homepage="https://manpages-l10n-team.pages.debian.net/manpages-l10n/"
-distfiles="https://salsa.debian.org/manpages-l10n-team/manpages-l10n/-/archive/${version}/${_prjname}-v${version}.tar.gz"
-checksum=33f9f867e958faa0b3a699d503809d56aed3eadfcc349d329a79b545071c544f
-
-post_install() {
- find $DESTDIR -name '*systemd*' -delete
-}
-
-manpages-nl_package() {
- short_desc="${_desc} - Dutch (Nederlands)"
- pkg_install() {
- vmove usr/share/man/nl
- }
-}
-
-manpages-fr_package() {
- short_desc="${_desc} - French (Français)"
- pkg_install() {
- vmove usr/share/man/fr
- }
-}
-
-manpages-de_package() {
- short_desc="${_desc} - German (Deutsch)"
- pkg_install() {
- vmove usr/share/man/de
- }
-}
-
-manpages-pl_package() {
- short_desc="${_desc} - Polish (Polski)"
- pkg_install() {
- vmove usr/share/man/pl
- }
-}
-
-manpages-ro_package() {
- short_desc="${_desc} - Romanian (Limba Română)"
- pkg_install() {
- vmove usr/share/man/ro
- }
-}
-
-manpages-vi_package() {
- short_desc+="${_desc} - Vietnamese (Tiếng Việt)"
- pkg_install() {
- vmove usr/share/man/vi
- }
-}
-
-manpages-uk_package() {
- short_desc+="${_desc} - Ukrainian (Украї́нська Мо́ва)"
- pkg_install() {
- vmove usr/share/man/uk
- }
-}
-
-manpages-sv_package() {
- short_desc+="${_desc} - Swedish (Svenska)"
- pkg_install() {
- vmove usr/share/man/sv
- }
-}
-
-manpages-sr_package() {
- short_desc+="${_desc} - Serbian (Српски Језик)"
- pkg_install() {
- vmove usr/share/man/sr
- }
-}
-
-manpages-nb_package() {
- short_desc+="${_desc} - Norwegian Bokmål (Bokmål)"
- pkg_install() {
- vmove usr/share/man/nb
- }
-}
-
-manpages-mk_package() {
- short_desc+="${_desc} - Macedonian (Македонски)"
- pkg_install() {
- vmove usr/share/man/mk
- }
-}
-
-manpages-it_package() {
- short_desc+="${_desc} - Italian (Italiano)"
- pkg_install() {
- vmove usr/share/man/it
- }
-}
-
-manpages-id_package() {
- short_desc+="${_desc} - Indonesian (Bahasa Indonesia)"
- pkg_install() {
- vmove usr/share/man/id
- }
-}
-
-manpages-hu_package() {
- short_desc+="${_desc} - Hungarian (Magyar Nyelv)"
- pkg_install() {
- vmove usr/share/man/hu
- }
-}
-
-manpages-fi_package() {
- short_desc+="${_desc} - Finnish (Suomi)"
- pkg_install() {
- vmove usr/share/man/fi
- }
-}
-
-manpages-es_package() {
- short_desc+="${_desc} - Spanish (Español)"
- pkg_install() {
- vmove usr/share/man/es
- }
-}
-
-manpages-el_package() {
- short_desc+="${_desc} - Greek (Ελληνικά)"
- pkg_install() {
- vmove usr/share/man/el
- }
-}
-
-manpages-da_package() {
- short_desc+="${_desc} - Danish (Dansk)"
- pkg_install() {
- vmove usr/share/man/da
- }
-}
-
-manpages-cs_package() {
- short_desc+="${_desc} - Czech (Čeština)"
- pkg_install() {
- vmove usr/share/man/cs
- }
-}
diff --git a/srcpkgs/manpages-ro b/srcpkgs/manpages-ro
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-ro
+++ b/srcpkgs/manpages-ro
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-ru b/srcpkgs/manpages-ru
new file mode 120000
index 0000000000000..5eb955f7668c4
--- /dev/null
+++ b/srcpkgs/manpages-ru
@@ -0,0 +1 @@
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-sr b/srcpkgs/manpages-sr
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-sr
+++ b/srcpkgs/manpages-sr
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-sv b/srcpkgs/manpages-sv
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-sv
+++ b/srcpkgs/manpages-sv
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-uk b/srcpkgs/manpages-uk
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-uk
+++ b/srcpkgs/manpages-uk
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
diff --git a/srcpkgs/manpages-vi b/srcpkgs/manpages-vi
index 3cf72f5bb89af..5eb955f7668c4 120000
--- a/srcpkgs/manpages-vi
+++ b/srcpkgs/manpages-vi
@@ -1 +1 @@
-manpages-pt-br
\ No newline at end of file
+manpages-l10n
\ No newline at end of file
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: manpages-l10n: update to 4.17.0, add meta pkg, ...
2023-02-28 11:14 [PR PATCH] manpages-l10n: update to 4.17.0, add meta pkg, classabbyamp
` (3 preceding siblings ...)
2023-02-28 17:46 ` classabbyamp
@ 2023-02-28 17:47 ` Chocimier
2023-02-28 18:01 ` [PR PATCH] [Closed]: " classabbyamp
5 siblings, 0 replies; 7+ messages in thread
From: Chocimier @ 2023-02-28 17:47 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 327 bytes --]
New comment by Chocimier on void-packages repository
https://github.com/void-linux/void-packages/pull/42500#issuecomment-1448607274
Comment:
there was no meta package to make sure actual packages are not empty, as `build_style=meta` leaks into subpackages, see #24443
Also little repetiton looks better than eval in loop.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Closed]: manpages-l10n: update to 4.17.0, add meta pkg, ...
2023-02-28 11:14 [PR PATCH] manpages-l10n: update to 4.17.0, add meta pkg, classabbyamp
` (4 preceding siblings ...)
2023-02-28 17:47 ` Chocimier
@ 2023-02-28 18:01 ` classabbyamp
5 siblings, 0 replies; 7+ messages in thread
From: classabbyamp @ 2023-02-28 18:01 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 745 bytes --]
There's a closed pull request on the void-packages repository
manpages-l10n: update to 4.17.0, add meta pkg, ...
https://github.com/void-linux/void-packages/pull/42500
Description:
- make a meta-package to make the template a little nicer
- `manpages-pt-br` is now a subpackage instead of the main one
- modeled after `firefox{,-esr}-i18n` template
- fix borked short_descs for some subpackages
- new subpackage: `manpages-ru` (Russian language)
- use configure args to disable compression instead of a build-time hack
supercedes and closes #42498
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**|**briefly**|**NO**
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2023-02-28 18:01 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-28 11:14 [PR PATCH] manpages-l10n: update to 4.17.0, add meta pkg, classabbyamp
2023-02-28 11:52 ` [PR PATCH] [Updated] " classabbyamp
2023-02-28 12:02 ` classabbyamp
2023-02-28 12:03 ` classabbyamp
2023-02-28 17:46 ` classabbyamp
2023-02-28 17:47 ` Chocimier
2023-02-28 18:01 ` [PR PATCH] [Closed]: " classabbyamp
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).