Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 229087 - media-tv/tvbrowser-2.7 bump request
Summary: media-tv/tvbrowser-2.7 bump request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Gentoo VDR Project
URL: http://www.tvbrowser.org
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-23 18:03 UTC by fatty
Modified: 2008-11-08 18:13 UTC (History)
8 users (show)

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


Attachments
tvbrowser 2.7 ebuild (tvbrowser-2.7.ebuild,7.42 KB, text/plain)
2008-08-23 13:29 UTC, Mirko Guenther
Details
fixed ebuild (commons-lang problem) and rc1 bump (tvbrowser-2.7.1_rc1.ebuild,7.50 KB, text/plain)
2008-09-27 06:47 UTC, jamatik
Details
fixed ebuild (commons-lang problem) (tvbrowser-2.7.ebuild,7.39 KB, text/plain)
2008-09-27 07:50 UTC, jamatik
Details
ebuild for new tvbrowser version (tvbrowser-2.7.1.ebuild,7.43 KB, text/plain)
2008-10-25 12:52 UTC, Mirko Guenther
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fatty 2008-06-23 18:03:48 UTC
media-tv/tvbrowser-2.7 is available since June 15th on http://www.tvbrowser.org

Reproducible: Always
Comment 1 Wolfgang Goetz 2008-07-13 11:59:19 UTC
(In reply to comment #0)
> media-tv/tvbrowser-2.7 is available since June 15th on 

this works for me:

cd tvbrowser-2.7
ant public-linux
<ignore the failing test>
cd runtime/tvbrowser_default
. ../../deployment/linux/tvbrowser.sh



About:
Version: 2.7

Platform:
Linux 2.6.25-gentoo-r6
System:
amd64

Java Version:
1.6.0_07
Java HotSpot(TM) 64-Bit Server VM Sun Microsystems Inc. /opt/sun-jdk-1.6.0.07/jre

Location:
US,en
Timezone:
Central European Time (+1 hours)

Copyright (c) 04/2003 by Martin Oberhauser, Til Schneider, Bodo Tasche, René Mach, Michael Keppler under the GNU General Public License.
This product includes software developed by L2FProd.com (http://www.L2FProd.com/), The Apache Software Foundation (http://www.apache.org/) and BEQ Technologies Inc. (http://www.bayequities.com/tech/Products/jreg_key.shtml)
Comment 2 Joerg Bornkessel (RETIRED) gentoo-dev 2008-08-10 19:50:20 UTC
should it be enough,  copy tvbrowser-2.6.3.ebuild to tvbrowser-2.7.ebuild ?

Regenart, can you please test this...
Comment 3 Sven Müller 2008-08-10 23:32:03 UTC
(In reply to comment #2)
> should it be enough,  copy tvbrowser-2.6.3.ebuild to tvbrowser-2.7.ebuild ?

Doesn't work here. The archive can be downloaded but it fails to compile

First error message:
 * Applying tvbrowser-2.5-makefiles.patch ...

 * Failed Patch: tvbrowser-2.5-makefiles.patch !
 *  ( /usr/portage/media-tv/tvbrowser/files/tvbrowser-2.5-makefiles.patch )
 * Include in your bugreport the contents of:
 *   /var/tmp/portage/media-tv/tvbrowser-2.7/temp/tvbrowser-2.5-makefiles.patch-30946.out


Then I just removed the 2.5-patches from the ebuild and get the next error message:
>>> Unpacking tvbrowser-2.7-src.zip to /var/tmp/portage/media-tv/tvbrowser-2.7/work
sed: can't read /var/tmp/portage/media-tv/tvbrowser-2.7/work/tvbrowser-2.7/deployment/x11/src/Makefile.am: No such file or directory

Comment 4 Mirko Guenther 2008-08-23 13:29:20 UTC
Created attachment 163620 [details]
tvbrowser 2.7 ebuild
Comment 5 Mirko Guenther 2008-08-23 13:35:54 UTC
please try the tvbrowser-2.7.ebuild
it works on my system.

it has 3 issues which i don't like but i don't know how to fix it:

- there are still not all needed dependencies in the portage tree. i don't know who is responsible to do that.

- i've to patch the build.xml a little bit to disable all ant-junit tests because one off them fails and i don't know how to fix it.

- at the end of the emerge process there is a waring that some dependencies are possibly unneeded which is wrong.
Comment 6 Sven Müller 2008-08-29 21:10:00 UTC
I tried the new ebuild. And I get the error: 

>>> Emerging (5 of 5) media-tv/tvbrowser-2.7
 * tvbrowser-2.7-src.zip RMD160 SHA1 SHA256 size ;-) ...                 [ ok ]
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
 * Using: sun-jdk-1.6
>>> Unpacking source...
>>> Unpacking tvbrowser-2.7-src.zip to /var/tmp/portage/media-tv/tvbrowser-2.7/work
removed `commons-net-1.4.1.jar'
removed `commons-lang-2.4.jar'
removed `looks-2.1.4.jar'
removed `bsh-2.0b4.jar'
removed `l2fprod-common-tasks.jar'
removed `jakarta-oro-2.0.8.jar'
removed `skinlf.jar'
removed `commons-codec-1.3.jar'
removed `lucene-core-2.3.1.jar'
removed `stax-1.2.0.jar'
removed `stax-api-1.0.1.jar'
!!! ERROR: Package commons-lang was not found!
 * 
 * ERROR: media-tv/tvbrowser-2.7 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_unpack
 *             environment, line 4779:  Called java-pkg_jar-from 'commons-lang,commons-net,commons-codec,lucene-2.3,jgoodies-looks-2.0,bsh,l2fprod-common,skinlf,stax'
 *             environment, line 3709:  Called die
 * The specific snippet of code:
 *       [[ $? != 0 ]] && die ${error_msg};
 *  The die message:
 *   There was a problem getting the classpath for commons-lang,commons-net,commons-codec,lucene-2.3,jgoodies-looks-2.0,bsh,l2fprod-common,skinlf,stax.
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/media-tv/tvbrowser-2.7/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-tv/tvbrowser-2.7/temp/environment'.


commons-lang is installed. 

eix commons-lang
[I] dev-java/commons-lang
     Available versions:  
        (0)     2.0-r2
        (2.1)   2.3 (~)2.4
        {doc elibc_FreeBSD source test}
     Installed versions:  2.4(2.1)(22:44:13 29.08.2008)(doc -elibc_FreeBSD -source -test)
     Homepage:            http://commons.apache.org/lang/
     Description:         Commons components to manipulate core java classes

Comment 7 jamatik 2008-09-27 05:59:09 UTC
(In reply to comment #6)
> I tried the new ebuild. And I get the error: 
> 
> >>> Emerging (5 of 5) media-tv/tvbrowser-2.7
>  * tvbrowser-2.7-src.zip RMD160 SHA1 SHA256 size ;-) ...                 [ ok ]
>  * checking ebuild checksums ;-) ...                                     [ ok ]
>  * checking auxfile checksums ;-) ...                                    [ ok ]
>  * checking miscfile checksums ;-) ...                                   [ ok ]
>  * Using: sun-jdk-1.6
> >>> Unpacking source...
> >>> Unpacking tvbrowser-2.7-src.zip to /var/tmp/portage/media-tv/tvbrowser-2.7/work
> removed `commons-net-1.4.1.jar'
> removed `commons-lang-2.4.jar'
> removed `looks-2.1.4.jar'
> removed `bsh-2.0b4.jar'
> removed `l2fprod-common-tasks.jar'
> removed `jakarta-oro-2.0.8.jar'
> removed `skinlf.jar'
> removed `commons-codec-1.3.jar'
> removed `lucene-core-2.3.1.jar'
> removed `stax-1.2.0.jar'
> removed `stax-api-1.0.1.jar'
> !!! ERROR: Package commons-lang was not found!
>  * 
>  * ERROR: media-tv/tvbrowser-2.7 failed.
>  * Call stack:
>  *               ebuild.sh, line   49:  Called src_unpack
>  *             environment, line 4779:  Called java-pkg_jar-from
> 'commons-lang,commons-net,commons-codec,lucene-2.3,jgoodies-looks-2.0,bsh,l2fprod-common,skinlf,stax'
>  *             environment, line 3709:  Called die
>  * The specific snippet of code:
>  *       [[ $? != 0 ]] && die ${error_msg};
>  *  The die message:
>  *   There was a problem getting the classpath for
> commons-lang,commons-net,commons-codec,lucene-2.3,jgoodies-looks-2.0,bsh,l2fprod-common,skinlf,stax.
>  * 
>  * If you need support, post the topmost build error, and the call stack if
> relevant.
>  * A complete build log is located at
> '/var/tmp/portage/media-tv/tvbrowser-2.7/temp/build.log'.
>  * The ebuild environment file is located at
> '/var/tmp/portage/media-tv/tvbrowser-2.7/temp/environment'.
> 
> 
> commons-lang is installed. 
> 
> eix commons-lang
> [I] dev-java/commons-lang
>      Available versions:  
>         (0)     2.0-r2
>         (2.1)   2.3 (~)2.4
>         {doc elibc_FreeBSD source test}
>      Installed versions:  2.4(2.1)(22:44:13 29.08.2008)(doc -elibc_FreeBSD
> -source -test)
>      Homepage:            http://commons.apache.org/lang/
>      Description:         Commons components to manipulate core java classes
> 

Hi, i'm using amd64 and had the same problem, i just removed commonas-lang* 2 times in this section of the above ebuild. no it looks so and compiled and runs:

        cd "${S}"/lib || die
        rm -v commons-net*.jar looks*.jar \
                bsh*.jar l2fprod-common-tasks.jar jakarta-oro*.jar skinlf.jar \
                commons-codec*.jar lucene-core-*.jar stax-*.jar || die

        # missing dependencies commons-compress, TVAnytimeAPI, jRegistryKey, gdata-calendar,
        # gdata-client, jcom, xtvd-lib, jgoodies-forms-1.2.0, opencsv and stax-api
        # use local jar files for these, and also those in deployment
        # some are win32/mac only, so we will let tvbrowser build against them (no need to patch stuff out of sources)
        # but won't install the bundled jars, because their codepath won't be executed on linux anyway
        java-pkg_jar-from commons-net,commons-codec,lucene-2.3,jgoodies-looks-2.0,bsh,l2fprod-common,skinlf,stax

        # Fails to create javadocs without this
        mkdir "${S}/public" || die
}
Comment 8 jamatik 2008-09-27 06:47:50 UTC
Created attachment 166570 [details]
fixed ebuild (commons-lang problem) and rc1 bump
Comment 9 jamatik 2008-09-27 07:22:27 UTC
migration straight from 2.6.3 to 2.7.1_rc1 doesn't work, but from 2.6.3 to 2.7 to 2.7.1_rc1
Comment 10 jamatik 2008-09-27 07:50:04 UTC
Created attachment 166571 [details]
fixed ebuild (commons-lang problem)
Comment 11 jamatik 2008-09-27 08:28:07 UTC
Comment on attachment 166571 [details]
fixed ebuild (commons-lang problem)

many channels missing
Comment 12 jamatik 2008-09-27 08:28:10 UTC
Comment on attachment 166570 [details]
fixed ebuild (commons-lang problem) and rc1 bump

many channels missing
Comment 13 Sven Müller 2008-10-09 20:25:52 UTC
Same here, I found only 7 German Channels and none of them was a common channel. The default tvbrowser-plugin for German Channels is installed. 

Then I tried to install an additional plugin. After a restart I got an error message something about a corrupt config-file. I continued (Answer yes in error dialog) and I got all the needed channels.
Comment 14 Sven Müller 2008-10-09 20:54:38 UTC
Update: 
The plugin I'd installed was clever-epg. That seems to be the reason too, why I have all the needed channels in my list. But I don't get the programm for all the listed channels. It seems the tv-browser plugin doesn't work properly. 

In the console I found this error:
22:20:42 SCHWERWIEGEND: The TV data service 'TV-Browser' has caused an error during check available channels: org/apache/commons/lang/StringEscapeUtils
22:20:42 INFO: Loading MirrorDate from http://thomasgnerlich.de/tvb/animax/diversedigital_lastupdate
22:20:43 INFO: Done !


Comment 15 Mirko Guenther 2008-10-25 12:52:10 UTC
Created attachment 169806 [details]
ebuild for new tvbrowser version

please check if the ebuild works for you
Comment 16 Stefan Briesenick (RETIRED) gentoo-dev 2008-10-28 23:46:50 UTC
works for me. please commit. ;-)
Comment 17 Roland Schilter 2008-10-29 11:51:06 UTC
works for me :)
Comment 18 Manfred Egger 2008-10-29 13:02:02 UTC
works for me too ;-)

Comment 19 Georg Goeri 2008-10-29 21:31:46 UTC
works also for me 

Comment 20 Wolfgang Goetz 2008-10-29 23:29:56 UTC
ok...
...when used with care:
 
no change for the old 2.6.3 story that *heavy* use of sliders or panning the content leads to a crash 

12:12:58 AM INFO: Downloading 'http://tvbrowser.dynd....
Segmentation fault

(I do not see this instability on a 32bit CentOS and 32bit Xubuntu)
Comment 21 jamatik 2008-11-03 21:34:03 UTC
after an emerge -DuN world dev-java/lucene was updated to 2.4 - an emerge --depclean removed the old version 2.3.* - that version breaks tvbrowser both building and running - so either fix that or make tvbrowser depending on version 2.3.*
Comment 22 Matthias Schwarzott gentoo-dev 2008-11-08 18:13:16 UTC
Commited ebuild with only small changes.
Whitespace cleanups. Removed inherit autotools. Using repoman can display all these errors.

I also needed to change lucene depend to dev-java/lucene:2.3 - so also adding EAPI1 for slot-depend.