mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-01 19:42:32 +01:00
debian: New debian version 0.95.1-1
This upload includes the debian changes of 0.95.0 and 0.95.1
- Debian stuff (themes, menus,...) is moved to different folder.
- Many changes in debian/rules file
- New files to avoid lines in debian/rules (new menu files)
- This is a little extract form the debian/changelog file:
* New upstream version 0.95.1
* The WINGs's file proplist-compat.h is removed in upstream.
- Removed the line in debian/libwings-dev.install
* Updated debian/libwutil2.symbols with new symbol.
* libpng12-dev dependencies changed to libpng-dev. [Closes: #648123]
* wterm package suggestion removed.
* Menu shows "Run..." option. [Closes: #165075]
Thanks to Andreas Tscharner for their patch.
* Menu shows the background files [Closes: #655122]
* Added patch 54_Debian_wmmacros.diff.
Based on changelog: Marcelo E. Magallon Tue, 17 Nov 1998
* Xterm and WMPrefs are now Debian specific.
* Added patch 53_Debian_WMState.diff.
Based on changelog: Marcelo E. Magallon Sun, 26 Nov 2000
* Fix wmaker-common dependencies. [Closes: #654668]
* Manpages moved from wmaker-common to wmaker (Lintian problem).
* Removed old stuff in wmaker.post* and wmaker-common.post* about
update-alternatives.
* Fix to the FTBFS. [Closes: #654524]
* New debian/watch file
* New upstream version 0.95.0, now from git. [Closes: #401900]
[Closes: #514438, #607550, #218110, #583734, #105351, #549157]
[Closes: #283610, #311563, #310285, #329783, #280819, #284048]
[Closes: #292391, #361241, #364290, #148370, #287459, #122076]
[Closes: #175503, #79598, #78088, #68381, #38184, #41434, #41434]
[Closes: #94960, #39543, #63265, #69499, #94446, #77488, #329783]
Thanks to Andreas Tscharner for their bug revision.
* This new version is based in wmaker-crm a wmaker fork, because
wmaker (original) is not updated.
* New debian/rules file. [Closes: #590244]
* Many many changes
* /usr/lib/WindowMaker/WindowMaker is now /usr/lib/WindowMaker/wmaker
* wmaker script launch now /usr/lib/WindowMaker/wmaker
* New maintainer. [Closes: #632875]
* New package wmaker-common (arch independent files).
* Removed the asclock diversions from the wmaker install scripts
wmaker.postrm and wmaker.preinst because asclock binary is not
included in wmaker package (see asclock package).
* New package wmaker-common with the arch independent files.
* debian/patches are now DEP-3.
* debian/copyright is now DEP-5.
* Bumped Standars-Version 3.9.2.
* Manpages moved to upstream.
* Solved problems with .la files (lintian clean).
* libwmaker0-dev isn't included, because was removed in upstream.
This commit is contained in:
committed by
Carlos R. Mafra
parent
b618febb2c
commit
e9d4930657
26
debian/debianfiles/Theme/Debian
vendored
Normal file
26
debian/debianfiles/Theme/Debian
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
{
|
||||
TitleJustify = left;
|
||||
WindowTitleFont = "-*-helvetica-bold-r-normal-*-12-*-*-*-*-*-*-*";
|
||||
MenuTitleFont = "-*-helvetica-bold-r-normal-*-12-*-*-*-*-*-*-*";
|
||||
MenuTextFont = "-*-helvetica-medium-r-normal-*-12-*-*-*-*-*-*-*";
|
||||
IconTitleFont = "-*-helvetica-medium-r-normal-*-8-*-*-*-*-*-*-*";
|
||||
ClipTitleFont = "-*-helvetica-bold-r-normal-*-10-*-*-*-*-*-*-*";
|
||||
DisplayFont = "-*-helvetica-medium-r-normal-*-12-*-*-*-*-*-*-*";
|
||||
HighlightColor = white;
|
||||
HighlightTextColor = black;
|
||||
ClipTitleColor = black;
|
||||
CClipTitleColor = "rgb:61/61/61";
|
||||
FTitleColor = white;
|
||||
PTitleColor = white;
|
||||
UTitleColor = black;
|
||||
FTitleBack = (hgradient, "rgb:50/5a/5e", "rgb:20/2a/2e");
|
||||
PTitleBack = (hgradient, "rgb:51/50/55", "rgb:80/80/80");
|
||||
UTitleBack = (hgradient, "rgb:c2/c0/c5", "rgb:82/80/85");
|
||||
MenuTitleColor = white;
|
||||
MenuTextColor = black;
|
||||
MenuDisabledColor = gray40;
|
||||
MenuTitleBack = (hgradient, "rgb:50/5a/5e", "rgb:20/2a/2e");
|
||||
MenuTextBack = (hgradient, "rgb:c2/c0/c5", "rgb:82/80/85");
|
||||
WorkspaceBack = (spixmap, debian.tiff, "rgb:8c/81/65");
|
||||
IconBack = (dgradient, "rgb:a6/a6/b6", "rgb:51/55/61");
|
||||
}
|
||||
20
debian/debianfiles/Theme/Debian.theme.txt
vendored
Normal file
20
debian/debianfiles/Theme/Debian.theme.txt
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
Begin3
|
||||
Title: Debian
|
||||
Version: 1.0
|
||||
Entered-date: June 5, 1999
|
||||
Description: Debian swirl theme for WindowMaker
|
||||
This theme was inspired by the new Debian logo.
|
||||
The background art is derived from copyright-free
|
||||
stock artwork. GIMP was used for the imaging.
|
||||
|
||||
Keywords: Wmaker, theme, debian, swirl
|
||||
Author: gfburke@earthlink.net (Gary Burke)
|
||||
Maintained-by: gfburke@earthlink.net (Gary Burke)
|
||||
Primary-site: wm.themes.org
|
||||
Debian.tar.gz
|
||||
186123 Backgrounds/Debian
|
||||
1117 Themes/Debian
|
||||
|
||||
Platforms: WindowMaker, XFree86 window manager
|
||||
Copying-policy: GPL
|
||||
End
|
||||
BIN
debian/debianfiles/Theme/debian.tiff
vendored
Normal file
BIN
debian/debianfiles/Theme/debian.tiff
vendored
Normal file
Binary file not shown.
1
debian/debianfiles/conf/WMRootMenu
vendored
Normal file
1
debian/debianfiles/conf/WMRootMenu
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"menu.hook"
|
||||
56
debian/debianfiles/conf/WMWindowAttributes
vendored
Normal file
56
debian/debianfiles/conf/WMWindowAttributes
vendored
Normal file
@@ -0,0 +1,56 @@
|
||||
{
|
||||
Logo.WMDock = {Icon = GNUstep.tiff;};
|
||||
Logo.WMPanel = {Icon = GNUstep.tiff;};
|
||||
Tile.WMClip = {Icon = clip.tiff;};
|
||||
WPrefs = {Icon = "/usr/share/lib/GNUstep/System/Applications/WPrefs.app/WPrefs.tiff";};
|
||||
Dockit = {Icon = GNUstep.tiff;};
|
||||
WMSoundServer = {Icon = Sound.tiff;};
|
||||
"*" = {Icon = defaultAppIcon.tiff;};
|
||||
Rxvt = {Icon = GNUterm.tiff;};
|
||||
KTerm = {Icon = GNUterm.tiff;};
|
||||
NXTerm = {Icon = GNUterm.tiff;};
|
||||
XTerm = {Icon = GNUterm.tiff;};
|
||||
Netscape = {Icon = "wmaker-netscape.tif";};
|
||||
"Mozilla-bin" = {Icon = "wmaker-nav.tif";};
|
||||
emacs = {Icon = "wmaker-emacs.tif";};
|
||||
Gimp = {AlwaysUserIcon = Yes;Icon = "wmaker-gimp2.tif";};
|
||||
toolbox.Gimp = {NoAppIcon = Yes;Icon = "wmaker-gimp2.tif";};
|
||||
gimp_startup.Gimp = {
|
||||
Icon = "wmaker-gimp2.tif";
|
||||
AlwaysUserIcon = Yes;
|
||||
NoTitlebar = Yes;
|
||||
NoResizebar = Yes;
|
||||
NotClosable = Yes;
|
||||
NotMiniaturizable = Yes;
|
||||
};
|
||||
tip_of_the_day.Gimp = {
|
||||
Icon = "wmaker-gimp2.tif";
|
||||
AlwaysUserIcon = Yes;
|
||||
NoResizebar = Yes;
|
||||
NoCloseButton = Yes;
|
||||
NoMiniaturizeButton = Yes;
|
||||
KeepOnTop = Yes;
|
||||
};
|
||||
image_window.Gimp = {Icon = "wmaker-gimp-work.tif";AlwaysUserIcon = Yes;};
|
||||
brushselection.Gimp = {Icon = "wmaker-gimp-brushes.tif";AlwaysUserIcon = Yes;};
|
||||
patternselection.Gimp = {Icon = "wmaker-gimp-patterns.tif";AlwaysUserIcon = Yes;};
|
||||
color_palette.Gimp = {
|
||||
Icon = "wmaker-gimp-palette.tif";
|
||||
AlwaysUserIcon = Yes;
|
||||
NoResizebar = Yes;
|
||||
};
|
||||
gradient_editor.Gimp = {Icon = "wmaker-gimp-gradient.tif";AlwaysUserIcon = Yes;};
|
||||
tool_options.Gimp = {Icon = "wmaker-gimp-tooloption.tif";AlwaysUserIcon = Yes;};
|
||||
layers_and_channels.Gimp = {Icon = "wmaker-gimp-layers.tif";AlwaysUserIcon = Yes;};
|
||||
indexed_color_palette.Gimp = {
|
||||
Icon = "wmaker-gimp-palette.tif";
|
||||
AlwaysUserIcon = Yes;
|
||||
NoResizebar = Yes;
|
||||
};
|
||||
"Script-fu" = {Icon = "wmaker-gimp-script-fu.tif";};
|
||||
"script-fu.Script-fu" = {Icon = "wmaker-gimp-script-fu.tif";};
|
||||
preferences.Gimp = {Icon = "wmaker-gimp-prefs.tif";AlwaysUserIcon = Yes;};
|
||||
panel = {NoAppIcon = Yes;};
|
||||
gmc = {NoAppIcon = Yes;Omnipresent = Yes;SkipWindowList = Yes;};
|
||||
Logo.WMClip = {Icon = clip.tiff;};
|
||||
}
|
||||
143
debian/debianfiles/conf/WindowMaker
vendored
Normal file
143
debian/debianfiles/conf/WindowMaker
vendored
Normal file
@@ -0,0 +1,143 @@
|
||||
{
|
||||
LargeDisplayFont = "-*-helvetica-bold-r-normal-*-24-*-*-*-*-*-*-*";
|
||||
MultiByteText = AUTO;
|
||||
KbdModeLock = NO;
|
||||
SmoothWorkspaceBack = NO;
|
||||
WindozeCycling = NO;
|
||||
PopupSwitchMenu = NO;
|
||||
DisableMiniwindows = NO;
|
||||
OpenTransientOnOwnerWorkspace = NO;
|
||||
EdgeResistance = 30;
|
||||
IconificationStyle = Zoom;
|
||||
IconPath = (
|
||||
"~/pixmaps",
|
||||
"~/GNUstep/Library/Icons",
|
||||
"/usr/local/share/WindowMaker/Icons",
|
||||
"/usr/share/WindowMaker/Icons",
|
||||
"/usr/local/share/icons",
|
||||
"/usr/share/icons",
|
||||
"/usr/X11R6/include/X11/pixmaps"
|
||||
);
|
||||
PixmapPath = (
|
||||
"~/pixmaps",
|
||||
"~/GNUstep/Library/WindowMaker/Backgrounds",
|
||||
"~/GNUstep/Library/WindowMaker/Pixmaps",
|
||||
"/usr/local/share/WindowMaker/Backgrounds",
|
||||
"/usr/local/share/WindowMaker/Pixmaps",
|
||||
"/usr/share/WindowMaker/Backgrounds",
|
||||
"/usr/share/WindowMaker/Pixmaps",
|
||||
"/usr/local/share/pixmaps",
|
||||
"/usr/share/pixmaps",
|
||||
"/usr/X11R6/include/X11/pixmaps"
|
||||
);
|
||||
WindowTitleBalloons = YES;
|
||||
IconSize = 64;
|
||||
FocusMode = manual;
|
||||
DisableWSMouseActions = NO;
|
||||
MouseLeftButtonAction = SelectWindows;
|
||||
MouseMiddleButtonAction = OpenWindowListMenu;
|
||||
MouseRightButtonAction = OpenApplicationsMenu;
|
||||
MouseWheelAction = None;
|
||||
ColormapSize = 4;
|
||||
DisableDithering = NO;
|
||||
ModifierKey = Mod1;
|
||||
NewStyle = new;
|
||||
DisableDock = NO;
|
||||
DisableClip = NO;
|
||||
Superfluous = NO;
|
||||
StickyIcons = NO;
|
||||
SaveSessionOnExit = NO;
|
||||
ColormapMode = auto;
|
||||
RaiseDelay = 0;
|
||||
AutoFocus = YES;
|
||||
WindowPlacement = auto;
|
||||
WindowPlaceOrigin = (64, 64);
|
||||
UseSaveUnders = NO;
|
||||
DisableSound = NO;
|
||||
DisableAnimations = NO;
|
||||
DontLinkWorkspaces = YES;
|
||||
AutoArrangeIcons = NO;
|
||||
AdvanceToNewWorkspace = NO;
|
||||
CycleWorkspaces = NO;
|
||||
ResizeDisplay = line;
|
||||
MoveDisplay = floating;
|
||||
OpaqueMove = YES;
|
||||
IconPosition = blh;
|
||||
WrapMenus = NO;
|
||||
ScrollableMenus = YES;
|
||||
MenuScrollSpeed = fast;
|
||||
IconSlideSpeed = fast;
|
||||
ShadeSpeed = fast;
|
||||
DoubleClickTime = 250;
|
||||
AlignSubmenus = NO;
|
||||
NoWindowOverIcons = NO;
|
||||
IgnoreFocusClick = NO;
|
||||
CloseKey = None;
|
||||
MaximizeKey = None;
|
||||
VMaximizeKey = None;
|
||||
RaiseLowerKey = None;
|
||||
DontConfirmKill = NO;
|
||||
ShadeKey = None;
|
||||
NextWorkspaceKey = "Mod1+Control+Right";
|
||||
PrevWorkspaceKey = "Mod1+Control+Left";
|
||||
RootMenuKey = F12;
|
||||
WindowListKey = F11;
|
||||
WindowMenuKey = "Control+Escape";
|
||||
RaiseKey = "Mod1+Up";
|
||||
LowerKey = "Mod1+Down";
|
||||
FocusNextKey = "Mod1+Tab";
|
||||
FocusPrevKey = "Mod1+Shift+Tab";
|
||||
Workspace1Key = "Mod1+1";
|
||||
Workspace2Key = "Mod1+2";
|
||||
Workspace3Key = "Mod1+3";
|
||||
Workspace4Key = "Mod1+4";
|
||||
Workspace5Key = "Mod1+5";
|
||||
Workspace6Key = "Mod1+6";
|
||||
Workspace7Key = "Mod1+7";
|
||||
Workspace8Key = "Mod1+8";
|
||||
Workspace9Key = "Mod1+9";
|
||||
Workspace10Key = "Mod1+0";
|
||||
HideKey = "Mod1+H";
|
||||
SelectKey = None;
|
||||
MiniaturizeKey = "Mod1+M";
|
||||
NextWorkspaceLayerKey = None;
|
||||
PrevWorkspaceLayerKey = None;
|
||||
ClipLowerKey = None;
|
||||
ClipRaiseKey = None;
|
||||
ConstrainWindowSize = NO;
|
||||
ClipRaiseLowerKey = None;
|
||||
TitleJustify = center;
|
||||
WindowTitleFont = "-*-helvetica-bold-r-normal-*-12-*-*-*-*-*-*-*";
|
||||
MenuTitleFont = "-*-helvetica-bold-r-normal-*-12-*-*-*-*-*-*-*";
|
||||
MenuTextFont = "-*-helvetica-bold-r-normal-*-12-*-*-*-*-*-*-*";
|
||||
IconTitleFont = "-*-helvetica-bold-r-normal-*-9-*-*-*-*-*-*-*";
|
||||
ClipTitleFont = "Verdana:bold:pixelsize=10";
|
||||
DisplayFont = "-*-helvetica-medium-r-normal-*-12-*-*-*-*-*-*-*";
|
||||
HighlightColor = white;
|
||||
HighlightTextColor = black;
|
||||
ClipTitleColor = black;
|
||||
CClipTitleColor = gray20;
|
||||
FTitleColor = white;
|
||||
PTitleColor = white;
|
||||
UTitleColor = black;
|
||||
FTitleBack = (solid, black);
|
||||
PTitleBack = (solid, gray40);
|
||||
UTitleBack = (solid, "rgb:aa/aa/aa");
|
||||
MenuTitleColor = white;
|
||||
MenuTextColor = black;
|
||||
MenuDisabledColor = gray40;
|
||||
MenuTitleBack = (solid, black);
|
||||
MenuTextBack = (solid, "rgb:aa/aa/aa");
|
||||
WorkspaceBack = (
|
||||
spixmap,
|
||||
"/usr/share/WindowMaker/Backgrounds/debian.tiff",
|
||||
gray20
|
||||
);
|
||||
IconBack = (dgradient, "rgb:a6/a6/b6", "rgb:51/55/61");
|
||||
IconTitleColor = white;
|
||||
IconTitleBack = black;
|
||||
ResizebarBack = (solid, "rgb:aa/aa/aa");
|
||||
MenuStyle = normal;
|
||||
}
|
||||
|
||||
|
||||
0
debian/debianfiles/menu/menu.posthook
vendored
Normal file
0
debian/debianfiles/menu/menu.posthook
vendored
Normal file
0
debian/debianfiles/menu/menu.prehook
vendored
Normal file
0
debian/debianfiles/menu/menu.prehook
vendored
Normal file
26
debian/debianfiles/menu/wmappearance
vendored
Normal file
26
debian/debianfiles/menu/wmappearance
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
#!/usr/bin/install-menu
|
||||
#
|
||||
# Generates the Window Maker Appereance menu
|
||||
compat="menu-1"
|
||||
|
||||
#!include menu.h
|
||||
|
||||
genmenu="appearance.menu"
|
||||
rootprefix="/etc/X11/WindowMaker"
|
||||
userprefix=shell("echo -n /${GNUSTEP_USER_ROOT-GNUstep}") "/Library/WindowMaker"
|
||||
treewalk=(M)
|
||||
|
||||
supported
|
||||
wmappearance = " \"" $title "\" " $command "\n"
|
||||
endsupported
|
||||
|
||||
# Please note that items should specify "section=Appearance"
|
||||
|
||||
preoutput="/* Automatically generated file. Do not edit. */\n\n#include \"wmmacros\"\n\n"
|
||||
|
||||
postoutput="\n"
|
||||
|
||||
mainmenutitle=""
|
||||
submenutitle= ""
|
||||
startmenu= ifnempty ($title, $title " MENU \n")
|
||||
endmenu= ifnempty ($title, $title " END \n")
|
||||
153
debian/debianfiles/upgrade-windowmaker-defaults
vendored
Normal file
153
debian/debianfiles/upgrade-windowmaker-defaults
vendored
Normal file
@@ -0,0 +1,153 @@
|
||||
#! /bin/sh
|
||||
# (c) 1998 Marcelo Magallon <mmagallo@debian.org>
|
||||
# this script is distributed under the terms and conditions of the GPL.
|
||||
#
|
||||
# TODO:
|
||||
#
|
||||
# * Fix that ugly hack with fix*
|
||||
# Is there something in the shell like Perl's hashes? It could be nice to
|
||||
# do something like "foreach $var (keys %fixes)" to associate fixes with
|
||||
# file names so I don't have to track things all over the place
|
||||
#
|
||||
# * Fix also the code that iterates over user directories to include system
|
||||
# directories in one run
|
||||
#
|
||||
# upgrade-windowmaker-defaults (0.3)
|
||||
#
|
||||
# * Handles upgrade to Window Maker 0.19.0
|
||||
# Logo.Clip -> Tile.Clip (crashing)
|
||||
#
|
||||
# upgrade-windowmaker-defaults (0.2)
|
||||
#
|
||||
# * Handles keyname changes between 0.16.1 and 0.17.2
|
||||
#
|
||||
# Tue Jul 21 08:05:00 CST 1998
|
||||
#
|
||||
# upgrade-windowmaker-defaults (0.1)
|
||||
#
|
||||
# * Initial release
|
||||
# * Handles WindowPlaceOrigin syntax change
|
||||
# * Handles name change Fiend -> Clip
|
||||
#
|
||||
# Sat Jun 13 16:18:36 CST 1998
|
||||
|
||||
# Fixes (these are not-optional changes)
|
||||
# this one changes WindowPlaceOrigin = "..." to WindowPlaceOrigin = (...)
|
||||
fix1='s/\(.*WindowPlaceOrigin = \)"\(.*\)";/\1(\2);/'
|
||||
# and this one substitutes Fiend with Clip
|
||||
fix2='s/\(.*\)Fiend\(.*\)=/\1Clip\2=/'
|
||||
# this one applies to WMState
|
||||
fix3='s/\( *\)Fiend\( *\)=/\1Clip\2=/'
|
||||
fix4='s/\(.*\)Logo\.\(WMFiend\|WMClip\)\(.*\)=/\1Tile.WMClip\3=/'
|
||||
# this one applies to Window Maker
|
||||
fix5='s/\(.*\)NoSound\(.*\)=/\1DisableSound\2=/'
|
||||
fix6='s/\(.*\)NoAutoWarp\(.*\)=/\1DontLinkWorspaces\2=/'
|
||||
# this one is for WMWindowAttributes
|
||||
|
||||
# try to screen system accounts in the /etc/passwd file. If somebody
|
||||
# has a better method for doing this, I'm open to suggestions. Please
|
||||
# note that Debian Policy states accounts 0-99 are reserved for the
|
||||
# Project, and 100 onwards *could* be used by the local sysadmin, but
|
||||
# the default is 1000 and up
|
||||
users='^[[:alnum:]]*:[[:alnum:]]*:[[:digit:]]\{4,\}:'
|
||||
|
||||
ask_n ()
|
||||
{
|
||||
echo -n $*'? [yN] '
|
||||
read yn
|
||||
test -n "$yn" || yn=n
|
||||
case "$yn" in
|
||||
[yY]*)
|
||||
return 1
|
||||
;;
|
||||
*)
|
||||
return 0
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
apply_fix ()
|
||||
{
|
||||
file_to_fix=$1; shift
|
||||
if [ -e $file_to_fix ] ; then
|
||||
echo -n "Fixing $file_to_fix... "
|
||||
while [ $# -gt 0 ] ; do
|
||||
sed -e "$1" $file_to_fix > $tempfile
|
||||
cat $tempfile > $file_to_fix
|
||||
shift
|
||||
done
|
||||
echo done.
|
||||
fi
|
||||
}
|
||||
|
||||
ask_permission ()
|
||||
{
|
||||
cat <<EOF
|
||||
I can try to fix certain configuration parameters that have changed
|
||||
between previous versions of Window Maker and this one, namely:
|
||||
|
||||
* WindowPlaceOrigin syntax change from "..." to (...)
|
||||
* Name change of Fiend to Clip
|
||||
* WMWindowAttributes: Logo.Clip -> Tile.Clip (crashing)
|
||||
|
||||
NOT fixing this could prevent Window Maker from starting. Please read
|
||||
/usr/doc/wmaker/NEWS.gz and /usr/doc/wmaker/changelog.gz
|
||||
|
||||
I will fix *both* the system defaults and each user's files.
|
||||
|
||||
EOF
|
||||
if ! ask_n "Do you want to proceed with the changes" ; then
|
||||
return 0
|
||||
else
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
set -e
|
||||
|
||||
gs_dir=GNUstep
|
||||
[ $GNUSTEP_USER_ROOT ] && gs_dir=$GNUSTEP_USER_ROOT
|
||||
gs_defaults=$gs_dir/Defaults
|
||||
gs_system_defaults=/etc/GNUstep/Defaults
|
||||
|
||||
if [ "$1" = "--non-interactive" ] || ask_permission ; then
|
||||
tempfile=`tempfile`
|
||||
|
||||
# fix users' files
|
||||
for dir in `cut -d : -f 6 /etc/passwd | sort -u` ; do
|
||||
apply_fix $dir/$gs_defaults/WindowMaker "$fix1" "$fix2" "$fix5" "$fix6"
|
||||
apply_fix $dir/$gs_defaults/WMState "$fix3"
|
||||
apply_fix $dir/$gs_defaults/WMWindowAttributes "$fix4"
|
||||
done
|
||||
|
||||
# fix system files
|
||||
apply_fix $gs_system_defaults/WindowMaker "$fix1" "$fix2" "$fix5" "$fix6"
|
||||
apply_fix $gs_system_defaults/WMState "$fix3"
|
||||
apply_fix $gs_system_defaults/WMWindowAttributes "$fix4"
|
||||
|
||||
rm $tempfile
|
||||
|
||||
cat <<EOF
|
||||
|
||||
Done fixing things. If you want to run this script again you can do so by
|
||||
typing:
|
||||
|
||||
$ $0
|
||||
EOF
|
||||
|
||||
else
|
||||
cat <<EOF
|
||||
|
||||
Ok, leaving things as they are now... you can run this script again using:
|
||||
|
||||
$ $0
|
||||
EOF
|
||||
fi
|
||||
|
||||
cat <<EOF
|
||||
|
||||
Press [ENTER] to continue...
|
||||
EOF
|
||||
|
||||
read dummy
|
||||
exit 0
|
||||
76
debian/debianfiles/wmaker
vendored
Normal file
76
debian/debianfiles/wmaker
vendored
Normal file
@@ -0,0 +1,76 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
[ -n "$GNUSTEP_USER_ROOT" ] || export GNUSTEP_USER_ROOT="$HOME/GNUstep"
|
||||
gs_base="$GNUSTEP_USER_ROOT"
|
||||
gs_defaults="$gs_base/Defaults"
|
||||
gs_system_defaults=/etc/GNUstep/Defaults
|
||||
wm_base="$gs_base/Library/WindowMaker"
|
||||
wm_backgrounds="$wm_base/Backgrounds"
|
||||
wm_iconsets="$wm_base/IconSets"
|
||||
wm_pixmaps="$wm_base/Pixmaps"
|
||||
gs_icons="$gs_base/Library/Icons"
|
||||
wm_style="$wm_base/Style"
|
||||
wm_styles="$wm_base/Styles"
|
||||
wm_themes="$wm_base/Themes"
|
||||
WindowMaker=/usr/lib/WindowMaker/wmaker
|
||||
convertfonts=/usr/lib/WindowMaker/convertfonts
|
||||
|
||||
make_dir_if_needed ()
|
||||
{
|
||||
if [ ! -d "$1" ] ; then
|
||||
install -m 0755 -d "$1"
|
||||
fi
|
||||
}
|
||||
|
||||
rename_dir_if_possible ()
|
||||
{
|
||||
if [ ! -d "$2" ] ; then
|
||||
if [ -d "$1" ] ; then
|
||||
mv "$1" "$2"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
copy_defaults_if_needed ()
|
||||
{
|
||||
file="$gs_defaults/$1"
|
||||
system_file="$gs_system_defaults/$1"
|
||||
if [ ! -f "$file" ] ; then
|
||||
install -m 0644 "$system_file" "$file"
|
||||
fi
|
||||
}
|
||||
|
||||
make_dir_if_needed "$gs_defaults"
|
||||
make_dir_if_needed "$wm_base"
|
||||
make_dir_if_needed "$wm_backgrounds"
|
||||
make_dir_if_needed "$wm_iconsets"
|
||||
make_dir_if_needed "$wm_pixmaps"
|
||||
make_dir_if_needed "$gs_icons"
|
||||
rename_dir_if_possible "$wm_style" "$wm_styles"
|
||||
make_dir_if_needed "$wm_styles"
|
||||
make_dir_if_needed "$wm_themes"
|
||||
|
||||
copy_defaults_if_needed WindowMaker
|
||||
copy_defaults_if_needed WMRootMenu
|
||||
copy_defaults_if_needed WMState
|
||||
#copy_defaults_if_needed WMWindowAttributes
|
||||
|
||||
if [ -x $convertfonts -a ! -e "$wm_base/.fonts_converted" ] ; then
|
||||
# --keep-xlfd is used in order to preserve the original information
|
||||
$convertfonts --keep-xlfd "$gs_defaults/WindowMaker"
|
||||
if [ -f "$gs_defaults/WMGLOBAL" ] ; then
|
||||
$convertfonts --keep-xlfd "$gs_defaults/WMGLOBAL"
|
||||
fi
|
||||
find "$wm_styles" -type f -print0 -mindepth 1 -maxdepth 1 |
|
||||
xargs -0 -r -n 1 $convertfonts --keep-xlfd
|
||||
touch "$wm_base/.fonts_converted"
|
||||
fi
|
||||
|
||||
if [ -n "$1" -a -x "$WindowMaker$1" ] ; then
|
||||
WindowMaker="$WindowMaker$1"
|
||||
shift
|
||||
fi
|
||||
|
||||
exec "$WindowMaker" "$@"
|
||||
8
debian/debianfiles/wmaker-common.desktop
vendored
Normal file
8
debian/debianfiles/wmaker-common.desktop
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Name=Window maker
|
||||
Comment=This session logs you into Window Maker
|
||||
Exec=/usr/bin/wmaker
|
||||
# no icon yet, only the top three are currently used
|
||||
Icon=
|
||||
Type=Application
|
||||
Reference in New Issue
Block a user