diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-plugins/wmsysmon |
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-plugins/wmsysmon')
-rw-r--r-- | x11-plugins/wmsysmon/Manifest | 7 | ||||
-rw-r--r-- | x11-plugins/wmsysmon/files/wmsysmon-high-ints.patch | 11 | ||||
-rw-r--r-- | x11-plugins/wmsysmon/metadata.xml | 13 | ||||
-rw-r--r-- | x11-plugins/wmsysmon/wmsysmon-0.7.7.ebuild | 49 |
4 files changed, 80 insertions, 0 deletions
diff --git a/x11-plugins/wmsysmon/Manifest b/x11-plugins/wmsysmon/Manifest new file mode 100644 index 000000000000..931a576df3f1 --- /dev/null +++ b/x11-plugins/wmsysmon/Manifest @@ -0,0 +1,7 @@ +AUX wmsysmon-high-ints.patch 489 SHA256 3339cd375652cf9de22be39ec7aa37d001ade64304e92cc900d0e534534cc071 SHA512 314e509c4efb55402007533696291b9c543ffa4cbff84c3252ea9b9c7d6147c49241002bbef17fe28d0d00e4b64a4e5484f0f62d9b32ba4e9b2b5449026f94f5 WHIRLPOOL cf8c47a9580d5412f91d7a275d8ca43f1c3f9d203fa102d0169bc99fce86b79d38d388fdca7e2a6147a58e5de61d1cee708dd4bb7a5b6fe103fed5db31d76da3 +DIST wmsysmon-0.7.7-s4t4n.patch.bz2 8547 SHA256 b585793744c65ccc10c0b2b55c34f7c5cf0ac03b99526f50842ace99a1ce7245 SHA512 fbf43af697313c1f2c8c5d373b636b92b87140979c47037c214b2af8e0e94faa1df610e9fb94e677bfd6de94320e1e161ac1b1afbfb665fd7e86849ee93d8e1e WHIRLPOOL 33b3a7478db17d05155e8104c4f89f25defaaf4eadf00622725b39d95e879260f6e319271be7b89d30ee9cb3444d468166ee9a31e89ccd5f86f7d1cedd937170 +DIST wmsysmon-0.7.7.tar.gz 20866 SHA256 b50e3d834e799ff2b2a825c67534e049bed2af2c261d83b8afbbd4a9010d3e5c SHA512 6f472d132c7b5263c4b62e0972653ceee59743c4e292c0bdd95194e84373f4e7888311b40083691ab5b736c0ba292672d8eb306a220e95d356dd95b6b8519c0c WHIRLPOOL cf525c75b576aea805d41bf65315d6909964ff6067d95b79feb84e8617e05a140e6368dc1cd2596e7f7b92f2bb42207315c19b2ad826e44cabf3c1ea97bd25a5 +EBUILD wmsysmon-0.7.7.ebuild 1130 SHA256 31c802a75f09fde439c0a395d981680bb0fc1b970f3af0ba1a0127d350464e9d SHA512 84589ea18adad0a901a3ca02a0dafdb4088fa652979461210d2c1e22f983422b181b92246916234e3b139a1aee499354f9ddd334908010a169cee9d0082410c9 WHIRLPOOL e4e2287c0ee37f0a4294681e66df79895344bc0949071e9ad3ecdaf7c3c9479d08251297552214f5288a9346f16eefbb5426272f47b6eb76150e63b50fecf7ef +MISC ChangeLog 3317 SHA256 b9b4ca1e97799f20519e58b6520bf3607a7fc3d4c0cc9925452b18e0170e4ee1 SHA512 9244b674a0023716ef81670f38f78c06288a3b6e6b9eeeb03d1b0321acce2fa439fd2d1f403b141a7243de2915adc2f69e202f35ce05c352e10193f57f35e358 WHIRLPOOL 775a8d67b8f51d37a876fdee542e6f3c2f2beef6fab0bdb90028335509d377f20a33db93b8fda203f87e90a2ef6e1899252484b8a4893b9ab28526062e67b663 +MISC ChangeLog-2015 4990 SHA256 6154ab1a0d6c32835ea9e56cca5233cb5938f8461a52f9423366482d5d3cbc0a SHA512 7a0f09501bd40469a8c3d7c978ec185c4f9d2d51812fe1da4311abe7a3dac85aaf4ae3435779b1cf6192ff6c5b6e8ab8f80dd5f984d470e611334372da826783 WHIRLPOOL 7cd15903e8269d0b5874cc5d1f10483dd0140fb6dd7827e3283d332b9f3e5373dd400aab99b21972ad3769d6c866a851f147a0d40bb4ff962b3b4bf09ec16345 +MISC metadata.xml 363 SHA256 defc2b8345931dcd828471e845f476741020a54a7af2c0b17d1bfbcdbbb5f6a2 SHA512 1db6c08108c56b3664da8ad2b1c1f249f283fc654232ece02e32ac8b138996a17726f599114dcdfde7e753578228035c5bbe4dc9c8bf837476ec4202a846844a WHIRLPOOL efd9f1bc4807eeab9c3fa3fafb8c73b762d1c828ba033bedc1ffb50f0bbe1a59a773d5c6e3f666a34eb881b75bfa3ffe4491db645407b48d44dcf004467ad89a diff --git a/x11-plugins/wmsysmon/files/wmsysmon-high-ints.patch b/x11-plugins/wmsysmon/files/wmsysmon-high-ints.patch new file mode 100644 index 000000000000..4ba89fb33212 --- /dev/null +++ b/x11-plugins/wmsysmon/files/wmsysmon-high-ints.patch @@ -0,0 +1,11 @@ +--- Makefile 2004-08-02 13:18:22.780070984 +0200 ++++ Makefile 2004-08-02 13:19:07.776230528 +0200 +@@ -3,7 +3,7 @@ + LIBDIR += -L/usr/X11R6/lib + LDFLAGS += -lXpm -lXext -lX11 -lm -s + #CFLAGS = -g #-DMONDEBUG +-CFLAGS += ${GENTOO_CFLAGS} -W -Wall -pedantic -I/usr/X11R6/include #-DHI_INTS #undefine HI_INTS if your x86 SMP or alpha ++CFLAGS += ${GENTOO_CFLAGS} -W -Wall -pedantic -I/usr/X11R6/include -DHI_INTS #undefine HI_INTS if your x86 SMP or alpha + + BIN = wmsysmon + OBJS = wmgeneral.o \ diff --git a/x11-plugins/wmsysmon/metadata.xml b/x11-plugins/wmsysmon/metadata.xml new file mode 100644 index 000000000000..32d76dd54300 --- /dev/null +++ b/x11-plugins/wmsysmon/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> + <email>voyageur@gentoo.org</email> + <name>Bernard Cafarelli</name> +</maintainer> + +<use> + <flag name="high-ints">Enable support for monitoring 24 interrupts. Useful + on SMP machines</flag> +</use> +</pkgmetadata> diff --git a/x11-plugins/wmsysmon/wmsysmon-0.7.7.ebuild b/x11-plugins/wmsysmon/wmsysmon-0.7.7.ebuild new file mode 100644 index 000000000000..8da4a8b908ed --- /dev/null +++ b/x11-plugins/wmsysmon/wmsysmon-0.7.7.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils + +IUSE="high-ints" +DESCRIPTION="a dockapp to monitor: CPU, Memory, Uptime, IRQs, Paging and Swap activity" +SRC_URI="http://www.gnugeneration.com/software/wmsysmon/src/${P}.tar.gz + mirror://gentoo/${P}-s4t4n.patch.bz2" +HOMEPAGE="http://www.gnugeneration.com/software/wmsysmon/" +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="alpha amd64 ppc ppc64 sparc x86" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xextproto + >=sys-apps/sed-4.1.5-r1" + +src_unpack() +{ + unpack ${A} + cd "${S}" + + # bug 48851 + epatch "${WORKDIR}"/${P}-s4t4n.patch + + # Monitor all the 24 interrupts on alpha and x86 SMP machines + if use alpha || use high-ints; then + cd src + epatch "${FILESDIR}"/${PN}-high-ints.patch + fi + + # Do no strip binaries during compilation, see bug #252113 + sed -i 's/LDFLAGS += -lXpm -lXext -lX11 -lm -s/LDFLAGS += -lXpm -lXext -lX11 -lm/' "src/Makefile" +} + +src_compile() +{ + GENTOO_CFLAGS="${CFLAGS}" make -C src +} + +src_install () +{ + dobin src/wmsysmon + dodoc ChangeLog README +} |