Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] tikzit: update to 2.1.6.
@ 2023-10-16 21:57 Eloitor
  2023-10-16 22:00 ` [PR PATCH] [Updated] " Eloitor
  2023-11-13  6:07 ` [PR PATCH] [Merged]: tikzit: add desktop file and manpage classabbyamp
  0 siblings, 2 replies; 3+ messages in thread
From: Eloitor @ 2023-10-16 21:57 UTC (permalink / raw)
  To: ml

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

There is a new 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: 1446 bytes --]

From eea407b9eae20172ab9a6f4ead0f06098c9951cc 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: update to 2.1.6.

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

diff --git a/srcpkgs/tikzit/template b/srcpkgs/tikzit/template
index eeca4781b00c2..9bbe5d842d91b 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
+}

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

* Re: [PR PATCH] [Updated] tikzit: update to 2.1.6.
  2023-10-16 21:57 [PR PATCH] tikzit: update to 2.1.6 Eloitor
@ 2023-10-16 22:00 ` Eloitor
  2023-11-13  6:07 ` [PR PATCH] [Merged]: tikzit: add desktop file and manpage classabbyamp
  1 sibling, 0 replies; 3+ messages in thread
From: Eloitor @ 2023-10-16 22:00 UTC (permalink / raw)
  To: ml

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

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

* Re: [PR PATCH] [Merged]: tikzit: add desktop file and manpage 
  2023-10-16 21:57 [PR PATCH] tikzit: update to 2.1.6 Eloitor
  2023-10-16 22:00 ` [PR PATCH] [Updated] " Eloitor
@ 2023-11-13  6:07 ` classabbyamp
  1 sibling, 0 replies; 3+ messages in thread
From: classabbyamp @ 2023-11-13  6:07 UTC (permalink / raw)
  To: ml

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

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

tikzit: add desktop file and manpage 
https://github.com/void-linux/void-packages/pull/46737

Description:
#### 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)


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

end of thread, other threads:[~2023-11-13  6:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-16 21:57 [PR PATCH] tikzit: update to 2.1.6 Eloitor
2023-10-16 22:00 ` [PR PATCH] [Updated] " Eloitor
2023-11-13  6:07 ` [PR PATCH] [Merged]: tikzit: add desktop file and manpage 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).