summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhololeap <hololeap@protonmail.com>2023-10-02 23:06:59 -0600
committerSam James <sam@gentoo.org>2023-10-23 04:09:27 +0100
commitbe58db661d4b1d24e20f9cc6c830bd76caea0192 (patch)
treec44b6f947d373685ab9a49f69dcc54e93e054388 /dev-haskell/dbus
parentdev-haskell/data-fix: Hackage revision bump (diff)
downloadgentoo-be58db661d4b1d24e20f9cc6c830bd76caea0192.tar.gz
gentoo-be58db661d4b1d24e20f9cc6c830bd76caea0192.tar.bz2
gentoo-be58db661d4b1d24e20f9cc6c830bd76caea0192.zip
dev-haskell/dbus: add 1.3.0
Signed-off-by: hololeap <hololeap@protonmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-haskell/dbus')
-rw-r--r--dev-haskell/dbus/Manifest1
-rw-r--r--dev-haskell/dbus/dbus-1.3.0.ebuild43
-rw-r--r--dev-haskell/dbus/metadata.xml53
3 files changed, 45 insertions, 52 deletions
diff --git a/dev-haskell/dbus/Manifest b/dev-haskell/dbus/Manifest
index 5e6f09b72982..30e6a8d6ecaa 100644
--- a/dev-haskell/dbus/Manifest
+++ b/dev-haskell/dbus/Manifest
@@ -1,2 +1,3 @@
DIST dbus-1.2.22.tar.gz 78010 BLAKE2B c7189e15e0a9622e707bb50064584bd43141857257baec8e6d59d0cf39428b3b5efa82668ef70fbff218738ba5822b1aaad0c85b5e14bfa3ae4ef237e2458a9d SHA512 81f9fe1420939ebb5b03602ba59dd86656e4443690d8be460684dcb461ff7df1ff4cdf846a5a15ea6193b6f64b08526b27d3e12825a375eecbded3d0a99a59b9
DIST dbus-1.2.27.tar.gz 78017 BLAKE2B 396739e7e6af0fe1921c9d3857c0650db9532d00a3fd2eda18042d42ce8336631d93d0c0ce75681b695f9e90c7205e38aea7c4f984544460ecab19c7d5090478 SHA512 2c6b87b4a793b555ef617e3f3f89695116180f0e1df2f84ee3da62c819c05c10a78d328644b84c8c9796354ee6dd1c6ad6b0430a1b9a2d7fe112b251d4606e8d
+DIST dbus-1.3.0.tar.gz 82155 BLAKE2B 46b5500294e93b2614e66fa99962917e3a27030e178f0b3734a764089d5ba2a72afd203d2b1afcc2227c7b0953e1f324af62b6d537148e32a7527677ae017a8b SHA512 e59b11910a4e4288c89955dbbd2a135cb81dc263aacb331477e4f70403f53d70340af3a280eee9be8b2ee70eef8c06813381ab1dcb36927d059c90a726992cc7
diff --git a/dev-haskell/dbus/dbus-1.3.0.ebuild b/dev-haskell/dbus/dbus-1.3.0.ebuild
new file mode 100644
index 000000000000..ce2a08ef691d
--- /dev/null
+++ b/dev-haskell/dbus/dbus-1.3.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# ebuild generated by hackport 0.8.4.0.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="A client library for the D-Bus IPC system"
+HOMEPAGE="https://github.com/rblaze/haskell-dbus#readme"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+# exotic keywords require ghc bump to 9.2 series
+#KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+
+RDEPEND="<dev-haskell/cereal-0.6:=[profile?]
+ >=dev-haskell/conduit-1.3.0:=[profile?] <dev-haskell/conduit-1.4:=[profile?]
+ <dev-haskell/lens-5.3:=[profile?]
+ >=dev-haskell/network-3.1.2.1:=[profile?] <dev-haskell/network-3.2:=[profile?]
+ <dev-haskell/parsec-3.2:=[profile?]
+ <dev-haskell/random-1.3:=[profile?]
+ <dev-haskell/split-0.3:=[profile?]
+ <dev-haskell/text-2.1:=[profile?]
+ <dev-haskell/th-lift-0.9:=[profile?]
+ <dev-haskell/vector-0.14:=[profile?]
+ >=dev-haskell/xml-conduit-1.9.0.0:=[profile?] <dev-haskell/xml-conduit-1.10.0.0:=[profile?]
+ <dev-haskell/xml-types-0.4:=[profile?]
+ >=dev-lang/ghc-9.2.4:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-3.6.3.0
+ test? ( <dev-haskell/extra-1.8
+ <dev-haskell/quickcheck-2.15
+ <dev-haskell/resourcet-1.4
+ <dev-haskell/tasty-1.5
+ <dev-haskell/tasty-hunit-0.11
+ <dev-haskell/tasty-quickcheck-0.11
+ >=dev-haskell/temporary-1.3 <dev-haskell/temporary-1.4 )
+"
diff --git a/dev-haskell/dbus/metadata.xml b/dev-haskell/dbus/metadata.xml
index 4640c75ee040..b6c5efc4fb09 100644
--- a/dev-haskell/dbus/metadata.xml
+++ b/dev-haskell/dbus/metadata.xml
@@ -3,59 +3,8 @@
<pkgmetadata>
<maintainer type="project">
<email>haskell@gentoo.org</email>
+ <name>Gentoo Haskell</name>
</maintainer>
- <longdescription>
- 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; //
- &amp;#x20; \-- Request a list of connected clients from the bus
- &amp;#x20; reply &lt;- call_ client (methodCall \"\/org\/freedesktop\/DBus\" \"org.freedesktop.DBus\" \"ListNames\")
- &amp;#x20; &amp;#x7b; methodCallDestination = Just \"org.freedesktop.DBus\"
- &amp;#x20; &amp;#x7d;
- &amp;#x20; //
- &amp;#x20; \-- org.freedesktop.DBus.ListNames() returns a single value, which is
- &amp;#x20; \-- a list of names (here represented as [String])
- &amp;#x20; let Just names = fromVariant (methodReturnBody reply !! 0)
- &amp;#x20; //
- &amp;#x20; \-- Print each name on a line, sorted so reserved names are below
- &amp;#x20; \-- temporary names.
- &amp;#x20; mapM_ putStrLn (sort names)
- @
-
- &gt;$ ghc --make list-names.hs
- &gt;$ ./list-names
- &gt;:1.0
- &gt;:1.1
- &gt;:1.10
- &gt;:1.106
- &gt;:1.109
- &gt;:1.110
- &gt;ca.desrt.dconf
- &gt;org.freedesktop.DBus
- &gt;org.freedesktop.Notifications
- &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>