Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] [WIP] New package: umlet-15
@ 2022-06-16  5:47 gabriel-russo
  2022-06-16 15:19 ` [PR PATCH] [Updated] " gabriel-russo
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: gabriel-russo @ 2022-06-16  5:47 UTC (permalink / raw)
  To: ml

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

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

https://github.com/gabriel-russo/void-packages umlet
https://github.com/void-linux/void-packages/pull/37582

[WIP] New package: umlet-15
<!-- 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**

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

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

ToDo: 
- Search for broken in different archs
- Template review/improve

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

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

From 43b1f1de09d323c6a0e1de8b672eab3156aaaeb0 Mon Sep 17 00:00:00 2001
From: Gabriel Russo <gabrielrusso@protonmail.com>
Date: Thu, 16 Jun 2022 01:26:05 -0400
Subject: [PATCH] New package: umlet-15

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

diff --git a/srcpkgs/umlet/template b/srcpkgs/umlet/template
new file mode 100644
index 000000000000..e21a39cf202b
--- /dev/null
+++ b/srcpkgs/umlet/template
@@ -0,0 +1,48 @@
+# Template file for 'umlet'
+pkgname=umlet
+version=15
+revision=1
+wrksrc=${pkgname}-2022-04-26_UMLet_v${version}
+hostmakedepends="unzip"
+makedepends="apache-maven"
+depends="openjdk11"
+short_desc="Simple, text driven UML drawing tool"
+maintainer="Gabriel Russo <gabrielrusso@protonmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://www.umlet.com/"
+distfiles="https://github.com/umlet/umlet/archive/refs/tags/2022-04-26_UMLet_v${version}.tar.gz"
+checksum=f9e31176d6068681bdc40a97bd67da28a85e5665bf0ba459f474915a77c904c1
+
+do_build() {
+	export MAVEN_OPTS="$MAVEN_OPTS -Duser.home=${wrksrc}"
+	mvn clean package -pl umlet-standalone -am -Dmaven.test.skip=true
+}
+
+pre_install() {
+	unzip umlet-standalone/target/umlet-standalone-${version}*.zip
+
+    # Fix umlet launcher to use freedesktop icon-theme-spec standard
+	vsed 's|img/umlet_logo\.png|umlet|' -i Umlet/umlet.desktop
+
+    # Fix Error: Unable to access jarfile umlet.jar
+	vsed 's|umlet\.jar|/usr/bin/umlet\.jar|' -i Umlet/umlet.desktop
+
+	rm -r Umlet/img
+	rm Umlet/*.exe
+
+	vmkdir usr/lib
+	vmkdir usr/bin
+}
+
+do_install() {
+	for _i in 16 20 24 32 40 48 64; do
+	    vmkdir usr/share/icons/hicolor/${_i}x${_i}/apps
+		vinstall umlet-standalone/target/classes/umlet_logo${_i}.png 644 usr/share/icons/hicolor/${_i}x${_i}/apps umlet.png
+	done
+
+	vinstall Umlet/umlet.desktop 644 usr/share/applications
+
+	vcopy Umlet/ usr/lib/
+
+	ln -s /usr/lib/Umlet/umlet.jar ${DESTDIR}/usr/bin/umlet.jar
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: umlet-15
  2022-06-16  5:47 [PR PATCH] [WIP] New package: umlet-15 gabriel-russo
@ 2022-06-16 15:19 ` gabriel-russo
  2022-09-15  2:17 ` github-actions
  2022-09-15 12:17 ` [PR PATCH] [Closed]: " gabriel-russo
  2 siblings, 0 replies; 4+ messages in thread
From: gabriel-russo @ 2022-06-16 15:19 UTC (permalink / raw)
  To: ml

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

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

https://github.com/gabriel-russo/void-packages umlet
https://github.com/void-linux/void-packages/pull/37582

[WIP] New package: umlet-15
<!-- 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**

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

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

ToDo: 
- Search for broken in different archs
- Template review/improve

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

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

From 7199972492262ebf977f89ad6c54e7fd49eb7ee5 Mon Sep 17 00:00:00 2001
From: Gabriel Russo <gabrielrusso@protonmail.com>
Date: Thu, 16 Jun 2022 01:26:05 -0400
Subject: [PATCH] New package: umlet-15

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

