fix #988324
Georges Khaznadar
1 year, 4 months ago
|
0 |
falkon (22.12.0-2) unstable; urgency=medium
|
|
1 |
|
|
2 |
* modified the dependencies, adding qtwebengine5-dev-tools
|
|
3 |
* modified the postinst script, so that the configure action will update
|
|
4 |
dictionaries (from Hunspell type to .bdic type). Closes: #988324
|
|
5 |
|
|
6 |
-- Georges Khaznadar <georgesk@debian.org> Fri, 23 Dec 2022 11:50:39 +0100
|
|
7 |
|
0 | 8 |
falkon (22.12.0-1) unstable; urgency=medium
|
1 | 9 |
|
2 | 10 |
* changed debian/watch, to track https://github.com/KDE/falkon
|
36 | 36 |
Architecture: amd64 arm64 armhf i386 mipsel
|
37 | 37 |
Depends: libqt5sql5-sqlite,
|
38 | 38 |
qml-module-qtwebengine,
|
|
39 |
qtwebengine5-dev-tools,
|
39 | 40 |
${misc:Depends},
|
40 | 41 |
${shlibs:Depends}
|
41 | 42 |
Recommends:
|
0 | 0 |
#!/bin/sh
|
1 | 1 |
set -e
|
|
2 |
|
|
3 |
QW_CVT=/usr/lib/qt5/bin/qwebengine_convert_dict
|
|
4 |
|
2 | 5 |
case "$1" in
|
3 | 6 |
configure)
|
4 | 7 |
update-alternatives --install /usr/bin/x-www-browser \
|
5 | |
x-www-browser /usr/bin/falkon 80 \
|
|
8 |
x-www-browser /usr/bin/falkon 80;
|
|
9 |
# convert existing hunspell dictionaries and install them
|
|
10 |
mkdir -p /usr/share/qt5/qtwebengine_dictionaries
|
|
11 |
[ -f "$QW_CVT" ] && \
|
|
12 |
for f in /usr/share/hunspell/*.dic; do \
|
|
13 |
g=$(echo $(basename $f) | sed 's/dic$/bdic/'); \
|
|
14 |
g=/usr/share/qt5/qtwebengine_dictionaries/$g; \
|
|
15 |
if test ! -f $g || \
|
|
16 |
test $(stat -c%W "$g") -lt $(stat -c%W "$f"); then \
|
|
17 |
$QW_CVT $f $g; \
|
|
18 |
fi;\
|
|
19 |
done;
|
6 | 20 |
;;
|
7 | 21 |
esac
|
8 | 22 |
#DEBHELPER#
|