Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 116061 - dev-libs/xglk-0.4.11
Summary: dev-libs/xglk-0.4.11
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Michele Noberasco (RETIRED)
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks: 116062
  Show dependency tree
 
Reported: 2005-12-19 10:00 UTC by Rafal Rzepecki
Modified: 2008-04-03 13:50 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
xglk-0.4.11.ebuild (xglk-0.4.11.ebuild,1.16 KB, text/plain)
2005-12-19 10:01 UTC, Rafal Rzepecki
Details
0.4.11-Makefile (0.4.11-Makefile,5.03 KB, text/plain)
2005-12-19 10:02 UTC, Rafal Rzepecki
Details
0.4.11-xglk.rc (0.4.11-xglk.rc,38 bytes, text/plain)
2005-12-19 10:02 UTC, Rafal Rzepecki
Details
xglk-sdl-mixer-24bit-sanity.diff (xglk-sdl-mixer-24bit-sanity.diff,26.26 KB, patch)
2005-12-19 10:02 UTC, Rafal Rzepecki
Details | Diff
xglk-0.4.11.ebuild (xglk-0.4.11.ebuild,1.30 KB, text/plain)
2007-07-11 15:59 UTC, David Leverton
Details
0.4.11-Makefile (0.4.11-Makefile,5.02 KB, text/plain)
2007-07-11 16:00 UTC, David Leverton
Details
0.4.11-64bit.patch (0.4.11-64bit.patch,588 bytes, patch)
2007-07-11 16:00 UTC, David Leverton
Details | Diff
xglk-0.4.11.ebuild (xglk-0.4.11.ebuild,1.29 KB, text/plain)
2007-07-27 12:40 UTC, David Leverton
Details
0.4.11-Makefile (0.4.11-Makefile,5.01 KB, text/plain)
2007-07-27 12:41 UTC, David Leverton
Details
0.4.11-64bit.patch (0.4.11-64bit.patch,839 bytes, patch)
2007-07-27 12:41 UTC, David Leverton
Details | Diff
xglk-0.4.11.ebuild (xglk-0.4.11.ebuild,1.37 KB, text/plain)
2007-12-08 17:22 UTC, David Leverton
Details
xglk-0.4.11-64bit.patch (xglk-0.4.11-64bit.patch,247 bytes, patch)
2007-12-08 17:23 UTC, David Leverton
Details | Diff
xglk-0.4.11-Makefile.patch (xglk-0.4.11-Makefile.patch,3.83 KB, patch)
2007-12-08 17:24 UTC, David Leverton
Details | Diff
xglk-0.4.11.ebuild (xglk-0.4.11.ebuild,1.79 KB, text/plain)
2008-04-03 13:47 UTC, David Leverton
Details
xglk-0.4.11-optional-sdl.patch (xglk-0.4.11-optional-sdl.patch,4.38 KB, patch)
2008-04-03 13:48 UTC, David Leverton
Details | Diff
xglk-0.4.11-garglk-extensions.patch (xglk-0.4.11-garglk-extensions.patch,743 bytes, patch)
2008-04-03 13:49 UTC, David Leverton
Details | Diff
xglk-0.4.11-configure.ac (xglk-0.4.11-configure.ac,960 bytes, text/plain)
2008-04-03 13:50 UTC, David Leverton
Details
xglk-0.4.11-Makefile.am (xglk-0.4.11-Makefile.am,550 bytes, text/plain)
2008-04-03 13:50 UTC, David Leverton
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rafal Rzepecki 2005-12-19 10:00:52 UTC
GLK is a library interface for programming cross-platform interactive fiction interfaces. XGLK is an implementation of this interface for X11.

The attached ebuild uses a patch (also attached) to fix some build issues, add support for sound and truecolor graphics.

