Package Details: xneur-devel-git 0.21.0-30

Git Clone URL: https://aur.archlinux.org/xneur-devel-git.git (read-only, click to copy)
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: xnconfig, xneur
Replaces: xneur
Submitter: push_sla
Maintainer: None
Last Packager: push_sla
Votes: 3
Popularity: 0.057740
First Submitted: 2018-11-19 15:43 (UTC)
Last Updated: 2019-12-15 12:50 (UTC)

Latest Comments

big-vl commented on 2022-05-24 08:28 (UTC)

@sergeimipt,

git clone https://aur.archlinux.org/enchant1.6.git
rm /usr/lib/pkgconfig/enchant.pc
cd enchant1.6/
makepkg -si
cd ..
git clone https://aur.archlinux.org/xneur-devel-git.git
cd xneur-devel-git/
sudo pacman -S xosd
makepkg -si

push_sla commented on 2022-01-03 15:09 (UTC)

Also send all questions related to the program itself to the developer.

push_sla commented on 2022-01-03 15:08 (UTC)

Friends, pls, note that this package is an Orphan. If you have any claims, take the package and maintain it. My pleasure.

1) I am not using X11 anymore. The last time I've built this package, everything worked fine for me. Now I am at Wayland, this package is orphan: no warranty!

2) Xneur on GitHub - the original package - is under reconstruction and contains many errors and out-of-date dependencies

So this PKGBUILD should NOT and will NOT be built correctly.

sergeimipt commented on 2022-01-03 12:15 (UTC) (edited on 2022-01-03 12:18 (UTC) by sergeimipt)

summary: the application doesn't work at me. missing dependencies, no application 'xneur-devel-git' in /usr/bin . I wasted my time.

1) i cloned the repo, first it yelled enchant1.6 is missing:

$ makepkg -si
==> Making package: xneur-devel-git 0.21.0-30 (Mon 03 Jan 2022 14:53:52 MSK)
==> Checking runtime dependencies...
==> Installing missing dependencies...
error: target not found: enchant1.6
==> ERROR: 'pacman' failed to install missing dependencies.
==> Missing dependencies:
  -> enchant1.6
==> Checking buildtime dependencies...
==> ERROR: Could not resolve all dependencies.

2) i installed enchant1.6 from aur, installation went ok:

$ makepkg -si
==> Making package: xneur-devel-git 0.21.0-30 (Mon 03 Jan 2022 14:57:32 MSK)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning xneur-devel git repo...
Cloning into bare repository '/home/sergei/git/xneur-devel-git/xneur-devel'...
warning: redirecting to https://github.com/AndrewCrewKuznetsov/xneur-devel.git/
remote: Enumerating objects: 9168, done.
remote: Counting objects: 100% (43/43), done.
remote: Compressing objects: 100% (33/33), done.
remote: Total 9168 (delta 17), reused 24 (delta 10), pack-reused 9125
Receiving objects: 100% (9168/9168), 52.46 MiB | 10.69 MiB/s, done.
Resolving deltas: 100% (4716/4716), done.
==> Validating source files with md5sums...
    xneur-devel ... Skipped
==> Extracting sources...
  -> Creating working copy of xneur-devel git repo...
Cloning into 'xneur-devel'...
done.
==> Starting prepare()...
You have to check if enchant1.6 is installed
And /usr/include/enchant is a symlink to /usr/include/enchant1.6
ln -s /usr/include/enchant1.6 /usr/include/enchant

3) I created the symlink. The problem is the application xneur-devel-git is not found in my path:

$ xneur-devel-git
bash: xneur-devel-git: command not found

berligostr commented on 2019-11-11 21:07 (UTC)

после обновления xneur начинает "заикаться". еtest gпроверка - так получается при автоматической смене раскладки клавиатуры при вводе.

SinClaus commented on 2019-11-08 08:51 (UTC)

Plus: Xneur pack save int the pkgconfig version 0.20.1, but GGxneur need 0.21.1. And still, there is no README in a Gxneur pack.

SinClaus commented on 2019-11-06 01:56 (UTC)

Now there isn't 'README' in a gxneur catalog.

push_sla commented on 2018-11-24 14:42 (UTC) (edited on 2018-11-24 14:51 (UTC) by push_sla)

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 (UTC)

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 (UTC) (edited on 2018-11-24 13:39 (UTC) by push_sla)

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

DaarkWel commented on 2018-11-24 13:26 (UTC) (edited on 2018-11-24 13:27 (UTC) by DaarkWel)

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 (UTC)

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

DaarkWel commented on 2018-11-24 10:13 (UTC)

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 (UTC)

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 (UTC) (edited on 2018-11-24 08:52 (UTC) by DaarkWel)

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

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