diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-util/nemiver |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-util/nemiver')
-rw-r--r-- | dev-util/nemiver/Manifest | 8 | ||||
-rw-r--r-- | dev-util/nemiver/files/nemiver-0.9.6-bool-build.patch | 36 | ||||
-rw-r--r-- | dev-util/nemiver/files/nemiver-0.9.6-fix-build.patch | 39 | ||||
-rw-r--r-- | dev-util/nemiver/files/nemiver-0.9.6-gcc6-throw-in-dtors.patch | 73 | ||||
-rw-r--r-- | dev-util/nemiver/metadata.xml | 16 | ||||
-rw-r--r-- | dev-util/nemiver/nemiver-0.9.6.ebuild | 60 |
6 files changed, 232 insertions, 0 deletions
diff --git a/dev-util/nemiver/Manifest b/dev-util/nemiver/Manifest new file mode 100644 index 000000000000..555c780e4270 --- /dev/null +++ b/dev-util/nemiver/Manifest @@ -0,0 +1,8 @@ +AUX nemiver-0.9.6-bool-build.patch 1672 SHA256 acbf69696462484a5c8bc0b01762eb0c52c63aa97f62160d385e3b1bc569a2fb SHA512 28835958edbaf2fc7cd1a8eca47d118089a46a4e7a6046094092dd8c1d385db0407410b0df90057b601443c0e0b1202dc03276f4b046f565f57f7491b429f77a WHIRLPOOL 74d122cbd3f4b4ce68e1f57648aa0f03845d1bbf324eb7b86c67f60ed59df4489294c61edd0e16f80e951e2e0c482e3ae64e449b2d3aaf5349d71f843d78c2a0 +AUX nemiver-0.9.6-fix-build.patch 1123 SHA256 e26a2802c2dfa85f370f09a9229e25964b39a455d2d7953e18cf9c6ece41725f SHA512 8a4041ea5609af8805da4fd0717cc2c3e38ef3201ca4c0ae5dc9ede193223bc47424bb0590bd90845e758f271c1001140af438b791a2b53c5ee0ec319e70ea9f WHIRLPOOL 423853f9c4edb1c1b9dec880d7f9e10c1368b9b25e0b0abe23e7b9072e4617ff470d3b3ad27cce15d4fcabf5a5bb2cde061845a6cefdd72f566e5b7eec9a5056 +AUX nemiver-0.9.6-gcc6-throw-in-dtors.patch 1734 SHA256 bfd4d084ea71aeae1a91f64da11a7e828bc4881b2ddb6ad378bcbd8e2c0ae179 SHA512 329c4ba78849fad8b20dba77cf66eca1994532946adb75583e19caa24da9360b50072d8ee9affac18aac65f245a96a911d783434d40ba23cee22a03dba3080cc WHIRLPOOL b245d5c88d5684f758d091109e090a9cddcf2e17f2c24d8dc5c074276e0cc5e913f718e79587a7644d5f5dc49c9ee6a007958a033f812f22f1c99579949ab2c2 +DIST nemiver-0.9.6.tar.xz 1427660 SHA256 85ab8cf6c4f83262f441cb0952a6147d075c3c53d0687389a3555e946b694ef2 SHA512 6fd941975af6e9ba98d7100daf8205f8b61f75ccde4aaf30145a4e2beafe1b96b14ab70d22db7c258aabc7c1a71d4787aa121bc4e943b3fc310e00c13feb4f21 WHIRLPOOL 4c0897901f54467ea9cd49167a528631500b97d590811c554346cac7a54e21bdc68fe671717cdfd8c28f41fa9d0fa2ef2b5e29de0066ec561439462eed35eef1 +EBUILD nemiver-0.9.6.ebuild 1407 SHA256 0dbebb25a20848c5d27226b8c025c14b577d23ace8ed90d6d4db398250f52888 SHA512 7d332099a32235f626e819ab70d81965ac202b0100e8cb7fa130d65b525257e6f28936640192e300544876482e2a1abb0ea9c44482cc6529eb85765b020ef3f8 WHIRLPOOL c0f2c8789a3c28b6dd812f3331aad090b892b6bb2933f6f9e316ed87ade7ce97d8a51640c7ed2bedd7e32cc5521cd8e26253e3efe3e15565f6ac423b4b9d7e46 +MISC ChangeLog 3694 SHA256 0fe2df2dd7c546c122514d44f28c255ba8ba7d5b11e2940c23396793d71d9195 SHA512 216c5c6970170166609906afea1b8778e16cf6728243444d244ce5897b9500ac3ef01b18b7f270b1374a2df5cb7e6550f069c16d5064b612336c2025ba12004d WHIRLPOOL 89a8198d35cb31bbd4dc0de510d2c801544c7652f2de510593d1e1cbb5e3e477c390d9f3f846ef74458951afdc0e9649ce551002cb734f5c500fab554b23eafc +MISC ChangeLog-2015 7995 SHA256 4d48387b3c9bd63f13f78749ea5b7e7b7f5146ee778893680afb241760b585cc SHA512 4846db01710fd97f44240de375445c420382051306de01cc9a7a7a0e8bddf5462026ccbd4acd1b8bb6302b6cca27692bcac6a9eaf96217d4ab14009ae75b70f5 WHIRLPOOL ce0866232d74741402104f367ac008e7ef5a274e525b1ad7342da2a6dce935f8d313a8aaef5fa3c86291ae88f97d415f61dfb094ac2f742588259892820e4bdc +MISC metadata.xml 560 SHA256 092b3e0f60274fe324c96cad7302ae09314b5abe74260e6293d43c795e64af37 SHA512 57946391e99389c2e7287285c61f16eca71b6642beef53a06a6a884ae35e7337d56d16255f2e7c4e23e62b42cac5bf2a219c18c65efd71c2a2f50d1700979158 WHIRLPOOL 02dbf65f8742fe3f5b946c40ddbc6f358ffa24b9e625b5dbb55d4c55744a666eab3acf53d8020fd08a31a833a2476429e45d5c56b1108c339ec39f7be834d454 diff --git a/dev-util/nemiver/files/nemiver-0.9.6-bool-build.patch b/dev-util/nemiver/files/nemiver-0.9.6-bool-build.patch new file mode 100644 index 000000000000..dac65a8a4cc0 --- /dev/null +++ b/dev-util/nemiver/files/nemiver-0.9.6-bool-build.patch @@ -0,0 +1,36 @@ +From 262cf9657f9c2727a816972b348692adcc666008 Mon Sep 17 00:00:00 2001 +From: Marcin Kolny <marcin.kolny@gmail.com> +Date: Fri, 1 Jul 2016 19:45:05 +0200 +Subject: Use RefPtr::bool() operator in the conditions + +Since bool() operator in RefPtr class is explicit, +comparision with integer doesn't compile. +--- + src/persp/dbgperspective/nmv-dbg-perspective.cc | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/persp/dbgperspective/nmv-dbg-perspective.cc b/src/persp/dbgperspective/nmv-dbg-perspective.cc +index be652db..ac207e4 100644 +--- a/src/persp/dbgperspective/nmv-dbg-perspective.cc ++++ b/src/persp/dbgperspective/nmv-dbg-perspective.cc +@@ -5672,7 +5672,7 @@ DBGPerspective::switch_to_asm (const common::DisassembleInfo &a_info, + a_source_editor->clear_decorations (); + + Glib::RefPtr<Gsv::Buffer> asm_buf; +- if ((asm_buf = a_source_editor->get_assembly_source_buffer ()) == 0) { ++ if (!(asm_buf = a_source_editor->get_assembly_source_buffer ())) { + SourceEditor::setup_buffer_mime_and_lang (asm_buf, "text/x-asm"); + a_source_editor->register_assembly_source_buffer (asm_buf); + asm_buf = a_source_editor->get_assembly_source_buffer (); +@@ -5720,7 +5720,7 @@ DBGPerspective::switch_to_source_code () + + Glib::RefPtr<Gsv::Buffer> source_buf; + UString source_path; +- if ((source_buf = source_editor->get_non_assembly_source_buffer ()) == 0) { ++ if (!(source_buf = source_editor->get_non_assembly_source_buffer ())) { + // Woops! + // We don't have any source code buffer. Let's try hard to get + // the source code corresponding to the current frame. For that, +-- +cgit v0.12 + diff --git a/dev-util/nemiver/files/nemiver-0.9.6-fix-build.patch b/dev-util/nemiver/files/nemiver-0.9.6-fix-build.patch new file mode 100644 index 000000000000..59a893ad003a --- /dev/null +++ b/dev-util/nemiver/files/nemiver-0.9.6-fix-build.patch @@ -0,0 +1,39 @@ +From e0e42221ceb77d88be64fac1c09792dc5c9e2f43 Mon Sep 17 00:00:00 2001 +From: Ben Iofel <iofelben@gmail.com> +Date: Thu, 17 Mar 2016 18:28:02 -0400 +Subject: Fix compiliation warnings & errors + +--- + src/dbgengine/nmv-dbg-common.h | 2 +- + src/dbgengine/nmv-i-var-list-walker.h | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/dbgengine/nmv-dbg-common.h b/src/dbgengine/nmv-dbg-common.h +index ad3cc00..0edac7c 100644 +--- a/src/dbgengine/nmv-dbg-common.h ++++ b/src/dbgengine/nmv-dbg-common.h +@@ -171,7 +171,7 @@ public: + + bool has_slot () const + { +- return m_slot; ++ return static_cast<bool> (m_slot); + } + + template<class T> +diff --git a/src/dbgengine/nmv-i-var-list-walker.h b/src/dbgengine/nmv-i-var-list-walker.h +index b719c0d..f2f3229 100644 +--- a/src/dbgengine/nmv-i-var-list-walker.h ++++ b/src/dbgengine/nmv-i-var-list-walker.h +@@ -22,7 +22,7 @@ + * + *See COPYRIGHT file copyright information. + */ +-#ifndef __NMV_VAR_LIST_WALKER_H__ ++#ifndef __NMV_I_VAR_LIST_WALKER_H__ + #define __NMV_I_VAR_LIST_WALKER_H__ + + #include "nmv-i-var-walker.h" +-- +cgit v0.12 + diff --git a/dev-util/nemiver/files/nemiver-0.9.6-gcc6-throw-in-dtors.patch b/dev-util/nemiver/files/nemiver-0.9.6-gcc6-throw-in-dtors.patch new file mode 100644 index 000000000000..91d90961cb4a --- /dev/null +++ b/dev-util/nemiver/files/nemiver-0.9.6-gcc6-throw-in-dtors.patch @@ -0,0 +1,73 @@ +Bug: https://bugs.gentoo.org/602436 +Upstream PR: https://github.com/GNOME/nemiver/pull/3 + +--- a/src/common/nmv-api-macros.h ++++ b/src/common/nmv-api-macros.h +@@ -52,5 +52,12 @@ + # define NEMIVER_PURE_IFACE + # define NEMIVER_API + # endif //HAS_GCC_VISIBILITY_SUPPORT ++ ++# if __cplusplus >= 201103L ++# define DTOR_NOEXCEPT noexcept(false) ++# else ++# define DTOR_NOEXCEPT ++# endif //__cplusplus >= 201103L ++ + #endif + +--- a/src/common/nmv-log-stream.cc ++++ b/src/common/nmv-log-stream.cc +@@ -393,7 +393,7 @@ + } + } + +-LogStream::~LogStream () ++LogStream::~LogStream () DTOR_NOEXCEPT + { + LOG_D ("delete", "destructor-domain"); + if (!m_priv) throw runtime_error ("double free in LogStrea::~LogStream"); +--- a/src/common/nmv-log-stream.h ++++ b/src/common/nmv-log-stream.h +@@ -151,7 +151,7 @@ + const string &a_default_domain=NMV_GENERAL_DOMAIN); + + /// \brief destructor of the log stream class +- virtual ~LogStream (); ++ virtual ~LogStream () DTOR_NOEXCEPT; + + /// \brief enable or disable logging for a domain + /// \param a_domain the domain to enable logging for +--- a/src/common/nmv-object.cc ++++ b/src/common/nmv-object.cc +@@ -68,7 +68,7 @@ + return *this; + } + +-Object::~Object () ++Object::~Object () DTOR_NOEXCEPT + { + } + +--- a/src/common/nmv-object.h ++++ b/src/common/nmv-object.h +@@ -54,7 +54,7 @@ + + Object& operator= (Object const&); + +- virtual ~Object (); ++ virtual ~Object () DTOR_NOEXCEPT; + + void ref (); + +--- a/src/common/nmv-transaction.h ++++ b/src/common/nmv-transaction.h +@@ -116,7 +116,7 @@ + return m_trans; + } + +- ~TransactionAutoHelper () ++ ~TransactionAutoHelper () DTOR_NOEXCEPT + { + if (m_ignore) { + return; diff --git a/dev-util/nemiver/metadata.xml b/dev-util/nemiver/metadata.xml new file mode 100644 index 000000000000..c61ba4c696b8 --- /dev/null +++ b/dev-util/nemiver/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>gnome@gentoo.org</email> + <name>Gentoo GNOME Desktop</name> + </maintainer> + <longdescription> + Nemiver is an on going effort to write an easy to use standalone C/C++ + debugger that integrates well in the GNOME environment. + </longdescription> + <use> + <flag name="memoryview">Enable the optional hexadecimal memory inspection + with <pkg>app-editors/ghex</pkg>.</flag> + </use> +</pkgmetadata> diff --git a/dev-util/nemiver/nemiver-0.9.6.ebuild b/dev-util/nemiver/nemiver-0.9.6.ebuild new file mode 100644 index 000000000000..b5d54807fe31 --- /dev/null +++ b/dev-util/nemiver/nemiver-0.9.6.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +GNOME2_LA_PUNT="yes" + +inherit eutils gnome2 + +DESCRIPTION="A gtkmm front end to the GNU Debugger (gdb)" +HOMEPAGE="https://wiki.gnome.org/Apps/Nemiver" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="debug memoryview" + +RDEPEND=" + >=dev-libs/glib-2.16:2[dbus] + >=dev-cpp/glibmm-2.30:2 + >=dev-cpp/gtkmm-3:3.0 + >=dev-cpp/gtksourceviewmm-3:3.0 + >=gnome-base/gsettings-desktop-schemas-0.0.1 + >=gnome-base/libgtop-2.19 + x11-libs/vte:2.91 + >=dev-db/sqlite-3:3 + sys-devel/gdb + dev-libs/boost + memoryview? ( >=app-editors/ghex-2.90:2 ) +" +# FIXME: dynamiclayout needs unreleased stable gdlmm:3 +# dynamiclayout? ( >=dev-cpp/gdlmm-3.0:3 ) +DEPEND="${RDEPEND} + app-text/docbook-xml-dtd:4.1.2 + >=dev-util/intltool-0.40 + dev-util/itstool + >=sys-devel/gettext-0.17 + virtual/pkgconfig +" + +PATCHES=( + # Use RefPtr::bool() operator in the conditions, fixed in next + # version + "${FILESDIR}/${P}-bool-build.patch" + + # Fix compiliation warnings & errors, fixed in next version + "${FILESDIR}/${P}-fix-build.patch" + + # Fix building with GCC-6 and CXXFLAGS="-Werror=terminate" + "${FILESDIR}/${P}-gcc6-throw-in-dtors.patch" +) + +src_configure() { + gnome2_src_configure \ + --disable-dynamiclayout \ + --disable-static \ + --disable-symsvis \ + --enable-gsettings \ + $(use_enable debug) \ + $(use_enable memoryview) +} |