Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

ghc-dbus-1.3.2-1.6 RPM for s390x

From OpenSuSE Ports Tumbleweed for s390x

Name: ghc-dbus Distribution: openSUSE:Factory:zSystems
Version: 1.3.2 Vendor: openSUSE
Release: 1.6 Build date: Tue Dec 26 21:35:58 2023
Group: Unspecified Build host: reproducible
Size: 3822382 Source RPM: ghc-dbus-1.3.2-1.6.src.rpm
Packager: https://bugs.opensuse.org
Url: https://hackage.haskell.org/package/dbus
Summary: A client library for the D-Bus IPC system
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.

' {-# LANGUAGE OverloadedStrings #-}

import Data.List (sort) import DBus import DBus.Client

main = do &#x20; client <- connectSession &#x20; &#x20; -- Request a list of
connected clients from the bus &#x20; reply <- call_ client (methodCall
"/org/freedesktop/DBus" "org.freedesktop.DBus" "ListNames") &#x20; &#x7b;
methodCallDestination = Just "org.freedesktop.DBus" &#x20; &#x7d; &#x20; &#x20;
-- org.freedesktop.DBus.ListNames() returns a single value, which is &#x20; --
a list of names (here represented as [String]) &#x20; let Just names =
fromVariant (methodReturnBody reply !! 0) &#x20; &#x20; -- Print each name on a
line, sorted so reserved names are below &#x20; -- temporary names.
&#x20; mapM_ putStrLn (sort names) '

>$ ghc --make list-names.hs >$ ./list-names >:1.0 >:1.1 >:1.10 >:1.106 >:1.109
>:1.110 >ca.desrt.dconf >org.freedesktop.DBus >org.freedesktop.Notifications
>org.freedesktop.secrets >org.gnome.ScreenSaver.

Provides

Requires

License

Apache-2.0

Changelog

* Tue Dec 26 2023 Peter Simons <psimons@suse.com>
  - Update dbus to version 1.3.2.
    Upstream does not provide a change log file.
* Thu Sep 14 2023 Peter Simons <psimons@suse.com>
  - Update dbus to version 1.3.1.
    Upstream does not provide a change log file.
* Mon Jun 12 2023 Peter Simons <psimons@suse.com>
  - Update dbus to version 1.2.29.
    Upstream does not provide a change log file.
* Mon Apr 03 2023 Peter Simons <psimons@suse.com>
  - Update dbus to version 1.2.28.
    Upstream does not provide a change log file.
* Thu Mar 30 2023 Peter Simons <psimons@suse.com>
  - Updated spec file to conform with ghc-rpm-macros-2.5.2.
* Mon Oct 24 2022 Peter Simons <psimons@suse.com>
  - Update dbus to version 1.2.27.
    Upstream does not provide a change log file.
* Thu Dec 16 2021 Peter Simons <psimons@suse.com>
  - Update dbus to version 1.2.22.
    Upstream does not provide a change log file.
* Sun Nov 21 2021 Ondřej Súkup <mimi.vx@gmail.com>
  - remove opverspecified constraints on lens
* Sat Feb 27 2021 psimons@suse.com
  - Update dbus to version 1.2.21.
    Upstream does not provide a change log file.
* Sun Feb 21 2021 psimons@suse.com
  - Update dbus to version 1.2.19.
    Upstream does not provide a change log file.
* Wed Jan 27 2021 psimons@suse.com
  - Update dbus to version 1.2.18.
    Upstream does not provide a change log file.

Files

/usr/lib64/ghc-9.8.2/lib/libHSdbus-1.3.2-DZGxPvOhFBIK9Z7SoTKwDi-ghc9.8.2.so
/usr/share/licenses/ghc-dbus
/usr/share/licenses/ghc-dbus/license.txt


Generated by rpm2html 1.8.1

Fabrice Bellet, Tue Apr 9 12:53:36 2024