diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2011-05-09 21:02:14 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2011-05-09 21:02:14 +0000 |
commit | 22792ea12bb6f77094f5dac1ccd77c0df021a623 (patch) | |
tree | 173e4430796557f1974fa06924148dee9bdac7d5 /dev-util/bustle | |
parent | Version bump. (diff) | |
download | gentoo-2-22792ea12bb6f77094f5dac1ccd77c0df021a623.tar.gz gentoo-2-22792ea12bb6f77094f5dac1ccd77c0df021a623.tar.bz2 gentoo-2-22792ea12bb6f77094f5dac1ccd77c0df021a623.zip |
Initial version. Draw pretty sequence diagrams of D-Bus traffic. Ebuild provided by Dennis Schridde bug #353906.
(Portage version: 2.1.9.48/cvs/Linux x86_64)
Diffstat (limited to 'dev-util/bustle')
-rw-r--r-- | dev-util/bustle/ChangeLog | 12 | ||||
-rw-r--r-- | dev-util/bustle/bustle-0.2.3.ebuild | 54 | ||||
-rw-r--r-- | dev-util/bustle/files/0001-bustle-dbus-monitor-fix-linking-order-libs-go-after-.patch | 44 | ||||
-rw-r--r-- | dev-util/bustle/metadata.xml | 8 |
4 files changed, 118 insertions, 0 deletions
diff --git a/dev-util/bustle/ChangeLog b/dev-util/bustle/ChangeLog new file mode 100644 index 000000000000..12c0a80981fe --- /dev/null +++ b/dev-util/bustle/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for dev-util/bustle +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/bustle/ChangeLog,v 1.1 2011/05/09 21:02:14 slyfox Exp $ + +*bustle-0.2.3 (09 May 2011) + + 09 May 2011; Sergei Trofimovich <slyfox@gentoo.org> + +files/0001-bustle-dbus-monitor-fix-linking-order-libs-go-after-.patch, + +bustle-0.2.3.ebuild, +metadata.xml: + Initial version. Draw pretty sequence diagrams of D-Bus traffic. Ebuild + provided by Dennis Schridde bug #353906. + diff --git a/dev-util/bustle/bustle-0.2.3.ebuild b/dev-util/bustle/bustle-0.2.3.ebuild new file mode 100644 index 000000000000..d4adcaeb87e6 --- /dev/null +++ b/dev-util/bustle/bustle-0.2.3.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/bustle/bustle-0.2.3.ebuild,v 1.1 2011/05/09 21:02:14 slyfox Exp $ + +# ebuild generated by hackport 0.2.13 + +EAPI="3" + +CABAL_FEATURES="bin" +inherit base haskell-cabal + +DESCRIPTION="Draw pretty sequence diagrams of D-Bus traffic" +HOMEPAGE="http://hackage.haskell.org/package/bustle" +SRC_URI="http://willthompson.co.uk/${PN}/releases/${P}.tar.gz" + +LICENSE="LGPL-2 GPL-2" # bustle-dbus-monitor.c is GPL-2, rest is LGPL-2 +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +PATCHES=("${FILESDIR}/0001-bustle-dbus-monitor-fix-linking-order-libs-go-after-.patch") + +RDEPEND="sys-apps/dbus + x11-libs/cairo + x11-libs/pango + gnome-base/libglade:2.0" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.8 + dev-haskell/cairo + dev-haskell/glade + dev-haskell/glib + >dev-haskell/gtk-0.11 + dev-haskell/mtl + dev-haskell/pango + dev-haskell/parsec + >=dev-lang/ghc-6.10.1" + +src_compile() { + # compile haskell part + cabal_src_compile || die "could not build haskell parts" + + # compile C part + emake || die "building C part failed" +} + +src_install() { + # install haskell part + cabal_src_install || die "could not install haskell parts" + + # install C part + dobin bustle-dbus-monitor || die "could not install C parts" + + dodoc README HACKING NEWS +} diff --git a/dev-util/bustle/files/0001-bustle-dbus-monitor-fix-linking-order-libs-go-after-.patch b/dev-util/bustle/files/0001-bustle-dbus-monitor-fix-linking-order-libs-go-after-.patch new file mode 100644 index 000000000000..206bcbc28cc4 --- /dev/null +++ b/dev-util/bustle/files/0001-bustle-dbus-monitor-fix-linking-order-libs-go-after-.patch @@ -0,0 +1,44 @@ +From b1d7a9b492a8fbe38f60585f6d5a25908e79c973 Mon Sep 17 00:00:00 2001 +From: Sergei Trofimovich <st@anti-virus.by> +Date: Mon, 7 Feb 2011 15:58:56 +0200 +Subject: [PATCH] bustle-dbus-monitor: fix linking order (libs go after object/source files) + +Fixes the following failure: + + cc -O2 -pipe -Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed \ + -g -O2 `pkg-config --cflags --libs dbus-1` \ + -Wall -Wunused \ + -o bustle-dbus-monitor bustle-dbus-monitor.c + bustle-0.2.3/temp/ccodU65H.o: In function `main': + bustle-0.2.3/work/bustle-0.2.3/bustle-dbus-monitor.c:347: undefined reference to `dbus_error_init' + bustle-0.2.3/work/bustle-0.2.3/bustle-dbus-monitor.c:348: undefined reference to `dbus_bus_get' + bustle-0.2.3/temp/ccodU65H.o: In function `get_well_known_names': + bustle-0.2.3/work/bustle-0.2.3/bustle-dbus-monitor.c:241: undefined reference to `dbus_message_new_method_call' + bustle-0.2.3/work/bustle-0.2.3/bustle-dbus-monitor.c:249: undefined reference to `dbus_error_init' + bustle-0.2.3/work/bustle-0.2.3/bustle-dbus-monitor.c:250: undefined reference to `dbus_connection_send_with_reply_and_block' + bustle-0.2.3/work/bustle-0.2.3/bustle-dbus-monitor.c:252: undefined reference to `dbus_error_is_set' + +Signed-off-by: Sergei Trofimovich <st@anti-virus.by> +--- + Makefile | 5 +++-- + 1 files changed, 3 insertions(+), 2 deletions(-) + +diff --git a/Makefile b/Makefile +index 707790e..3f50370 100644 +--- a/Makefile ++++ b/Makefile +@@ -1,8 +1,9 @@ + bustle-dbus-monitor: bustle-dbus-monitor.c + $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) \ +- -g -O2 `pkg-config --cflags --libs dbus-1` \ ++ -g -O2 \ + -Wall -Wunused \ +- -o bustle-dbus-monitor bustle-dbus-monitor.c ++ -o bustle-dbus-monitor bustle-dbus-monitor.c \ ++ `pkg-config --cflags --libs dbus-1` + + clean: + rm -f bustle-dbus-monitor +-- +1.7.3.4 + diff --git a/dev-util/bustle/metadata.xml b/dev-util/bustle/metadata.xml new file mode 100644 index 000000000000..2f5607ea9893 --- /dev/null +++ b/dev-util/bustle/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>haskell</herd> + <maintainer> + <email>haskell@gentoo.org</email> + </maintainer> +</pkgmetadata> |