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 D464F139694 for ; Wed, 24 May 2017 14:29:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 03030E0EF1; Wed, 24 May 2017 14:29:55 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BC596E0EF1 for ; Wed, 24 May 2017 14:29:54 +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 83E743417F3 for ; Wed, 24 May 2017 14:29:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E09B3745D for ; Wed, 24 May 2017 14:29:51 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1495636187.a5233fba8204e4e9915b724dd7571e4f5770c927.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/libsmbios/files/, sys-libs/libsmbios/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-libs/libsmbios/Manifest sys-libs/libsmbios/files/libsmbios-2.3.3-doxygen_target.patch sys-libs/libsmbios/libsmbios-2.3.3.ebuild X-VCS-Directories: sys-libs/libsmbios/ sys-libs/libsmbios/files/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: a5233fba8204e4e9915b724dd7571e4f5770c927 X-VCS-Branch: master Date: Wed, 24 May 2017 14:29:51 +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: 97a58dc0-5691-4446-a3d3-ebae3a1d0457 X-Archives-Hash: b2b9a1aa38eebd16a54254e7aa76f431 commit: a5233fba8204e4e9915b724dd7571e4f5770c927 Author: Lars Wendler gentoo org> AuthorDate: Wed May 24 14:29:29 2017 +0000 Commit: Lars Wendler gentoo org> CommitDate: Wed May 24 14:29:47 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5233fba sys-libs/libsmbios: Bump to version 2.3.3 Package-Manager: Portage-2.3.6, Repoman-2.3.2 sys-libs/libsmbios/Manifest | 1 + .../files/libsmbios-2.3.3-doxygen_target.patch | 19 ++++++ sys-libs/libsmbios/libsmbios-2.3.3.ebuild | 79 ++++++++++++++++++++++ 3 files changed, 99 insertions(+) diff --git a/sys-libs/libsmbios/Manifest b/sys-libs/libsmbios/Manifest index 741a9a7cbca..bb60049bc1c 100644 --- a/sys-libs/libsmbios/Manifest +++ b/sys-libs/libsmbios/Manifest @@ -1,2 +1,3 @@ DIST libsmbios-2.3.0.tar.xz 830840 SHA256 c71f040df170f6b55a874f292929792449ba1fad6029ba18544ed04a88343c1c SHA512 944df2dde0df8a02d4c5a84ff6e535e112e6d72b81177c8faba7c45b349ec8c8b2149439c4dc6ea834c5eedad1ac59d8bf073a3d48bf7caccc73d0317f00e216 WHIRLPOOL ac2acbb780f45ebcc9c616881432c981fc9907682b3b4d1e7164921cfa6beeef1a25bdde949375455843209556938ce45a92df8b2a190ab689f1673e72561ac9 DIST libsmbios-2.3.2.tar.gz 800862 SHA256 527874a2abad8f8a9320eeb6b5dd11b6d5b8fff6cdc90bb0f757c39da519714f SHA512 6ef3d71892e157d81fc466689b67c19b83567ee1c4893816da935cfc42738cf958f972eed811aad375fee5bb7d4a6b4e13fb1b5760cd0d7cdb5e65170ebeb129 WHIRLPOOL 499c27d690b2f7b26272423ac9835c7726ef6667e34ed9212cb41d1ff207fddd75749228995de746b2daf5c24b9c4bb7d6d6e72b009c56f4fd53caa455ecf755 +DIST libsmbios-2.3.3.tar.gz 801164 SHA256 272ba8c9fa4a468938b8fa81b23a09c72acc97371f3be7c882bb222c1ae7157d SHA512 d4ee556fc0b734827e1a0def9c9914e79130ce9f164f62a5aa752276772f9ed27874fd8a285b65e016f16f001cdfa23c7c9d228533bb8a03134db90b9cc4f96d WHIRLPOOL 78f3d136ee56ec3c6a6708d03df2eef8ea43fba11639448a26300dcaf7ae340f21c7656b58e7a00ba035f2b4227d43eea3007a9f2289ed8e923b068fe66a90ad diff --git a/sys-libs/libsmbios/files/libsmbios-2.3.3-doxygen_target.patch b/sys-libs/libsmbios/files/libsmbios-2.3.3-doxygen_target.patch new file mode 100644 index 00000000000..4adca14f21d --- /dev/null +++ b/sys-libs/libsmbios/files/libsmbios-2.3.3-doxygen_target.patch @@ -0,0 +1,19 @@ +--- libsmbios-2.3.3/Makefile.am ++++ libsmbios-2.3.3/Makefile.am +@@ -89,13 +89,15 @@ + + + ########## DOCS ################ +-all: doxygen + if HAVE_DOXYGEN ++all: doxygen + DOXYGEN_DEPS=out/libsmbios_c/html/index.html + if BUILD_LIBSMBIOS_CXX + DOXYGEN_DEPS+=out/libsmbios_c++/html/index.html + endif + doxygen: $(DOXYGEN_DEPS) ++else ++all: + endif + + DOT=@DOT@ diff --git a/sys-libs/libsmbios/libsmbios-2.3.3.ebuild b/sys-libs/libsmbios/libsmbios-2.3.3.ebuild new file mode 100644 index 00000000000..9064df57b93 --- /dev/null +++ b/sys-libs/libsmbios/libsmbios-2.3.3.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) + +inherit autotools flag-o-matic python-single-r1 versionator + +DESCRIPTION="Provide access to (SM)BIOS information" +HOMEPAGE="http://linux.dell.com/files/libsmbios/" +SRC_URI="https://github.com/dell/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2 OSL-2.0" +SLOT="0" +KEYWORDS="~amd64 ~ia64 ~x86" +IUSE="doc graphviz nls python static-libs test" + +RDEPEND="dev-libs/libxml2 + sys-libs/zlib + nls? ( virtual/libintl ) + python? ( ${PYTHON_DEPS} )" +DEPEND="${RDEPEND} + virtual/pkgconfig + doc? ( app-doc/doxygen ) + graphviz? ( media-gfx/graphviz ) + nls? ( sys-devel/gettext ) + test? ( >=dev-util/cppunit-1.9.6 )" + +PATCHES=( + "${FILESDIR}/${PN}-fix-pie.patch" + "${FILESDIR}/${PN}-2.2.28-cppunit-tests.patch" + "${FILESDIR}/${PN}-2.3.3-doxygen_target.patch" +) + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_prepare() { + default + + >pkg/py-compile + + # Don't build yum-plugin - we don't need it + sed '/yum-plugin/d' -i Makefile.am || die + + eautoreconf +} + +src_configure() { + #Remove -O3 for bug #290097 + replace-flags -O3 -O2 + + econf \ + $(use_enable doc doxygen) \ + $(use_enable graphviz) \ + $(use_enable nls) \ + $(use_enable python) \ + $(use_enable static-libs static) +} + +src_install() { + emake install DESTDIR="${D}" + + if use python ; then + python_scriptinto /usr/sbin + python_doscript "${ED%/}"/usr/sbin/smbios-{{keyboard,thermal,token,wakeup,wireless}-ctl,lcd-brightness,passwd,sys-info} + fi + + insinto /usr/include/ + doins -r src/include/smbios/ + doins -r src/include/smbios_c + + einstalldocs + + if ! use static-libs ; then + find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die + fi +}