Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 111896 - Allegro 4.2.0 released!
Summary: Allegro 4.2.0 released!
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-08 10:40 UTC by Michael Färber
Modified: 2006-03-31 13:17 UTC (History)
2 users (show)

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


Attachments
Allegro 4.2.0 Ebuild (allegro-4.2.0.ebuild,2.16 KB, text/plain)
2005-11-08 10:45 UTC, Michael Färber
Details
Updated ebuild. (allegro-4.2.0.ebuild,2.24 KB, text/plain)
2005-11-08 16:19 UTC, David Wang
Details
default to use shared library, even when USE=static. (allegro-4.2.0-default-shared.patch,321 bytes, patch)
2005-11-14 15:13 UTC, David Wang
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Färber 2005-11-08 10:40:51 UTC
The new Allegro version, Allegro 4.2.0, has now been officially released!

We do already have an Allegro Ebuild (for version 4.1.18), and I have adapted it
a bit for the new version

Reproducible: Always
Steps to Reproduce:
1. Download Ebuild and copy to /usr/local/portage/media-libs/allegro
2. Run "ebuild /usr/local/portage/media-libs/allegro/allegro-4.2.0.ebuild digest".
3. emerge allegro

Actual Results:  
After running this, the Allegro library should be installed.


The new Ebuild is just slightly different from the old one; the old one included
a patch which has been included in the official Allegro some time ago and is not
needed in the Ebuild anymore.

It may be important to add that Allegro is said to be fully 64-bit safe.
Comment 1 Michael Färber 2005-11-08 10:45:24 UTC
Created attachment 72459 [details]
Allegro 4.2.0 Ebuild

I have one question: There is a line

# $Header: /var/cvsroot/gentoo-x86/media-libs/allegro/allegro-4.1.18.ebuild,v
1ld,v 1.4 2005/08/29 03:28:47 mr_bones_ Exp $

Do I have to modify this line or do I have to add a new line, or what shall I
do with this?
Comment 2 David Wang 2005-11-08 16:19:44 UTC
Created attachment 72473 [details]
Updated ebuild.

Hi,

I've just added a few use flags to the previous ebuild: debug, profile, conly.

The 'debug' and 'profile' flags only compile the debug and profiling versions
of the library, and not the example programs.

What's a bit annoying is that you need to add FEATURES=nostrip for the
debugging library, causing the normal library to not be stripped.

The 'conly' flag disables the use of asm code.	I made it this way so that asm
was enabled by default, but this makes its a little ugly.
Comment 3 Michael Färber 2005-11-11 06:10:49 UTC
Cool!

Now my question is - when will this be introduced to the official Portage tree?
Comment 5 Michael Färber 2005-11-12 01:24:32 UTC
Oh, I didn't want to be rude, I just feared that nobody was interested in this
because in the Bugzilla system of other projects there usually were comments
from developers that somebody would have a look at this, but this doesn't seem
to be the case here ...

Anyway, I will not ask for a date anymore ;-)
Comment 6 Chris Gianelloni (RETIRED) gentoo-dev 2005-11-12 07:55:11 UTC
Over here, if we don't RESOLVED-WONTFIX, RESOLVED-CANTFIX, or RESOLVED-LATER it,
then it means we'll eventually get to it.  The main thing is interest and manpower.
Comment 7 David Wang 2005-11-14 15:13:42 UTC
Created attachment 72913 [details, diff]
default to use shared library, even when USE=static.

I found that when you compile with "USE=static", which compiles both shared and
static libraries, programs are linked to the static library by default due line
50: $(use_enable static staticprog).

I think that normally the shared library should be used, and when it comes to
distributing something statically linked, you link your project with
`allegro-config --libs --static` yourself.

Alternatively, we could add another use flag and let the user select their
preferred behaviour.

I prefer the 1st option, which is what the patch does.
Comment 8 Tupone Alfredo gentoo-dev 2006-03-31 13:17:12 UTC
version bumped a while ago. Thanks for report
Shared library comment applyed, Thanks for solution