summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <dberkholz@gentoo.org>2008-01-31 03:23:38 +0000
committerDonnie Berkholz <dberkholz@gentoo.org>2008-01-31 03:23:38 +0000
commitb1cc76094a56b8958bb461cf07afd05369825b92 (patch)
tree66436f14f6cebcddfc107a912a4ed5d8f79254b7 /x11-terms
parentBump. (diff)
downloadhistorical-b1cc76094a56b8958bb461cf07afd05369825b92.tar.gz
historical-b1cc76094a56b8958bb461cf07afd05369825b92.tar.bz2
historical-b1cc76094a56b8958bb461cf07afd05369825b92.zip
Clean up.
Package-Manager: portage-2.1.4
Diffstat (limited to 'x11-terms')
-rw-r--r--x11-terms/xterm/ChangeLog7
-rw-r--r--x11-terms/xterm/Manifest42
-rw-r--r--x11-terms/xterm/files/digest-xterm-2253
-rw-r--r--x11-terms/xterm/files/digest-xterm-2283
-rw-r--r--x11-terms/xterm/files/digest-xterm-2313
-rw-r--r--x11-terms/xterm/files/xterm-app-defaults-ref.patch11
-rw-r--r--x11-terms/xterm/xterm-225.ebuild93
-rw-r--r--x11-terms/xterm/xterm-228.ebuild93
-rw-r--r--x11-terms/xterm/xterm-231.ebuild93
9 files changed, 13 insertions, 335 deletions
diff --git a/x11-terms/xterm/ChangeLog b/x11-terms/xterm/ChangeLog
index 674d52699cbb..7aa6b4f201ec 100644
--- a/x11-terms/xterm/ChangeLog
+++ b/x11-terms/xterm/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-terms/xterm
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-terms/xterm/ChangeLog,v 1.224 2008/01/31 03:21:28 dberkholz Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-terms/xterm/ChangeLog,v 1.225 2008/01/31 03:23:38 dberkholz Exp $
+
+ 31 Jan 2008; Donnie Berkholz <dberkholz@gentoo.org>;
+ -files/xterm-app-defaults-ref.patch, -xterm-225.ebuild, -xterm-228.ebuild,
+ -xterm-231.ebuild:
+ Clean up.
*xterm-232 (31 Jan 2008)
diff --git a/x11-terms/xterm/Manifest b/x11-terms/xterm/Manifest
index 3dc47ffed18f..fa3468a33f97 100644
--- a/x11-terms/xterm/Manifest
+++ b/x11-terms/xterm/Manifest
@@ -1,62 +1,34 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-AUX xterm-app-defaults-ref.patch 572 RMD160 c8f9acef7113e9e1ffa2987d51f9d03f50658116 SHA1 d80445dccc4a52bc22d118787929db937417ce50 SHA256 41616cb3a3dd687b9c5e1e60ff0e5ebfc6a116f3e0de89c86705235ecfc6203f
-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-225.tgz 821717 RMD160 ceba9372d85ef1a74f3a2ebeb37199bc80949006 SHA1 55598c979da15fe219ddd07bfdd15eb08460026b SHA256 d21ca1b0c9f47da42944b1d1c06f50c7f8ac541cd6047edacfc5837e331af47e
-DIST xterm-228.tgz 841482 RMD160 476e154ae349d72ce194d808c9398f83d6e57c6e SHA1 dcb0cd8adb43cd532027adb249040a389e3635ba SHA256 221b6f533e888a616cc7aad6734db180c0e1b19382f1af03b4876f89e3d74f2b
DIST xterm-229.tgz 841542 RMD160 9ff9bd32536817cbb2498a172459428d417f1fa3 SHA1 483fef795ebee83c513f9a72373d9d16366163d0 SHA256 88b549271bd950f597e3c6faed63c8473ea1ae73d1448c3e51b2ad1f6c2988f1
-DIST xterm-231.tgz 850863 RMD160 b2c2d232623334e10ea7993c2396ac0c5db113bf SHA1 ad1e84307e00553cff1821a8d8e57f1fd3f72635 SHA256 598b2595826f823f78e6eff9d46e905927634d8a36b435d36b504ddca62d9f62
DIST xterm-232.tgz 853200 RMD160 d43b6cf384f3d1edaf15d158a0ce0853409ec9f6 SHA1 b3085cebc41399c8ce20fe0ba373d5ea4fdcb847 SHA256 ef2dcad2f3045ab49f130f7bc6621beb15b725bb9c3263c620af2240c45e29f4
-EBUILD xterm-225.ebuild 2663 RMD160 03817e2be1b2abb0f4c63996f0a98ec58a82168e SHA1 b6109cc7176f836e0a241ab0d306e2d5f4da9f28 SHA256 9000147906517edb219f37e6ddccf83e190045cb9ff4d9910b9f5b54a4900f42
-MD5 28b1791092575bece1e8d6a4fb5a85bb xterm-225.ebuild 2663
-RMD160 03817e2be1b2abb0f4c63996f0a98ec58a82168e xterm-225.ebuild 2663
-SHA256 9000147906517edb219f37e6ddccf83e190045cb9ff4d9910b9f5b54a4900f42 xterm-225.ebuild 2663
-EBUILD xterm-228.ebuild 2667 RMD160 d2d4e3fdd1c3f4c505f1bf4ea0333b9a028009bf SHA1 c644eb4d3d3cbe4e573f7d409642d19bb07c2160 SHA256 8777c4ba78dc864c605700187e36578ee748b892bb6fcda89976b271344d467d
-MD5 4ca300f1810b31627e5fb60cba37df84 xterm-228.ebuild 2667
-RMD160 d2d4e3fdd1c3f4c505f1bf4ea0333b9a028009bf xterm-228.ebuild 2667
-SHA256 8777c4ba78dc864c605700187e36578ee748b892bb6fcda89976b271344d467d xterm-228.ebuild 2667
EBUILD xterm-229.ebuild 2660 RMD160 14de1075048170f93a3273508ec25368437ae7e2 SHA1 79df891b13747660dcd902b926084b1fd2ece1a1 SHA256 36a751dbe0276a14230d3af5d3c7a0de2287ccfb23b57a710c18d620d9e895ae
MD5 ab6e10a80324f25fb0ac6914812aa6ef xterm-229.ebuild 2660
RMD160 14de1075048170f93a3273508ec25368437ae7e2 xterm-229.ebuild 2660
SHA256 36a751dbe0276a14230d3af5d3c7a0de2287ccfb23b57a710c18d620d9e895ae xterm-229.ebuild 2660
-EBUILD xterm-231.ebuild 2676 RMD160 29ff5a4f7d2d85213e56206c63d124cfa6b97875 SHA1 100207ff3152ce9b9ef4560ca974657781ccf01a SHA256 98ff629dc6de7a68518dbcbfbd810fd17280e91a7e7d13073c71fecfc58bcf2f
-MD5 7ae1eb9eaadd5b1c88347502a9e48e7d xterm-231.ebuild 2676
-RMD160 29ff5a4f7d2d85213e56206c63d124cfa6b97875 xterm-231.ebuild 2676
-SHA256 98ff629dc6de7a68518dbcbfbd810fd17280e91a7e7d13073c71fecfc58bcf2f xterm-231.ebuild 2676
EBUILD xterm-232.ebuild 2676 RMD160 509e8a72bad35f7ca960739b1354bdb388a2f08f SHA1 2a97be7140115f9c45254ae184e7f3473f2edd2e SHA256 59601de851c1ccf8009c257dda624645b69fc72a23843395c1e87c71d797b62d
MD5 89f475fa600489631f68dff31745d8e1 xterm-232.ebuild 2676
RMD160 509e8a72bad35f7ca960739b1354bdb388a2f08f xterm-232.ebuild 2676
SHA256 59601de851c1ccf8009c257dda624645b69fc72a23843395c1e87c71d797b62d xterm-232.ebuild 2676
-MISC ChangeLog 30751 RMD160 7ced5acf4d8f5f0dd1260e0f5f0421b56282ceca SHA1 fa976dc9a97ead965dc23c4e37e0c0311c568487 SHA256 323c30b9f33e7ec7b40104321da40bab36707f214846760a8b987b266981b3c2
-MD5 4d166d42d5e5b1f0e2363feeb51895e3 ChangeLog 30751
-RMD160 7ced5acf4d8f5f0dd1260e0f5f0421b56282ceca ChangeLog 30751
-SHA256 323c30b9f33e7ec7b40104321da40bab36707f214846760a8b987b266981b3c2 ChangeLog 30751
+MISC ChangeLog 30917 RMD160 622fa34a93babcdcce3b30130fd84112a1252252 SHA1 0c8552fa4c3c348eddba45ecb5fb436fefef12e4 SHA256 fae34b71c10c2bb7b57c4ef9fa1785f716e55a56ed9697a93a0c28acda97a9ff
+MD5 082bc5769bd3bb508aa00f5071784576 ChangeLog 30917
+RMD160 622fa34a93babcdcce3b30130fd84112a1252252 ChangeLog 30917
+SHA256 fae34b71c10c2bb7b57c4ef9fa1785f716e55a56ed9697a93a0c28acda97a9ff ChangeLog 30917
MISC metadata.xml 248 RMD160 2a8a00a5290d3070e4c675d0ed6b2b1a402640f9 SHA1 09c56618abc263f3252c2296acfeb806a21b2ec4 SHA256 3d7fdb0eded881245fe8d53688e58d31f54cd914173bb8efa1bc2b9810e8409a
MD5 18edc2146b5acdeb29402e2f25f3bccb metadata.xml 248
RMD160 2a8a00a5290d3070e4c675d0ed6b2b1a402640f9 metadata.xml 248
SHA256 3d7fdb0eded881245fe8d53688e58d31f54cd914173bb8efa1bc2b9810e8409a metadata.xml 248
-MD5 fc38708dd9fac58d8ba31af68059c636 files/digest-xterm-225 220
-RMD160 260dd29cdc9d4b300fbcf2d30693e9e6a570f9a0 files/digest-xterm-225 220
-SHA256 e374de5a4d36dadbc150092e2ff29736318e428da81b9501151b7de4c982a32c files/digest-xterm-225 220
-MD5 7c3fcbf6c28fe192b843d02eaffa903f files/digest-xterm-228 220
-RMD160 06696b82f37b8b04ca32a61c407b2b0a19d5724c files/digest-xterm-228 220
-SHA256 88b711cdef1a4d2cbb9740a3b977b802042b4bd84b955b7e89fbda5a640f80e4 files/digest-xterm-228 220
MD5 566add501a4ed37ce7c64d5f6e68b9ac files/digest-xterm-229 220
RMD160 4a5af2110d7e402d6da961a4e4a2be336a6f4232 files/digest-xterm-229 220
SHA256 1ea21a3aec75b729b3777e351a24ce8cab739c1a2409bf0f3d7e7556e42eae77 files/digest-xterm-229 220
-MD5 09232b002ec8c46ae44cc0bd2ed5a467 files/digest-xterm-231 220
-RMD160 09c2102dff25897a920ea96e4c4a4848e056f94b files/digest-xterm-231 220
-SHA256 6a303896d5e8a8acc2e1a480f7c56f3f6a13efcc722d3e1add9a56b628c85802 files/digest-xterm-231 220
MD5 e157e07143299f27afacf75a39364211 files/digest-xterm-232 220
RMD160 a32aa9eaede0df387bbd2100b9c946873fb251b0 files/digest-xterm-232 220
SHA256 35a88fe156551d8ea778309d856a6bc9a5e97a6a4f3d33ddda965d14956f6c7f files/digest-xterm-232 220
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
-iD8DBQFHoT7BXVaO67S1rtsRAqEXAJ92vUuGmReOqcerYx+WLEQBpl/oWwCgimQ1
-TzS49RxegwiMpXhkepaHWoA=
-=Rlhk
+iD8DBQFHoT9BXVaO67S1rtsRAuvkAKClJhFK2RORpqcuSCQhdyWZJ7B59QCgxqAT
+g9K7ndKB9Z+bXXhu3odTVlM=
+=dX/N
-----END PGP SIGNATURE-----
diff --git a/x11-terms/xterm/files/digest-xterm-225 b/x11-terms/xterm/files/digest-xterm-225
deleted file mode 100644
index e5c9416a702c..000000000000
--- a/x11-terms/xterm/files/digest-xterm-225
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 dbd31341a9ccb982647416e8d27b0f00 xterm-225.tgz 821717
-RMD160 ceba9372d85ef1a74f3a2ebeb37199bc80949006 xterm-225.tgz 821717
-SHA256 d21ca1b0c9f47da42944b1d1c06f50c7f8ac541cd6047edacfc5837e331af47e xterm-225.tgz 821717
diff --git a/x11-terms/xterm/files/digest-xterm-228 b/x11-terms/xterm/files/digest-xterm-228
deleted file mode 100644
index 214aab173d43..000000000000
--- a/x11-terms/xterm/files/digest-xterm-228
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 35e0b1bfc9351519b3705d102cf24241 xterm-228.tgz 841482
-RMD160 476e154ae349d72ce194d808c9398f83d6e57c6e xterm-228.tgz 841482
-SHA256 221b6f533e888a616cc7aad6734db180c0e1b19382f1af03b4876f89e3d74f2b xterm-228.tgz 841482
diff --git a/x11-terms/xterm/files/digest-xterm-231 b/x11-terms/xterm/files/digest-xterm-231
deleted file mode 100644
index 523b73837ece..000000000000
--- a/x11-terms/xterm/files/digest-xterm-231
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 b767d702e1464e16802b90c2187252c6 xterm-231.tgz 850863
-RMD160 b2c2d232623334e10ea7993c2396ac0c5db113bf xterm-231.tgz 850863
-SHA256 598b2595826f823f78e6eff9d46e905927634d8a36b435d36b504ddca62d9f62 xterm-231.tgz 850863
diff --git a/x11-terms/xterm/files/xterm-app-defaults-ref.patch b/x11-terms/xterm/files/xterm-app-defaults-ref.patch
deleted file mode 100644
index 423bdb8b2044..000000000000
--- a/x11-terms/xterm/files/xterm-app-defaults-ref.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile.in.old 2006-05-10 07:18:24.000000000 +0200
-+++ Makefile.in 2006-05-10 07:18:56.000000000 +0200
-@@ -168,7 +168,7 @@
- install \
- install-man \
- install-full :: $(MANDIR)
-- $(SHELL) $(srcdir)/minstall.sh "$(INSTALL_DATA)" $(srcdir)/xterm.man $(MANDIR)/$(actual_xterm).$(manext) $(APPSDIR)
-+ $(SHELL) $(srcdir)/minstall.sh "$(INSTALL_DATA)" $(srcdir)/xterm.man $(MANDIR)/$(actual_xterm).$(manext) $(appsdir)
- $(SHELL) $(srcdir)/minstall.sh "$(INSTALL_DATA)" $(srcdir)/resize.man $(MANDIR)/$(actual_resize).$(manext) $(APPSDIR)
-
- @no_appsdir@install \
diff --git a/x11-terms/xterm/xterm-225.ebuild b/x11-terms/xterm/xterm-225.ebuild
deleted file mode 100644
index 5c1d14c088de..000000000000
--- a/x11-terms/xterm/xterm-225.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-terms/xterm/xterm-225.ebuild,v 1.10 2007/11/09 21:30:11 seemant 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
- x11-apps/xmessage
- unicode? ( x11-apps/luit )
- Xaw3d? ( x11-libs/Xaw3d )
- sys-libs/libutempter"
-DEPEND="${RDEPEND}
- x11-proto/xproto"
-
-pkg_setup() {
- DEFAULTS_DIR="/usr/share/X11/app-defaults"
-}
-
-src_compile() {
- filter-flags "-fstack-protector"
- replace-flags "-Os" "-O2" # work around gcc-4.1.1-r[01] bugs
-
- econf --libdir=/etc \
- --with-x \
- --with-utempter \
- --disable-setuid \
- --disable-full-tgetent \
- --disable-imake \
- --disable-narrowproto \
- --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)
-
- emake || die "emake failed."
-}
-
-# Parallel make causes File exists error and dies. Forcing -j1 for now.
-src_install() {
- emake -j1 DESTDIR="${D}" install || die "emake install failed."
- dodoc README{,.i18n} ctlseqs.txt
- dohtml 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-228.ebuild b/x11-terms/xterm/xterm-228.ebuild
deleted file mode 100644
index 348bd5a61c4b..000000000000
--- a/x11-terms/xterm/xterm-228.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-terms/xterm/xterm-228.ebuild,v 1.5 2007/11/09 21:30:11 seemant 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
- x11-apps/xmessage
- unicode? ( x11-apps/luit )
- Xaw3d? ( x11-libs/Xaw3d )
- sys-libs/libutempter"
-DEPEND="${RDEPEND}
- x11-proto/xproto"
-
-pkg_setup() {
- DEFAULTS_DIR="/usr/share/X11/app-defaults"
-}
-
-src_compile() {
- filter-flags "-fstack-protector"
- replace-flags "-Os" "-O2" # work around gcc-4.1.1-r[01] bugs
-
- econf --libdir=/etc \
- --with-x \
- --with-utempter \
- --disable-setuid \
- --disable-full-tgetent \
- --disable-imake \
- --disable-narrowproto \
- --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)
-
- emake || die "emake failed."
-}
-
-# Parallel make causes File exists error and dies. Forcing -j1 for now.
-src_install() {
- emake -j1 DESTDIR="${D}" install || die "emake install failed."
- dodoc README{,.i18n} ctlseqs.txt
- dohtml 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-231.ebuild b/x11-terms/xterm/xterm-231.ebuild
deleted file mode 100644
index 66b2200d40f3..000000000000
--- a/x11-terms/xterm/xterm-231.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-terms/xterm/xterm-231.ebuild,v 1.1 2008/01/11 08:06:45 dberkholz 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
- x11-apps/xmessage
- unicode? ( x11-apps/luit )
- Xaw3d? ( x11-libs/Xaw3d )
- sys-libs/libutempter"
-DEPEND="${RDEPEND}
- x11-proto/xproto"
-
-pkg_setup() {
- DEFAULTS_DIR="/usr/share/X11/app-defaults"
-}
-
-src_compile() {
- filter-flags "-fstack-protector"
- replace-flags "-Os" "-O2" # work around gcc-4.1.1-r[01] bugs
-
- econf --libdir=/etc \
- --with-x \
- --with-utempter \
- --disable-setuid \
- --disable-full-tgetent \
- --disable-imake \
- --disable-narrowproto \
- --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)
-
- emake || die "emake failed."
-}
-
-# Parallel make causes File exists error and dies. Forcing -j1 for now.
-src_install() {
- emake -j1 DESTDIR="${D}" install || die "emake install failed."
- dodoc README{,.i18n} ctlseqs.txt
- dohtml 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
-}