From: paper42 <paper42@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: libadwaita-1.0.0a2
Date: Sun, 08 Aug 2021 15:02:36 +0200 [thread overview]
Message-ID: <20210808130236.8UMMSz0NSWUIOXlNY-VCW9K4RNrASjeZ0NQvdL2wg80@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31102@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 972 bytes --]
There is an updated pull request by paper42 against master on the void-packages repository
https://github.com/paper42/void-packages libadwaita
https://github.com/void-linux/void-packages/pull/31102
New package: libadwaita-1.0.0a2
<!-- Mark items with [x] where applicable -->
#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)
#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR
libadwaita needs to wait for a release
~~gi-docgen is a documentation generator for GObject-based libraries, it will replace gtk-doc in some projects~~ merged in #31820
A patch file from https://github.com/void-linux/void-packages/pull/31102.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-libadwaita-31102.patch --]
[-- Type: text/x-diff, Size: 4091 bytes --]
From c403ae6ed1795de62ab381eeba511bb43f6fc3b9 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Fri, 23 Jul 2021 22:52:02 +0200
Subject: [PATCH] New package: libadwaita-1.0.0alpha2
---
common/shlibs | 1 +
srcpkgs/libadwaita-demo | 1 +
srcpkgs/libadwaita-devel | 1 +
.../patches/disable-broken-tests.patch | 10 ++++
srcpkgs/libadwaita/template | 59 +++++++++++++++++++
5 files changed, 72 insertions(+)
create mode 120000 srcpkgs/libadwaita-demo
create mode 120000 srcpkgs/libadwaita-devel
create mode 100644 srcpkgs/libadwaita/patches/disable-broken-tests.patch
create mode 100644 srcpkgs/libadwaita/template
diff --git a/common/shlibs b/common/shlibs
index b8fda590d5f3..5affb5dc09fd 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3511,6 +3511,7 @@ liburiparser.so.1 uriparser-0.8.6_1
libcpptest.so.1 cpptest-2.0.0_1
libhandy-0.0.so.0 libhandy-0.0.3_1
libhandy-1.so.0 libhandy1-0.90.0_1
+libadwaita-1.so.0 libadwaita-1.0.0alpha2_1
libswitchboard-2.0.so.0 switchboard-2.3.2_1
libcodecore.so.0 libio.elementary.code-3.0_1
libio.elementary.music-core.so.0 libio.elementary.music-5.0_1
diff --git a/srcpkgs/libadwaita-demo b/srcpkgs/libadwaita-demo
new file mode 120000
index 000000000000..0d8db913cd66
--- /dev/null
+++ b/srcpkgs/libadwaita-demo
@@ -0,0 +1 @@
+libadwaita
\ No newline at end of file
diff --git a/srcpkgs/libadwaita-devel b/srcpkgs/libadwaita-devel
new file mode 120000
index 000000000000..0d8db913cd66
--- /dev/null
+++ b/srcpkgs/libadwaita-devel
@@ -0,0 +1 @@
+libadwaita
\ No newline at end of file
diff --git a/srcpkgs/libadwaita/patches/disable-broken-tests.patch b/srcpkgs/libadwaita/patches/disable-broken-tests.patch
new file mode 100644
index 000000000000..f7a101abbdc3
--- /dev/null
+++ b/srcpkgs/libadwaita/patches/disable-broken-tests.patch
@@ -0,0 +1,10 @@
+--- a/tests/meson.build
++++ b/tests/meson.build
+@@ -22,7 +22,6 @@
+ test_names = [
+ 'test-action-row',
+ 'test-application-window',
+- 'test-avatar',
+ 'test-bin',
+ 'test-carousel',
+ 'test-carousel-indicator-dots',
diff --git a/srcpkgs/libadwaita/template b/srcpkgs/libadwaita/template
new file mode 100644
index 000000000000..cb23b656c004
--- /dev/null
+++ b/srcpkgs/libadwaita/template
@@ -0,0 +1,59 @@
+# Template file for 'libadwaita'
+pkgname=libadwaita
+version=1.0.0alpha2
+revision=1
+_ver=1.0.0-alpha.2
+wrksrc="$pkgname-$_ver"
+build_style=meson
+build_helper="gir"
+configure_args="-Dexamples=true -Dtests=true $(vopt_bool gtk_doc)
+ $(vopt_bool gir vapi) -Dintrospection=$(vopt_if gir enabled disabled)"
+hostmakedepends="glib-devel pkg-config $(vopt_if gtk_doc gi-docgen)
+ $(vopt_if gir vala-devel) gettext sassc"
+makedepends="gtk4-devel libglib-devel harfbuzz-devel"
+checkdepends="xvfb-run"
+short_desc="GTK4 building blocks for modern adaptive applications"
+maintainer="Michal Vasilek <michal@vasilek.cz>"
+license="LGPL-2.0-or-later"
+homepage="https://gitlab.gnome.org/GNOME/libadwaita/"
+distfiles="https://gitlab.gnome.org/GNOME/libadwaita/-/archive/$_ver/libadwaita-$_ver.tar.gz"
+checksum=0b59561825eab9e4b930e330eb64a5eef29d1d797549bbf2a734158d6cb347fd
+
+build_options="gir gtk_doc"
+build_options_default="gir gtk_doc"
+
+do_check() {
+ xvfb-run ninja -C build test
+}
+
+pre_build() {
+ # help gi-docgen find gi files on cross
+ if [ -n "$CROSS_BUILD" ]; then
+ export XDG_DATA_DIRS=/usr/$XBPS_CROSS_TRIPLET/usr/share/
+ fi
+}
+
+libadwaita-devel_package() {
+ depends="${sourcepkg}>=${version}_${revision} gtk4-devel"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove "usr/lib/*.so"
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ if [ "$build_option_gir" ]; then
+ vmove usr/share/gir-1.0
+ vmove usr/share/vala
+ fi
+ if [ "$build_option_gtk_doc" ]; then
+ vmove usr/share/doc/libadwaita-1
+ fi
+ }
+}
+
+libadwaita-demo_package() {
+ depends="${sourcepkg}>=${version}_${revision}"
+ short_desc+=" - demonstration application"
+ pkg_install() {
+ vmove usr/bin/adwaita-1-demo
+ }
+}
next prev parent reply other threads:[~2021-08-08 13:02 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-24 23:15 [PR PATCH] [NOMERGE] libadwaita, gi-docgen paper42
2021-05-31 22:17 ` [PR PATCH] [Updated] " paper42
2021-06-01 13:06 ` paper42
2021-07-23 20:57 ` paper42
2021-07-23 21:22 ` paper42
2021-08-04 21:38 ` paper42
2021-08-04 21:48 ` paper42
2021-08-08 13:02 ` paper42 [this message]
2021-08-08 16:11 ` [PR PATCH] [Merged]: New package: libadwaita-1.0.0alpha2 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=20210808130236.8UMMSz0NSWUIOXlNY-VCW9K4RNrASjeZ0NQvdL2wg80@z \
--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).