Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/dsx/files/, x11-misc/dsx/, profiles/
Date: Fri, 09 Oct 2020 07:35:29
Message-Id: 1602228894.bdf03aa2b826de2ddd4b030928a3787fdd2e142a.mgorny@gentoo
1 commit: bdf03aa2b826de2ddd4b030928a3787fdd2e142a
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 9 07:31:34 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 9 07:34:54 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdf03aa2
7
8 x11-misc/dsx: Remove last-rited pkg
9
10 Closes: https://bugs.gentoo.org/735514
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 profiles/package.mask | 1 -
14 x11-misc/dsx/dsx-0.1-r1.ebuild | 29 -----------------
15 x11-misc/dsx/files/dsx-0.1 | 72 ------------------------------------------
16 x11-misc/dsx/metadata.xml | 8 -----
17 4 files changed, 110 deletions(-)
18
19 diff --git a/profiles/package.mask b/profiles/package.mask
20 index 894a8822a8a..d8aad565425 100644
21 --- a/profiles/package.mask
22 +++ b/profiles/package.mask
23 @@ -521,7 +521,6 @@ sci-biology/shrimp
24 sci-misc/gato
25 sci-physics/rivet
26 sys-cluster/heartbeat
27 -x11-misc/dsx
28
29 # Arfrever Frehtes Taifersar Arahesis <arfrever.fta@×××××.com> (2020-09-01)
30 # Mismatched version (bug #695022). Masked to force upgrade to 2.0.4_pre20200306162733.
31
32 diff --git a/x11-misc/dsx/dsx-0.1-r1.ebuild b/x11-misc/dsx/dsx-0.1-r1.ebuild
33 deleted file mode 100644
34 index 6b49cac790e..00000000000
35 --- a/x11-misc/dsx/dsx-0.1-r1.ebuild
36 +++ /dev/null
37 @@ -1,29 +0,0 @@
38 -# Copyright 1999-2020 Gentoo Authors
39 -# Distributed under the terms of the GNU General Public License v2
40 -
41 -EAPI=6
42 -
43 -PYTHON_COMPAT=( python2_7 )
44 -
45 -inherit python-single-r1
46 -
47 -DESCRIPTION="Command line selection of your X desktop environment"
48 -HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
49 -SRC_URI=""
50 -
51 -LICENSE="GPL-2"
52 -SLOT="0"
53 -KEYWORDS="~amd64 ppc x86"
54 -IUSE=""
55 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
56 -
57 -DEPEND=""
58 -RDEPEND="
59 - ${PYTHON_DEPS}
60 - x11-apps/xinit"
61 -
62 -S="${WORKDIR}"
63 -
64 -src_install() {
65 - python_newscript "${FILESDIR}/${P}" "${PN}"
66 -}
67
68 diff --git a/x11-misc/dsx/files/dsx-0.1 b/x11-misc/dsx/files/dsx-0.1
69 deleted file mode 100644
70 index d8f5e719292..00000000000
71 --- a/x11-misc/dsx/files/dsx-0.1
72 +++ /dev/null
73 @@ -1,72 +0,0 @@
74 -#!/usr/bin/env python
75 -# dsx is Mandrakesoft's Xtart modified to work with a Gentoo Linux system.
76 -# Gentoo doesn't use a wmsession.d directory, so we're going to accept the
77 -# /etc/X11/Sessions executables as our menu and our command parameters.
78 -# I also tried to increase the robustness of the entry checking and make the
79 -# error messages less condescending.
80 -# The 0 option for "no wm" was removed. I altered it to run option 1 instead.
81 -
82 -### Original copyright / license message from Xtart... ###
83 -# This is an official linux-mandrake extension of the X windowing system for
84 -# the benefit of Declan Moriarty Copyright 2001 by civileme@mandrakesoft all
85 -# rights reserved. Use is hereby granted under the GNU General Publoic
86 -# License version 2 or any future version of said license at the user's option
87 -#
88 -# No Warranty of course.
89 -# This program is designed for those who want to work in concole and
90 -# occasionally boot into window managers or who want to avoid theme
91 -# persistence from one WM to another.
92 -################
93 -import sys
94 -import os
95 -import popen2
96 -import string
97 -import math
98 -def complain():
99 - print 'X initiation aborted on invalid selection.'
100 - sys.exit(0)
101 - return
102 -print
103 -print 'Welcome to the Desktop Selector for X'
104 -print
105 -fspc=os.path.expanduser('~')+'/'
106 -io=popen2.Popen3('ls /etc/X11/Sessions',1)
107 -L=io.fromchild.readlines()
108 -Sessions={}
109 -Sessionkeys=[]
110 -primekey=0
111 -for k in L:
112 - primekey+=1
113 - name=k[:-1]
114 - command='/etc/X11/Sessions/'+k[:-1]
115 - Sessions[primekey]=(name, command)
116 -Sessionkeys=Sessions.keys()
117 -Sessionkeys.sort()
118 -for j in Sessionkeys:
119 - if os.system('[ -x '+Sessions[j][1]+' ]') == 0:
120 - print j, Sessions[j][0]
121 - pass
122 -print
123 -sys.stdin.flush()
124 -s=raw_input('Enter the number of your desired desktop environment [1]: ')
125 -if len(s)==0:
126 - s='1'
127 -if s=='0':
128 - s='1'
129 -for j in range(len(s)):
130 - if string.find(string.digits,s[j]) == -1:
131 - print "'" + s[j] + "' isn't a digit."
132 - complain()
133 -if len(s)>int(math.log10(primekey))+1:
134 - print "That number is too big."
135 - complain()
136 -well=int(s)
137 -wellformed=Sessions.has_key(well)
138 -if wellformed:
139 - os.execvp('xinit',Sessions[well])
140 -else:
141 - print
142 - print 'Your selection was invalid.'
143 - print
144 - complain()
145 -
146
147 diff --git a/x11-misc/dsx/metadata.xml b/x11-misc/dsx/metadata.xml
148 deleted file mode 100644
149 index 49c86a887b6..00000000000
150 --- a/x11-misc/dsx/metadata.xml
151 +++ /dev/null
152 @@ -1,8 +0,0 @@
153 -<?xml version="1.0" encoding="UTF-8"?>
154 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
155 -<pkgmetadata>
156 -<maintainer type="project">
157 - <email>desktop-misc@g.o</email>
158 - <name>Gentoo Desktop Miscellaneous Project</name>
159 -</maintainer>
160 -</pkgmetadata>