Skip to content

Commit dbca573

Browse files
Salamandarmtwebster
authored andcommitted
Cleanup debian control/compat/rules
1 parent 77d4892 commit dbca573

File tree

29 files changed

+51
-135
lines changed

29 files changed

+51
-135
lines changed

nemo-audio-tab/debian/rules

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,3 @@ export PYBUILD_NAME=nemo-audio-tab
44

55
%:
66
dh $@ --with python3 --buildsystem=pybuild
7-

nemo-dropbox/debian/compat

Lines changed: 0 additions & 1 deletion
This file was deleted.

nemo-dropbox/debian/control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Source: nemo-dropbox
22
Section: non-free/gnome
33
Priority: optional
44
Maintainer: Clement Lefebvre <[email protected]>
5-
Build-Depends: debhelper (>= 9),
5+
Build-Depends: debhelper-compat (= 12),
66
meson,
77
libnemo-extension-dev (>= 1.0.0),
88
libglib2.0-dev (>= 2.14.0),

nemo-dropbox/debian/nemo-dropbox.postinst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@ UPDATENOTIFIERDIR=/var/lib/update-notifier/user.d
66

77
case "$1" in
88
configure)
9-
unset DISPLAY # No GUI launched from postinst please
9+
unset DISPLAY # No GUI launched from postinst please
1010

1111
echo "Please restart all running instances of Nemo, or you will experience problems. i.e. nemo --quit"
1212

1313
if [ -d $UPDATENOTIFIERDIR ] ; then
14-
# pgrep matches application names from /proc/<pid>/status which is
15-
# truncated according to sys/procfs.h definition. Problem is it's
16-
# platform dependent. Either 15 or 16 chars.
17-
if pgrep -x nemo > /dev/null 2>&1 ; then
18-
cat > $UPDATENOTIFIERDIR/dropbox-restart-required <<DROPBOXEND
14+
# pgrep matches application names from /proc/<pid>/status which is
15+
# truncated according to sys/procfs.h definition. Problem is it's
16+
# platform dependent. Either 15 or 16 chars.
17+
if pgrep -x nemo > /dev/null 2>&1 ; then
18+
cat > $UPDATENOTIFIERDIR/dropbox-restart-required <<DROPBOXEND
1919
Name: Nemo Restart Required
2020
Priority: High
2121
Terminal: False
@@ -25,9 +25,9 @@ DontShowAfterReboot: True
2525
DisplayIf: pgrep -x nemo -U \$(id -u) > /dev/null
2626
Description: Dropbox requires Nemo to be restarted to function properly.
2727
DROPBOXEND
28-
else
29-
rm -f $UPDATENOTIFIERDIR/dropbox-restart-required
30-
fi
28+
else
29+
rm -f $UPDATENOTIFIERDIR/dropbox-restart-required
30+
fi
3131
fi
3232

3333
echo 'Dropbox installation successfully completed! You can start Dropbox from your applications menu.'
@@ -45,7 +45,7 @@ ButtonText: _Start Dropbox
4545
DROPBOXEND
4646
fi
4747

48-
;;
48+
;;
4949

5050
abort-upgrade|abort-remove|abort-deconfigure)
5151
;;

nemo-dropbox/debian/nemo-dropbox.postrm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -e
44

55
case "$1" in
66
purge)
7-
rm -rf /var/lib/dropbox
7+
rm -rf /var/lib/dropbox
88
;;
99
esac
1010

nemo-dropbox/debian/nemo-dropbox.prerm

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ set -e
44

55
case "$1" in
66
remove)
7-
dropbox stop || true
8-
killall dropbox || true
9-
rm -f /var/lib/update-notifier/user.d/dropbox-restart-required
10-
rm -f /var/lib/update-notifier/user.d/dropbox-start-required
7+
dropbox stop || true
8+
killall dropbox || true
9+
rm -f /var/lib/update-notifier/user.d/dropbox-restart-required
10+
rm -f /var/lib/update-notifier/user.d/dropbox-start-required
1111
;;
1212
esac
1313

nemo-dropbox/debian/rules

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,14 @@
11
#!/usr/bin/make -f
22

3-
%:
4-
dh $@ --with=autoreconf
3+
export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow
54

6-
override_dh_autoreconf:
7-
dh_autoreconf --as-needed
5+
%:
6+
dh $@ --buildsystem=meson
87

8+
# Don't generate a shlibs file for the plugin
99
override_dh_makeshlibs:
10-
# Don't generate a shlibs file for the plugin
11-
dh_makeshlibs -X/usr/lib/nemo/
1210

1311
override_dh_auto_install:
1412
dh_auto_install
1513
# Drop useless files
16-
rm -f debian/nemo-dropbox/usr/lib/nemo/extensions-*/libnemo-dropbox.a
17-
rm -f debian/nemo-dropbox/usr/lib/nemo/extensions-*/libnemo-dropbox.la
1814
rm -rf debian/nemo-dropbox/usr/share/icons/*
19-

nemo-fileroller/debian/compat

Lines changed: 0 additions & 1 deletion
This file was deleted.

nemo-fileroller/debian/control

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ Section: misc
33
Priority: optional
44
Maintainer: Clement Lefebvre <[email protected]>
55
Build-Depends:
6-
debhelper (>= 10),
7-
meson,
8-
libglib2.0-dev (>= 2.14.0),
9-
libnemo-extension-dev (>= 1.0.0),
6+
debhelper-compat (= 12),
7+
meson,
8+
libglib2.0-dev (>= 2.14.0),
9+
libnemo-extension-dev (>= 1.0.0),
1010
Standards-Version: 3.9.6
1111

1212
Package: nemo-fileroller

nemo-fileroller/debian/rules

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
#!/usr/bin/make -f
22

3-
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
43
export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow
54

65
%:
7-
dh $@
6+
dh $@ --buildsystem=meson
87

98
# Don't generate a shlibs file for the plugin
109
override_dh_makeshlibs:

0 commit comments

Comments
 (0)