From: sirkhancision <sirkhancision@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: omegat-4.3.3
Date: Sun, 13 Nov 2022 20:51:04 +0100 [thread overview]
Message-ID: <20221113195104.lDMo9co9y-PRlxBDObZNqHCjAQWBgqkOaOWiK8RCEqk@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-40500@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 896 bytes --]
There is an updated 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: 2390 bytes --]
From 6e1babfab179911809264022f700335b3b3bae35 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 | 27 +++++++++++++++++++++++++++
3 files changed, 39 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..061a84acec93
--- /dev/null
+++ b/srcpkgs/omegat/template
@@ -0,0 +1,27 @@
+# Template file for 'omegat'
+pkgname=omegat
+version=4.3.3
+revision=1
+hostmakedepends="openjdk8"
+depends="virtual?java-runtime"
+short_desc="Multiplatform CAT tool application"
+maintainer="Jorge Santiago <jsantiago12tone@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://omegat.org/"
+distfiles="https://sourceforge.net/projects/omegat/files/OmegaT%20-%20Standard/OmegaT%20${version}/OmegaT_${version}_Source.zip"
+checksum=3cb39c9357aefe6efb274e1ee56f1ece57141b73a40a2416a7b405a6c8123184
+
+do_build() {
+ JAVA_HOME=/usr/lib/jvm/java-1.8-openjdk ./gradlew -x test installDist
+}
+
+do_install() {
+ cd build/install/OmegaT
+ vmkdir usr/share/doc/omegat
+ vcopy docs usr/share/doc/omegat
+ vmkdir usr/share/java/omegat
+ vcopy "*" usr/share/java/omegat
+ vinstall "${FILESDIR}/omegat.desktop" 0644 usr/share/applications/
+ vinstall images/OmegaT.svg 0644 usr/share/pixmaps/omegat.svg
+ vbin "${FILESDIR}/omegat.sh" omegat
+}
next prev parent reply other threads:[~2022-11-13 19:51 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-13 8:06 [PR PATCH] " 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 ` sirkhancision [this message]
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
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=20221113195104.lDMo9co9y-PRlxBDObZNqHCjAQWBgqkOaOWiK8RCEqk@z \
--to=sirkhancision@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).