Package Details: jubler 6.0.2-2

Git Clone URL: https://aur.archlinux.org/jubler.git (read-only, click to copy)
Package Base: jubler
Description: Subtitle editor running on Java
Upstream URL: http://www.jubler.org
Keywords: subtitles
Licenses: GPL2
Provides: jubler
Submitter: Kisuke-CZE
Maintainer: AwesomeHaircut
Last Packager: AwesomeHaircut
Votes: 1
Popularity: 0.000000
First Submitted: 2017-09-16 23:35
Last Updated: 2019-07-21 15:41

Latest Comments

kaefert commented on 2020-03-07 14:57

that seems equivalent, though somehow trying to rebuild the package with this script gives me this seemingly unrelated error:

cp: target '/var/tmp/pamac-build-thomas/jubler/src/squashfs-root/lib/zemberek.jar' is not a directory
==> ERROR: A failure occurred in package().
    Aborting...

Kisuke-CZE commented on 2020-03-07 14:19

Since I do not use ArchLinux anymore, I cannot test it. But I would do that by adding new variable which could contain that subversion string. Try PKGBUILD attached, I beleive it could work. But I am not sure.

PKGBUILD:

# Maintainer AwesomeHaircut: jesusbalbastro gmail com
# Previous Maintainer: Kisuke <kisuke at kisuke dot cz>

pkgname=jubler
_AppName=Jubler
pkgver=7.0.0
pkgrel=1
_subver='-alpha1'
pkgdesc='Subtitle editor running on Java'
arch=('any')
url='http://www.jubler.org'
license=('GPL2')
provides=('jubler')
depends=('java-runtime>=8')
optdepends=('mplayer: live video preview for subtitles')
source=("https://github.com/teras/Jubler/releases/download/v${pkgver}${_subver}/${_AppName}-${pkgver}${_subver}.appimage"
    'jubler.desktop')
sha256sums=('ae7cdecdd8c8184cec174e6b9511b3dfe730764c75f840a03e6c83dff456c271'
            '56f6d1af4d5086231c2f3935d46aaa0293dbba11ecfeaa5f95609a58a9e59056')
noextract=("${_AppName}-${pkgver}${_subver}.appimage")

package() {
    cd ${srcdir}
    chmod +x ${_AppName}-${pkgver}${_subver}.appimage
    ./${_AppName}-${pkgver}${_subver}.appimage --appimage-extract
    mkdir -p ${pkgdir}/usr/share/java/${pkgname}
    cp -R ${srcdir}/squashfs-root/lib/* ${pkgdir}/usr/share/java/${pkgname}/
    mv ${pkgdir}/usr/share/java/${pkgname}/AppRun.jar ${pkgdir}/usr/share/java/${pkgname}/${_AppName}.jar
    find ${pkgdir}/usr/share/java/${pkgname}/* -type d -exec chmod 755 {} +

    chmod -R 755 ${srcdir}/squashfs-root/usr/
    cp -R ${srcdir}/squashfs-root/usr ${pkgdir}/

    install -D -m644 "$srcdir/${pkgname}.desktop" "$pkgdir/usr/share/applications/${pkgname}.desktop"
}

kaefert commented on 2020-03-07 13:15

can't, the system will complain that the pkgver variable is not allowed to contain a dash character = "-".

teras commented on 2020-03-06 09:56

-alpha1 is part of the versioning, maybe added there?

kaefert commented on 2020-03-05 09:38

AUR package installation doesn't work anymore:

curl: (22) The requested URL returned error: 404 ==> ERROR: Failure while downloading https://astuteinternet.dl.sourceforge.net/project/jubler/Jubler%20Binary%20Releases/6.0.2/Jubler-6.0.2.appimage

Diff for the build file how I managed to get it installed:

diff --git a/PKGBUILD b/PKGBUILD
index b6cf1e0..3b7e46e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@

 pkgname=jubler
 _AppName=Jubler
-pkgver=6.0.2
+pkgver=7.0.0
 pkgrel=2
 pkgdesc='Subtitle editor running on Java'
 arch=('any')
@@ -12,16 +12,16 @@ license=('GPL2')
 provides=('jubler')
 depends=('java-runtime>=8')
 optdepends=('mplayer: live video preview for subtitles')
-source=("https://astuteinternet.dl.sourceforge.net/project/jubler/Jubler%20Binary%20Releases/${pkgver}/${_AppName}-${pkgver}.appimage"
+source=("https://github.com/teras/Jubler/releases/download/v${pkgver}-alpha1/${_AppName}-${pkgver}-alpha1.appimage"
    'jubler.desktop')
-sha256sums=('822dfe7cd171cbee15b88608ee76d6121f1ebe3fc1a9743a3a47eed326e5d45d'
+sha256sums=('ae7cdecdd8c8184cec174e6b9511b3dfe730764c75f840a03e6c83dff456c271'
             '56f6d1af4d5086231c2f3935d46aaa0293dbba11ecfeaa5f95609a58a9e59056')
 noextract=("${_AppName}-${pkgver}.appimage")

 package() {
    cd ${srcdir}
-   chmod +x ${_AppName}-${pkgver}.appimage
-   ./${_AppName}-${pkgver}.appimage --appimage-extract
+   chmod +x ${_AppName}-${pkgver}-alpha1.appimage
+   ./${_AppName}-${pkgver}-alpha1.appimage --appimage-extract
    mkdir -p ${pkgdir}/usr/share/java/${pkgname}
    cp -R ${srcdir}/squashfs-root/lib/* ${pkgdir}/usr/share/java/${pkgname}/
    mv ${pkgdir}/usr/share/java/${pkgname}/AppRun.jar ${pkgdir}/usr/share/java/${pkgname}/${_AppName}.jar

teras commented on 2018-07-13 17:54

Since I'm the author of Jubler, we can sort this out. Maybe contact me directly through Jubler site, instead of communicating publicly here?

Kisuke-CZE commented on 2018-07-13 08:19

teras: Hi, I've already found that. But I also found, that AppImage does not contain icon for associated files (jubler-subtitles icon) for some reason.

On the other side, it is easier to extract things from that AppImage and there are no libicns and p7zip needed to build package.

So I do not know which option is better.

teras commented on 2018-07-13 07:01

To extract the AppImage do something like ./Jubler.appimage --appimage-extract and the contents will be extracted to squashfs-root/ folder.