Hello community, here is the log from the commit of package tint2 for openSUSE:Factory checked in at 2017-11-08 15:10:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/tint2 (Old) and /work/SRC/openSUSE:Factory/.tint2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tint2" Wed Nov 8 15:10:53 2017 rev:12 rq:539588 version:15.3 Changes: -------- --- /work/SRC/openSUSE:Factory/tint2/tint2.changes 2017-10-19 19:32:55.646656755 +0200 +++ /work/SRC/openSUSE:Factory/.tint2.new/tint2.changes 2017-11-08 15:13:50.317932921 +0100 @@ -1,0 +2,8 @@ +Mon Nov 06 20:53:39 UTC 2017 - [email protected] + +- Update to 15.3: + Fixes: + * Launcher: Reset signal mask before executing commands (issue #674) + * cmake: Do not hardcode path to /etc +- Added tint2conf.1.gz to fix rpmlint warning. Manpage for tint2conf was taken from debian package. +------------------------------------------------------------------- Old: ---- tint2-15.2.tar.gz New: ---- tint2-15.3.tar.gz tint2conf.1.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tint2.spec ++++++ --- /var/tmp/diff_new_pack.8d9XMu/_old 2017-11-08 15:13:50.981908684 +0100 +++ /var/tmp/diff_new_pack.8d9XMu/_new 2017-11-08 15:13:50.981908684 +0100 @@ -17,13 +17,14 @@ Name: tint2 -Version: 15.2 +Version: 15.3 Release: 0 Summary: A lightweight X11 desktop panel and task manager License: GPL-2.0 Group: System/X11/Utilities Url: https://gitlab.com/o9000/tint2 Source0: https://gitlab.com/o9000/%{name}/repository/archive.tar.gz?ref=v%{version}#/%{name}-%{version}.tar.gz +Source1: tint2conf.1.gz BuildRequires: cairo-devel BuildRequires: cmake BuildRequires: desktop-file-utils @@ -49,7 +50,7 @@ %lang_package %prep -%setup -q -n %{name}-v%{version}-9a7d5a1a518bf5fd32e8061ac3885c322b0c3587/ +%setup -q -n %{name}-v%{version}-d8770ed590b6a8af6345a1a6644e111a62ce3755/ %build %cmake -DENABLE_EXAMPLES=ON -DDOCDIR=%{_docdir}/%{name} @@ -75,6 +76,9 @@ --dir=%{buildroot}%{_datadir}/applications \ %{buildroot}/%{_datadir}/applications/tint2conf.desktop +# install man page for tint2conf (written for Debian package) +install -m 0644 %{SOURCE1} %{buildroot}/%{_mandir}/man1/ + %find_lang tint2conf %post ++++++ tint2-15.2.tar.gz -> tint2-15.3.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tint2-v15.2-9a7d5a1a518bf5fd32e8061ac3885c322b0c3587/CMakeLists.txt new/tint2-v15.3-d8770ed590b6a8af6345a1a6644e111a62ce3755/CMakeLists.txt --- old/tint2-v15.2-9a7d5a1a518bf5fd32e8061ac3885c322b0c3587/CMakeLists.txt 2017-10-01 18:45:36.000000000 +0200 +++ new/tint2-v15.3-d8770ed590b6a8af6345a1a6644e111a62ce3755/CMakeLists.txt 2017-11-05 12:28:35.000000000 +0100 @@ -273,7 +273,7 @@ install( TARGETS tint2 DESTINATION bin ) install( FILES tint2.svg DESTINATION ${CMAKE_INSTALL_DATADIR}/icons/hicolor/scalable/apps ) install( FILES tint2.desktop DESTINATION ${CMAKE_INSTALL_DATADIR}/applications ) -install( FILES themes/tint2rc DESTINATION /etc/xdg/tint2 ) +install( FILES themes/tint2rc DESTINATION ${CMAKE_INSTALL_FULL_SYSCONFDIR}/xdg/tint2 ) install( FILES default_icon.png DESTINATION ${CMAKE_INSTALL_DATADIR}/tint2 ) install( FILES AUTHORS ChangeLog README.md doc/tint2.md DESTINATION ${docdir} ) install( FILES doc/manual.html doc/readme.html DESTINATION ${htmldir} ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tint2-v15.2-9a7d5a1a518bf5fd32e8061ac3885c322b0c3587/ChangeLog new/tint2-v15.3-d8770ed590b6a8af6345a1a6644e111a62ce3755/ChangeLog --- old/tint2-v15.2-9a7d5a1a518bf5fd32e8061ac3885c322b0c3587/ChangeLog 2017-10-01 18:45:36.000000000 +0200 +++ new/tint2-v15.3-d8770ed590b6a8af6345a1a6644e111a62ce3755/ChangeLog 2017-11-05 12:28:35.000000000 +0100 @@ -1,3 +1,8 @@ +2017-11-05 15.3 +- Fixes: + - Launcher: Reset signal mask before executing commands (issue #674) + - cmake: Do not hardcode path to /etc + 2017-10-01 15.2 - Fixes: - Battery info is now again displayed even when current sensor is missing (https://github.com/jmc-88/tint3/issues/34) @@ -959,3 +964,4 @@ . . . +. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tint2-v15.2-9a7d5a1a518bf5fd32e8061ac3885c322b0c3587/README.md new/tint2-v15.3-d8770ed590b6a8af6345a1a6644e111a62ce3755/README.md --- old/tint2-v15.2-9a7d5a1a518bf5fd32e8061ac3885c322b0c3587/README.md 2017-10-01 18:45:36.000000000 +0200 +++ new/tint2-v15.3-d8770ed590b6a8af6345a1a6644e111a62ce3755/README.md 2017-11-05 12:28:35.000000000 +0100 @@ -1,5 +1,5 @@ -# Latest stable release: 15.2 -Changes: https://gitlab.com/o9000/tint2/blob/15.2/ChangeLog +# Latest stable release: 15.3 +Changes: https://gitlab.com/o9000/tint2/blob/15.3/ChangeLog Documentation: [doc/tint2.md](doc/tint2.md) @@ -8,7 +8,7 @@ ``` git clone https://gitlab.com/o9000/tint2.git cd tint2 -git checkout 15.2 +git checkout 15.3 mkdir build cd build cmake .. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tint2-v15.2-9a7d5a1a518bf5fd32e8061ac3885c322b0c3587/doc/readme.html new/tint2-v15.3-d8770ed590b6a8af6345a1a6644e111a62ce3755/doc/readme.html --- old/tint2-v15.2-9a7d5a1a518bf5fd32e8061ac3885c322b0c3587/doc/readme.html 2017-10-01 18:45:36.000000000 +0200 +++ new/tint2-v15.3-d8770ed590b6a8af6345a1a6644e111a62ce3755/doc/readme.html 2017-11-05 12:28:35.000000000 +0100 @@ -199,9 +199,9 @@ </style> </head> <body> -<h1 id="latest-stable-release-15-2"><span class="md2man-title">Latest</span> <span class="md2man-section">stable</span> <span class="md2man-date">release:</span> <span class="md2man-source">15.2</span><a name="latest-stable-release-15-2" href="#latest-stable-release-15-2" class="md2man-permalink" title="permalink"></a></h1><p>Changes: <a href="https://gitlab.com/o9000/tint2/blob/15.2/ChangeLog">https://gitlab.com/o9000/tint2/blob/15.2/ChangeLog</a></p><p>Documentation: <a href="manual.html">manual.html</a></p><p>Compile it with (after you install the <a href="https://gitlab.com/o9000/tint2/wikis/Install#dependencies">dependencies</a>):</p><pre class="highlight plaintext"><code>git clone https://gitlab.com/o9000/tint2.git +<h1 id="latest-stable-release-15-3"><span class="md2man-title">Latest</span> <span class="md2man-section">stable</span> <span class="md2man-date">release:</span> <span class="md2man-source">15.3</span><a name="latest-stable-release-15-3" href="#latest-stable-release-15-3" class="md2man-permalink" title="permalink"></a></h1><p>Changes: <a href="https://gitlab.com/o9000/tint2/blob/15.3/ChangeLog">https://gitlab.com/o9000/tint2/blob/15.3/ChangeLog</a></p><p>Documentation: <a href="manual.html">manual.html</a></p><p>Compile it with (after you install the <a href="https://gitlab.com/o9000/tint2/wikis/Install#dependencies">dependencies</a>):</p><pre class="highlight plaintext"><code>git clone https://gitlab.com/o9000/tint2.git cd tint2 -git checkout 15.2 +git checkout 15.3 mkdir build cd build cmake .. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tint2-v15.2-9a7d5a1a518bf5fd32e8061ac3885c322b0c3587/doc/tint2.1 new/tint2-v15.3-d8770ed590b6a8af6345a1a6644e111a62ce3755/doc/tint2.1 --- old/tint2-v15.2-9a7d5a1a518bf5fd32e8061ac3885c322b0c3587/doc/tint2.1 2017-10-01 18:45:36.000000000 +0200 +++ new/tint2-v15.3-d8770ed590b6a8af6345a1a6644e111a62ce3755/doc/tint2.1 2017-11-05 12:28:35.000000000 +0100 @@ -1,4 +1,4 @@ -.TH TINT2 1 "2017\-10\-01" 15.2 +.TH TINT2 1 "2017\-11\-05" 15.3 .SH NAME .PP tint2 \- lightweight panel/taskbar diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tint2-v15.2-9a7d5a1a518bf5fd32e8061ac3885c322b0c3587/doc/tint2.md new/tint2-v15.3-d8770ed590b6a8af6345a1a6644e111a62ce3755/doc/tint2.md --- old/tint2-v15.2-9a7d5a1a518bf5fd32e8061ac3885c322b0c3587/doc/tint2.md 2017-10-01 18:45:36.000000000 +0200 +++ new/tint2-v15.3-d8770ed590b6a8af6345a1a6644e111a62ce3755/doc/tint2.md 2017-11-05 12:28:35.000000000 +0100 @@ -1,4 +1,4 @@ -# TINT2 1 "2017-10-01" 15.2 +# TINT2 1 "2017-11-05" 15.3 ## NAME tint2 - lightweight panel/taskbar diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tint2-v15.2-9a7d5a1a518bf5fd32e8061ac3885c322b0c3587/new-release.py new/tint2-v15.3-d8770ed590b6a8af6345a1a6644e111a62ce3755/new-release.py --- old/tint2-v15.2-9a7d5a1a518bf5fd32e8061ac3885c322b0c3587/new-release.py 2017-10-01 18:45:36.000000000 +0200 +++ new/tint2-v15.3-d8770ed590b6a8af6345a1a6644e111a62ce3755/new-release.py 2017-11-05 12:28:35.000000000 +0100 @@ -190,3 +190,7 @@ run("cd tint2-%s ; mkdir build ; cd build ; cmake .. ; make" % readable_version) assert_equal(run("./tint2-%s/build/tint2 -v" % readable_version).strip(), "tint2 version %s" % readable_version) os.system("git log -p -1 --word-diff") + print "Does this look correct? [y/n]" + choice = raw_input().lower() + if choice != "y": + run("git reset --hard HEAD~ ; git tag -d %s ; git tag -d %s" % (version, readable_version)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tint2-v15.2-9a7d5a1a518bf5fd32e8061ac3885c322b0c3587/packaging/debian/rules new/tint2-v15.3-d8770ed590b6a8af6345a1a6644e111a62ce3755/packaging/debian/rules --- old/tint2-v15.2-9a7d5a1a518bf5fd32e8061ac3885c322b0c3587/packaging/debian/rules 2017-10-01 18:45:36.000000000 +0200 +++ new/tint2-v15.3-d8770ed590b6a8af6345a1a6644e111a62ce3755/packaging/debian/rules 2017-11-05 12:28:35.000000000 +0100 @@ -4,7 +4,7 @@ dh $@ override_dh_auto_configure: - dh_auto_configure -- -DCMAKE_BUILD_TYPE=RelWithDebInfo + dh_auto_configure -- -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_SYSCONFDIR=/etc override_dh_auto_install: dh_auto_install --destdir=$(CURDIR)/debian/tmp diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tint2-v15.2-9a7d5a1a518bf5fd32e8061ac3885c322b0c3587/src/signals.c new/tint2-v15.3-d8770ed590b6a8af6345a1a6644e111a62ce3755/src/signals.c --- old/tint2-v15.2-9a7d5a1a518bf5fd32e8061ac3885c322b0c3587/src/signals.c 2017-10-01 18:45:36.000000000 +0200 +++ new/tint2-v15.3-d8770ed590b6a8af6345a1a6644e111a62ce3755/src/signals.c 2017-11-05 12:28:35.000000000 +0100 @@ -24,11 +24,23 @@ signal_pending = sig; } +void reset_signals() +{ + for (int sig = 1; sig < 32; sig++) { + signal(sig, SIG_DFL); + } + sigset_t signal_set; + sigemptyset(&signal_set); + sigprocmask(SIG_SETMASK, &signal_set, NULL); +} + void init_signals() { // Set signal handlers signal_pending = 0; + reset_signals(); + struct sigaction sa_chld = {.sa_handler = SIG_IGN}; sigaction(SIGCHLD, &sa_chld, 0); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tint2-v15.2-9a7d5a1a518bf5fd32e8061ac3885c322b0c3587/src/signals.h new/tint2-v15.3-d8770ed590b6a8af6345a1a6644e111a62ce3755/src/signals.h --- old/tint2-v15.2-9a7d5a1a518bf5fd32e8061ac3885c322b0c3587/src/signals.h 2017-10-01 18:45:36.000000000 +0200 +++ new/tint2-v15.3-d8770ed590b6a8af6345a1a6644e111a62ce3755/src/signals.h 2017-11-05 12:28:35.000000000 +0100 @@ -5,6 +5,7 @@ void init_signals_postconfig(); void emit_self_restart(const char *reason); int get_signal_pending(); +void reset_signals(); void handle_sigchld_events(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tint2-v15.2-9a7d5a1a518bf5fd32e8061ac3885c322b0c3587/src/util/common.c new/tint2-v15.3-d8770ed590b6a8af6345a1a6644e111a62ce3755/src/util/common.c --- old/tint2-v15.2-9a7d5a1a518bf5fd32e8061ac3885c322b0c3587/src/util/common.c 2017-10-01 18:45:36.000000000 +0200 +++ new/tint2-v15.3-d8770ed590b6a8af6345a1a6644e111a62ce3755/src/util/common.c 2017-11-05 12:28:35.000000000 +0100 @@ -59,6 +59,7 @@ #include "../panel.h" #include "timer.h" +#include "signals.h" void write_string(int fd, const char *s) { @@ -398,6 +399,7 @@ if (dir) chdir(dir); close_all_fds(); + reset_signals(); if (terminal) { #if !defined(__OpenBSD__) fprintf(stderr, "tint2: executing in x-terminal-emulator: %s\n", command); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tint2-v15.2-9a7d5a1a518bf5fd32e8061ac3885c322b0c3587/test/update_test_status.sh new/tint2-v15.3-d8770ed590b6a8af6345a1a6644e111a62ce3755/test/update_test_status.sh --- old/tint2-v15.2-9a7d5a1a518bf5fd32e8061ac3885c322b0c3587/test/update_test_status.sh 2017-10-01 18:45:36.000000000 +0200 +++ new/tint2-v15.3-d8770ed590b6a8af6345a1a6644e111a62ce3755/test/update_test_status.sh 2017-11-05 12:28:35.000000000 +0100 @@ -11,7 +11,9 @@ cd ~/tint2 git reset --hard git pull - +last=$(cat .last-reg-test) +curr=$(git rev-parse --verify HEAD) +[ "$last" == "$curr" ] && exit 0 cd ~/tint2.wiki git reset --hard @@ -27,3 +29,6 @@ git add tests.md git commit -am 'Update test results' git push origin master + +cd ~/tint2 +echo "$curr" > .last-reg-test
