Github messages for voidlinux
 help / color / mirror / Atom feed
From: cinerea0 <cinerea0@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] fragments: update to 2.1
Date: Tue, 31 Jan 2023 03:27:18 +0100	[thread overview]
Message-ID: <20230131022718.NH8JcrIz6Dt-widIwdFmhxHngyKYOipvhV_Ci5nx2qI@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-41459@inbox.vuxu.org>

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

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

https://github.com/cinerea0/void-packages frag
https://github.com/void-linux/void-packages/pull/41459

fragments: update to 2.1
#### Testing the changes
- I tested the changes in this PR: **YES**


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

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

From 81f6c65fb08cbf72012e959df1cebb1ad2119bbc Mon Sep 17 00:00:00 2001
From: cinerea0 <cinerea0@disroot.org>
Date: Mon, 30 Jan 2023 21:26:53 -0500
Subject: [PATCH] fragments: update to 2.1

---
 srcpkgs/fragments/patches/no-git.patch | 14 ++++++++------
 srcpkgs/fragments/template             | 11 +++++------
 2 files changed, 13 insertions(+), 12 deletions(-)

diff --git a/srcpkgs/fragments/patches/no-git.patch b/srcpkgs/fragments/patches/no-git.patch
index 2fdc1521e03d..ecabe0e7804b 100644
--- a/srcpkgs/fragments/patches/no-git.patch
+++ b/srcpkgs/fragments/patches/no-git.patch
@@ -1,11 +1,13 @@
+diff --git a/meson.build b/meson.build
+index 0cb46023cc..eec7e4f694 100644
 --- a/meson.build
 +++ b/meson.build
-@@ -17,7 +17,7 @@
- name       = 'Fragments'
- app_id     = 'de.haeckerfelix.Fragments'
- profile    = get_option('profile')
+@@ -20,7 +20,7 @@ name       = 'Fragments'
+ base_id    = 'de.haeckerfelix.Fragments'
+ path_id    = '/de/haeckerfelix/Fragments'
+ app_id     = base_id
 -vcs_tag    = run_command('git', 'rev-parse', '--short', 'HEAD').stdout().strip()
 +vcs_tag    = 'none'
+ profile    = get_option('profile')
+ datadir    = join_paths(get_option('prefix'), get_option('datadir'))
  localedir  = join_paths(get_option('prefix'), get_option('localedir'))
- datadir    = get_option('datadir')
- pkgdatadir = join_paths(get_option('prefix'), datadir, meson.project_name())
diff --git a/srcpkgs/fragments/template b/srcpkgs/fragments/template
index ec3a4f9bd315..f0999c7d6fc3 100644
--- a/srcpkgs/fragments/template
+++ b/srcpkgs/fragments/template
@@ -1,10 +1,10 @@
 # Template file for 'fragments'
 pkgname=fragments
-version=2.0.2
+version=2.1
 revision=1
 build_style=meson
 build_helper="rust"
-hostmakedepends="cargo pkg-config gettext glib-devel"
+hostmakedepends="desktop-file-utils cargo pkg-config gettext glib-devel"
 makedepends="sqlite-devel gtk4-devel libadwaita-devel libglib-devel dbus-devel
  openssl-devel rust-std"
 short_desc="BitTorrent Client"
@@ -12,12 +12,11 @@ maintainer="Michal Vasilek <michal@vasilek.cz>"
 license="GPL-3.0-or-later"
 homepage="https://gitlab.gnome.org/World/Fragments"
 distfiles="https://gitlab.gnome.org/World/Fragments/-/archive/$version/Fragments-$version.tar.gz"
-checksum=a3f32771e82aaac33ce1fbe40f83204fb6fade20d5cbffbd862b30ce9d8dedcf
+checksum=26e20d8cca8b7a2542b2d0e808d10dda082de52037dd8826ec6b00f0437f4564
 
 post_patch() {
 	if [ "$CROSS_BUILD" ]; then
-		vsed -i build-aux/cargo.sh \
-			-e 's%"$CARGO_TARGET_DIR"/%&${RUST_TARGET}/%' \
-			-e '/CARGO_HOME/d'
+		vsed -i src/meson.build \
+		 	-e "s%rust_target /%'${RUST_TARGET}' / rust_target /%"
 	fi
 }

  parent reply	other threads:[~2023-01-31  2:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-05  2:07 [PR PATCH] " cinerea0
2023-01-11 22:57 ` paper42
2023-01-31  2:27 ` cinerea0 [this message]
2023-01-31  2:46 ` [PR PATCH] [Updated] " cinerea0
2023-01-31  3:32 ` cinerea0
2023-01-31 23:00 ` paper42
2023-01-31 23:01 ` [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=20230131022718.NH8JcrIz6Dt-widIwdFmhxHngyKYOipvhV_Ci5nx2qI@z \
    --to=cinerea0@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).