Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: gnome-software-42.4.
@ 2022-08-14 11:53 paper42
  2022-08-14 12:02 ` [PR PATCH] [Updated] " paper42
  2022-08-18 21:39 ` [PR PATCH] [Merged]: " paper42
  0 siblings, 2 replies; 3+ messages in thread
From: paper42 @ 2022-08-14 11:53 UTC (permalink / raw)
  To: ml

[-- 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
+	}
+}

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PR PATCH] [Updated] New package: gnome-software-42.4.
  2022-08-14 11:53 [PR PATCH] New package: gnome-software-42.4 paper42
@ 2022-08-14 12:02 ` paper42
  2022-08-18 21:39 ` [PR PATCH] [Merged]: " paper42
  1 sibling, 0 replies; 3+ messages in thread
From: paper42 @ 2022-08-14 12:02 UTC (permalink / raw)
  To: ml

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

There is an updated 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: 2511 bytes --]

From f912d49a5bf58df62432bee6dcad6da6557e2df2 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 | 45 +++++++++++++++++++++++++++++++++
 2 files changed, 46 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..09fb89a4fdd1
--- /dev/null
+++ b/srcpkgs/gnome-software/template
@@ -0,0 +1,45 @@
+# 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 glib-devel gettext libxslt docbook-xsl
+ $(vopt_if gtk_doc gtk-doc)"
+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
+make_check=ci-skip # gs-self-test-modalias, gs-self-test-repos and gs-self-test-src fail in CI
+
+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
+	}
+}

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PR PATCH] [Merged]: New package: gnome-software-42.4.
  2022-08-14 11:53 [PR PATCH] New package: gnome-software-42.4 paper42
  2022-08-14 12:02 ` [PR PATCH] [Updated] " paper42
@ 2022-08-18 21:39 ` paper42
  1 sibling, 0 replies; 3+ messages in thread
From: paper42 @ 2022-08-18 21:39 UTC (permalink / raw)
  To: ml

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

There's a merged pull request on the void-packages repository

New package: gnome-software-42.4.
https://github.com/void-linux/void-packages/pull/38667

Description:
<!-- 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
-->


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-08-18 21:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-14 11:53 [PR PATCH] New package: gnome-software-42.4 paper42
2022-08-14 12:02 ` [PR PATCH] [Updated] " paper42
2022-08-18 21:39 ` [PR PATCH] [Merged]: " paper42

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).