From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id DCF5759CA3 for ; Mon, 14 Mar 2016 10:11:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 60B4621C005; Mon, 14 Mar 2016 10:11:01 +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 B567821C005 for ; Mon, 14 Mar 2016 10:11:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 498A2340B6A for ; Mon, 14 Mar 2016 10:10:59 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 465F584F for ; Mon, 14 Mar 2016 10:10:57 +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: <1457950253.52e0cd659923dfdb4a1ef990e2b81ec8e1e23b4e.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.0-doxygen_target.patch sys-libs/libsmbios/libsmbios-2.3.0.ebuild X-VCS-Directories: sys-libs/libsmbios/files/ sys-libs/libsmbios/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 52e0cd659923dfdb4a1ef990e2b81ec8e1e23b4e X-VCS-Branch: master Date: Mon, 14 Mar 2016 10:10:57 +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: 29dc3443-78f0-4b41-8b88-01c7b5d207ff X-Archives-Hash: 24b76b6319d5b1c8293a8add94259bc0 commit: 52e0cd659923dfdb4a1ef990e2b81ec8e1e23b4e Author: Lars Wendler gentoo org> AuthorDate: Mon Mar 14 10:10:36 2016 +0000 Commit: Lars Wendler gentoo org> CommitDate: Mon Mar 14 10:10:53 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52e0cd65 sys-libs/libsmbios: Bump to version 2.3.0 Package-Manager: portage-2.2.28 Signed-off-by: Lars Wendler gentoo.org> sys-libs/libsmbios/Manifest | 1 + .../files/libsmbios-2.3.0-doxygen_target.patch | 16 +++++ sys-libs/libsmbios/libsmbios-2.3.0.ebuild | 80 ++++++++++++++++++++++ 3 files changed, 97 insertions(+) diff --git a/sys-libs/libsmbios/Manifest b/sys-libs/libsmbios/Manifest index 1b9dd90..5165347 100644 --- a/sys-libs/libsmbios/Manifest +++ b/sys-libs/libsmbios/Manifest @@ -1 +1,2 @@ DIST libsmbios-2.2.28.tar.bz2 943292 SHA256 dd247fd43296df3352435b090dd789a22a89c4b316e98b46b915323290a3e350 SHA512 64477adb4cc647613c682d8ff30ced0c951bc83d4cfc696dc343690fb37155e53b0c8c338c7c66822f3b91480fadaf5f70eee6b1ec33371c623213ea07d2b78f WHIRLPOOL e0427e406426705163614f76ac460fa1778b94ad9ce180f606cdf02ff037ee29275830e48065e8a883a19ebe314cc77eabf3cf6a4f9f5c8d5d0b2372486d64ac +DIST libsmbios-2.3.0.tar.xz 830840 SHA256 c71f040df170f6b55a874f292929792449ba1fad6029ba18544ed04a88343c1c SHA512 944df2dde0df8a02d4c5a84ff6e535e112e6d72b81177c8faba7c45b349ec8c8b2149439c4dc6ea834c5eedad1ac59d8bf073a3d48bf7caccc73d0317f00e216 WHIRLPOOL ac2acbb780f45ebcc9c616881432c981fc9907682b3b4d1e7164921cfa6beeef1a25bdde949375455843209556938ce45a92df8b2a190ab689f1673e72561ac9 diff --git a/sys-libs/libsmbios/files/libsmbios-2.3.0-doxygen_target.patch b/sys-libs/libsmbios/files/libsmbios-2.3.0-doxygen_target.patch new file mode 100644 index 0000000..ebe6798 --- /dev/null +++ b/sys-libs/libsmbios/files/libsmbios-2.3.0-doxygen_target.patch @@ -0,0 +1,16 @@ +--- libsmbios-2.3.0/Makefile.am ++++ libsmbios-2.3.0/Makefile.am +@@ -89,10 +89,12 @@ + + + ########## DOCS ################ +-all: doxygen + if HAVE_DOXYGEN ++all: doxygen + DOXYGEN_DEPS=out/libsmbios_c/html/index.html out/libsmbios_c++/html/index.html + doxygen: $(DOXYGEN_DEPS) ++else ++all: + endif + + DOT=@DOT@ diff --git a/sys-libs/libsmbios/libsmbios-2.3.0.ebuild b/sys-libs/libsmbios/libsmbios-2.3.0.ebuild new file mode 100644 index 0000000..8cceca9 --- /dev/null +++ b/sys-libs/libsmbios/libsmbios-2.3.0.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) + +inherit autotools eutils flag-o-matic python-single-r1 + +DESCRIPTION="Provide access to (SM)BIOS information" +HOMEPAGE="http://linux.dell.com/libsmbios/main/index.html" +SRC_URI="http://linux.dell.com/libsmbios/download/libsmbios/${P}/${P}.tar.xz + http://linux.dell.com/libsmbios/download/libsmbios/old/${P}/${P}.tar.xz" + +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.0-doxygen_target.patch" +) + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_prepare() { + default + + >pkg/py-compile + + 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}" + + rm -r "${D}etc/yum" || die + rm -r "${D}usr/lib/yum-plugins" || die + if ! use python ; then + rmdir "${D}libsmbios_c" "${D}usr/share/smbios-utils" || die + rm -r "${D}etc" || die + else + local python_scriptroot="/usr/sbin" + python_doscript "${D}"/usr/sbin/smbios-{lcd-brightness,passwd,rbu-bios-update,sys-info,token-ctl,wakeup-ctl,wireless-ctl} + fi + + insinto /usr/include/ + doins -r src/include/smbios/ + + dodoc AUTHORS ChangeLog NEWS README TODO + + use static-libs || prune_libtool_files --all +}