Github messages for voidlinux
 help / color / mirror / Atom feed
From: sgn <sgn@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] tint2: split tint2conf out, build with -O2
Date: Thu, 19 Nov 2020 02:38:22 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-26500@inbox.vuxu.org> (raw)

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

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

https://github.com/sgn/void-packages tint2-split-conf
https://github.com/void-linux/void-packages/pull/26500

tint2: split tint2conf out, build with -O2
Split tint2conf out to remove gtk+ dependency.

---
Close #26482 
@steinex @varbhat

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-tint2-split-conf-26500.patch --]
[-- Type: text/x-diff, Size: 1909 bytes --]

From ec9d3a960e8db7912857513db7b4df9608c988c8 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: Thu, 19 Nov 2020 08:35:49 +0700
Subject: [PATCH] tint2: split tint2conf out, build with -O2

Split tint2conf out to remove gtk+ dependency.
---
 srcpkgs/tint2/template | 18 ++++++++++++++++--
 srcpkgs/tint2conf      |  1 +
 2 files changed, 17 insertions(+), 2 deletions(-)
 create mode 120000 srcpkgs/tint2conf

diff --git a/srcpkgs/tint2/template b/srcpkgs/tint2/template
index 21791e76790..4a15af5faea 100644
--- a/srcpkgs/tint2/template
+++ b/srcpkgs/tint2/template
@@ -1,10 +1,11 @@
 # Template file for 'tint2'
 pkgname=tint2
 version=16.7
-revision=1
+revision=2
 wrksrc="tint2-v${version}"
 build_style=cmake
-hostmakedepends="pkg-config"
+configure_args="-DCMAKE_BUILD_TYPE=None"
+hostmakedepends="pkg-config gettext"
 makedepends="gtk+-devel imlib2-devel librsvg-devel libXcomposite-devel
  libXdamage-devel libXinerama-devel libXrandr-devel startup-notification-devel"
 depends="desktop-file-utils"
@@ -15,3 +16,16 @@ homepage="https://gitlab.com/o9000/tint2"
 changelog="https://gitlab.com/o9000/tint2/blob/master/ChangeLog"
 distfiles="https://gitlab.com/o9000/tint2/-/archive/v${version}/tint2-v${version}.tar.bz2"
 checksum=ae2512355614014465f6aff36c98e2ed448998c44533157e4bace21c6c979f65
+
+tint2conf_package() {
+	short_desc+=" - configuration tools"
+	depends="tint2>=${version}_${revision}"
+	conflicts="tint2<=16.7_1"
+	pkg_install() {
+		vmove usr/bin/tint2conf
+		vmove usr/share/applications/tint2conf.desktop
+		vmove usr/share/icons/hicolor/scalable/apps/tint2conf.svg
+		vmove usr/share/locale
+		vmove usr/share/mime
+	}
+}
diff --git a/srcpkgs/tint2conf b/srcpkgs/tint2conf
new file mode 120000
index 00000000000..fce3ac895fd
--- /dev/null
+++ b/srcpkgs/tint2conf
@@ -0,0 +1 @@
+tint2
\ No newline at end of file

             reply	other threads:[~2020-11-19  1:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-19  1:38 sgn [this message]
2020-11-19 14:33 ` [PR PATCH] [Merged]: " sgn

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