From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- app-benchmarks/gtkperf/Manifest | 4 ++ .../gtkperf/files/gtkperf-0.40-gentoo.patch | 47 ++++++++++++++++++++++ app-benchmarks/gtkperf/gtkperf-0.40-r1.ebuild | 40 ++++++++++++++++++ app-benchmarks/gtkperf/metadata.xml | 16 ++++++++ 4 files changed, 107 insertions(+) create mode 100644 app-benchmarks/gtkperf/Manifest create mode 100644 app-benchmarks/gtkperf/files/gtkperf-0.40-gentoo.patch create mode 100644 app-benchmarks/gtkperf/gtkperf-0.40-r1.ebuild create mode 100644 app-benchmarks/gtkperf/metadata.xml (limited to 'app-benchmarks/gtkperf') diff --git a/app-benchmarks/gtkperf/Manifest b/app-benchmarks/gtkperf/Manifest new file mode 100644 index 000000000000..1fa2e2439db9 --- /dev/null +++ b/app-benchmarks/gtkperf/Manifest @@ -0,0 +1,4 @@ +AUX gtkperf-0.40-gentoo.patch 1008 BLAKE2B 9aba78c70fe1c8a7c5166c01a145dd758b9e402509be6f0bec8a57a5bad00fda9623d991ddcb8a0609f8515fc53e20cb55639d41cef035cbaf1386672d866887 SHA512 f0feb9f17471167b352d79dfde1439ef0cdb5d2961a191bb9716a2b75a6c5dd2067a80ab3dcaf5669f335b9b0200803c234b228bc64d3152578ab3f3ab21564d +DIST gtkperf_0.40.tar.gz 402982 BLAKE2B 2fc26da36d2799a0b79810f52399ee49cc36e3093b35605142e73ae91f6953927194f50df35f02246e3ea3ce4b5e253731dbe3a9d550d5b20a001dd06597d89e SHA512 d406955b38c0450c3c6a6a7e9fb1fa7b326932325360353001cab6be63c8deaaea487123512740b57cdc28579ee84aabce789df5ce7dfaa92f8d9010f0a6d7be +EBUILD gtkperf-0.40-r1.ebuild 724 BLAKE2B 300cad3ca441d72cec91de139a8982af51dccef7a2dda75cf7a2f303f0e183661a1e8cb4d570850e0066b1a83d2f3a65fcfdc4c38d8014bf5aca0a8c7e48be4a SHA512 3bd350a934e5d2b21af8eb0b404f5eade82dcbff5994605fcfdd01b25c2e9950897cadf713f87152096b658e25bf13a85f9cbbd5e7cf9fc29005c3d0e6c47c2c +MISC metadata.xml 592 BLAKE2B e1721dda782499ec5d22b22681440a0f718123afab9c48a07877bc7373ddfd500a40a6a118ef47980a113bbd3703de1bb77b6ca2aa8b9f5628843c5f8681d4be SHA512 1b8e9e427468d498f3e064184f48886b43370328d5640cc14d38603a03bb90ab8467e95783d8d5ea12ab211f3643c369400d0571f5e181cdd9131a19f48a524a diff --git a/app-benchmarks/gtkperf/files/gtkperf-0.40-gentoo.patch b/app-benchmarks/gtkperf/files/gtkperf-0.40-gentoo.patch new file mode 100644 index 000000000000..eee7faf43b61 --- /dev/null +++ b/app-benchmarks/gtkperf/files/gtkperf-0.40-gentoo.patch @@ -0,0 +1,47 @@ +--- gtkperf-0.40/work/gtkperf/configure.in ++++ gtkperf-0.40/work/gtkperf/configure.in +@@ -8,7 +8,6 @@ + AM_CONFIG_HEADER(config.h) + + AC_ISC_POSIX +-CFLAGS="" + AC_SUBST(CFLAGS) + AC_PROG_CC + AM_PROG_CC_STDC +--- gtkperf-0.40/work/gtkperf/src/timing.c ++++ gtkperf-0.40/work/gtkperf/src/timing.c +@@ -97,7 +97,7 @@ + gtk_text_buffer_insert (appdata->textview_info_buffer, &iter, + timestring, -1); + +- g_printf (timestring); ++ g_printf ("%s", timestring); + + } + +@@ -129,7 +129,7 @@ + gtk_statusbar_push (GTK_STATUSBAR (appdata->statusbar_main), 0, + " Test Finished"); + +- g_printf (timestring); ++ g_printf ("%s", timestring); + + } + +@@ -154,5 +154,5 @@ + gtk_statusbar_push (GTK_STATUSBAR (appdata->statusbar_main), 0, + " Running tests..."); + +- g_printf (timestring); ++ g_printf ("%s", timestring); + } +--- gtkperf-0.40/work/gtkperf/src/main.c ++++ gtkperf-0.40/work/gtkperf/src/main.c +@@ -5,6 +5,7 @@ + #endif + + #include ++#include + + #ifdef HILDONIZED + #include diff --git a/app-benchmarks/gtkperf/gtkperf-0.40-r1.ebuild b/app-benchmarks/gtkperf/gtkperf-0.40-r1.ebuild new file mode 100644 index 000000000000..bc948128ccae --- /dev/null +++ b/app-benchmarks/gtkperf/gtkperf-0.40-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils + +MY_P="${PN}_${PV}" +DESCRIPTION="Application designed to test GTK+ performance" +HOMEPAGE="http://gtkperf.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="nls" + +RDEPEND="x11-libs/gtk+:2" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext ) + virtual/pkgconfig" + +S=${WORKDIR}/${PN} + +src_prepare() { + epatch "${FILESDIR}"/${P}-gentoo.patch +} + +src_configure() { + econf $(use_enable nls) +} + +src_install() { + default + + make_desktop_entry ${PN} ${PN} duck + + rm -rf "${D}/usr/doc" || die + dodoc AUTHORS ChangeLog README TODO +} diff --git a/app-benchmarks/gtkperf/metadata.xml b/app-benchmarks/gtkperf/metadata.xml new file mode 100644 index 000000000000..101920d3572d --- /dev/null +++ b/app-benchmarks/gtkperf/metadata.xml @@ -0,0 +1,16 @@ + + + + + xmw@gentoo.org + + + GtkPerf is an application designed to test GTK+ performance. The point + is to create common testing platform to run predefined GTK+ widgets + (opening comboboxes, toggling buttons, scrolling text yms.) and this + way define the speed of device/platform. + + + gtkperf + + -- cgit v1.2.3