Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 116062 - dev-libs/glkloader-0.3.2 (new package)
Summary: dev-libs/glkloader-0.3.2 (new package)
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: 116061
Blocks: 117932 116063 116406
  Show dependency tree
 
Reported: 2005-12-19 10:06 UTC by Rafal Rzepecki
Modified: 2008-04-03 13:39 UTC (History)
1 user (show)

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


Attachments
glkloader-0.3.2.ebuild (glkloader-0.3.2.ebuild,899 bytes, text/plain)
2005-12-19 10:07 UTC, Rafal Rzepecki
Details
0.3.2-glkloaderrc (0.3.2-glkloaderrc,26 bytes, text/plain)
2005-12-19 10:07 UTC, Rafal Rzepecki
Details
0.3.2-makefile.patch (0.3.2-makefile.patch,1021 bytes, patch)
2005-12-19 10:07 UTC, Rafal Rzepecki
Details | Diff
glkloader-0.3.2.ebuild (glkloader-0.3.2.ebuild,896 bytes, text/plain)
2007-07-11 15:53 UTC, David Leverton
Details
0.3.2-gentoo.patch (0.3.2-gentoo.patch,4.82 KB, patch)
2007-07-11 15:55 UTC, David Leverton
Details | Diff
glkloader-0.3.2.ebuild (glkloader-0.3.2.ebuild,885 bytes, text/plain)
2007-07-27 12:36 UTC, David Leverton
Details
0.3.2-gentoo.patch (0.3.2-gentoo.patch,4.81 KB, patch)
2007-07-27 12:36 UTC, David Leverton
Details | Diff
glkloader-0.3.2.ebuild (glkloader-0.3.2.ebuild,1.15 KB, text/plain)
2007-12-08 17:13 UTC, David Leverton
Details
glkloader-0.3.2-gentoo.patch (glkloader-0.3.2-gentoo.patch,2.67 KB, patch)
2007-12-08 17:15 UTC, David Leverton
Details | Diff
glkloader-0.3.2-Makefile.patch (glkloader-0.3.2-Makefile.patch,2.98 KB, patch)
2007-12-08 17:16 UTC, David Leverton
Details | Diff
glk-0.ebuild (glk-0.ebuild,390 bytes, text/plain)
2007-12-08 17:17 UTC, David Leverton
Details
glkloader-0.3.2.ebuild (glkloader-0.3.2.ebuild,2.04 KB, text/plain)
2008-04-03 13:23 UTC, David Leverton
Details
glkloader-0.3.2-64bit.patch (glkloader-0.3.2-64bit.patch,606 bytes, patch)
2008-04-03 13:24 UTC, David Leverton
Details | Diff
glkloader-0.3.2-double-free.patch (glkloader-0.3.2-double-free.patch,346 bytes, patch)
2008-04-03 13:25 UTC, David Leverton
Details | Diff
glkloader-0.3.2-glk-0.7.0.patch (glkloader-0.3.2-glk-0.7.0.patch,15.28 KB, patch)
2008-04-03 13:26 UTC, David Leverton
Details | Diff
glkloader-0.3.2-gtkglk-extensions.patch (glkloader-0.3.2-gtkglk-extensions.patch,429 bytes, patch)
2008-04-03 13:28 UTC, David Leverton
Details | Diff
glkloader-0.3.2-garglk-extensions.patch (glkloader-0.3.2-garglk-extensions.patch,1.78 KB, patch)
2008-04-03 13:29 UTC, David Leverton
Details | Diff
glkloader-0.3.2-dynamic-blorb-dispa.patch (glkloader-0.3.2-dynamic-blorb-dispa.patch,6.74 KB, patch)
2008-04-03 13:31 UTC, David Leverton
Details | Diff
glkloader-0.3.2-cache-function-pointers.patch (glkloader-0.3.2-cache-function-pointers.patch,12.12 KB, patch)
2008-04-03 13:32 UTC, David Leverton
Details | Diff
glkloader-0.3.2-no-rdynamic.patch (glkloader-0.3.2-no-rdynamic.patch,624 bytes, patch)
2008-04-03 13:32 UTC, David Leverton
Details | Diff
glkloader-0.3.2-configure.ac (glkloader-0.3.2-configure.ac,166 bytes, text/plain)
2008-04-03 13:34 UTC, David Leverton
Details
glkloader-0.3.2-Makefile.am (glkloader-0.3.2-Makefile.am,556 bytes, text/plain)
2008-04-03 13:35 UTC, David Leverton
Details
glkstart.h (glkstart.h,1.48 KB, text/plain)
2008-04-03 13:37 UTC, David Leverton
Details
glk-0.ebuild (glk-0.ebuild,375 bytes, text/plain)
2008-04-03 13:39 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:06:37 UTC
GLK is a library interface that allows cross-platform programming of interactive fiction interfaces. Glkloader is a wrapper implementation of this interface; it allows dynamic loading of other implementations at runtime.

As to provide a default implementation, it pulls dev-libs/xglk (if X use flag is in effect), cf. bug #116061.
Comment 1 Rafal Rzepecki 2005-12-19 10:07:13 UTC
Created attachment 75116 [details]
glkloader-0.3.2.ebuild
Comment 2 Rafal Rzepecki 2005-12-19 10:07:37 UTC
Created attachment 75117 [details]
0.3.2-glkloaderrc
Comment 3 Rafal Rzepecki 2005-12-19 10:07:56 UTC
Created attachment 75118 [details, diff]
0.3.2-makefile.patch
Comment 4 Michele Noberasco (RETIRED) gentoo-dev 2006-03-01 06:29:25 UTC
let's see
Comment 5 Michele Noberasco (RETIRED) gentoo-dev 2006-03-01 06:29:47 UTC
.
Comment 6 Michele Noberasco (RETIRED) gentoo-dev 2006-08-23 06:16:51 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 7 David Leverton 2007-07-11 15:53:52 UTC
Created attachment 124567 [details]
glkloader-0.3.2.ebuild

