Package Details: xneur-devel-git 0.20.0-17

Git Clone URL: https://aur.archlinux.org/xneur-devel-git.git (read-only)
Package Base: xneur-devel-git
Description: X Neural Switcher detects the input language and corrects keyboard layout. Git version
Upstream URL: https://github.com/AndrewCrewKuznetsov/xneur-devel
Licenses: GPL
Conflicts: xneur
Provides: xneur=0.20.0
Replaces: xneur
Submitter: push_sla
Maintainer: push_sla
Last Packager: push_sla
Votes: 1
Popularity: 0.005578
First Submitted: 2018-11-19 15:43
Last Updated: 2019-03-24 16:06

Dependencies (8)

Required by (3)

Sources (1)

Latest Comments

push_sla commented on 2018-11-24 14:42

this PKGBUILD is the ugly hack =) I`ve seen xneur PKGBUILD earlier, and it seems that at me it just wasn't making. After all, I need some of these hacks to install xneur in /opt exactly

DaarkWel commented on 2018-11-24 14:05

Ok, there's too much ugly hacks. I just composed PKGBUILD from this one and old xneur's. It builds and works. You can beautify and use it.

 pkgname=xneur
 pkgver=0.20.0
 pkgrel=10
 epoch=
 pkgdesc="X Neural Switcher detects the input language and corrects keyboard layout. Git version"
 arch=('any')
 url="<https://github.com/AndrewCrewKuznetsov/xneur-devel>"
 license=('GPL')
 groups=()
 depends=('enchant' 'gtk2' 'libnotify' 'gstreamer>=1.2.4')
 makedepends=('git')
 checkdepends=()
 optdepends=('hunspell-<your_language>')
 provides=('xneur')
 conflicts=('xneur')
 replaces=('xneur')
 backup=()
 options=()
 install=
 changelog=
 source=("git+<https://github.com/AndrewCrewKuznetsov/xneur-devel.git>")
 noextract=()
 md5sums=('SKIP')
 validpgpkeys=()

 build() {
     cd $srcdir/$pkgname-devel/xneur
     ./autogen.sh --prefix=/usr --sysconfdir=/etc \
    --without-xosd \
    --with-gtk=gtk2 # Because gxneur still doesn't supports gtk3
     make
 }

 package() {
     cd $srcdir/$pkgname-devel/xneur
     make DESTDIR=$pkgdir install
 }

push_sla commented on 2018-11-24 13:34

Just remove the last line in package() function in PKGBUILD

DaarkWel commented on 2018-11-24 13:26

New error:

 make[1]: вход в каталог «/tmp/build/xneur/src/xneur-devel-git-0.20.0/xneur»
 make[2]: вход в каталог «/tmp/build/xneur/src/xneur-devel-git-0.20.0/xneur»
 make[2]: Цель «install-exec-am» не требует выполнения команд.
  /usr/bin/mkdir -p '/tmp/build/xneur/pkg/xneur-devel-git//opt/xneur/share/man/man1'
  /usr/bin/mkdir -p '/tmp/build/xneur/pkg/xneur-devel-git//opt/xneur/share/man/man5'
  /usr/bin/install -c -m 644 xneurrc.5 '/tmp/build/xneur/pkg/xneur-devel-git//opt/xneur/share/man/man5'
  /usr/bin/install -c -m 644 xneur.1 '/tmp/build/xneur/pkg/xneur-devel-git//opt/xneur/share/man/man1'
  /usr/bin/mkdir -p '/tmp/build/xneur/pkg/xneur-devel-git//opt/xneur/lib/pkgconfig'
  /usr/bin/install -c -m 644 xnconfig.pc xneur.pc '/tmp/build/xneur/pkg/xneur-devel-git//opt/xneur/lib/pkgconfig'
 make[2]: выход из каталога «/tmp/build/xneur/src/xneur-devel-git-0.20.0/xneur»
 make[1]: выход из каталога «/tmp/build/xneur/src/xneur-devel-git-0.20.0/xneur»
 libtool:   error: invalid argument '/opt/xneur/lib/xneur'
 ==> ОШИБКА: Произошел сбой в package().
     Прерывание...`

push_sla commented on 2018-11-24 10:49

I see what this problem is I`m a bit confused, but PKGBUILD is fixed

DaarkWel commented on 2018-11-24 10:13

Primo, there's typo: gstreaNer. Secundo, md5sums is wrong now. And why do you need to check md5sums of html page anyway? And yes, I had and have enchant and hunspell installed, but build error still here.

push_sla commented on 2018-11-24 09:25

My mistake. You also need 'enchant' package or something provides it. f.e. I use enchant-pure

PKGBUILD was updated. Try again

DaarkWel commented on 2018-11-24 08:46

Не собирается.

make  all-recursive
make[1]: вход в каталог «/tmp/build/xneur-devel-git/src/xneur-devel-git-0.20.0/xneur»
Making all in lib
make[2]: вход в каталог «/tmp/build/xneur-devel-git/src/xneur-devel-git-0.20.0/xneur/lib»
Making all in notify
make[3]: вход в каталог «/tmp/build/xneur-devel-git/src/xneur-devel-git-0.20.0/xneur/lib/notify»
  CC       libxnnotify_la-notify.lo
  CC       libxnnotify_la-osd.lo
In file included from ../../lib/config/xnconfig.h:38,
                 from notify.c:25:
../../lib/lib/xneur.h:32:11: фатальная ошибка: enchant/enchant.h: Нет такого файла или каталога
 # include <enchant/enchant.h>
           ^~~~~~~~~~~~~~~~~~~
компиляция прервана.
make[3]: *** [Makefile:469: libxnnotify_la-notify.lo] Ошибка 1
make[3]: *** Ожидание завершения заданий…
In file included from ../../lib/config/xnconfig.h:38,
                 from osd.c:34:
../../lib/lib/xneur.h:32:11: фатальная ошибка: enchant/enchant.h: Нет такого файла или каталога
 # include <enchant/enchant.h>
           ^~~~~~~~~~~~~~~~~~~
компиляция прервана.
make[3]: *** [Makefile:476: libxnnotify_la-osd.lo] Ошибка 1
make[3]: выход из каталога «/tmp/build/xneur-devel-git/src/xneur-devel-git-0.20.0/xneur/lib/notify»
make[2]: *** [Makefile:413: all-recursive] Ошибка 1
make[2]: выход из каталога «/tmp/build/xneur-devel-git/src/xneur-devel-git-0.20.0/xneur/lib»
make[1]: *** [Makefile:626: all-recursive] Ошибка 1
make[1]: выход из каталога «/tmp/build/xneur-devel-git/src/xneur-devel-git-0.20.0/xneur»
make: *** [Makefile:447: all] Ошибка 2
==> ОШИБКА: Произошел сбой в build().
    Прерывание...
Error making: xneur-devel-git