It PROVIDEs thus proposed virtual/glk, as there are more implementations of glk (such as cheapglk, glkterm and also a gtk-based implementation; ebuilds for these are not provided at this time). The library itself is compiled as a shared object to permit usage of glkloader (a wrapper glk library that allows selection of implementation at runtime, to be provided in a future bugreport).
Comment 1 Rafal Rzepecki 2005-12-19 10:01:36 UTC
Created attachment 75112 [details]
xglk-0.4.11.ebuild
Comment 2 Rafal Rzepecki 2005-12-19 10:02:05 UTC
Created attachment 75113 [details]
0.4.11-Makefile
Comment 3 Rafal Rzepecki 2005-12-19 10:02:31 UTC
Created attachment 75114 [details]
0.4.11-xglk.rc
Comment 4 Rafal Rzepecki 2005-12-19 10:02:59 UTC
Created attachment 75115 [details, diff]
xglk-sdl-mixer-24bit-sanity.diff
Comment 5 Michele Noberasco (RETIRED) gentoo-dev 2006-02-27 23:20:59 UTC
Time to start working on these, as I promised some time ago :-)
Comment 6 Michele Noberasco (RETIRED) gentoo-dev 2006-02-27 23:22:05 UTC
Assigned to myself
Comment 7 Michele Noberasco (RETIRED) gentoo-dev 2006-08-23 06:16:17 UTC
After a lot of time, some issues resolved, some others not, I decided against merging this set of changes into Portage. The main point is that I find this solution a bit overkill and too complicated, while simpler ones are already in Portage. Sorry :-(
Comment 8 David Leverton 2007-07-11 15:59:16 UTC
Created attachment 124571 [details]
xglk-0.4.11.ebuild

Updated ebuild based on the above:

* Use mirror.ifarchive.org in SRC_URI

* Respect user CFLAGS

* Use -fPIC to compile, multilib tweak, and tested on amd64

One small problem is that the static library also gets build with -fPIC, because the Makefile only builds each object file once.  I'm not sure if it's worth fixing this.
Comment 9 David Leverton 2007-07-11 16:00:13 UTC
Created attachment 124572 [details]
0.4.11-Makefile

Updated Makefile
Comment 10 David Leverton 2007-07-11 16:00:31 UTC
Created attachment 124574 [details, diff]
0.4.11-64bit.patch
Comment 11 David Leverton 2007-07-27 12:40:42 UTC
Created attachment 126149 [details]
xglk-0.4.11.ebuild

Small update: nicer way of handling user CFLAGS, more multilib fixing, turn off debugging in the sound module (which sneakily fixes some 64bit-related warnings).
Comment 12 David Leverton 2007-07-27 12:41:17 UTC
Created attachment 126150 [details]
0.4.11-Makefile
Comment 13 David Leverton 2007-07-27 12:41:41 UTC
Created attachment 126152 [details, diff]
0.4.11-64bit.patch
Comment 14 David Leverton 2007-12-08 17:22:18 UTC
Created attachment 138039 [details]
xglk-0.4.11.ebuild

Updated ebuild.  Notable changes: use libtool to build the shared library (fixes the -fPIC issue mentioned above), use headers from glkloader (bug 116062) instead of bundled (saves applying fixes in multiple places, in particular a 64-bit incompatibility), modular X dependencies, fix a mistake in the multilib handling in the previous ebuild that left a stray "xglk.rce" file lying around, don't PROVIDE virtual/glk anymore (new-style virtual attached to the glkloader bug).  I'm also now using this as dev-games/xglk, rather than dev-libs as before.
Comment 15 David Leverton 2007-12-08 17:23:08 UTC
Created attachment 138040 [details, diff]
xglk-0.4.11-64bit.patch

Updated 64-bit patch - the glk.h part is no longer necessary, as mentioned above.
Comment 16 David Leverton 2007-12-08 17:24:20 UTC
Created attachment 138042 [details, diff]
xglk-0.4.11-Makefile.patch

Updated Makefile (now as a patch, rather than the whole thing as before).
Comment 18 David Leverton 2008-04-03 13:48:22 UTC
Created attachment 148247 [details, diff]
xglk-0.4.11-optional-sdl.patch

Make SDL usage optional.
Comment 19 David Leverton 2008-04-03 13:49:23 UTC
Created attachment 148249 [details, diff]
xglk-0.4.11-garglk-extensions.patch

Implements some Gargoyle extensions to the Glk API, mostly as no-ops, so that applications can use them safely.
Comment 20 David Leverton 2008-04-03 13:50:11 UTC
Created attachment 148251 [details]
xglk-0.4.11-configure.ac

Again, I gave up on fixing the build system, so I wrote simple autotools files instead.
Comment 21 David Leverton 2008-04-03 13:50:38 UTC
Created attachment 148252 [details]
xglk-0.4.11-Makefile.am