From: sirkhancision <sirkhancision@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] New package: omegat-4.3.3
Date: Sun, 13 Nov 2022 09:06:54 +0100 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-40500@inbox.vuxu.org> (raw)
[-- 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}"
+}
next reply other threads:[~2022-11-13 8:06 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-13 8:06 sirkhancision [this message]
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
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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-40500@inbox.vuxu.org \
--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).