Github messages for voidlinux
 help / color / mirror / Atom feed
From: Eloitor <Eloitor@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: briss-0.9
Date: Fri, 08 Sep 2023 18:20:21 +0200	[thread overview]
Message-ID: <20230908162021.X_OoPTwVhPurV4Jj5U29wYuODtIJtoMzyPYCnaGYmHQ@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-44075@inbox.vuxu.org>

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

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

https://github.com/Eloitor/void-packages briss
https://github.com/void-linux/void-packages/pull/44075

New package: briss-0.9
#### 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**.  For now it uses the precompiled distribution (the LanguageTool package does this too). It should be possible to compile it if someone knows how to handle the dependencies.

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

closes #37737

I attempted to compile from source:
`distfiles="https://sourceforge.net/code-snapshots/svn/b/br/briss/code/briss-code-r75-briss.zip"`

But some dependencies are missing and I don't know how to package it:
```
[ERROR] Failed to execute goal on project briss: Could not resolve dependencies for project at.laborg:briss:jar:0.9: The following artifacts could not be resolved: jpedal:jpedal:jar:4.74b27, jai:jai-imageio:jar:1.0, jai:jai-core:jar:1.0, jai:jai-codec:jar:1.0: Failure to find jpedal:jpedal:jar:4.74b27 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]
```


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

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

From f4351c4ef41635d4a484fec737cd0f84fe747f30 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Thu, 25 May 2023 12:50:39 +0200
Subject: [PATCH] New package: briss-0.9

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

diff --git a/srcpkgs/briss/template b/srcpkgs/briss/template
new file mode 100644
index 0000000000000..6b9b64b01981e
--- /dev/null
+++ b/srcpkgs/briss/template
@@ -0,0 +1,34 @@
+# Template file for 'briss'
+pkgname=briss
+version=0.9
+revision=1
+depends="virtual?java-runtime"
+short_desc="Simple cross-platform application for cropping PDF files"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/briss/"
+changelog="https://sourceforge.net/p/briss/code/HEAD/tree/briss/CHANGELOG.txt?format=raw"
+distfiles="${SOURCEFORGE_SITE}/briss/briss-${version}.tar.gz"
+checksum=45dd668a9ceb9cd59529a9fefe422a002ee1554a61be07e6fc8b3baf33d733d9
+
+post_build() {
+	cat > briss <<_EOF
+#!/bin/sh -e
+cd /usr/share/briss
+exec java -jar briss-${version}.jar "\$@"
+_EOF
+}
+
+do_install() {
+	vinstall bcprov-jdk15-1.46.jar 644 usr/share/briss
+	vinstall itextpdf-5.2.0.jar 644 usr/share/briss
+	vinstall jai-core-1.0.jar 644 usr/share/briss
+	vinstall jpedal-4.74b27.jar 644 usr/share/briss
+	vinstall bcmail-jdk15-1.46.jar 644 usr/share/briss
+	vinstall bctsp-jdk15-1.46.jar 644 usr/share/briss
+	vinstall briss-0.9.jar 644 usr/share/briss
+	vinstall jai-codec-1.0.jar 644 usr/share/briss
+	vinstall jai-imageio-1.0.jar 644 usr/share/briss
+
+	vbin briss
+}

  parent reply	other threads:[~2023-09-08 16:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-25 10:55 [PR PATCH] " Eloitor
2023-09-08  1:45 ` github-actions
2023-09-08 16:20 ` Eloitor [this message]
2023-09-08 16:21 ` Eloitor
2023-12-08  1:46 ` github-actions
2023-12-23  1:45 ` [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=20230908162021.X_OoPTwVhPurV4Jj5U29wYuODtIJtoMzyPYCnaGYmHQ@z \
    --to=eloitor@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).