diff --git a/srcpkgs/umlet/template b/srcpkgs/umlet/template
new file mode 100644
index 000000000000..0a13eee8531e
--- /dev/null
+++ b/srcpkgs/umlet/template
@@ -0,0 +1,47 @@
+# Template file for 'umlet'
+pkgname=umlet
+version=15
+revision=1
+wrksrc=${pkgname}-2022-04-26_UMLet_v${version}
+hostmakedepends="apache-maven unzip"
+depends="openjdk11"
+short_desc="Simple, text driven UML drawing tool"
+maintainer="Gabriel Russo <gabrielrusso@protonmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://www.umlet.com/"
+distfiles="https://github.com/umlet/umlet/archive/refs/tags/2022-04-26_UMLet_v${version}.tar.gz"
+checksum=f9e31176d6068681bdc40a97bd67da28a85e5665bf0ba459f474915a77c904c1
+
+do_build() {
+	export MAVEN_OPTS="$MAVEN_OPTS -Duser.home=${wrksrc}"
+	mvn clean package -pl umlet-standalone -am -Dmaven.test.skip=true
+}
+
+pre_install() {
+	unzip umlet-standalone/target/umlet-standalone-${version}*.zip
+
+    # Fix umlet launcher to use freedesktop icon-theme-spec standard
+	vsed 's|img/umlet_logo\.png|umlet|' -i Umlet/umlet.desktop
+
+    # Fix Error: Unable to access jarfile umlet.jar
+	vsed 's|umlet\.jar|/usr/bin/umlet\.jar|' -i Umlet/umlet.desktop
+
+	rm -r Umlet/img
+	rm Umlet/*.exe
+
+	vmkdir usr/lib
+	vmkdir usr/bin
+}
+
+do_install() {
+	for _i in 16 20 24 32 40 48 64; do
+	    vmkdir usr/share/icons/hicolor/${_i}x${_i}/apps
+		vinstall umlet-standalone/target/classes/umlet_logo${_i}.png 644 usr/share/icons/hicolor/${_i}x${_i}/apps umlet.png
+	done
+
+	vinstall Umlet/umlet.desktop 644 usr/share/applications
+
+	vcopy Umlet/ usr/lib/
+
+	ln -s /usr/lib/Umlet/umlet.jar ${DESTDIR}/usr/bin/umlet.jar
+}

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

* Re: New package: umlet-15
  2022-06-16  5:47 [PR PATCH] [WIP] New package: umlet-15 gabriel-russo
  2022-06-16 15:19 ` [PR PATCH] [Updated] " gabriel-russo
@ 2022-09-15  2:17 ` github-actions
  2022-09-15 12:17 ` [PR PATCH] [Closed]: " gabriel-russo
  2 siblings, 0 replies; 4+ messages in thread
From: github-actions @ 2022-09-15  2:17 UTC (permalink / raw)
  To: ml

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

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/pull/37582#issuecomment-1247489608

Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that.  If this pull request is still relevant bump it or assign it.

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

* Re: [PR PATCH] [Closed]: New package: umlet-15
  2022-06-16  5:47 [PR PATCH] [WIP] New package: umlet-15 gabriel-russo
  2022-06-16 15:19 ` [PR PATCH] [Updated] " gabriel-russo
  2022-09-15  2:17 ` github-actions
@ 2022-09-15 12:17 ` gabriel-russo
  2 siblings, 0 replies; 4+ messages in thread
From: gabriel-russo @ 2022-09-15 12:17 UTC (permalink / raw)
  To: ml

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

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

New package: umlet-15
https://github.com/void-linux/void-packages/pull/37582

Description:
<!-- 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**

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

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

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

end of thread, other threads:[~2022-09-15 12:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-16  5:47 [PR PATCH] [WIP] New package: umlet-15 gabriel-russo
2022-06-16 15:19 ` [PR PATCH] [Updated] " gabriel-russo
2022-09-15  2:17 ` github-actions
2022-09-15 12:17 ` [PR PATCH] [Closed]: " gabriel-russo

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