Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 153992

Summary: media-video/jubler-3.3.0 (new ebuild)
Product: Gentoo Linux Reporter: Serkan Kaba (RETIRED) <serkan>
Component: New packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: RESOLVED FIXED    
Severity: enhancement CC: java
Priority: High Keywords: EBUILD, InOverlay
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.panayotis.com/jubler/
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 170372    
Bug Blocks:    
Attachments: Ebuild
native lib detection patch
make file fixes
clean out code not related to linux
a patch merged from archlinux pkgbuild
Modified ebuild
Further modified ebuild
Ebuild
build patch needed for the latest ebuild
/jubler-3.0.0.ebuild
build.patch
os.patch
jubler-3.0.0-r1.ebuild
nogtk.patch

Description Serkan Kaba (RETIRED) gentoo-dev 2006-11-03 21:57:10 UTC
Jubler is a tool to edit text-based subtitles. It can be used an an authoring software for new subtitles or as a tool to convert, transform, correct and refine existing subtitles. The most popular subtitle formats can be used. Preview of the subtitles in realtime or in design time, spell checking, translation mode and styles editing are some of the main features.

It is open source under a liberal (GNU) public licence. It is written in Java 5.0  (a.k.a. Java 1.5.0 ) in order to be really multi-platform. It has been tested under Linux, Windows XP and Mac OS X.
Comment 1 Serkan Kaba (RETIRED) gentoo-dev 2006-11-03 21:58:00 UTC
Created attachment 101186 [details]
Ebuild
Comment 2 Serkan Kaba (RETIRED) gentoo-dev 2006-11-03 21:58:35 UTC
Created attachment 101187 [details, diff]
native lib detection patch
Comment 3 Serkan Kaba (RETIRED) gentoo-dev 2006-11-03 21:59:02 UTC
Created attachment 101188 [details, diff]
make file fixes
Comment 4 Serkan Kaba (RETIRED) gentoo-dev 2006-11-03 21:59:40 UTC
Created attachment 101189 [details, diff]
clean out code not related to linux
Comment 5 Serkan Kaba (RETIRED) gentoo-dev 2006-11-03 22:00:22 UTC
Created attachment 101190 [details, diff]
a patch merged from archlinux pkgbuild
Comment 6 Serkan Kaba (RETIRED) gentoo-dev 2006-11-03 22:02:03 UTC
I forgot but I put this in media-video in my own overlay
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-11-04 00:17:47 UTC
Did you sent all those fixes upstream? Would be nice to get them merged there... ;)
Comment 8 Petteri Räty (RETIRED) gentoo-dev 2006-11-04 00:37:03 UTC
Comments about the ebuild:
> SRC_URI="mirror://sourceforge/${PN}/Jubler-fullsrc-3.0.0-rc4.tar.bz2"
Should use $PV here

> java-pkg_ensure-vm-version-sufficient 1.5
Eclasses take care of this automatically

> chmod +x resources/ffmpeg-cvs/clean-diff
Looks like we are using ffmpeg here (did not check in practise). Would be better to use the system installed copy or at least add a comment on why that is not possible.

> insinto /usr/share/applications
> doins "${FILESDIR}/jubler.desktop"

domenu is for this
Comment 9 Serkan Kaba (RETIRED) gentoo-dev 2006-11-04 03:08:53 UTC
Created attachment 101204 [details, diff]
Modified ebuild

I modified the ebuild following the comments. I also mailed the author and he suggests static linking ffmpeg. So I didnot work on that.
Comment 10 Serkan Kaba (RETIRED) gentoo-dev 2006-11-04 03:29:20 UTC
Created attachment 101207 [details]
Further modified ebuild

Fixed the license and removed a comment
Comment 11 Serkan Kaba (RETIRED) gentoo-dev 2006-11-07 12:43:43 UTC
Created attachment 101411 [details]
Ebuild

Total re write using ant and removed timeformatter patch
Comment 12 Serkan Kaba (RETIRED) gentoo-dev 2006-11-07 12:44:56 UTC
Created attachment 101412 [details, diff]
build patch needed for the latest ebuild

suppress warnings and support "nls" USE flag
Comment 13 Josh Nichols (RETIRED) gentoo-dev 2006-11-19 10:19:02 UTC
Comment on attachment 101411 [details]
Ebuild

Make sure to attach ebuilds as text/plain. This makes them viewable from a browser.
Comment 14 Josh Nichols (RETIRED) gentoo-dev 2006-11-19 10:26:59 UTC
You should be using eant instead of ant. It is a wrapper, which among other things, calls die if it fails and will use a compiler you can configure.

It's also generally better to make a single call to ant, so something like:

local antflags
use nls && antflags="i18n"
eant ${antflags} jar xdevelop

In src_install (and actually any phase after unpack), you automatically start in ${S}, so no need to change to it yourself.
Comment 15 Serkan Kaba (RETIRED) gentoo-dev 2006-11-29 13:28:44 UTC
Created attachment 103008 [details]
/jubler-3.0.0.ebuild

ebuild for 3.0.0
Comment 16 Serkan Kaba (RETIRED) gentoo-dev 2006-11-29 13:29:49 UTC
Created attachment 103009 [details, diff]
build.patch
Comment 17 Serkan Kaba (RETIRED) gentoo-dev 2006-11-29 13:33:08 UTC
Created attachment 103010 [details, diff]
os.patch

moved library detection fix to os part.
also fixes some file and directory paths for the gentoo installation
Comment 18 Serkan Kaba (RETIRED) gentoo-dev 2006-12-06 13:14:43 UTC
Created attachment 103485 [details]
jubler-3.0.0-r1.ebuild

backported nogtk patch from svn gtk l&f in java 1.5 has problems
Comment 19 Serkan Kaba (RETIRED) gentoo-dev 2006-12-06 13:15:46 UTC
Created attachment 103486 [details, diff]
nogtk.patch

nogtk patch mentioned
Comment 20 Serkan Kaba (RETIRED) gentoo-dev 2007-06-01 10:35:56 UTC
In java experimental overlay
http://overlays.gentoo.org/proj/java/browser/java-experimental/media-video/jubler
Comment 21 Miroslav Šulc gentoo-dev 2007-08-04 18:52:00 UTC
moved to tree, closing, thanks for the work :-)