[MacPorts] #20918: New port: cppcheck
#20918: New port: cppcheck ----------------------------------------+----------------------------------- Reporter: alek.silverstone@… | Owner: macports-tickets@… Type: request | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: new request | Port: cppcheck ----------------------------------------+----------------------------------- Cppcheck - A tool for static C/C++ code analysis http://astyle.sourceforge.net/ http://sourceforge.net/apps/mediawiki/cppcheck/index.php?title=Main_Page#Get... -- Ticket URL: <http://trac.macports.org/ticket/20918> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20918: New port: cppcheck ----------------------------------------+----------------------------------- Reporter: alek.silverstone@… | Owner: macports-tickets@… Type: request | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: new request | Port: cppcheck ----------------------------------------+----------------------------------- Comment(by jpo@…): The correct home page should be: * http://cppcheck.wiki.sourceforge.net -- Ticket URL: <http://trac.macports.org/ticket/20918#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20918: New port: cppcheck ----------------------------------------+----------------------------------- Reporter: alek.silverstone@… | Owner: macports-tickets@… Type: request | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: new request | Port: cppcheck ----------------------------------------+----------------------------------- Comment(by alek.silverstone@…): Oops, sure, astyle is a different program. -- Ticket URL: <http://trac.macports.org/ticket/20918#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20918: New port: cppcheck ----------------------------------------+----------------------------------- Reporter: alek.silverstone@… | Owner: macports-tickets@… Type: request | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: new request | Port: cppcheck ----------------------------------------+----------------------------------- Comment(by jpo@…): In order to compile the cppcheck command line tool in Leopard (10.5.8 with gcc 4.0.1) I had to disable the gcc -Wlogical-op flag {{{ --- Makefile.orig 2010-03-09 18:07:43.000000000 +0000 +++ Makefile 2010-04-04 20:50:04.000000000 +0100 @@ -1,4 +1,4 @@ -CXXFLAGS=-Wall -Wextra -pedantic -Wfloat-equal -Wcast-qual -Wlogical-op -O2 -DNDEBUG +CXXFLAGS=-Wall -Wextra -pedantic -Wfloat-equal -Wcast-qual -O2 -DNDEBUG CXX=g++ BIN=${DESTDIR}/usr/bin }}} otherwise the build process would terminate with the following error message: {{{ cc1plus: error: unrecognized command line option "-Wlogical-op" }}} -- Ticket URL: <http://trac.macports.org/ticket/20918#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20918: New port: cppcheck ----------------------------------------+----------------------------------- Reporter: alek.silverstone@… | Owner: macports-tickets@… Type: request | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: new request | Port: cppcheck ----------------------------------------+----------------------------------- Comment(by jpo@…): The man page and the pdf manual creation also need to be tweaked: Makefile: Use /opt/local/share/xsl/docbook-xsl/manpages/docbook.xsl instead. man/buildman.sh: Use /opt/local/share/xsl/docbook-xsl/xhtml/docbook.xsl and /opt/local/share/xsl/docbook-xsl/fo/docbook.xsl instead. -- Ticket URL: <http://trac.macports.org/ticket/20918#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20918: New port: cppcheck ----------------------------------------+----------------------------------- Reporter: alek.silverstone@… | Owner: macports-tickets@… Type: request | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: new request | Port: cppcheck ----------------------------------------+----------------------------------- Comment(by paj-macports@…): Have attached files to add cppcheck to macports. {{{ port lint --nitpick }}} Returns no warnings nor errors. Am happy to maintain this port. -- Ticket URL: <https://trac.macports.org/ticket/20918#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20918: New port: cppcheck ----------------------------------------+----------------------------------- Reporter: alek.silverstone@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: cppcheck ----------------------------------------+----------------------------------- Changes (by macsforever2000@…): * keywords: new request => * type: request => submission -- Ticket URL: <https://trac.macports.org/ticket/20918#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20918: New port: cppcheck ----------------------------------------+----------------------------------- Reporter: alek.silverstone@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: cppcheck ----------------------------------------+----------------------------------- Changes (by raimue@…): * cc: raimue@… (added) Comment: The `description` field should be short, about one sentence to say what the purpose of the port is. The port is not UsingTheRightCompiler, add `build.args CXX=${configure.cxx}` to the Portfile. -- Ticket URL: <https://trac.macports.org/ticket/20918#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20918: New port: cppcheck ----------------------------------------+----------------------------------- Reporter: alek.silverstone@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: cppcheck ----------------------------------------+----------------------------------- Comment(by paj-macports@…): Fixed. Thanks for the feedback and the link. -- Ticket URL: <https://trac.macports.org/ticket/20918#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20918: New port: cppcheck ----------------------------------------+----------------------------------- Reporter: alek.silverstone@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: cppcheck ----------------------------------------+----------------------------------- Comment(by raimue@…): Here is an update which includes the man page. I also re-ordered some of the options to be in our typical Portfile style (order of execution: configure, build, (test), destroot). -- Ticket URL: <https://trac.macports.org/ticket/20918#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20918: New port: cppcheck ----------------------------------------+----------------------------------- Reporter: alek.silverstone@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: cppcheck ----------------------------------------+----------------------------------- Comment(by paj-macports@…): Thanks for adding the man page, raimue. I was still working out how to do that! -- Ticket URL: <https://trac.macports.org/ticket/20918#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20918: New port: cppcheck ----------------------------------------+----------------------------------- Reporter: alek.silverstone@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: cppcheck ----------------------------------------+----------------------------------- Changes (by snc@…): * cc: snc@… (added) Comment: Is it ready to go into the repo? -- Ticket URL: <https://trac.macports.org/ticket/20918#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20918: New port: cppcheck ----------------------------------------+----------------------------------- Reporter: alek.silverstone@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: cppcheck ----------------------------------------+----------------------------------- Comment(by paj-macports@…): I'm happy for it to go in. -- Ticket URL: <https://trac.macports.org/ticket/20918#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20918: New port: cppcheck -----------------------------------------+---------------------------------- Reporter: alek.silverstone@… | Owner: macports-tickets@… Type: submission | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: cppcheck | -----------------------------------------+---------------------------------- Changes (by snc@…): * status: new => closed * resolution: => fixed Comment: Committed in r72324. -- Ticket URL: <https://trac.macports.org/ticket/20918#comment:15> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts