Github messages for voidlinux
 help / color / mirror / Atom feed
From: paper42 <paper42@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] New package: gnome-software-42.4.
Date: Sun, 14 Aug 2022 13:53:42 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-38667@inbox.vuxu.org> (raw)

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

There is a new pull request by paper42 against master on the void-packages repository

https://github.com/paper42/void-packages gnome-software
https://github.com/void-linux/void-packages/pull/38667

New package: gnome-software-42.4.
<!-- 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**

xbps doesn't support packagekit, so gnome-software currently only works with flatpaks, but I think it's still very useful.

![image](https://user-images.githubusercontent.com/23639164/184535550-b8a38d60-7ab8-43f7-ad15-636699e46191.png)


<!-- 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/38667.patch is attached

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

From cf8a99d812a281a656c0541200c2beef11d8b842 Mon Sep 17 00:00:00 2001
From: Paper <paper@tilde.institute>
Date: Wed, 19 May 2021 13:02:59 +0200
Subject: [PATCH] New package: gnome-software-42.4.

---
 srcpkgs/gnome-software-devel    |  1 +
 srcpkgs/gnome-software/template | 43 +++++++++++++++++++++++++++++++++
 2 files changed, 44 insertions(+)
 create mode 120000 srcpkgs/gnome-software-devel
 create mode 100644 srcpkgs/gnome-software/template

diff --git a/srcpkgs/gnome-software-devel b/srcpkgs/gnome-software-devel
new file mode 120000
index 000000000000..8e83b5bc2ea7
--- /dev/null
+++ b/srcpkgs/gnome-software-devel
@@ -0,0 +1 @@
+gnome-software
\ No newline at end of file
diff --git a/srcpkgs/gnome-software/template b/srcpkgs/gnome-software/template
new file mode 100644
index 000000000000..caf1eec9df4b
--- /dev/null
+++ b/srcpkgs/gnome-software/template
@@ -0,0 +1,43 @@
+# Template file for 'gnome-software'
+pkgname=gnome-software
+version=42.4
+revision=1
+build_style=meson
+configure_args="-Dvalgrind=false -Dpackagekit=false -Dfwupd=false
+ -Dmalcontent=false $(vopt_bool gtk_doc) -Dsoup2=true"
+hostmakedepends="pkg-config tar docbook-xsl $(vopt_if gtk_doc gtk-doc) glib-devel gettext"
+makedepends="AppStream-devel libxmlb-devel gnome-online-accounts-devel
+ json-glib-devel gtk4-devel libadwaita-devel gsettings-desktop-schemas-devel
+ gspell-devel polkit-devel flatpak-devel libgudev-devel libsoup-devel"
+checkdepends="dbus"
+short_desc="GNOME Software Center (flatpak only)"
+maintainer="Michal Vasilek <michal@vasilek.cz>"
+license="GPL-3.0-or-later"
+homepage="https://gitlab.gnome.org/GNOME/gnome-software"
+distfiles="https://gitlab.gnome.org/GNOME/gnome-software/-/archive/${version}/gnome-software-${version}.tar.gz"
+checksum=adaa905239ed3a3f6df40c9257c67f96dec891abdac0575f97577f1d97d555b1
+
+build_options="gtk_doc"
+
+if [ -z "$CROSS_BUILD" ]; then
+	build_options_default+=" gtk_doc"
+fi
+
+do_check() {
+	# machine-id is a random, non-zero value
+	echo 'dcb30309cd6c8b7cc20383d85a5c7012' > /etc/machine-id
+	dbus-run-session meson test -C build --no-suite fedora-langpacks
+	rm /etc/machine-id
+}
+
+gnome-software-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		if [ "$build_option_gtk_doc" ]; then
+			vmove usr/share/gtk-doc
+		fi
+	}
+}

             reply	other threads:[~2022-08-14 11:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-14 11:53 paper42 [this message]
2022-08-14 12:02 ` [PR PATCH] [Updated] " paper42
2022-08-18 21:39 ` [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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-38667@inbox.vuxu.org \
    --to=paper42@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).