commit cerbere for openSUSE:Factory

2019-07-30 Thread root
Hello community,

here is the log from the commit of package cerbere for openSUSE:Factory checked 
in at 2019-07-30 12:38:44

Comparing /work/SRC/openSUSE:Factory/cerbere (Old)
 and  /work/SRC/openSUSE:Factory/.cerbere.new.4126 (New)


Package is "cerbere"

Tue Jul 30 12:38:44 2019 rev:4 rq:719681 version:2.5.0

Changes:

--- /work/SRC/openSUSE:Factory/cerbere/cerbere.changes  2018-12-24 
11:47:09.297146314 +0100
+++ /work/SRC/openSUSE:Factory/.cerbere.new.4126/cerbere.changes
2019-07-30 12:38:46.954939121 +0200
@@ -1,0 +2,7 @@
+Tue Jul 16 15:30:21 UTC 2019 - Alexei Podvalsky 
+
+- Update to 2.5.0:
+  * Handle SIGHUP for clean shutdown (#31)
+  * Handle SIGTERM for clean shutdown (#29)
+
+---

Old:

  cerbere-0.2.4.tar.gz

New:

  cerbere-2.5.0.tar.gz



Other differences:
--
++ cerbere.spec ++
--- /var/tmp/diff_new_pack.oYzq3o/_old  2019-07-30 12:38:47.490939053 +0200
+++ /var/tmp/diff_new_pack.oYzq3o/_new  2019-07-30 12:38:47.490939053 +0200
@@ -18,7 +18,7 @@
 
 
 Name:   cerbere
-Version:0.2.4
+Version:2.5.0
 Release:0
 Summary:A service to relaunch Pantheon apps
 License:GPL-2.0-or-later

++ cerbere-0.2.4.tar.gz -> cerbere-2.5.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cerbere-0.2.4/meson.build 
new/cerbere-2.5.0/meson.build
--- old/cerbere-0.2.4/meson.build   2018-07-27 06:02:43.0 +0200
+++ new/cerbere-2.5.0/meson.build   2019-07-11 16:21:02.0 +0200
@@ -1,7 +1,7 @@
 project(
 'io.elementary.cerbere',
 'vala', 'c',
-version: '0.2.4'
+version: '2.5.0'
 )
 
 install_path = join_paths(get_option('prefix'), get_option('libexecdir'))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cerbere-0.2.4/src/Cerbere.vala 
new/cerbere-2.5.0/src/Cerbere.vala
--- old/cerbere-0.2.4/src/Cerbere.vala  2018-07-27 06:02:43.0 +0200
+++ new/cerbere-2.5.0/src/Cerbere.vala  2019-07-11 16:21:02.0 +0200
@@ -68,13 +68,16 @@
 if (sm_client != null) {
 // The session manager may ask us to quit the service, and so we 
do.
 sm_client.stop_service.connect (quit_service);
+// Cleanly shutdown when receiving SIGTERM or SIGHUP.
+Posix.signal (Posix.Signal.TERM, handle_sigterm);
+Posix.signal (Posix.Signal.HUP, handle_sighup);
 }
 }
 
 private void start_processes (string[] process_list) {
 if (watchdog == null)
 watchdog = new Watchdog ();
- 
+
 foreach (string cmd in process_list)
 watchdog.add_process (cmd);
 }
@@ -84,6 +87,16 @@
 release ();
 }
 
