commit:     2f330218de4d979f62d45593588f52248eb3fa61
Author:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 15 12:08:20 2022 +0000
Commit:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Fri Jul 15 12:25:34 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f330218

x11-plugins/wmhdplop: drop 0.9.10

Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>

 x11-plugins/wmhdplop/Manifest                      |  1 -
 .../wmhdplop/files/wmhdplop-0.9.10-sysmacros.patch | 11 ---
 .../wmhdplop/files/wmhdplop-0.9.9-64bit.patch      | 94 ----------------------
 x11-plugins/wmhdplop/wmhdplop-0.9.10.ebuild        | 37 ---------
 4 files changed, 143 deletions(-)

diff --git a/x11-plugins/wmhdplop/Manifest b/x11-plugins/wmhdplop/Manifest
index ff0775b3fe8b..8e39b34be7c2 100644
--- a/x11-plugins/wmhdplop/Manifest
+++ b/x11-plugins/wmhdplop/Manifest
@@ -1,2 +1 @@
-DIST wmhdplop-0.9.10.tar.gz 163491 BLAKE2B 
dd05bcddd4be666e403e7d0ccdbdba9048af6eb15dd72657b657bc4eb8eea1a6a7a78da820f143f6f377949bd9d8df89c5ae129f40374586633f8cdb174b9146
 SHA512 
9bd79ab5c271e2fbd7d415a1ea20eda5412d7657d9ccfd4781a6d42b834107b65e110231718ad686355e76590cd39f556ebfc9b14e7a4048a68d62503df94f46
 DIST wmhdplop-0.9.11.tar.gz 163931 BLAKE2B 
9a30f0ea11fd9abd5419612a413187299945b415ed9231e878aeea5a395627b21d77b99bbac3bd8d2b0673069c2011974355c9056d2dbe46688ed7606e8f9b8c
 SHA512 
e77802945b0c4213212922307416e8f99f1fe99de4ade6200bdd9cd8687926ddc7e67b437109174fb8544eebd8a6aea22ba685624842b54134bff48ea8aaa540

diff --git a/x11-plugins/wmhdplop/files/wmhdplop-0.9.10-sysmacros.patch 
b/x11-plugins/wmhdplop/files/wmhdplop-0.9.10-sysmacros.patch
deleted file mode 100644
index 1346cd2e3641..000000000000
--- a/x11-plugins/wmhdplop/files/wmhdplop-0.9.10-sysmacros.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -Naur wmhdplop-0.9.10.orig/devnames.c wmhdplop-0.9.10/devnames.c
---- wmhdplop-0.9.10.orig/devnames.c    2016-11-24 15:49:55.000000000 +0100
-+++ wmhdplop-0.9.10/devnames.c 2017-02-16 15:03:08.946447885 +0100
-@@ -4,6 +4,7 @@
- #include <string.h>
- #include <sys/types.h>
- #include <sys/stat.h>
-+#include <sys/sysmacros.h>
- #include <unistd.h>
- #include <linux/major.h>
- #include <ctype.h>

