Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GPLflash2 ebuild on AMD64 in 64bit
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
infirit
l33t
l33t


Joined: 11 Jan 2003
Posts: 778
Location: Hoofddorp / The Netherlands

PostPosted: Sat May 28, 2005 11:13 pm    Post subject: GPLflash2 ebuild on AMD64 in 64bit Reply with quote

I was looking for a solution for flash under AMD64 but without using 32bit apps. I tried swfdec and gplflash, both worked ok but only for flash animations version 3/4. I found GPLflash2 and this is a new codebase which will support flash 7. I tried it and it worked ok, not all is implemented and it is still buggy but it worked. I deceided to make an ebuild for it.

This is my first cvs ebuild so I expect it to have errors in it, please let me know so I can fix. if you are running a 32bit install DO NOT install this.

Please leave some comments if it worded or not.

***EDIT 11-june: The browserplugin is kind of broken at the moment :(***

***edit 24 sept: I made some changes to the ebuild. Also a patch is now needed to have gplflash compile with the latest ffmpeg***

***edit 11 oktober: FFmpeg and swf.hh fix not needed anymore. Thanks tsunam for the sed line :wink: ***
***The browser plugin does not crash mozilla inmediatly anymore! Still does later but there is progress :twisted: ***

GPLflash is under development so it might work or not

Code:
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit cvs flag-o-matic multilib

IUSE="konqueror"

DESCRIPTION="GplFlash2"
HOMEPAGE="http://gplflash.sourceforge.net/"

ECVS_SERVER="cvs.sourceforge.net:/cvsroot/gplflash"
ECVS_MODULE="gplflash2"
ECVS_AUTH="pserver"
ECVS_USER="anonymous"

LICENSE="LGPL"
SLOT="0"

KEYWORDS="~amd64 ~x86"

DEPEND="media-libs/jpeg
   sys-libs/zlib
   >=media-libs/libsdl-1.2.8
   >=dev-libs/libxml2-2.6.0
   media-video/ffmpeg
   virtual/x11
   media-libs/freetype
   konqueror? ( "kde-base/konqueror" )"

src_compile() {

   filter-ldflags "-Wl,--as-needed"
   filter-flags "-Wl,--as-needed"

   cd ${WORKDIR}/${PN}/player
   sed -i 's:flashplayerdir = .:flashplayerdir = $(PREFIX)/$(includedir)/gplflash2:g' Makefile.am

   cd ${WORKDIR}/${PN}

   autoreconf -i -f || die "autoreconf failed"

   econf \
   --with-plugin-dir=/usr/$(get_libdir)/nsbrowser/plugins \
   || die "configure failed"

   emake  || die "Compile failed"
}

src_install() {

   cd ${WORKDIR}/${PN}
   make DESTDIR=${D} install || die "Install failed"
}

_________________
EASY TO INSTALL = Difficult to install, but instruction manual has pictures.
Join the adopt an unanswered post initiative today


Last edited by infirit on Sat Oct 15, 2005 10:12 am; edited 11 times in total
Back to top
View user's profile Send private message
dice
Guru
Guru


Joined: 21 Apr 2002
Posts: 577

PostPosted: Sun May 29, 2005 1:01 am    Post subject: Reply with quote

Ebuild works, but when I visit sites which have flash the flash plays, although firefox eats ~80% CPU, then if I try and close the tab ff crashes. Probably just a bug in gplflash.
Back to top
View user's profile Send private message
Chaosite
Guru
Guru


Joined: 13 Dec 2003
Posts: 540
Location: Right over here.

PostPosted: Sun May 29, 2005 3:44 am    Post subject: Reply with quote

A week ago it crashed firefox, so this is a major improvement ;)
Back to top
View user's profile Send private message
el_Salmon
Guru
Guru


Joined: 15 Dec 2003
Posts: 339
Location: Around 2.4GHz

PostPosted: Thu Jun 02, 2005 9:10 pm    Post subject: Reply with quote

I think we have to wait some time. Gplflash2 plugin (from cvs ebuild) crashed my firefox at first when I try on view a web page with flash v7. Moreover, this gplflash2 ebuild doesn't create a correct link from Mozilla plugins path.
Back to top
View user's profile Send private message
Acoc
Apprentice
Apprentice


