Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] gnubg gtk 3
@ 2024-06-09  6:52 sgn
  2024-06-09 18:39 ` [PR PATCH] [Merged]: " leahneukirchen
  0 siblings, 1 reply; 2+ messages in thread
From: sgn @ 2024-06-09  6:52 UTC (permalink / raw)
  To: ml

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

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

https://github.com/sgn/void-packages gnubg-gtk-3
https://github.com/void-linux/void-packages/pull/50754

gnubg gtk 3
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gnubg-gtk-3-50754.patch --]
[-- Type: text/x-diff, Size: 3867 bytes --]

From aa4c2d0ec9e004d87c8cba2d0f8acc1f2e1d81fe 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: Sun, 9 Jun 2024 13:51:41 +0700
Subject: [PATCH 1/2] gnubg: build with gtk+3

---
 srcpkgs/gnubg/template | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/gnubg/template b/srcpkgs/gnubg/template
index 949220dcfe86db..cdd2b7dac47c93 100644
--- a/srcpkgs/gnubg/template
+++ b/srcpkgs/gnubg/template
@@ -1,12 +1,13 @@
 # Template file for 'gnubg'
 pkgname=gnubg
 version=1.08.003
-revision=1
+revision=2
 build_style=gnu-configure
-configure_args="--disable-cputest ax_cv_gcc_x86_cpuid_0x00000001=6000000"
+configure_args="--disable-cputest ax_cv_gcc_x86_cpuid_0x00000001=6000000
+ --with-gtk3"
 hostmakedepends="flex gdk-pixbuf-devel pkg-config python3-devel"
-makedepends="libcurl-devel libglib-devel gtk+-devel gtkglext-devel python3-devel
- libcanberra-devel readline-devel readline sqlite-devel"
+makedepends="libcurl-devel libglib-devel gtk+3-devel libepoxy-devel python3-devel
+ glu-devel libcanberra-devel readline-devel readline sqlite-devel"
 depends="python3"
 short_desc="GNU Backgammon game"
 maintainer="Leah Neukirchen <leah@vuxu.org>"

From 8782e5796c2f4b2c5e092327b6c10a97264c43d7 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: Sun, 9 Jun 2024 13:51:41 +0700
Subject: [PATCH 2/2] libcanberra: drop gtk 2

---
 common/shlibs                |  1 -
 srcpkgs/libcanberra-gtk      |  1 -
 srcpkgs/libcanberra/template | 15 +++------------
 3 files changed, 3 insertions(+), 14 deletions(-)
 delete mode 120000 srcpkgs/libcanberra-gtk

diff --git a/common/shlibs b/common/shlibs
index 6289c6b8576cfb..cf91d780286b52 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -587,7 +587,6 @@ libverto-k5ev.so.0 mit-krb5-libs-1.8_1
 libmenu-cache.so.3 menu-cache-1.0.0_1
 libupower-glib.so.3 libupower-glib3-0.99.3_1
 libcanberra.so.0 libcanberra-0.23_1
-libcanberra-gtk.so.0 libcanberra-gtk-0.30_6
 libcanberra-gtk3.so.0 libcanberra-gtk3-0.30_6
 libgtop-2.0.so.11 libgtop-2.38.0_1
 librarian.so.0 rarian-0.8.1_1
diff --git a/srcpkgs/libcanberra-gtk b/srcpkgs/libcanberra-gtk
deleted file mode 120000
index 2c1c8bc0aaa9f3..00000000000000
--- a/srcpkgs/libcanberra-gtk
+++ /dev/null
@@ -1 +0,0 @@
-libcanberra
\ No newline at end of file
diff --git a/srcpkgs/libcanberra/template b/srcpkgs/libcanberra/template
index 46e4ecc18bb8e5..267c91908ec211 100644
--- a/srcpkgs/libcanberra/template
+++ b/srcpkgs/libcanberra/template
@@ -1,12 +1,12 @@
 # Template file for 'libcanberra'
 pkgname=libcanberra
 version=0.30
-revision=12
+revision=13
 build_style=gnu-configure
 configure_args="--enable-alsa --enable-null --disable-lynx
  --enable-gstreamer --disable-oss --with-builtin=dso"
 hostmakedepends="gettext pkg-config gtk-doc"
-makedepends="gtk+-devel gtk+3-devel libvorbis-devel libltdl-devel
+makedepends="gtk+3-devel libvorbis-devel libltdl-devel
  gstreamer1-devel alsa-lib-devel tdb-devel pulseaudio-devel
  eudev-libudev-devel vala-devel"
 short_desc="XDG Sound Theme and Name Specification library implementation"
@@ -23,14 +23,6 @@ libcanberra-utils_package() {
 		vmove usr/bin
 	}
 }
-libcanberra-gtk_package() {
-	replaces="${sourcepkg}<0.30_6"
-	short_desc+=" - GTK+ (2.x) support"
-	pkg_install() {
-		vmove usr/lib/libcanberra-gtk.so.*
-		vmove usr/lib/gtk-2.0
-	}
-}
 libcanberra-gtk3_package() {
 	replaces="${sourcepkg}<0.30_6"
 	short_desc+=" - GTK+ (3.x) support"
@@ -40,8 +32,7 @@ libcanberra-gtk3_package() {
 	}
 }
 libcanberra-devel_package() {
-	depends="gtk+-devel gtk+3-devel
-		${sourcepkg}-gtk>=${version}_${revision}
+	depends="gtk+3-devel
 		${sourcepkg}-gtk3>=${version}_${revision}
 		${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

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

* Re: [PR PATCH] [Merged]: gnubg gtk 3
  2024-06-09  6:52 [PR PATCH] gnubg gtk 3 sgn
@ 2024-06-09 18:39 ` leahneukirchen
  0 siblings, 0 replies; 2+ messages in thread
From: leahneukirchen @ 2024-06-09 18:39 UTC (permalink / raw)
  To: ml

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

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

gnubg gtk 3
https://github.com/void-linux/void-packages/pull/50754

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

<!--
#### 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
-->


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

end of thread, other threads:[~2024-06-09 18:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-09  6:52 [PR PATCH] gnubg gtk 3 sgn
2024-06-09 18:39 ` [PR PATCH] [Merged]: " leahneukirchen

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