From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: New package: j-807
Date: Fri, 27 Sep 2019 11:11:55 +0200 [thread overview]
Message-ID: <20190927091155.64YG0ZQCKPMXCsjJGRRoi2GNSw3zfjTmv88BeT9K9yo@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-14758@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1725 bytes --]
New comment by xelxebar on void-packages repository
https://github.com/void-linux/void-packages/pull/14758#issuecomment-535860562
Comment:
J is a funky programming language, and upstream's build process is equally funky. Anyway, I tried hard to package this up nicely, but there are quirks. This PR is to open discussion about how to properly package this up. I put a lot of effort into this one, so please be gentle. ;P
First, is a single character package name reasonable?
Second, J typically has "release" and "beta" distributions. Perhaps it would be better to have two packages `j-release` and `j-beta`? Just to keep files separate, for now I am putting things under `*/j/${version}` directories.
Third, the main library has two compile paths: one that includes AVX code and another that doesn't. It's only possible to detect AVX availability on the installing machine, so I just opt to build and install boths versions, with an INSTALL script creating a symlink to the appropriate version. Is there a better or more preferred way to handle this?
Fourth, the primary binary is called `jconsole` which conflicts with a similarly-named binary provided by openjdk, so I am choosing to call the thing `jc` instead. Perhaps this should be noted with an INSTALL.msg? Anyway, `/usr/bin/jc` has to be a wrapper script instead of a symlink due to upstream quirks.
Finally, in order to fit the package into FHS conventions, there is a good bit of bit of munging that is necessary. I do most of that with judicious use of sed on one of upstream's initialization files. Is there a different preffered way of handling this, such as providing patch files instead?
Anyway, those are the main points I can think of.
next prev parent reply other threads:[~2019-09-27 9:11 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-27 8:46 [PR PATCH] " voidlinux-github
2019-09-27 9:11 ` voidlinux-github [this message]
2019-09-27 9:17 ` [PR PATCH] [Updated] " voidlinux-github
2019-09-27 9:17 ` voidlinux-github
2019-09-27 9:18 ` voidlinux-github
2019-09-27 9:27 ` [PR PATCH] [Updated] " voidlinux-github
2019-09-27 9:27 ` voidlinux-github
2019-09-27 10:16 ` voidlinux-github
2019-09-27 10:16 ` voidlinux-github
2019-09-27 16:23 ` voidlinux-github
2019-09-27 16:59 ` voidlinux-github
2019-09-28 9:04 ` voidlinux-github
2019-09-28 14:40 ` voidlinux-github
2019-09-29 3:09 ` voidlinux-github
2019-09-29 3:10 ` voidlinux-github
2019-09-29 3:10 ` voidlinux-github
2019-09-29 3:52 ` voidlinux-github
2019-09-30 1:34 ` [PR PATCH] [Updated] " voidlinux-github
2019-09-30 1:34 ` voidlinux-github
2019-09-30 1:45 ` voidlinux-github
2019-09-30 3:30 ` [PR PATCH] [Updated] " voidlinux-github
2019-09-30 3:30 ` voidlinux-github
2019-09-30 9:07 ` voidlinux-github
2019-09-30 12:27 ` [PR PATCH] [Updated] " voidlinux-github
2019-09-30 12:27 ` voidlinux-github
2019-09-30 12:28 ` voidlinux-github
2019-09-30 15:07 ` voidlinux-github
2019-10-01 7:44 ` voidlinux-github
2019-10-01 16:20 ` voidlinux-github
2019-10-02 0:10 ` voidlinux-github
2019-10-02 22:01 ` voidlinux-github
2019-10-12 19:32 ` voidlinux-github
2019-10-23 6:43 ` voidlinux-github
2019-10-26 16:40 ` [PR PATCH] [Merged]: " voidlinux-github
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=20190927091155.64YG0ZQCKPMXCsjJGRRoi2GNSw3zfjTmv88BeT9K9yo@z \
--to=voidlinux-github@inbox.vuxu.org \
--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).