From 914cda9a169cb1af0e1fbbebd6b63d2dd84326ac Mon Sep 17 00:00:00 2001 From: Sergey Popov Date: Tue, 10 Mar 2020 15:27:42 +0300 Subject: [PATCH] Remove all XNeur stuff, cause i do not use it anymore --- x11-misc/gxneur/Manifest | 1 - x11-misc/gxneur/gxneur-0.15.0.ebuild | 59 --------- x11-misc/gxneur/metadata.xml | 8 -- x11-misc/qxneur/metadata.xml | 8 -- x11-misc/qxneur/qxneur-9999.ebuild | 19 --- x11-misc/xneur/Manifest | 1 - x11-misc/xneur/files/0.15.0-select-gtk.patch | 48 -------- .../files/xneur-no-ldflags-in-pkgconfig.patch | 9 -- x11-misc/xneur/metadata.xml | 11 -- x11-misc/xneur/xneur-0.15.0.ebuild | 114 ------------------ 10 files changed, 278 deletions(-) delete mode 100644 x11-misc/gxneur/Manifest delete mode 100644 x11-misc/gxneur/gxneur-0.15.0.ebuild delete mode 100644 x11-misc/gxneur/metadata.xml delete mode 100644 x11-misc/qxneur/metadata.xml delete mode 100644 x11-misc/qxneur/qxneur-9999.ebuild delete mode 100644 x11-misc/xneur/Manifest delete mode 100644 x11-misc/xneur/files/0.15.0-select-gtk.patch delete mode 100644 x11-misc/xneur/files/xneur-no-ldflags-in-pkgconfig.patch delete mode 100644 x11-misc/xneur/metadata.xml delete mode 100644 x11-misc/xneur/xneur-0.15.0.ebuild diff --git a/x11-misc/gxneur/Manifest b/x11-misc/gxneur/Manifest deleted file mode 100644 index 8e1b504..0000000 --- a/x11-misc/gxneur/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST gxneur-0.15.0.tar.bz2 682903 SHA256 4fda25f0b3f90d6b76aa731bcc1768c606af1cbdba59e82400baa83d2ea9866d diff --git a/x11-misc/gxneur/gxneur-0.15.0.ebuild b/x11-misc/gxneur/gxneur-0.15.0.ebuild deleted file mode 100644 index 59c8f95..0000000 --- a/x11-misc/gxneur/gxneur-0.15.0.ebuild +++ /dev/null @@ -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 -} diff --git a/x11-misc/gxneur/metadata.xml b/x11-misc/gxneur/metadata.xml deleted file mode 100644 index a97d85d..0000000 --- a/x11-misc/gxneur/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - -enables to keep configuration (in GConf) - - - diff --git a/x11-misc/qxneur/metadata.xml b/x11-misc/qxneur/metadata.xml deleted file mode 100644 index bcbb7e9..0000000 --- a/x11-misc/qxneur/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - qxneur is a Qt4 frontend to X Neural Switcher - - - diff --git a/x11-misc/qxneur/qxneur-9999.ebuild b/x11-misc/qxneur/qxneur-9999.ebuild deleted file mode 100644 index 0e28973..0000000 --- a/x11-misc/qxneur/qxneur-9999.ebuild +++ /dev/null @@ -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}" -} diff --git a/x11-misc/xneur/Manifest b/x11-misc/xneur/Manifest deleted file mode 100644 index 8c88dd4..0000000 --- a/x11-misc/xneur/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST xneur-0.15.0.tar.bz2 1136568 SHA256 ebedf81ac2c8510d60e235ca66c7ed73c306b22b5b3164981a628950b5cb3e70 diff --git a/x11-misc/xneur/files/0.15.0-select-gtk.patch b/x11-misc/xneur/files/0.15.0-select-gtk.patch deleted file mode 100644 index 0beed7d..0000000 --- a/x11-misc/xneur/files/0.15.0-select-gtk.patch +++ /dev/null @@ -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 < - - - - Use aplay from media-sound/alsa-utils for - playing sounds - Use gtk3 instead of gtk2 - Enable keylogger support (logs all text into html; - x11-misc/gxneur allows to view this text) - - diff --git a/x11-misc/xneur/xneur-0.15.0.ebuild b/x11-misc/xneur/xneur-0.15.0.ebuild deleted file mode 100644 index 0c38316..0000000 --- a/x11-misc/xneur/xneur-0.15.0.ebuild +++ /dev/null @@ -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." -}