Updated ebuild based on the previous version:

* Use mirror.ifarchive.org in SRC_URI

* Remove X USE-flag that doesn't have any effect (changing the dependencies without modifying the package itself doesn't count ;-) )

* Fixes most compile warnings (the ones that are left are unlikely to cause problems)

* Fix parallel build

* Fix crash on launch

* Fix for 64-bit arches, and tested on amd64
Comment 8 David Leverton 2007-07-11 15:55:14 UTC
Created attachment 124569 [details, diff]
0.3.2-gentoo.patch

This includes the contents of 0.3.2-makefile.patch
Comment 9 David Leverton 2007-07-27 12:36:15 UTC
Created attachment 126145 [details]
glkloader-0.3.2.ebuild

Small update: nicer way of handling user CFLAGS, multilib fix.
Comment 10 David Leverton 2007-07-27 12:36:42 UTC
Created attachment 126147 [details, diff]
0.3.2-gentoo.patch
Comment 11 David Leverton 2007-12-08 17:13:48 UTC
Created attachment 138033 [details]
glkloader-0.3.2.ebuild

Updated ebuild.  The main change is that it now uses libtool to build the library.  I'm also using it from dev-games rather than dev-libs.
Comment 12 David Leverton 2007-12-08 17:15:13 UTC
Created attachment 138034 [details, diff]
glkloader-0.3.2-gentoo.patch

Updated patch - the Makefile part was getting a bit big, so I split it out into a separate patch again.
Comment 13 David Leverton 2007-12-08 17:16:08 UTC
Created attachment 138036 [details, diff]
glkloader-0.3.2-Makefile.patch
Comment 14 David Leverton 2007-12-08 17:17:08 UTC
Created attachment 138037 [details]
glk-0.ebuild

New-style virtual/glk ebuild - only xglk (bug 116061) for now, but maybe others in future.
Comment 16 David Leverton 2008-04-03 13:24:50 UTC
Created attachment 148225 [details, diff]
glkloader-0.3.2-64bit.patch

Patch for 64-bit cleanliness.
Comment 17 David Leverton 2008-04-03 13:25:40 UTC
Created attachment 148226 [details, diff]
glkloader-0.3.2-double-free.patch

Fix double-free.
Comment 18 David Leverton 2008-04-03 13:26:55 UTC
Created attachment 148227 [details, diff]
glkloader-0.3.2-glk-0.7.0.patch

Update to support the Glk 0.7.0 API.
Comment 19 David Leverton 2008-04-03 13:28:24 UTC
Created attachment 148229 [details, diff]
glkloader-0.3.2-gtkglk-extensions.patch

Update the headers to allow applications to use gtkglk extensions; if used with some other Glk library, it should be harmless.  (Note, I have an ebuild for gtkglk, but it's not ready to be submitted yet.)
Comment 20 David Leverton 2008-04-03 13:29:59 UTC
Created attachment 148231 [details, diff]
glkloader-0.3.2-garglk-extensions.patch

Allow applications to use Gargoyle extensions.  This requires a small patch to each non-Gargoyle Glk library, but since it's trivial in all the Glk libraries I've seen, I think it's harmless.
Comment 21 David Leverton 2008-04-03 13:31:10 UTC
Created attachment 148233 [details, diff]
glkloader-0.3.2-dynamic-blorb-dispa.patch

Forward blorb and dispatch layer calls to the Glk library, instead of using the builtin version.  This makes a slight difference if the Glk library implements an older version of the Glk API.
Comment 22 David Leverton 2008-04-03 13:32:07 UTC
Created attachment 148235 [details, diff]
glkloader-0.3.2-cache-function-pointers.patch

Cache the function pointers returned from dlsym.  This gives a noticeable speed-up.
Comment 23 David Leverton 2008-04-03 13:32:52 UTC
Created attachment 148237 [details, diff]
glkloader-0.3.2-no-rdynamic.patch

Remove the need to link applications with the -rdynamic flag.
Comment 24 David Leverton 2008-04-03 13:34:26 UTC
Created attachment 148238 [details]
glkloader-0.3.2-configure.ac

I got sick of trying to convince the build system not to suck, so I wrote a basic configure.ac and Makefile.am.  The configure.ac uses @PV@ instead of a hard-coded version number, fixed in the ebuild using sed, to avoid having to create a new one for version bumps if there are no real changes needed.
Comment 25 David Leverton 2008-04-03 13:35:15 UTC
Created attachment 148240 [details]
glkloader-0.3.2-Makefile.am
Comment 26 David Leverton 2008-04-03 13:37:47 UTC
Created attachment 148242 [details]
glkstart.h

glkstart.h from http://www.eblong.com/zarf/glk/, required by glkloader but not included.  I suspect no-one noticed before because the Glk libraries themselves installed it.
Comment 27 David Leverton 2008-04-03 13:39:39 UTC
Created attachment 148243 [details]
glk-0.ebuild

Updated virtual.  Not all the providers have ebuilds submitted yet, but that will probably change.