Clean up unnecessary scripts and install files.
This commit is contained in:
parent
b88e96e2a4
commit
2c902b3478
8
Makefile
8
Makefile
@ -1,17 +1,11 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
SUBDIRS := usr/share/applications/po usr/share/xsessions/po
|
||||
|
||||
all: install
|
||||
|
||||
install:
|
||||
mkdir -pv $(DESTDIR)
|
||||
cp -a src/etc src/usr $(DESTDIR)/.
|
||||
# po generation
|
||||
for i in $(SUBDIRS); do \
|
||||
make -C $(DESTDIR)/$$i; \
|
||||
rm -rf $(DESTDIR)/$$i; \
|
||||
done
|
||||
|
||||
# remove some remaining files
|
||||
find $(DESTDIR) -type f -iname "*.in" | xargs rm -f
|
||||
|
||||
|
15
debian/control
vendored
15
debian/control
vendored
@ -17,18 +17,7 @@ Depends: lubuntu-artwork,
|
||||
policykit-desktop-privileges,
|
||||
ttf-ubuntu-font-family,
|
||||
${misc:Depends}
|
||||
Breaks: lubuntu-default-settings (<< 1.0), lubuntu-extra-sessions (<< 1.0), lubuntu-live-settings (<< 1.0), lubuntu-nexus7-default-session (<< 1.0), lubuntu-nexus7-extra-files (<< 1.0), lxgames-default-session (<< 1.0), qlubuntu-default-session (<< 1.0)
|
||||
Replaces: lubuntu-default-settings (<< 1.0), lubuntu-extra-sessions (<< 1.0), lubuntu-live-settings (<< 1.0), lubuntu-nexus7-default-session (<< 1.0), lubuntu-nexus7-extra-files (<< 1.0), lxgames-default-session (<< 1.0), qlubuntu-default-session (<< 1.0)
|
||||
Breaks: lubuntu-default-session (<< 1.0), lubuntu-default-settings (<< 1.0), lubuntu-extra-sessions (<< 1.0), lubuntu-live-settings (<< 1.0), lubuntu-nexus7-default-session (<< 1.0), lubuntu-nexus7-extra-files (<< 1.0), lxgames-default-session (<< 1.0), qlubuntu-default-session (<< 1.0)
|
||||
Replaces: lubuntu-default-session (<< 1.0), lubuntu-default-settings (<< 1.0), lubuntu-extra-sessions (<< 1.0), lubuntu-live-settings (<< 1.0), lubuntu-nexus7-default-session (<< 1.0), lubuntu-nexus7-extra-files (<< 1.0), lxgames-default-session (<< 1.0), qlubuntu-default-session (<< 1.0)
|
||||
Description: default settings for Lubuntu
|
||||
Various system settings tailored for Lubuntu.
|
||||
|
||||
Package: lubuntu-default-session
|
||||
Architecture: all
|
||||
Depends: lubuntu-default-settings,
|
||||
sddm,
|
||||
sddm-theme-lubuntu-chooser,
|
||||
${misc:Depends}
|
||||
Breaks: lubuntu-default-session (<< 1.0)
|
||||
Replaces: lubuntu-default-session (<< 1.0)
|
||||
Description: set default session to Lubuntu
|
||||
This package sets the default session to Lubuntu by default.
|
||||
|
2
debian/light-locker.desktop
vendored
2
debian/light-locker.desktop
vendored
@ -1,2 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Hidden=true
|
1
debian/lubuntu-default-session.install
vendored
1
debian/lubuntu-default-session.install
vendored
@ -1 +0,0 @@
|
||||
usr/share/lightdm/lightdm.conf.d/20-lubuntu.conf
|
1
debian/lubuntu-default-settings.dirs
vendored
1
debian/lubuntu-default-settings.dirs
vendored
@ -1 +0,0 @@
|
||||
/etc/lxdm
|
25
debian/lubuntu-default-settings.install
vendored
25
debian/lubuntu-default-settings.install
vendored
@ -1,25 +0,0 @@
|
||||
etc/lightdm/
|
||||
etc/xdg/lubuntu/applications/
|
||||
etc/xdg/lubuntu/libfm/
|
||||
etc/xdg/lubuntu/lxdm/
|
||||
etc/xdg/lubuntu/lxterminal/
|
||||
etc/xdg/lubuntu/menus/lxde-applications.menu
|
||||
etc/xdg/lubuntu/menus/lxgames-applications.menu
|
||||
etc/xdg/lxsession/Lubuntu-Netbook/
|
||||
etc/xdg/lxsession/Lubuntu/
|
||||
etc/xdg/pcmanfm/
|
||||
etc/xdg/xdg-Lubuntu/
|
||||
usr/bin/
|
||||
usr/share/applications/lubuntu-logout.desktop
|
||||
usr/share/applications/lubuntu-screenlock.desktop
|
||||
usr/share/gdm/
|
||||
usr/share/lubuntu/leafpad/
|
||||
usr/share/lubuntu/openbox/menu.xml
|
||||
usr/share/lubuntu/openbox/rc.xml
|
||||
usr/share/lubuntu/pcmanfm/
|
||||
usr/share/lubuntu/qt/Trolltech.conf
|
||||
usr/share/lubuntu/xscreensaver/
|
||||
usr/share/lxpanel/profile/Lubuntu/
|
||||
usr/share/upstart/sessions/
|
||||
usr/share/xsessions/Lubuntu.desktop
|
||||
usr/share/xsessions/QLubuntu.desktop
|
1
debian/lubuntu-default-settings.links
vendored
1
debian/lubuntu-default-settings.links
vendored
@ -1 +0,0 @@
|
||||
etc/xdg/xdg-Lubuntu etc/xdg/xdg-QLubuntu
|
26
debian/lubuntu-default-settings.postinst
vendored
26
debian/lubuntu-default-settings.postinst
vendored
@ -1,26 +0,0 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
set -e
|
||||
|
||||
# Remove alternative file if it's not a symlink, workaround for broken upgrade
|
||||
# See bug #625485
|
||||
if [ -f /etc/alternatives/lxdm.conf ] ; then
|
||||
if [ ! -h "/etc/alternatives/lxdm.conf" ] ; then
|
||||
rm -f "/etc/alternatives/lxdm.conf"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "$1" = "configure" ] ; then
|
||||
update-alternatives --install /etc/lxdm/default.conf \
|
||||
lxdm.conf /etc/xdg/lubuntu/lxdm/lxdm.conf 60
|
||||
fi
|
||||
|
||||
if dpkg-maintscript-helper supports mv_conffile; then
|
||||
dpkg-maintscript-helper mv_conffile \
|
||||
/etc/xdg/lubuntu/lightdm/lightdm-gtk-greeter.conf \
|
||||
/etc/lightdm/lightdm-gtk-greeter.conf.d/30_lubuntu.conf \
|
||||
0.44 -- "$@"
|
||||
fi
|
||||
|
||||
#DEBHELPER#
|
||||
exit 0
|
14
debian/lubuntu-default-settings.postrm
vendored
14
debian/lubuntu-default-settings.postrm
vendored
@ -1,14 +0,0 @@
|
||||
#! /bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
if dpkg-maintscript-helper supports mv_conffile; then
|
||||
dpkg-maintscript-helper mv_conffile \
|
||||
/etc/xdg/lubuntu/lightdm/lightdm-gtk-greeter.conf \
|
||||
/etc/lightdm/lightdm-gtk-greeter.conf.d/30_lubuntu.conf \
|
||||
0.44 -- "$@"
|
||||
fi
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
14
debian/lubuntu-default-settings.preinst
vendored
14
debian/lubuntu-default-settings.preinst
vendored
@ -1,14 +0,0 @@
|
||||
#! /bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
if dpkg-maintscript-helper supports mv_conffile; then
|
||||
dpkg-maintscript-helper mv_conffile \
|
||||
/etc/xdg/lubuntu/lightdm/lightdm-gtk-greeter.conf \
|
||||
/etc/lightdm/lightdm-gtk-greeter.conf.d/30_lubuntu.conf \
|
||||
0.44 -- "$@"
|
||||
fi
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
10
debian/lubuntu-default-settings.prerm
vendored
10
debian/lubuntu-default-settings.prerm
vendored
@ -1,10 +0,0 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
set -e
|
||||
|
||||
if [ "$1" = "remove" ] ; then
|
||||
update-alternatives --remove lxdm.conf /etc/xdg/lubuntu/lxdm/lxdm.conf
|
||||
fi
|
||||
|
||||
#DEBHELPER#
|
||||
exit 0
|
12
debian/lubuntu-extra-sessions.install
vendored
12
debian/lubuntu-extra-sessions.install
vendored
@ -1,12 +0,0 @@
|
||||
etc/xdg/lubuntu/menus/desktop-directories/lxqt-settings.directory
|
||||
etc/xdg/lubuntu/menus/lubuntu-nexus7-applications.menu
|
||||
etc/xdg/lubuntu/pcmanfm-qt/
|
||||
etc/xdg/lxsession/LX-Games/
|
||||
etc/xdg/lxsession/Lubuntu-Nexus7/
|
||||
etc/xdg/lxsession/QLubuntu/
|
||||
usr/share/lubuntu/openbox/nexus-rc.xml
|
||||
usr/share/lubuntu/qt/Trolltech-qt-session.conf
|
||||
usr/share/lxpanel/profile/Lubuntu-Nexus7/
|
||||
usr/share/xsessions/lubuntu-nexus7.desktop
|
||||
usr/share/xsessions/lxgames.desktop
|
||||
usr/share/xsessions/Lubuntu-Netbook.desktop
|
5
debian/maintscript
vendored
5
debian/maintscript
vendored
@ -1,5 +0,0 @@
|
||||
mv_conffile /etc/xdg/pcmanfm/lubuntu.conf /etc/xdg/pcmanfm/lubuntu/pcmanfm.conf 0.15
|
||||
rm_conffile /etc/lightdm/lightdm.conf.d/20-lubuntu.conf 0.40
|
||||
rm_conffile /etc/lightdm/lightdm.conf.d/20-lubuntu-nexus7.conf 0.40
|
||||
rm_conffile /etc/lightdm/lightdm.conf.d/20-lxgames.conf 0.40
|
||||
rm_conffile /etc/lightdm/lightdm.conf.d/20-qlubuntu.conf 0.40
|
1
debian/qlubuntu-default-session.install
vendored
1
debian/qlubuntu-default-session.install
vendored
@ -1 +0,0 @@
|
||||
usr/share/lightdm/lightdm.conf.d/20-qlubuntu.conf
|
3
debian/rules
vendored
3
debian/rules
vendored
@ -4,6 +4,3 @@
|
||||
|
||||
override_dh_auto_build:
|
||||
$(MAKE) DESTDIR=$(CURDIR)/debian/tmp
|
||||
|
||||
override_dh_missing:
|
||||
dh_missing --fail-missing
|
||||
|
Loading…
x
Reference in New Issue
Block a user