From: oreo639 <oreo639@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] gtranslator: update to 45.3.
Date: Fri, 23 Feb 2024 15:07:54 +0100 [thread overview]
Message-ID: <20240223140754.64E7625495@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-48896@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1249 bytes --]
There is an updated pull request by oreo639 against master on the void-packages repository
https://github.com/oreo639/void-packages gtranslator
https://github.com/void-linux/void-packages/pull/48896
gtranslator: update to 45.3.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### 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/48896.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gtranslator-48896.patch --]
[-- Type: text/x-diff, Size: 5098 bytes --]
From e5ff7e47dc5820e7e0c8c136ad647e9016a410cf Mon Sep 17 00:00:00 2001
From: oreo639 <oreo6391@gmail.com>
Date: Fri, 23 Feb 2024 05:36:02 -0800
Subject: [PATCH 1/2] libgda: disable libgda-web provider
Avoid conflict in gtranslator 45 with libsoup3 and libsoup2.
Also add missing dependency for sqlite provider.
---
srcpkgs/libgda/template | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/libgda/template b/srcpkgs/libgda/template
index f70e258544cda9..b2523574aa1046 100644
--- a/srcpkgs/libgda/template
+++ b/srcpkgs/libgda/template
@@ -1,16 +1,18 @@
# Template file for 'libgda'
pkgname=libgda
version=5.2.9
-revision=6
+revision=7
build_style=gnu-configure
build_helper="gir"
configure_args="--with-ui --with-gtksourceview --with-graphviz --enable-json
- --enable-system-sqlite"
+ --enable-system-sqlite --without-libsoup"
hostmakedepends="automake pkg-config intltool itstool flex perl glib-devel recode"
makedepends="gtk+3-devel libxml2-devel libxslt-devel
- openssl-devel libgcrypt-devel sqlite-devel db-devel libsoup-devel
+ openssl-devel libgcrypt-devel sqlite-devel db-devel
libsecret-devel libgnome-keyring-devel gtksourceview-devel graphviz-devel
json-glib-devel readline-devel libmariadbclient-devel"
+depends="sqlite"
+checkdepends="xvfb-run"
conf_files="/etc/libgda-5.0/config"
short_desc="Database and data abstraction layer"
maintainer="Orphaned <orphan@voidlinux.org>"
@@ -18,6 +20,7 @@ license="GPL-2.0-only"
homepage="http://www.gnome-db.org/"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=59caed8ca72b1ac6437c9844f0677f8a296d52cfd1c0049116026abfb1d87d9b
+make_check_pre=xvfb-run
python_version=3
if [ "$CROSS_BUILD" ]; then
@@ -33,6 +36,11 @@ post_extract() {
vsed -e 's,defined(LIBRESSL,!defined(OPENSSL,' -i providers/sqlcipher/sqlite3.c
}
+do_check() {
+ # Tests cannot run multithreaded
+ ${make_check_pre} make check
+}
+
libgda-devel_package() {
short_desc+=" - development files"
depends="libxslt-devel libgda>=${version}_${revision}"
From ff647b79c34e1e6fd3687a458f9da61fdf4fb557 Mon Sep 17 00:00:00 2001
From: oreo639 <oreo6391@gmail.com>
Date: Fri, 23 Feb 2024 05:39:40 -0800
Subject: [PATCH 2/2] gtranslator: update to 45.3.
---
srcpkgs/gtranslator/patches/meson-0.61.patch | 36 --------------------
srcpkgs/gtranslator/template | 16 +++++----
2 files changed, 10 insertions(+), 42 deletions(-)
delete mode 100644 srcpkgs/gtranslator/patches/meson-0.61.patch
diff --git a/srcpkgs/gtranslator/patches/meson-0.61.patch b/srcpkgs/gtranslator/patches/meson-0.61.patch
deleted file mode 100644
index 54063041fe1663..00000000000000
--- a/srcpkgs/gtranslator/patches/meson-0.61.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From 7ac572cc8c8c37ca3826ecf0d395edd3c38e8e22 Mon Sep 17 00:00:00 2001
-From: Jan Beich <jbeich@FreeBSD.org>
-Date: Mon, 24 Jan 2022 11:57:43 +0000
-Subject: [PATCH] meson: drop unused argument for i18n.merge_file()
-
-Ignored in Meson < 0.60.0, deprecated since 0.60.1 and fatal since 0.61.0.
-
-data/meson.build:15:0: ERROR: Function does not take positional arguments.
-data/meson.build:37:0: ERROR: Function does not take positional arguments.
----
- data/meson.build | 2 --
- 1 file changed, 2 deletions(-)
-
-diff --git a/data/meson.build b/data/meson.build
-index 2ca0be0b..2ebbfb12 100644
---- a/data/meson.build
-+++ b/data/meson.build
-@@ -13,7 +13,6 @@ desktop_in = configure_file(
- )
-
- i18n.merge_file(
-- desktop,
- type: 'desktop',
- input: desktop_in,
- output: '@0@.desktop'.format(gtr_app_id),
-@@ -35,7 +34,6 @@ appdata_in = configure_file(
- )
-
- i18n.merge_file(
-- appdata,
- input: appdata_in,
- output: appdata,
- po_dir: po_dir,
---
-GitLab
-
diff --git a/srcpkgs/gtranslator/template b/srcpkgs/gtranslator/template
index 9f5b702461df2b..3e97ea3ef389d3 100644
--- a/srcpkgs/gtranslator/template
+++ b/srcpkgs/gtranslator/template
@@ -1,16 +1,20 @@
# Template file for 'gtranslator'
pkgname=gtranslator
-version=40.0
+version=45.3
revision=1
build_style=meson
-hostmakedepends="gettext pkg-config glib-devel itstool"
+hostmakedepends="gettext pkg-config glib-devel itstool gtk-update-icon-cache"
makedepends="gettext-devel libglib-devel libdazzle-devel libsoup-devel
- gsettings-desktop-schemas-devel gtk+3-devel gspell-devel
- libxml2-devel json-glib-devel gtksourceview4-devel libgda-devel
- libhandy1-devel"
+ gsettings-desktop-schemas-devel gtk4-devel libadwaita-devel gspell-devel
+ libxml2-devel json-glib-devel gtksourceview5-devel libgda-devel"
short_desc="GNOME translation making program"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://wiki.gnome.org/Apps/Gtranslator"
distfiles="${GNOME_SITE}/gtranslator/${version%.*}/gtranslator-${version}.tar.xz"
-checksum=ec3eba36dee1c549377d1475aef71748dbaebd295005e1990ea9821f02b38834
+checksum=3010204df5c7a5ae027f5a30b1544d6977d417f0e4bb9de297f0ad1a80331873
+
+post_patch() {
+ vsed -e "s/dependency('libgda-6.0'/dependency('libgda-5.0'/" \
+ -i meson.build
+}
next prev parent reply other threads:[~2024-02-23 14:07 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-23 13:44 [PR PATCH] " oreo639
2024-02-23 13:56 ` [PR PATCH] [Updated] " oreo639
2024-02-23 14:07 ` oreo639 [this message]
2024-02-23 14:08 ` oreo639
2024-02-25 2:03 ` oreo639
2024-02-25 2:15 ` [PR PATCH] [Merged]: " oreo639
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=20240223140754.64E7625495@inbox.vuxu.org \
--to=oreo639@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).