Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Fix the broken GIMP ebuild, please
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
helmers
Guru
Guru


Joined: 16 Sep 2002
Posts: 553
Location: Stange, Norway

PostPosted: Sun Nov 10, 2002 10:35 am    Post subject: Fix the broken GIMP ebuild, please Reply with quote

I've finally gotten GIMP 1.3 to emerge gracefully, after going down from -march=athlon-xp to -march=i686. Setting the -O2 instead of -O4 had no effect, without changing the -march.

The result when emerging with to much optimization is that every image is not showing. It's just a transparant rectangle.


Could someone please fix this ebuild so it enforces whatever flags may be needed?
_________________
C is for Cookies!


Last edited by helmers on Sun Nov 10, 2002 1:11 pm; edited 1 time in total
Back to top
View user's profile Send private message
thinair
Tux's lil' helper
Tux's lil' helper


Joined: 01 Nov 2002
Posts: 144
Location: Suisse

PostPosted: Sun Nov 10, 2002 11:22 am    Post subject: Reply with quote

Are you sure it's the ebuild... 1.3.X gimp brach are unstable...

--
thinair
Back to top
View user's profile Send private message
helmers
Guru
Guru


Joined: 16 Sep 2002
Posts: 553
Location: Stange, Norway

PostPosted: Sun Nov 10, 2002 1:09 pm    Post subject: Reply with quote

Yup, I'm very sure. I've seen other ebuilds force compiler flags (BitchX springs to mind), and since I compiled The GIMP 1.3.10 four times before getting it right, I'd say it's a problem.

What I hope is that it's easely fixed, so that everybody can enjoy the GTK2 GIMP version. :wink:
_________________
C is for Cookies!
Back to top
View user's profile Send private message
lx
Veteran
Veteran


Joined: 28 May 2002
Posts: 1012
Location: Netherlands

PostPosted: Sun Nov 10, 2002 1:51 pm    Post subject: Reply with quote

I have compiled gimp-1.3.10 using my make.conf flags "march=ahtlon-xp -O2 -pipe" (very safe, but I don't want segsfaults because of stupid flags).

Transparant rectangle sounds familiar, I had to set the opacity level in the layer window and then the picture was displayed in gimp-1.3.9. It's the same in gimp-1.3.10, but this ain't an ebuild related error but an gimp error.

Compiling gimp using i686 should fixes this??? seems very strange....

But if so, then it could be an mmx c.q. sse problem.

Cya lX.
_________________
"Remember there's a big difference between kneeling down and bending over.", Frank Zappa
Back to top
View user's profile Send private message
lx
Veteran
Veteran


Joined: 28 May 2002
Posts: 1012
Location: Netherlands

PostPosted: Sun Nov 10, 2002 2:41 pm    Post subject: Reply with quote

Search google / checked the gimp bugs page and it states that there are problems with mmx and pictures not using alpha-blending. So maybe the -mno-mmx option should be added to the flags, haven't tried it and will do so later, maybe a bug report is in order,.....

Maybe the next release will fix this bug,.....

Cya lX.
_________________
"Remember there's a big difference between kneeling down and bending over.", Frank Zappa
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20093

PostPosted: Sun Nov 10, 2002 8:25 pm    Post subject: Reply with quote

Do the developers know of the bug over at bugs?
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
lx
Veteran
Veteran


Joined: 28 May 2002
Posts: 1012
Location: Netherlands

PostPosted: Sun Nov 10, 2002 8:39 pm    Post subject: Reply with quote

First have to figure out if it is a bug, just compiled with -mno-mmx but it didn't fix anything (need to set opacity level by hand), will try i686 later, but not now,

It ain't a bug in the ebuild, is it? seems more like a bug with gimp, so I don't know if we need to post it.

Cya lX.
_________________
"Remember there's a big difference between kneeling down and bending over.", Frank Zappa
Back to top
View user's profile Send private message
lx
Veteran
Veteran


Joined: 28 May 2002
Posts: 1012
Location: Netherlands

PostPosted: Sun Nov 10, 2002 10:08 pm    Post subject: Reply with quote

tried march=i686 and now the images are shown (opacity level is not default 0 for none alpha-rgb images), but not in the preview window when you open a file.

Cya lX.
_________________
"Remember there's a big difference between kneeling down and bending over.", Frank Zappa
Back to top
View user's profile Send private message
helmers
Guru
Guru


Joined: 16 Sep 2002
Posts: 553
Location: Stange, Norway

PostPosted: Mon Nov 11, 2002 12:52 pm    Post subject: Reply with quote

Hmm, I don't think we're talking about the same thing. :wink:

Since I got GIMP working, I'd rather not re-emerge it with higher optimizations. But I am pretty sure that it was not a problem with transparacy when I couldn't see the image. I also got an error about something being out of bounds. Could someone with a lot of optimizations try this? Other than not seeing or being able to draw anything, :!: The GIMP menus and preferences was working fine.

--
Regards,
Helmers
_________________
C is for Cookies!
Back to top
View user's profile Send private message
zenexsys
n00b
n00b


Joined: 29 Oct 2002
Posts: 14
Location: Northeast

PostPosted: Mon Nov 11, 2002 9:59 pm    Post subject: Reply with quote

Does this bug sound familiar?

http://bugzilla.gnome.org/show_bug.cgi?id=85249
Back to top
View user's profile Send private message
konstk
Tux's lil' helper
Tux's lil' helper


Joined: 13 Aug 2002
Posts: 75

PostPosted: Tue Nov 12, 2002 3:50 am    Post subject: Reply with quote

You can just use the following instead of change your use flags:

inherit flag-o-matic
replace -O3 -O2
Back to top
View user's profile Send private message
lx
Veteran
Veteran


Joined: 28 May 2002
Posts: 1012
Location: Netherlands

PostPosted: Tue Nov 12, 2002 12:38 pm    Post subject: Reply with quote

zenexsys wrote:
Does this bug sound familiar?

http://bugzilla.gnome.org/show_bug.cgi?id=85249


Now you've done it, you broke bugzilla, damn, were should I post a bug about a bug in bugzilla...... :wink:

Can't reach it, will try later, but I already found some bugs (maybe same) relating to mmx so therefore the -mno-mmx option, but I'll just wait until the gimp team fixes it, but reading there bugreports i've read, it doesn't have a high priority, seeing most people aren't compiling from source, :cry:

------ Update -------
Checked it now and it are the same symptoms I'm encountering, but the solution is not clear .-O3 -> -O2 doesn't fix it (I've used 02). ahtlon-xp -> i686 solves a part, maybe I should try i386 next.
------------------------

Cya lX.
_________________
"Remember there's a big difference between kneeling down and bending over.", Frank Zappa
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum