summaryrefslogtreecommitdiff
path: root/xfce-extra/xfce4-taskmanager
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /xfce-extra/xfce4-taskmanager
reinit the tree, so we can have metadata
Diffstat (limited to 'xfce-extra/xfce4-taskmanager')
-rw-r--r--xfce-extra/xfce4-taskmanager/Manifest10
-rw-r--r--xfce-extra/xfce4-taskmanager/files/xfce4-taskmanager-1.0.0-UTF-8.patch24
-rw-r--r--xfce-extra/xfce4-taskmanager/metadata.xml12
-rw-r--r--xfce-extra/xfce4-taskmanager/xfce4-taskmanager-1.0.1.ebuild37
-rw-r--r--xfce-extra/xfce4-taskmanager/xfce4-taskmanager-1.1.0.ebuild44
-rw-r--r--xfce-extra/xfce4-taskmanager/xfce4-taskmanager-1.2.0.ebuild45
6 files changed, 172 insertions, 0 deletions
diff --git a/xfce-extra/xfce4-taskmanager/Manifest b/xfce-extra/xfce4-taskmanager/Manifest
new file mode 100644
index 000000000000..e46b1b107b0e
--- /dev/null
+++ b/xfce-extra/xfce4-taskmanager/Manifest
@@ -0,0 +1,10 @@
+AUX xfce4-taskmanager-1.0.0-UTF-8.patch 675 SHA256 7d4e5cc8f0cf040e0fcd819d6ee2fa2c0a045ab38732c7e3368a5bc349c086eb SHA512 3c910bcb92a9d3d746d6d8fb0d1521f76b688f4847459347091ebb197d9172b4cb355913e58a836d9474d6b35361a6359e33ae88f19f3ffb8078a4bec134a9da WHIRLPOOL 29f35759988c6d5a7bd0b4452d8100ee4d79d087616beb10bb1db276caf126d3f98cae64420c84cda61a18e38c0c8351ec8ae02ecb2bd481d0fe71c7731d1bc0
+DIST xfce4-taskmanager-1.0.1.tar.bz2 368495 SHA256 f5aa2796dd9971f8ae400238bfcdd9fa1322dba1466d1e6fd5bf8ee7e88bee86 SHA512 2108a31738c9d544537b830de1089b776272333fa8599cbdf0598cca5af5ec312139ad52137902baa98ebf6c5167fb1ab62b34d7b790b539d01bbe40023411e5 WHIRLPOOL dc91bca96e33065cd52fc5af45bbed885f1100b80fc0293c9ef25f078c88f7eb615b283d1b6f841c86def004d51424f13a2b173be8d0c0e7b4f98a52072663bb
+DIST xfce4-taskmanager-1.1.0.tar.bz2 365866 SHA256 2e1eb161f966cbfbd68bd029fb59115bc5ab0c0704cb500d20e7d73967e59ecb SHA512 a7b1d1a6836f89747c873c87e495830438cf3093fd044c43c951abca6a82ab2c0ae9a41eba89d570a83f41fb6ad447c9c4fc578930684c981fbe45de19e1d7f8 WHIRLPOOL 0d3525a572326538ebf4d0d1b58ab703bb95b91a3208a8328d3cc9cb5590e500b6d903f1d4ad36a4e97ef164f7110992bc2a8300610111ce5942891e888ad995
+DIST xfce4-taskmanager-1.2.0.tar.bz2 435276 SHA256 5746d473ad428b13db7c05cfcbc8099fbea13da6be26d3a9359bcb4de971ba69 SHA512 45a496dc406eb825b9829a9cd0b76250566df0bf57dd39413112512209936b52cd3271fd1933dd972582178d897ef40ab8e106b2980db6963d29373940fdcc2d WHIRLPOOL e69b7c56d90849f79ed1b2dc05b29a8e9d17935384bf8555fb417cb46351bd27806aad0a961372207b055139af0d56f5717ec2dedd1148dd55a9b49dc33a355d
+EBUILD xfce4-taskmanager-1.0.1.ebuild 801 SHA256 7a335487f096e6549649bfd4703965f29aaf7d5269924e9c33d21148bf5b518e SHA512 ed931c60bf28e534e6d536ff9d6cc5debf985e6f7c60cde1713fb13429f7f71a617ddf8bd911152c0d552b112b0d12e6d38f6d281ef2e785348fb5bef5f14a94 WHIRLPOOL 4d4e22ed720b830fb5d9a0a256a543b11b8e9b4c7c4168da32f93488b934cc883a34d66ff7e0823807e270721022baec06dd5b837a794c2c1f260ab43c5f9cbb
+EBUILD xfce4-taskmanager-1.1.0.ebuild 989 SHA256 d97850e44b2853fe5cf96f2d3c570b8204c729bbfd424ddf0a9be3f7ebddcb07 SHA512 8c54e7f3bb99b30b692613c9f66411c1d93849bb8431ab8f6a2d2da655beaf32f68ec563e4c6900f176c6a538ed4eb5092f436321860cd25f79e9eefd4e47493 WHIRLPOOL a1b6d47ab0542d5b611c28f8d67c51e0f5a42c632c2d329568b7597d9353d9441649bdc94799bc6c3c96285f77d66cfe9cdc993ba9097ce0549585a0687376d1
+EBUILD xfce4-taskmanager-1.2.0.ebuild 964 SHA256 29358d7acbab766e57a508cb8d67b3c6efe88b588d673011020090d9773d22bd SHA512 033995b2e1cf3547c8752577d9e6e5a079b99ed261fa503b011d1a54a964adb5714250843d9bfb58e82c0c3c5e939c0447708c9f80f3b44245a36293d0c17a42 WHIRLPOOL 8426aa4fe98a486f9e8d4e310afb0215912e025cf45efc930bdd8c4b13deca67ec92d54902d3c234388d6f6325a9791580b89aaa2a9accd8335e9c50752d984d
+MISC ChangeLog 2872 SHA256 f3bee47a3312cda24a0b407fc1be4a3e5401766cdff37dfcd26468c750dda398 SHA512 91d1ed7d46ad67100e12c6b4bcd2f2796360184dbb09dc7c8a68013fa15f3a35c724b73b35c79df373e1aec6329d33af771fa5c18bdc04e2a1a9c3592e22aada WHIRLPOOL b411ab24cc928f013531450a94dc20a41ea6304070da7a5025e099f91afa7333ad2d37c8be170a11e50b6076a7115f74f7783fea921981fb71f3ed1001cef6d0
+MISC ChangeLog-2015 11450 SHA256 633888e3a96782ace19f9c98b3ee409b8a696b57c9821bf5b42892dc00cf6a81 SHA512 6ef8380d2ef733c6ba765efc6e65f7a3d73403a2df4898ef0fb4ea329b22f1f67f555c51939a7121d962288d534e5bc4d1f8cc221ac5da65d146ef5ec1aa662e WHIRLPOOL e0a8778fb682bf8f3ff822bd0cd50b00fb7de4e3f89da1680239a388f0686accf886e7d48d53c74f3f705d193be0a128e6df38fdc9909742d5f3babe7efbee50
+MISC metadata.xml 447 SHA256 dd0f2ff214b476a2c35f5fb07580f9db75aa1bea34dc92d7f73a7731737d6bc1 SHA512 75ab73ff6fa97981518208d5d38b4acc4ebd1c96f8ced34f97c05632ba0a154e78ca4bfd79a0b39fe648a19710954f281274edeac91e2924e705e1a36d374c8f WHIRLPOOL 642a9bfb1f2b0c8209dea1698c250f273f803da0932adc2a9429ac54de87b297abb7d13654c298b930778563caba47b0179eae80519d70c8df680093570a52c3
diff --git a/xfce-extra/xfce4-taskmanager/files/xfce4-taskmanager-1.0.0-UTF-8.patch b/xfce-extra/xfce4-taskmanager/files/xfce4-taskmanager-1.0.0-UTF-8.patch
new file mode 100644
index 000000000000..a43e77f85f5c
--- /dev/null
+++ b/xfce-extra/xfce4-taskmanager/files/xfce4-taskmanager-1.0.0-UTF-8.patch
@@ -0,0 +1,24 @@
+http://bugs.gentoo.org/488626
+http://bugzilla.xfce.org/show_bug.cgi?id=10417
+
+--- src/task-manager-linux.c
++++ src/task-manager-linux.c
+@@ -128,7 +128,7 @@
+ FILE *file;
+ gchar filename[96];
+ gint i;
+- gchar c;
++ gint c;
+
+ snprintf (filename, 96, "/proc/%i/cmdline", task->pid);
+ if ((file = fopen (filename, "r")) == NULL)
+@@ -136,7 +136,7 @@
+
+ /* Read full command byte per byte until EOF */
+ for (i = 0; (c = fgetc (file)) != EOF && i < (gint)sizeof (task->cmdline) - 1; i++)
+- task->cmdline[i] = (c == '\0') ? ' ' : c;
++ task->cmdline[i] = (c == '\0') ? ' ' : (gchar)c;
+ task->cmdline[i] = '\0';
+ if (task->cmdline[i-1] == ' ')
+ task->cmdline[i-1] = '\0';
+
diff --git a/xfce-extra/xfce4-taskmanager/metadata.xml b/xfce-extra/xfce4-taskmanager/metadata.xml
new file mode 100644
index 000000000000..525363dc9b20
--- /dev/null
+++ b/xfce-extra/xfce4-taskmanager/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>xfce@gentoo.org</email>
+ <name>XFCE Team</name>
+ </maintainer>
+ <use>
+ <flag name="gksu">Build against <pkg>x11-libs/libgksu</pkg> to provide "Run as root" option in the application's menu</flag>
+ <flag name="gtk3">Use GTK+3 instead of GTK+2</flag>
+ </use>
+</pkgmetadata>
diff --git a/xfce-extra/xfce4-taskmanager/xfce4-taskmanager-1.0.1.ebuild b/xfce-extra/xfce4-taskmanager/xfce4-taskmanager-1.0.1.ebuild
new file mode 100644
index 000000000000..cf2beeb81754
--- /dev/null
+++ b/xfce-extra/xfce4-taskmanager/xfce4-taskmanager-1.0.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit xfconf
+
+DESCRIPTION="Task Manager"
+HOMEPAGE="https://goodies.xfce.org/projects/applications/xfce4-taskmanager"
+SRC_URI="mirror://xfce/src/apps/${PN}/${PV%.*}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+IUSE="debug gksu"
+
+RDEPEND="x11-libs/cairo
+ >=x11-libs/gtk+-2.12:2
+ x11-libs/libwnck:1
+ gksu? ( x11-libs/libgksu:2 )"
+DEPEND="${RDEPEND}
+ dev-util/intltool
+ sys-devel/gettext
+ virtual/pkgconfig"
+
+pkg_setup() {
+ PATCHES=(
+ "${FILESDIR}"/${PN}-1.0.0-UTF-8.patch
+ )
+
+ XFCONF=(
+ --enable-wnck
+ $(use_enable gksu)
+ $(xfconf_use_debug)
+ )
+
+ DOCS=( AUTHORS ChangeLog NEWS README THANKS )
+}
diff --git a/xfce-extra/xfce4-taskmanager/xfce4-taskmanager-1.1.0.ebuild b/xfce-extra/xfce4-taskmanager/xfce4-taskmanager-1.1.0.ebuild
new file mode 100644
index 000000000000..8ade79ccd151
--- /dev/null
+++ b/xfce-extra/xfce4-taskmanager/xfce4-taskmanager-1.1.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit xfconf
+
+DESCRIPTION="Task Manager"
+HOMEPAGE="https://goodies.xfce.org/projects/applications/xfce4-taskmanager"
+SRC_URI="mirror://xfce/src/apps/${PN}/${PV%.*}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm ~arm64 ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+IUSE="debug gksu gtk3"
+
+RDEPEND="x11-libs/cairo:=
+ gtk3? (
+ x11-libs/gtk+:3=
+ x11-libs/libwnck:3=
+ )
+ !gtk3? (
+ >=x11-libs/gtk+-2.12:2=
+ x11-libs/libwnck:1=
+ gksu? ( x11-libs/libgksu:2= )
+ )"
+# GTK+2 is required unconditionally
+# https://bugzilla.xfce.org/show_bug.cgi?id=11819
+DEPEND="${RDEPEND}
+ dev-util/intltool
+ sys-devel/gettext
+ >=x11-libs/gtk+-2.12:2=
+ virtual/pkgconfig"
+REQUIRED_USE="gksu? ( !gtk3 )"
+
+pkg_setup() {
+ XFCONF=(
+ --enable-wnck
+ $(use_enable gtk3)
+ $(use_enable gksu)
+ $(xfconf_use_debug)
+ )
+
+ DOCS=( AUTHORS ChangeLog NEWS README THANKS )
+}
diff --git a/xfce-extra/xfce4-taskmanager/xfce4-taskmanager-1.2.0.ebuild b/xfce-extra/xfce4-taskmanager/xfce4-taskmanager-1.2.0.ebuild
new file mode 100644
index 000000000000..b1ff16d53d48
--- /dev/null
+++ b/xfce-extra/xfce4-taskmanager/xfce4-taskmanager-1.2.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Easy to use task manager"
+HOMEPAGE="https://goodies.xfce.org/projects/applications/xfce4-taskmanager"
+SRC_URI="mirror://xfce/src/apps/${PN}/${PV%.*}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+IUSE="gtk3"
+
+RDEPEND="
+ x11-libs/cairo:=
+ x11-libs/libX11:=
+ x11-libs/libXmu:=
+ gtk3? (
+ x11-libs/gtk+:3=
+ x11-libs/libwnck:3=
+ )
+ !gtk3? (
+ >=x11-libs/gtk+-2.12:2=
+ x11-libs/libwnck:1=
+ )"
+# GTK+2 is required unconditionally
+# https://bugzilla.xfce.org/show_bug.cgi?id=11819
+DEPEND="${RDEPEND}
+ dev-util/intltool
+ sys-devel/gettext
+ >=x11-libs/gtk+-2.12:2
+ virtual/pkgconfig"
+
+DOCS=( AUTHORS ChangeLog NEWS README THANKS )
+
+src_configure() {
+ local myconf=(
+ --enable-wnck
+ $(use_enable gtk3)
+ --disable-gksu
+ )
+
+ econf "${myconf[@]}"
+}