Source: lernstick-menu-xdg
Section: admin
Priority: extra
Maintainer: Ronny Standtke <ronny.standtke@gmx.net>
Build-Depends: debhelper (>= 9), config-package-dev
Standards-Version: 3.7.3

Package: lernstick-menu-xdg
Architecture: all
# Dependencies explained:
# - gettext-base:
#       for i18n in some shellscripts
# - kde-runtime:
#       We use kioclient to start desktop files in KDE Plasma.
# - libgtk-3-bin:
#       We use gtk-launch to start desktop files in all DEs besides KDE Plasma.
# - kdialog:
#       We use kdialog to show our dialogs in KDE Plasma.
# - zenity:
#       We use zenity to show our dialogs in all desktop environments exept KDE Plasma.
# - libglib2.0-bin:
#       We call gsettings to disable software upgrades when the data partition is not writable.
# - menu-xdg:
#       We are diverting /etc/xdg/menus/debian-menu.menu to disable the fscking Debian menu.
# - wmctrl:
#       used to keep our dialogs on top of other windows
#
# Note: Because we can't group the dependencies with parentheses we have to declare
# (kde-runtime & kdialog) | (libgtk-3-bin & zenity)
# in this very verbose way.
# Boolean algebra tells us that (A & B) | (C & D) = (A|C) & (A|D) & (B|C) & (B|D)
Depends: ${misc:Depends},
        gettext-base,
        kde-runtime | libgtk-3-bin,
        kde-runtime | zenity,
        kdialog | libgtk-3-bin,
        kdialog | zenity,
        libglib2.0-bin,
        menu-xdg,
        wmctrl
Provides: ${diverted-files}
Conflicts: ${diverted-files}
Description: Removes the Debian menu from the start menu
 The Debian menu is one of the worst ideas in Debian. Who on earth thinks
 that a second main level menu structure is something users understand?
 This package removes the Debian menu from the start menu.
 We also add some new desktop directories for educational programs and
 some autostart applications.
