You are not logged in.

#1 2014-10-25 18:34:46

89c51
Member
Registered: 2012-06-05
Posts: 741

[Request] Etui - EFL based document viewer.

https://github.com/vtorri/etui

Written by an EFL dev and hosted on github (for reason unknown). PDF/document reader.

Offline

#2 2014-10-25 22:36:44

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,466

Re: [Request] Etui - EFL based document viewer.

Looks relatively straight forward. I'll take a look at it later if nobody beats me to it.

Edit: Done, https://aur.archlinux.org/packages/etui-git/

I did add the ewebkit dependency, even though building it is nasty. You should be able to take it out if you don't want epub support.

Last edited by Scimmia (2014-10-26 04:35:14)

Offline

#3 2014-10-26 10:03:20

89c51
Member
Registered: 2012-06-05
Posts: 741

Re: [Request] Etui - EFL based document viewer.

Thanks smile

Sadly it doesn't work allright. hmm

Last edited by 89c51 (2014-10-26 17:59:31)

Offline

#4 2016-05-05 10:33:09

89c51
Member
Registered: 2012-06-05
Posts: 741

Re: [Request] Etui - EFL based document viewer.

# Maintainer: Doug Newgard <scimmia at archlinux dot info>

_pkgname=etui
pkgname=$_pkgname-git
pkgver=0.0.2.r186.1c9b60d
pkgrel=1
pkgdesc="Multi-document rendering application and library using the EFL"
arch=('i686' 'x86_64')
url="http://www.enlightenment.org"
license=('GPL3' 'AGPL3')
depends=('efl-git' 'freetype2' 'openjpeg' 'libarchive' 'djvulibre' 'ghostscript')
makedepends=('git')
provides=("$_pkgname=$pkgver")
conflicts=("$_pkgname")
source=("git://github.com/vtorri/etui.git")
sha256sums=('SKIP')

pkgver() {
  cd "$srcdir/$_pkgname"

  for _i in v_maj v_min v_mic; do
    local v_ver=${v_ver#.}.$(grep -m1 $_i configure.ac | sed 's/m4//' | grep -o "[[:digit:]]*")
  done

  v_ver=$(awk -F , -v v_ver=$v_ver '/^AC_INIT/ {gsub(/v_ver/, v_ver); gsub(/[\[\] -]/, ""); print $2}' configure.ac)

  printf "$v_ver.r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}

build() {
  cd "$srcdir/$_pkgname"

  export CFLAGS="$CFLAGS -fvisibility=hidden -I/usr/include/ghostscript"

  ./autogen.sh \
    --prefix=/usr

  make
}

package() {
  cd "$srcdir/$_pkgname"

  make DESTDIR="$pkgdir" install

# install text files
  install -d "$pkgdir/usr/share/doc/$_pkgname/"
  install -m644 -t "$pkgdir/usr/share/doc/$_pkgname/" AUTHORS ChangeLog NEWS README
}

Used the above to build etui and after the installation no desktop icon or pdfs open by doubleclicking. A .desktop file exists in the code. Is there something i have to do post installation or add to the PKGBUILD for those to work?

Thanks in advance.

Offline

#5 2016-05-05 13:56:31

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,466

Re: [Request] Etui - EFL based document viewer.

Just took a look, the desktop file does appear to get installed. I would guess your DE just hadn't caught up after installation? It has to rescan the applications dir.

Offline

#6 2016-05-05 14:36:13

89c51
Member
Registered: 2012-06-05
Posts: 741

Re: [Request] Etui - EFL based document viewer.

It usually works just fine when i install stuff like terminology-git etc. hmm

Never had to do anything more than install it with pacman.

Edit:
There is a etui.desktop file in /usr/share/applications but is not recognized as application/x-desktop (mime-type)

Last edited by 89c51 (2016-05-05 15:46:51)

Offline

Board footer

Powered by FluxBB