Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: omegat-4.3.3
@ 2022-11-13  8:06 sirkhancision
  2022-11-13  8:14 ` [PR REVIEW] " classabbyamp
                   ` (27 more replies)
  0 siblings, 28 replies; 29+ messages in thread
From: sirkhancision @ 2022-11-13  8:06 UTC (permalink / raw)
  To: ml

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

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

https://github.com/sirkhancision/void-packages omegat
https://github.com/void-linux/void-packages/pull/40500

New package: omegat-4.3.3
Hello, this is my first contribution to void-packages, so forgive me if there's anything weird. :)

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

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
- I built this PR locally for these architectures:
  - x86_64-musl
  - armv6l-glibc
  - armv6l-musl
  - i686-glibc


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

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

From 7cbd42c009e05807f84c283bb964074832400783 Mon Sep 17 00:00:00 2001
From: Jorge Santiago <jsantiago12tone@gmail.com>
Date: Sun, 13 Nov 2022 04:08:30 -0300
Subject: [PATCH] New package: omegat-4.3.3

---
 srcpkgs/omegat/files/omegat.desktop |  9 +++++++++
 srcpkgs/omegat/files/omegat.sh      |  3 +++
 srcpkgs/omegat/template             | 26 ++++++++++++++++++++++++++
 3 files changed, 38 insertions(+)
 create mode 100644 srcpkgs/omegat/files/omegat.desktop
 create mode 100644 srcpkgs/omegat/files/omegat.sh
 create mode 100644 srcpkgs/omegat/template

diff --git a/srcpkgs/omegat/files/omegat.desktop b/srcpkgs/omegat/files/omegat.desktop
new file mode 100644
index 000000000000..430e4a206a11
--- /dev/null
+++ b/srcpkgs/omegat/files/omegat.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=OmegaT
+GenericName=OmegaT
+Exec=omegat
+Type=Application
+Comment=Multiplatform CAT tool application, written in Java
+Terminal=false
+Categories=Development;Translation;Java;
+Icon=omegat
diff --git a/srcpkgs/omegat/files/omegat.sh b/srcpkgs/omegat/files/omegat.sh
new file mode 100644
index 000000000000..37d066721357
--- /dev/null
+++ b/srcpkgs/omegat/files/omegat.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+cd /usr/share/java/omegat/ || exit 1
+java -jar -Xmx1024M OmegaT.jar "$@"
diff --git a/srcpkgs/omegat/template b/srcpkgs/omegat/template
new file mode 100644
index 000000000000..4f470817f546
--- /dev/null
+++ b/srcpkgs/omegat/template
@@ -0,0 +1,26 @@
+# Template file for 'omegat'
+pkgname=omegat
+version=4.3.3
+revision=1
+depends="openjdk-jre"
+short_desc="Multiplatform CAT tool application, written in Java"
+maintainer="Jorge Santiago <jsantiago12tone@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://omegat.org/"
+distfiles="${SOURCEFORGE_SITE}/omegat/OmegaT_${version}_Without_JRE.zip"
+checksum=60b3fde6d175e8c5b14631af6740fa28c94a1da7800515e74066f8b2918fe090
+nostrip=yes
+
+do_install() {
+	vdoc readme.txt
+	vdoc changes.txt
+	vdoc contributors.txt
+	vmkdir "usr/share/java/${pkgname}"
+	vcopy * "usr/share/java/${pkgname}"
+	vmkdir usr/share/applications
+	vinstall "${FILESDIR}/${pkgname}.desktop" 0644 "usr/share/applications/${pkgname}.desktop"
+	vmkdir usr/share/pixmaps
+	vinstall images/OmegaT.svg 0644 "usr/share/pixmaps/${pkgname}.svg"
+	vbin "${FILESDIR}/${pkgname}.sh" "${pkgname}"
+	rm -rf "usr/share/java/${pkgname}/{*.{zip,desktop,sh,kaptn},OmegaT,OmegaT.bat}"
+}

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

end of thread, other threads:[~2023-03-22  1:54 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-13  8:06 [PR PATCH] New package: omegat-4.3.3 sirkhancision
2022-11-13  8:14 ` [PR REVIEW] " classabbyamp
2022-11-13  8:14 ` classabbyamp
2022-11-13  8:14 ` classabbyamp
2022-11-13  8:14 ` classabbyamp
2022-11-13  8:14 ` classabbyamp
2022-11-13  8:14 ` classabbyamp
2022-11-13  8:14 ` classabbyamp
2022-11-13  8:14 ` classabbyamp
2022-11-13  8:14 ` classabbyamp
2022-11-13 19:51 ` [PR PATCH] [Updated] " sirkhancision
2022-11-13 19:55 ` sirkhancision
2022-11-14  4:40 ` [PR PATCH] [Updated] " sirkhancision
2022-11-14  4:43 ` sirkhancision
2022-11-14 22:18 ` [PR REVIEW] " classabbyamp
2022-11-14 22:18 ` classabbyamp
2022-11-14 22:18 ` classabbyamp
2022-11-15  0:52 ` sirkhancision
2022-11-15  0:53 ` classabbyamp
2022-11-15  4:14 ` [PR PATCH] [Updated] " sirkhancision
2022-11-15  4:15 ` [PR REVIEW] " sirkhancision
2022-11-15  4:17 ` sirkhancision
2022-11-15  4:18 ` sirkhancision
2022-11-15 17:58 ` sirkhancision
2022-12-04  4:14 ` [PR PATCH] [Updated] " sirkhancision
2022-12-04  4:16 ` sirkhancision
2022-12-06 19:45 ` sirkhancision
2023-03-07  2:07 ` github-actions
2023-03-22  1:54 ` [PR PATCH] [Closed]: " github-actions

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