Github messages for voidlinux
 help / color / mirror / Atom feed
From: Eloitor <Eloitor@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] tikzit: update to 2.1.6.
Date: Tue, 17 Oct 2023 00:00:57 +0200	[thread overview]
Message-ID: <20231016220057.oVLkDI4eAdXonD3kN2bLH8rA-hAaT12EymEzJ6wjx48@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-46737@inbox.vuxu.org>

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

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

https://github.com/Eloitor/void-packages tikzit
https://github.com/void-linux/void-packages/pull/46737

tikzit: update to 2.1.6.
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)


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

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

From b3f9f884b2ed9739941e342525464a8dbf3fc31f Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@duck.com>
Date: Mon, 16 Oct 2023 23:56:36 +0200
Subject: [PATCH] tikzit: add desktop file and manpage

---
 srcpkgs/tikzit/template | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/tikzit/template b/srcpkgs/tikzit/template
index eeca4781b00c2..f88ac48eb4f1b 100644
--- a/srcpkgs/tikzit/template
+++ b/srcpkgs/tikzit/template
@@ -1,7 +1,7 @@
 # Template file for 'tikzit'
 pkgname=tikzit
 version=2.1.6
-revision=1
+revision=2
 build_style=cmake
 hostmakedepends="qt5-host-tools qt5-qmake extra-cmake-modules flex bison"
 makedepends="qt5-devel poppler-qt5-devel poppler-cpp-devel"
@@ -11,3 +11,16 @@ license="GPL-3.0-or-later"
 homepage="https://tikzit.github.io/"
 distfiles="https://github.com/tikzit/tikzit/archive/refs/tags/v${version}.tar.gz"
 checksum=40e160f654a25a3a36d6a5361eef71a51f9d3b5eec3b42dd9246ec26402149d1
+
+post_install() {
+	vman share/man/man1/tikzit.1
+	vinstall share/applications/tikzit.desktop 755 usr/share/applications
+
+	for _i in 16 32 64 128 256 512 1024; do
+		vinstall share/icons/hicolor/${_i}x${_i}/apps/tikzit.png 644 usr/share/icons/hicolor/${_i}x${_i}/apps
+	done
+	vinstall share/icons/hicolor/scalable/apps/tikzit.svg 644 usr/share/icons/hicolor/scalable/apps/
+
+	vmkdir usr/share/mime/packages
+	vcopy share/mime/packages/user-tikz-document.xml usr/share/mime/packages
+}

  reply	other threads:[~2023-10-16 22:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-16 21:57 [PR PATCH] " Eloitor
2023-10-16 22:00 ` Eloitor [this message]
2023-11-13  6:07 ` [PR PATCH] [Merged]: tikzit: add desktop file and manpage 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=20231016220057.oVLkDI4eAdXonD3kN2bLH8rA-hAaT12EymEzJ6wjx48@z \
    --to=eloitor@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).