Gentoo Archives: gentoo-commits

From: Mikle Kolyada <zlogene@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-plugins/wmdf/, x11-plugins/wmdf/files/
Date: Fri, 05 Jan 2018 22:37:35
Message-Id: 1515191846.7febdafde0f29ac7a4f946b3bc8357de37e3ccaf.zlogene@gentoo
1 commit: 7febdafde0f29ac7a4f946b3bc8357de37e3ccaf
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 5 22:36:27 2018 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 5 22:37:26 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7febdafd
7
8 x11-plugins/wmdf: remove last rited package (bug #639914)
9
10 x11-plugins/wmdf/Manifest | 1 -
11 x11-plugins/wmdf/files/wmdf_cmd_line_args.patch | 11 -------
12 x11-plugins/wmdf/files/wmdf_sys-fs.patch | 42 -------------------------
13 x11-plugins/wmdf/metadata.xml | 8 -----
14 x11-plugins/wmdf/wmdf-0.1.6-r1.ebuild | 36 ---------------------
15 5 files changed, 98 deletions(-)
16
17 diff --git a/x11-plugins/wmdf/Manifest b/x11-plugins/wmdf/Manifest
18 deleted file mode 100644
19 index dcfc343c5c9..00000000000
20 --- a/x11-plugins/wmdf/Manifest
21 +++ /dev/null
22 @@ -1 +0,0 @@
23 -DIST wmdf-0.1.6.tar.gz 119388 BLAKE2B 8df35c6fb9625f6a204107e68f71aded4411856a880b599fb97b68b16f1ca86e62eca80f6350078d7f566f6669642d870c9686f57229dd171d980ebff63f4034 SHA512 5b732f035862493dbc37608389f1c9ec0d5ec32de30650ca444ecf6e847b899aaa7a3f8153d11dbd66ac5e08c24b7d946819a3b48c29b8a3b03651e8c5f8b46d
24
25 diff --git a/x11-plugins/wmdf/files/wmdf_cmd_line_args.patch b/x11-plugins/wmdf/files/wmdf_cmd_line_args.patch
26 deleted file mode 100644
27 index 5c506d47d21..00000000000
28 --- a/x11-plugins/wmdf/files/wmdf_cmd_line_args.patch
29 +++ /dev/null
30 @@ -1,11 +0,0 @@
31 ---- wmdf.c 2005-07-06 10:05:19.000000000 +0200
32 -+++ wmdf.c.new 2005-07-06 10:06:24.000000000 +0200
33 -@@ -986,8 +986,6 @@
34 - " -i, --interval <number> number of secs between updates (1 is default)\n"
35 - " -h, --help show this help text and exit\n"
36 - " -v, --version show program version and exit\n"
37 -- " -w, --windowed run the application in windowed mode\n"
38 -- " -bw, --broken-wm activate broken window manager fix\n"
39 - " -at, --alarm_threshold set the disk usage percent to sound alarm at (95 is default)\n",
40 - prog, prog);
41 - /* OPTIONS SUPP :
42
43 diff --git a/x11-plugins/wmdf/files/wmdf_sys-fs.patch b/x11-plugins/wmdf/files/wmdf_sys-fs.patch
44 deleted file mode 100644
45 index eefa3f1301c..00000000000
46 --- a/x11-plugins/wmdf/files/wmdf_sys-fs.patch
47 +++ /dev/null
48 @@ -1,42 +0,0 @@
49 ---- wmdf.c.orig 2005-07-06 10:03:10.000000000 +0200
50 -+++ wmdf.c 2005-07-06 10:05:19.000000000 +0200
51 -@@ -332,9 +332,10 @@
52 - FILE *fp,*fd;
53 - char mountpoint[255], dummy[255],devnme[255],fstype[255],options[255];
54 - char s[255];
55 --
56 -+ char *ref[] ={"none","proc","sysfs","usbfs","udev","devpts"};
57 - unsigned int rio = 0,wio = 0,temprio = 0,tempwio = 0;
58 - int i = 0;
59 -+ int j=0;
60 - int pos = 0;
61 - int x;
62 -
63 -@@ -342,13 +343,20 @@
64 -
65 - if((fp = fopen("/etc/mtab","r")) != NULL) {
66 -
67 -- while(!feof(fp)) {
68 -- fscanf(fp,"%s %s %s %s %s %s\n",devnme,mountpoint,fstype,options,dummy,dummy);
69 -- if((x = strcmp("none",devnme)) != 0) {
70 -- add_disk(&cur_disk_infos,mountpoint,devnme,i);
71 -- i++;
72 -- }
73 -- }
74 -+ while(!feof(fp)) {
75 -+ x=0;
76 -+ fscanf(fp,"%s %s %s %s %s %s\n",devnme,mountpoint,fstype,options,dummy,dummy);
77 -+ for (j=0;j<6;j++){
78 -+ if(strcmp(ref[j],devnme)==0) {
79 -+ x=1;
80 -+ break;
81 -+ }
82 -+ }
83 -+ if(x==0) {
84 -+ add_disk(&cur_disk_infos,mountpoint,devnme,i);
85 -+ i++;
86 -+ }
87 -+ }
88 - } else {
89 - fprintf(stderr,"Error opening /etc/mtab\n");
90 - return;
91
92 diff --git a/x11-plugins/wmdf/metadata.xml b/x11-plugins/wmdf/metadata.xml
93 deleted file mode 100644
94 index 7d273a80ff6..00000000000
95 --- a/x11-plugins/wmdf/metadata.xml
96 +++ /dev/null
97 @@ -1,8 +0,0 @@
98 -<?xml version="1.0" encoding="UTF-8"?>
99 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
100 -<pkgmetadata>
101 - <maintainer type="person">
102 - <email>voyageur@g.o</email>
103 - <name>Bernard Cafarelli</name>
104 - </maintainer>
105 -</pkgmetadata>
106
107 diff --git a/x11-plugins/wmdf/wmdf-0.1.6-r1.ebuild b/x11-plugins/wmdf/wmdf-0.1.6-r1.ebuild
108 deleted file mode 100644
109 index ac0689e0e3f..00000000000
110 --- a/x11-plugins/wmdf/wmdf-0.1.6-r1.ebuild
111 +++ /dev/null
112 @@ -1,36 +0,0 @@
113 -# Copyright 1999-2014 Gentoo Foundation
114 -# Distributed under the terms of the GNU General Public License v2
115 -
116 -inherit eutils
117 -
118 -DESCRIPTION="An app to monitor disk space on partitions"
119 -SRC_URI="http://dockapps.windowmaker.org/download.php/id/359/${P}.tar.gz"
120 -HOMEPAGE="http://dockapps.windowmaker.org/file.php/id/175"
121 -
122 -RDEPEND="x11-libs/libX11
123 - x11-libs/libXext
124 - x11-libs/libXt
125 - x11-libs/libXpm"
126 -DEPEND="${RDEPEND}
127 - x11-proto/xextproto"
128 -
129 -LICENSE="GPL-2"
130 -SLOT="0"
131 -KEYWORDS="amd64 ppc ppc64 sparc x86 ~x86-linux"
132 -IUSE=""
133 -
134 -src_unpack() {
135 - unpack ${A}
136 - cd "${S}"/src
137 -
138 - # Remove special filesystem entries, see bug #97856
139 - epatch "${FILESDIR}"/wmdf_sys-fs.patch
140 -
141 - # Remove non-implemented command line args from 'wmdf -h' listing
142 - epatch "${FILESDIR}"/wmdf_cmd_line_args.patch
143 -}
144 -
145 -src_install() {
146 - emake DESTDIR="${D}" install || die "Install failed"
147 - dodoc README AUTHORS ChangeLog NEWS THANKS TODO
148 -}