Hi Giuseppe --

On 07/20/17 02:48, Giuseppe Cocomazzi wrote:
Hi ports,
following Brian's and Ian's suggestions, I updated the port of
GNU Apl to account for:
- A default configuration file which disables coloring and enables ^D
to quit the interpreter;
- Adrian Smith's standard APL385 font shipped with the package.

All it takes for the special characters to be correctly displayed is a
UTF-8 LC_CTYPE (/etc/gnu-apl.d/keyboard1.txt should display an alien
keyboard layout if everything is fine).

Tested on -current from latest snapshot:

OpenBSD wretch.doom.loc 6.1 GENERIC#194 i386

As soon as the port is integrated in the tree I will communicate my
patches back to the author of the program for a better OpenBSD support.

Thanks for the feedback.

After some discussion with sthen, it was suggested to make the font its own port. You can make this one have a RUN_DEPENDS on the new font port, as indeed the APL interpreter is unusable without the font.

Also, the V=1.7 variable in the port Makefile can go away. It's only ever used in the DISTNAME line, so DISTNAME can just become DISTNAME=apl-1.7

Also please re-run `make update-plist` as I discovered that it there were some entries added to the PLIST when I did that.

Thanks!

~Brian

Best,

On Wed, Jul 19, 2017 at 5:38 PM, Brian Callahan <bcal...@devio.us> wrote:

On 7/19/2017 10:09 AM, Ian Darwin wrote:
On Wed, Jul 19, 2017 at 03:45:30PM +0200, Giuseppe Cocomazzi wrote:
I asked one of the distributors (Dyalog) of the APL385 font and he
kindly addressed me to the page of the original Adrian Smith's font,
where it is explicitly mentioned that the font is in the public domain:

http://www.apl385.com/fonts/index.htm

The readme for Emacs APL mode, at https://github.com/lokedhs/gnu-apl-mode,
suggests to use GNU FreeFont, which is GPL'd. If you can't find documentation
that your other font is PD or otherwise licensable, I'd use their "Free" Font.
It seems that GNU FreeFont is already in the port tree, so we have two
options here: either we add FreeFont as a dependency to the package
(which is not, technically) or we ship the APL385 font with the package,
or we preserve the distribution as it is and only add a 'README.openBSD'
to address the user to further resources, just like Emacs APL mode did.
That's three, actually :-) But given that the 385 font is indeed explicitly PD I
would probably just include it, unless anyone else wants to weigh in?

You should probably mention that the font is PD in the license comment.

Makes sense to me.



Reply via email to