Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ghc-dbus for openSUSE:Factory checked in at 2023-04-04 21:19:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-dbus (Old) and /work/SRC/openSUSE:Factory/.ghc-dbus.new.19717 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-dbus" Tue Apr 4 21:19:39 2023 rev:24 rq:1075849 version:1.2.27 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-dbus/ghc-dbus.changes 2022-02-11 23:10:40.563165763 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-dbus.new.19717/ghc-dbus.changes 2023-04-04 21:19:48.436955857 +0200 @@ -1,0 +2,11 @@ +Thu Mar 30 17:06:33 UTC 2023 - Peter Simons <[email protected]> + +- Updated spec file to conform with ghc-rpm-macros-2.5.2. + +------------------------------------------------------------------- +Mon Oct 24 17:42:12 UTC 2022 - Peter Simons <[email protected]> + +- Update dbus to version 1.2.27. + Upstream does not provide a change log file. + +------------------------------------------------------------------- Old: ---- dbus-1.2.22.tar.gz New: ---- dbus-1.2.27.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-dbus.spec ++++++ --- /var/tmp/diff_new_pack.i1WOmu/_old 2023-04-04 21:19:49.180960600 +0200 +++ /var/tmp/diff_new_pack.i1WOmu/_new 2023-04-04 21:19:49.188960651 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-dbus # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,46 +17,77 @@ %global pkg_name dbus +%global pkgver %{pkg_name}-%{version} %bcond_with tests Name: ghc-%{pkg_name} -Version: 1.2.22 +Version: 1.2.27 Release: 0 Summary: A client library for the D-Bus IPC system License: Apache-2.0 URL: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-base-devel +BuildRequires: ghc-base-prof BuildRequires: ghc-bytestring-devel +BuildRequires: ghc-bytestring-prof BuildRequires: ghc-cereal-devel +BuildRequires: ghc-cereal-prof BuildRequires: ghc-conduit-devel +BuildRequires: ghc-conduit-prof BuildRequires: ghc-containers-devel +BuildRequires: ghc-containers-prof BuildRequires: ghc-deepseq-devel +BuildRequires: ghc-deepseq-prof BuildRequires: ghc-exceptions-devel +BuildRequires: ghc-exceptions-prof BuildRequires: ghc-filepath-devel +BuildRequires: ghc-filepath-prof BuildRequires: ghc-lens-devel +BuildRequires: ghc-lens-prof BuildRequires: ghc-network-devel +BuildRequires: ghc-network-prof BuildRequires: ghc-parsec-devel +BuildRequires: ghc-parsec-prof BuildRequires: ghc-random-devel +BuildRequires: ghc-random-prof BuildRequires: ghc-rpm-macros BuildRequires: ghc-split-devel +BuildRequires: ghc-split-prof BuildRequires: ghc-template-haskell-devel +BuildRequires: ghc-template-haskell-prof BuildRequires: ghc-text-devel +BuildRequires: ghc-text-prof BuildRequires: ghc-th-lift-devel +BuildRequires: ghc-th-lift-prof BuildRequires: ghc-transformers-devel +BuildRequires: ghc-transformers-prof BuildRequires: ghc-unix-devel +BuildRequires: ghc-unix-prof BuildRequires: ghc-vector-devel +BuildRequires: ghc-vector-prof BuildRequires: ghc-xml-conduit-devel +BuildRequires: ghc-xml-conduit-prof BuildRequires: ghc-xml-types-devel +BuildRequires: ghc-xml-types-prof ExcludeArch: %{ix86} %if %{with tests} BuildRequires: ghc-QuickCheck-devel +BuildRequires: ghc-QuickCheck-prof BuildRequires: ghc-directory-devel +BuildRequires: ghc-directory-prof BuildRequires: ghc-extra-devel +BuildRequires: ghc-extra-prof BuildRequires: ghc-process-devel +BuildRequires: ghc-process-prof BuildRequires: ghc-resourcet-devel +BuildRequires: ghc-resourcet-prof BuildRequires: ghc-tasty-devel BuildRequires: ghc-tasty-hunit-devel +BuildRequires: ghc-tasty-hunit-prof +BuildRequires: ghc-tasty-prof BuildRequires: ghc-tasty-quickcheck-devel +BuildRequires: ghc-tasty-quickcheck-prof %endif %description @@ -101,6 +132,22 @@ %description devel This package provides the Haskell %{pkg_name} library development files. +%package -n ghc-%{pkg_name}-doc +Summary: Haskell %{pkg_name} library documentation +Requires: ghc-filesystem +BuildArch: noarch + +%description -n ghc-%{pkg_name}-doc +This package provides the Haskell %{pkg_name} library documentation. + +%package -n ghc-%{pkg_name}-prof +Summary: Haskell %{pkg_name} profiling library +Requires: ghc-%{pkg_name}-devel = %{version}-%{release} +Supplements: (ghc-%{pkg_name}-devel and ghc-prof) + +%description -n ghc-%{pkg_name}-prof +This package provides the Haskell %{pkg_name} profiling library. + %prep %autosetup -n %{pkg_name}-%{version} @@ -125,4 +172,9 @@ %files devel -f %{name}-devel.files %doc examples +%files -n ghc-%{pkg_name}-doc -f ghc-%{pkg_name}-doc.files +%license license.txt + +%files -n ghc-%{pkg_name}-prof -f ghc-%{pkg_name}-prof.files + %changelog ++++++ dbus-1.2.22.tar.gz -> dbus-1.2.27.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dbus-1.2.22/dbus.cabal new/dbus-1.2.27/dbus.cabal --- old/dbus-1.2.22/dbus.cabal 2021-12-16 22:58:48.000000000 +0100 +++ new/dbus-1.2.27/dbus.cabal 2022-10-24 18:39:30.000000000 +0200 @@ -1,178 +1,183 @@ -cabal-version: >=1.10 -name: dbus -version: 1.2.22 -license: Apache-2.0 -license-file: license.txt -maintainer: Andrey Sverdlichenko <[email protected]> -author: John Millikin <[email protected]> -stability: experimental -homepage: https://github.com/rblaze/haskell-dbus#readme -synopsis: A client library for the D-Bus IPC system. +name: dbus +version: 1.2.27 +license: Apache-2.0 +license-file: license.txt +author: John Millikin <[email protected]> +maintainer: Andrey Sverdlichenko <[email protected]> +build-type: Simple +cabal-version: >= 1.10 +category: Network, Desktop +stability: experimental +homepage: https://github.com/rblaze/haskell-dbus#readme + +synopsis: A client library for the D-Bus IPC system. description: - 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 -   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. -   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 + 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 +   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. +   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 + -category: Network, Desktop -build-type: Simple extra-source-files: - examples/dbus-monitor.hs - examples/export.hs - examples/introspect.hs - examples/list-names.hs - idlxml/dbus.xml + examples/dbus-monitor.hs + examples/export.hs + examples/introspect.hs + examples/list-names.hs + idlxml/dbus.xml source-repository head - type: git - location: https://github.com/rblaze/haskell-dbus + type: git + location: https://github.com/rblaze/haskell-dbus library - exposed-modules: - DBus - DBus.Client - DBus.Generation - DBus.Internal.Address - DBus.Internal.Message - DBus.Internal.Types - DBus.Internal.Wire - DBus.Introspection - DBus.Introspection.Parse - DBus.Introspection.Render - DBus.Introspection.Types - DBus.Socket - DBus.TH - DBus.Transport - - hs-source-dirs: lib - default-language: Haskell2010 - ghc-options: -W -Wall - build-depends: - base ==4.*, - bytestring <0.12, - cereal <0.6, - conduit >=1.3.0 && <1.4, - containers <0.7, - deepseq <1.5, - exceptions <0.11, - filepath <1.5, - lens <5.2, - network >=3.1.2.1 && <3.2, - parsec <3.2, - random <1.3, - split <0.3, - template-haskell <2.18.0.0, - text <1.3, - th-lift <0.9, - transformers <0.6, - unix <2.8, - vector <0.13, - xml-conduit >=1.9.0.0 && <1.10.0.0, - xml-types <0.4 + default-language: Haskell2010 + ghc-options: -W -Wall + hs-source-dirs: lib + + build-depends: + base >=4.16 && <5 + , bytestring < 0.12 + , cereal < 0.6 + , conduit >= 1.3.0 && < 1.4 + , containers < 0.7 + , deepseq < 1.5 + , exceptions < 0.11 + , filepath < 1.5 + , lens < 5.3 + , network >= 3.1.2.1 && < 3.2 + , parsec < 3.2 + , random < 1.3 + , split < 0.3 + , template-haskell >= 2.18 && < 2.20 + , text < 2.1 + , th-lift < 0.9 + , transformers < 0.6 + , unix < 2.8 + , vector < 0.14 + , xml-conduit >= 1.9.0.0 && < 1.10.0.0 + , xml-types < 0.4 + + exposed-modules: + DBus + DBus.Client + DBus.Generation + DBus.Internal.Address + DBus.Internal.Message + DBus.Internal.Types + DBus.Internal.Wire + DBus.Introspection + DBus.Introspection.Parse + DBus.Introspection.Render + DBus.Introspection.Types + DBus.Socket + DBus.TH + DBus.Transport test-suite dbus_tests - type: exitcode-stdio-1.0 - main-is: DBusTests.hs - hs-source-dirs: tests - other-modules: - DBusTests.Address - DBusTests.BusName - DBusTests.Client - DBusTests.ErrorName - DBusTests.Generation - DBusTests.Integration - DBusTests.InterfaceName - DBusTests.Introspection - DBusTests.MemberName - DBusTests.Message - DBusTests.ObjectPath - DBusTests.Serialization - DBusTests.Signature - DBusTests.Socket - DBusTests.TH - DBusTests.Transport - DBusTests.Util - DBusTests.Variant - DBusTests.Wire - - default-language: Haskell2010 - ghc-options: -W -Wall -fno-warn-orphans - build-depends: - dbus -any, - base ==4.*, - bytestring <0.12, - cereal <0.6, - containers <0.7, - directory <1.4, - extra <1.8, - filepath <1.5, - network >=3.1.2.1 && <3.2, - parsec <3.2, - process <1.7, - QuickCheck <2.15, - random <1.3, - resourcet <1.3, - tasty <1.5, - tasty-hunit <0.11, - tasty-quickcheck <0.11, - text <1.3, - transformers <0.6, - unix <2.8, - vector <0.13 + type: exitcode-stdio-1.0 + main-is: DBusTests.hs + hs-source-dirs: tests + default-language: Haskell2010 + ghc-options: -W -Wall -fno-warn-orphans + + build-depends: + dbus + , base >=4 && <5 + , bytestring < 0.12 + , cereal < 0.6 + , containers < 0.7 + , directory < 1.4 + , extra < 1.8 + , filepath < 1.5 + , network >= 3.1.2.1 && < 3.2 + , parsec < 3.2 + , process < 1.7 + , QuickCheck < 2.15 + , random < 1.3 + , resourcet < 1.4 + , tasty < 1.5 + , tasty-hunit < 0.11 + , tasty-quickcheck < 0.11 + , text < 2.1 + , transformers < 0.6 + , unix < 2.8 + , vector < 0.14 + + other-modules: + DBusTests.Address + DBusTests.BusName + DBusTests.Client + DBusTests.ErrorName + DBusTests.Generation + DBusTests.Integration + DBusTests.InterfaceName + DBusTests.Introspection + DBusTests.MemberName + DBusTests.Message + DBusTests.ObjectPath + DBusTests.Serialization + DBusTests.Signature + DBusTests.Socket + DBusTests.TH + DBusTests.Transport + DBusTests.Util + DBusTests.Variant + DBusTests.Wire benchmark dbus_benchmarks - type: exitcode-stdio-1.0 - main-is: DBusBenchmarks.hs - hs-source-dirs: benchmarks - default-language: Haskell2010 - ghc-options: -Wall -fno-warn-orphans - build-depends: - dbus -any, - base ==4.*, - criterion <1.6 + type: exitcode-stdio-1.0 + main-is: DBusBenchmarks.hs + hs-source-dirs: benchmarks + default-language: Haskell2010 + ghc-options: -Wall -fno-warn-orphans + + build-depends: + dbus + , base >=4 && <5 + , criterion < 1.7 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dbus-1.2.22/lib/DBus/Generation.hs new/dbus-1.2.27/lib/DBus/Generation.hs --- old/dbus-1.2.22/lib/DBus/Generation.hs 2021-12-16 20:34:16.000000000 +0100 +++ new/dbus-1.2.27/lib/DBus/Generation.hs 2022-07-12 16:32:15.000000000 +0200 @@ -148,7 +148,7 @@ makeFromVariantApp name = AppE (VarE 'T.fromVariant) $ VarE name makeJustPattern :: Name -> Pat -makeJustPattern name = ConP 'Just [VarP name] +makeJustPattern name = ConP 'Just [] [VarP name] mapOrHead :: (Num a, Eq a) => a -> (t -> b) -> [t] -> ([b] -> b) -> b
