Remove all XNeur stuff, cause i do not use it anymore

This commit is contained in:
Sergey Popov 2020-03-10 15:27:42 +03:00
parent 7dc6e9e851
commit 914cda9a16
10 changed files with 0 additions and 278 deletions

View File

@ -1 +0,0 @@
DIST gxneur-0.15.0.tar.bz2 682903 SHA256 4fda25f0b3f90d6b76aa731bcc1768c606af1cbdba59e82400baa83d2ea9866d

View File

@ -1,59 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=4
inherit autotools eutils gnome2-utils versionator
DESCRIPTION="GTK+ based GUI for xneur"
HOMEPAGE="http://www.xneur.ru/"
SRC_URI="http://dists.xneur.ru/release-${PV}/tgz/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+gconf nls"
COMMON_DEPEND="gnome-base/libglade:2.0
>=sys-devel/gettext-0.16.1
>=x11-libs/gtk+-2.18:2
>=x11-misc/xneur-$(get_version_component_range 1-2)
gconf? ( gnome-base/gconf:2 )
!x11-misc/xneur[gtk3]"
RDEPEND="${COMMON_DEPEND}
nls? ( virtual/libintl )"
DEPEND="${COMMON_DEPEND}
nls? ( sys-devel/gettext )
virtual/pkgconfig"
src_prepare() {
rm -f m4/{lt~obsolete,ltoptions,ltsugar,ltversion,libtool}.m4 \
ltmain.sh aclocal.m4 || die
sed -i "s/-Werror -g0//" configure.in || die
eautoreconf
}
src_configure() {
econf \
$(use_enable nls) \
$(use_with gconf)
}
src_install() {
emake DESTDIR="${D}" install
dodoc AUTHORS ChangeLog NEWS
doicon pixmaps/gxneur.png
}
pkg_preinst() {
gnome2_icon_savelist
}
pkg_postinst() {
gnome2_icon_cache_update
}
pkg_postrm() {
gnome2_icon_cache_update
}

View File

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<use>
<flag name="gconf">enables to keep configuration (in GConf)</flag>
</use>
</pkgmetadata>

View File

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<longdescription>
qxneur is a Qt4 frontend to X Neural Switcher
</longdescription>
</pkgmetadata>

View File

@ -1,19 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit cmake-utils git-r3
DESCRIPTION="Qt4 frontend for X Neural switcher"
HOMEPAGE="https://github.com/KsenZ/qxneur.git"
EGIT_REPO_URI="https://github.com/KsenZ/qxneur.git"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
src_install() {
cd "${CMAKE_BUILD_DIR}"
dobin "${PN}"
}

View File

@ -1 +0,0 @@
DIST xneur-0.15.0.tar.bz2 1136568 SHA256 ebedf81ac2c8510d60e235ca66c7ed73c306b22b5b3164981a628950b5cb3e70

View File

@ -1,48 +0,0 @@
--- configure.in.orig 2011-12-06 19:43:49.934493120 +0100
+++ configure.in 2011-12-06 19:43:57.365437555 +0100
@@ -192,16 +192,28 @@
AC_ARG_WITH(libnotify, [ --without-libnotify Compile without libnotify message support])
if test "x$with_libnotify" != "xno"; then
- AC_ARG_WITH(gtk, [ --with-gtk Compile with additional GTK support])
- if test "x$with_gtk" == "xyes"; then
- PKG_CHECK_MODULES(GTK, [gtk+-3.0], found_gtk="yes", found_gtk="no")
- if test "x$found_gtk" = "xno"; then
- PKG_CHECK_MODULES(GTK, [gtk+-2.0])
- fi
+ AC_ARG_WITH(gtk, [ --with-gtk[[=ARG]] Compile with additional GTK support ARG=[[yes|no|gtk2|gtk3]] [[default=no]]])
+ if test "x$with_gtk" != "xno"; then
+ if test "x$with_gtk" = "x"; then
+ with_gtk="gtk3"
+ fi
+
+ case $with_gtk in
+ gtk2)
+ PKG_CHECK_MODULES(GTK, [gtk+-2.0], found_gtk="yes", found_gtk="no")
+ ;;
+ gtk3|yes)
+ PKG_CHECK_MODULES(GTK, [gtk+-3.0], found_gtk="yes", found_gtk="no")
+ ;;
+ *)
+ AC_MSG_ERROR([Unsupported Gtk+ selected, --with-gtk=[[yes|no|gtk2|gtk3]]])
+ ;;
+ esac
+
+ PKG_CHECK_MODULES(LIBNOTIFY, [libnotify >= 0.4.0])
+ AC_DEFINE(WITH_LIBNOTIFY, 1, [Define if you want libnotify message support])
fi
- PKG_CHECK_MODULES(LIBNOTIFY, [libnotify >= 0.4.0])
- AC_DEFINE(WITH_LIBNOTIFY, 1, [Define if you want libnotify message support])
fi
AC_ARG_WITH(plugins, [ --without-plugins Compile without plugins support])
@@ -331,7 +343,7 @@
fi
if test "x$with_popup" != "xno"; then
- if test "x$with_gtk" == "xyes"; then
+ if test "x$found_gtk" == "xyes"; then
cat <<EOF
GTK compiler flags: $GTK_CFLAGS
GTK linker flags: $GTK_LIBS

