mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 12:28:22 +01:00
This patch includes the changes to create the package for
debian.
Changes are included in changelog:
* New upstream release 0.95.3
* Removed debian/clean file. Upstream removes now the files.
* Bumped to standard version 3.9.3
* Important!: Removed symbol "W_DraggingInfo" in libwutil2 and
libwings2, because the struct W_DraggingInfo is now declared
as "typedef", therefore the struct is not included.
This change is included in upstream, see line 126 of the file
WINGs/WINGs/WINGsP.h
* Patch 53_Debian_WMState.diff changed, because the WMState file
in upstream is now different. Now, the dock launch WPrefs.
* Removed /etc/X11/WindowMaker files.
* Removed from debian/wmaker-common.dirs
* Removed (duplicated) files in debian/wmaker-common.install
* New path for menu.hook: /usr/share/WindowMaker
* Changed in the menu-method files (wmaker and wmappearance.
* Removed menu.posthook and menu.prehook.
* Changed the menu behaviour. Applications/* contents moved to
the root menu.
42 lines
852 B
Bash
42 lines
852 B
Bash
#!/bin/sh
|
|
set -e
|
|
|
|
# Window Maker postinst.
|
|
#
|
|
# Marcelo Magallon <mmagallo@debian.org>
|
|
# Rodolfo "kix" García <kix@kix.es>
|
|
|
|
inst="/etc/menu-methods/wmaker /etc/menu-methods/wmappearance"
|
|
|
|
case "$1" in
|
|
configure)
|
|
for file in $inst ; do
|
|
if [ -f $file ] ; then
|
|
chmod a+x $file
|
|
fi
|
|
done
|
|
|
|
if [ -x /usr/bin/update-menus -a -x /usr/bin/install-menu ] ; then
|
|
# Remove the menu.hook from all the possible paths.
|
|
rm -f /etc/X11/WindowMaker/menu.hook
|
|
rm -f /usr/share/WindowMaker/menu.hook
|
|
# Remove appearance.menu
|
|
rm -f /usr/share/WindowMaker/appearance.menu
|
|
update-menus
|
|
fi
|
|
;;
|
|
|
|
abort-upgrade|abort-deconfigure|abort-remove)
|
|
# how did we got here? Force a non-zero exit code
|
|
exit 1
|
|
;;
|
|
|
|
*)
|
|
echo "postinst called with unkown argument: \$1" >&2
|
|
;;
|
|
esac
|
|
|
|
#DEBHELPER#
|
|
|
|
exit 0
|