Github messages for voidlinux
 help / color / mirror / Atom feed
From: classabbyamp <classabbyamp@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] obconf: move to gtk3
Date: Mon, 15 May 2023 17:43:03 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-43880@inbox.vuxu.org> (raw)

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

             reply	other threads:[~2023-05-15 15:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-15 15:43 classabbyamp [this message]
2023-05-15 15:49 ` [PR PATCH] [Merged]: " classabbyamp

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