[gentoo-commits] repo/gentoo:master commit in: x11-plugins/wmhdplop/, x11-plugins/wmhdplop/files/

2024-05-23 Thread Bernard Cafarelli
commit: 2515f70f247f167335fe8776b72cb9647fa37126
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Thu May 23 21:58:06 2024 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Thu May 23 22:04:44 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2515f70f

x11-plugins/wmhdplop: drop 0.9.11-r1

Signed-off-by: Bernard Cafarelli  gentoo.org>

 x11-plugins/wmhdplop/Manifest  |   1 -
 .../wmhdplop/files/wmhdplop-0.9.11-configure.patch | 108 -
 .../wmhdplop/files/wmhdplop-0.9.11-indent.patch|  38 
 x11-plugins/wmhdplop/wmhdplop-0.9.11-r1.ebuild |  37 ---
 4 files changed, 184 deletions(-)

diff --git a/x11-plugins/wmhdplop/Manifest b/x11-plugins/wmhdplop/Manifest
index 78fb53a7de16..b12ff757a2c1 100644
--- a/x11-plugins/wmhdplop/Manifest
+++ b/x11-plugins/wmhdplop/Manifest
@@ -1,2 +1 @@
-DIST wmhdplop-0.9.11.tar.gz 163931 BLAKE2B 
9a30f0ea11fd9abd5419612a413187299945b415ed9231e878aeea5a395627b21d77b99bbac3bd8d2b0673069c2011974355c9056d2dbe46688ed7606e8f9b8c
 SHA512 
e77802945b0c4213212922307416e8f99f1fe99de4ade6200bdd9cd8687926ddc7e67b437109174fb8544eebd8a6aea22ba685624842b54134bff48ea8aaa540
 DIST wmhdplop-0.9.12.tar.gz 168047 BLAKE2B 
b0c675f3a32e94407e0fb7d4cd724907e57b04057705819f3892f8c35ca0651e98303b51203bc663814894533a1ac84295b8763a5ee16eada130eab62d8939d3
 SHA512 
d86ebfcc96669cd743c25c4513c00bff8208442e088b141ac3a5313948d928c5fb29644ef7cd4880a438e7b713382c5a009769b7bddfcabf28fd6799c14c298c

diff --git a/x11-plugins/wmhdplop/files/wmhdplop-0.9.11-configure.patch 
b/x11-plugins/wmhdplop/files/wmhdplop-0.9.11-configure.patch
deleted file mode 100644
index 1bbe3ad2f388..
--- a/x11-plugins/wmhdplop/files/wmhdplop-0.9.11-configure.patch
+++ /dev/null
@@ -1,108 +0,0 @@
-diff -Naur wmhdplop-0.9.11.orig/configure.ac wmhdplop-0.9.11/configure.ac
 wmhdplop-0.9.11.orig/configure.ac  2018-12-11 02:45:33.0 +0100
