From: "Michael Weber" <xmw@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
Date: Mon, 13 Jun 2016 19:39:48 +0000 (UTC) [thread overview]
Message-ID: <1465846619.086ffb5e18a2f158eaffbbb88152f31fee72a3ec.xmw@gentoo> (raw)
commit: 086ffb5e18a2f158eaffbbb88152f31fee72a3ec
Author: Michael Weber <xmw <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 13 19:36:31 2016 +0000
Commit: Michael Weber <xmw <AT> gentoo <DOT> org>
CommitDate: Mon Jun 13 19:36:59 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=086ffb5e
dev-util/cppcheck: Version bump, thanks Christian Strahl, bug 585444.
Package-Manager: portage-2.2.28
dev-util/cppcheck/Manifest | 1 +
dev-util/cppcheck/cppcheck-1.74.ebuild | 105 +++++++++++++++++++++++++++++++++
2 files changed, 106 insertions(+)
diff --git a/dev-util/cppcheck/Manifest b/dev-util/cppcheck/Manifest
index 194836e..1c94c4e 100644
--- a/dev-util/cppcheck/Manifest
+++ b/dev-util/cppcheck/Manifest
@@ -1,2 +1,3 @@
DIST cppcheck-1.72.tar.bz2 1125775 SHA256 9460b184ff2d8dd15344f3e2f42f634c86e4dd3303e1e9b3f13dc67536aab420 SHA512 13b2348c97a3777feaad579f8620f18d90f6f934f92f5db712c7190af1f40042527500aefa4c8ccd348f7691b1c0d5f32115085c9385dec55460d5ba0804a410 WHIRLPOOL 790514f4b5b9c539a30daa691d268c6c5f1077743cde1af8834248eb4213224275e9f72cea46f3b378119a3d0944d7e8d63270c0cd47517c7f382c683a1938fe
DIST cppcheck-1.73.tar.bz2 1147270 SHA256 36f68354734310203c285fac17aed47bb82131fc0487145b9c0386301cd5fe50 SHA512 a703cb47016982c27509bd46fa601b5baf359b0c44be188e2f5fe7d64b2accc392af5aa803a5e298b778f15b979585781ecd1459c8d2dd8b033f34cb1bad15a7 WHIRLPOOL 1ecbcd36f3ed36c0db3a9e6c99b730c164c5e4a680dfa1f6b3a84df5a9e4e7ca0ab902d34306dcaf12c9ffd686fbac4492f07b12b99d862d9152db6ffeac377c
+DIST cppcheck-1.74.tar.bz2 1151321 SHA256 c05b2f7e4619326f4cbdf6465d517cd0e37349e1221356470d75a97ca35fc254 SHA512 aa77747618ae16d796c428dc5931dc39bb51774dcdbea740c5cfc0f353c3b825c9673c84d0f2196cb8749f54c66f2d358f45b372aa5db9b057d3de740d852f01 WHIRLPOOL 07aa11a0e5478ea9c7eafa79359259d3570424d3a7dfd0ad2d623a69157d09fbdb2f72ce576d19db142d67a69b2b0663b7e37d42d2ea5781401eb6723123dd1b
diff --git a/dev-util/cppcheck/cppcheck-1.74.ebuild b/dev-util/cppcheck/cppcheck-1.74.ebuild
new file mode 100644
index 0000000..34c8313
--- /dev/null
+++ b/dev-util/cppcheck/cppcheck-1.74.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
+
+inherit distutils-r1 eutils qt4-r2 toolchain-funcs flag-o-matic
+
+DESCRIPTION="static analyzer of C/C++ code"
+HOMEPAGE="http://cppcheck.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="htmlreport pcre qt4"
+
+RDEPEND="htmlreport? ( dev-python/pygments[${PYTHON_USEDEP}] )
+ >=dev-libs/tinyxml2-2
+ qt4? ( dev-qt/qtgui:4 )
+ pcre? ( dev-libs/libpcre )"
+DEPEND="${RDEPEND}
+ app-text/docbook-xsl-stylesheets
+ dev-libs/libxslt
+ virtual/pkgconfig"
+
+src_prepare() {
+ append-cxxflags -std=c++0x
+
+ # Drop bundled libs, patch Makefile generator and re-run it
+ rm -r externals || die
+ epatch "${FILESDIR}"/${PN}-1.72-tinyxml2.patch
+ tc-export CXX
+ emake dmake
+ ./dmake || die
+
+ epatch_user
+}
+
+src_configure() {
+ if use pcre ; then
+ sed -e '/HAVE_RULES=/s:=no:=yes:' \
+ -i Makefile
+ fi
+ if use qt4 ; then
+ pushd gui
+ qt4-r2_src_configure
+ popd
+ fi
+}
+
+src_compile() {
+ export LIBS="$(pkg-config --libs tinyxml2)"
+ emake ${PN} man \
+ CFGDIR="${EROOT}usr/share/${PN}/cfg" \
+ DB2MAN="${EROOT}usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl"
+
+ if use qt4 ; then
+ pushd gui
+ qt4-r2_src_compile
+ popd
+ fi
+ if use htmlreport ; then
+ pushd htmlreport
+ distutils-r1_src_compile
+ popd
+ fi
+}
+
+src_test() {
+ # safe final version
+ mv -v ${PN}{,.final}
+ mv -v lib/library.o{,.final}
+ mv -v cli/cppcheckexecutor.o{,.final}
+ #trigger recompile with CFGDIR inside ${S}
+ emake check CFGDIR="${S}/cfg"
+ # restore
+ mv -v ${PN}{.final,}
+ mv -v lib/library.o{.final,}
+ mv -v cli/cppcheckexecutor.o{.final,}
+}
+
+src_install() {
+ # it's not autotools-based, so "${ED}" here, not "${D}", bug 531760
+ emake install DESTDIR="${ED}"
+
+ insinto "/usr/share/${PN}/cfg"
+ doins cfg/*.cfg
+ if use qt4 ; then
+ dobin gui/${PN}-gui
+ dodoc gui/{projectfile.txt,gui.${PN}}
+ fi
+ if use htmlreport ; then
+ pushd htmlreport
+ distutils-r1_src_install
+ popd
+ find "${D}" -name "*.egg-info" -delete
+ else
+ rm "${ED}/usr/bin/cppcheck-htmlreport" || die
+ fi
+ doman ${PN}.1
+ dodoc -r triage
+}
next reply other threads:[~2016-06-13 19:39 UTC|newest]
Thread overview: 103+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-13 19:39 Michael Weber [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-12-31 9:08 [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/ Andreas Sturmlechner
2024-12-31 9:08 Andreas Sturmlechner
2024-09-11 18:35 Arthur Zamarin
2024-09-10 10:25 Arthur Zamarin
2024-09-09 20:44 Arthur Zamarin
2024-09-09 20:44 Arthur Zamarin
2024-07-15 4:35 Sam James
2024-07-15 4:35 Sam James
2024-05-28 20:49 Sam James
2024-05-28 12:04 Michał Górny
2024-05-28 11:52 Michał Górny
2023-12-23 17:38 Sam James
2023-09-19 9:06 Sam James
2023-06-01 3:39 Sam James
2023-05-27 6:34 Arthur Zamarin
2023-05-27 6:34 Arthur Zamarin
2023-05-06 11:47 Arthur Zamarin
2023-05-03 6:33 Arthur Zamarin
2023-05-01 9:53 Sam James
2023-04-13 15:19 Matthias Maier
2023-03-07 0:18 Yixun Lan
2022-11-23 7:53 WANG Xuerui
2022-08-29 19:06 Sam James
2022-08-06 2:55 Sam James
2022-07-13 4:32 Sam James
2022-07-10 23:50 Sam James
2022-07-09 9:55 Sam James
2022-02-15 16:19 Sam James
2022-02-14 10:35 Jakov Smolić
2022-01-03 12:37 Sam James
2022-01-02 5:52 Sam James
2022-01-02 3:05 Sam James
2021-11-23 22:19 Sam James
2021-11-23 22:07 Sam James
2021-11-23 21:07 Sam James
2021-11-23 21:07 Sam James
2021-11-23 20:57 Sam James
2021-11-22 15:52 David Seifert
2021-10-15 6:00 Agostino Sarubbo
2021-10-14 16:38 Sam James
2021-10-14 13:40 Agostino Sarubbo
2021-10-14 7:33 Sam James
2021-08-03 23:37 Sam James
2021-06-03 8:23 Sam James
2021-05-31 7:58 Sam James
2021-05-31 7:58 Sam James
2021-04-29 1:30 Sam James
2020-12-13 18:23 Matthias Maier
2020-12-13 18:23 Matthias Maier
2020-12-05 14:58 Guilherme Amadio
2020-12-05 14:58 Guilherme Amadio
2020-12-04 5:37 Matthias Maier
2020-06-20 18:59 Sergei Trofimovich
2020-03-29 17:56 Mart Raudsepp
2020-02-13 19:52 Sergei Trofimovich
2020-02-11 19:50 Agostino Sarubbo
2020-02-11 19:43 Agostino Sarubbo
2020-02-11 12:16 Michał Górny
2019-07-31 21:11 Aaron Bauman
2019-06-12 7:25 Sergei Trofimovich
2019-05-24 16:20 Matthias Maier
2019-05-24 16:20 Matthias Maier
2019-03-24 16:52 Matthias Maier
2019-03-24 16:52 Matthias Maier
2019-02-04 5:11 Jeroen Roovers
2019-01-18 9:27 Jeroen Roovers
2019-01-18 9:27 Jeroen Roovers
2019-01-16 15:36 Mikle Kolyada
2019-01-03 14:58 Sergei Trofimovich
2019-01-03 9:27 Sergei Trofimovich
2019-01-02 19:01 Thomas Deutschmann
2018-12-21 15:33 Jeroen Roovers
2018-12-12 15:19 Jeroen Roovers
2018-12-12 15:11 Jeroen Roovers
2018-09-18 23:04 Matt Turner
2018-08-11 9:06 Andreas Sturmlechner
2018-08-11 9:06 Andreas Sturmlechner
2018-08-11 9:06 Andreas Sturmlechner
2018-06-26 18:46 Pacho Ramos
2018-01-19 20:05 Michael Weber
2017-12-27 11:08 Sergei Trofimovich
2017-12-25 3:16 Michael Palimaka
2017-12-23 20:24 Sergei Trofimovich
2017-12-18 16:51 Jason Zaman
2017-11-23 21:44 Andreas Sturmlechner
2017-11-22 22:01 Andreas Sturmlechner
2017-11-22 22:01 Andreas Sturmlechner
2017-11-22 22:01 Andreas Sturmlechner
2017-11-22 22:01 Andreas Sturmlechner
2017-10-12 9:11 Sergei Trofimovich
2017-10-12 9:11 Sergei Trofimovich
2017-07-30 9:38 Michał Górny
2017-05-16 20:34 Michael Weber
2017-04-17 8:02 Agostino Sarubbo
2017-04-05 12:55 Agostino Sarubbo
2017-04-03 21:50 Michael Weber
2017-01-12 8:19 Michael Weber
2017-01-12 8:19 Michael Weber
2016-08-04 12:23 Michael Weber
2016-05-07 21:55 Michael Weber
2016-03-14 22:12 Agostino Sarubbo
2015-09-15 15:16 Michael Weber
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=1465846619.086ffb5e18a2f158eaffbbb88152f31fee72a3ec.xmw@gentoo \
--to=xmw@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