It looks like that locale error is already fixed in 0.5.5, so patch can be removed.
Search Criteria
Package Details: google2srt 0.7-1
Package Actions
| Package Base: | google2srt |
|---|---|
| Description: | Google2SRT allows you to convert subtitles from Google Video and YouTube to SubRip (.srt) format. |
| Upstream URL: | http://sourceforge.net/projects/google2srt/ |
| Category: | multimedia |
| Licenses: | |
| Submitter: | kozec |
| Maintainer: | None |
| Last Packager: | kozec |
| Votes: | 12 |
| First Submitted: | 2010-02-07 13:14 |
| Last Updated: | 2014-10-29 22:21 |
Dependencies (5)
- java-commons-io
- java-jdom1
- java-runtime
- java-environment (make)
- unzip (make)
Required by (0)
Sources
- google2srt
- google2srt.desktop
- http://heanet.dl.sourceforge.net/project/google2srt/Google2SRT/0.7/Google2SRT-0.7.zip
- icon.png
Latest Comments
Comment by kozec
Comment by Nicoco
same problem here :
patching file GUI.java
Hunk #1 FAILED at 28.
Hunk #2 succeeded at 62 (offset 3 lines).
Hunk #3 succeeded at 119 (offset 5 lines).
Hunk #4 succeeded at 253 with fuzz 1 (offset 5 lines).
Hunk #5 FAILED at 358.
2 out of 5 hunks FAILED -- saving rejects to file GUI.java.rej
patching file Network.java
Hunk #1 succeeded at 155 (offset 11 lines).
Hunk #2 succeeded at 239 (offset 11 lines).
Comment by trya
The patch is rejected, the package can't be built.
Comment by kozec
Yeah, it's looks like this crazy thing works only when English locale is set...
* dont-crash-with-wrong-locale.patch added *
I fixed it... somehow... I hope.
Comment by kfgz
Found a workaround
LC_ALL=C google2srt
Comment by kfgz
It's me again ;)
Google2srt doesn't work. Log:
Exception in thread "AWT-EventQueue-0" java.util.MissingResourceException: Can't find bundle for base name Bundle, locale pl_PL
at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1499)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1322)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:724)
at GUI.<init>(GUI.java:37)
at GUI$15.run(GUI.java:616)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:705)
at java.awt.EventQueue.access$000(EventQueue.java:101)
at java.awt.EventQueue$3.run(EventQueue.java:666)
at java.awt.EventQueue$3.run(EventQueue.java:664)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:675)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Comment by kozec
Are you sure about that? I can't find either 'java-saxon6' nor 'java-saxon' package in repositories (there is only 'saxon' in extra) and I somehow failed to find where in source code is this library used. And since I can compile and run google2srt without any saxons installed, I believe that best thing to do is to remove saxon dependency completely.
Also, updated to 0.5.3.
Comment by kfgz
Please change java-saxon6 to java-saxon in depends.
Comment by kozec
java-environment is provided by openjdk6 and sun's jre. google2srt should work with both.
Comment by trizen
Dependency `java-environment' of `google2srt' does not exist.