diff --git a/x11-plugins/wmhdplop/files/wmhdplop-0.9.9-64bit.patch 
b/x11-plugins/wmhdplop/files/wmhdplop-0.9.9-64bit.patch
deleted file mode 100644
index 13650e9bb7d9..000000000000
--- a/x11-plugins/wmhdplop/files/wmhdplop-0.9.9-64bit.patch
+++ /dev/null
@@ -1,94 +0,0 @@
-diff -pudr wmhdplop-0.9.9/devnames.h wmhdplop-0.9.9-fixed/devnames.h
---- wmhdplop-0.9.9/devnames.h  2004-04-07 01:14:01.000000000 +0200
-+++ wmhdplop-0.9.9-fixed/devnames.h    2010-06-25 21:56:10.662190796 +0200
-@@ -9,7 +9,7 @@ typedef struct DiskList {
-   unsigned major, minor;
-   int hd_id, part_id; /* part_id = 0 for disks */
-   int enable_hddtemp;
--  int nr, nw, touched_r, touched_w;
-+  long nr, nw, touched_r, touched_w;
-   struct DiskList *next;
- } DiskList;
- 
-diff -pudr wmhdplop-0.9.9/procstat.c wmhdplop-0.9.9-fixed/procstat.c
---- wmhdplop-0.9.9/procstat.c  2007-04-20 11:12:16.000000000 +0200
-+++ wmhdplop-0.9.9-fixed/procstat.c    2010-06-25 21:55:37.086191145 +0200
-@@ -8,7 +8,7 @@
- static ProcStats ps;
- int use_proc_diskstats;
- 
--void pstat_init(struct pstat *pst, int nslice, float update_interval) {
-+void pstat_init(struct pstat *pst, long nslice, float update_interval) {
-   pst->nslice = nslice;
-   ALLOC_VEC(pst->slices, nslice);
-   pst->cur_slice = 0;
-@@ -17,7 +17,7 @@ void pstat_init(struct pstat *pst, int n
- }
- 
- float pstat_current(struct pstat *pst) {
--  int idx = pst->cur_slice ? pst->cur_slice-1 : pst->nslice-1;
-+  long idx = pst->cur_slice ? pst->cur_slice-1 : pst->nslice-1;
-   return pst->slices[idx]/pst->update_interval;
- }
- 
-@@ -101,13 +101,13 @@ void update_stats() {
-             if (!Prefs.debug_disk_rd) {
-               pstat_add(&ps.disk_read, nr);
-             } else {
--              static int cntr = 0; cntr+=(rand()%30) == 0 ? 
Prefs.debug_disk_rd : 0;
-+              static long cntr = 0; cntr+=(rand()%30) == 0 ? 
Prefs.debug_disk_rd : 0;
-               pstat_add(&ps.disk_read, nr + cntr);
-             }
-             if (!Prefs.debug_disk_wr) {
-               pstat_add(&ps.disk_write, nw);
-             } else {
--              static int cntw = 0; cntw+=(rand()%30) == 0 ? 
Prefs.debug_disk_wr : 0;
-+              static long cntw = 0; cntw+=(rand()%30) == 0 ? 
Prefs.debug_disk_wr : 0;
-               pstat_add(&ps.disk_write, nw + cntw);
-             }
-             readok = 2;
-@@ -121,7 +121,7 @@ void update_stats() {
-               pstat_add(&ps.swap_in, nr);
-               pstat_add(&ps.swap_out, nw);
-             } else {
--              static int cnt = 0; cnt+=Prefs.debug_swapio;
-+              static long cnt = 0; cnt+=Prefs.debug_swapio;
-               pstat_add(&ps.swap_in, nr + cnt);
-               pstat_add(&ps.swap_out, nw + cnt);
-             }
-@@ -144,10 +144,10 @@ void init_stats(float update_interval) {
-   char s[512];
-   FILE *f;
- 
--  pstat_init(&ps.swap_in, (int)(0.5/update_interval)+1, update_interval);
--  pstat_init(&ps.swap_out, (int)(0.5/update_interval)+1, update_interval);
--  pstat_init(&ps.disk_read, (int)(0.5/update_interval)+1, update_interval);
--  pstat_init(&ps.disk_write, (int)(0.5/update_interval)+1, update_interval);
-+  pstat_init(&ps.swap_in, (long)(0.5/update_interval)+1, update_interval);
-+  pstat_init(&ps.swap_out, (long)(0.5/update_interval)+1, update_interval);
-+  pstat_init(&ps.disk_read, (long)(0.5/update_interval)+1, update_interval);
-+  pstat_init(&ps.disk_write, (long)(0.5/update_interval)+1, update_interval);
-   f = fopen("/proc/swaps","r");
-   //if (!f) { perror("/proc/swaps"); exit(1); }
-   if (f) {
-diff -pudr wmhdplop-0.9.9/procstat.h wmhdplop-0.9.9-fixed/procstat.h
---- wmhdplop-0.9.9/procstat.h  2004-03-14 12:07:15.000000000 +0100
-+++ wmhdplop-0.9.9-fixed/procstat.h    2010-06-25 21:45:52.146334994 +0200
-@@ -4,7 +4,7 @@
- 
- struct pstat {
-   unsigned long total;
--  int nslice, cur_slice;
-+  long nslice, cur_slice;
-   unsigned long *slices;
-   float update_interval;
- };
-@@ -15,7 +15,7 @@ typedef struct {
-   struct pstat disk_read, disk_write;
- } ProcStats;
- 
--void pstat_init(struct pstat *pst, int nslice, float update_interval);
-+void pstat_init(struct pstat *pst, long nslice, float update_interval);
- float pstat_current(struct pstat *pst);
- void pstat_add(struct pstat *pst, unsigned long v);
- void pstat_advance(struct pstat *pst);

diff --git a/x11-plugins/wmhdplop/wmhdplop-0.9.10.ebuild 
b/x11-plugins/wmhdplop/wmhdplop-0.9.10.ebuild
deleted file mode 100644
index d8f6755165d8..000000000000
--- a/x11-plugins/wmhdplop/wmhdplop-0.9.10.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit autotools
-
-DESCRIPTION="a dockapp for monitoring disk activities with fancy visuals"
-HOMEPAGE="https://www.dockapps.net/wmhdplop";
-SRC_URI="https://www.dockapps.net/download/${P}.tar.gz";
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE=""
-
-RDEPEND="media-libs/imlib2[X]
-       x11-libs/libX11
-       x11-libs/libXext
-       media-fonts/corefonts
-       >=media-libs/freetype-2"
-DEPEND="${RDEPEND}"
-
-PATCHES=(
-       "${FILESDIR}"/${PN}-0.9.9-64bit.patch
-       "${FILESDIR}"/${P}-cflags.patch
-       "${FILESDIR}"/${P}-sysmacros.patch
-       )
-DOCS=( AUTHORS ChangeLog NEWS README )
-
-src_prepare() {
-       eautoreconf
-       default
-}
-
-src_configure() {
-       econf --disable-gkrellm
-}

Reply via email to