Github messages for voidlinux
 help / color / mirror / Atom feed
From: Visone-Selektah <Visone-Selektah@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: tlpui-1.5.0
Date: Fri, 06 May 2022 12:05:14 +0200	[thread overview]
Message-ID: <20220506100514.VgpudqfIq-EzyY8S_0WT8I9yK9u4OZoJOdbZC2tOQtE@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-36982@inbox.vuxu.org>

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

There is an updated pull request by Visone-Selektah against master on the void-packages repository

https://github.com/Visone-Selektah/void-packages tlpui
https://github.com/void-linux/void-packages/pull/36982

New package: tlpui-1.5.0
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: YES

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



- I built this PR locally for my native architecture, x86_64-musl



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

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

From b0977b9f219487ef7141c33ac1b841ce781be8e3 Mon Sep 17 00:00:00 2001
From: Victor Tebar <victortebar@gmail.com>
Date: Wed, 4 May 2022 22:00:36 +0200
Subject: [PATCH 1/3] New package: tlpui-1.5.0

---
 srcpkgs/tlpui/template | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 srcpkgs/tlpui/template

diff --git a/srcpkgs/tlpui/template b/srcpkgs/tlpui/template
new file mode 100644
index 000000000000..c83d6537746f
--- /dev/null
+++ b/srcpkgs/tlpui/template
@@ -0,0 +1,24 @@
+# Template file for 'tlpui'
+pkgname=tlpui
+version=1.5.0
+revision=1
+wrksrc="TLPUI-${pkgname}-${version}"
+makedepends="python-setuptools"
+depends="tlp python-gobject"
+short_desc="A GTK user interface for TLP written in Python"
+maintainer="Visone Selektah <victortebar@gmail.com>"
+license="GPL2"
+homepage="https://github.com/d4nj1/TLPUI"
+distfiles="https://github.com/d4nj1/TLPUI/archive/refs/tags/tlpui-1.5.0.tar.gz"
+checksum=37c31f88798c5dc2b7e77e49bcc2ef3d374abb93b2f903b2cd836fbcc5947b9a
+
+
+do_build() {
+    python ./setup.py build
+}
+
+do_install() {
+    export PYTHONHASHSEED=0
+    python setup.py install --root="${DESTDIR}/" --optimize=1 --skip-build
+    vinstall tlpui.desktop 644 usr/share/xsessions
+}

From 3e889cceb3d17a012491a13b587926f8b76d7a47 Mon Sep 17 00:00:00 2001
From: Victor Tebar <victortebar@gmail.com>
Date: Wed, 4 May 2022 22:50:34 +0200
Subject: [PATCH 2/3] tlpui: fix errors and add build_style

---
 srcpkgs/tlpui/template | 23 +++++++----------------
 1 file changed, 7 insertions(+), 16 deletions(-)

diff --git a/srcpkgs/tlpui/template b/srcpkgs/tlpui/template
index c83d6537746f..3119444f6543 100644
--- a/srcpkgs/tlpui/template
+++ b/srcpkgs/tlpui/template
@@ -3,22 +3,13 @@ pkgname=tlpui
 version=1.5.0
 revision=1
 wrksrc="TLPUI-${pkgname}-${version}"
-makedepends="python-setuptools"
-depends="tlp python-gobject"
-short_desc="A GTK user interface for TLP written in Python"
+build_style="python3-module"
+hostmakedepends="python3-setuptools"
+depends="tlp python3-gobject"
+short_desc="GTK user interface for TLP written in Python"
 maintainer="Visone Selektah <victortebar@gmail.com>"
-license="GPL2"
+license="GPL-2.0-or-later"
 homepage="https://github.com/d4nj1/TLPUI"
-distfiles="https://github.com/d4nj1/TLPUI/archive/refs/tags/tlpui-1.5.0.tar.gz"
+distfiles="https://github.com/d4nj1/TLPUI/archive/refs/tags/tlpui-${version}.tar.gz"
 checksum=37c31f88798c5dc2b7e77e49bcc2ef3d374abb93b2f903b2cd836fbcc5947b9a
-
-
-do_build() {
-    python ./setup.py build
-}
-
-do_install() {
-    export PYTHONHASHSEED=0
-    python setup.py install --root="${DESTDIR}/" --optimize=1 --skip-build
-    vinstall tlpui.desktop 644 usr/share/xsessions
-}
+make_check=no

From e5e9262cac4df050a5c40ad6de27fca8432bf53c Mon Sep 17 00:00:00 2001
From: Victor Tebar <victortebar@gmail.com>
Date: Fri, 6 May 2022 12:06:34 +0200
Subject: [PATCH 3/3] tlpui: fix 'cannot open display' error

---
 srcpkgs/tlpui/template | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/tlpui/template b/srcpkgs/tlpui/template
index 3119444f6543..f36637637d14 100644
--- a/srcpkgs/tlpui/template
+++ b/srcpkgs/tlpui/template
@@ -5,11 +5,12 @@ revision=1
 wrksrc="TLPUI-${pkgname}-${version}"
 build_style="python3-module"
 hostmakedepends="python3-setuptools"
-depends="tlp python3-gobject"
+depends="gtk+3 tlp python3-gobject "
+checkdepends="xvfb-run ${depends}"
 short_desc="GTK user interface for TLP written in Python"
 maintainer="Visone Selektah <victortebar@gmail.com>"
 license="GPL-2.0-or-later"
 homepage="https://github.com/d4nj1/TLPUI"
 distfiles="https://github.com/d4nj1/TLPUI/archive/refs/tags/tlpui-${version}.tar.gz"
 checksum=37c31f88798c5dc2b7e77e49bcc2ef3d374abb93b2f903b2cd836fbcc5947b9a
-make_check=no
+make_check_pre="xvfb-run"

  parent reply	other threads:[~2022-05-06 10:05 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-04 20:03 [PR PATCH] " Visone-Selektah
2022-05-04 20:11 ` Chocimier
2022-05-04 20:39 ` [PR REVIEW] " abenson
2022-05-04 20:40 ` abenson
2022-05-04 20:49 ` [PR PATCH] [Updated] " Visone-Selektah
2022-05-04 20:50 ` [PR REVIEW] " Visone-Selektah
2022-05-04 21:50 ` Chocimier
2022-05-06  8:55 ` Visone-Selektah
2022-05-06  8:55 ` [PR PATCH] [Closed]: " Visone-Selektah
2022-05-06  9:05 ` paper42
2022-05-06 10:05 ` Visone-Selektah [this message]
2022-05-06 10:07 ` Visone-Selektah
2022-05-07 20:46 ` [PR REVIEW] " paper42
2022-08-07  2:14 ` github-actions
2022-08-08 11:05 ` motorto
2022-09-07  9:18 ` Visone-Selektah
2022-09-07  9:19 ` Visone-Selektah
2022-09-07  9:19 ` [PR PATCH] [Closed]: " Visone-Selektah

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=20220506100514.VgpudqfIq-EzyY8S_0WT8I9yK9u4OZoJOdbZC2tOQtE@z \
    --to=visone-selektah@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).