Github messages for voidlinux
 help / color / mirror / Atom feed
From: paper42 <paper42@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] json-glib, appstream-glib, phodav, ...: build translations
Date: Fri, 18 Nov 2022 13:11:02 +0100	[thread overview]
Message-ID: <20221118121102.CCa1NhcqlEre3fTGZocn9w808UuKD81SEaT8N8YQNQk@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-40365@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1290 bytes --]

There is an updated pull request by paper42 against master on the void-packages repository

https://github.com/paper42/void-packages build-translations
https://github.com/void-linux/void-packages/pull/40365

json-glib, appstream-glib, phodav, ...: build translations
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/40365.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-build-translations-40365.patch --]
[-- Type: text/x-diff, Size: 9905 bytes --]

From 24dc1e1c5b6c1c3c78e3406d9401ed3e859bac38 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Sun, 6 Nov 2022 19:25:14 +0100
Subject: [PATCH 1/9] json-glib: build translations, remove tests

---
 srcpkgs/json-glib/template | 18 +++++++++++++-----
 1 file changed, 13 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/json-glib/template b/srcpkgs/json-glib/template
index 2905530efee4..14448c6ec3d6 100644
--- a/srcpkgs/json-glib/template
+++ b/srcpkgs/json-glib/template
@@ -1,29 +1,37 @@
 # Template file for 'json-glib'
 pkgname=json-glib
 version=1.6.6
-revision=1
+revision=2
 build_style=meson
 build_helper="gir"
 configure_args="-Dintrospection=$(vopt_if gir enabled disabled)"
-hostmakedepends="pkg-config glib-devel"
+hostmakedepends="pkg-config glib-devel gettext"
 makedepends="libglib-devel"
 short_desc="JSON parser for GLib-based libraries and applications"
 maintainer="skmpz <dem.procopiou@gmail.com>"
 license="LGPL-2.1-or-later"
 homepage="http://live.gnome.org/JsonGlib"
-distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
+changelog="https://gitlab.gnome.org/GNOME/json-glib/-/raw/master/NEWS"
+distfiles="${GNOME_SITE}/json-glib/${version%.*}/json-glib-${version}.tar.xz"
 checksum=96ec98be7a91f6dde33636720e3da2ff6ecbb90e76ccaa49497f31a6855a490e
 
 # Package build options
 build_options="gir"
 build_options_default="gir"
 