Joined: 06 Aug 2004
Posts: 189
Location: New Jersey, USA

PostPosted: Sat Jun 11, 2005 3:24 am    Post subject: Reply with quote

--with-plugin-dir=${D}/usr/lib/MozillaFirefox/plugins for me.

However, after trying it I would say that this app is in basic alpha testing. Sometimes a background can load on a flash and then gplflash2 can read if you push a button or not, but that is about it. Don't expect any real animations. I would not suggest compiling this unless you want to be directly involved with the project.

John
_________________
_There were plenty of times in my century when I was gonna give up, but I never did. Never! Hey, are you even listening to me? Oh, I give up._ Futurama
Back to top
View user's profile Send private message
TrueDFX
Retired Dev
Retired Dev


Joined: 02 Jun 2004
Posts: 1348

PostPosted: Sat Jun 11, 2005 10:13 am    Post subject: Reply with quote

/usr/$(get_libdir)/nsbrowser/plugins should be the right plugin dir for any of the Mozilla-based browsers. (inherit multilib to get get_libdir).
Back to top
View user's profile Send private message
infirit
l33t
l33t


Joined: 11 Jan 2003
Posts: 778
Location: Hoofddorp / The Netherlands

PostPosted: Sat Jun 11, 2005 12:48 pm    Post subject: Reply with quote

TrueDFX wrote:
/usr/$(get_libdir)/nsbrowser/plugins should be the right plugin dir for any of the Mozilla-based browsers. (inherit multilib to get get_libdir).
Updated the ebuild, thanks :D
_________________
EASY TO INSTALL = Difficult to install, but instruction manual has pictures.
Join the adopt an unanswered post initiative today
Back to top
View user's profile Send private message
Zanfib
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jun 2004
Posts: 87
Location: France - Blotzheim

PostPosted: Fri Jun 24, 2005 9:36 am    Post subject: Reply with quote

cvs version of 23 of june is more stable with firefox. They've fixed a lot of crashes, good job :-D

Thanks for the ebuild !
Back to top
View user's profile Send private message
ebrostig
Bodhisattva
Bodhisattva


Joined: 20 Jul 2002
Posts: 3152
Location: Orlando, Fl

PostPosted: Fri Jun 24, 2005 2:34 pm    Post subject: Reply with quote

I tried to install it today, emerged fine..

But every site using flash causes Firefox to crash, so I unmerged it to be able to use the browser.
_________________
'Yes, Firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.'
Back to top
View user's profile Send private message
infirit
l33t
l33t


Joined: 11 Jan 2003
Posts: 778
Location: Hoofddorp / The Netherlands

PostPosted: Fri Jun 24, 2005 3:00 pm    Post subject: Reply with quote

Most of the work is now going into the implementation of flash and the standalone player.

I have been lurking in the background on the mailing list and they might release an alpha in July but this is being debated.
_________________
EASY TO INSTALL = Difficult to install, but instruction manual has pictures.
Join the adopt an unanswered post initiative today
Back to top
View user's profile Send private message
ebrostig
Bodhisattva
Bodhisattva


Joined: 20 Jul 2002
Posts: 3152
Location: Orlando, Fl

PostPosted: Fri Jun 24, 2005 11:01 pm    Post subject: Reply with quote

Great info! Thanks!

I'm going to emerge and try it from time to time since it's a CVS ebuild. Things are bound to change quickly...
_________________
'Yes, Firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.'
Back to top
View user's profile Send private message
hjkelly
n00b
n00b


Joined: 07 Jul 2005
Posts: 30
Location: Raleigh, NC, USA

PostPosted: Mon Jul 11, 2005 11:11 pm    Post subject: Reply with quote

I'm finishing up an install on my new laptop... can anybody give an update on GPLflash's stability?
Back to top
View user's profile Send private message
Koradji
Tux's lil' helper
Tux's lil' helper


Joined: 01 Apr 2005
Posts: 86
Location: Perth, Australia

PostPosted: Mon Aug 08, 2005 12:40 pm    Post subject: Reply with quote

Thanks for the ebuild.
/me experiments

I note gplflash want developers. I wish i could. Flash7 open source on 64 bit, before macromedia have it, would be awesome.
_________________
koradji login: emerge nvidia-drivers
password: ...
Back to top
View user's profile Send private message
Koradji
Tux's lil' helper
Tux's lil' helper


Joined: 01 Apr 2005
Posts: 86
Location: Perth, Australia

PostPosted: Mon Aug 08, 2005 2:11 pm    Post subject: n00b question ... Reply with quote

I have somehow missed something obvious...

Code:

!!! Name error in gplflash2: missing a version or name part.
!!! Error: PF is null 'gplflash2'; exiting.


What is the ebuild supposed to be called, please?
_________________
koradji login: emerge nvidia-drivers
password: ...
Back to top
View user's profile Send private message
infirit
l33t
l33t


Joined: 11 Jan 2003
Posts: 778
Location: Hoofddorp / The Netherlands

PostPosted: Mon Aug 08, 2005 2:15 pm    Post subject: Re: n00b question ... Reply with quote

Koradji wrote:
I have somehow missed something obvious...

Code:

!!! Name error in gplflash2: missing a version or name part.
!!! Error: PF is null 'gplflash2'; exiting.


What is the ebuild supposed to be called, please?

You can give it any name as long as the folder that it is in has the same name.

The obvious thing :wink: is that portage expects a version number in the name of the ebuild. You probably just called it gplflash2.ebuild :?:

For example OVERLAY_DIR/net-www/gplflash2/gplflash2-0.99.ebuild
_________________
EASY TO INSTALL = Difficult to install, but instruction manual has pictures.
Join the adopt an unanswered post initiative today
Back to top
View user's profile Send private message
Koradji
Tux's lil' helper
Tux's lil' helper


Joined: 01 Apr 2005
Posts: 86
Location: Perth, Australia

PostPosted: Tue Aug 09, 2005 5:40 pm    Post subject: Reply with quote

Thankyou! :~)
_________________
koradji login: emerge nvidia-drivers
password: ...
Back to top
View user's profile Send private message
petrjanda
Veteran
Veteran


Joined: 05 Sep 2003
Posts: 1557
Location: Brno, Czech Republic

PostPosted: Wed Aug 10, 2005 9:07 am    Post subject: Reply with quote

Still broken as of today. Firefox exits upon visiting a flash website.
_________________
There is, a not-born, a not-become, a not-made, a not-compounded. If that unborn, not-become, not-made, not-compounded were not, there would be no escape from this here that is born, become, made and compounded. - Gautama Siddharta
Back to top
View user's profile Send private message
infirit
l33t
l33t


Joined: 11 Jan 2003
Posts: 778
Location: Hoofddorp / The Netherlands

PostPosted: Wed Aug 10, 2005 9:11 am    Post subject: Reply with quote

petrjanda wrote:
Still broken as of today. Firefox exits upon visiting a flash website.

You could use the mediaplayer extension that can load flash in a separate flash player? The reason i suggest is that the browser plugin is not their top priority atm but the stand alone player is!
_________________
EASY TO INSTALL = Difficult to install, but instruction manual has pictures.
Join the adopt an unanswered post initiative today
Back to top
View user's profile Send private message
petrjanda
Veteran
Veteran


Joined: 05 Sep 2003
Posts: 1557
Location: Brno, Czech Republic

PostPosted: Sun Aug 14, 2005 12:20 pm    Post subject: Reply with quote

infirit wrote:
petrjanda wrote:
Still broken as of today. Firefox exits upon visiting a flash website.

You could use the mediaplayer extension that can load flash in a separate flash player? The reason i suggest is that the browser plugin is not their top priority atm but the stand alone player is!

Well, I dont want to sound like a jackass, but the plugin should be their priority no 1, because far most people want flash to work in their browser.
_________________
There is, a not-born, a not-become, a not-made, a not-compounded. If that unborn, not-become, not-made, not-compounded were not, there would be no escape from this here that is born, become, made and compounded. - Gautama Siddharta
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Sun Aug 14, 2005 2:41 pm    Post subject: Reply with quote

petrjanda wrote:
Well, I dont want to sound like a jackass, but the plugin should be their priority no 1, because far most people want flash to work in their browser.

Getting a properly working core engine should be the number 1 goal. Debugging and testing is a helluva a lot easier in an independent app than in a browser plugin. Adding plugin support after is much easier. :)
Back to top
View user's profile Send private message
Simon196405
n00b
n00b


Joined: 22 Sep 2003
Posts: 42
Location: Utrecht, Holland

PostPosted: Mon Aug 15, 2005 8:53 am    Post subject: Syntax error in ebuild Reply with quote

When I try to run the ebuild I get the following error:

Code:

emerge -p --nocolor gplflash2

These are the packages that I would merge, in order:

Calculating dependencies  /usr/local/portage/net-www/gplflash2/gplflash2-0.99.ebuild: line 42: syntax error near unexpected token `||'
/usr/local/portage/net-www/gplflash2/gplflash2-0.99.ebuild: line 42: `    || configure failed '

!!! ERROR: net-www/gplflash2-0.99 failed.
!!! Function , Line 1686, Exitcode 1
!!! error sourcing ebuild
!!! If you need support, post the topmost build error, NOT this status message.


aux_get(): (0) Error in net-www/gplflash2-0.99 ebuild. (1)
               Check for syntax error or corruption in the ebuild. (--debug)

 
!!! All ebuilds that could satisfy "gplflash2" have been masked.
!!! One of the following masked packages is required to complete your request:
/usr/local/portage/net-www/gplflash2/gplflash2-0.99.ebuild: line 42: syntax error near unexpected token `||'
/usr/local/portage/net-www/gplflash2/gplflash2-0.99.ebuild: line 42: `    || configure failed '

!!! ERROR: net-www/gplflash2-0.99 failed.
!!! Function , Line 1686, Exitcode 1
!!! error sourcing ebuild
!!! If you need support, post the topmost build error, NOT this status message.


aux_get(): (0) Error in net-www/gplflash2-0.99 ebuild. (1)
               Check for syntax error or corruption in the ebuild. (--debug)



!!! Problem in net-www/gplflash2 dependencies.
!!!  exceptions


Does anyone has an idea what is wrong, as I have no clue.
Back to top
View user's profile Send private message
infirit
l33t
l33t


Joined: 11 Jan 2003
Posts: 778
Location: Hoofddorp / The Netherlands

PostPosted: Mon Aug 15, 2005 9:16 am    Post subject: Re: Syntax error in ebuild Reply with quote

Simon196405 wrote:
When I try to run the ebuild I get the following error:

Code:

Calculating dependencies  /usr/local/portage/net-www/gplflash2/gplflash2-0.99.ebuild: line 42: syntax error near unexpected token `||'
/usr/local/portage/net-www/gplflash2/gplflash2-0.99.ebuild: line 42: `    || configure failed '


Does anyone has an idea what is wrong, as I have no clue.

Make sure ther is a \ at the end of line 41
_________________
EASY TO INSTALL = Difficult to install, but instruction manual has pictures.
Join the adopt an unanswered post initiative today
Back to top
View user's profile Send private message
Simon196405
n00b
n00b


Joined: 22 Sep 2003
Posts: 42
Location: Utrecht, Holland

PostPosted: Thu Aug 18, 2005 7:07 am    Post subject: ebuild still not working. Reply with quote

There is a \ at the end of line 41.
I just copied the ebuild from the top post and en put it in my overlay directory.
I didn't change anything.
Dit portage maybe get more strict about some things?
Back to top
View user's profile Send private message
infirit
l33t
l33t


Joined: 11 Jan 2003
Posts: 778
Location: Hoofddorp / The Netherlands

PostPosted: Thu Aug 18, 2005 8:40 am    Post subject: Re: ebuild still not working. Reply with quote

Simon196405 wrote:
There is a \ at the end of line 41.
I just copied the ebuild from the top post and en put it in my overlay directory.
I didn't change anything.
Dit portage maybe get more strict about some things?

Can you copy -> past it again I made some modifications. Somehow a "die" was missed on line 42. Not sure how that happened :?
_________________
EASY TO INSTALL = Difficult to install, but instruction manual has pictures.
Join the adopt an unanswered post initiative today
Back to top
View user's profile Send private message
Simon196405
n00b
n00b


Joined: 22 Sep 2003
Posts: 42
Location: Utrecht, Holland

PostPosted: Thu Aug 18, 2005 9:17 am    Post subject: still doesn't work Reply with quote

It still doesn't work.
I still get an error on line 42. The only difference is the quote of the line.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
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