Commit 19378dde authored by Lorenzo Faletra's avatar Lorenzo Faletra

debianize and update parrot-menu

parent ca8eb13f

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

Providing Parrot specific desktop files
-------------------------------------
You can add as many desktop files as you want in the desktop-files
sub-directory. Each desktop file must have an entry "X-Parrot-Package=foo"
where foo is the name of the binary package that is associated to this
desktop file. Note that you can associate multiple binary packages to
the same desktop file if needed, just put a space-separated list of
packages in the X-Parrot-Package field.
Those desktop files will be installed in /usr/share/applications
by update-Parrot-menu as soon as the corresponding package is installed. And
they will be removed afer the corresponding package has been removed.
If you want to override an existing desktop file instead of adding a new
one, make sure to reuse the same filename. When Parrot-menu detects the
conflict, it will transparently use dpkg-divert to move away the official
desktop file and put the Parrot one in place.
It's possible to remove/hide an existing desktop file, by overriding it and
adding "NoDisplay=true" to the overridden desktop file.
DPkg::Post-Invoke { "[ ! -x /usr/share/parrot-menu/update-parrot-menu ] || /usr/share/parrot-menu/update-parrot-menu wait_dpkg"; }
parrot-menu (2016.7.24) testing; urgency=medium
* Debianize source code and update launchers
-- Lorenzo "Palinuro" Faletra <palinuro@parrotsec.org> Sun, 24 Jul 2016 03:19:53 +0200
Source: parrot-menu
Section: parrot
Priority: optional
Maintainer: Lorenzo "Palinuro" Faletra <palinuro@parrotsec.org>
Build-Depends: debhelper
Standards-Version: 3.8.4
Package: parrot-menu
Architecture: all
Depends: ${misc:Depends}, ${perl:Depends}, libdpkg-perl, libfile-fcntllock-perl, xdg-utils
Breaks: dradis (<< 3.1.0~rc2)
Description: Parrot GNU/Linux custom menu
This package provides a custom menu for Parrot GNU/Linux.
.
It is used by any destkop that complies with the Freedesktop menu
specification at http://standards.freedesktop.org/menu-spec/menu-spec-1.0.html
Copyright:
Copyright © 2012 Kali
License:
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
On Debian systems, the complete text of the GNU General
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
menus/parrot-applications.menu etc/xdg/menus/applications-merged/
menus/anon-surf.menu etc/xdg/menus/applications-merged/
desktop-directories/*.directory usr/share/desktop-directories/
desktop-files/*.desktop usr/share/parrot-menu/applications/
apt.conf.d/99parrot-menu etc/apt/apt.conf.d/
update-parrot-menu usr/share/parrot-menu/
menu-icons/* usr/share/icons/hicolor/
dconf/parrot-menu etc/dconf/db/local.d/
etc/xdg/menus/applications-merged etc/xdg/menus/gnome-applications-merged
etc/xdg/menus/applications-merged etc/xdg/menus/kf5-applications-merged
#!/bin/sh
set -e
if [ "$1" = "configure" ] && dpkg --compare-versions "$2" lt "0.83"; then
# Initial installation or first upgrade, the hook is not yet in place,
# we call it ourselves and it will wait until dpkg/apt is over
/usr/share/parrot-menu/update-parrot-menu </dev/null >/dev/null 2>&1 &
fi
if which dconf >/dev/null 2>&1; then
dconf update || true
fi
#DEBHELPER#
#!/usr/bin/make -f
%:
dh $@