diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-10-09 09:31:34 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-10-09 09:34:54 +0200 |
commit | bdf03aa2b826de2ddd4b030928a3787fdd2e142a (patch) | |
tree | 150d291fbda7234a0fdaafebb6b02e699866b7ea /x11-misc | |
parent | sys-cluster/charliecloud: Drop old. (diff) | |
download | gentoo-bdf03aa2b826de2ddd4b030928a3787fdd2e142a.tar.gz gentoo-bdf03aa2b826de2ddd4b030928a3787fdd2e142a.tar.bz2 gentoo-bdf03aa2b826de2ddd4b030928a3787fdd2e142a.zip |
x11-misc/dsx: Remove last-rited pkg
Closes: https://bugs.gentoo.org/735514
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'x11-misc')
-rw-r--r-- | x11-misc/dsx/dsx-0.1-r1.ebuild | 29 | ||||
-rw-r--r-- | x11-misc/dsx/files/dsx-0.1 | 72 | ||||
-rw-r--r-- | x11-misc/dsx/metadata.xml | 8 |
3 files changed, 0 insertions, 109 deletions
diff --git a/x11-misc/dsx/dsx-0.1-r1.ebuild b/x11-misc/dsx/dsx-0.1-r1.ebuild deleted file mode 100644 index 6b49cac790e8..000000000000 --- a/x11-misc/dsx/dsx-0.1-r1.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 ) - -inherit python-single-r1 - -DESCRIPTION="Command line selection of your X desktop environment" -HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage" -SRC_URI="" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ppc x86" -IUSE="" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -DEPEND="" -RDEPEND=" - ${PYTHON_DEPS} - x11-apps/xinit" - -S="${WORKDIR}" - -src_install() { - python_newscript "${FILESDIR}/${P}" "${PN}" -} diff --git a/x11-misc/dsx/files/dsx-0.1 b/x11-misc/dsx/files/dsx-0.1 deleted file mode 100644 index d8f5e7192928..000000000000 --- a/x11-misc/dsx/files/dsx-0.1 +++ /dev/null @@ -1,72 +0,0 @@ -#!/usr/bin/env python -# dsx is Mandrakesoft's Xtart modified to work with a Gentoo Linux system. -# Gentoo doesn't use a wmsession.d directory, so we're going to accept the -# /etc/X11/Sessions executables as our menu and our command parameters. -# I also tried to increase the robustness of the entry checking and make the -# error messages less condescending. -# The 0 option for "no wm" was removed. I altered it to run option 1 instead. - -### Original copyright / license message from Xtart... ### -# This is an official linux-mandrake extension of the X windowing system for -# the benefit of Declan Moriarty Copyright 2001 by civileme@mandrakesoft all -# rights reserved. Use is hereby granted under the GNU General Publoic -# License version 2 or any future version of said license at the user's option -# -# No Warranty of course. -# This program is designed for those who want to work in concole and -# occasionally boot into window managers or who want to avoid theme -# persistence from one WM to another. -################ -import sys -import os -import popen2 -import string -import math -def complain(): - print 'X initiation aborted on invalid selection.' - sys.exit(0) - return -print -print 'Welcome to the Desktop Selector for X' -print -fspc=os.path.expanduser('~')+'/' -io=popen2.Popen3('ls /etc/X11/Sessions',1) -L=io.fromchild.readlines() -Sessions={} -Sessionkeys=[] -primekey=0 -for k in L: - primekey+=1 - name=k[:-1] - command='/etc/X11/Sessions/'+k[:-1] - Sessions[primekey]=(name, command) -Sessionkeys=Sessions.keys() -Sessionkeys.sort() -for j in Sessionkeys: - if os.system('[ -x '+Sessions[j][1]+' ]') == 0: - print j, Sessions[j][0] - pass -print -sys.stdin.flush() -s=raw_input('Enter the number of your desired desktop environment [1]: ') -if len(s)==0: - s='1' -if s=='0': - s='1' -for j in range(len(s)): - if string.find(string.digits,s[j]) == -1: - print "'" + s[j] + "' isn't a digit." - complain() -if len(s)>int(math.log10(primekey))+1: - print "That number is too big." - complain() -well=int(s) -wellformed=Sessions.has_key(well) -if wellformed: - os.execvp('xinit',Sessions[well]) -else: - print - print 'Your selection was invalid.' - print - complain() - diff --git a/x11-misc/dsx/metadata.xml b/x11-misc/dsx/metadata.xml deleted file mode 100644 index 49c86a887b6a..000000000000 --- a/x11-misc/dsx/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="project"> - <email>desktop-misc@gentoo.org</email> - <name>Gentoo Desktop Miscellaneous Project</name> -</maintainer> -</pkgmetadata> |