Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] obconf: move to gtk3
@ 2023-05-15 15:43 classabbyamp
  2023-05-15 15:49 ` [PR PATCH] [Merged]: " classabbyamp
  0 siblings, 1 reply; 2+ messages in thread
From: classabbyamp @ 2023-05-15 15:43 UTC (permalink / raw)
  To: ml

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

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

https://github.com/classabbyamp/void-packages obconf-gtk3
https://github.com/void-linux/void-packages/pull/43880

obconf: move to gtk3
patches are downloaded directly from the source because they are so large.

closes #40398
progress on libglade removal (for #38229) and gtk2 removal

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

#### Testing the changes
- I tested the changes in this PR: **NO** (I don't run openbox)



A patch file from https://github.com/void-linux/void-packages/pull/43880.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-obconf-gtk3-43880.patch --]
[-- Type: text/x-diff, Size: 2514 bytes --]

From 1b1c90d2434477486036b14be7242fe40d04563b Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Mon, 15 May 2023 11:39:47 -0400
Subject: [PATCH] obconf: move to gtk3

patches are downloaded directly from the source because they are so
large.

closes #40398
progress on libglade removal (for #38229) and gtk2 removal
---
 srcpkgs/obconf/template | 33 +++++++++++++++++++++++++++------
 1 file changed, 27 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/obconf/template b/srcpkgs/obconf/template
index e93d63381b86..50b41aa5d895 100644
--- a/srcpkgs/obconf/template
+++ b/srcpkgs/obconf/template
@@ -1,14 +1,35 @@
 # Template file for 'obconf'
 pkgname=obconf
 version=2.0.4
-revision=6
+revision=7
+_patch_commit=77fdc7a76e9b9e0ac5513af7f9cee0a33199f9a9
+build_wrksrc="${pkgname}-${version}"
 build_style=gnu-configure
-hostmakedepends="pkg-config tar"
-makedepends="gtk+-devel libglade-devel libSM-devel imlib2-devel openbox-devel startup-notification-devel"
+hostmakedepends="pkg-config tar automake autoconf gettext-devel-tools"
+makedepends="gtk+3-devel libSM-devel imlib2-devel openbox-devel startup-notification-devel"
 depends="desktop-file-utils shared-mime-info"
-short_desc="A GTK2 based configuration tool for the Openbox windowmanager"
+short_desc="GTK-based configuration tool for the Openbox windowmanager"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-2.0-or-later"
 homepage="http://openbox.org/wiki/ObConf:About"
-distfiles="http://openbox.org/dist/obconf/obconf-${version}.tar.gz"
-checksum=71a3e5f4ee246a27421ba85044f09d449f8de22680944ece9c471cd46a9356b9
+distfiles="http://openbox.org/dist/obconf/obconf-${version}.tar.gz
+ https://raw.githubusercontent.com/archlinux/svntogit-community/${_patch_commit}/trunk/stop-using-libglade.patch>stop-using-libglade-${_patch_commit}.patch
+ https://raw.githubusercontent.com/archlinux/svntogit-community/${_patch_commit}/trunk/switch-to-gtk3.patch>switch-to-gtk3-${_patch_commit}.patch"
+checksum="71a3e5f4ee246a27421ba85044f09d449f8de22680944ece9c471cd46a9356b9
+ 2b1fcb0ca2b85b90a45fc667d061852172aa9f27a35b263ecc9a7ffcc8c5b026
+ f1bcd1720e35ef2c8b9f8ad0a202a150d9affe116779d3ceb9b569a0ed32b010"
+
+post_extract() {
+	mv *.patch "${build_wrksrc}"
+}
+
+post_patch() {
+	for p in stop-using-libglade switch-to-gtk3; do
+		msg_normal "${pkgname}-${version}_${revision}: patching: ${p}-${_patch_commit}.patch.\n"
+		patch -s -Np1 < "${p}-${_patch_commit}.patch"
+	done
+}
+
+pre_configure() {
+	autoreconf -fi
+}

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

* Re: [PR PATCH] [Merged]: obconf: move to gtk3
  2023-05-15 15:43 [PR PATCH] obconf: move to gtk3 classabbyamp
@ 2023-05-15 15:49 ` classabbyamp
  0 siblings, 0 replies; 2+ messages in thread
From: classabbyamp @ 2023-05-15 15:49 UTC (permalink / raw)
  To: ml

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

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

obconf: move to gtk3
https://github.com/void-linux/void-packages/pull/43880

Description:
patches are downloaded directly from the source because they are so large.

closes #40398
progress on libglade removal (for #38229) and gtk2 removal

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

#### Testing the changes
- I tested the changes in this PR: **NO** (I don't run openbox)



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

end of thread, other threads:[~2023-05-15 15:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-15 15:43 [PR PATCH] obconf: move to gtk3 classabbyamp
2023-05-15 15:49 ` [PR PATCH] [Merged]: " classabbyamp

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