Github messages for voidlinux
 help / color / mirror / Atom feed
From: sgn <sgn@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] gnome-themes-extra: split gtk+2.0
Date: Wed, 16 Aug 2023 03:26:39 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-45619@inbox.vuxu.org> (raw)

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

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

https://github.com/sgn/void-packages gnome-theme-split-gtk-2
https://github.com/void-linux/void-packages/pull/45619

gnome-themes-extra: split gtk+2.0
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**|**briefly**|**NO**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gnome-theme-split-gtk-2-45619.patch --]
[-- Type: text/x-diff, Size: 2285 bytes --]

From f2899e5640ae045dff3cb52b3193b19fd660ebdc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Wed, 2 Aug 2023 12:20:25 +0700
Subject: [PATCH] gnome-themes-extra: split gtk+2.0

---
 srcpkgs/gnome-themes-extra-gtk      |  1 +
 srcpkgs/gnome-themes-extra/template | 22 +++++++++++++++-------
 2 files changed, 16 insertions(+), 7 deletions(-)
 create mode 120000 srcpkgs/gnome-themes-extra-gtk

diff --git a/srcpkgs/gnome-themes-extra-gtk b/srcpkgs/gnome-themes-extra-gtk
new file mode 120000
index 0000000000000..5be38e8d090b9
--- /dev/null
+++ b/srcpkgs/gnome-themes-extra-gtk
@@ -0,0 +1 @@
+gnome-themes-extra
\ No newline at end of file
diff --git a/srcpkgs/gnome-themes-extra/template b/srcpkgs/gnome-themes-extra/template
index 029a739d80ee3..fcb94afcb416f 100644
--- a/srcpkgs/gnome-themes-extra/template
+++ b/srcpkgs/gnome-themes-extra/template
@@ -1,9 +1,10 @@
 # Template file for 'gnome-themes-extra'
 pkgname=gnome-themes-extra
 version=3.28
-revision=3
+revision=4
 build_style=gnu-configure
-hostmakedepends="pkg-config intltool librsvg-utils glib-devel which"
+hostmakedepends="pkg-config intltool librsvg-utils glib-devel which
+ gtk-update-icon-cache"
 makedepends="gtk+-devel gtk+3-devel librsvg-devel"
 depends="cantarell-fonts adwaita-icon-theme>=${version}"
 short_desc="Extra GNOME themes"
@@ -12,14 +13,21 @@ license="LGPL-2.1-or-later"
 homepage="https://gitlab.gnome.org/GNOME/gnome-themes-extra"
 distfiles="${GNOME_SITE}/${pkgname}/${version}/${pkgname}-${version}.tar.xz"
 checksum=7c4ba0bff001f06d8983cfc105adaac42df1d1267a2591798a780bac557a5819
-lib32disabled=yes
 
-if [ "$CROSS_BUILD" ]; then
-	hostmakedepends+=" gtk-update-icon-cache"
-fi
+gnome-themes-extra-gtk_package() {
+	short_desc+=" - for GTK+2.0"
+	depends="${sourcepkg}>=${version}_${revision}"
+	lib32disabled=yes
+	pkg_install() {
+		vmove usr/lib/gtk-2.0
+		vmove usr/share/themes/Adwaita/gtk-2.0
+		vmove usr/share/themes/Adwaita-dark/gtk-2.0
+		vmove usr/share/themes/HighContrast/gtk-2.0
+	}
+}
 
 gnome-themes-standard_package() {
 	build_style=meta
 	short_desc+=" (transitional dummy package)"
-	depends="gnome-themes-extra-${version}_${revision}"
+	depends="gnome-themes-extra-gtk-${version}_${revision}"
 }

             reply	other threads:[~2023-08-16  1:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-16  1:26 sgn [this message]
2023-11-14  1:46 ` github-actions
2023-11-28  1:47 ` [PR PATCH] [Closed]: " github-actions

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-45619@inbox.vuxu.org \
    --to=sgn@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).