View File

@ -1,9 +0,0 @@
--- xnconfig.pc.in.orig 2012-06-07 21:42:01.567959027 +0400
+++ xnconfig.pc.in 2012-06-07 21:42:06.613958946 +0400
@@ -7,5 +7,5 @@
Description: XNeur config library
Requires: libpcre
Version: @VERSION@
-Libs: -L@libdir@ -lxnconfig @PCRE_LIBS@ @LDFLAGS@ @ADDITIONAL_LIBS@
+Libs: -L@libdir@ -lxnconfig @PCRE_LIBS@ @ADDITIONAL_LIBS@
Cflags: -I@includedir@

View File

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<use>
<flag name='aplay'>Use aplay from <pkg>media-sound/alsa-utils</pkg> for
playing sounds</flag>
<flag name='gtk3'>Use gtk3 instead of gtk2</flag>
<flag name='keylogger'>Enable keylogger support (logs all text into html;
<pkg>x11-misc/gxneur</pkg> allows to view this text)</flag>
</use>
</pkgmetadata>

View File

@ -1,114 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="4"
inherit autotools eutils
DESCRIPTION="In-place conversion of text typed in with a wrong keyboard layout (Punto Switcher replacement)"
HOMEPAGE="http://www.xneur.ru/"
SRC_URI="http://dists.xneur.ru/release-${PV}/tgz/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="aplay debug gstreamer gtk gtk3 keylogger libnotify nls openal xosd +spell"
COMMON_DEPEND=">=dev-libs/libpcre-5.0
sys-libs/zlib
>=x11-libs/libX11-1.1
x11-libs/libXtst
gstreamer? ( >=media-libs/gstreamer-0.10.6 )
!gstreamer? (
openal? ( >=media-libs/freealut-1.0.1 )
!openal? (
aplay? ( >=media-sound/alsa-utils-1.0.17 ) ) )
libnotify? (
gtk? (
gtk3? ( x11-libs/gtk+:3 )
!gtk3? ( x11-libs/gtk+:2 ) )
>=x11-libs/libnotify-0.4.0 )
spell? ( app-text/enchant )
xosd? ( x11-libs/xosd )"
RDEPEND="${COMMON_DEPEND}
gstreamer? ( media-libs/gst-plugins-good
media-plugins/gst-plugins-alsa )
nls? ( virtual/libintl )
gtk3? ( !x11-misc/gxneur )"
DEPEND="${COMMON_DEPEND}
virtual/pkgconfig
nls? ( sys-devel/gettext )"
DOCS="AUTHORS ChangeLog README NEWS TODO"
src_prepare() {
# Fixes error/warning: no newline at end of file
find -name '*.c' -exec sed -i -e '${/[^ ]/s:$:\n:}' {} + || die
rm -f m4/{lt~obsolete,ltoptions,ltsugar,ltversion,libtool}.m4 \
ltmain.sh aclocal.m4 || die
sed -i -e "s/-Werror -g0//" configure.in || die
# allows to select between gtk2 or gtk3, or none
epatch "${FILESDIR}/${PV}-select-gtk.patch"
# remove LDFLAGS from pkgconfig file
epatch "${FILESDIR}/${PN}-no-ldflags-in-pkgconfig.patch"
eautoreconf
}
src_configure() {
local myconf
if use gtk && ! use libnotify; then
einfo "libnotify is not in USE - gtk USE flag will have no effect"
fi
if use gstreamer; then
elog "Using gstreamer for sound output."
myconf="--with-sound=gstreamer"
elif use openal; then
elog "Using openal for sound output."
myconf="--with-sound=openal"
elif use aplay; then
elog "Using aplay for sound output."
myconf="--with-sound=aplay"
else
elog "Sound support disabled."
myconf="--with-sound=no"
fi
if use gtk; then
if use gtk3; then
myconf="${myconf} --with-gtk=gtk3"
else
myconf="${myconf} --with-gtk=gtk2"
fi
else
myconf="${myconf} --without-gtk"
fi
econf ${myconf} \
$(use_with debug) \
$(use_enable nls) \
$(use_with spell) \
$(use_with xosd) \
$(use_with libnotify) \
$(use_with keylogger)
}
pkg_postinst() {
elog "This is command line tool. If you are looking for GUI frontend just"
elog "emerge gxneur, which uses xneur transparently as backend."
elog
elog "It is recommended to install dictionary for your language"
elog "(myspell or aspell), for example app-dicts/aspell-ru."
ewarn
ewarn "If you upgraded from <=xneur-0.9.3, you need to remove"
ewarn "dictionary files in the home directory:"
ewarn " $ rm ~/.xneur/{ru,en,be,etc.}/dict"
ewarn
ewarn "Note: if xneur became slow, try to comment out AddBind options in config file."
}