-+++ wmhdplop-0.9.11/configure.ac   2022-07-15 19:42:42.504309025 +0200
-@@ -1,12 +1,14 @@
--AC_INIT(wmhdplop, 0.9.11)
-+AC_INIT([wmhdplop], [0.9.11], [https://www.dockapps.net/wmhdplop])
- AC_CONFIG_SRCDIR(wmhdplop.c)
- AM_INIT_AUTOMAKE
-+LT_INIT
-+AC_CONFIG_MACRO_DIRS([m4])
- AM_CONFIG_HEADER(config.h)
- 
- AC_SUBST(VERSION)
- 
- ISODATE=`date +%Y-%m-%d`
--AC_SUBST(ISODATE)
-+AC_SUBST([ISODATE])
- 
- AC_CANONICAL_HOST
- 
-@@ -19,39 +21,37 @@
- AC_DEFINE(_GNU_SOURCE,[],[uses GNU extensions])
- 
- 
--if test x$GCC = xyes; then
--  CFLAGS="-O3 -fomit-frame-pointer -ffast-math -Wall -W";
--fi
--
- dnl check for X
- AC_PATH_X
- AC_PATH_XTRA
--if test x$no_x = xyes; then
--  echo "You need to supply the path to the X headers and libraries with 
--x-includes=dir and --x-libraries=dir";
--  exit 1;
--fi;
-+AS_IF(
-+  [test "x${no_x}" = "xyes"],
-+  [AC_MSG_ERROR([You need to supply the path to the X headers and libraries 
with --x-includes=dir and --x-libraries=dir])]
-+)
- 
- LIBS="${X_PRE_LIBS} ${X_LIBS} -lX11 -lXext ${LIBS} ${X_EXTRA_LIBS}"
- CFLAGS="$CFLAGS $X_CFLAGS"
- 
- dnl Checks for library functions.
--AC_CHECK_HEADERS(linux/hdreg.h)
-+AC_CHECK_HEADERS([linux/hdreg.h])
- 
--AC_CHECK_PROG([IMLIB2_CONFIG_IN_PATH],[imlib2-config],[yes],[no])
--if test "x$IMLIB2_CONFIG_IN_PATH" = "xno"; then
--  AC_ERROR([imlib2-config not found in PATH.. You need to install Imlib2 (and 
its developpement package)])
--fi
--IMLIB2_CFLAGS=$(imlib2-config --cflags)
--IMLIB2_LIBS=$(imlib2-config --libs)
--AC_SUBST(IMLIB2_CFLAGS)
--AC_SUBST(IMLIB2_LIBS)
-+AC_CHECK_PROG([PKG_CONFIG_IN_PATH],[pkg-config],[yes],[no])
-+AS_IF(
-+  [test "x$PKG_CONFIG_IN_PATH" = "xno"],
-+  [AC_ERROR([pkg-config not found in PATH.. You need to install pkgconf])]
-+)
-+
-+IMLIB2_CFLAGS=$(pkg-config imlib2 --cflags)
-+IMLIB2_LIBS=$(pkg-config imlib2 --libs)
-+AC_SUBST([IMLIB2_CFLAGS])
-+AC_SUBST([IMLIB2_LIBS])
- 
- YELLOW="\\033\\1331;33m"
- RESET="\\033\\1330m"
- 
- dnl Checks for the gkrellm plugin
- build_gkhdplop="yes"
--AC_ARG_ENABLE(gkrellm,
-+AC_ARG_ENABLE([gkrellm],
-  [  --enable-gkrellmbuild the gkrellm plugin (requires gtk2 and 
gkrellm developpement files) (Default is yes)
-   --disable-gkrellm   do not build the gkrellm plugin],
-  [ if   test "x$enableval" = "xno" ; then
-@@ -69,8 +69,8 @@
-   PKG_CHECK_MODULES(PACKAGE, [$pkg_modules])
-   GTK2_CFLAGS=$PACKAGE_CFLAGS;
-   GTK2_LIBS=$PACKAGE_LIBS;
--  AC_SUBST(GTK2_CFLAGS)
--  AC_SUBST(GTK2_LIBS)
-+  AC_SUBST([GTK2_CFLAGS])
-+  AC_SUBST([GTK2_LIBS])
-   SAVECPPFLAGS="$CPPFLAGS"
-   CPPFLAGS="$CFLAGS $GTK2_CFLAGS"
-   AC_CHECK_HEADERS([gkrellm2/gkrellm.h], [ok=1], [ok=0])
-@@ -82,7 +82,7 @@
-   fi
-   CPPFLAGS="$SAVECPPFLAGS"
- fi
--AC_SUBST(GKHDPLOP)
-+AC_SUBST([GKHDPLOP])
- 
- 
- AC_OUTPUT(Makefile)
-diff -Naur wmhdplop-0.9.11.orig/Makefile.am wmhdplop-0.9.11/Makefile.am
 wmhdplop-0.9.11.orig/Makefile.am   2018-12-08 22:48:27.0 +0100
-+++ wmhdplop-0.9.11/Makefile.am2022-07-15 19:42:17.107279593 +0200
-@@ -8,6 +8,8 @@
- 
- 

[gentoo-commits] repo/gentoo:master commit in: x11-plugins/wmhdplop/

2024-05-23 Thread Bernard Cafarelli
commit: 45e4433221d629025b7246718d013b97f07f04f3
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Thu May 23 22:01:13 2024 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Thu May 23 22:04:45 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45e44332

x11-plugins/wmhdplop: add USE dep on imlib2[text]

Closes: https://bugs.gentoo.org/913468
Signed-off-by: Bernard Cafarelli  gentoo.org>

 x11-plugins/wmhdplop/wmhdplop-0.9.12.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/x11-plugins/wmhdplop/wmhdplop-0.9.12.ebuild 
b/x11-plugins/wmhdplop/wmhdplop-0.9.12.ebuild
index 2bb210461885..1d72db117b1b 100644
--- a/x11-plugins/wmhdplop/wmhdplop-0.9.12.ebuild
+++ b/x11-plugins/wmhdplop/wmhdplop-0.9.12.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -11,9 +11,8 @@ 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]
+RDEPEND="media-libs/imlib2[X,text(+)]
x11-libs/libX11
x11-libs/libXext
media-fonts/corefonts



[gentoo-commits] repo/gentoo:master commit in: x11-plugins/wmhdplop/, x11-plugins/wmhdplop/files/

2022-09-14 Thread Bernard Cafarelli
commit: 2c6dcd3bbef765436ca216fd84aff4731a7f7720
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Wed Sep 14 11:49:22 2022 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Wed Sep 14 11:51:38 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c6dcd3b

x11-plugins/wmhdplop: add 0.9.12

Signed-off-by: Bernard Cafarelli  gentoo.org>

 x11-plugins/wmhdplop/Manifest  |  1 +
 .../wmhdplop/files/wmhdplop-0.9.12-configure.patch | 14 +
 x11-plugins/wmhdplop/wmhdplop-0.9.12.ebuild| 36 ++
 3 files changed, 51 insertions(+)

diff --git a/x11-plugins/wmhdplop/Manifest b/x11-plugins/wmhdplop/Manifest
index 8e39b34be7c2..78fb53a7de16 100644
--- a/x11-plugins/wmhdplop/Manifest
+++ b/x11-plugins/wmhdplop/Manifest
@@ -1 +1,2 @@
 DIST wmhdplop-0.9.11.tar.gz 163931 BLAKE2B 
9a30f0ea11fd9abd5419612a413187299945b415ed9231e878aeea5a395627b21d77b99bbac3bd8d2b0673069c2011974355c9056d2dbe46688ed7606e8f9b8c
 SHA512 
e77802945b0c4213212922307416e8f99f1fe99de4ade6200bdd9cd8687926ddc7e67b437109174fb8544eebd8a6aea22ba685624842b54134bff48ea8aaa540
+DIST wmhdplop-0.9.12.tar.gz 168047 BLAKE2B 
b0c675f3a32e94407e0fb7d4cd724907e57b04057705819f3892f8c35ca0651e98303b51203bc663814894533a1ac84295b8763a5ee16eada130eab62d8939d3
 SHA512 
d86ebfcc96669cd743c25c4513c00bff8208442e088b141ac3a5313948d928c5fb29644ef7cd4880a438e7b713382c5a009769b7bddfcabf28fd6799c14c298c

diff --git a/x11-plugins/wmhdplop/files/wmhdplop-0.9.12-configure.patch 
b/x11-plugins/wmhdplop/files/wmhdplop-0.9.12-configure.patch
new file mode 100644
index ..89718de34818
--- /dev/null
+++ b/x11-plugins/wmhdplop/files/wmhdplop-0.9.12-configure.patch
@@ -0,0 +1,14 @@
+diff -Naur wmhdplop-0.9.12.orig/configure.ac wmhdplop-0.9.12/configure.ac
+--- wmhdplop-0.9.12.orig/configure.ac  2022-08-26 11:38:06.0 +0200
 wmhdplop-0.9.12/configure.ac   2022-09-14 13:47:56.531041828 +0200
+@@ -18,10 +18,6 @@
+ AC_DEFINE(_GNU_SOURCE,[],[uses GNU extensions])
+ 
+ 
+-if test x$GCC = xyes; then
+-  CFLAGS="-O3 -fomit-frame-pointer -ffast-math -Wall -W";
+-fi
+-
+ dnl check for X
+ AC_PATH_X
+ AC_PATH_XTRA

diff --git a/x11-plugins/wmhdplop/wmhdplop-0.9.12.ebuild 
b/x11-plugins/wmhdplop/wmhdplop-0.9.12.ebuild
new file mode 100644
index ..2bb210461885
--- /dev/null
+++ b/x11-plugins/wmhdplop/wmhdplop-0.9.12.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+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}"/${P}-configure.patch
+)
+
+DOCS=( AUTHORS ChangeLog NEWS README )
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   econf --disable-gkrellm
+}



[gentoo-commits] repo/gentoo:master commit in: x11-plugins/wmhdplop/files/

2022-07-15 Thread Bernard Cafarelli
commit: e1033fb8fe7e6b90c7eed7be4c154148a07e1f22
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Fri Jul 15 17:44:27 2022 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Fri Jul 15 17:45:06 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1033fb8

x11-plugins/wmhdplop/files: merge old cflags patch in current patch

Closes: https://bugs.gentoo.org/858242
Signed-off-by: Bernard Cafarelli  gentoo.org>

 x11-plugins/wmhdplop/files/wmhdplop-0.9.10-cflags.patch  | 14 --
 .../wmhdplop/files/wmhdplop-0.9.11-configure.patch   | 16 ++--
 2 files changed, 6 insertions(+), 24 deletions(-)

diff --git a/x11-plugins/wmhdplop/files/wmhdplop-0.9.10-cflags.patch 
b/x11-plugins/wmhdplop/files/wmhdplop-0.9.10-cflags.patch
deleted file mode 100644
index 999379988317..
--- a/x11-plugins/wmhdplop/files/wmhdplop-0.9.10-cflags.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -Naur wmhdplop-0.9.10.orig/configure.ac wmhdplop-0.9.10/configure.ac
 wmhdplop-0.9.10.orig/configure.ac  2016-11-24 16:18:21.0 +0100
-+++ wmhdplop-0.9.10/configure.ac   2016-12-02 11:58:28.276017676 +0100
-@@ -19,10 +19,6 @@
- AC_DEFINE(_GNU_SOURCE,[],[uses GNU extensions])
- 
- 
--if test x$GCC = xyes; then
--  CFLAGS="-O3 -fomit-frame-pointer -ffast-math -Wall -W";
--fi
--
- dnl check for X
- AC_PATH_X
- AC_PATH_XTRA

diff --git a/x11-plugins/wmhdplop/files/wmhdplop-0.9.11-configure.patch 
b/x11-plugins/wmhdplop/files/wmhdplop-0.9.11-configure.patch
index 3eabe853f62a..1bbe3ad2f388 100644
--- a/x11-plugins/wmhdplop/files/wmhdplop-0.9.11-configure.patch
+++ b/x11-plugins/wmhdplop/files/wmhdplop-0.9.11-configure.patch
@@ -1,6 +1,6 @@
 diff -Naur wmhdplop-0.9.11.orig/configure.ac wmhdplop-0.9.11/configure.ac
 --- wmhdplop-0.9.11.orig/configure.ac  2018-12-11 02:45:33.0 +0100
-+++ wmhdplop-0.9.11/configure.ac   2022-07-15 14:17:50.244012667 +0200
 wmhdplop-0.9.11/configure.ac   2022-07-15 19:42:42.504309025 +0200
 @@ -1,12 +1,14 @@
 -AC_INIT(wmhdplop, 0.9.11)
 +AC_INIT([wmhdplop], [0.9.11], [https://www.dockapps.net/wmhdplop])
@@ -18,18 +18,14 @@ diff -Naur wmhdplop-0.9.11.orig/configure.ac 
wmhdplop-0.9.11/configure.ac
  
  AC_CANONICAL_HOST
  
-@@ -19,39 +21,42 @@
+@@ -19,39 +21,37 @@
  AC_DEFINE(_GNU_SOURCE,[],[uses GNU extensions])
  
  
 -if test x$GCC = xyes; then
 -  CFLAGS="-O3 -fomit-frame-pointer -ffast-math -Wall -W";
 -fi
-+AS_IF(
-+  [test "x${GCC}" = "xyes"],
-+  [CFLAGS="-O3 -fomit-frame-pointer -ffast-math -Wall -W"]
-+)
- 
+-
  dnl check for X
  AC_PATH_X
  AC_PATH_XTRA
@@ -78,7 +74,7 @@ diff -Naur wmhdplop-0.9.11.orig/configure.ac 
wmhdplop-0.9.11/configure.ac
   [  --enable-gkrellmbuild the gkrellm plugin (requires gtk2 and 
gkrellm developpement files) (Default is yes)
--disable-gkrellm   do not build the gkrellm plugin],
   [ if   test "x$enableval" = "xno" ; then
-@@ -69,8 +74,8 @@
+@@ -69,8 +69,8 @@
PKG_CHECK_MODULES(PACKAGE, [$pkg_modules])
GTK2_CFLAGS=$PACKAGE_CFLAGS;
GTK2_LIBS=$PACKAGE_LIBS;
@@ -89,7 +85,7 @@ diff -Naur wmhdplop-0.9.11.orig/configure.ac 
wmhdplop-0.9.11/configure.ac
SAVECPPFLAGS="$CPPFLAGS"
CPPFLAGS="$CFLAGS $GTK2_CFLAGS"
AC_CHECK_HEADERS([gkrellm2/gkrellm.h], [ok=1], [ok=0])
-@@ -82,7 +87,7 @@
+@@ -82,7 +82,7 @@
fi
CPPFLAGS="$SAVECPPFLAGS"
  fi
@@ -100,7 +96,7 @@ diff -Naur wmhdplop-0.9.11.orig/configure.ac 
wmhdplop-0.9.11/configure.ac
  AC_OUTPUT(Makefile)
 diff -Naur wmhdplop-0.9.11.orig/Makefile.am wmhdplop-0.9.11/Makefile.am
 --- wmhdplop-0.9.11.orig/Makefile.am   2018-12-08 22:48:27.0 +0100
-+++ wmhdplop-0.9.11/Makefile.am2022-07-15 14:11:07.842722348 +0200
 wmhdplop-0.9.11/Makefile.am2022-07-15 19:42:17.107279593 +0200
 @@ -8,6 +8,8 @@
  
  EXTRA_DIST=autogen.sh gkrellm_hdplop.c



[gentoo-commits] repo/gentoo:master commit in: x11-plugins/wmhdplop/files/, x11-plugins/wmhdplop/

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

x11-plugins/wmhdplop: drop 0.9.10

Signed-off-by: Bernard Cafarelli  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..
--- 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.c2016-11-24 15:49:55.0 +0100
-+++ wmhdplop-0.9.10/devnames.c 2017-02-16 15:03:08.946447885 +0100
-@@ -4,6 +4,7 @@
- #include 
- #include 
- #include 
-+#include 
- #include 
- #include 
- #include 

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..
--- 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.0 +0200
-+++ wmhdplop-0.9.9-fixed/devnames.h2010-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.0 +0200
-+++ wmhdplop-0.9.9-fixed/procstat.c2010-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(_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(_read, nr + cntr);
- }
- if (!Prefs.debug_disk_wr) {
-   pstat_add(_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(_write, nw + cntw);
- }
- readok = 2;
-@@ -121,7 +121,7 @@ void update_stats() {
-   pstat_add(_in, nr);
-   pstat_add(_out, nw);
- } else {
--  static int cnt = 0; cnt+=Prefs.debug_swapio;
-+  static long cnt = 0; cnt+=Prefs.debug_swapio;
-   pstat_add(_in, nr + cnt);
-   pstat_add(_out, nw + cnt);
- }
-@@ -144,10 +144,10 @@ void init_stats(float update_interval) {
-   char s[512];
-   FILE *f;
- 
--  pstat_init(_in, (int)(0.5/update_interval)+1, update_interval);
--  pstat_init(_out, 

[gentoo-commits] repo/gentoo:master commit in: x11-plugins/wmhdplop/, x11-plugins/wmhdplop/files/

2022-07-15 Thread Bernard Cafarelli
commit: da73faed3c16f963f2a6a1c1060c68447709793e
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Fri Jul 15 12:24:47 2022 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Fri Jul 15 12:25:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da73faed

x11-plugins/wmhdplop: fix imlib2 support

Adapt patch from wmforkplop, also backport an indent fix

Closes: https://bugs.gentoo.org/828926
Signed-off-by: Bernard Cafarelli  gentoo.org>

 .../wmhdplop/files/wmhdplop-0.9.11-configure.patch | 112 +
 .../wmhdplop/files/wmhdplop-0.9.11-indent.patch|  38 +++
 ...lop-0.9.11.ebuild => wmhdplop-0.9.11-r1.ebuild} |   9 +-
 3 files changed, 155 insertions(+), 4 deletions(-)

diff --git a/x11-plugins/wmhdplop/files/wmhdplop-0.9.11-configure.patch 
b/x11-plugins/wmhdplop/files/wmhdplop-0.9.11-configure.patch
new file mode 100644
index ..3eabe853f62a
--- /dev/null
+++ b/x11-plugins/wmhdplop/files/wmhdplop-0.9.11-configure.patch
@@ -0,0 +1,112 @@
+diff -Naur wmhdplop-0.9.11.orig/configure.ac wmhdplop-0.9.11/configure.ac
+--- wmhdplop-0.9.11.orig/configure.ac  2018-12-11 02:45:33.0 +0100
 wmhdplop-0.9.11/configure.ac   2022-07-15 14:17:50.244012667 +0200
+@@ -1,12 +1,14 @@
+-AC_INIT(wmhdplop, 0.9.11)
++AC_INIT([wmhdplop], [0.9.11], [https://www.dockapps.net/wmhdplop])
+ AC_CONFIG_SRCDIR(wmhdplop.c)
+ AM_INIT_AUTOMAKE
++LT_INIT
++AC_CONFIG_MACRO_DIRS([m4])
+ AM_CONFIG_HEADER(config.h)
+ 
+ AC_SUBST(VERSION)
+ 
+ ISODATE=`date +%Y-%m-%d`
+-AC_SUBST(ISODATE)
++AC_SUBST([ISODATE])
+ 
+ AC_CANONICAL_HOST
+ 
+@@ -19,39 +21,42 @@
+ AC_DEFINE(_GNU_SOURCE,[],[uses GNU extensions])
+ 
+ 
+-if test x$GCC = xyes; then
+-  CFLAGS="-O3 -fomit-frame-pointer -ffast-math -Wall -W";
+-fi
++AS_IF(
++  [test "x${GCC}" = "xyes"],
++  [CFLAGS="-O3 -fomit-frame-pointer -ffast-math -Wall -W"]
++)
+ 
+ dnl check for X
+ AC_PATH_X
+ AC_PATH_XTRA
+-if test x$no_x = xyes; then
+-  echo "You need to supply the path to the X headers and libraries with 
--x-includes=dir and --x-libraries=dir";
+-  exit 1;
+-fi;
++AS_IF(
++  [test "x${no_x}" = "xyes"],
++  [AC_MSG_ERROR([You need to supply the path to the X headers and libraries 
with --x-includes=dir and --x-libraries=dir])]
++)
+ 
+ LIBS="${X_PRE_LIBS} ${X_LIBS} -lX11 -lXext ${LIBS} ${X_EXTRA_LIBS}"
+ CFLAGS="$CFLAGS $X_CFLAGS"
+ 
+ dnl Checks for library functions.
+-AC_CHECK_HEADERS(linux/hdreg.h)
++AC_CHECK_HEADERS([linux/hdreg.h])
+ 
+-AC_CHECK_PROG([IMLIB2_CONFIG_IN_PATH],[imlib2-config],[yes],[no])
+-if test "x$IMLIB2_CONFIG_IN_PATH" = "xno"; then
+-  AC_ERROR([imlib2-config not found in PATH.. You need to install Imlib2 (and 
its developpement package)])
+-fi
+-IMLIB2_CFLAGS=$(imlib2-config --cflags)
+-IMLIB2_LIBS=$(imlib2-config --libs)
+-AC_SUBST(IMLIB2_CFLAGS)
+-AC_SUBST(IMLIB2_LIBS)
++AC_CHECK_PROG([PKG_CONFIG_IN_PATH],[pkg-config],[yes],[no])
++AS_IF(
++  [test "x$PKG_CONFIG_IN_PATH" = "xno"],
++  [AC_ERROR([pkg-config not found in PATH.. You need to install pkgconf])]
++)
++
++IMLIB2_CFLAGS=$(pkg-config imlib2 --cflags)
++IMLIB2_LIBS=$(pkg-config imlib2 --libs)
++AC_SUBST([IMLIB2_CFLAGS])
++AC_SUBST([IMLIB2_LIBS])
+ 
+ YELLOW="\\033\\1331;33m"
+ RESET="\\033\\1330m"
+ 
+ dnl Checks for the gkrellm plugin
+ build_gkhdplop="yes"
+-AC_ARG_ENABLE(gkrellm,
++AC_ARG_ENABLE([gkrellm],
+  [  --enable-gkrellmbuild the gkrellm plugin (requires gtk2 and 
gkrellm developpement files) (Default is yes)
+   --disable-gkrellm   do not build the gkrellm plugin],
+  [ if   test "x$enableval" = "xno" ; then
+@@ -69,8 +74,8 @@
+   PKG_CHECK_MODULES(PACKAGE, [$pkg_modules])
+   GTK2_CFLAGS=$PACKAGE_CFLAGS;
+   GTK2_LIBS=$PACKAGE_LIBS;
+-  AC_SUBST(GTK2_CFLAGS)
+-  AC_SUBST(GTK2_LIBS)
++  AC_SUBST([GTK2_CFLAGS])
++  AC_SUBST([GTK2_LIBS])
+   SAVECPPFLAGS="$CPPFLAGS"
+   CPPFLAGS="$CFLAGS $GTK2_CFLAGS"
+   AC_CHECK_HEADERS([gkrellm2/gkrellm.h], [ok=1], [ok=0])
+@@ -82,7 +87,7 @@
+   fi
+   CPPFLAGS="$SAVECPPFLAGS"
+ fi
+-AC_SUBST(GKHDPLOP)
++AC_SUBST([GKHDPLOP])
+ 
+ 
+ AC_OUTPUT(Makefile)
+diff -Naur wmhdplop-0.9.11.orig/Makefile.am wmhdplop-0.9.11/Makefile.am
+--- wmhdplop-0.9.11.orig/Makefile.am   2018-12-08 22:48:27.0 +0100
 wmhdplop-0.9.11/Makefile.am2022-07-15 14:11:07.842722348 +0200
+@@ -8,6 +8,8 @@
+ 
+ EXTRA_DIST=autogen.sh gkrellm_hdplop.c
+ 
++ACLOCAL_AMFLAGS = -I m4
++
+ IMLIB2_LIBS=@IMLIB2_LIBS@
+ IMLIB2_CFLAGS=@IMLIB2_CFLAGS@
+ 

diff --git a/x11-plugins/wmhdplop/files/wmhdplop-0.9.11-indent.patch 
b/x11-plugins/wmhdplop/files/wmhdplop-0.9.11-indent.patch
new file mode 100644
index ..30e44715ea2a
--- /dev/null
+++ b/x11-plugins/wmhdplop/files/wmhdplop-0.9.11-indent.patch
@@ -0,0 +1,38 @@
+From f597fc7288f57d1dfddd5bb559cc7b0f598d15e5 Mon Sep 17 00:00:00 2001
+From: "Torrance, Douglas" 
+Date: Sun, 10 Oct 2021 10:01:04 +
+Subject: [PATCH] wmhdplop: Fix "misleadingly indented" compiler warnings.
+
+---
+ wmhdplop/wmhdplop.c | 8 ++--
+ 1 file 

[gentoo-commits] repo/gentoo:master commit in: x11-plugins/wmhdplop/

2018-12-22 Thread Bernard Cafarelli
commit: 8dcb7f79934b527cf3420f77fae51d4abf8cf967
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Sat Dec 22 22:43:16 2018 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Sat Dec 22 22:43:26 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8dcb7f79

x11-plugins/wmhdplop: 0.9.11 bump

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Bernard Cafarelli  gentoo.org>

 x11-plugins/wmhdplop/Manifest   |  1 +
 x11-plugins/wmhdplop/wmhdplop-0.9.11.ebuild | 36 +
 2 files changed, 37 insertions(+)

diff --git a/x11-plugins/wmhdplop/Manifest b/x11-plugins/wmhdplop/Manifest
index cab85a57979..ff0775b3fe8 100644
--- a/x11-plugins/wmhdplop/Manifest
+++ b/x11-plugins/wmhdplop/Manifest
@@ -1 +1,2 @@
 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/wmhdplop-0.9.11.ebuild 
b/x11-plugins/wmhdplop/wmhdplop-0.9.11.ebuild
new file mode 100644
index 000..2806056295d
--- /dev/null
+++ b/x11-plugins/wmhdplop/wmhdplop-0.9.11.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2018 Gentoo Authors
+# 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.10-cflags.patch
+)
+
+DOCS=( AUTHORS ChangeLog NEWS README )
+
+src_prepare() {
+   eautoreconf
+   default
+}
+
+src_configure() {
+   econf --disable-gkrellm
+}



[gentoo-commits] repo/gentoo:master commit in: x11-plugins/wmhdplop/

2018-05-05 Thread Aaron Bauman
commit: d4cb2a37287914b7b6c3d52b8688419b50593d0a
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Mon Apr 30 08:59:20 2018 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Sat May  5 19:26:58 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4cb2a37

x11-plugins/wmhdplop: use HTTPS

 x11-plugins/wmhdplop/wmhdplop-0.9.10.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/x11-plugins/wmhdplop/wmhdplop-0.9.10.ebuild 
b/x11-plugins/wmhdplop/wmhdplop-0.9.10.ebuild
index 96c79eec232..d8f6755165d 100644
--- a/x11-plugins/wmhdplop/wmhdplop-0.9.10.ebuild
+++ b/x11-plugins/wmhdplop/wmhdplop-0.9.10.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2017 Gentoo Foundation
+# 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="http://www.dockapps.net/wmhdplop;
-SRC_URI="http://www.dockapps.net/download/${P}.tar.gz;
+HOMEPAGE="https://www.dockapps.net/wmhdplop;
+SRC_URI="https://www.dockapps.net/download/${P}.tar.gz;
 
 LICENSE="GPL-2"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: x11-plugins/wmhdplop/

2017-12-05 Thread Bernard Cafarelli
commit: c7ff3f1d7578373c6b16dfd68807886de2697495
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Tue Dec  5 13:51:17 2017 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Tue Dec  5 15:10:49 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7ff3f1d

x11-plugins/wmhdplop: drop old

Package-Manager: Portage-2.3.16, Repoman-2.3.6

 x11-plugins/wmhdplop/Manifest |  1 -
 x11-plugins/wmhdplop/wmhdplop-0.9.9-r2.ebuild | 37 ---
 2 files changed, 38 deletions(-)

diff --git a/x11-plugins/wmhdplop/Manifest b/x11-plugins/wmhdplop/Manifest
index d7e74bc58ae..c9b0768b04e 100644
--- a/x11-plugins/wmhdplop/Manifest
+++ b/x11-plugins/wmhdplop/Manifest
@@ -1,2 +1 @@
 DIST wmhdplop-0.9.10.tar.gz 163491 SHA256 
d77d362be720b3c245a931d538b99b30c140149a455a15abb612ea9592f2b79d SHA512 
9bd79ab5c271e2fbd7d415a1ea20eda5412d7657d9ccfd4781a6d42b834107b65e110231718ad686355e76590cd39f556ebfc9b14e7a4048a68d62503df94f46
 WHIRLPOOL 
df79e592c96da24e84603ce2cd1372dfdb4e952f6dfce4a9d0d5063408917c25d782ac5d487640a4311d0eb5c04c00f6f7686d8173d600ccd1e444f19b94bebf
-DIST wmhdplop-0.9.9.tar.gz 232684 SHA256 
68f27918a8da4af2389513a6fda3a875cd55603a3e04abedc1726553 SHA512 
91c6860c775444aaf02c2138d94e2e21849bf6268a71633dc7575a7ec65220a62e1fc4a105d13ab1e5b305edb759a90dc0d104d35ed5245fb2df6646908b36db
 WHIRLPOOL 
f8cfb78d69a2ec85d03d8e0504a7675a29a1dd53e00d5791932e67c3b29894b967e7dcb08770195aca5f9f005e91fd94be3a35a77daeddda4ff88de7c1e3edaf

diff --git a/x11-plugins/wmhdplop/wmhdplop-0.9.9-r2.ebuild 
b/x11-plugins/wmhdplop/wmhdplop-0.9.9-r2.ebuild
deleted file mode 100644
index 07e948e5e6f..000
--- a/x11-plugins/wmhdplop/wmhdplop-0.9.9-r2.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="2"
-
-inherit eutils multilib
-
-DESCRIPTION="a dockapp for monitoring disk activities with fancy visuals"
-HOMEPAGE="http://hules.free.fr/wmhdplop;
-SRC_URI="http://hules.free.fr/${PN}/${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}
-   x11-proto/xextproto"
-
-src_prepare() {
-   epatch "${FILESDIR}"/${P}-64bit.patch
-   sed -i -e "s:-O3 -fomit-frame-pointer -ffast-math:${CFLAGS}:" 
"${S}"/configure
-}
-
-src_configure() {
-   econf --disable-gkrellm
-}
-
-src_install() {
-   emake DESTDIR="${D}" install || die "emake install failed."
-   dodoc AUTHORS ChangeLog NEWS README || die
-}



[gentoo-commits] repo/gentoo:master commit in: x11-plugins/wmhdplop/files/, x11-plugins/wmhdplop/

2017-02-16 Thread Bernard Cafarelli
commit: 50a989207816a2f621c575d77a766bcfe7a00405
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Thu Feb 16 14:08:25 2017 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Thu Feb 16 14:08:25 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50a98920

x11-plugins/wmhdplop: fix build with future glibc, bug #604296

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 x11-plugins/wmhdplop/files/wmhdplop-0.9.10-sysmacros.patch | 11 +++
 x11-plugins/wmhdplop/wmhdplop-0.9.10.ebuild|  3 ++-
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/x11-plugins/wmhdplop/files/wmhdplop-0.9.10-sysmacros.patch 
b/x11-plugins/wmhdplop/files/wmhdplop-0.9.10-sysmacros.patch
new file mode 100644
index 00..1346cd2e36
--- /dev/null
+++ b/x11-plugins/wmhdplop/files/wmhdplop-0.9.10-sysmacros.patch
@@ -0,0 +1,11 @@
+diff -Naur wmhdplop-0.9.10.orig/devnames.c wmhdplop-0.9.10/devnames.c
+--- wmhdplop-0.9.10.orig/devnames.c2016-11-24 15:49:55.0 +0100
 wmhdplop-0.9.10/devnames.c 2017-02-16 15:03:08.946447885 +0100
+@@ -4,6 +4,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+ #include 
+ #include 
+ #include 

diff --git a/x11-plugins/wmhdplop/wmhdplop-0.9.10.ebuild 
b/x11-plugins/wmhdplop/wmhdplop-0.9.10.ebuild
index bf6be8be36..1098b41545 100644
--- a/x11-plugins/wmhdplop/wmhdplop-0.9.10.ebuild
+++ b/x11-plugins/wmhdplop/wmhdplop-0.9.10.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -24,6 +24,7 @@ DEPEND="${RDEPEND}"
 PATCHES=(
"${FILESDIR}"/${PN}-0.9.9-64bit.patch
"${FILESDIR}"/${P}-cflags.patch
+   "${FILESDIR}"/${P}-sysmacros.patch
)
 DOCS=( AUTHORS ChangeLog NEWS README )
 



[gentoo-commits] repo/gentoo:master commit in: x11-plugins/wmhdplop/, x11-plugins/wmhdplop/files/

2016-12-02 Thread Bernard Cafarelli
commit: f8e63a1f7d6314040879605a5d4c5b754b16ded0
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Fri Dec  2 11:04:47 2016 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Fri Dec  2 11:04:58 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8e63a1f

x11-plugins/wmhdplop: version bump to 0.9.10

Update ebuild for EAPI6, new homepage

Package-Manager: portage-2.3.2

 x11-plugins/wmhdplop/Manifest  |  1 +
 .../wmhdplop/files/wmhdplop-0.9.10-cflags.patch| 14 
 x11-plugins/wmhdplop/wmhdplop-0.9.10.ebuild| 37 ++
 3 files changed, 52 insertions(+)

diff --git a/x11-plugins/wmhdplop/Manifest b/x11-plugins/wmhdplop/Manifest
index 1af885d..d7e74bc 100644
--- a/x11-plugins/wmhdplop/Manifest
+++ b/x11-plugins/wmhdplop/Manifest
@@ -1 +1,2 @@
+DIST wmhdplop-0.9.10.tar.gz 163491 SHA256 
d77d362be720b3c245a931d538b99b30c140149a455a15abb612ea9592f2b79d SHA512 
9bd79ab5c271e2fbd7d415a1ea20eda5412d7657d9ccfd4781a6d42b834107b65e110231718ad686355e76590cd39f556ebfc9b14e7a4048a68d62503df94f46
 WHIRLPOOL 
df79e592c96da24e84603ce2cd1372dfdb4e952f6dfce4a9d0d5063408917c25d782ac5d487640a4311d0eb5c04c00f6f7686d8173d600ccd1e444f19b94bebf
 DIST wmhdplop-0.9.9.tar.gz 232684 SHA256 
68f27918a8da4af2389513a6fda3a875cd55603a3e04abedc1726553 SHA512 
91c6860c775444aaf02c2138d94e2e21849bf6268a71633dc7575a7ec65220a62e1fc4a105d13ab1e5b305edb759a90dc0d104d35ed5245fb2df6646908b36db
 WHIRLPOOL 
f8cfb78d69a2ec85d03d8e0504a7675a29a1dd53e00d5791932e67c3b29894b967e7dcb08770195aca5f9f005e91fd94be3a35a77daeddda4ff88de7c1e3edaf

diff --git a/x11-plugins/wmhdplop/files/wmhdplop-0.9.10-cflags.patch 
b/x11-plugins/wmhdplop/files/wmhdplop-0.9.10-cflags.patch
new file mode 100644
index ..9993799
--- /dev/null
+++ b/x11-plugins/wmhdplop/files/wmhdplop-0.9.10-cflags.patch
@@ -0,0 +1,14 @@
+diff -Naur wmhdplop-0.9.10.orig/configure.ac wmhdplop-0.9.10/configure.ac
+--- wmhdplop-0.9.10.orig/configure.ac  2016-11-24 16:18:21.0 +0100
 wmhdplop-0.9.10/configure.ac   2016-12-02 11:58:28.276017676 +0100
+@@ -19,10 +19,6 @@
+ AC_DEFINE(_GNU_SOURCE,[],[uses GNU extensions])
+ 
+ 
+-if test x$GCC = xyes; then
+-  CFLAGS="-O3 -fomit-frame-pointer -ffast-math -Wall -W";
+-fi
+-
+ dnl check for X
+ AC_PATH_X
+ AC_PATH_XTRA

diff --git a/x11-plugins/wmhdplop/wmhdplop-0.9.10.ebuild 
b/x11-plugins/wmhdplop/wmhdplop-0.9.10.ebuild
new file mode 100644
index ..bf6be8b
--- /dev/null
+++ b/x11-plugins/wmhdplop/wmhdplop-0.9.10.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit autotools
+
+DESCRIPTION="a dockapp for monitoring disk activities with fancy visuals"
+HOMEPAGE="http://www.dockapps.net/wmhdplop;
+SRC_URI="http://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
+   )
+DOCS=( AUTHORS ChangeLog NEWS README )
+
+src_prepare() {
+   eautoreconf
+   default
+}
+
+src_configure() {
+   econf --disable-gkrellm
+}