summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Wright <gienah@gentoo.org>2022-11-15 14:39:19 +1100
committerMark Wright <gienah@gentoo.org>2022-11-15 14:40:09 +1100
commit41842024943ecb46bcefbd35ea59f2161692d8b4 (patch)
tree938ad7a8968b1b7a4f1608fbbe84623e808e210c /dev-haskell/dbus/metadata.xml
parentx11-terms/kitty: remove IUSE=transfer (default) (diff)
downloadgentoo-41842024943ecb46bcefbd35ea59f2161692d8b4.tar.gz
gentoo-41842024943ecb46bcefbd35ea59f2161692d8b4.tar.bz2
gentoo-41842024943ecb46bcefbd35ea59f2161692d8b4.zip
dev-haskell/dbus: Bump to 1.2.27, patch to allow earlier TH
Patch (by me) to allow earlier template-haskell versions. Tests pass with network-sandbox, thanks to eroen for reporting. Fix: dbus depends on nonexistent version of lens #1360, thanks to Hypoon for reporting. Closes: https://github.com/gentoo-haskell/gentoo-haskell/issues/1360 Closes: https://bugs.gentoo.org/575254 Signed-off-by: Mark Wright <gienah@gentoo.org>
Diffstat (limited to 'dev-haskell/dbus/metadata.xml')
-rw-r--r--dev-haskell/dbus/metadata.xml18
1 files changed, 11 insertions, 7 deletions
diff --git a/dev-haskell/dbus/metadata.xml b/dev-haskell/dbus/metadata.xml
index 5063563f544d..4640c75ee040 100644
--- a/dev-haskell/dbus/metadata.xml
+++ b/dev-haskell/dbus/metadata.xml
@@ -8,23 +8,23 @@
D-Bus is a simple, message-based protocol for inter-process
communication, which allows applications to interact with other parts of
the machine and the user's session using remote procedure calls.
-
+
D-Bus is a essential part of the modern Linux desktop, where it replaces
earlier protocols such as CORBA and DCOP.
-
+
This library is an implementation of the D-Bus protocol in Haskell. It
can be used to add D-Bus support to Haskell applications, without the
awkward interfaces common to foreign bindings.
-
+
Example: connect to the session bus, and get a list of active names.
-
+
@
&amp;#x7b;-\# LANGUAGE OverloadedStrings \#-&amp;#x7d;
-
+
import Data.List (sort)
import DBus
import DBus.Client
-
+
main = do
&amp;#x20; client &lt;- connectSession
&amp;#x20; //
@@ -41,7 +41,7 @@
&amp;#x20; \-- temporary names.
&amp;#x20; mapM_ putStrLn (sort names)
@
-
+
&gt;$ ghc --make list-names.hs
&gt;$ ./list-names
&gt;:1.0
@@ -56,4 +56,8 @@
&gt;org.freedesktop.secrets
&gt;org.gnome.ScreenSaver
</longdescription>
+ <upstream>
+ <remote-id type="hackage">dbus</remote-id>
+ <remote-id type="github">rblaze/haskell-dbus</remote-id>
+ </upstream>
</pkgmetadata>