[gentoo-commits] repo/gentoo:master commit in: media-video/jubler/files/, media-video/jubler/, profiles/
commit: c31fe1f1dd672d9dae0b639478037c24f2e9777b Author: Florian Schmaus gentoo org> AuthorDate: Wed Nov 8 12:35:08 2023 + Commit: Florian Schmaus gentoo org> CommitDate: Wed Nov 8 12:35:13 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c31fe1f1 media-video/jubler: treeclean Bug: https://bugs.gentoo.org/914499 Signed-off-by: Florian Schmaus gentoo.org> media-video/jubler/Manifest | 2 - media-video/jubler/files/7.0.3-helpme.patch | 13 --- media-video/jubler/jubler-5.1.ebuild| 71 - media-video/jubler/jubler-7.0.3.ebuild | 151 media-video/jubler/metadata.xml | 12 --- profiles/package.mask | 1 - 6 files changed, 250 deletions(-) diff --git a/media-video/jubler/Manifest b/media-video/jubler/Manifest deleted file mode 100644 index 062d06115937.. --- a/media-video/jubler/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST jubler-5.1.tar.bz2 1815531 BLAKE2B 59f9c3c57b906a73e16b32841900ef16450758115d930e767bc4d63882ad2b8a35100a34057ab6bb353f4bea87cb4036e080d8d13a844ae4bfcae8bb361d5b18 SHA512 e2a0da737362a3c8dc12966aec1e9939291237fc714a586186b72daa16abf967c8fea8dac04fb191cb803aa11db20cf6d67468d2383f17f5c6114a643860acef -DIST jubler-7.0.3.tar.gz 24201905 BLAKE2B 9ac33ed8da3045944be32cc914aaa45ff0de3193aa1b699f144131f79a83c1932f1e74d730102c9227ef2a08a66efb1d50fb010cfc2e70c8678febd07eb1513d SHA512 a1c6b8a33439f0206378e2792748b06a163fd8083714f18ca57940422c8a8730369925c21f377eb42b8b91ffcae81d5f0219f4c9fee814f8a2f60b51e2356726 diff --git a/media-video/jubler/files/7.0.3-helpme.patch b/media-video/jubler/files/7.0.3-helpme.patch deleted file mode 100644 index ac0be65c5598.. --- a/media-video/jubler/files/7.0.3-helpme.patch +++ /dev/null @@ -1,13 +0,0 @@ a/modules/core/src/main/java/com/panayotis/jubler/os/SystemFileFinder.java -+++ b/modules/core/src/main/java/com/panayotis/jubler/os/SystemFileFinder.java -@@ -65,7 +65,9 @@ public class SystemFileFinder { - } - - private static boolean loadLibraryImpl(String name) { --File libfile = findFile("lib" + File.separator + SystemDependent.mapLibraryName(name)); -+ System.out.println("SystemDependent.mapLibraryName is " + SystemDependent.mapLibraryName(name)); -+File libfile = findFile(SystemDependent.mapLibraryName(name)); -+ System.out.println("libfile is " + libfile); - if (libfile != null) - try { - System.load(libfile.getAbsolutePath()); diff --git a/media-video/jubler/jubler-5.1.ebuild b/media-video/jubler/jubler-5.1.ebuild deleted file mode 100644 index d69368f42008.. --- a/media-video/jubler/jubler-5.1.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit desktop java-pkg-2 java-ant-2 xdg - -MY_PN="${PN^}" - -DESCRIPTION="Java subtitle editor" -HOMEPAGE="https://www.jubler.org/"; -SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-source-${PV}.tar.bz2 -> ${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="mplayer spell nls" - -RDEPEND=" - mplayer? ( media-video/mplayer[libass] ) - spell? ( app-text/aspell ) - >=virtual/jre-1.6" - -DEPEND=" - >=virtual/jdk-1.6" - -S="${WORKDIR}/${MY_PN}-${PV}" - -src_prepare() { - default - - local REMOVE_PLUGINS=() _plugin - use mplayer || REMOVE_PLUGINS+=( mplayer ) - use spell || REMOVE_PLUGINS+=( aspell zemberek ) - for _plugin in "${REMOVE_PLUGINS[@]}"; do - rm -rv "plugins/${_plugin}" || die - done -} - -src_compile() { - local JUBLER_TARGETS=() - use nls || JUBLER_TARGETS+=( core help ) - eant -f "${S}/build.xml" "${JUBLER_TARGETS[@]}" -} - -src_install() { - DESTDIR="${D}" eant linuxdesktopintegration - rm -rv "${D}/usr/share/menu" || die - - doicon "resources/installers/linux/${PN}.png" - domenu "resources/installers/linux/${PN}.desktop" - - java-pkg_dojar dist/Jubler.jar - java-pkg_dolauncher "${PN}" --main Jubler - - if use nls; then - insinto "/usr/share/${PN}/lib/i18n/" - doins dist/i18n/*.jar - fi - - insinto "/usr/share/${PN}/lib/themes" - doins dist/themes/coretheme.jar - insinto "/usr/share/${PN}/lib/lib" - doins dist/lib/*.jar - - insinto "/usr/share/${PN}/help" - doins resources/help/* - - doman "resources/installers/linux/${PN}.1" - einstalldocs -} diff --git a/media-video/jubler/jubler-7.0.3.ebuild b/media-video/jubler/jubler-7.0.3.ebuild deleted file mode 100644 index 0b14f079e2b1.. --- a/media-video/jubler/jubler-7.0.3.ebuild +++ /dev/null @@ -1,151 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# Skeleton command:
[gentoo-commits] repo/gentoo:master commit in: media-video/jubler/files/, media-video/jubler/
commit: ac82d8209635aa0c3eb4ec5eca8c7edccdcf3a38 Author: Volkmar W. Pogatzki pogatzki net> AuthorDate: Sat Mar 19 18:06:22 2022 + Commit: Miroslav Šulc gentoo org> CommitDate: Thu Sep 21 06:44:08 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac82d820 media-video/jubler: add 7.0.3, update EAPI 6 -> 8 Bug: https://bugs.gentoo.org/753209 Bug: https://bugs.gentoo.org/831243 Signed-off-by: Volkmar W. Pogatzki pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/24907 Signed-off-by: Miroslav Šulc gentoo.org> media-video/jubler/Manifest | 1 + media-video/jubler/files/7.0.3-helpme.patch | 13 +++ media-video/jubler/jubler-7.0.3.ebuild | 151 media-video/jubler/metadata.xml | 4 +- 4 files changed, 168 insertions(+), 1 deletion(-) diff --git a/media-video/jubler/Manifest b/media-video/jubler/Manifest index 05eb56e5bf4f..062d06115937 100644 --- a/media-video/jubler/Manifest +++ b/media-video/jubler/Manifest @@ -1 +1,2 @@ DIST jubler-5.1.tar.bz2 1815531 BLAKE2B 59f9c3c57b906a73e16b32841900ef16450758115d930e767bc4d63882ad2b8a35100a34057ab6bb353f4bea87cb4036e080d8d13a844ae4bfcae8bb361d5b18 SHA512 e2a0da737362a3c8dc12966aec1e9939291237fc714a586186b72daa16abf967c8fea8dac04fb191cb803aa11db20cf6d67468d2383f17f5c6114a643860acef +DIST jubler-7.0.3.tar.gz 24201905 BLAKE2B 9ac33ed8da3045944be32cc914aaa45ff0de3193aa1b699f144131f79a83c1932f1e74d730102c9227ef2a08a66efb1d50fb010cfc2e70c8678febd07eb1513d SHA512 a1c6b8a33439f0206378e2792748b06a163fd8083714f18ca57940422c8a8730369925c21f377eb42b8b91ffcae81d5f0219f4c9fee814f8a2f60b51e2356726 diff --git a/media-video/jubler/files/7.0.3-helpme.patch b/media-video/jubler/files/7.0.3-helpme.patch new file mode 100644 index ..ac0be65c5598 --- /dev/null +++ b/media-video/jubler/files/7.0.3-helpme.patch @@ -0,0 +1,13 @@ +--- a/modules/core/src/main/java/com/panayotis/jubler/os/SystemFileFinder.java b/modules/core/src/main/java/com/panayotis/jubler/os/SystemFileFinder.java +@@ -65,7 +65,9 @@ public class SystemFileFinder { + } + + private static boolean loadLibraryImpl(String name) { +-File libfile = findFile("lib" + File.separator + SystemDependent.mapLibraryName(name)); ++ System.out.println("SystemDependent.mapLibraryName is " + SystemDependent.mapLibraryName(name)); ++File libfile = findFile(SystemDependent.mapLibraryName(name)); ++ System.out.println("libfile is " + libfile); + if (libfile != null) + try { + System.load(libfile.getAbsolutePath()); diff --git a/media-video/jubler/jubler-7.0.3.ebuild b/media-video/jubler/jubler-7.0.3.ebuild new file mode 100644 index ..0b14f079e2b1 --- /dev/null +++ b/media-video/jubler/jubler-7.0.3.ebuild @@ -0,0 +1,151 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Skeleton command: +# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://github.com/teras/Jubler/archive/v7.0.3.tar.gz --slot 0 --keywords "~amd64" --ebuild jubler-7.0.3.ebuild + +EAPI=8 + +JAVA_PKG_IUSE="doc source" +MAVEN_ID="com.panayotis.jubler:project:7.0.3" + +inherit desktop java-pkg-2 java-pkg-simple toolchain-funcs xdg-utils + +DESCRIPTION="Jubler Subtitle Εditor" +HOMEPAGE="https://www.jubler.org/"; +SRC_URI="https://github.com/teras/Jubler/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +CP_DEPEND="dev-java/appenh:0" + +DEPEND="${CP_DEPEND} + media-video/ffmpeg:0= + >=virtual/jdk-1.8:*" + +RDEPEND="${CP_DEPEND} + >=virtual/jre-1.8:*" + +JUBLER_MODULES=( + "jubler" + "appenhancer" + "aspell" + "basetextsubs" + "coretools" + "mplayer" + "zemberek" +) + +HTML_DOCS=( ChangeLog.html ) + +PATCHES=( "${FILESDIR}/7.0.3-helpme.patch" ) + +S="${WORKDIR}/Jubler-${PV}" + +src_prepare() { + java-pkg-2_src_prepare + default + # decodeaudio.c:82:24: error: 'AVCODEC_MAX_AUDIO_FRAME_SIZE' undeclared (first use in this function); did you mean 'AV_CODEC_CAP_VARIABLE_FRAME_SIZE'? + # decodeaudio.c:176:49: error: 'CODEC_ID_NONE' undeclared (first use in this function); did you mean 'AV_CODEC_ID_NONE'? + # decodeaudio.c:180:38: error: 'AVCodecContext' has no member named 'request_channels'; did you mean 'request_channel_layout'? + # decodeframe.c:230:31: error: 'PIX_FMT_RGB24' undeclared (first use in this function); did you mean 'AV_PIX_FMT_RGB24'? + # decodeaudio.c:197:79: error: 'AVIO_WRONLY' undeclared (first use in this function # https://github.com/FFmpeg/FFmpeg/commit/59d96941f0 + # decodeaudio.c:239:26: error: 'AVCodecContext' has no member named 'request_channels'; did you mean 'request_channel_layout'? + # makecache.c:94:28: error: 'AVCODEC_MAX_AUDIO_FRAME_SIZE' undeclared (first use in this func
[gentoo-commits] repo/gentoo:master commit in: media-video/jubler/
commit: 63d1a6e01c2e72388069071e961cd62f6d1830bd Author: Sam James gentoo org> AuthorDate: Wed Mar 9 23:06:47 2022 + Commit: Sam James gentoo org> CommitDate: Wed Mar 9 23:06:47 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63d1a6e0 media-video/jubler: fix IndirectInherits (desktop) Signed-off-by: Sam James gentoo.org> media-video/jubler/jubler-5.1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/media-video/jubler/jubler-5.1.ebuild b/media-video/jubler/jubler-5.1.ebuild index 49775bdf39ef..d69368f42008 100644 --- a/media-video/jubler/jubler-5.1.ebuild +++ b/media-video/jubler/jubler-5.1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 -inherit java-pkg-2 java-ant-2 xdg +inherit desktop java-pkg-2 java-ant-2 xdg MY_PN="${PN^}"
[gentoo-commits] repo/gentoo:master commit in: media-video/jubler/
commit: 076d61fc4fe4b9f9212a8539d207d01b8f2ef2a7 Author: Jakov Smolic sartura hr> AuthorDate: Sat Nov 14 21:47:27 2020 + Commit: David Seifert gentoo org> CommitDate: Sat Nov 14 21:47:27 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=076d61fc media-video/jubler: port to xdg eclass Closes: https://bugs.gentoo.org/740512 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Jakov Smolic sartura.hr> Signed-off-by: David Seifert gentoo.org> media-video/jubler/jubler-5.1.ebuild | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/media-video/jubler/jubler-5.1.ebuild b/media-video/jubler/jubler-5.1.ebuild index 3acfb460574..49775bdf39e 100644 --- a/media-video/jubler/jubler-5.1.ebuild +++ b/media-video/jubler/jubler-5.1.ebuild @@ -3,7 +3,7 @@ EAPI=6 -inherit java-pkg-2 java-ant-2 xdg-utils +inherit java-pkg-2 java-ant-2 xdg MY_PN="${PN^}" @@ -69,13 +69,3 @@ src_install() { doman "resources/installers/linux/${PN}.1" einstalldocs } - -pkg_postinst() { - xdg_desktop_database_update - xdg_mimeinfo_database_update -} - -pkg_postrm() { - xdg_desktop_database_update - xdg_mimeinfo_database_update -}
[gentoo-commits] repo/gentoo:master commit in: media-video/jubler/
commit: f67443d68b86ee5974e828cf3ba37deb18e35e22 Author: Alexey Sokolov google com> AuthorDate: Fri May 8 14:51:12 2020 + Commit: Aaron Bauman gentoo org> CommitDate: Sun May 17 16:55:19 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f67443d6 media-video/jubler: update homepage Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Alexey Sokolov google.com> Signed-off-by: Aaron Bauman gentoo.org> media-video/jubler/jubler-5.1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/media-video/jubler/jubler-5.1.ebuild b/media-video/jubler/jubler-5.1.ebuild index eba4d627636..3acfb460574 100644 --- a/media-video/jubler/jubler-5.1.ebuild +++ b/media-video/jubler/jubler-5.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -8,7 +8,7 @@ inherit java-pkg-2 java-ant-2 xdg-utils MY_PN="${PN^}" DESCRIPTION="Java subtitle editor" -HOMEPAGE="http://www.jubler.org/"; +HOMEPAGE="https://www.jubler.org/"; SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-source-${PV}.tar.bz2 -> ${P}.tar.bz2" LICENSE="GPL-2"
[gentoo-commits] repo/gentoo:master commit in: media-video/jubler/
commit: 393323c2e7a7a73fc3025c422d16252ac542f1ff Author: Marty E. Plummer startmail com> AuthorDate: Fri Jun 1 17:25:26 2018 + Commit: Patrice Clement gentoo org> CommitDate: Mon Jun 4 10:06:08 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=393323c2 media-video/jubler: fdo-mime->xdg-utils migration. Package-Manager: Portage-2.3.40, Repoman-2.3.9 media-video/jubler/jubler-5.1.ebuild | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/media-video/jubler/jubler-5.1.ebuild b/media-video/jubler/jubler-5.1.ebuild index 7b4baee2da7..eba4d627636 100644 --- a/media-video/jubler/jubler-5.1.ebuild +++ b/media-video/jubler/jubler-5.1.ebuild @@ -3,7 +3,7 @@ EAPI=6 -inherit fdo-mime java-pkg-2 java-ant-2 +inherit java-pkg-2 java-ant-2 xdg-utils MY_PN="${PN^}" @@ -71,11 +71,11 @@ src_install() { } pkg_postinst() { - fdo-mime_desktop_database_update - fdo-mime_mime_database_update + xdg_desktop_database_update + xdg_mimeinfo_database_update } pkg_postrm() { - fdo-mime_desktop_database_update - fdo-mime_mime_database_update + xdg_desktop_database_update + xdg_mimeinfo_database_update }
[gentoo-commits] repo/gentoo:master commit in: media-video/jubler/files/
commit: bb579bf347f4bfb5a17496458accc5710b9299a8 Author: Michael Mair-Keimberger gmail com> AuthorDate: Tue Mar 27 18:46:17 2018 + Commit: Aaron Bauman gentoo org> CommitDate: Fri Mar 30 17:14:22 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb579bf3 media-video/jubler: remove unused file Closes: https://github.com/gentoo/gentoo/pull/7657 media-video/jubler/files/update-4.6.1.xml | 326 -- 1 file changed, 326 deletions(-) diff --git a/media-video/jubler/files/update-4.6.1.xml b/media-video/jubler/files/update-4.6.1.xml deleted file mode 100644 index 130d59aacaf..000 --- a/media-video/jubler/files/update-4.6.1.xml +++ /dev/null @@ -1,326 +0,0 @@ - -http://www.jubler.org/files/updates"; icon="icons/jubler.png" jupidator="600"> - - http://jubler.googlecode.com/files/Jubler-"/> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Fixed ffdecode library for 64 bit Mac OS X. Dutch translation. - - - - - - - - - - - - - - - - - - - - Plugin system introduced. Updates to GoogleTranslate, MPlayer. Many bug fixes ans minor improvements. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Fixed Save not wroking. Fixed Recents menu, when display non-existent entries. - - - - - - - - - - - - Fixed a bug in x64 version of Windows. Fixed a bug in trimmed 64-bit Leopard. - - - - - - - - - - - - - - Updated auto-update library. Fixed bug not updating Recents menu. Fixed bug agressively truncating save file name. Modular translation files. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -Only one instance of Jubler is now run in a system. Every file remembers loading parameters and uses it when saving. Improved load/save dialog, which encapsulates the information inside the load dialog. General GUI improvements, especially in Mac OSX. Relaxed file loading, when file contains encoding errors. Improved subtitle support. Improved visuals in Video Console window. More compact Preferences dialog. Minor changes and bug fixes. - - - - - - - - - - - - - - - - - - - - - Auto-update support. Jubler is able to smart update with minimum user interaction. Improved time fixed tool for overlapping subtitles. Improved FFMPEG color model. - - - - - Improved Google
[gentoo-commits] repo/gentoo:master commit in: media-video/jubler/files/, media-video/jubler/
commit: 2c6ac3fe2736e0e23537d75352731f9c69720b2b Author: Pacho Ramos gentoo org> AuthorDate: Fri Mar 16 20:36:00 2018 + Commit: Pacho Ramos gentoo org> CommitDate: Fri Mar 16 20:42:34 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c6ac3fe media-video/jubler: Drop old Package-Manager: Portage-2.3.24, Repoman-2.3.6 media-video/jubler/Manifest| 1 - .../jubler/files/jubler-4.6.1-ffmpeg-1.patch | 274 - .../jubler/files/jubler-4.6.1-ffmpeg-2.patch | 37 --- media-video/jubler/files/jubler-4.6.1-gentoo.patch | 163 media-video/jubler/jubler-4.6.1-r3.ebuild | 98 5 files changed, 573 deletions(-) diff --git a/media-video/jubler/Manifest b/media-video/jubler/Manifest index 89fd12586ec..05eb56e5bf4 100644 --- a/media-video/jubler/Manifest +++ b/media-video/jubler/Manifest @@ -1,2 +1 @@ -DIST Jubler-source-4.6.1.tar.bz2 1971701 BLAKE2B 055b15eae2ae2bc1f5529823592ca2a61936d256a7635d51ea925711c8a456400c47d528cb9d4145dea64faf3b860869d63a7c712c281d81ea8a388f9f625860 SHA512 629aef58f98d2d8569a58a4c68c9bf440cd4693ca8847a0b8ad9e84458cd88de44542b5fc84e25033c1e22b26a4d675e070c5a58203a6bbe671072e5cdc2680a DIST jubler-5.1.tar.bz2 1815531 BLAKE2B 59f9c3c57b906a73e16b32841900ef16450758115d930e767bc4d63882ad2b8a35100a34057ab6bb353f4bea87cb4036e080d8d13a844ae4bfcae8bb361d5b18 SHA512 e2a0da737362a3c8dc12966aec1e9939291237fc714a586186b72daa16abf967c8fea8dac04fb191cb803aa11db20cf6d67468d2383f17f5c6114a643860acef diff --git a/media-video/jubler/files/jubler-4.6.1-ffmpeg-1.patch b/media-video/jubler/files/jubler-4.6.1-ffmpeg-1.patch deleted file mode 100644 index 18df9069d19..000 --- a/media-video/jubler/files/jubler-4.6.1-ffmpeg-1.patch +++ /dev/null @@ -1,274 +0,0 @@ -Index: Jubler-4.6.1/resources/ffmpeg/ffdecode/decodeaudio.c -=== Jubler-4.6.1.orig/resources/ffmpeg/ffdecode/decodeaudio.c -+++ Jubler-4.6.1/resources/ffmpeg/ffdecode/decodeaudio.c -@@ -67,19 +67,19 @@ jboolean decodeAudio(JNIEnv * env, jobje - AVStream *audio_st=NULL; - int got_audio, len, err=0, audio_index=-1, i=0, pack_duration=0, packsize=0, codec_is_open=-1, video_index=-1, codec_enc_is_open=-1; - jlong pack_pts=0; --char *outbuf=NULL; -+AVFrame *outbuf=NULL; - unsigned char *packptr; - jboolean ret = JNI_TRUE, nobrk = JNI_TRUE; - - av_register_all(); - - /* Open the input/output files */ --err = av_open_input_file(&fcx, input_filename, NULL, 0, NULL); -+err = avformat_open_input(&fcx, input_filename, NULL, NULL); - if(err<0){ - DEBUG(env, this, "decodeAudio", "Could not open file '%s'.", input_filename); - ret = JNI_FALSE; - } --outbuf = malloc(AVCODEC_MAX_AUDIO_FRAME_SIZE); -+outbuf = avcodec_alloc_frame(); - if(outbuf==NULL) { - DEBUG(env, this, "decodeAudio", "Could not allocate memory for outbuf."); - ret = JNI_FALSE; -@@ -129,7 +129,7 @@ jboolean decodeAudio(JNIEnv * env, jobje - } - else { - /* open it */ --if ((codec_is_open = avcodec_open(ccx, codec)) < 0) { -+if ((codec_is_open = avcodec_open2(ccx, codec, NULL)) < 0) { - DEBUG(env, this, "decodeAudio", "Could not open codec."); - ret = JNI_FALSE; - } -@@ -158,10 +158,10 @@ jboolean decodeAudio(JNIEnv * env, jobje - } - - /* use wav as the output format of the file */ --fmt = guess_format(NULL, output_filename, NULL); -+fmt = av_guess_format(NULL, output_filename, NULL); - if (!fmt) { - DEBUG(env, this, "decodeAudio", "Could not deduce output format from file extension: using WAV."); --fmt = guess_format("wav", NULL, NULL); -+fmt = av_guess_format("wav", NULL, NULL); - } - if (!fmt) { - DEBUG(env, this, "decodeAudio", "Could not find suitable output format."); -@@ -182,35 +182,28 @@ jboolean decodeAudio(JNIEnv * env, jobje - audio_st = add_audio_stream(env, this, ofcx, fmt->audio_codec, ccx->sample_rate, ccx->channels); - } - --/* set the output parameters (must be done even if no parameters) */ --if (av_set_parameters(ofcx, NULL) < 0) { --DEBUG(env, this, "decodeAudio", "Invalid output format parameters."); --ret = JNI_FALSE; --} --else { - codec_enc = avcodec_find_encoder(audio_st->codec->codec_id); - if (!codec_enc) { -
[gentoo-commits] repo/gentoo:master commit in: media-video/jubler/
commit: ab9a62816180920921e7140860b140355154360e Author: Agostino Sarubbo gentoo org> AuthorDate: Wed Mar 7 13:49:55 2018 + Commit: Agostino Sarubbo gentoo org> CommitDate: Wed Mar 7 13:49:55 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab9a6281 media-video/jubler: amd64 stable wrt bug #648302 Signed-off-by: Agostino Sarubbo gentoo.org> Package-Manager: Portage-2.3.19, Repoman-2.3.6 RepoMan-Options: --include-arches="amd64" media-video/jubler/jubler-5.1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/media-video/jubler/jubler-5.1.ebuild b/media-video/jubler/jubler-5.1.ebuild index 05d272f4c3d..18165e1abb2 100644 --- a/media-video/jubler/jubler-5.1.ebuild +++ b/media-video/jubler/jubler-5.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-source-${PV}.tar.bz2 -> ${P}.tar.bz LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" IUSE="mplayer spell nls" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: media-video/jubler/
commit: e696e1bc0e8fc7e629f2e07f385f47c113195280 Author: Patrice Clement gentoo org> AuthorDate: Wed Jun 28 08:06:57 2017 + Commit: Patrice Clement gentoo org> CommitDate: Wed Jun 28 08:07:33 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e696e1bc media-video/jubler: version bump. Gentoo-Bug: https://bugs.gentoo.org/540302 Package-Manager: Portage-2.3.5, Repoman-2.3.1 media-video/jubler/Manifest | 1 + media-video/jubler/jubler-5.1.ebuild | 81 2 files changed, 82 insertions(+) diff --git a/media-video/jubler/Manifest b/media-video/jubler/Manifest index a56121547cd..3b16f3cc8d3 100644 --- a/media-video/jubler/Manifest +++ b/media-video/jubler/Manifest @@ -1 +1,2 @@ DIST Jubler-source-4.6.1.tar.bz2 1971701 SHA256 1aeed14cc500165470b29884585432e9d14940c314bafa0f6318789005dd18f1 SHA512 629aef58f98d2d8569a58a4c68c9bf440cd4693ca8847a0b8ad9e84458cd88de44542b5fc84e25033c1e22b26a4d675e070c5a58203a6bbe671072e5cdc2680a WHIRLPOOL bf3e95a5515e3895a6773433681f5abfebc159f30b8a91acf51aa6ea961247db8686ab3d92112725b5443b5f1ffb16a5cc4c46036e7b3fa6a5a562e6c7ae211d +DIST jubler-5.1.tar.bz2 1815531 SHA256 bee88e6e6210ee525749bfb6469261a0ff129ed0233286010503b69b8390c8e6 SHA512 e2a0da737362a3c8dc12966aec1e9939291237fc714a586186b72daa16abf967c8fea8dac04fb191cb803aa11db20cf6d67468d2383f17f5c6114a643860acef WHIRLPOOL 8a5c5ed8f3225ad4984f9755acefe2171460639896baaace0bcbdcd2a9ffcf553b87f3aab8d5b4e8370bee0b97f524050a0fd34bfa1a1592b96a44d8ff7b0f56 diff --git a/media-video/jubler/jubler-5.1.ebuild b/media-video/jubler/jubler-5.1.ebuild new file mode 100644 index 000..05d272f4c3d --- /dev/null +++ b/media-video/jubler/jubler-5.1.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit fdo-mime java-pkg-2 java-ant-2 + +MY_PN="${PN^}" + +DESCRIPTION="Java subtitle editor" +HOMEPAGE="http://www.jubler.org/"; +SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-source-${PV}.tar.bz2 -> ${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="mplayer spell nls" + +RDEPEND=" + mplayer? ( media-video/mplayer[libass] ) + spell? ( app-text/aspell ) + >=virtual/jre-1.6" + +DEPEND=" + >=virtual/jdk-1.6" + +S="${WORKDIR}/${MY_PN}-${PV}" + +src_prepare() { + default + + local REMOVE_PLUGINS=() _plugin + use mplayer || REMOVE_PLUGINS+=( mplayer ) + use spell || REMOVE_PLUGINS+=( aspell zemberek ) + for _plugin in "${REMOVE_PLUGINS[@]}"; do + rm -rv "plugins/${_plugin}" || die + done +} + +src_compile() { + local JUBLER_TARGETS=() + use nls || JUBLER_TARGETS+=( core help ) + eant -f "${S}/build.xml" "${JUBLER_TARGETS[@]}" +} + +src_install() { + DESTDIR="${D}" eant linuxdesktopintegration + rm -rv "${D}/usr/share/menu" || die + + doicon "resources/installers/linux/${PN}.png" + domenu "resources/installers/linux/${PN}.desktop" + + java-pkg_dojar dist/Jubler.jar + java-pkg_dolauncher "${PN}" --main Jubler + + if use nls; then + insinto "/usr/share/${PN}/lib/i18n/" + doins dist/i18n/*.jar + fi + + insinto "/usr/share/${PN}/lib/themes" + doins dist/themes/coretheme.jar + insinto "/usr/share/${PN}/lib/lib" + doins dist/lib/*.jar + + insinto "/usr/share/${PN}/help" + doins resources/help/* + + doman "resources/installers/linux/${PN}.1" + einstalldocs +} + +pkg_postinst() { + fdo-mime_desktop_database_update + fdo-mime_mime_database_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update + fdo-mime_mime_database_update +}
[gentoo-commits] repo/gentoo:master commit in: media-video/jubler/
commit: 3076c7cd4f0bb64e40da31349dc8d3c2aa8a234e Author: Ulrich Müller gentoo org> AuthorDate: Sat Jun 25 19:29:38 2016 + Commit: Ulrich Müller gentoo org> CommitDate: Sat Jun 25 19:31:56 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3076c7cd media-video/jubler: Migrate from LINGUAS to L10N. Package-Manager: portage-2.3.0 media-video/jubler/jubler-4.6.1-r3.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/media-video/jubler/jubler-4.6.1-r3.ebuild b/media-video/jubler/jubler-4.6.1-r3.ebuild index deb9113..65955db 100644 --- a/media-video/jubler/jubler-4.6.1-r3.ebuild +++ b/media-video/jubler/jubler-4.6.1-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -21,7 +21,7 @@ RDEPEND=">=virtual/jre-1.5 mplayer? ( media-video/mplayer[libass] ) spell? ( app-text/aspell - >=dev-java/zemberek-2.0[linguas_tr] + >=dev-java/zemberek-2.0[l10n_tr] )" DEPEND=">=virtual/jdk-1.5