public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Daniel Pielmeier" <billie@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/conky/files/, app-admin/conky/
Date: Wed, 18 Nov 2015 17:14:13 +0000 (UTC)	[thread overview]
Message-ID: <1447866822.1cd39e035be1286af924eea3da17a5d36dd9aad8.billie@gentoo> (raw)

commit:     1cd39e035be1286af924eea3da17a5d36dd9aad8
Author:     Daniel Pielmeier <billie <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 18 17:13:42 2015 +0000
Commit:     Daniel Pielmeier <billie <AT> gentoo <DOT> org>
CommitDate: Wed Nov 18 17:13:42 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cd39e03

app-admin/conky: Add patch to build with >=cmake-3.4.0.

Also fixes epatch_user which failed in any case, because still
trying to run eautoreconf.
Thanks to Casey Webster for the report and the patches.

Package-Manager: portage-2.2.20.1

 app-admin/conky/conky-1.10.0.ebuild                |  6 ++---
 .../conky/files/conky-1.10.0-includefiles.patch    | 29 ++++++++++++++++++++++
 2 files changed, 32 insertions(+), 3 deletions(-)

diff --git a/app-admin/conky/conky-1.10.0.ebuild b/app-admin/conky/conky-1.10.0.ebuild
index cc1ba4a..b20f331 100644
--- a/app-admin/conky/conky-1.10.0.ebuild
+++ b/app-admin/conky/conky-1.10.0.ebuild
@@ -4,7 +4,7 @@
 
 EAPI=5
 
-inherit autotools eutils libtool cmake-utils linux-info
+inherit eutils cmake-utils linux-info
 
 DESCRIPTION="An advanced, highly configurable system monitor for X"
 HOMEPAGE="https://github.com/brndnmtthws/conky"
@@ -77,10 +77,10 @@ pkg_setup() {
 
 src_prepare() {
 	epatch "${FILESDIR}/${P}-cmake.patch"
+	epatch "${FILESDIR}/${P}-includefiles.patch"
 
 	# Allow user patches #478482
-	# Only run autotools if user patched something
-	epatch_user && eautoreconf || elibtoolize
+	epatch_user
 }
 
 src_configure() {

diff --git a/app-admin/conky/files/conky-1.10.0-includefiles.patch b/app-admin/conky/files/conky-1.10.0-includefiles.patch
new file mode 100644
index 0000000..9480720
--- /dev/null
+++ b/app-admin/conky/files/conky-1.10.0-includefiles.patch
@@ -0,0 +1,29 @@
+--- a/cmake/ConkyPlatformChecks.cmake
++++ b/cmake/ConkyPlatformChecks.cmake
+@@ -22,7 +22,7 @@
+ 
+ include(FindPkgConfig)
+ include(CheckFunctionExists)
+-include(CheckIncludeFile)
++include(CheckIncludeFiles)
+ include(CheckSymbolExists)
+ 
+ # Check for some headers
+@@ -119,7 +119,7 @@ if(BUILD_HTTP)
+ endif(BUILD_HTTP)
+ 
+ if(BUILD_NCURSES)
+-	check_include_file(ncurses.h NCURSES_H)
++	check_include_files(ncurses.h NCURSES_H)
+ 	find_library(NCURSES_LIB NAMES ncurses)
+ 	if(NOT NCURSES_H OR NOT NCURSES_LIB)
+ 		message(FATAL_ERROR "Unable to find ncurses library")
+@@ -167,7 +167,7 @@ endif(BUILD_PORT_MONITORS)
+ 
+ # Check for iconv
+ if(BUILD_ICONV)
+-	check_include_file(iconv.h HAVE_ICONV_H)
++	check_include_files(iconv.h HAVE_ICONV_H)
+ 	find_library(ICONV_LIBRARY NAMES iconv)
+ 	if(NOT ICONV_LIBRARY)
+ 		# maybe iconv() is provided by libc


             reply	other threads:[~2015-11-18 17:14 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-18 17:14 Daniel Pielmeier [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-03-25 15:14 [gentoo-commits] repo/gentoo:master commit in: app-admin/conky/files/, app-admin/conky/ Daniel Pielmeier
2021-01-13 14:56 Daniel Pielmeier
2020-08-06 15:10 Daniel Pielmeier
2019-03-09  7:32 Daniel Pielmeier
2019-03-08 22:00 Daniel Pielmeier
2018-03-11 12:45 Daniel Pielmeier
2018-01-19 16:45 Daniel Pielmeier
2017-11-26 14:27 Daniel Pielmeier
2017-11-18 11:31 Daniel Pielmeier
2017-02-18 12:38 Daniel Pielmeier
2016-09-10 10:08 Daniel Pielmeier
2016-05-18 17:55 Daniel Pielmeier
2016-02-19 16:56 Daniel Pielmeier
2015-09-28 14:28 Daniel Pielmeier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1447866822.1cd39e035be1286af924eea3da17a5d36dd9aad8.billie@gentoo \
    --to=billie@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox