summaryrefslogtreecommitdiffstats
path: root/app-i18n/gtk1-utf8/gtk1-utf8-1.2.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'app-i18n/gtk1-utf8/gtk1-utf8-1.2.ebuild')
-rw-r--r--app-i18n/gtk1-utf8/gtk1-utf8-1.2.ebuild40
1 files changed, 0 insertions, 40 deletions
diff --git a/app-i18n/gtk1-utf8/gtk1-utf8-1.2.ebuild b/app-i18n/gtk1-utf8/gtk1-utf8-1.2.ebuild
deleted file mode 100644
index 69c4c97..0000000
--- a/app-i18n/gtk1-utf8/gtk1-utf8-1.2.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-inherit eutils
-
-DESCRIPTION="Fix for GTK1+ && ru_RU.UTF8"
-HOMEPAGE="http://wiki.fantoo.ru/index.php/HOWTO_GTK1_with_UTF8"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86 amd64"
-
-RDEPEND=">=x11-libs/gtk+-1.2.10-r11 x11-base/xorg-x11 media-fonts/terminus-font"
-DEPEND="${RDEPEND}"
-
-src_install() {
- dodir /usr/share/X11/locale/gtk1.UTF-8
- insinto /usr/share/X11/locale/gtk1.UTF-8/
- doins ${FILESDIR}/XLC_LOCALE
- doins ${FILESDIR}/XI18N_OBJS
- doins ${FILESDIR}/Compose
-
- insinto /etc/gtk
- doins ${FILESDIR}/gtkrc.ru_RU.utf-8
-
- einfo "Please, read documentation here"
- einfo "http://wiki.fantoo.ru/index.php/HOWTO_GTK1_with_UTF8"
-}
-
-pkg_postinst() {
- perl -pi -e 's|en_US.UTF-8/Compose\s+ru_RU.UTF-8|gtk1.UTF-8/Compose ru_RU.UTF-8|' /usr/share/X11/locale/compose.dir
- perl -pi -e 's|en_US.UTF-8/Compose:\s+ru_RU.UTF-8|gtk1.UTF-8/Compose: ru_RU.UTF-8|' /usr/share/X11/locale/compose.dir
- perl -pi -e 's|en_US.UTF-8/XLC_LOCALE\s+ru_RU.UTF-8|gtk1.UTF-8/XLC_LOCALE ru_RU.UTF-8|' /usr/share/X11/locale/locale.dir
- perl -pi -e 's|en_US.UTF-8/XLC_LOCALE:\s+ru_RU.UTF-8|gtk1.UTF-8/XLC_LOCALE: ru_RU.UTF-8|' /usr/share/X11/locale/locale.dir
- perl -pi -e 's|ru_RU.UTF-8/Compose\s+ru_RU.UTF-8|gtk1.UTF-8/Compose ru_RU.UTF-8|' /usr/share/X11/locale/compose.dir
- perl -pi -e 's|ru_RU.UTF-8/Compose:\s+ru_RU.UTF-8|gtk1.UTF-8/Compose: ru_RU.UTF-8|' /usr/share/X11/locale/compose.dir
- perl -pi -e 's|ru_RU.UTF-8/XLC_LOCALE\s+ru_RU.UTF-8|gtk1.UTF-8/XLC_LOCALE ru_RU.UTF-8|' /usr/share/X11/locale/locale.dir
- perl -pi -e 's|ru_RU.UTF-8/XLC_LOCALE:\s+ru_RU.UTF-8|gtk1.UTF-8/XLC_LOCALE: ru_RU.UTF-8|' /usr/share/X11/locale/locale.dir
-}