+post_install() {
+	rm -r ${DESTDIR}/usr/share/installed-tests
+	rm -r ${DESTDIR}/usr/libexec/installed-tests
+}
+
 json-glib-devel_package() {
-	depends="libglib-devel ${sourcepkg}-${version}_${revision}"
+	depends="libglib-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"
 	pkg_install() {
 		vmove usr/include
-		vmove usr/share
+		if [ "$build_option_gir" ]; then
+			vmove usr/share/gir-1.0
+		fi
 		vmove usr/lib/pkgconfig
 		vmove "usr/lib/*.so"
 	}

From 8c6b87e859aa477dc457d7dc20da676d35a7bd7e Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Sun, 6 Nov 2022 19:30:03 +0100
Subject: [PATCH 2/9] appstream-glib: build translations

---
 srcpkgs/appstream-glib/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/appstream-glib/template b/srcpkgs/appstream-glib/template
index ef5baf1afdf9..a84d7ae9d212 100644
--- a/srcpkgs/appstream-glib/template
+++ b/srcpkgs/appstream-glib/template
@@ -1,12 +1,12 @@
 # Template file for 'appstream-glib'
 pkgname=appstream-glib
 version=0.8.1
-revision=1
+revision=2
 build_style=meson
 build_helper="gir"
 configure_args="-Dgtk-doc=false -Drpm=false -Dstemmer=false
  -Dintrospection=$(vopt_if gir true false)"
-hostmakedepends="gcab gperf pkg-config glib-devel"
+hostmakedepends="gcab gperf pkg-config glib-devel gettext"
 makedepends="gcab-devel gtk+3-devel json-glib-devel libarchive-devel
  libcurl-devel libyaml-devel"
 short_desc="Install and update applications"

From 7221c5f1cbcf600c8ec8f849f56cc49dfaa63855 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Sun, 6 Nov 2022 19:30:03 +0100
Subject: [PATCH 3/9] phodav: build translations

---
 srcpkgs/phodav/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/phodav/template b/srcpkgs/phodav/template
index eac226f7b8e6..73e2f543910f 100644
--- a/srcpkgs/phodav/template
+++ b/srcpkgs/phodav/template
@@ -1,10 +1,10 @@
 # Template file for 'phodav'
 pkgname=phodav
 version=3.0
-revision=1
+revision=2
 build_style=meson
 configure_args="-Davahi=enabled -Dgtk_doc=disabled"
-hostmakedepends="pkg-config"
+hostmakedepends="pkg-config gettext"
 makedepends="libglib-devel libsoup3-devel libxml2-devel avahi-glib-libs-devel
  eudev-libudev-devel"
 short_desc="GNOME Web Dav implementation"

From 74f56b835398f7e8021020ab43d6d8a6f51f52e1 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Sun, 6 Nov 2022 19:30:03 +0100
Subject: [PATCH 4/9] gtksourceview4: build translations

---
 srcpkgs/gtksourceview4/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/gtksourceview4/template b/srcpkgs/gtksourceview4/template
index b101596fdebf..58e05d7f20df 100644
--- a/srcpkgs/gtksourceview4/template
+++ b/srcpkgs/gtksourceview4/template
@@ -1,13 +1,13 @@
 # Template file for 'gtksourceview4'
 pkgname=gtksourceview4
 version=4.8.2
-revision=1
+revision=2
 build_style=meson
 build_helper="gir"
 configure_args="-Dglade_catalog=true $(vopt_bool gir gir)
  $(vopt_bool gir vapi) $(vopt_bool gtk_doc gtk_doc)"
 hostmakedepends="gtk+3-devel glib-devel itstool libxslt pkg-config
- $(vopt_if gir vala) $(vopt_if gtk_doc gtk-doc)"
+ $(vopt_if gir vala) $(vopt_if gtk_doc gtk-doc) gettext"
 makedepends="glade3-devel gtk+3-devel libglib-devel libxml2-devel
  $(vopt_if gir vala)"
 short_desc="Text widget that extends GTK+ GtkTextView widget"

From 30e1ed606caa1099fbba5e641d933eb3d0003724 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Sun, 6 Nov 2022 19:30:03 +0100
Subject: [PATCH 5/9] libdazzle: build translations

---
 srcpkgs/libdazzle/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/libdazzle/template b/srcpkgs/libdazzle/template
index 590dce06ffe5..45c55a599a29 100644
--- a/srcpkgs/libdazzle/template
+++ b/srcpkgs/libdazzle/template
@@ -1,13 +1,13 @@
 # Template file for 'libdazzle'
 pkgname=libdazzle
 version=3.44.0
-revision=1
+revision=2
 build_style=meson
 build_helper="gir"
 configure_args="-Denable_gtk_doc=false
  $(vopt_bool gir with_vapi)
  $(vopt_bool gir with_introspection)"
-hostmakedepends="glib-devel pkg-config $(vopt_if gir vala)"
+hostmakedepends="glib-devel pkg-config $(vopt_if gir vala) gettext"
 makedepends="gtk+3-devel libglib-devel"
 checkdepends="xvfb-run"
 short_desc="Library to delight your users with fancy features"

From 468579426950ed66a4da5d6a3f927fdcad3d861a Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Sun, 6 Nov 2022 19:30:04 +0100
Subject: [PATCH 6/9] spice-gtk: build translations

---
 srcpkgs/spice-gtk/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/spice-gtk/template b/srcpkgs/spice-gtk/template
index 344f91ce2de8..3afa0268ee9f 100644
--- a/srcpkgs/spice-gtk/template
+++ b/srcpkgs/spice-gtk/template
@@ -1,7 +1,7 @@
 # Template file for 'spice-gtk'
 pkgname=spice-gtk
 version=0.41
-revision=2
+revision=3
 build_style=meson
 build_helper="gir"
 configure_args="-Dintrospection=$(vopt_if gir enabled disabled)
@@ -9,7 +9,7 @@ configure_args="-Dintrospection=$(vopt_if gir enabled disabled)
  -Dusbredir=enabled -Dpolkit=enabled -Dlz4=enabled -Dopus=enabled
  -Dusb-ids-path=/usr/share/hwdata/usb.ids -Dgtk_doc=disabled"
 hostmakedepends="pkg-config $(vopt_if vala vala) glib-devel
- spice-protocol python3-six python3-parsing perl"
+ spice-protocol python3-six python3-parsing perl gettext"
 makedepends="acl-devel liblz4-devel pixman-devel opus-devel openssl-devel
  libsasl-devel gtk+3-devel libjpeg-turbo-devel polkit-devel libsoup3-devel
  usbredir-devel spice-protocol json-glib-devel libglib-devel libva-devel

From 32b64684599183781dd5e94db5885f2dd5f48f9b Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Sun, 6 Nov 2022 19:30:04 +0100
Subject: [PATCH 7/9] osinfo-db-tools: build translations

---
 srcpkgs/osinfo-db-tools/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/osinfo-db-tools/template b/srcpkgs/osinfo-db-tools/template
index 89edbf989ac1..40cf51a68732 100644
--- a/srcpkgs/osinfo-db-tools/template
+++ b/srcpkgs/osinfo-db-tools/template
@@ -1,9 +1,9 @@
 # Template file for 'osinfo-db-tools'
 pkgname=osinfo-db-tools
 version=1.10.0
-revision=1
+revision=2
 build_style=meson
-hostmakedepends="pkg-config perl"
+hostmakedepends="pkg-config perl gettext"
 makedepends="libglib-devel libarchive-devel libxslt-devel
  json-glib-devel libsoup3-devel"
 checkdepends="python3-pytest python3-requests"

From ca237cebc89f37f2c4b08b41e9f53188a6151d9f Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Sun, 6 Nov 2022 19:30:04 +0100
Subject: [PATCH 8/9] wireplumber: build translations

---
 srcpkgs/wireplumber/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/wireplumber/template b/srcpkgs/wireplumber/template
index 823a4cb1e082..9b54c0434be9 100644
--- a/srcpkgs/wireplumber/template
+++ b/srcpkgs/wireplumber/template
@@ -1,11 +1,11 @@
 # Template file for 'wireplumber'
 pkgname=wireplumber
 version=0.4.12
-revision=1
+revision=2
 build_style=meson
 build_helper=gir
 configure_args="-Dintrospection=enabled -Dsystem-lua=true"
-hostmakedepends="pkg-config glib-devel python3-lxml doxygen"
+hostmakedepends="pkg-config glib-devel python3-lxml doxygen gettext"
 makedepends="libglib-devel pipewire-devel lua54-devel"
 checkdepends="pipewire dbus"
 short_desc="Session and policy manager implementation for PipeWire"

From 4a8b3323cc5e8d8aef0c9e2e6ba75ba30139355f Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Sun, 6 Nov 2022 19:30:04 +0100
Subject: [PATCH 9/9] lightdm-webkit2-greeter: build translations

---
 srcpkgs/lightdm-webkit2-greeter/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/lightdm-webkit2-greeter/template b/srcpkgs/lightdm-webkit2-greeter/template
index 98129a58bd3a..99d56791bae2 100644
--- a/srcpkgs/lightdm-webkit2-greeter/template
+++ b/srcpkgs/lightdm-webkit2-greeter/template
@@ -1,9 +1,9 @@
 # Template file for 'lightdm-webkit2-greeter'
 pkgname=lightdm-webkit2-greeter
 version=2.2.5
-revision=3
+revision=4
 build_style=meson
-hostmakedepends="pkg-config glib-devel"
+hostmakedepends="pkg-config glib-devel gettext"
 makedepends="accountsservice-devel gnome-backgrounds lightdm-devel
  webkit2gtk-devel dbus-glib-devel libxklavier-devel"
 depends="void-artwork lightdm"

  parent reply	other threads:[~2022-11-18 12:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-06 18:37 [PR PATCH] " paper42
2022-11-08 17:13 ` [PR PATCH] [Updated] " paper42
2022-11-08 22:12 ` paper42
2022-11-18 12:11 ` paper42 [this message]
2022-11-18 13:51 ` [PR PATCH] [Merged]: " paper42

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221118121102.CCa1NhcqlEre3fTGZocn9w808UuKD81SEaT8N8YQNQk@z \
    --to=paper42@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).