Github messages for voidlinux
 help / color / mirror / Atom feed
From: chrysos349 <chrysos349@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: loupe-45.3
Date: Wed, 20 Mar 2024 09:24:53 +0100	[thread overview]
Message-ID: <20240320082454.8BCD1200FA@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-48093@inbox.vuxu.org>

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

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

https://github.com/chrysos349/void-packages loupe
https://github.com/void-linux/void-packages/pull/48093

New package: loupe-45.3
this app is a part of gnome-45 #48762

#### 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**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl x
  - armv7l x
  - armv6l-musl x

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

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

From 6b618b2ac26e577ae1b110915767082a54a6de4a Mon Sep 17 00:00:00 2001
From: chrysos349 <chrysostom349@gmail.com>
Date: Sun, 7 Jan 2024 01:32:28 +0300
Subject: [PATCH 1/2] New package: glycin-loaders-0.1.2

---
 srcpkgs/glycin-loaders/template | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 srcpkgs/glycin-loaders/template

diff --git a/srcpkgs/glycin-loaders/template b/srcpkgs/glycin-loaders/template
new file mode 100644
index 00000000000000..134dbfdd3f3fc9
--- /dev/null
+++ b/srcpkgs/glycin-loaders/template
@@ -0,0 +1,28 @@
+# Template file for 'glycin-loaders'
+pkgname=glycin-loaders
+version=0.1.2
+revision=1
+build_style=meson
+build_helper=rust
+configure_args="-Dtest_skip_install=true"
+hostmakedepends="cargo gettext pkg-config"
+makedepends="gtk4-devel libheif-devel rust-std"
+short_desc="Sandboxed and extendable image decoding"
+maintainer="chrysos349 <chrysostom349@gmail.com>"
+license="MPL-2.0"
+homepage="https://gitlab.gnome.org/sophie-h/glycin"
+changelog="https://gitlab.gnome.org/sophie-h/glycin/-/raw/main/NEWS"
+distfiles="${GNOME_SITE}/glycin-loaders/${version%.*}/${pkgname}-${version}.tar.xz"
+checksum=c76c01925abd070174589ccb916a44a573ab65b1e9d493f154e42756431e6dd7
+make_check=no # needs to be installed to run tests
+
+post_patch() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i loaders/meson.build \
+			-e "s%rust_target /%'${RUST_TARGET}' / &%"
+	fi
+
+	# loaders/meson.build tries to call git to get hash for debug builds.
+	# Disable as it is useless for tarball builds.
+	ln -sf /bin/false ${XBPS_WRAPPERDIR}/git
+}

From 6f3aedadcad937fe6ff8a7ad8c5548007c86f54f Mon Sep 17 00:00:00 2001
From: chrysos349 <chrysostom349@gmail.com>
Date: Sun, 7 Jan 2024 01:33:02 +0300
Subject: [PATCH 2/2] New package: loupe-45.3

---
 srcpkgs/loupe/template | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 srcpkgs/loupe/template

diff --git a/srcpkgs/loupe/template b/srcpkgs/loupe/template
new file mode 100644
index 00000000000000..63d0912259bc52
--- /dev/null
+++ b/srcpkgs/loupe/template
@@ -0,0 +1,24 @@
+# Template file for 'loupe'
+pkgname=loupe
+version=45.3
+revision=1
+build_style=meson
+build_helper=rust
+hostmakedepends="cargo desktop-file-utils gettext gtk4-update-icon-cache
+ itstool pkg-config"
+makedepends="lcms2-devel libadwaita-devel libgweather-devel rust-std"
+depends="glycin-loaders"
+short_desc="Simple image viewer for GNOME"
+maintainer="chrysos349 <chrysostom349@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://gitlab.gnome.org/GNOME/loupe"
+changelog="https://gitlab.gnome.org/GNOME/loupe/-/raw/main/NEWS"
+distfiles="${GNOME_SITE}/loupe/${version%.*}/loupe-${version}.tar.xz"
+checksum=f65f2d1208d085ab5ffa998dd43c92fe952272d4d59b51cfecc11ebdffca2d86
+
+post_patch() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i src/meson.build \
+			-e "s%rust_target /%'${RUST_TARGET}' / &%"
+	fi
+}

  parent reply	other threads:[~2024-03-20  8:24 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-06 22:37 [PR PATCH] " chrysos349
2024-03-19  6:17 ` oreo639
2024-03-19  6:18 ` oreo639
2024-03-19  6:23 ` oreo639
2024-03-19  7:14 ` oreo639
2024-03-19  7:17 ` [PR REVIEW] " oreo639
2024-03-19  7:47 ` oreo639
2024-03-19  7:51 ` oreo639
2024-03-20  8:24 ` chrysos349 [this message]
2024-03-20  8:51 ` chrysos349
2024-03-20 10:46 ` [PR PATCH] [Updated] " chrysos349
2024-03-20 10:46 ` chrysos349
2024-03-20 21:13 ` [PR PATCH] [Merged]: New package: loupe-46.0 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=20240320082454.8BCD1200FA@inbox.vuxu.org \
    --to=chrysos349@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).