diff options
Diffstat (limited to 'x11-terms/aterm')
-rw-r--r-- | x11-terms/aterm/Manifest | 8 | ||||
-rw-r--r-- | x11-terms/aterm/aterm-1.0.1-r6.ebuild | 92 | ||||
-rw-r--r-- | x11-terms/aterm/files/aterm-1.0.1-configure-clang16.patch | 23 | ||||
-rw-r--r-- | x11-terms/aterm/files/aterm-1.0.1-deadkeys.patch | 35 | ||||
-rw-r--r-- | x11-terms/aterm/files/aterm-1.0.1-display-security-issue.patch | 24 | ||||
-rw-r--r-- | x11-terms/aterm/files/aterm-1.0.1-dpy.patch | 28 | ||||
-rw-r--r-- | x11-terms/aterm/files/aterm-1.0.1-remove-streams.patch | 36 | ||||
-rw-r--r-- | x11-terms/aterm/metadata.xml | 21 |
8 files changed, 0 insertions, 267 deletions
diff --git a/x11-terms/aterm/Manifest b/x11-terms/aterm/Manifest deleted file mode 100644 index 6a8b6724c46c..000000000000 --- a/x11-terms/aterm/Manifest +++ /dev/null @@ -1,8 +0,0 @@ -AUX aterm-1.0.1-configure-clang16.patch 673 BLAKE2B 6d956c24c68dc3448b8ff5063d4db188511d341043202865f52231391592e6671e2637bffca22503c5981fbdcc59499b358c544359184fc9a97cc0e6ae11c86b SHA512 bab416e55ba9c8f198455a811aeb941cce61c901d94af2229aeadfb9fde0176a3b59435e54fea06f0fad408c65eb5073cd0d1aa1c9d457c85b774af3103fcadf -AUX aterm-1.0.1-deadkeys.patch 1358 BLAKE2B f692e190a33e50877da050cce3e7a3c8ab36c272f3530f0d4df8ff40e7feb255ebd59eeae275bc7344f632111a84c7db86c5ebea07297346dd2feaf8c1865a04 SHA512 58831fbcc38f14f036a759606baed7beadc4d8b7a377e6c6de2d1fcb5a4e0ad06aff4c0d64f189efd26d790c5cc56d631c51797ce8334879997db4f373bd9298 -AUX aterm-1.0.1-display-security-issue.patch 797 BLAKE2B 2f3d4bcc2c7e705106c6c1e81526e7575514e9a83e064158bcc3dc5a554db5f5592c3af2c33eea78864ff0d8d16770dadf1ef20aea52fa131c5c75ace20991d2 SHA512 23e088f188b2d454f5a3c1f863439426c80524f71c1d8484e451f301aa7b4007ba54988a86b4fe49fc8f3401e0af7ff9b725c5d3e8c08ba2eef007b7ada13e4d -AUX aterm-1.0.1-dpy.patch 848 BLAKE2B 27325ce9a768ad44ab4d6e875e8b2c85c5e1cb419e4578d14a8bd960c754a5a3cce4646dc40e266f4e32a4fdffa2cddb395fd0af404405ac75d9578f61f8e061 SHA512 5d4040cf5c5933e91348531a271cf9687387a740312b12f5185f41877e91f58a0c216e5ad67be19bf47607b23eb9e1b31ca577ceed2a0239a01118073716c2bc -AUX aterm-1.0.1-remove-streams.patch 1108 BLAKE2B df7ee9b3409127ab82dc110035baa2b91f4d785874febb615d6d864bc4e5561b371707c7acc25096f59a646468b83a0cba27d2270f57ab80564dcc8b541b50e2 SHA512 d0ee1e6edee1e4b936b4179d9673e78f7bc70266f6d576d88ae76c9e87f4ae939baeaf0d62ba2b19cb1195cc3f4e1e111608ed493d56de4531ffb11257d2967d -DIST aterm-1.0.1.tar.bz2 276810 BLAKE2B 05d8e70caf20bfe2170ffcea2231b6a1bca0ff3414867bb9e48785e4822112a82868793c0b25f7111545b835aff61852f78461166a574288bc238146226be745 SHA512 05c78590bba55d892d9f7add384e4ae8d56197dbcd9caff2be4a52d5c162e767a464359ba806fc95961d8035575a2b4a962fc35cfa44f95025b477fa3e15e56b -EBUILD aterm-1.0.1-r6.ebuild 2004 BLAKE2B 85c510c37ca300f77c93b6d5b15545f9748e0769ca1ac999aa8fa98037bb0f61cd2e3ead6a2621dc9c0a1e534501e32d755d333412bf64009172625e035e7206 SHA512 2ecec917996c8b817956bd605b8adbc36c19bfc85fb065f981fffb25b782c12b337db014ee4fd3f1f87a79fce0d485a1d31036c89780d021258e1bde5a215442 -MISC metadata.xml 658 BLAKE2B 30e6dc08c1f0c00969cc695bcec0cda2d86b5d3b0a0ce11885c4405fa2e6fde85ce66b5c6558afa7e0515d52bac105e472874352732d0eab7d24eab11e0d4832 SHA512 3bf1d07d70812b6432cfde5815d4566e5d755d8bcb30accb3fe7fccfd72d524cc6542f89ec0a3ee4cfba05db9f5f42ad4edce3812bcf9521f0a2871450cb9830 diff --git a/x11-terms/aterm/aterm-1.0.1-r6.ebuild b/x11-terms/aterm/aterm-1.0.1-r6.ebuild deleted file mode 100644 index d50bf3737faa..000000000000 --- a/x11-terms/aterm/aterm-1.0.1-r6.ebuild +++ /dev/null @@ -1,92 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools - -DESCRIPTION="rxvt compatible terminal emulator with transparency support" -HOMEPAGE="http://aterm.sourceforge.net" -SRC_URI="ftp://ftp.afterstep.org/apps/${PN}/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64" -IUSE="background cjk xgetdefault" - -RDEPEND=" - media-libs/libjpeg-turbo:0= - media-libs/libpng:0= - background? ( media-libs/libafterimage ) - x11-libs/libX11 - x11-libs/libXext - x11-libs/libICE -" -DEPEND="${RDEPEND} - x11-base/xorg-proto - x11-libs/libXt -" - -PATCHES=( - # Security bug #219746 - "${FILESDIR}/${P}-display-security-issue.patch" - "${FILESDIR}/${P}-deadkeys.patch" - "${FILESDIR}/${P}-dpy.patch" - "${FILESDIR}/${P}-remove-streams.patch" - "${FILESDIR}/${P}-configure-clang16.patch" -) - -src_prepare() { - default - - # fix pre-stripped files - sed -i -e "/INSTALL_PROGRAM/ s:-s::" autoconf/Make.common.in || die "sed Makefile failed" - - # Clang 16 - sed -i -e 's:configure.in:configure.ac:' Makefile.in || die - cd autoconf || die - mv configure.in configure.ac || die - eautoreconf -} - -src_configure() { - local myconf - - use cjk && myconf="$myconf - --enable-kanji - --enable-thai - --enable-big5" - - case "${CHOST}" in - *-darwin*) myconf="${myconf} --enable-wtmp" ;; - *) myconf="${myconf} --enable-utmp --enable-wtmp" - esac - - econf \ - $(use_enable xgetdefault) \ - $(use_with background afterimage-config "${EPREFIX}"/usr/bin) \ - --with-terminfo="${EPREFIX}"/usr/share/terminfo \ - --enable-transparency \ - --with-x \ - ${myconf} -} - -src_install() { - emake DESTDIR="${D}" install - - fowners root:utmp /usr/bin/aterm - fperms g+s /usr/bin/aterm - - doman doc/aterm.1 - dodoc ChangeLog doc/FAQ doc/README.* - docinto menu - dodoc doc/menu/* -} - -pkg_postinst() { - echo - elog "The transparent background will only work if you have the 'real'" - elog "root wallpaper set. Some tools that might help include:" - elog "wmsetbg (x11-wm/windowmaker), and/or media-gfx/feh." - echo -} diff --git a/x11-terms/aterm/files/aterm-1.0.1-configure-clang16.patch b/x11-terms/aterm/files/aterm-1.0.1-configure-clang16.patch deleted file mode 100644 index 9faf68837d4e..000000000000 --- a/x11-terms/aterm/files/aterm-1.0.1-configure-clang16.patch +++ /dev/null @@ -1,23 +0,0 @@ -Add missing int tpye, and avoid calling the undeclared exit function. -Implicit ints and function declarations are language features removed -in C99 and are likely to become unsupported (by default) in future -compilers. - ---- a/autoconf/configure.in -+++ b/autoconf/configure.in -@@ -615,12 +615,12 @@ - [#define X_LOCALE 1 - #include <X11/Xlocale.h> - #include <X11/Xlib.h> --main() { -+int main() { - char *p; - if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p) --exit (XSupportsLocale() ? 0 : 1); -+return XSupportsLocale() ? 0 : 1; - else --exit (1);} -+return 1;} - ],rxvt_cv_func_xlocale=yes, rxvt_cv_func_xlocale=no, - AC_MSG_WARN([Define NO_XLOCALE in config.h manually]))]) - diff --git a/x11-terms/aterm/files/aterm-1.0.1-deadkeys.patch b/x11-terms/aterm/files/aterm-1.0.1-deadkeys.patch deleted file mode 100644 index 958f40900bcd..000000000000 --- a/x11-terms/aterm/files/aterm-1.0.1-deadkeys.patch +++ /dev/null @@ -1,35 +0,0 @@ ---- aterm-1.0.1~/src/command.c 2006-06-26 20:01:20.000000000 +0200 -+++ aterm-1.0.1/src/command.c 2007-09-26 15:03:19.000000000 +0200 -@@ -1486,19 +1486,21 @@ - numlock_state = (ev->xkey.state & ModNumLockMask); /* numlock toggle */ - PrivMode((!numlock_state), PrivMode_aplKP); - } --#ifdef USE_XIM -+#if defined(USE_XIM) || !defined(NO_XLOCALE) - len = 0; -- if (Input_Context != NULL) { -- Status status_return; -+ if (!XFilterEvent(ev, *(&ev->xkey.window))) { -+ if (Input_Context != NULL) { -+ Status status_return; - -- kbuf[0] = '\0'; -- len = XmbLookupString(Input_Context, &ev->xkey, kbuf, -- sizeof(kbuf), &keysym, -- &status_return); -- } else { -- len = XLookupString(&ev->xkey, kbuf, -- sizeof(kbuf), &keysym, -- &compose); -+ kbuf[0] = '\0'; -+ len = XmbLookupString(Input_Context, &ev->xkey, kbuf, -+ sizeof(kbuf), &keysym, -+ &status_return); -+ } else { -+ len = XLookupString(&ev->xkey, kbuf, -+ sizeof(kbuf), &keysym, -+ &compose); -+ } - } - #else /* USE_XIM */ - len = XLookupString(&ev->xkey, (char *) kbuf, sizeof(kbuf), &keysym, &compose); diff --git a/x11-terms/aterm/files/aterm-1.0.1-display-security-issue.patch b/x11-terms/aterm/files/aterm-1.0.1-display-security-issue.patch deleted file mode 100644 index e44c0b360d21..000000000000 --- a/x11-terms/aterm/files/aterm-1.0.1-display-security-issue.patch +++ /dev/null @@ -1,24 +0,0 @@ ---- aterm-1.0.1/src/main.c 2007-08-01 16:08:29.000000000 +0200 -+++ aterm-1.0.1.new/src/main.c 2008-05-03 14:06:52.000000000 +0200 -@@ -2057,10 +2057,6 @@ - */ - get_options(argc, argv); - -- if( display_name == NULL ) -- if ((display_name = getenv("DISPLAY")) == NULL) -- display_name = ":0"; -- - #ifdef HAVE_AFTERSTEP - #ifdef MyArgs_IS_MACRO - MyArgsPtr = safecalloc(1, sizeof(ASProgArgs) ); -@@ -2102,7 +2098,9 @@ - Xdisplay = XOpenDisplay(display_name); - - if (!Xdisplay) { -- print_error("can't open display %s", display_name); -+ print_error("can't open display %s", display_name?display_name: -+ getenv("DISPLAY")?getenv("DISPLAY"): -+ "as no -d given and DISPLAY not set"); - exit(EXIT_FAILURE); - } - /* changed from _MOTIF_WM_INFO - Vaevictus - gentoo bug #139554 */ diff --git a/x11-terms/aterm/files/aterm-1.0.1-dpy.patch b/x11-terms/aterm/files/aterm-1.0.1-dpy.patch deleted file mode 100644 index fbe9800d2189..000000000000 --- a/x11-terms/aterm/files/aterm-1.0.1-dpy.patch +++ /dev/null @@ -1,28 +0,0 @@ -Resolve build failure. Patch from Fedora. - -Bug: https://bugs.gentoo.org/615836 - -diff -up aterm-1.0.1/src/main.c.orig aterm-1.0.1/src/main.c ---- aterm-1.0.1/src/main.c.orig 2011-02-19 09:12:01.000000000 +0200 -+++ aterm-1.0.1/src/main.c 2011-02-19 09:25:02.000000000 +0200 -@@ -2087,10 +2087,10 @@ main(int argc, char *argv[]) - #endif - - ConnectX ( &Scr, 0 ); -- Xdisplay = dpy ; -- Xscreen = Scr.screen ; -+ Xscreen = Scr.screen ; - asv = Scr.asv ; - -+ Xdisplay = asv->dpy; - Xcmap = asv->colormap; - Xdepth = asv->visual_info.depth; - Xvisual = asv->visual_info.visual; -@@ -2125,7 +2125,6 @@ main(int argc, char *argv[]) - XdisplayHeight = DisplayHeight (Xdisplay, Xscreen); - - #ifdef HAVE_AFTERIMAGE -- dpy = Xdisplay ; - asv = create_asvisual (Xdisplay, Xscreen, Xdepth, NULL); - Xcmap = asv->colormap; - Xdepth = asv->visual_info.depth; diff --git a/x11-terms/aterm/files/aterm-1.0.1-remove-streams.patch b/x11-terms/aterm/files/aterm-1.0.1-remove-streams.patch deleted file mode 100644 index fc9f3f82ba17..000000000000 --- a/x11-terms/aterm/files/aterm-1.0.1-remove-streams.patch +++ /dev/null @@ -1,36 +0,0 @@ -diff -ur aterm-1.0.1-orig/src/command.c aterm-1.0.1/src/command.c ---- aterm-1.0.1-orig/src/command.c 2020-04-01 12:50:59.222929696 -0400 -+++ aterm-1.0.1/src/command.c 2020-04-01 12:49:47.319579199 -0400 -@@ -91,10 +91,13 @@ - - #if defined (__svr4__) || defined (__lnx21__) - # include <sys/resource.h> /* for struct rlimit */ --# include <sys/stropts.h> /* for I_PUSH */ - # define _NEW_TTY_CTRL /* to get proper defines in <termios.h> */ - #endif - -+#if defined (__svr4__) -+# include <sys/stropts.h> /* for I_PUSH */ -+#endif -+ - /*}}} */ - - static unsigned int ModMetaMask, ModNumLockMask; -@@ -672,7 +675,7 @@ - print_error("can't open slave tty %s", ttydev); - exit(EXIT_FAILURE); - } --#if defined (__svr4__) || defined (__lnx21__) -+#if defined (__svr4__) - /* - * Push STREAMS modules: - * ptem: pseudo-terminal hardware emulation module. -@@ -682,6 +685,8 @@ - ioctl(fd, I_PUSH, "ptem"); - ioctl(fd, I_PUSH, "ldterm"); - ioctl(fd, I_PUSH, "ttcompat"); -+#elif defined (__lnx21__) -+ /* do nothing */ - #else /* __svr4__ */ - { - /* change ownership of tty to real uid and real group */ diff --git a/x11-terms/aterm/metadata.xml b/x11-terms/aterm/metadata.xml deleted file mode 100644 index c5763c304f08..000000000000 --- a/x11-terms/aterm/metadata.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person" proxied="yes"> - <email>imirkin@alum.mit.edu</email> - <name>Ilia Mirkin</name> - </maintainer> - <maintainer type="person"> - <email>mattst88@gentoo.org</email> - <name>Matt Turner</name> - </maintainer> - <use> - <flag name="background">Enable background image support via - <pkg>media-libs/libafterimage</pkg></flag> - <flag name="xgetdefault">Enable resources via X instead of aterm small - version</flag> - </use> - <upstream> - <remote-id type="sourceforge">aterm</remote-id> - </upstream> -</pkgmetadata> |