Compare commits
13 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d8770ed590 | ||
|
|
be7873a688 | ||
|
|
cf81f1c9f9 | ||
|
|
cde05df1bc | ||
|
|
5fee459945 | ||
|
|
6d67291928 | ||
|
|
4171e23153 | ||
|
|
725f625aba | ||
|
|
a6ea1eb5a9 | ||
|
|
14b983cd0c | ||
|
|
23ddb47e0c | ||
|
|
407aef3786 | ||
|
|
50c7bf77de |
@@ -273,7 +273,7 @@ set_target_properties( tint2 PROPERTIES LINK_FLAGS "-pthread -fno-strict-aliasin
|
|||||||
install( TARGETS tint2 DESTINATION bin )
|
install( TARGETS tint2 DESTINATION bin )
|
||||||
install( FILES tint2.svg DESTINATION ${CMAKE_INSTALL_DATADIR}/icons/hicolor/scalable/apps )
|
install( FILES tint2.svg DESTINATION ${CMAKE_INSTALL_DATADIR}/icons/hicolor/scalable/apps )
|
||||||
install( FILES tint2.desktop DESTINATION ${CMAKE_INSTALL_DATADIR}/applications )
|
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 default_icon.png DESTINATION ${CMAKE_INSTALL_DATADIR}/tint2 )
|
||||||
install( FILES AUTHORS ChangeLog README.md doc/tint2.md DESTINATION ${docdir} )
|
install( FILES AUTHORS ChangeLog README.md doc/tint2.md DESTINATION ${docdir} )
|
||||||
install( FILES doc/manual.html doc/readme.html DESTINATION ${htmldir} )
|
install( FILES doc/manual.html doc/readme.html DESTINATION ${htmldir} )
|
||||||
|
|||||||
@@ -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
|
2017-10-01 15.2
|
||||||
- Fixes:
|
- Fixes:
|
||||||
- Battery info is now again displayed even when current sensor is missing (https://github.com/jmc-88/tint3/issues/34)
|
- Battery info is now again displayed even when current sensor is missing (https://github.com/jmc-88/tint3/issues/34)
|
||||||
@@ -959,3 +964,4 @@ released tint-0.2
|
|||||||
.
|
.
|
||||||
.
|
.
|
||||||
.
|
.
|
||||||
|
.
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# Latest stable release: 15.2
|
# Latest stable release: 15.3
|
||||||
Changes: https://gitlab.com/o9000/tint2/blob/15.2/ChangeLog
|
Changes: https://gitlab.com/o9000/tint2/blob/15.3/ChangeLog
|
||||||
|
|
||||||
Documentation: [doc/tint2.md](doc/tint2.md)
|
Documentation: [doc/tint2.md](doc/tint2.md)
|
||||||
|
|
||||||
@@ -8,7 +8,7 @@ Compile it with (after you install the [dependencies](https://gitlab.com/o9000/t
|
|||||||
```
|
```
|
||||||
git clone https://gitlab.com/o9000/tint2.git
|
git clone https://gitlab.com/o9000/tint2.git
|
||||||
cd tint2
|
cd tint2
|
||||||
git checkout 15.2
|
git checkout 15.3
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
cmake ..
|
cmake ..
|
||||||
|
|||||||
@@ -199,9 +199,9 @@ pre {
|
|||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<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
|
cd tint2
|
||||||
git checkout 15.2
|
git checkout 15.3
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
cmake ..
|
cmake ..
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
.TH TINT2 1 "2017\-10\-01" 15.2
|
.TH TINT2 1 "2017\-11\-05" 15.3
|
||||||
.SH NAME
|
.SH NAME
|
||||||
.PP
|
.PP
|
||||||
tint2 \- lightweight panel/taskbar
|
tint2 \- lightweight panel/taskbar
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# TINT2 1 "2017-10-01" 15.2
|
# TINT2 1 "2017-11-05" 15.3
|
||||||
|
|
||||||
## NAME
|
## NAME
|
||||||
tint2 - lightweight panel/taskbar
|
tint2 - lightweight panel/taskbar
|
||||||
|
|||||||
@@ -190,3 +190,7 @@ if __name__ == '__main__':
|
|||||||
run("cd tint2-%s ; mkdir build ; cd build ; cmake .. ; make" % readable_version)
|
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)
|
assert_equal(run("./tint2-%s/build/tint2 -v" % readable_version).strip(), "tint2 version %s" % readable_version)
|
||||||
os.system("git log -p -1 --word-diff")
|
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))
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
dh $@
|
dh $@
|
||||||
|
|
||||||
override_dh_auto_configure:
|
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:
|
override_dh_auto_install:
|
||||||
dh_auto_install --destdir=$(CURDIR)/debian/tmp
|
dh_auto_install --destdir=$(CURDIR)/debian/tmp
|
||||||
|
|||||||
@@ -24,11 +24,23 @@ void signal_handler(int sig)
|
|||||||
signal_pending = sig;
|
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()
|
void init_signals()
|
||||||
{
|
{
|
||||||
// Set signal handlers
|
// Set signal handlers
|
||||||
signal_pending = 0;
|
signal_pending = 0;
|
||||||
|
|
||||||
|
reset_signals();
|
||||||
|
|
||||||
struct sigaction sa_chld = {.sa_handler = SIG_IGN};
|
struct sigaction sa_chld = {.sa_handler = SIG_IGN};
|
||||||
sigaction(SIGCHLD, &sa_chld, 0);
|
sigaction(SIGCHLD, &sa_chld, 0);
|
||||||
|
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ void init_signals();
|
|||||||
void init_signals_postconfig();
|
void init_signals_postconfig();
|
||||||
void emit_self_restart(const char *reason);
|
void emit_self_restart(const char *reason);
|
||||||
int get_signal_pending();
|
int get_signal_pending();
|
||||||
|
void reset_signals();
|
||||||
|
|
||||||
void handle_sigchld_events();
|
void handle_sigchld_events();
|
||||||
|
|
||||||
|
|||||||
@@ -59,6 +59,7 @@
|
|||||||
|
|
||||||
#include "../panel.h"
|
#include "../panel.h"
|
||||||
#include "timer.h"
|
#include "timer.h"
|
||||||
|
#include "signals.h"
|
||||||
|
|
||||||
void write_string(int fd, const char *s)
|
void write_string(int fd, const char *s)
|
||||||
{
|
{
|
||||||
@@ -398,6 +399,7 @@ pid_t tint_exec(const char *command,
|
|||||||
if (dir)
|
if (dir)
|
||||||
chdir(dir);
|
chdir(dir);
|
||||||
close_all_fds();
|
close_all_fds();
|
||||||
|
reset_signals();
|
||||||
if (terminal) {
|
if (terminal) {
|
||||||
#if !defined(__OpenBSD__)
|
#if !defined(__OpenBSD__)
|
||||||
fprintf(stderr, "tint2: executing in x-terminal-emulator: %s\n", command);
|
fprintf(stderr, "tint2: executing in x-terminal-emulator: %s\n", command);
|
||||||
|
|||||||
@@ -11,7 +11,9 @@ exec 2>&1
|
|||||||
cd ~/tint2
|
cd ~/tint2
|
||||||
git reset --hard
|
git reset --hard
|
||||||
git pull
|
git pull
|
||||||
|
last=$(cat .last-reg-test)
|
||||||
|
curr=$(git rev-parse --verify HEAD)
|
||||||
|
[ "$last" == "$curr" ] && exit 0
|
||||||
|
|
||||||
cd ~/tint2.wiki
|
cd ~/tint2.wiki
|
||||||
git reset --hard
|
git reset --hard
|
||||||
@@ -27,3 +29,6 @@ cd ~/tint2.wiki
|
|||||||
git add tests.md
|
git add tests.md
|
||||||
git commit -am 'Update test results'
|
git commit -am 'Update test results'
|
||||||
git push origin master
|
git push origin master
|
||||||
|
|
||||||
|
cd ~/tint2
|
||||||
|
echo "$curr" > .last-reg-test
|
||||||
|
|||||||
Reference in New Issue
Block a user