diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2006-09-05 17:29:53 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2006-09-05 17:29:53 +0000 |
commit | 293c368c0dd1f8bcd9dfcb1234187dab4d880559 (patch) | |
tree | 6cbb91f6010a06900628dfe3ec34bd0c24e74190 /x11-terms/xterm | |
parent | version bump to 219, and cruft removal of some of the older versions -- 216, ... (diff) | |
download | gentoo-2-293c368c0dd1f8bcd9dfcb1234187dab4d880559.tar.gz gentoo-2-293c368c0dd1f8bcd9dfcb1234187dab4d880559.tar.bz2 gentoo-2-293c368c0dd1f8bcd9dfcb1234187dab4d880559.zip |
version bump to 219, and cruft removal of some of the older versions -- 216, for example, is gone without ever hitting stable. 217 or 218 should be stabled soon
(Portage version: 2.1.1_rc1-r4)
(Unsigned Manifest commit)
Diffstat (limited to 'x11-terms/xterm')
-rw-r--r-- | x11-terms/xterm/Manifest | 39 | ||||
-rw-r--r-- | x11-terms/xterm/files/digest-xterm-207-r1 | 3 | ||||
-rw-r--r-- | x11-terms/xterm/files/digest-xterm-215-r1 | 3 | ||||
-rw-r--r-- | x11-terms/xterm/files/digest-xterm-216 | 3 | ||||
-rw-r--r-- | x11-terms/xterm/xterm-207-r1.ebuild | 107 | ||||
-rw-r--r-- | x11-terms/xterm/xterm-215-r1.ebuild | 103 | ||||
-rw-r--r-- | x11-terms/xterm/xterm-216.ebuild | 103 |
7 files changed, 12 insertions, 349 deletions
diff --git a/x11-terms/xterm/Manifest b/x11-terms/xterm/Manifest index 6fc5d9b5e455..7261e88e843b 100644 --- a/x11-terms/xterm/Manifest +++ b/x11-terms/xterm/Manifest @@ -2,27 +2,14 @@ AUX xterm-app-defaults-ref.patch 572 RMD160 c8f9acef7113e9e1ffa2987d51f9d03f5065 MD5 307a0970129ebdd2044f781e24dd434e files/xterm-app-defaults-ref.patch 572 RMD160 c8f9acef7113e9e1ffa2987d51f9d03f50658116 files/xterm-app-defaults-ref.patch 572 SHA256 41616cb3a3dd687b9c5e1e60ff0e5ebfc6a116f3e0de89c86705235ecfc6203f files/xterm-app-defaults-ref.patch 572 -DIST xterm-207.tgz 745083 RMD160 225aafce1de43212e0cd86da953e99a1a9121a05 SHA1 12a37a18e337315a3526a6a71571aaea94d73ca8 SHA256 652f579171e6e8f73c13ab6b060d2447ae35ebfbd39a6002b7c05a1dfc0f7eb8 DIST xterm-215.tgz 784236 RMD160 458c14aa97503bdac5da3881491de14e2d87f52a SHA1 d2cb4919d3a2bada27c5ff6e32727b9aecb2266a SHA256 4564c646a4a4f56e49e8c8cda1d4aa027e228db2d4bb2a4ad0f055f34373734f -DIST xterm-216.tgz 797600 RMD160 76f38b7f7333dfcdc1d08115e9143f7bd208b95d SHA1 12cb49a8d87d7b27b4faf249f66a0cbb83bb423c SHA256 f47183510e740879db8def0126f329e7845fc22f0f3031d97cc8c543625d3087 DIST xterm-217.tgz 799748 RMD160 2ecea708db38995a13273fb0723a78eaa49fc2b4 SHA1 54662d7531d65ac2cca3dc0cccabe055b74baa9c SHA256 ad11b705b308fc19760a52ef0d99ea3f5ace611b9076bb53ed07a560253310bc DIST xterm-218.tgz 796457 RMD160 8b2cbce07da5d7a46f3aa988fd65d4df688e7e9c SHA1 6b7c6d0efc4230eba154d710cc0293c646dbfb3d SHA256 e84d808b5c34418873f987ecf958f4a8158574adcbf96390ccc72ce2667cd6af -EBUILD xterm-207-r1.ebuild 2818 RMD160 8cb5bd708100c585eceed156c24d83ab502f5bdb SHA1 dd1aa4ad81533c90edc57eff99d818848918f890 SHA256 913e1723bad1d55c00efd9f8ad18a019892bef4c168f66bc36a919fe3958cec3 -MD5 63a61b7a2471d5c02801f89ac54e5315 xterm-207-r1.ebuild 2818 -RMD160 8cb5bd708100c585eceed156c24d83ab502f5bdb xterm-207-r1.ebuild 2818 -SHA256 913e1723bad1d55c00efd9f8ad18a019892bef4c168f66bc36a919fe3958cec3 xterm-207-r1.ebuild 2818 -EBUILD xterm-215-r1.ebuild 2725 RMD160 e0ab243634f1b15e3c9be8c4053d8e2cb2c26bda SHA1 60df07cbbbfdcdd9863f293dd748673cfb3c00b4 SHA256 875d15ffecaf064dee488e3bd7f832cf7b6cda6be0912c632429ce35ddec3e26 -MD5 26928370cd01bc8be19b44144d37b07a xterm-215-r1.ebuild 2725 -RMD160 e0ab243634f1b15e3c9be8c4053d8e2cb2c26bda xterm-215-r1.ebuild 2725 -SHA256 875d15ffecaf064dee488e3bd7f832cf7b6cda6be0912c632429ce35ddec3e26 xterm-215-r1.ebuild 2725 +DIST xterm-219.tgz 801134 RMD160 ac139cff951039d24a407ee9cedec16183262795 SHA1 8db15cd4e8ec34822397caf6678e0cd2d36bf3cb SHA256 8038301ef54d327070ee55984957389d027e8806441f0bf9e63d2103c76806b7 EBUILD xterm-215.ebuild 2406 RMD160 1d2888e02d25dcd9cb1f7bd8ec1cbca82b1706e8 SHA1 be7f75c34b214565160471cd8b443bfcfbc359b2 SHA256 b52c3016d89e2f55e7b020c1e38eac95e3ca3b8f96baa25515afb7280c2526d0 MD5 499ee52ee79c36399d481602126f90ee xterm-215.ebuild 2406 RMD160 1d2888e02d25dcd9cb1f7bd8ec1cbca82b1706e8 xterm-215.ebuild 2406 SHA256 b52c3016d89e2f55e7b020c1e38eac95e3ca3b8f96baa25515afb7280c2526d0 xterm-215.ebuild 2406 -EBUILD xterm-216.ebuild 2722 RMD160 b5e986b05639c09e54e6a25753779148ce79dce6 SHA1 136739793978ec1949ad09d7e91850411da5afc4 SHA256 84d86020627a06a541511d00bc640fd5d5d1d952b28bca8f79ce758cd907580e -MD5 e88a14702e13becf04dc504415a01d11 xterm-216.ebuild 2722 -RMD160 b5e986b05639c09e54e6a25753779148ce79dce6 xterm-216.ebuild 2722 -SHA256 84d86020627a06a541511d00bc640fd5d5d1d952b28bca8f79ce758cd907580e xterm-216.ebuild 2722 EBUILD xterm-217.ebuild 2726 RMD160 d900771a4f07fa21732865f36c22d57c63406568 SHA1 8e304ef3be4ca098c88799e854c07fa6373ac176 SHA256 21f855de465263e3fccf3c02077f71d3efa9d1d8de66940b9db9faf78ee8e3e2 MD5 6dfc5fd2432ae58f06c8fa88433c743a xterm-217.ebuild 2726 RMD160 d900771a4f07fa21732865f36c22d57c63406568 xterm-217.ebuild 2726 @@ -31,29 +18,27 @@ EBUILD xterm-218.ebuild 2726 RMD160 015e596e0827c93aaa11d71b204d7c036ca89f6c SHA MD5 9967b852508602cb56a089343bf37809 xterm-218.ebuild 2726 RMD160 015e596e0827c93aaa11d71b204d7c036ca89f6c xterm-218.ebuild 2726 SHA256 a33509d5a0df48d999c7fd184286500ddb638c2bdb6b8ba5f96b93908475cf01 xterm-218.ebuild 2726 -MISC ChangeLog 22781 RMD160 8ee27c9859def5106bcbd1c1bbfd2ab93c61749a SHA1 af90f3b4827dc2438568eb391af51b248d9ef5b1 SHA256 34fd7a50624b527386f61245e824526fc192522918a2541eb2ee972fbfc7a5a3 -MD5 bddc985bd62fb501a3e53d03b43e5a5e ChangeLog 22781 -RMD160 8ee27c9859def5106bcbd1c1bbfd2ab93c61749a ChangeLog 22781 -SHA256 34fd7a50624b527386f61245e824526fc192522918a2541eb2ee972fbfc7a5a3 ChangeLog 22781 +EBUILD xterm-219.ebuild 2726 RMD160 f370e9dabea5a5f96935dc963ed2021d35db4888 SHA1 d49169bf586f06b4c5d55e36ab83c19716d63a6a SHA256 96d45692de2ab27fa71becd85b929537406bccb73307c846e591462a24249509 +MD5 affac6e1f51f9394f87a23df501a3cd3 xterm-219.ebuild 2726 +RMD160 f370e9dabea5a5f96935dc963ed2021d35db4888 xterm-219.ebuild 2726 +SHA256 96d45692de2ab27fa71becd85b929537406bccb73307c846e591462a24249509 xterm-219.ebuild 2726 +MISC ChangeLog 23111 RMD160 507283d3d2ab611ee93d17eb513a7c639746fff5 SHA1 bd9bbcead6faf02ad408ca2887a7d06d191f1d0d SHA256 d4dc86649c1d7d4ff736f3f517226eabefde4ade81631dcdef03e0e5de8d3e5f +MD5 1e1cfaeb0d7c27e5962db01e81dd6b1c ChangeLog 23111 +RMD160 507283d3d2ab611ee93d17eb513a7c639746fff5 ChangeLog 23111 +SHA256 d4dc86649c1d7d4ff736f3f517226eabefde4ade81631dcdef03e0e5de8d3e5f ChangeLog 23111 MISC metadata.xml 509 RMD160 8260071117978c13f534adbaa2c080d5834420d7 SHA1 9edccd3fe2d180a92790068b5cdde8f47c7c4a3a SHA256 c4cf8fd894af68e5c7249d22885de0dd20b681dc636686d43c3bce7074fdf692 MD5 0f56141a57f7925bd8470488fa51c330 metadata.xml 509 RMD160 8260071117978c13f534adbaa2c080d5834420d7 metadata.xml 509 SHA256 c4cf8fd894af68e5c7249d22885de0dd20b681dc636686d43c3bce7074fdf692 metadata.xml 509 -MD5 f798ace9153b7e69cafb78a3e29bd7d7 files/digest-xterm-207-r1 220 -RMD160 fb6ec0e6c86c9eb3e3313a873f7287532e2c12ea files/digest-xterm-207-r1 220 -SHA256 ffa8ac6ddc7bbf1ee689af54009677c601aa424c852163430af5ea8c63e117a9 files/digest-xterm-207-r1 220 MD5 4cedea1a5eac1efdb432db19adabbe14 files/digest-xterm-215 220 RMD160 4aa5a97ff7d914a01d1a05e37d0791e73046c9e5 files/digest-xterm-215 220 SHA256 7517f175c943e594165cc49555b344e09e52039901f6522cecc530e93edf3fc7 files/digest-xterm-215 220 -MD5 4cedea1a5eac1efdb432db19adabbe14 files/digest-xterm-215-r1 220 -RMD160 4aa5a97ff7d914a01d1a05e37d0791e73046c9e5 files/digest-xterm-215-r1 220 -SHA256 7517f175c943e594165cc49555b344e09e52039901f6522cecc530e93edf3fc7 files/digest-xterm-215-r1 220 -MD5 2b450bccba9379ca389ebf9ba8e2bb6a files/digest-xterm-216 220 -RMD160 0cb923da81ebce22ac10e2e199858bfda7d089d8 files/digest-xterm-216 220 -SHA256 608b5141bace1a909c4329badc6963c1bf66f2b1719e92eb2cdfb4b14f7b3d02 files/digest-xterm-216 220 MD5 01933cb25c4358cb43f31c60d4122ed7 files/digest-xterm-217 220 RMD160 27153febae5bae543c7286eb5ecf2592d5d48db2 files/digest-xterm-217 220 SHA256 0d09396b8b42a65d8fb749e7e7a5da017a1d22b2f319cf7bb9209b5e8479a979 files/digest-xterm-217 220 MD5 7759c0cdf996b013c0b72914396cca27 files/digest-xterm-218 220 RMD160 21f06ceccc2e1482667cba9cb9c1e112ce6b93de files/digest-xterm-218 220 SHA256 4e6bd1cddd65f427697decf9e1c279edc32a7cdd9c94702b0a91dd4d040716f5 files/digest-xterm-218 220 +MD5 14503e8ca0127768d4d0aec4023b8a39 files/digest-xterm-219 220 +RMD160 babe2cceb0e86b258c7b3c4050f0dae99b9ca3be files/digest-xterm-219 220 +SHA256 0d32553b69731691068bcb6fba9816f6fbaae025cb9c97d66793e78dda318436 files/digest-xterm-219 220 diff --git a/x11-terms/xterm/files/digest-xterm-207-r1 b/x11-terms/xterm/files/digest-xterm-207-r1 deleted file mode 100644 index b51bac6a8751..000000000000 --- a/x11-terms/xterm/files/digest-xterm-207-r1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 3de8a3756c284a46a08c6d0308909486 xterm-207.tgz 745083 -RMD160 225aafce1de43212e0cd86da953e99a1a9121a05 xterm-207.tgz 745083 -SHA256 652f579171e6e8f73c13ab6b060d2447ae35ebfbd39a6002b7c05a1dfc0f7eb8 xterm-207.tgz 745083 diff --git a/x11-terms/xterm/files/digest-xterm-215-r1 b/x11-terms/xterm/files/digest-xterm-215-r1 deleted file mode 100644 index d75b4f093f55..000000000000 --- a/x11-terms/xterm/files/digest-xterm-215-r1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 8c2a45d4ca754b2cb019242e26f657eb xterm-215.tgz 784236 -RMD160 458c14aa97503bdac5da3881491de14e2d87f52a xterm-215.tgz 784236 -SHA256 4564c646a4a4f56e49e8c8cda1d4aa027e228db2d4bb2a4ad0f055f34373734f xterm-215.tgz 784236 diff --git a/x11-terms/xterm/files/digest-xterm-216 b/x11-terms/xterm/files/digest-xterm-216 deleted file mode 100644 index 8f46c7ccfad1..000000000000 --- a/x11-terms/xterm/files/digest-xterm-216 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 b59f11e463211bff456e83966a3c14a3 xterm-216.tgz 797600 -RMD160 76f38b7f7333dfcdc1d08115e9143f7bd208b95d xterm-216.tgz 797600 -SHA256 f47183510e740879db8def0126f329e7845fc22f0f3031d97cc8c543625d3087 xterm-216.tgz 797600 diff --git a/x11-terms/xterm/xterm-207-r1.ebuild b/x11-terms/xterm/xterm-207-r1.ebuild deleted file mode 100644 index 6382f4907e12..000000000000 --- a/x11-terms/xterm/xterm-207-r1.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-terms/xterm/xterm-207-r1.ebuild,v 1.1 2006/06/02 15:22:42 seemant Exp $ - -inherit eutils flag-o-matic - -DESCRIPTION="Terminal Emulator for X Windows" -HOMEPAGE="http://dickey.his.com/xterm/" -SRC_URI="ftp://invisible-island.net/${PN}/${P}.tgz" - -LICENSE="X11" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 sh sparc x86" -IUSE="truetype Xaw3d unicode toolbar doc" - -RDEPEND="|| ( ( x11-libs/libX11 - x11-libs/libXrender - x11-libs/libXt - x11-libs/libXmu - x11-libs/libxkbfile - x11-libs/libXft - x11-libs/libXaw ) - virtual/x11 ) - Xaw3d? ( x11-libs/Xaw3d ) - doc? ( sys-apps/groff ) - sys-libs/libutempter" - -DEPEND="${RDEPEND} - || ( x11-proto/xproto virtual/x11 )" - -pkg_setup() { - if has_version ">=x11-base/xorg-x11-7.0.0_rc1"; then - einfo "Found $(best_version x11-base/xorg-x11)." - NEWAPPDEFAULTS=1 - DEFAULTS_DIR="/usr/$(get_libdir)/X11/app-defaults" - else - einfo "Not found xorg-x11 version 7." - NEWAPPDEFAULTS=0 - DEFAULTS_DIR="/etc/X11/app-defaults" - fi -} - - -src_compile() { - - filter-flags "-fstack-protector" - - econf \ - --libdir=/etc \ - --with-x \ - --with-utempter \ - --disable-setuid \ - --disable-full-tgetent \ - --disable-imake \ - --enable-ansi-color \ - --enable-88-color \ - --enable-256-color \ - --enable-broken-osc \ - --enable-broken-st \ - --enable-load-vt-fonts \ - --enable-i18n \ - --enable-wide-chars \ - --enable-doublechars \ - --enable-warnings \ - --enable-tcap-query \ - --enable-logging \ - --enable-dabbrev \ - --disable-narrowproto \ - --with-app-defaults=${DEFAULTS_DIR} \ - `use_enable toolbar` \ - `use_enable truetype freetype` \ - `use_enable unicode luit` `use_enable unicode mini-luit` \ - `use_with Xaw3d` \ - || die - - emake || die "failed to compile xterm" - - if use doc ; then - make ctlseqs.txt || die "failed to make documentation file" - fi -} - -src_install() { - make DESTDIR=${D} install || die - dodoc README* INSTALL* ctlseqs.txt - - # Fix permissions -- it grabs them from live system, and they can - # be suid or sgid like they were in pre-unix98 pty or pre-utempter days, - # respectively (#69510). - # (info from Thomas Dickey) - Donnie Berkholz <spyderous@gentoo.org> - fperms 0755 /usr/bin/xterm - - # restore the navy blue - sed -i "s:blue2$:blue:" ${D}/etc/X11/app-defaults/XTerm-color - - # Fix for bug #91453 at Thomas Dickey's suggestion: - echo "*allowWindowOps: false" >> ${D}/${DEFAULTS_DIR}/XTerm - echo "*allowWindowOps: false" >> ${D}/${DEFAULTS_DIR}/UXTerm - -} - -pkg_preinst() { - # Prevent the terminfo files from being removed. These collide with ncurses - # provided terminfo files. So, now no more package collisions, yay! - touch ${ROOT}/usr/share/terminfo/v/vs100 - touch ${ROOT}/usr/share/terminfo/x/x* -} diff --git a/x11-terms/xterm/xterm-215-r1.ebuild b/x11-terms/xterm/xterm-215-r1.ebuild deleted file mode 100644 index 841c5632ef7a..000000000000 --- a/x11-terms/xterm/xterm-215-r1.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-terms/xterm/xterm-215-r1.ebuild,v 1.1 2006/07/11 10:53:47 exg Exp $ - -inherit flag-o-matic - -DESCRIPTION="Terminal Emulator for X Windows" -HOMEPAGE="http://dickey.his.com/xterm/" -SRC_URI="ftp://invisible-island.net/${PN}/${P}.tgz" - -LICENSE="X11" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" -IUSE="truetype Xaw3d unicode toolbar paste64" - -RDEPEND="|| ( ( x11-libs/libX11 - x11-libs/libXrender - x11-libs/libXt - x11-libs/libXmu - x11-libs/libxkbfile - x11-libs/libXft - x11-libs/libXaw - unicode? ( x11-apps/luit ) ) - virtual/x11 ) - Xaw3d? ( x11-libs/Xaw3d ) - sys-libs/libutempter" - -DEPEND="${RDEPEND} - || ( x11-proto/xproto virtual/x11 )" - -pkg_setup() { - if has_version "x11-libs/libX11"; then - DEFAULTS_DIR="/usr/share/X11/app-defaults" - else - DEFAULTS_DIR="/etc/X11/app-defaults" - fi -} - -src_compile() { - filter-flags "-fstack-protector" - - local myconf="" - - if has_version "x11-libs/libX11"; then - myconf="--disable-narrowproto" - fi - - econf \ - --libdir=/etc \ - --with-x \ - --with-utempter \ - --disable-setuid \ - --disable-full-tgetent \ - --disable-imake \ - --enable-ansi-color \ - --enable-256-color \ - --enable-broken-osc \ - --enable-broken-st \ - --enable-load-vt-fonts \ - --enable-i18n \ - --enable-wide-chars \ - --enable-doublechars \ - --enable-warnings \ - --enable-tcap-query \ - --enable-logging \ - --enable-dabbrev \ - --with-app-defaults=${DEFAULTS_DIR} \ - $(use_enable toolbar) \ - $(use_enable truetype freetype) \ - $(use_enable unicode luit) $(use_enable unicode mini-luit) \ - $(use_with Xaw3d) \ - $(use_enable paste64) \ - ${myconf} \ - || die - - emake || die "failed to compile xterm" -} - -src_install() { - make DESTDIR=${D} install || die - dodoc README{,.i18n} ctlseqs.txt xterm.log.html - - # Fix permissions -- it grabs them from live system, and they can - # be suid or sgid like they were in pre-unix98 pty or pre-utempter days, - # respectively (#69510). - # (info from Thomas Dickey) - Donnie Berkholz <spyderous@gentoo.org> - fperms 0755 /usr/bin/xterm - - # restore the navy blue - sed -i "s:blue2$:blue:" ${D}${DEFAULTS_DIR}/XTerm-color - - # Fix for bug #91453 at Thomas Dickey's suggestion: - echo "*allowWindowOps: false" >> ${D}/${DEFAULTS_DIR}/XTerm - echo "*allowWindowOps: false" >> ${D}/${DEFAULTS_DIR}/UXTerm -} - -pkg_postinst() { - if use paste64 ; then - elog "bracketed paste mode requires the allowWindowOps resource to be true" - elog "which is false by default for security reasons (see bug #91453)." - elog "To be able to use it add 'allowWindowOps: true' to your resources" - fi -} diff --git a/x11-terms/xterm/xterm-216.ebuild b/x11-terms/xterm/xterm-216.ebuild deleted file mode 100644 index e1ae076563ce..000000000000 --- a/x11-terms/xterm/xterm-216.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-terms/xterm/xterm-216.ebuild,v 1.1 2006/08/08 22:50:14 exg Exp $ - -inherit flag-o-matic - -DESCRIPTION="Terminal Emulator for X Windows" -HOMEPAGE="http://dickey.his.com/xterm/" -SRC_URI="ftp://invisible-island.net/${PN}/${P}.tgz" - -LICENSE="X11" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" -IUSE="truetype Xaw3d unicode toolbar paste64" - -RDEPEND="|| ( ( x11-libs/libX11 - x11-libs/libXrender - x11-libs/libXt - x11-libs/libXmu - x11-libs/libxkbfile - x11-libs/libXft - x11-libs/libXaw - unicode? ( x11-apps/luit ) ) - virtual/x11 ) - Xaw3d? ( x11-libs/Xaw3d ) - sys-libs/libutempter" - -DEPEND="${RDEPEND} - || ( x11-proto/xproto virtual/x11 )" - -pkg_setup() { - if has_version "x11-libs/libX11"; then - DEFAULTS_DIR="/usr/share/X11/app-defaults" - else - DEFAULTS_DIR="/etc/X11/app-defaults" - fi -} - -src_compile() { - filter-flags "-fstack-protector" - - local myconf="" - - if has_version "x11-libs/libX11"; then - myconf="--disable-narrowproto" - fi - - econf \ - --libdir=/etc \ - --with-x \ - --with-utempter \ - --disable-setuid \ - --disable-full-tgetent \ - --disable-imake \ - --enable-ansi-color \ - --enable-256-color \ - --enable-broken-osc \ - --enable-broken-st \ - --enable-load-vt-fonts \ - --enable-i18n \ - --enable-wide-chars \ - --enable-doublechars \ - --enable-warnings \ - --enable-tcap-query \ - --enable-logging \ - --enable-dabbrev \ - --with-app-defaults=${DEFAULTS_DIR} \ - $(use_enable toolbar) \ - $(use_enable truetype freetype) \ - $(use_enable unicode luit) $(use_enable unicode mini-luit) \ - $(use_with Xaw3d) \ - $(use_enable paste64) \ - ${myconf} \ - || die - - emake || die "failed to compile xterm" -} - -src_install() { - make DESTDIR=${D} install || die - dodoc README{,.i18n} ctlseqs.txt xterm.log.html - - # Fix permissions -- it grabs them from live system, and they can - # be suid or sgid like they were in pre-unix98 pty or pre-utempter days, - # respectively (#69510). - # (info from Thomas Dickey) - Donnie Berkholz <spyderous@gentoo.org> - fperms 0755 /usr/bin/xterm - - # restore the navy blue - sed -i "s:blue2$:blue:" ${D}${DEFAULTS_DIR}/XTerm-color - - # Fix for bug #91453 at Thomas Dickey's suggestion: - echo "*allowWindowOps: false" >> ${D}/${DEFAULTS_DIR}/XTerm - echo "*allowWindowOps: false" >> ${D}/${DEFAULTS_DIR}/UXTerm -} - -pkg_postinst() { - if use paste64 ; then - elog "bracketed paste mode requires the allowWindowOps resource to be true" - elog "which is false by default for security reasons (see bug #91453)." - elog "To be able to use it add 'allowWindowOps: true' to your resources" - fi -} |