From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AA242138334 for ; Mon, 24 Sep 2018 16:49:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9715EE09AE; Mon, 24 Sep 2018 16:49:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5F470E09AE for ; Mon, 24 Sep 2018 16:49:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 14B62335C8D for ; Mon, 24 Sep 2018 16:49:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 44FBC3C3 for ; Mon, 24 Sep 2018 16:49:47 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1537807778.a57c85880af3b8d5696dbf5a0067e28d3d70873d.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: xfce-extra/xfce4-diskperf-plugin/files/, xfce-extra/xfce4-diskperf-plugin/ X-VCS-Repository: repo/gentoo X-VCS-Files: xfce-extra/xfce4-diskperf-plugin/files/xfce4-diskperf-plugin-2.6.1-sysmacros.patch xfce-extra/xfce4-diskperf-plugin/xfce4-diskperf-plugin-2.6.1-r1.ebuild X-VCS-Directories: xfce-extra/xfce4-diskperf-plugin/ xfce-extra/xfce4-diskperf-plugin/files/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: a57c85880af3b8d5696dbf5a0067e28d3d70873d X-VCS-Branch: master Date: Mon, 24 Sep 2018 16:49:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: a59299fa-a378-417e-8c94-263c24893f4c X-Archives-Hash: 95ff19864fa641377c303a565b6af1b7 commit: a57c85880af3b8d5696dbf5a0067e28d3d70873d Author: Michał Górny gentoo org> AuthorDate: Mon Sep 24 16:45:24 2018 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Sep 24 16:49:38 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a57c8588 xfce-extra/xfce4-diskperf-plugin: Apply proper sysmacros.h fix Closes: https://bugs.gentoo.org/661994 Signed-off-by: Michał Górny gentoo.org> .../xfce4-diskperf-plugin-2.6.1-sysmacros.patch | 24 +++++++++++++ .../xfce4-diskperf-plugin-2.6.1-r1.ebuild | 40 ++++++++++++++++++++++ 2 files changed, 64 insertions(+) diff --git a/xfce-extra/xfce4-diskperf-plugin/files/xfce4-diskperf-plugin-2.6.1-sysmacros.patch b/xfce-extra/xfce4-diskperf-plugin/files/xfce4-diskperf-plugin-2.6.1-sysmacros.patch new file mode 100644 index 00000000000..13a8df73bfe --- /dev/null +++ b/xfce-extra/xfce4-diskperf-plugin/files/xfce4-diskperf-plugin-2.6.1-sysmacros.patch @@ -0,0 +1,24 @@ +From dd62d6dae6ad77b586af69faf8fdee8d7c87051b Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= +Date: Sat, 21 Oct 2017 00:14:32 +0200 +Subject: [PATCH] Add include required for glibc-2.25+ + +--- + panel-plugin/devperf.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/panel-plugin/devperf.c b/panel-plugin/devperf.c +index 175fd44..9348c9e 100644 +--- a/panel-plugin/devperf.c ++++ b/panel-plugin/devperf.c +@@ -35,6 +35,7 @@ + #include + /* for major() and minor() */ + #define _BSD_SOURCE ++#include + #include + + +-- +2.15.0.rc1 + diff --git a/xfce-extra/xfce4-diskperf-plugin/xfce4-diskperf-plugin-2.6.1-r1.ebuild b/xfce-extra/xfce4-diskperf-plugin/xfce4-diskperf-plugin-2.6.1-r1.ebuild new file mode 100644 index 00000000000..6484f9ed605 --- /dev/null +++ b/xfce-extra/xfce4-diskperf-plugin/xfce4-diskperf-plugin-2.6.1-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit gnome2-utils xdg-utils + +DESCRIPTION="A panel plug-in for disk usage and performance statistics" +HOMEPAGE="https://goodies.xfce.org/projects/panel-plugins/xfce4-diskperf-plugin" +SRC_URI="https://archive.xfce.org/src/panel-plugins/${PN}/${PV%.*}/${P}.tar.bz2" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +RDEPEND=">=xfce-base/libxfce4ui-4.12:=[gtk3(+)] + >=xfce-base/xfce4-panel-4.12:=" +DEPEND="${RDEPEND} + dev-util/intltool + sys-devel/gettext + virtual/pkgconfig" + +PATCHES=( + # https://bugzilla.xfce.org/show_bug.cgi?id=13940 + # (simpler Linux-only version; portable version merged as 0787a89) + "${FILESDIR}"/xfce4-diskperf-plugin-2.6.1-sysmacros.patch +) + +pkg_postinst() { + xdg_desktop_database_update + xdg_mimeinfo_database_update + gnome2_icon_cache_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_mimeinfo_database_update + gnome2_icon_cache_update +}