Github messages for voidlinux
 help / color / mirror / Atom feed
From: oreo639 <oreo639@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] gtranslator: update to 45.3.
Date: Fri, 23 Feb 2024 14:44:34 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-48896@inbox.vuxu.org> (raw)

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

There is a new 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: 4347 bytes --]

From 685df2dbb0c44ddd7521d299bfd798115fd1ffa6 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 | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/libgda/template b/srcpkgs/libgda/template
index f70e258544cda9..367f13e07a97ed 100644
--- a/srcpkgs/libgda/template
+++ b/srcpkgs/libgda/template
@@ -1,16 +1,17 @@
 # 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"
 conf_files="/etc/libgda-5.0/config"
 short_desc="Database and data abstraction layer"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 77079adafca0a6e12da105376edb1133bc2d9310 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                 | 14 +++++---
 2 files changed, 9 insertions(+), 41 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..dc408b139c1958 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"
 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
+}

             reply	other threads:[~2024-02-23 13:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-23 13:44 oreo639 [this message]
2024-02-23 13:56 ` [PR PATCH] [Updated] " oreo639
2024-02-23 14:07 ` oreo639
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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-48896@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).