Github messages for voidlinux
 help / color / mirror / Atom feed
From: iFoundSilentHouse <iFoundSilentHouse@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: geopard-1.4.0
Date: Sun, 07 Apr 2024 19:09:02 +0200	[thread overview]
Message-ID: <20240407170902.170F421731@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-49717@inbox.vuxu.org>

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

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

https://github.com/iFoundSilentHouse/void-packages geopard-1.4.0
https://github.com/void-linux/void-packages/pull/49717

New package: geopard-1.4.0
#### 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): **system, compiled**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures:
  - x86_64-musl
  - i686
  - aarch64(**cross**)
  - armv7l(**cross**)

Closes https://github.com/void-linux/void-packages/issues/48903

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

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

From f86ca65d4777e8402984ef3b936af0b02d3faa5a Mon Sep 17 00:00:00 2001
From: IFoundSilentHouse <adeptslab@gmail.com>
Date: Fri, 5 Apr 2024 15:27:24 +0600
Subject: [PATCH] New package: geopard-1.4.0

---
 srcpkgs/geopard/patches/000-appstream.patch | 13 +++++++++
 srcpkgs/geopard/template                    | 29 +++++++++++++++++++++
 2 files changed, 42 insertions(+)
 create mode 100644 srcpkgs/geopard/patches/000-appstream.patch
 create mode 100644 srcpkgs/geopard/template

diff --git a/srcpkgs/geopard/patches/000-appstream.patch b/srcpkgs/geopard/patches/000-appstream.patch
new file mode 100644
index 00000000000000..2b518964cf1892
--- /dev/null
+++ b/srcpkgs/geopard/patches/000-appstream.patch
@@ -0,0 +1,13 @@
+diff --git a/data/meson.build b/data/meson.build
+index 5e0bfd5..603b055 100644
+--- a/data/meson.build
++++ b/data/meson.build
+@@ -47,7 +47,7 @@ if appstream_util.found()
+   test(
+     'validate-appdata', appstream_util,
+     args: [
+-      'validate', '--nonet', appdata_file.full_path()
++      'validate-relax', '--nonet', appdata_file.full_path()
+     ],
+     depends: appdata_file,
+   )
diff --git a/srcpkgs/geopard/template b/srcpkgs/geopard/template
new file mode 100644
index 00000000000000..3eda62a851dc6d
--- /dev/null
+++ b/srcpkgs/geopard/template
@@ -0,0 +1,29 @@
+# Template file for 'geopard'
+pkgname=geopard
+version=1.4.0
+revision=1
+build_style=meson
+build_helper=rust
+hostmakedepends="cargo gettext blueprint-compiler gtk4-update-icon-cache
+ pkg-config glib-devel appstream-glib desktop-file-utils"
+makedepends="gdk-pixbuf-devel pango-devel gtk4-devel libadwaita-devel rust-std"
+short_desc="Colorful, adaptive gemini browser"
+maintainer="iFoundSilentHouse <adeptslab@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://ranfdev.com/projects/Geopard"
+distfiles="https://github.com/ranfdev/Geopard/archive/refs/tags/v${version}.tar.gz"
+checksum=b48224c3a610811e1f861d5478bab7c84cba1caa25e48d7b66e71c863c5bdd3f
+
+if [ "$CROSS_BUILD" ]; then
+	makedepends+=" libgirepository-devel gobject-introspection"
+fi
+
+pre_build() {
+	rm -rf ${wrksrc}/subprojects/blueprint-compiler.wrap
+
+	if [ "$CROSS_BUILD" ]; then
+		export GI_TYPELIB_PATH="${XBPS_CROSS_BASE}/usr/lib/girepository-1.0"
+		vsed -i build/build.ninja \
+			-e "s;cp src/release/geopard;cp src/${RUST_TARGET}/release/geopard;"
+	fi
+}

  parent reply	other threads:[~2024-04-07 17:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-05  9:35 [PR PATCH] " iFoundSilentHouse
2024-04-05  9:39 ` [PR PATCH] [Updated] " iFoundSilentHouse
2024-04-07  4:59 ` iFoundSilentHouse
2024-04-07 17:09 ` iFoundSilentHouse [this message]
2024-04-07 17:11 ` iFoundSilentHouse
2024-04-10 17:34 ` [PR PATCH] [Updated] " iFoundSilentHouse
2024-04-10 17:35 ` New package: geopard-1.5.0 iFoundSilentHouse

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=20240407170902.170F421731@inbox.vuxu.org \
    --to=ifoundsilenthouse@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).