+private void handle_sigterm () {
+message ("Closing Cerbere as requested via SIGTERM");
+release ();
+}
+
+private void handle_sighup () {
+message ("Closing Cerbere as requested via SIGHUP");
+release ();
+}
+
 public static int main (string[] args) {
 var app = new Cerbere.App ();
 return app.run (args);




commit cerbere for openSUSE:Factory

2018-12-24 Thread root
Hello community,

here is the log from the commit of package cerbere for openSUSE:Factory checked 
in at 2018-12-24 11:47:06

Comparing /work/SRC/openSUSE:Factory/cerbere (Old)
 and  /work/SRC/openSUSE:Factory/.cerbere.new.28833 (New)


Package is "cerbere"

Mon Dec 24 11:47:06 2018 rev:3 rq:660529 version:0.2.4

Changes:

--- /work/SRC/openSUSE:Factory/cerbere/cerbere.changes  2017-06-20 
09:39:58.883570035 +0200
+++ /work/SRC/openSUSE:Factory/.cerbere.new.28833/cerbere.changes   
2018-12-24 11:47:09.297146314 +0100
@@ -1,0 +2,41 @@
+Thu Dec 20 22:08:07 UTC 2018 - Jan Engelhardt 
+
+- Restore proper grammar in description again.
+
+---
+Fri Aug 17 14:42:46 UTC 2018 - avvi...@yandex.by
+
+- Update to 0.2.4:
+  * Install to libexec & autostart (#24)
+
+---
+Sat Jun  9 22:44:39 UTC 2018 - avvi...@yandex.by
+
+- Update to 0.2.3:
+  * Remove CMake build system
+  * Remove unused gettext domain
+  * RDNN
+  * Update README.md
+  * Add Meson build system
+  * Remove unused make dist (#17)
+  * Remove bzrignore (#16)
+  * Remove static modifier from consts (#15)
+  * Create .gitignore (#12)
+  * Create CODE_OF_CONDUCT.md (#11)
+  * Update bug report message (#10)
+  * Create COPYING (#9)
+  * Update and rename INSTALL to README.md (#7)
+  * move gschema to data dir (#8)
+  * Remove executable bit from files
+  * unmark INSTALL instructions as executable
+
+---
+Fri Jun  8 22:30:29 UTC 2018 - avvi...@yandex.by
+
+- Switch to git from bzr
+- Switch to meson
+- Add COPYING and README.md files
+- Remove obsolete macros
+- Spec file cleanup
+
+---

Old:

  cerbere-0.2.2.tar.xz

New:

  cerbere-0.2.4.tar.gz



Other differences:
--
++ cerbere.spec ++
--- /var/tmp/diff_new_pack.0WqX29/_old  2018-12-24 11:47:09.721145942 +0100
+++ /var/tmp/diff_new_pack.0WqX29/_new  2018-12-24 11:47:09.725145938 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package cerbere
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2013 Mihai Petracovici .
 #
 # All modifications and additions to the file contributed by third parties
@@ -13,28 +13,25 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 Name:   cerbere
-Version:0.2.2
+Version:0.2.4
 Release:0
 Summary:A service to relaunch Pantheon apps
-License:GPL-2.0
+License:GPL-2.0-or-later
 Group:  System/Daemons
-Url:https://launchpad.net/cerbere
-Source: 
https://launchpad.net/cerbere/0.x/%{version}/+download/%{name}-%{version}.tar.xz
-BuildRequires:  cmake
-BuildRequires:  gcc-c++
-BuildRequires:  glib2-devel
+URL:https://elementary.io/
+Source: 
https://github.com/elementary/cerbere/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
 BuildRequires:  libgee-devel
+BuildRequires:  meson >= 0.44.4
 BuildRequires:  update-desktop-files
 BuildRequires:  vala >= 0.28.0
-%glib2_gsettings_schema_requires
 
 %description
-Cerbere is a sort of a watchdog, designed for Pantheon. It monitors a
+Cerbere is a sort of a watchdog designed for Pantheon. It monitors a
 predefined list of processes (configurable through dconf) and relaunches
 them if they end. This is helpful to keep the panel, dock, and wallpaper
 running, even if they crash or are killed by another process.
@@ -43,28 +40,18 @@
 %setup -q
 
 %build
-%cmake \
--DGSETTINGS_COMPILE=OFF
-
-make %{?_smp_mflags}
+%meson
+%meson_build
 
 %install
-%cmake_install
-
-%suse_update_desktop_file -r %{name} System Utility
-
-%post
-%desktop_database_post
-%glib2_gsettings_schema_post
-
-%postun
-%desktop_database_postun
-%glib2_gsettings_schema_postun
+%meson_install
+%suse_update_desktop_file -r io.elementary.cerbere System Utility
 
 %files
-%defattr(-,root,root)
-%{_bindir}/%{name}
-%{_datadir}/applications/%{name}.desktop
-%{_datadir}/glib-2.0/schemas/org.pantheon.%{name}.gschema.xml
+%license COPYING
+%doc README.md
+%{_libexecdir}/io.elementary.cerbere
+%{_datadir}/glib-2.0/schemas/io.elementary.cerbere.gschema.xml
+%{_sysconfdir}/xdg/autostart/io.elementary.cerbere.desktop
 
 %changelog




commit cerbere for openSUSE:Factory

2017-06-20 Thread root
Hello community,

here is the log from the commit of package cerbere for openSUSE:Factory checked 
in at 2017-06-20 09:39:55

Comparing /work/SRC/openSUSE:Factory/cerbere (Old)
 and  /work/SRC/openSUSE:Factory/.cerbere.new (New)


Package is "cerbere"

Tue Jun 20 09:39:55 2017 rev:2 rq:504416 version:0.2.2

Changes:

--- /work/SRC/openSUSE:Factory/cerbere/cerbere.changes  2017-06-09 
15:56:40.541865588 +0200
+++ /work/SRC/openSUSE:Factory/.cerbere.new/cerbere.changes 2017-06-20 
09:39:58.883570035 +0200
@@ -1,0 +2,5 @@
+Tue Jun 13 14:40:05 UTC 2017 - jeng...@inai.de
+
+- Fix grammar of description.
+
+---



Other differences:
--
++ cerbere.spec ++
--- /var/tmp/diff_new_pack.DWad5L/_old  2017-06-20 09:39:59.831436393 +0200
+++ /var/tmp/diff_new_pack.DWad5L/_new  2017-06-20 09:39:59.835435829 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package cerbere
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2013 Mihai Petracovici .
 #
 # All modifications and additions to the file contributed by third parties
@@ -34,7 +34,7 @@
 %glib2_gsettings_schema_requires
 
 %description
-Cerbere is a sort of watchdog designed for Pantheon. It monitors a
+Cerbere is a sort of a watchdog, designed for Pantheon. It monitors a
 predefined list of processes (configurable through dconf) and relaunches
 them if they end. This is helpful to keep the panel, dock, and wallpaper
 running, even if they crash or are killed by another process.