Summary: | version bump: =media-tv/tvbrowser-3.1 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Walter Trautner <wtrautner> |
Component: | New packages | Assignee: | Johannes Huber (RETIRED) <johu> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | cornicx, flaschenkopp, genzilla, jamatik, java, jmbsvicetto, renegart, Thomas.Rausch, tr500 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 298664 | ||
Attachments: |
the ebuild
optimized ebuild ebuild patch rc1 to rc2 ebuild patch rc1 to rc2 ebuild patch rc1 to rc2 New TV-Browser-3.0_rc3 ebuild TV-Browser-3.0.1-ebuild TVBrowser 3.0.2 ebuild Patch for tvbrowser 3.0.2 tvbrowser-3.1.ebuild |
Description
Walter Trautner
2010-04-04 02:28:45 UTC
Created attachment 226509 [details]
the ebuild
It's a c&p of the old one 2.7.4.
Tried to updated the themes (not tested!). Just added all I've found on the homepage. Also the icons.
I've tried to update all dependecies to actual the one we have. Put some comments in, if they arn't in portage yet
Please read the "Gentoo Bug Reporting Guide"[1] before opening a bug. [1] - http://www.gentoo.org/doc/en/bugzilla-howto.xml Please change "Summary" - and "Component" from "Applications" to "Ebuilds" working on rc1 ebuild Created attachment 244609 [details]
optimized ebuild
-modified and optimized beta1 ebuild
-introducing global variable for better maintenance (MY_P)
-sourcedir (S) still has special naming in this rc
-removed unused comments
-added dependency >=dev-java/jgoodies-forms-1.3.0
-java >=6 needed
-removed build-in jars jgoodies-forms (1.3.0 is in portage), stax-api (comes with dev-java/stax)
-checked rest of the jars (string-changes and dependencies)
-LICENSE="GPL-3"
-changed desktop-entry to official name from "TV Browser" to "TV-Browser"
TODO
-EAPI="2"
-bump dev-java/commons-net in portage
-check themepacks
check COMMON_DEP="x11-libs/libXt x11-libs/libSM x11-libs/libICE x11-libs/libXext x11-libs/libXtst x11-libs/libX11 x11-libs/libXau x11-libs/libXdmcp"
Changed "Component" and "Summary" to ebuild. @jamatik: I hope this was you've asked for. Also your ebuild works fine for me. Created attachment 254955 [details, diff]
ebuild patch rc1 to rc2
Created attachment 254957 [details, diff]
ebuild patch rc1 to rc2
Created attachment 254959 [details, diff]
ebuild patch rc1 to rc2
May you'll also fix the typos in comments in your patch? # - upstream uses dev-java/commons-net-2.5 .. only 2.4 available here but should be # - upstream uses dev-java/commons-lang-2.5 .. only 2.4 available here but Install 3.0-rc2 worked, but I had to set the "-doc". Otherwise I got a compile error. what about the bug http://bugs.gentoo.org/show_bug.cgi?id=298664 media-tv/tvbrowser-2.7.4 needs xalan to build properly istn it needed anymore to build properly? You're right, it is needed to build and running tvbrowser. I always thought it's enough if java-dev/skinlf RDEPENTS on it, as tvbrowser DEPENDS and RDEPENDS on skinlf. So should it be added to DEPEND? Created attachment 264033 [details]
New TV-Browser-3.0_rc3 ebuild
Updated the ebuild to rc3.
Not tested with some USE-flags set, it just works for me (TM).
I've also not updated the themes/icons.
Fell free to comment and/or improve it, if it fails on your box.
Created attachment 270819 [details]
TV-Browser-3.0.1-ebuild
Comment on attachment 270819 [details] TV-Browser-3.0.1-ebuild ># Copyright 1999-2011 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > ># TODO enable testing through FEATURES > >JAVA_PKG_IUSE="doc source" > >EAPI="1" > >inherit eutils java-pkg-2 java-ant-2 flag-o-matic > >DESCRIPTION="Themeable and easy to use TV Guide - written in Java" >HOMEPAGE="http://www.tvbrowser.org/" > >MY_P=${PN}_${PV} > >SRC_URI="mirror://sourceforge/${PN}/${MY_P}_src.zip > >themes? ( >http://javootoo.l2fprod.com/plaf/skinlf/themepacks/BeOSthemepack.zip >http://javootoo.l2fprod.com/plaf/skinlf/themepacks/amarachthemepack.zip >http://javootoo.l2fprod.com/plaf/skinlf/themepacks/aquathemepack.zip >http://javootoo.l2fprod.com/plaf/skinlf/themepacks/architectBluethemepack.zip >http://javootoo.l2fprod.com/plaf/skinlf/themepacks/architectOlivethemepack.zip >http://javootoo.l2fprod.com/plaf/skinlf/themepacks/b0sumiErgothempack.zip >http://javootoo.l2fprod.com/plaf/skinlf/themepacks/b0sumithemepack.zip >http://javootoo.l2fprod.com/plaf/skinlf/themepacks/bbjthemepack.zip >http://javootoo.l2fprod.com/plaf/skinlf/themepacks/beigeazulthemepack.zip >http://javootoo.l2fprod.com/plaf/skinlf/themepacks/beosthemepack.zip >http://javootoo.l2fprod.com/plaf/skinlf/themepacks/blueMetalthemepack.zip >http://javootoo.l2fprod.com/plaf/skinlf/themepacks/blueTurquesathemepack.zip >http://javootoo.l2fprod.com/plaf/skinlf/themepacks/cellshadedthemepack.zip >http://javootoo.l2fprod.com/plaf/skinlf/themepacks/chaNinja-Bluethemepack.zip >http://javootoo.l2fprod.com/plaf/skinlf/themepacks/coronaHthemepack.zip >http://javootoo.l2fprod.com/plaf/skinlf/themepacks/cougarthemepack.zip >http://javootoo.l2fprod.com/plaf/skinlf/themepacks/crystal2themepack.zip >http://javootoo.l2fprod.com/plaf/skinlf/themepacks/fatalEthemepack.zip >http://javootoo.l2fprod.com/plaf/skinlf/themepacks/gfxOasisthemepack.zip >http://javootoo.l2fprod.com/plaf/skinlf/themepacks/gorillathemepack.zip >http://javootoo.l2fprod.com/plaf/skinlf/themepacks/hmmXPBluethemepack.zip >http://javootoo.l2fprod.com/plaf/skinlf/themepacks/hmmXPMonoBluethemepack.zip >http://javootoo.l2fprod.com/plaf/skinlf/themepacks/iBarthemepack.zip >http://javootoo.l2fprod.com/plaf/skinlf/themepacks/macosthemepack.zip >http://javootoo.l2fprod.com/plaf/skinlf/themepacks/midnightthemepack.zip >http://javootoo.l2fprod.com/plaf/skinlf/themepacks/mmMagra-Xthemepack.zip >http://javootoo.l2fprod.com/plaf/skinlf/themepacks/modernthemepack.zip >http://javootoo.l2fprod.com/plaf/skinlf/themepacks/oliveGreenLunaXPthemepack.zip >http://javootoo.l2fprod.com/plaf/skinlf/themepacks/opusLunaSilverthemepack.zip >http://javootoo.l2fprod.com/plaf/skinlf/themepacks/opusOSBluethemepack.zip >http://javootoo.l2fprod.com/plaf/skinlf/themepacks/opusOSDeepthemepack.zip >http://javootoo.l2fprod.com/plaf/skinlf/themepacks/opusOSOlivethemepack.zip >http://javootoo.l2fprod.com/plaf/skinlf/themepacks/quickSilverRthemepack.zip >http://javootoo.l2fprod.com/plaf/skinlf/themepacks/roueBluethemepack.zip >http://javootoo.l2fprod.com/plaf/skinlf/themepacks/roueBrownthemepack.zip >http://javootoo.l2fprod.com/plaf/skinlf/themepacks/roueGreenthemepack.zip >http://javootoo.l2fprod.com/plaf/skinlf/themepacks/royalInspiratthemepack.zip >http://javootoo.l2fprod.com/plaf/skinlf/themepacks/silverLunaXPthemepack.zip >http://javootoo.l2fprod.com/plaf/skinlf/themepacks/solunaRthemepack.zip >http://javootoo.l2fprod.com/plaf/skinlf/themepacks/tigerGraphitethemepack.zip >http://javootoo.l2fprod.com/plaf/skinlf/themepacks/tigerthemepack.zip >http://javootoo.l2fprod.com/plaf/skinlf/themepacks/toxicthemepack.zip >http://javootoo.l2fprod.com/plaf/skinlf/themepacks/underlingthemepack.zip >http://javootoo.l2fprod.com/plaf/skinlf/themepacks/whistlerthemepack.zip >http://javootoo.l2fprod.com/plaf/skinlf/themepacks/xplunathemepack.zip > >http://tvbrowser.org/downloads/noia.zip >http://tvbrowser.org/downloads/nuvola.zip >http://tvbrowser.org/downloads/tulliana.zip >http://tvbrowser.org/downloads/tango_without_heart.zip >)" > >SLOT="0" >KEYWORDS="~x86 ~amd64" >LICENSE="GPL-3" > >IUSE="themes" > ># - upstream uses stax-api-1.0.1/stax-1.2.0 .. using dev-java/stax-1.2.0 ># here (has stax-api/stax-dev) but seems ok ># - upstream uses dev-java/commons-lang-2.5 .. only 2.4 available here but ># looks OK so far ># - upstream uses dev-java/commons-net-2.2 .. only 1.4.1 available here but ># looks OK so far ># - upstream uses jgoodies-forms-1.4.0 .. only jgoodies-forms-1.3.0 here, but ># looks OK so far ># - upstrean uses jgoodies-looks-2.4.0 .. only jgoodies-looks-2.3.1 here, but ># looks OK so far >COMMON_DEP="x11-libs/libXt > x11-libs/libSM > x11-libs/libICE > x11-libs/libXext > x11-libs/libXtst > x11-libs/libX11 > x11-libs/libXau > x11-libs/libXdmcp > dev-java/bsh > >=dev-java/commons-codec-1.4 > >=dev-java/commons-lang-2.4 > >=dev-java/commons-net-1.4.1 > >=dev-java/jakarta-oro-2.0.8 > dev-java/l2fprod-common > dev-java/log4j > >=dev-java/jgoodies-forms-1.3.0 > >=dev-java/jgoodies-looks-2.3.1 > dev-java/skinlf > >=dev-java/stax-1.2.0" ># TODO enable testing ># test? ( dev-java/junit ) >DEPEND=">=virtual/jdk-1.6 > app-arch/unzip > ${COMMON_DEP}" >RDEPEND=">=virtual/jre-1.6 > ${COMMON_DEP}" > >S="${WORKDIR}/${MY_P/_/-}" >src_unpack() { > unpack ${MY_P}_src.zip > cd "${S}" || die > > # now that's a rather nasty trick that removes exactly the lines that unjar > # dependencies and include them to tvbrowser's jars > # when bumping, check that it doesn't affect lines it shouldn't! > sed "/unpacked.dir/d" -i build.xml || die > > cd "${S}"/lib || die > # TODO maybe also remove jgoodies-common, someone just need to test it > rm -v bsh-*.jar commons-codec-*.jar commons-lang-*.jar commons-net*.jar \ > jakarta-oro*.jar l2fprod-common-tasks-7.3.jar log4j-*.jar \ > skinlf-6.7.jar stax*.jar jgoodies-form*.jar jgoodies-looks*.jar || die > > # TODO update this comment, it's not up to date > # missing dependencies gdata-calendar htmlparser libgrowl xtvd-lib aclibico > # gdata-client jRegistryKey opencsv gdata-core jcom texhyphj > # 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 bsh,commons-codec,commons-lang-2.1,commons-net,jgoodies-forms,jakarta-oro-2.0,l2fprod-common,log4j,jgoodies-looks-2.0,skinlf,stax > > # Fails to create javadocs without this > mkdir "${S}/public" || die >} > >src_compile() { > eant runtime-linux $(use_doc public-doc) >} > >#src_test() { ># eant test >#} > >src_install() { > use source && java-pkg_dosrc src > use doc && java-pkg_dojavadoc doc > > cd runtime/${PN}_linux || die > > java-pkg_dojar ${PN}.jar > java-pkg_dojar "${S}"/lib/{aclibico-2.1.jar,gdata-calendar-2.0.jar,gdata-client-1.0.jar,gdata-core-1.0.jar,guava-r07.jar,htmlparser-1.6.jar,jRegistryKey-1.4.5.jar,jcom-2.2.4.jar,jgoodies-common-1.1.1.jar,libgrowl-0.2.jar,opencsv-2.2.jar,substance-6.1.jar,texhyphj-1.1.jar,trident-1.3.jar,xtvd-lib-2.0.2.jar} > > local todir="${JAVA_PKG_SHAREPATH}" > > cp -a imgs "${D}/${todir}" || die > cp -a icons "${D}/${todir}" || die > cp -a plugins "${D}/${todir}" || die > cp linux.properties "${D}/${todir}" || die > > insinto "${todir}/themepacks" > doins themepacks/themepack.zip || die > > if use themes; then > cd "${DISTDIR}" > doins BeOSthemepack.zip\ > amarachthemepack.zip\ > aquathemepack.zip\ > architectBluethemepack.zip\ > architectOlivethemepack.zip\ > b0sumiErgothempack.zip\ > b0sumithemepack.zip\ > bbjthemepack.zip\ > beigeazulthemepack.zip\ > beosthemepack.zip\ > blueMetalthemepack.zip\ > blueTurquesathemepack.zip\ > cellshadedthemepack.zip\ > chaNinja-Bluethemepack.zip\ > coronaHthemepack.zip\ > cougarthemepack.zip\ > crystal2themepack.zip\ > fatalEthemepack.zip\ > gfxOasisthemepack.zip\ > gorillathemepack.zip\ > hmmXPBluethemepack.zip\ > hmmXPMonoBluethemepack.zip\ > iBarthemepack.zip\ > macosthemepack.zip\ > midnightthemepack.zip\ > mmMagra-Xthemepack.zip\ > modernthemepack.zip\ > oliveGreenLunaXPthemepack.zip\ > opusLunaSilverthemepack.zip\ > opusOSBluethemepack.zip\ > opusOSDeepthemepack.zip\ > opusOSOlivethemepack.zip\ > quickSilverRthemepack.zip\ > roueBluethemepack.zip\ > roueBrownthemepack.zip\ > roueGreenthemepack.zip\ > royalInspiratthemepack.zip\ > silverLunaXPthemepack.zip\ > solunaRthemepack.zip\ > tigerGraphitethemepack.zip\ > tigerthemepack.zip\ > toxicthemepack.zip\ > underlingthemepack.zip\ > whistlerthemepack.zip\ > xplunathemepack.zip || die > insinto "${todir}/icons" > doins noia.zip nuvola.zip tulliana.zip tango_without_heart.zip || die > fi > > java-pkg_dolauncher "tvbrowser" \ > --main tvbrowser.TVBrowser \ > --pwd ${todir} \ > --java_args " -Dpropertiesfile=${todir}/linux.properties" > > make_desktop_entry ${PN} "TV-Browser" /usr/share/tvbrowser/imgs/tvbrowser128.png >} this package nee to be bump as soon as possible. it so quite obsolate in portage. it really a shame for gentoo (In reply to comment #16) > this package nee to be bump as soon as possible. it so quite obsolete in > portage. it really a shame for gentoo 1. Problem is first of all, this bug is wrongly assigned "Gentoo VDR Project" WTF??? Perhaps Walter Trautner should make a new bug and this one here will become the duplicate. 2. No one commented in this bug is a official developer in gentoo. 3. So tried reaching the package maintainer or someone else by yourself? http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/media-tv/tvbrowser/ChangeLog?view=markup (In reply to comment #17) > 1. Problem is first of all, this bug is wrongly assigned "Gentoo VDR Project" > WTF??? > Perhaps Walter Trautner should make a new bug and this one here will become the > duplicate. Why do you think this is wrongly assigned? All the other tvbrowser-bugs are assigned to VDR also. To whom would you assign it? Also: Someone working on 3.0.2? (In reply to comment #18) > Why do you think this is wrongly assigned? All the other tvbrowser-bugs are > assigned to VDR also. To whom would you assign it? The open bugs but older ones are assigned to java, media/video/tv stuff, too. VDR sounds for me like VideoDiscRecorder (The Software). And it's a very long time since I last saw a sign of a Developer around many packages. There a lot of packages and open bugs with "ready to push"-ebuild, but no sign or answer of the package-maintainer or a developer noticing that. Package-Maintainer seeming to leave without notice. > Also: Someone working on 3.0.2? No time. Most of the time using EPG. Just renaming 3.0.1->3.0.2 didn't work, so manually going through java-package order...again. (In reply to comment #19) > And it's a very long time since I last saw a sign of a Developer around many > packages. There a lot of packages and open bugs with "ready to push"-ebuild, > but no sign or answer of the package-maintainer or a developer noticing that. > Package-Maintainer seeming to leave without notice. > Ok, but let's keep this package at least 'ready to push'. > > Also: Someone working on 3.0.2? > No time. Most of the time using EPG. Just renaming 3.0.1->3.0.2 didn't work, so > manually going through java-package order...again. I've had some spare time tonight and got it working, but had to do a workaround: After updating the bundeld libs, I've got some strange error while compiling: warning: unmappable character for encoding UTF8 The problem was the line: * @author René Mach so I changed it to * @author Rene Mach This is a really bad workaround and I think this won't fit the license, because I renamed the author. Does anyone know a flag to ant/javac to get it compiled without this patch? I'll attach it anyhow, although I'm not happy with it at all. Also there is a second file, the patch, which you've to put into the "files" folder (where FILESDIR is pointing to). Created attachment 287737 [details]
TVBrowser 3.0.2 ebuild
Created attachment 287739 [details, diff]
Patch for tvbrowser 3.0.2
tvbrowser-3.0.2 compile (with the rename-author-patch) und works fine Hi, TVBrowser-3.1 stable is out. I tried to change the 3.0.2 ebuild. With some changes I got it installed. Unfortunately all plug-ins have been vanished. I guess I have deleted too much stuff from the ebuild. Would be fine if someone can have a look onto this. (In reply to comment #24) > Hi, > > TVBrowser-3.1 stable is out. I tried to change the 3.0.2 ebuild. With some > changes I got it installed. Unfortunately all plug-ins have been vanished. I > guess I have deleted too much stuff from the ebuild. > > Would be fine if someone can have a look onto this. Hi, without an ebuild, it's hard to take a look at it ;) Don't worry about the plugins, they aren't shipped anymore with the build. See Release notes: "For your information again, TV-Browser 3.1 also is shipped without the most plugins. All plugins are easy installable with the plugin download of TV-Browser." If you have a working ebuild, please attach it to this bug. Thanks! Created attachment 291319 [details]
tvbrowser-3.1.ebuild
New tvbrowser 3.1 ebuild attached, which seems to work for me.
Note, old "rename author" patch did not apply anymore, but also did not seem to be required either (probably due to proper encoding build property in build.xml).
Nice to have you here, Robert, but your ebuild don't work for me: * ERROR: media-tv/tvbrowser-3.1 failed (unpack phase): * (no error message) [...] * The specific snippet of code: * rm -v bsh-*.jar commons-codec-*.jar commons-lang-*.jar commons-net*.jar l2fprod-common-tasks-7.3.jar log4j-*.jar skinlf-6.7.jar stax*.jar jgoodies-form*.jar jgoodies-looks*.jar || die; * [...] Downloaded 3.1 again and it compiled just fine (without any USE flags set). Don't know what went wrong last time I tried it. tvbrowser-3.1.ebuild compiled fine on my amd64 system I will take this package and remove proxy maintainer in a week from now on. If you have any objections let me know. Reassign bug: + 27 Jan 2012; Johannes Huber <johu@gentoo.org> metadata.xml: + Take package over. Remove proxy maintainer and add myself. Latest attached ebuild is now imported in my dev overlay, thx for your initial work Robert Schedel. Needs a little bit clean up before i add it to tree. My overlay is available via layman: layman -a johu +*tvbrowser-3.1 (07 Feb 2012) + + 07 Feb 2012; Johannes Huber <johu@gentoo.org> +tvbrowser-3.1.ebuild, + -tvbrowser-2.7.1.ebuild, -tvbrowser-2.7.4.ebuild: + Version bump wrt bug #313053. Initial ebuild by Robert Schedel + <r.schedel@yahoo.de>, changed by me. Fixes bug #298664 too. Punt jurassic + versions. |