Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42889 - New ebuild for GPSIM 0.21.2
Summary: New ebuild for GPSIM 0.21.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Embedded Team (OBSOLETE)
URL: http://www.dattalo.com/gnupic/gpsim.html
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2004-02-25 06:57 UTC by Laurence Withers
Modified: 2004-07-18 00:12 UTC (History)
1 user (show)

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


Attachments
Ebuild for dev-embedded/gpsim-0.21.2 (gpsim-0.21.2.ebuild,1.08 KB, text/plain)
2004-02-25 06:57 UTC, Laurence Withers
Details
gpsim-0.21.2.ebuild (gpsim-0.21.2.ebuild,1.14 KB, text/x-ebuild)
2004-03-05 02:08 UTC, Daniel Black (RETIRED)
Details
Ebuild for gpsim-0.21.2 (gpsim-0.21.2.ebuild,1.16 KB, text/plain)
2004-03-05 04:35 UTC, Laurence Withers
Details
Ebuild for dev-embedded/gpsim-0.21.2 (gpsim-0.21.2.ebuild,983 bytes, text/plain)
2004-06-18 10:57 UTC, Laurence Withers
Details
Ebuild for dev-embedded/gpsim-0.21.2 (gpsim-0.21.2.ebuild,949 bytes, text/plain)
2004-06-18 16:54 UTC, Laurence Withers
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Laurence Withers 2004-02-25 06:57:06 UTC
This is a new ebuild for dev-embedded/gpsim-0.21.2. It has one local use flag, ``gui'', which is used to enable the GUI interface (since it can be built as a pure commandline app). It also listens to the global ``gtk2'' flag -- but if this flag is enabled, it requires a CVS snapshot of GTK+Extra (see bug 42888 for an ebuild I just submitted for that).
Comment 1 Laurence Withers 2004-02-25 06:57:41 UTC
Created attachment 26326 [details]
Ebuild for dev-embedded/gpsim-0.21.2
Comment 2 Daniel Black (RETIRED) gentoo-dev 2004-03-05 02:08:40 UTC
Created attachment 26887 [details]
gpsim-0.21.2.ebuild

Here's my version - The changes from the orig are:
removed gui use flag - I didn't think "gui" and "gtk2" could be used separtaely
although I could be wrong. If this is the case I'll use "X" rather than "gui".
Looking at the gtk2 def if says to use gtk2 when there is a choise of the two.
Changed it to gtk otherwise spanky will be harrassing me.
Added a few more depends.
In the nongui mode is >=x11-libs/gtk+extra-0.99.17 needed? Maybe i missread it.
Awaiting resolution of bug 42888 before completion.
Comment 3 Laurence Withers 2004-03-05 04:35:55 UTC
Created attachment 26897 [details]
Ebuild for gpsim-0.21.2

There is actually a choice as to whether GTK+ or GTK+2 is used, so the
GTK2 use flag should stay. But I think you're right about using an X flag
instead of a gui flag. So to that end, I've attached a slightly revised
ebuild which uses the GTK2 flag and the X flag.
Comment 4 Daniel Black (RETIRED) gentoo-dev 2004-03-07 12:41:50 UTC
Thanks for the update. I going to put a nested dependancy around the !gtk2 so that it is.
X? ( !gtk2? ( >=x11-libs/gtk+-1.2.0 ) )
X? ( !gtk2? ( =x11-libs/pango-1* ) )

This is allowed since portage-2.0.50 (which I *may* add as a dependancy).

This is so USE="-X -gtk2" doesn't depend on these libs. Note full package name too. Make sence? Anyhow in the mean time I just waiting on bug #42888 to be commited.
Comment 5 Peter Jensen 2004-06-06 02:05:24 UTC
Just out of curiosity, what is flag-o-matic doing in this ebuild?
Also, this line:

!gtk2? ( >= gtk+-1.2.0 )

Should probably be:

!gtk2? ( >=gtk+-1.2.0 )

Finally, if you ask me, I think the 'gtk2' flag should be dropped for this revision, so people can *use* the new gpsim without changing USE flags.
If GTK+Extra ever does get released, a new revision of the ebuild can be sent out.
Other than that, the package compiles fine, though it runs a bit more unstable than the previous version.
Comment 6 SpanKY gentoo-dev 2004-06-06 14:34:57 UTC
all those lines should be 'x11-libs/gtk+' ... using incomplete atoms is always wrong

neither eutils or flag-o-matic is needed by this ebuild ...
Comment 7 Laurence Withers 2004-06-18 10:56:03 UTC
Slightly updated the ebuild, so now it:
 - has an "X" use flag instead of anything else,
 - doesn't use GTK+2 at all (so this ebuild no longer depends on bug 42888),
 - doesn't have incomplete atoms,
 - adds a "doc" use flag which converts the LyX documentation into PDF.
Comment 8 Laurence Withers 2004-06-18 10:57:46 UTC
Created attachment 33509 [details]
Ebuild for dev-embedded/gpsim-0.21.2
Comment 9 Laurence Withers 2004-06-18 11:03:09 UTC
The new ebuild gives a sandbox access violation when I'm building the docs.
Does anybody have any idea on how to get around this?
Comment 10 Laurence Withers 2004-06-18 16:54:41 UTC
Created attachment 33538 [details]
Ebuild for dev-embedded/gpsim-0.21.2

Updated ebuild which now uses prebuilt documentation rather than relying on
lyx. The docs are only pulled down if the doc use flag is on. Thanks to
puggy for hosting this.
Comment 11 Daniel Black (RETIRED) gentoo-dev 2004-07-18 00:11:59 UTC
version commited.
Comment 12 Daniel Black (RETIRED) gentoo-dev 2004-07-18 00:12:07 UTC
version commited.