summaryrefslogtreecommitdiff
path: root/dev-util/synopsis
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/synopsis')
-rw-r--r--dev-util/synopsis/Manifest6
-rw-r--r--dev-util/synopsis/files/synopsis-0.12-gcc45.patch17
-rw-r--r--dev-util/synopsis/metadata.xml5
-rw-r--r--dev-util/synopsis/synopsis-0.13.ebuild51
4 files changed, 79 insertions, 0 deletions
diff --git a/dev-util/synopsis/Manifest b/dev-util/synopsis/Manifest
new file mode 100644
index 000000000000..824b5b1b8010
--- /dev/null
+++ b/dev-util/synopsis/Manifest
@@ -0,0 +1,6 @@
+AUX synopsis-0.12-gcc45.patch 482 SHA256 2ded05ad8072673f36e49781b84a29947c2a42978b0627355e23c0421470b8b4 SHA512 bccb0c6975d0763bf29f08de86349cb41aee1843e08201c7cd22455daddda1c9d419ab39ae67348d0566ae681fc1f90f777d3756b10e0fad2f72eee5fc213b9c WHIRLPOOL fe5ae542a745218262a81b73a79ddc2d6d40e9d7996adea570d25a7b3f4f827ae212defc63c6f07f67d18cc76b59710c020032ea9b3b881b0f75e8a5fd464446
+DIST synopsis-0.13.tar.gz 10691494 SHA256 8a27f39203d828ace4a122b8bdc4f98e3746af724f88a0d75e1380fe736dbe5f SHA512 cdd84f4b9fc8a7b0edaa017e7a332bba06cd4fc804c49b84b1558a84e814e3a8a4b8c5801a8eaf149e6475dbacbb879f04ade57e31d660dfac5e0c83887abd54 WHIRLPOOL 0198437a19b8871428ddc1bcbbf01cad3b9e660cdb577f48c3542fcffc2b31acbb92ef5938b4e2d4a0404c5db85de9915772e953b93c45505fd8341748222aea
+EBUILD synopsis-0.13.ebuild 1229 SHA256 1f030c42004bcb44aa83571ee37420566a7ada2a1abe04aad199da0ebcb28649 SHA512 a3467acc11f424adf0e140b1541ece9c0088a507795eb65f84b2e50f2825f211c93ae12c2f73d9d890f289f635ac25bdd86fc8770ae4d37331a8667bb4a601e6 WHIRLPOOL 069636d06076ad8f3b4add2c2fcd4fe30cb64b27c242a97e6da7fa0b401d2ca6d0a2fbf20912cada36b1732f2e4d144f7145f7204f734b15a952e4ff6f2232c5
+MISC ChangeLog 2557 SHA256 cde4b9e75e1c0f292519892e826908de01d6f47ae656d10a8c51dfb210de4889 SHA512 d028e7dab23a390a37c10ebd54fe1418f6d8df61b13c2590942d2de90ea517b9b580b3ed44eb5ca756248eed2f497a7002881ee7305523c0068e8abfd4287f4e WHIRLPOOL a2cc34c71827ee4ac571e74049b014d8c8707600a68307b9b02a44f7489d0d17e23fc1ee17c6dece5db8b709268e98982dfdcbdba22164d4a1d1340ae55f8d29
+MISC ChangeLog-2015 2429 SHA256 69ced1b00fe3ef84adeafca30682336b6e4f20a82b8e15d3faf5861fca203dad SHA512 021d1b14545362e4b457e4121e5c9df98dc6e53bcb83d4efa0ec2e1007ed0fbe1aa06c6a549858dd8674533f20b94d8849e189ec49157ba73d92956438fb0e4a WHIRLPOOL 57a5188686b4bd2b48818ff00b761323dd99ad10e0b131b59bcb27eda7c763da8207def2833ac2802f82f63990747f040da98ca1b12004f887aec21171ab2787
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/dev-util/synopsis/files/synopsis-0.12-gcc45.patch b/dev-util/synopsis/files/synopsis-0.12-gcc45.patch
new file mode 100644
index 000000000000..ff0fe2be5da8
--- /dev/null
+++ b/dev-util/synopsis/files/synopsis-0.12-gcc45.patch
@@ -0,0 +1,17 @@
+Fixing build with gcc 4.5
+
+http://bugs.gentoo.org/show_bug.cgi?id=318429
+
+Patch written by Kacper Kowalik <xarthisius.kk@gmail.com>
+
+--- Synopsis/Parsers/Cxx/Types.cc
++++ Synopsis/Parsers/Cxx/Types.cc
+@@ -169,7 +169,7 @@
+ // Class Types::FuncPtr
+ //
+
+-FuncPtr::FuncPtr(Type::Type* ret, const Mods& premods, const Type::vector& params)
++FuncPtr::FuncPtr(Type* ret, const Mods& premods, const Type::vector& params)
+ : m_return(ret), m_premod(premods), m_params(params)
+ {}
+
diff --git a/dev-util/synopsis/metadata.xml b/dev-util/synopsis/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/dev-util/synopsis/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/dev-util/synopsis/synopsis-0.13.ebuild b/dev-util/synopsis/synopsis-0.13.ebuild
new file mode 100644
index 000000000000..ebf368135bb7
--- /dev/null
+++ b/dev-util/synopsis/synopsis-0.13.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+DISTUTILS_IN_SOURCE_BUILD=1
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1 multilib toolchain-funcs
+
+DESCRIPTION="General source code documentation tool"
+HOMEPAGE="http://synopsis.fresco.org/index.html"
+SRC_URI="http://synopsis.fresco.org/download/${P}.tar.gz"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+COMMON_DEPEND="dev-libs/boehm-gc"
+RDEPEND="${COMMON_DEPEND}
+ media-gfx/graphviz"
+DEPEND="${COMMON_DEPEND}
+ ${RDEPEND}
+ sys-devel/bison
+ sys-devel/flex
+ virtual/pkgconfig"
+
+PATCHES=( "${FILESDIR}"/${PN}-0.12-gcc45.patch )
+
+pkg_setup() {
+ tc-export CC CXX
+}
+
+python_prepare() {
+ rm -r src/Synopsis/gc || die "failed to remove bundled lib"
+
+ # the distutils script passes its options to a number of
+ # autoconf scripts, to not all of which these options are
+ # relevant. adding this option disables these useless warnings.
+ sed -e "/self.announce(command)/i\ command += ' --disable-option-checking'" \
+ -i Synopsis/dist/command/config.py || die
+}
+
+python_configure() {
+ local mydistutilsargs=(
+ config
+ --libdir=/usr/$(get_libdir)
+ --with-gc-prefix=/usr
+ )
+ esetup.py
+}