From 5856478380fa4ebb9a28dd75d974fd7ee1200cb0 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 20 Nov 2011 16:22:16 -0600 Subject: Fix tdebase twin installation on Ubuntu and Debian --- debian/lenny/tdebase/debian/kwin-trinity.lintian | 2 - debian/lenny/tdebase/debian/kwin-trinity.postinst | 42 --------- debian/lenny/tdebase/debian/kwin-trinity.prerm | 44 ---------- debian/lenny/tdebase/debian/twin-trinity.install | 101 ++++++++++++++++++++++ debian/lenny/tdebase/debian/twin-trinity.lintian | 2 + debian/lenny/tdebase/debian/twin-trinity.postinst | 42 +++++++++ debian/lenny/tdebase/debian/twin-trinity.prerm | 44 ++++++++++ 7 files changed, 189 insertions(+), 88 deletions(-) delete mode 100644 debian/lenny/tdebase/debian/kwin-trinity.lintian delete mode 100644 debian/lenny/tdebase/debian/kwin-trinity.postinst delete mode 100644 debian/lenny/tdebase/debian/kwin-trinity.prerm create mode 100644 debian/lenny/tdebase/debian/twin-trinity.install create mode 100644 debian/lenny/tdebase/debian/twin-trinity.lintian create mode 100644 debian/lenny/tdebase/debian/twin-trinity.postinst create mode 100644 debian/lenny/tdebase/debian/twin-trinity.prerm (limited to 'debian/lenny/tdebase') diff --git a/debian/lenny/tdebase/debian/kwin-trinity.lintian b/debian/lenny/tdebase/debian/kwin-trinity.lintian deleted file mode 100644 index b6272e484..000000000 --- a/debian/lenny/tdebase/debian/kwin-trinity.lintian +++ /dev/null @@ -1,2 +0,0 @@ -twin: shlib-missing-in-control-file libtdeinit_twin.so usr/lib/libtdeinit_twin.so -twin: shlib-missing-in-control-file libtdeinit_twin_rules_dialog.so usr/lib/libtdeinit_twin_rules_dialog.so diff --git a/debian/lenny/tdebase/debian/kwin-trinity.postinst b/debian/lenny/tdebase/debian/kwin-trinity.postinst deleted file mode 100644 index b8273333f..000000000 --- a/debian/lenny/tdebase/debian/kwin-trinity.postinst +++ /dev/null @@ -1,42 +0,0 @@ -#! /bin/sh -# postinst script for konqueror -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * `configure' -# * `abort-upgrade' -# * `abort-remove' `in-favour' -# -# * `abort-deconfigure' `in-favour' -# `removing' -# -# for details, see http://www.debian.org/doc/debian-policy/ or -# the debian-policy package -# - -case "$1" in - configure) - update-alternatives --install /usr/bin/x-window-manager x-window-manager /opt/trinity/bin/twin 50 - ;; - - abort-upgrade|abort-remove|abort-deconfigure) - - ;; - - *) - echo "postinst called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# - -exit 0 - - diff --git a/debian/lenny/tdebase/debian/kwin-trinity.prerm b/debian/lenny/tdebase/debian/kwin-trinity.prerm deleted file mode 100644 index 67c4b2507..000000000 --- a/debian/lenny/tdebase/debian/kwin-trinity.prerm +++ /dev/null @@ -1,44 +0,0 @@ -#! /bin/sh -# prerm script for konqueror -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * `remove' -# * `upgrade' -# * `failed-upgrade' -# * `remove' `in-favour' -# * `deconfigure' `in-favour' -# `removing' -# -# for details, see http://www.debian.org/doc/debian-policy/ or -# the debian-policy package - - -case "$1" in - remove) - /usr/sbin/update-alternatives --remove x-window-manager /usr/trinity/bin/twin - ;; - - upgrade|deconfigure) - ;; - - failed-upgrade) - ;; - - *) - echo "prerm called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# - -exit 0 - - diff --git a/debian/lenny/tdebase/debian/twin-trinity.install b/debian/lenny/tdebase/debian/twin-trinity.install new file mode 100644 index 000000000..62d42f166 --- /dev/null +++ b/debian/lenny/tdebase/debian/twin-trinity.install @@ -0,0 +1,101 @@ +debian/tmp/opt/trinity/bin/kompmgr +debian/tmp/opt/trinity/bin/twin +debian/tmp/opt/trinity/bin/twin_killer_helper +debian/tmp/opt/trinity/bin/twin_rules_dialog +debian/tmp/opt/trinity/lib/kconf_update_bin/twin_update_default_rules +debian/tmp/opt/trinity/lib/kconf_update_bin/twin_update_window_settings +debian/tmp/opt/trinity/lib/trinity/kcm_twindecoration.la +debian/tmp/opt/trinity/lib/trinity/kcm_twindecoration.so +debian/tmp/opt/trinity/lib/trinity/kcm_twinoptions.la +debian/tmp/opt/trinity/lib/trinity/kcm_twinoptions.so +debian/tmp/opt/trinity/lib/trinity/kcm_twinrules.la +debian/tmp/opt/trinity/lib/trinity/kcm_twinrules.so +debian/tmp/opt/trinity/lib/trinity/twin3_b2.la +debian/tmp/opt/trinity/lib/trinity/twin3_b2.so +debian/tmp/opt/trinity/lib/trinity/twin3_default.la +debian/tmp/opt/trinity/lib/trinity/twin3_default.so +debian/tmp/opt/trinity/lib/trinity/twin3_keramik.la +debian/tmp/opt/trinity/lib/trinity/twin3_keramik.so +debian/tmp/opt/trinity/lib/trinity/twin3_laptop.la +debian/tmp/opt/trinity/lib/trinity/twin3_laptop.so +debian/tmp/opt/trinity/lib/trinity/twin3_modernsys.la +debian/tmp/opt/trinity/lib/trinity/twin3_modernsys.so +debian/tmp/opt/trinity/lib/trinity/twin3_plastik.la +debian/tmp/opt/trinity/lib/trinity/twin3_plastik.so +debian/tmp/opt/trinity/lib/trinity/twin3_quartz.la +debian/tmp/opt/trinity/lib/trinity/twin3_quartz.so +debian/tmp/opt/trinity/lib/trinity/twin3_redmond.la +debian/tmp/opt/trinity/lib/trinity/twin3_redmond.so +debian/tmp/opt/trinity/lib/trinity/twin3_web.la +debian/tmp/opt/trinity/lib/trinity/twin3_web.so +debian/tmp/opt/trinity/lib/trinity/twin_b2_config.la +debian/tmp/opt/trinity/lib/trinity/twin_b2_config.so +debian/tmp/opt/trinity/lib/trinity/twin_default_config.la +debian/tmp/opt/trinity/lib/trinity/twin_default_config.so +debian/tmp/opt/trinity/lib/trinity/twin_keramik_config.la +debian/tmp/opt/trinity/lib/trinity/twin_keramik_config.so +debian/tmp/opt/trinity/lib/trinity/twin.la +debian/tmp/opt/trinity/lib/trinity/twin_modernsys_config.la +debian/tmp/opt/trinity/lib/trinity/twin_modernsys_config.so +debian/tmp/opt/trinity/lib/trinity/twin_plastik_config.la +debian/tmp/opt/trinity/lib/trinity/twin_plastik_config.so +debian/tmp/opt/trinity/lib/trinity/twin_quartz_config.la +debian/tmp/opt/trinity/lib/trinity/twin_quartz_config.so +debian/tmp/opt/trinity/lib/trinity/twin_rules_dialog.la +debian/tmp/opt/trinity/lib/trinity/twin_rules_dialog.so +debian/tmp/opt/trinity/lib/trinity/twin.so +debian/tmp/opt/trinity/lib/libtdecorations.so.1 +debian/tmp/opt/trinity/lib/libtdecorations.so.1.0.0 +debian/tmp/opt/trinity/lib/libtdeinit_twin_rules_dialog.so +debian/tmp/opt/trinity/lib/libtdeinit_twin.so +debian/tmp/opt/trinity/share/applications/kde/showdesktop.desktop +debian/tmp/opt/trinity/share/applications/kde/twindecoration.desktop +debian/tmp/opt/trinity/share/applications/kde/twinoptions.desktop +debian/tmp/opt/trinity/share/applications/kde/twinrules.desktop +debian/tmp/opt/trinity/share/applnk/.hidden/twinactions.desktop +debian/tmp/opt/trinity/share/applnk/.hidden/twinadvanced.desktop +debian/tmp/opt/trinity/share/applnk/.hidden/twinfocus.desktop +debian/tmp/opt/trinity/share/applnk/.hidden/twinmoving.desktop +debian/tmp/opt/trinity/share/applnk/.hidden/twintranslucency.desktop +debian/tmp/opt/trinity/share/apps/kconf_update/twin3_plugin.pl +debian/tmp/opt/trinity/share/apps/kconf_update/twin3_plugin.upd +debian/tmp/opt/trinity/share/apps/kconf_update/twin_focus1.sh +debian/tmp/opt/trinity/share/apps/kconf_update/twin_focus1.upd +debian/tmp/opt/trinity/share/apps/kconf_update/twin_focus2.sh +debian/tmp/opt/trinity/share/apps/kconf_update/twin_focus2.upd +debian/tmp/opt/trinity/share/apps/kconf_update/twin_fsp_workarounds_1.upd +debian/tmp/opt/trinity/share/apps/kconf_update/twiniconify.upd +debian/tmp/opt/trinity/share/apps/kconf_update/twinsticky.upd +debian/tmp/opt/trinity/share/apps/kconf_update/twin.upd +debian/tmp/opt/trinity/share/apps/kconf_update/twinupdatewindowsettings.upd +debian/tmp/opt/trinity/share/apps/kconf_update/pluginlibFix.pl +debian/tmp/opt/trinity/share/apps/twin/b2.desktop +debian/tmp/opt/trinity/share/apps/twin/eventsrc +debian/tmp/opt/trinity/share/apps/twin/keramik.desktop +debian/tmp/opt/trinity/share/apps/twin/laptop.desktop +debian/tmp/opt/trinity/share/apps/twin/modernsystem.desktop +debian/tmp/opt/trinity/share/apps/twin/pics/bluesun.png +debian/tmp/opt/trinity/share/apps/twin/pics/close.png +debian/tmp/opt/trinity/share/apps/twin/pics/fog-grey.png +debian/tmp/opt/trinity/share/apps/twin/pics/fog.png +debian/tmp/opt/trinity/share/apps/twin/pics/greenie.dim.png +debian/tmp/opt/trinity/share/apps/twin/pics/greenie.light.png +debian/tmp/opt/trinity/share/apps/twin/pics/iconify.png +debian/tmp/opt/trinity/share/apps/twin/pics/maximizedown.png +debian/tmp/opt/trinity/share/apps/twin/pics/maximize.png +debian/tmp/opt/trinity/share/apps/twin/pics/menu.png +debian/tmp/opt/trinity/share/apps/twin/pics/pindown.png +debian/tmp/opt/trinity/share/apps/twin/pics/pinup.png +debian/tmp/opt/trinity/share/apps/twin/pics/unknown.png +debian/tmp/opt/trinity/share/apps/twin/plastik.desktop +debian/tmp/opt/trinity/share/apps/twin/quartz.desktop +debian/tmp/opt/trinity/share/apps/twin/redmond.desktop +debian/tmp/opt/trinity/share/apps/twin/web.desktop +debian/tmp/opt/trinity/share/config.kcfg/twin.kcfg +debian/tmp/opt/trinity/share/doc/kde/HTML/en/kompmgr/common +debian/tmp/opt/trinity/share/doc/kde/HTML/en/kompmgr/index.cache.bz2 +debian/tmp/opt/trinity/share/doc/kde/HTML/en/kompmgr/index.docbook +debian/tmp/opt/trinity/share/icons/crystalsvg/16x16/apps/twin.png +debian/tmp/opt/trinity/share/icons/crystalsvg/32x32/apps/twin.png +debian/tmp/opt/trinity/share/icons/crystalsvg/48x48/apps/twin.png +debian/tmp/opt/trinity/share/apps/twin/default_rules/* diff --git a/debian/lenny/tdebase/debian/twin-trinity.lintian b/debian/lenny/tdebase/debian/twin-trinity.lintian new file mode 100644 index 000000000..b6272e484 --- /dev/null +++ b/debian/lenny/tdebase/debian/twin-trinity.lintian @@ -0,0 +1,2 @@ +twin: shlib-missing-in-control-file libtdeinit_twin.so usr/lib/libtdeinit_twin.so +twin: shlib-missing-in-control-file libtdeinit_twin_rules_dialog.so usr/lib/libtdeinit_twin_rules_dialog.so diff --git a/debian/lenny/tdebase/debian/twin-trinity.postinst b/debian/lenny/tdebase/debian/twin-trinity.postinst new file mode 100644 index 000000000..b8273333f --- /dev/null +++ b/debian/lenny/tdebase/debian/twin-trinity.postinst @@ -0,0 +1,42 @@ +#! /bin/sh +# postinst script for konqueror +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# + +case "$1" in + configure) + update-alternatives --install /usr/bin/x-window-manager x-window-manager /opt/trinity/bin/twin 50 + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff --git a/debian/lenny/tdebase/debian/twin-trinity.prerm b/debian/lenny/tdebase/debian/twin-trinity.prerm new file mode 100644 index 000000000..67c4b2507 --- /dev/null +++ b/debian/lenny/tdebase/debian/twin-trinity.prerm @@ -0,0 +1,44 @@ +#! /bin/sh +# prerm script for konqueror +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `upgrade' +# * `failed-upgrade' +# * `remove' `in-favour' +# * `deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + remove) + /usr/sbin/update-alternatives --remove x-window-manager /usr/trinity/bin/twin + ;; + + upgrade|deconfigure) + ;; + + failed-upgrade) + ;; + + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + -- cgit v1.2.1