summaryrefslogtreecommitdiff
path: root/dev-haskell
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-11-15 06:52:13 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-11-15 06:52:13 +0000
commit9f7759b3b1be5a3bc7794010a8ebf9334f017d2f (patch)
treefa4e093c6694ec0590cbbd9a7b86c1edddc43d72 /dev-haskell
parentac35def7deb4a1eecfad26f0eb5907170b2ee5d7 (diff)
gentoo auto-resync : 15:11:2022 - 06:52:13
Diffstat (limited to 'dev-haskell')
-rw-r--r--dev-haskell/Manifest.gzbin73444 -> 73451 bytes
-rw-r--r--dev-haskell/dbus/Manifest5
-rw-r--r--dev-haskell/dbus/dbus-1.2.27.ebuild51
-rw-r--r--dev-haskell/dbus/files/dbus-1.2.27-template-haskell.patch14
-rw-r--r--dev-haskell/dbus/metadata.xml18
5 files changed, 80 insertions, 8 deletions
diff --git a/dev-haskell/Manifest.gz b/dev-haskell/Manifest.gz
index 59af5420b2ea..be95090755fd 100644
--- a/dev-haskell/Manifest.gz
+++ b/dev-haskell/Manifest.gz
Binary files differ
diff --git a/dev-haskell/dbus/Manifest b/dev-haskell/dbus/Manifest
index ae19f4d951b5..24b41242971a 100644
--- a/dev-haskell/dbus/Manifest
+++ b/dev-haskell/dbus/Manifest
@@ -1,4 +1,7 @@
AUX dbus-1.2.22-disable-integration-tests.patch 868 BLAKE2B ab711ea3076f8bd968e43791c4cd04f8cefdb8751ddb128746a391aa02a9c3a84fecdf98a61b667ec20696dc972beacfc30d8b02f37c8cb155456e9a77999b78 SHA512 14149fabb25d411b7f1d9d015f3ac2c779e5c2a2fc707b20bb7e2ec2c63e9e26d3987c0437f5b12e2df6b1c794bfdab703eb58202ddb5254f78ae8c0a9a9305d
+AUX dbus-1.2.27-template-haskell.patch 506 BLAKE2B baeea0898be20ee77185ff2317235a663813c279561db661038a36885894075b16d86fc45b840096e180a55d20c80ddd9c2a3e3c56448bb4d559bf67b0f04a63 SHA512 1fca2821940a10c820955b350c600e1103d9be0522790ca500c7652bbda15631373400d1f773e1594e8c328213b9a5f681e435503b6a0024ae2b011430e812ab
DIST dbus-1.2.22.tar.gz 78010 BLAKE2B c7189e15e0a9622e707bb50064584bd43141857257baec8e6d59d0cf39428b3b5efa82668ef70fbff218738ba5822b1aaad0c85b5e14bfa3ae4ef237e2458a9d SHA512 81f9fe1420939ebb5b03602ba59dd86656e4443690d8be460684dcb461ff7df1ff4cdf846a5a15ea6193b6f64b08526b27d3e12825a375eecbded3d0a99a59b9
+DIST dbus-1.2.27.tar.gz 78017 BLAKE2B 396739e7e6af0fe1921c9d3857c0650db9532d00a3fd2eda18042d42ce8336631d93d0c0ce75681b695f9e90c7205e38aea7c4f984544460ecab19c7d5090478 SHA512 2c6b87b4a793b555ef617e3f3f89695116180f0e1df2f84ee3da62c819c05c10a78d328644b84c8c9796354ee6dd1c6ad6b0430a1b9a2d7fe112b251d4606e8d
EBUILD dbus-1.2.22.ebuild 1361 BLAKE2B 2da6a01e03482e69314668ad7a7c5159c220b23c74be838b28a2eed7d70c5496b5e960fed16b329289ff898638e1cdbc38127ceb82438696b65115ad97bbaa76 SHA512 0ae51c0839f1598bddca3273d2eaa2b49cc47998045f19c62097cf7f3bf77a177622277d5e004ad3076cd7a2ef974b5ef0c5bb80531a2afbbd22fae12e5a0668
-MISC metadata.xml 2060 BLAKE2B e0fa39e05ec8f6cb8def9e78735e7f4e062b3d294b506e08df5d0592d1a480490ae4cda8a00fc2af7211a3981ac983326908cca24877d2908af0c0a1b2457c53 SHA512 eff83d2ba57a618d6dd22761f64152c53d1be6ce7a22505c8e9553628df38171d6688503703cee1c55c1e4c949728a5882c9293faed77cf3885c42ca98a7e755
+EBUILD dbus-1.2.27.ebuild 1555 BLAKE2B e4e08912410b3b951e5fe8c9447f628a020b9139514dcd60f71ea5b121de6c98ad19883bbf64aaab5e09a1b977cbfb9ad6c658fbad39efca8dc703e194980ef7 SHA512 e423f3631fe5f70bafb417ba6d98ba3090d8a38aa52d209dbb3fa2c919730a0acca6a1400018f48a62b1ae4d1e9f153e32755d69261b626b13e36d40a6ed0a19
+MISC metadata.xml 2175 BLAKE2B 2b2046a4072acdfbd602cb6e473211ccb833d5f557bd00b05ed438a7848d809ea67acf7d7ee14940b9f9c3bdb8236b160623c193e39de4b48121d61a0129202e SHA512 b44268da87318f66f05141fea614dad66a2c09a5b284ebae4ce4a2671cd7a3c71eb27546a96115110316d654bc7177b23f02d76f21a3566ae8ce7ff18e09c352
diff --git a/dev-haskell/dbus/dbus-1.2.27.ebuild b/dev-haskell/dbus/dbus-1.2.27.ebuild
new file mode 100644
index 000000000000..37104d3dc902
--- /dev/null
+++ b/dev-haskell/dbus/dbus-1.2.27.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# ebuild generated by hackport 0.7.1.1.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"
+SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-1.2.22-disable-integration-tests.patch"
+ "${FILESDIR}/${PN}-1.2.27-template-haskell.patch"
+)
+
+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/random-1.3:=[profile?]
+ <dev-haskell/split-0.3:=[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-8.10.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-3.2.0.0
+ test? ( <dev-haskell/extra-1.8
+ <dev-haskell/quickcheck-2.15
+ <dev-haskell/resourcet-1.3
+ <dev-haskell/tasty-1.5
+ <dev-haskell/tasty-hunit-0.11
+ <dev-haskell/tasty-quickcheck-0.11 )
+"
+
+src_prepare() {
+ default
+ cabal_chdeps \
+ "base >=4.16 && <5" "base >=4 && <5" \
+ "template-haskell >= 2.18 && < 2.20" "template-haskell"
+}
diff --git a/dev-haskell/dbus/files/dbus-1.2.27-template-haskell.patch b/dev-haskell/dbus/files/dbus-1.2.27-template-haskell.patch
new file mode 100644
index 000000000000..dab7aaff6aef
--- /dev/null
+++ b/dev-haskell/dbus/files/dbus-1.2.27-template-haskell.patch
@@ -0,0 +1,14 @@
+--- dbus-1.2.27-orig/lib/DBus/Generation.hs 2022-07-13 00:32:15.000000000 +1000
++++ dbus-1.2.27/lib/DBus/Generation.hs 2022-11-15 11:11:32.291154128 +1100
+@@ -148,7 +148,11 @@
+ makeFromVariantApp name = AppE (VarE 'T.fromVariant) $ VarE name
+
+ makeJustPattern :: Name -> Pat
++#if MIN_VERSION_template_haskell(2,18,0)
+ makeJustPattern name = ConP 'Just [] [VarP name]
++#else
++makeJustPattern name = ConP 'Just [VarP name]
++#endif
+
+ mapOrHead ::
+ (Num a, Eq a) => a -> (t -> b) -> [t] -> ([b] -> b) -> b
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>