First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 111896
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Michael Färber <01mf02@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
allegro-4.2.0.ebuild Allegro 4.2.0 Ebuild text/plain Michael Färber 2005-11-08 10:45 0000 2.16 KB Details
allegro-4.2.0.ebuild Updated ebuild. text/plain David Wang 2005-11-08 16:19 0000 2.24 KB Details
allegro-4.2.0-default-shared.patch default to use shared library, even when USE=static. patch David Wang 2005-11-14 15:13 0000 321 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 111896 depends on: Show dependency tree
Show dependency graph
Bug 111896 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-11-08 10:40 0000
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 From Michael Färber 2005-11-08 10:45:24 0000 -------
Created an attachment (id=72459) [edit]
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 From David Wang 2005-11-08 16:19:44 0000 -------
Created an attachment (id=72473) [edit]
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 From Michael Färber 2005-11-11 06:10:49 0000 -------
Cool!

Now my question is - when will this be introduced to the official Portage tree?

------- Comment #4 From UncleOwen 2005-11-11 06:37:03 0000 -------
http://www.gentoo.org/proj/en/desktop/games/#doc_chap5_sect10

------- Comment #5 From Michael Färber 2005-11-12 01:24:32 0000 -------
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 From Chris Gianelloni (RETIRED) 2005-11-12 07:55:11 0000 -------
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 From David Wang 2005-11-14 15:13:42 0000 -------
Created an attachment (id=72913) [edit]
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 From Tupone Alfredo 2006-03-31 13:17:12 0000 -------
version bumped a while ago. Thanks for report
Shared library comment applyed, Thanks for solution

First Last Prev Next    No search results available      Search page      Enter new bug