Package Details: foliate-git 2.6.4.r103.g1613ac8-2

Git Clone URL: https://aur.archlinux.org/foliate-git.git (read-only, click to copy)
Package Base: foliate-git
Description: Simple and modern GTK eBook reader
Upstream URL: https://johnfactotum.github.io/foliate/
Keywords: azw azw3 ebook-reader epub foliate gjs gtk mobi
Licenses: GPL3
Conflicts: foliate
Provides: foliate
Submitter: schw0reismus
Maintainer: FabioLolix
Last Packager: FabioLolix
Votes: 11
Popularity: 0.192633
First Submitted: 2019-05-31 12:22 (UTC)
Last Updated: 2023-05-14 11:55 (UTC)

Dependencies (12)

Required by (0)

Sources (2)

Latest Comments

1 2 Next › Last »

FabioLolix commented on 2023-05-10 07:34 (UTC)

I'll fix that, about the warning I'm not sure I can do something

exploder-jimmy commented on 2023-05-10 01:54 (UTC) (edited on 2023-05-10 01:55 (UTC) by exploder-jimmy)

Please replace gtk4 with libadwaita in depends. (libadwaita depends on gtk4)
Foliate does not start without it.

Also there is this meson warning:

WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated.

Thanks!

FabioLolix commented on 2023-05-04 21:41 (UTC)

Revisioned to use gtk4 branch

FabioLolix commented on 2023-05-04 10:58 (UTC)

Hello people, I've missed the previous comments, I'll check the pkgbuild this weekend

ariez_xyz commented on 2023-04-08 12:52 (UTC)

@JCL813 I wanted to test this out quickly, but it took some more changes to get it to work because the gtk4 branch uses a submodule.

depends=('gtk4' 'gjs>=1.52.0'  'webkit2gtk' 'gettext')
source=("${pkgname%-git}::git+https://github.com/johnfactotum/${pkgname%-git}.git#branch=gtk4" "git+https://github.com/johnfactotum/foliate-js.git")
md5sums=('SKIP' 'SKIP')
prepare() {
  cd "$srcdir"/"${pkgname%-git}"
  git submodule init
  git config submodule.src/foliate-js.url "$srcdir/foliate-js"
  git -c protocol.file.allow=always submodule update
}

(as per https://wiki.archlinux.org/title/VCS_package_guidelines#Git_submodules)

JCL813 commented on 2023-03-25 17:46 (UTC)

I think that

source=("${pkgname%-git}::git+https://github.com/johnfactotum/${pkgname%-git}.git#branch=master")

Should be changed into

source=("${pkgname%-git}::git+https://github.com/johnfactotum/${pkgname%-git}.git#branch=gtk4")

Since the "gtk4" branch is being actively updated and is on version 3.0.0. The "master" branch is on 2.6.4, the same version as the one in the main repository.

Kaliwaal commented on 2020-07-07 15:09 (UTC)

Updated PKGBUILD for Version 2.4.2

Maintainer: schw0reismus schw0reismus@protonmail.com
pkgname=foliate-git 
pkgver=2.4.2 
pkgrel=1 
pkgdesc="A simple and modern GTK eBook reader" 
arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64') 
url="https://github.com/johnfactotum/foliate.git" 
license=('GPL-3.0') 
depends=('gjs>=1.52.0' 'webkit2gtk' 'gettext') 
makedepends=('meson>=0.40' 'ninja' 'git') 
optdepends=('hyphen: Auto-hyphenation support' 'hyphen-en: Hyphenation rules for English; you may >choose package for your language' 'dictd: Offline dictionary support' 'festival: Text-to-speech support' 'espeak-ng: Text-to-speech support' ) 
source=("${pkgname%-git}::git+https://github.com/johnfactotum/foliate.git") 
provides=("${pkgname%-git}") 
replaces=("${pkgname%-git}") 
conflicts=("${pkgname%-git}") 
md5sums=('SKIP')

pkgver() { 
    cd "${pkgname%-git}" 
    git describe --long --tags | sed 's/([^-]*-g)/r/;s/-/./g' 
    }

build() { 
cd "$srcdir"/"${pkgname%-git}" 
meson build --prefix=/usr 
ninja -C build 
}

package(){ 
cd "$srcdir"/"${pkgname%-git}" 
DESTDIR="$pkgdir" 
ninja -C build install
}

@darktimesahead: You are welcome.

darktimesahead commented on 2020-06-18 07:18 (UTC)

@Kaliwaal, thank you.

Kaliwaal commented on 2020-06-04 14:12 (UTC) (edited on 2020-06-04 14:16 (UTC) by Kaliwaal)

This modified PKGBUILD helped me.

<h1>Maintainer: schw0reismus schw0reismus@protonmail.com</h1>

pkgname=foliate-git pkgver=2.2.0.r9.gd13980e pkgrel=1 pkgdesc="A simple and modern GTK eBook reader" arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64') url="https://github.com/johnfactotum/foliate.git" license=('GPL-3.0') depends=('gjs>=1.52.0' 'webkit2gtk' 'gettext') makedepends=('meson>=0.40' 'ninja' 'git') optdepends=('hyphen: Auto-hyphenation support' 'hyphen-en: Hyphenation rules for English; you may >choose package for your language' 'dictd: Offline dictionary support' 'festival: Text-to-speech support' 'espeak-ng: Text-to-speech support' ) source=("${pkgname%-git}::git+https://github.com/johnfactotum/foliate.git") provides=("${pkgname%-git}") replaces=("${pkgname%-git}") conflicts=("${pkgname%-git}") md5sums=('SKIP')

pkgver() { cd "${pkgname%-git}" git describe --long --tags | sed 's/([^-]*-g)/r\1/;s/-/./g' }

build() { cd "$srcdir"/"${pkgname%-git}" meson build --prefix=/usr ninja -C build }

package(){ cd "$srcdir"/"${pkgname%-git}" DESTDIR="$pkgdir" ninja -C build install }

schw0reismus commented on 2019-07-05 09:29 (UTC) (edited on 2019-07-15 12:45 (UTC) by schw0reismus)

@morealaz, thank you very much for your help!