From b5f606d7d5ac4e1efa64c91fc32e9edc878e8eaf36f9c3f15a1a8a3346478978 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Wed, 6 May 2020 13:42:09 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-dbus revision:8, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-dbus?expand=0&rev=36 --- dbus-1.2.13.tar.gz | 3 --- dbus-1.2.14.tar.gz | 3 +++ ghc-dbus.changes | 15 ++------------- ghc-dbus.spec | 14 +++++++------- 4 files changed, 12 insertions(+), 23 deletions(-) delete mode 100644 dbus-1.2.13.tar.gz create mode 100644 dbus-1.2.14.tar.gz diff --git a/dbus-1.2.13.tar.gz b/dbus-1.2.13.tar.gz deleted file mode 100644 index cae4d4a..0000000 --- a/dbus-1.2.13.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6840fc562207f611e450cd82199363e279a7496f4f47f1e5749a860d8015ae6c -size 78163 diff --git a/dbus-1.2.14.tar.gz b/dbus-1.2.14.tar.gz new file mode 100644 index 0000000..3dc0b53 --- /dev/null +++ b/dbus-1.2.14.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:28e7fa7e06054759dc1f0eb196df314948d9a48c1a7ff37d6d20b18d84246070 +size 78005 diff --git a/ghc-dbus.changes b/ghc-dbus.changes index 689156d..a612120 100644 --- a/ghc-dbus.changes +++ b/ghc-dbus.changes @@ -1,18 +1,7 @@ ------------------------------------------------------------------- -Wed Apr 1 12:37:25 UTC 2020 - psimons@suse.com +Wed May 6 06:54:12 UTC 2020 - psimons@suse.com -- Update dbus to version 1.2.13. - Upstream does not provide a change log file. - -------------------------------------------------------------------- -Sat Mar 28 10:59:36 UTC 2020 - Ondřej Súkup - -- remove workaround for dep constraints - -------------------------------------------------------------------- -Tue Mar 24 08:07:18 UTC 2020 - psimons@suse.com - -- Update dbus to version 1.2.12. +- Update dbus to version 1.2.14. Upstream does not provide a change log file. ------------------------------------------------------------------- diff --git a/ghc-dbus.spec b/ghc-dbus.spec index efa33ce..0d5da3f 100644 --- a/ghc-dbus.spec +++ b/ghc-dbus.spec @@ -19,7 +19,7 @@ %global pkg_name dbus %bcond_with tests Name: ghc-%{pkg_name} -Version: 1.2.13 +Version: 1.2.14 Release: 0 Summary: A client library for the D-Bus IPC system License: Apache-2.0 @@ -76,14 +76,14 @@ Example: connect to the session bus, and get a list of active names. import Data.List (sort) import DBus import DBus.Client -main = do client <- connectSession // -- Request a list of +main = do client <- connectSession -- Request a list of connected clients from the bus reply <- call_ client (methodCall "/org/freedesktop/DBus" "org.freedesktop.DBus" "ListNames") { -methodCallDestination = Just "org.freedesktop.DBus" } // - -- org.freedesktop.DBus.ListNames() returns a single value, which is - -- a list of names (here represented as [String]) let Just names -= fromVariant (methodReturnBody reply !! 0) // -- Print each name -on a line, sorted so reserved names are below -- temporary names. +methodCallDestination = Just "org.freedesktop.DBus" } +-- org.freedesktop.DBus.ListNames() returns a single value, which is -- +a list of names (here represented as [String]) let Just names = +fromVariant (methodReturnBody reply !! 0) -- Print each name on a +line, sorted so reserved names are below -- temporary names. mapM_ putStrLn (sort names) ' >$ ghc --make list-names.hs >$ ./list-names >:1.0 >:1.1 >:1.10 >:1.106 >:1.109