TADS is certainly not Free enough, but it may be possible to ask the
author if he wishes to change the license.
I don't know about Alan and Hugo, but it may worth asking the author
if they wish to release them under a license compatible with the linux
distribution if it's not already the case.
I don't know about the legal case of the fonts, it's probably
important to be sure about their status.
Any news from AdvSys, Alan, and Hugo ?
- No word about AdvSys. I'm not sure if we've made contact. I'll send an email to David Betz if I can find a working address.
Are there any news from Thomas Nilsson and Kent Tessman ? I'm ready to
package gargoyle for Mandriva and include it in the official
repositories, but the licences of Alan and Hugo still prevent me from
doing it.
If they didn't decide yet, or decided to refuse, is it possible to
distribute an archive without those 2 interpreters, which could be
used by the main linux distributions for inclusion in their
repositories ? Thus there would be the complete gargoyle including
Alan and Hugo, and a light version without them.
Well, since Debian (and other distros) also host the source packages
in their repositories (and require those source packages to be free
software), a source package will need to be prepared that doesn't
include the Alan and Hugo interpreters, whether it's made by upstream
Garglk or the packagers.
--
Christopher Armstrong
http://radix.twistedmatrix.com/
http://planet-if.com/
I'm part of the Debian/Ubuntu Game Team and I was working on a
'gargoyle-free' package when I saw this thread :)
I'm currently testing it with disabling the Alan, TADS and Hugo
interpreters, and disabling Luxi fonts support (which, as far as I can
see, isn't free nor included in Debian as mentioned in the thread).
Aside from that I'm looking for help with 2 technical matters:
- How can I dynamically compile against libsdl, libfreetype, etc.,
from the system, instead of bundling the versions in support/ ?
I don't have much experience with Jam.
- Optionaly: is there a way to use Bitstream from the system
(e.g. through fontconfig) rather than the bundled version? Though as
the bundled version is specifically modified this may not be a good
idea?
Thanks!
--
Sylvain
PS: http://groups.google.com/group/garglk-dev has a mistake, you need
to subcribe with garglk-dev...@googlegroups.com (note the '+')
Silly me, I tried 'ldd' on an interpreter instead of on 'libgarglk.so'
:)
SDL_sound is built statically though, I'll have a closer look.
> About the licencing issue, Thomas the developer of Alan answered me while he
> wanted to keep some control on how Alan is evolving, he hadn't anything
> against opensourcing the interpreter, but I didn't get any news about this
> recently.
Great!
--
Sylvain
I'm currently testing it with disabling the Alan, TADS and Hugo
interpreters, and disabling Luxi fonts support (which, as far as I can
see, isn't free nor included in Debian as mentioned in the thread).
- How can I dynamically compile against libsdl, libfreetype, etc.,
from the system, instead of bundling the versions in support/ ?
I don't have much experience with Jam.
- Optionaly: is there a way to use Bitstream from the system
(e.g. through fontconfig) rather than the bundled version? Though as
the bundled version is specifically modified this may not be a good
idea?
For whatever it's worth I think you should just include Charis SIL instead of
the Bitstream Charter fonts that I modified. It's a font based on the
same design,
but is more complete and uses the open font license.
http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=CharisSILFont
For whatever it's worth I think you should just include Charis SIL instead of
the Bitstream Charter fonts that I modified. It's a font based on the
same design,
but is more complete and uses the open font license.
On Fri, Sep 11, 2009 at 09:49:55AM -0700, Ben Cressey wrote:
> There should be no reason to disable TADS. Mike Roberts has dual-licensed
> the interpreters and allowed them to be distributed under the GPL.
Great!
> Not sure what to do about Luxi. Do you have a different monospaced font
> that you are replacing it with? Seems like it's potentially a concern for
> this project as well.
Embarrassingly I just tested with using Charter instead.
A quick 'fc-list :spacing=mono' shows the following potential alternatives:
Bitstream Vera Sans Mono
Courier 10 Pitch
DejaVu Sans Mono
FreeMono
Liberation Mono
Nimbus Mono L
Any preference? :)
I'll make some tests.
> The fonts are also included in the source tree as the .hex files under
> garglk/. These are imported into fontdata.c, and loaded into memory at
> runtime. I believe you could replace the .hex files with zero byte
> equivalents, provided that you override the default fonts in garglk.ini for
> the ones you replace.
This makes me wonder: garglk.ini is not installed anywhere by default.
Would it make sense to create a site-wide /etc/garglk.ini? Running
without garglk.ini seemed to run fine to me though.
> > - How can I dynamically compile against libsdl, libfreetype, etc.,
> > from the system, instead of bundling the versions in support/ ?
> > I don't have much experience with Jam.
> >
>
> As Eric mentioned and you've already discovered, SDL_sound is the only
> statically built library. This was done to get around a clash between
> SDL_mixer and SDL_sound, when the latter was built with MOD support. I
> believe this is resolved in SDL_sound version 1.0.3 and greater, so it
> should not be an issue moving forward.
>
> I've attached a small patch that should re-enable dynamic linking to
> SDL_sound.
Thanks. I modified it to also edit garglk/Jamfile, and remove -lvorbis
and -lsmpeg which are not directly used anymore:
http://git.debian.org/?p=pkg-games/gargoyle-free.git;a=blob;f=debian/patches/sdl_sound_debian.patch;hb=HEAD
> > - Optionaly: is there a way to use Bitstream from the system
> > (e.g. through fontconfig) rather than the bundled version? Though as
> > the bundled version is specifically modified this may not be a good
> > idea?
>
> I wouldn't really recommend this, but the current way to use different fonts
> is to modify garglk.ini with the full path to the desired font file. You'll
> miss out on the kerning changes that Tor made to the Bitstream fonts,
> however.
If Gargoyle switches to SIL fonts, I'll probably contribute a patch to
fallback to fontconfig, for the following reasons:
- I know that Debian and Fedora have policies against bundling fonts
in packages when they are already available, and they feel strongly
about it ;)
- Bundling fonts that are not compatible with the GPL in a GPL program
causes legal issues. In FreeDink (an adventure/rpg game and engine),
I'm using a similar technique, where a default GPL-compatible font
is bundled in the program so the engine can always display error
messages, but it looks for other fonts through fontconfig:
http://git.savannah.gnu.org/cgit/freedink.git/tree/src/gfx_fonts.c
Also, at:
http://git.debian.org/?p=pkg-games/gargoyle-free.git;a=tree
you'll find the current packaging. Right now, it installs everything
but the wrapper in /usr/lib/gargoyle, and modifies to wrapper to look
there (instead of in the current directory). The wrapper itself is
installed in /usr/games/, which is the FHS location for games
binaries. (It's called 'gargoyle-free' so that people understand why
it doesn't support Alan and Hugo.)
However this means users cannot (e.g.) type 'glulxe' directly to run
a garglk-enabled glulxe, so I'm wondering about installing them all in
/usr/games, and compile the interpreters so they look for garglk.so in
/usr/lib/gargoyle/. Or maybe garglk.so should get a proper soname and
version, and be installed in /usr/lib? What do you think?
--
Sylvain
Here are my remarks under the form of copy/paste-able garglk.ini
config bits :)
Courier (Serif) and Bitstream Vera Sans Mono / DevuVu Sans Mono are
nice enough.
Do you know about good free Mono Serif fonts to try?
# FreeFont Mono - Too small, a bit hard to read
#monor /usr/share/fonts/truetype/freefont/FreeMono.ttf
#monob /usr/share/fonts/truetype/freefont/FreeMonoBold.ttf
#monoi /usr/share/fonts/truetype/freefont/FreeSansOblique.ttf
#monoz /usr/share/fonts/truetype/freefont/FreeMonoBoldOblique.ttf
# Nimbus Mono L - No BoldOblique, very similar to FreeFont mono
#monor /usr/share/fonts/type1/gsfonts/n022003l.pfb
#monob /usr/share/fonts/type1/gsfonts/n022004l.pfb
#monoi /usr/share/fonts/type1/gsfonts/n022023l.pfb
#monoz /usr/share/fonts/type1/gsfonts/n022023l.pfb
# Liberation Mono - Readable but Sans (not Serif) and a bit blurry
#monor /usr/share/fonts/truetype/ttf-liberation/LiberationMono-Regular.ttf
#monob /usr/share/fonts/truetype/ttf-liberation/LiberationMono-Bold.ttf
#monoi /usr/share/fonts/truetype/ttf-liberation/LiberationMono-Italic.ttf
#monoz /usr/share/fonts/truetype/ttf-liberation/LiberationMono-BoldItalic.ttf
# Courier - Serif but smaller than Luxi (bigger and bolder than FreeFont Mono though)
#monor /usr/share/fonts/X11/Type1/c0419bt_.pfb
#monob /usr/share/fonts/X11/Type1/c0583bt_.pfb
#monoi /usr/share/fonts/X11/Type1/c0582bt_.pfb
#monoz /usr/share/fonts/X11/Type1/c0611bt_.pfb
# Bitstream Vera Sans Mono - Readable but Sans (not Serif)
#monor /usr/share/fonts/truetype/ttf-bitstream-vera/VeraMono.ttf
#monob /usr/share/fonts/truetype/ttf-bitstream-vera/VeraMoBd.ttf
#monoi /usr/share/fonts/truetype/ttf-bitstream-vera/VeraMoIt.ttf
#monoz /usr/share/fonts/truetype/ttf-bitstream-vera/VeraMoBI.ttf
# DejaVu Sans Mono - Derivative of Bitstream so very similar
#monor /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono.ttf
#monob /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-Bold.ttf
#monoi /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-Oblique.ttf
#monoz /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-BoldOblique.ttf
# Luxi - Current one. Serif.
#monor /usr/src/gargoyle-2009-08-25/garglk/fonts/LuxiMonoRegular.pfb
#monob /usr/src/gargoyle-2009-08-25/garglk/fonts/LuxiMonoBold.pfb
#monoi /usr/src/gargoyle-2009-08-25/garglk/fonts/LuxiMonoBoldOblique.pfb
#monoz /usr/src/gargoyle-2009-08-25/garglk/fonts/LuxiMonoOblique.pfb
--
Sylvain
Attached is a patch to use a different monospace font.
Currently I'm trying DejaVu Sans Mono, though a Serif font may be more
appropriate. Since DejaVu Sans Mono's license is not compatible with
the GNU GPL, it cannot be bundled in the executable, so the patch
locates and loads it using FontConfig.
Do you think we could include this patch in the next release? We
could do something like: "if luxi is present, use it, else locate and
load dejavu from the system".
By the way, games such as "The Moon Watch" refer to the original
builtin fonts in their .ini configuration: "LuxiMonoRegular",
"LuxiMonoBold", "LuxiMonoOblique", "LuxiMonoBoldOblique". In such
case, we probably should keep the internal font names as-is (not
rename them) and silently remap them. This applies to this
replacement as well as to the Charter->SIL change that was discussed
yesterday.
Also, all the patches the packaging currently needs can be browsed at:
http://git.debian.org/?p=pkg-games/gargoyle-free.git;a=tree;f=debian/patches;hb=HEAD
I wish to keep as few patches as possible here :)
--
Sylvain
Well, that's good enough for me. It looks like they've even released an updated version of Charis SIL since the last time we discussed it.
My list was not meant to be exhaustive :) (not sure whether you're
saying that it was, or that you didn't find more alternatives)
I personaly prefer Bitstream Vera Sans Mono / DejaVu Mono rather than
Liberation Mono - is there any problem with Vera?
--
Sylvain
The latest version is here:
http://git.debian.org/?p=pkg-games/gargoyle-free.git;a=blob;f=debian/patches/dfsg_replace_luximono_font.patch;hb=HEAD
--
Sylvain
My list was not meant to be exhaustive :) (not sure whether you're
saying that it was, or that you didn't find more alternatives)
I personaly prefer Bitstream Vera Sans Mono / DejaVu Mono rather than
Liberation Mono - is there any problem with Vera?
For testing, I made a few tests with these fonts, plus a couple other
ones I found.
Results at:
http://www.beuc.net/tmp/gargoyle/moonwatch/
I may do the same with another game.
# FreeFont Mono - Too small, a bit hard to read
#monor /usr/share/fonts/truetype/freefont/FreeMono.ttf
#monob /usr/share/fonts/truetype/freefont/FreeMonoBold.ttf
#monoi /usr/share/fonts/truetype/freefont/FreeSansOblique.ttf
#monoz /usr/share/fonts/truetype/freefont/FreeMonoBoldOblique.ttf
# Nimbus Mono L - No BoldOblique, Serif, very similar to FreeFont mono
#monor /usr/share/fonts/type1/gsfonts/n022003l.pfb
#monob /usr/share/fonts/type1/gsfonts/n022004l.pfb
#monoi /usr/share/fonts/type1/gsfonts/n022023l.pfb
#monoz /usr/share/fonts/type1/gsfonts/n022023l.pfb
# Liberation Mono - Readable but Sans (not Serif) and a bit blurry
#monor /usr/share/fonts/truetype/ttf-liberation/LiberationMono-Regular.ttf
#monob /usr/share/fonts/truetype/ttf-liberation/LiberationMono-Bold.ttf
#monoi /usr/share/fonts/truetype/ttf-liberation/LiberationMono-Italic.ttf
#monoz /usr/share/fonts/truetype/ttf-liberation/LiberationMono-BoldItalic.ttf
# Courier - Serif but smaller than Luxi (bigger and bolder than FreeFont Mono though)
#monor /usr/share/fonts/X11/Type1/c0419bt_.pfb
#monob /usr/share/fonts/X11/Type1/c0583bt_.pfb
#monoi /usr/share/fonts/X11/Type1/c0582bt_.pfb
#monoz /usr/share/fonts/X11/Type1/c0611bt_.pfb
# Bitstream Vera Sans Mono - Readable but Sans (not Serif)
#monor /usr/share/fonts/truetype/ttf-bitstream-vera/VeraMono.ttf
#monob /usr/share/fonts/truetype/ttf-bitstream-vera/VeraMoBd.ttf
#monoi /usr/share/fonts/truetype/ttf-bitstream-vera/VeraMoIt.ttf
#monoz /usr/share/fonts/truetype/ttf-bitstream-vera/VeraMoBI.ttf
# DejaVu Sans Mono - Derivative of Bitstream so very similar
#monor /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono.ttf
#monob /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-Bold.ttf
#monoi /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-Oblique.ttf
#monoz /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-BoldOblique.ttf
# OCRA - Quite bold (changes window size)
#monor /usr/share/fonts/truetype/ttf-ocr-a/OCRA.ttf
#monor /usr/share/fonts/truetype/ttf-ocr-a/OCRABold.ttf
#monoi /usr/share/fonts/truetype/ttf-ocr-a/OCRAItalic.ttf
#monoz /usr/share/fonts/truetype/ttf-ocr-a/OCRAItalic.ttf
# Courier BGP - similar to DejaVu Sans Mono
#monor /usr/share/fonts/truetype/ttf-bpg-georgian/BPG_Courier.ttf
#monob /usr/share/fonts/truetype/ttf-bpg-georgian/BPG_Courier_Bold.ttf
#monoi /usr/share/fonts/truetype/ttf-ocr-a/OCRAItalic.ttf
#monoz /usr/share/fonts/truetype/ttf-ocr-a/OCRAItalic.ttf
# Inconsolata - small (changes window size)
#monor /usr/share/fonts/truetype/ttf-inconsolata/Inconsolata.otf
#monob /usr/share/fonts/truetype/ttf-inconsolata/Inconsolata.otf
#monoi /usr/share/fonts/truetype/ttf-inconsolata/Inconsolata.otf
#monoz /usr/share/fonts/truetype/ttf-inconsolata/Inconsolata.otf
# Zelda DX - for fun (changes window size)
#monor /usr/share/fonts/truetype/aenigma/zeldadxt.ttf
#monob /usr/share/fonts/truetype/aenigma/zeldadxt.ttf
#monoi /usr/share/fonts/truetype/aenigma/zeldadxt.ttf
#monoz /usr/share/fonts/truetype/aenigma/zeldadxt.ttf
# Luxi - Current one. Serif.
#monor /usr/src/gargoyle-2009-08-25/garglk/fonts/LuxiMonoRegular.pfb
#monob /usr/src/gargoyle-2009-08-25/garglk/fonts/LuxiMonoBold.pfb
#monoi /usr/src/gargoyle-2009-08-25/garglk/fonts/LuxiMonoBoldOblique.pfb
#monoz /usr/src/gargoyle-2009-08-25/garglk/fonts/LuxiMonoOblique.pfb
monor LuxiMonoRegular
monob LuxiMonoBold
monoi LuxiMonoOblique
monoz LuxiMonoBoldOblique
--
Sylvain
Oh wait, the problem is with mono fonts... Libertine won't help then.
I like the idea of using fontconfig instead of built-in fonts. It appears to work under Windows as well, so it's quite possible that something like this will become the new way for Gargoyle to handle fonts. I'll take a pass at it in the next few days.
Gargoyle entered Debian "unstable" :)
http://packages.debian.org/sid/gargoyle-free
This means it should be included in the next Debian release.
There are still a few things to fix, for example it's not possible to
call 'glulxe' directly, but it's not critical right now.
By the way, about fontconfig: the example utilities are usually a good
source of "documentation", maybe you'll want to check the 'fc-match'
source code.
--
Sylvain