SHA256
1
0
forked from pool/WindowMaker
OBS User unknown 2007-01-15 22:50:36 +00:00 committed by Git OBS Bridge
commit 6aa03242a9
27 changed files with 6786 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

32
README.SuSE Normal file
View File

@ -0,0 +1,32 @@
CHANGED PREFIX /usr/X11R6 => /usr
=================================
Beginning with openSUSE 10.2 WindowMaker was moved from
/usr/X11R6 to /usr.
An automatic conversion of configuration files in ~/GNUstep
is offered at the first start.
If you have your home directory on a network filesystem,
shared among various openSUSE versions, you may prefer to
keep the configuration files unchanged and create symlinks instead,
to maintain compatibility with previous versions.
In order to create the compatibility links, run these
commands as root:
mkdir -p /usr/X11R6/share
ln -s /usr/share/WindowMaker /usr/X11R6/share
ln -s /usr/lib/GNUstep /usr/X11R6
PROBLEMS WITH UTF-8 LOCALES
===========================
If you switch to UTF-8 locale (the default since SUSE LINUX 9.1),
please note that the configuration and especialy menu files
in ~/GNUstep remains unchanged.
If you encounter any broken characters in WindowMaker menu,
please update the menu file ~/GNUstep/Defaults/WMRootMenu.
The most convenient way to do it is by running script
"wmaker.inst" which overwrites the file by the default one.

3
SuSE-theme.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bcf4ef424a9e0c62e0842f0ff92f6a38cb1c95e9a7696cbd1a9f9be176bbd84c
size 14649

View File

@ -0,0 +1,31 @@
--- src/misc.c
+++ src/misc.c
@@ -733,7 +733,7 @@
olen = len+1;
out = malloc(olen);
if (!out) {
- wwarning(_("out of memory during expansion of \"%s\""));
+ wwarning(_("out of memory during expansion of \"%s\""), cmdline);
return NULL;
}
*out = 0;
@@ -821,7 +821,8 @@
olen += slen;
nout = realloc(out,olen);
if (!nout) {
- wwarning(_("out of memory during expansion of \"%a\""));
+ wwarning(_("out of memory during expansion of \"%a\""),
+ user_input);
goto error;
}
out = nout;
@@ -871,7 +872,8 @@
olen += slen;
nout = realloc(out,olen);
if (!nout) {
- wwarning(_("out of memory during expansion of \"%s\""));
+ wwarning(_("out of memory during expansion of \"%s\""),
+ selection);
goto error;
}
out = nout;

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b431ce9f47c5d4cd52ab5b8298cff56fd5700d6e6052b149e19b6c567e526db1
size 2202748

View File

@ -0,0 +1,11 @@
--- src/wconfig.h.in
+++ src/wconfig.h.in
@@ -453,7 +453,7 @@
#define HRESIZE_THRESHOLD 3
-#define MAX_WORKSPACENAME_WIDTH 32
+#define MAX_WORKSPACENAME_WIDTH 64
#define MAX_WINDOWLIST_WIDTH 160 /* max width of window title in
* window list */

141
WindowMaker-asm.patch Normal file
View File

@ -0,0 +1,141 @@
--- configure.ac
+++ configure.ac
@@ -197,7 +197,7 @@
AC_CACHE_CHECK(whether gcc supports x86 inline asm,
ac_cv_c_inline_asm,
- [AC_TRY_LINK(,[{int x; asm volatile("movl %%eax, %%ebx\n"::
+ [AC_TRY_LINK(,[{int x; asm volatile("movl %%eax, %%ebx\n\t pushal\n\t popal"::
"m" (x),"m" (x),"m" (x),"m" (x),"m" (x),"m" (x),
"m" (x),"m" (x),"m" (x),"m" (x),"m" (x),"m" (x));}],
ac_cv_c_inline_asm=yes,
--- wrlib/x86_specific.c
+++ wrlib/x86_specific.c
@@ -98,15 +98,23 @@
int height,
int line_offset)
{
- long long rrggbbaa;
- long long pixel;
+ union {
+ long long rrggbbaa;
+ struct {short int rr, gg, bb, aa;} words;
+ } rrggbbaa;
+
+ union {
+ long long pixel;
+ struct {short int rr, gg, bb, aa;} words;
+ } pixel;
+
short *tmp_err;
short *tmp_nerr;
int x;
asm volatile
(
- "pushal \n\t"
+ "pushl %%ebx \n\t"
// pack dr, dg and db into mm6
"movl %7, %%eax \n\t"
@@ -290,7 +298,7 @@
".Enda: \n\t" // THE END
"emms \n\t"
- "popal \n\t"
+ "popl %%ebx \n\t"
:
:
"m" (image), // %0
@@ -309,17 +317,18 @@
"m" (width), // %13
"m" (height), // %14
"m" (line_offset), // %15
- "m" (rrggbbaa), // %16 (access to rr)
- "m" ((*((short*)(&rrggbbaa)+1))), // %17 (access to gg)
- "m" ((*((short*)(&rrggbbaa)+2))), // %18 (access to bb)
- "m" ((*((short*)(&rrggbbaa)+3))), // %19 (access to aa)
- "m" (pixel), // %20 (access to pixel.r)
- "m" ((*((short*)(&pixel)+1))), // %21 (access to pixel.g)
- "m" ((*((short*)(&pixel)+2))), // %22 (access to pixel.b)
- "m" ((*((short*)(&pixel)+3))), // %23 (access to pixel.a)
+ "m" (rrggbbaa.rrggbbaa), // %16 (access to rr)
+ "m" (rrggbbaa.words.gg), // %17 (access to gg)
+ "m" (rrggbbaa.words.bb), // %18 (access to bb)
+ "m" (rrggbbaa.words.aa), // %19 (access to aa)
+ "m" (pixel.pixel), // %20 (access to pixel.r)
+ "m" (pixel.words.gg), // %21 (access to pixel.g)
+ "m" (pixel.words.bb), // %22 (access to pixel.b)
+ "m" (pixel.words.aa), // %23 (access to pixel.a)
"m" (tmp_err), // %24
"m" (tmp_nerr), // %25
"m" (x) // %26
+ : "eax", "ecx", "edx", "esi", "edi"
);
}
@@ -342,8 +351,15 @@
int height,
int line_offset)
{
- long long rrggbbaa;
- long long pixel;
+ union {
+ long long rrggbbaa;
+ struct {short int rr, gg, bb, aa;} words;
+ } rrggbbaa;
+
+ union {
+ long long pixel;
+ struct {short int rr, gg, bb, aa;} words;
+ } pixel;
short *tmp_err;
short *tmp_nerr;
@@ -354,7 +370,7 @@
asm volatile
(
- "pushal \n\t"
+ "pushl %%ebx \n\t"
"movl %13, %%eax \n\t" // eax = width
"movl %%eax, %%ebx \n\t"
@@ -424,7 +440,7 @@
".Endc: \n\t" // THE END
"emms \n\t"
- "popal \n\t"
+ "popl %%ebx \n\t"
:
:
"m" (image), // %0
@@ -443,19 +459,20 @@
"m" (width), // %13
"m" (height), // %14
"m" (line_offset), // %15
- "m" (rrggbbaa), // %16 (access to rr)
- "m" ((*((short*)(&rrggbbaa)+1))), // %17 (access to gg)
- "m" ((*((short*)(&rrggbbaa)+2))), // %18 (access to bb)
- "m" ((*((short*)(&rrggbbaa)+3))), // %19 (access to aa)
- "m" (pixel), // %20 (access to pixel.r)
- "m" ((*((short*)(&pixel)+1))), // %21 (access to pixel.g)
- "m" ((*((short*)(&pixel)+2))), // %22 (access to pixel.b)
- "m" ((*((short*)(&pixel)+3))), // %23 (access to pixel.a)
+ "m" (rrggbbaa.rrggbbaa), // %16 (access to rr)
+ "m" (rrggbbaa.words.gg), // %17 (access to gg)
+ "m" (rrggbbaa.words.bb), // %18 (access to bb)
+ "m" (rrggbbaa.words.aa), // %19 (access to aa)
+ "m" (pixel.pixel), // %20 (access to pixel.r)
+ "m" (pixel.words.gg), // %21 (access to pixel.g)
+ "m" (pixel.words.bb), // %22 (access to pixel.b)
+ "m" (pixel.words.aa), // %23 (access to pixel.a)
"m" (tmp_err), // %24
"m" (tmp_nerr), // %25
"m" (x), // %26
"m" (w1), // %27
"m" (w2) // %28
+ : "eax", "ecx", "edx", "esi", "edi"
);
}

363
WindowMaker-config.dif Normal file
View File

@ -0,0 +1,363 @@
--- WindowMaker/Defaults/WindowMaker.in
+++ WindowMaker/Defaults/WindowMaker.in
@@ -1,5 +1,6 @@
{
SmoothWorkspaceBack = NO;
+ CirculateRaise = YES;
PopupSwitchMenu = NO;
MenuStyle = normal;
DisableMiniwindows = NO;
@@ -12,6 +13,8 @@
"~/GNUstep/Library/Icons",
"#pkgdatadir#/Icons",
"#pkgdatadir#/Pixmaps",
+ "/usr/X11R6/share/icons/png/hicolor/all",
+ "/usr/X11R6/share/icons/png/locolor/all",
"/usr/X11R6/include/X11/pixmaps",
"~/GNUstep/Library/WindowMaker/Pixmaps",
"/usr/share/icons",
@@ -23,6 +26,8 @@
"~/GNUstep/Library/WindowMaker/Backgrounds",
"#pkgdatadir#/Pixmaps",
"#pkgdatadir#/Backgrounds",
+ "/usr/X11R6/share/icons/png/hicolor/all",
+ "/usr/X11R6/share/icons/png/locolor/all",
"/usr/X11R6/include/X11/pixmaps",
"/usr/local/share/pixmaps",
"/usr/share/pixmaps"
@@ -31,7 +36,7 @@
IconSize = 64;
FocusMode = manual;
DisableWSMouseActions = NO;
- MouseLeftButtonAction = SelectWindows;
+ MouseLeftButtonAction = OpenApplicationsMenu;
MouseMiddleButtonAction = OpenWindowListMenu;
MouseRightButtonAction = OpenApplicationsMenu;
MouseWheelAction = None;
--- dockit
+++ dockit
@@ -0,0 +1,247 @@
+#!/bin/sh
+# Only run the following line once \
+exec wish -f $0 $@
+
+##########################################
+#Copyright 1998 Kenneth W. Persinger Jr. #
+# Written for WindowMaker #
+##########################################
+
+
+# You can add the full path for Xprop here.
+set xprop xprop
+
+###############################
+# DO NOT EDIT BELOW THIS LINE #
+###############################
+global xprop;
+global instance;set instance ""
+global class;set class ""
+global command; set command ""
+global Version;set Version V1.2
+
+
+ global Version
+ global instance
+ global class
+ global command
+ wm withdraw .
+ wm group . .
+
+ toplevel .dockit -class Dockit
+ wm group .dockit .dockit
+ wm command .dockit "$argv0 $argv"
+ wm iconname .dockit "Dockit ${Version}"
+ wm protocol .dockit WM_DELETE_WINDOW {exit}
+ wm focusmodel .dockit passive
+ wm title .dockit "Dockit ${Version}"
+ wm geometry .dockit 309x157+440+412
+ wm maxsize .dockit 1265 994
+ wm minsize .dockit 1 1
+ wm overrideredirect .dockit 0
+ wm resizable .dockit 0 0
+ wm deiconify .dockit
+
+ label .dockit.msgbar \
+ -anchor nw -borderwidth 1 -justify left -relief raised \
+ -text ""
+ label .dockit.instlbl \
+ -borderwidth 1 -relief raised -text Instance
+ label .dockit.cllbl \
+ -borderwidth 1 -relief raised -text Class
+ label .dockit.comlbl \
+ -borderwidth 1 -relief raised -text Command
+ entry .dockit.instent -textvariable instance
+ entry .dockit.clent -textvariable class
+ entry .dockit.coment -textvariable command
+ button .dockit.create \
+ -padx 9 -pady 3 -text {Create Icon} -command {docreate}
+ button .dockit.exit \
+ -padx 9 -pady 3 -text Quit -command exit
+ button .dockit.grab \
+ -padx 9 -pady 3 -text Grab -command {dograb}
+ button .dockit.help \
+ -padx 9 -pady 3 -text Help -command {dohelp}
+ ###################
+ # SETTING GEOMETRY
+ ###################
+ place .dockit.msgbar \
+ -x 5 -y 120 -width 296 -height 33 -anchor nw -bordermode ignore
+ place .dockit.instlbl \
+ -x 5 -y 5 -width 76 -height 23 -anchor nw -bordermode ignore
+ place .dockit.cllbl \
+ -x 5 -y 30 -width 76 -height 23 -anchor nw -bordermode ignore
+ place .dockit.comlbl \
+ -x 5 -y 55 -width 76 -height 23 -anchor nw -bordermode ignore
+ place .dockit.instent \
+ -x 85 -y 5 -width 216 -height 22 -anchor nw -bordermode ignore
+ place .dockit.clent \
+ -x 85 -y 30 -width 216 -height 22 -anchor nw -bordermode ignore
+ place .dockit.coment \
+ -x 85 -y 55 -width 216 -height 22 -anchor nw -bordermode ignore
+ place .dockit.create \
+ -x 5 -y 80 -width 77 -height 36 -anchor nw -bordermode ignore
+ place .dockit.exit \
+ -x 230 -y 80 -width 72 -height 36 -anchor nw -bordermode ignore
+ place .dockit.grab \
+ -x 80 -y 80 -width 77 -height 36 -anchor nw -bordermode ignore
+ place .dockit.help \
+ -x 155 -y 80 -width 77 -height 36 -anchor nw -bordermode ignore
+############
+# Bindings #
+############
+ bind all <Leave> {message ""}
+ bind .dockit.instlbl <Enter> {message "Instance name goes here.
+(the 1st string of WM_CLASS)"}
+ bind .dockit.instent <Enter> {message "Instance name goes here.
+(the 1st string of WM_CLASS)"}
+ bind .dockit.cllbl <Enter> {message "Class name goes here.
+(the 2nd string of WM_CLASS)"}
+ bind .dockit.clent <Enter> {message "Class name goes here.
+(the 2nd string of WM_CLASS)"}
+ bind .dockit.comlbl <Enter> {message "The command to execute goes here.
+(all of WM_COMMAND)"}
+ bind .dockit.coment <Enter> {message "The command to execute goes here.
+(all of WM_COMMAND)"}
+ bind .dockit.create <Enter> {message "Create you custom AppIcon."}
+ bind .dockit.exit <Enter> {message "Exit Dockit!"}
+ bind .dockit.help <Enter> {message "Help with creating AppIcons,
+and for these commands."}
+ bind .dockit.grab <Enter> {message "Grab AppInfo from a running App."}
+
+
+###################
+# Actual Code #
+###################
+
+proc message {message} {
+ .dockit.msgbar configure -text $message
+}
+
+proc docreate {} {
+ global Version
+ global instance
+ global class
+ global command
+
+ if {$command == ""} {
+ tk_dialog .error "DockIt ${Version}: ERROR" \
+ "You must supply a command line. Otherwise your icon would do nothing!" \
+ "" "" "Doh!"
+ } else {
+ set insttmp $instance
+ set classtmp $class
+ set commandtmp $command
+
+ if {$insttmp == ""} { set insttmp "dockit" }
+ if {$classtmp == ""} { set classtmp "DockedApp" }
+
+ toplevel .$insttmp -class $classtmp
+ wm command .$insttmp "$commandtmp"
+ wm group .$insttmp .$insttmp
+ label .$insttmp.l1 -text "
+Great! Your new App-Icon should be finished now.
+once you have dragged it to the Dock, Click Finish.
+If your Icon doesn't Dock, or does not appear,
+Try again. If problems persist, see Dockit's Help."
+ button .$insttmp.b1 -text "Finish" -command "destroy .$insttmp"
+ pack .$insttmp.l1
+ pack .$insttmp.b1
+ wm title .$insttmp "Dockit ${Version}: Confirmation"
+ }
+}
+
+proc dohelp {} {
+ global Version
+
+set HLPTXT { Dockit V1.2
+
+General Info:
+
+ Dockit is a tool designed to provide the ability to Dock
+ poorly coded programs within WindowMaker.
+
+ This is not a 100% accurate solution. It was not designed to be.
+ It will however, generate a dockable icon 99% of the time.
+ for that other 1%, you will need to edit by hand.
+
+Troubleshooting:
+
+Error: 'window name starts with an upper-case letter':
+
+ This is a limitation of Tcl/Tk.
+ window/pathnames cannot start with an uppercase letter.
+ This behavior is most noticable in Netscape's Navigator.
+ It's instance is 'Navigator'
+ A work-around to this limitation, is to double-define your App
+ settings. (ex:'navigator', and 'Navigator')
+
+
+Error: couldn't execute "xprop": no such file or directory
+
+ This means that /usr/X11R6/bin (or its equivilent)
+ is not defined in your path.
+ You must add this to your path.
+
+
+
+AppIcon does not appear as it should:
+
+ This could happen for a number of reasons.
+ A: You have NoAppIcon defined for that particular App.
+ B: One word: El Ni~no
+
+
+
+App Closes, but Dots do not appear/ Cannot remove Icon from the Dock:
+
+ This is the result of a VERY poorly coded App.
+ As far as WIndowMaker can tell, the program is still running.
+ The only real fix for this, is CTRL + ALT + BACKSPACE
+
+}
+
+
+ toplevel .userhelp -class Dockit
+ wm group .userhelp .dockit
+ wm iconname .userhelp "Dockit HELP"
+ wm focusmodel .userhelp passive
+ wm geometry .userhelp 456x635
+ wm maxsize .userhelp 1265 1265
+ wm minsize .userhelp 1 1
+ wm overrideredirect .userhelp 0
+ wm resizable .userhelp 1 1
+ wm deiconify .userhelp
+ wm title .userhelp "Dockit ${Version}: HELP"
+ label .userhelp.text \
+ -anchor nw -justify left -borderwidth 1 \
+ -text $HLPTXT
+ place .userhelp.text \
+ -x 0 -y 0 -anchor nw -bordermode ignore
+
+
+
+}
+
+proc dograb {} {
+ global xprop
+ global class
+ global instance
+ global command
+
+ catch "open /tmp/xprop1 w+" m1
+ exec ${xprop} >@ $m1
+ seek $m1 0
+ set tmpmsg [read $m1]
+ set tmpmsg [split $tmpmsg \n]
+ set tclass [lindex $tmpmsg [lsearch -glob $tmpmsg *WM_CLASS*]]
+ set tclass [split $tclass ,]
+ set class [string trim [lindex $tclass 1] \ \"]
+ set instance [string tolower [string trim [lindex [lindex $tclass 0] 2] \ \"]]
+ set tcom [lindex $tmpmsg [lsearch -glob $tmpmsg *WM_COMMAND*]]
+ set tcom [split [lindex $tcom 2] \,]
+ set tcom [split [join $tcom] \"]
+ set command [join [join $tcom]]
+ close $m1
+}
+
--- util/wmaker.inst.in
+++ util/wmaker.inst.in
@@ -312,42 +312,43 @@
}
wmaker_found=0
-for xinit in .xinitrc .Xclients .xsession; do
- test ! -f "$HOME/$xinit" && continue
- res="`grep wmaker $HOME/$xinit`"
- if test "x$res" != x; then
- wmaker_found=1
- break
- fi
-done
-if test $wmaker_found = 1; then
- echo "Found Window Maker to already be your default window manager."
- show_end_message
- exit 0
-fi
+#for xinit in .xinitrc .Xclients .xsession; do
+# test ! -f "$HOME/$xinit" && continue
+# res="`grep wmaker $HOME/$xinit`"
+# if test "x$res" != x; then
+# wmaker_found=1
+# break
+# fi
+#done
+
+#if test $wmaker_found = 1; then
+# echo "Found Window Maker to already be your default window manager."
+# show_end_message
+# exit 0
+#fi
trap "show_end_message;exit" 2
-echo
-echo "Now the .xinitrc, .Xclients or .xsession script must be updated so that"
-echo "it calls wmaker when you start an X session."
-echo "Type the name of the file that must be changed (normally .xinitrc)."
-echo "If the file already exists, it will be backed up with a .old.$DATE "
-echo "extension"
-echo "If you want to edit it by hand, hit <Control>-C now."
-read file
-
-if test "x$file" = "x"; then
- echo "Using .xinitrc as a default value"
- file=.xinitrc
-fi
-
-if [ -f $USERDIR/$file ]; then
- mv $USERDIR/$file $USERDIR/$file.old.$DATE
-fi
+#echo
+#echo "Now the .xinitrc, .Xclients or .xsession script must be updated so that"
+#echo "it calls wmaker when you start an X session."
+#echo "Type the name of the file that must be changed (normally .xinitrc)."
+#echo "If the file already exists, it will be backed up with a .old.$DATE "
+#echo "extension"
+#echo "If you want to edit it by hand, hit <Control>-C now."
+#read file
+
+#if test "x$file" = "x"; then
+# echo "Using .xinitrc as a default value"
+# file=.xinitrc
+#fi
+
+#if [ -f $USERDIR/$file ]; then
+# mv $USERDIR/$file $USERDIR/$file.old.$DATE
+#fi
-make_script $USERDIR/$file
+# make_script $USERDIR/$file
show_end_message

11
WindowMaker-crash.patch Normal file
View File

@ -0,0 +1,11 @@
--- src/misc.c
+++ src/misc.c
@@ -1141,7 +1141,7 @@
len = (msg ? strlen(msg) : 0) + (workspace >=0 ? 4 : 0) + 1 ;
buffer = wmalloc(len+5);
- snprintf(buf, len, "%4i", len);
+ snprintf(buf, sizeof(buf), "%4i", len);
memcpy(buffer, buf, 4);
buffer[4] = type;
i = 5;

View File

@ -0,0 +1,11 @@
--- po/de.po
+++ po/de.po
@@ -70,7 +70,7 @@
#: ../src/appicon.c:498 ../src/dock.c:1185 ../src/rootmenu.c:248
#: ../src/rootmenu.c:264 ../src/winmenu.c:508
msgid "Kill"
-msgstr "Töten"
+msgstr "Beenden"
#: ../src/appicon.c:519 ../src/dock.c:3501
msgid "Unhide"

62
WindowMaker-exec.patch Normal file
View File

@ -0,0 +1,62 @@
--- src/dock.c
+++ src/dock.c
@@ -3002,6 +3002,8 @@
args[i] = argv[i];
}
args[argc] = NULL;
+ for(i = 3; i < 1024; i++)
+ close(i);
execvp(argv[0], args);
exit(111);
}
--- src/main.c
+++ src/main.c
@@ -302,12 +302,16 @@
pid = fork();
if (pid==0) {
+ int i;
SetupEnvironment(scr);
#ifdef HAVE_SETSID
setsid();
#endif
+ for(i = 3; i < 1024; i++)
+ close(i);
+
execl(shell, shell, "-c", command, NULL);
wsyserror("could not execute %s -c %s", shell, command);
Exit(-1);
@@ -337,6 +341,7 @@
int in_fd[2];
int out_fd[2];
int err_fd[2];
+ int i;
pid_t pid;
SetupEnvironment(scr);
@@ -389,7 +394,9 @@
close(in_fd[1]);
close(out_fd[1]);
close(err_fd[1]);
-
+
+ for(i = 3; i < 1024; i++)
+ close(i);
execl("/bin/sh", "/bin/sh", "-c", wPreferences.logger_shell, NULL);
wsyserror("could not execute %s\n", wPreferences.logger_shell);
exit(1);
--- src/session.c
+++ src/session.c
@@ -398,6 +398,10 @@
args[i] = argv[i];
}
args[argc] = NULL;
+
+ for(i = 3; i < 1024; i++)
+ close(i);
+
execvp(argv[0], args);
exit(111);
}

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:02123bf2d627a7562f65d5ff6f583b34316cdabfea836b82ffa772bf5889015c
size 238844

34
WindowMaker-fonts.patch Normal file
View File

@ -0,0 +1,34 @@
--- WindowMaker/Defaults/WMGLOBAL
+++ WindowMaker/Defaults/WMGLOBAL
@@ -1,6 +1,6 @@
{
- SystemFont = "Trebuchet MS,Luxi Sans";
- BoldSystemFont = "Trebuchet MS,Luxi Sans:bold";
+ SystemFont = "Sans";
+ BoldSystemFont = "Sans:bold";
DefaultFontSize = 11;
AntialiasedText = Yes;
FloppyPath = "/floppy";
--- WindowMaker/Defaults/WindowMaker.in
+++ WindowMaker/Defaults/WindowMaker.in
@@ -109,13 +109,13 @@
ConstrainWindowSize = NO;
ClipRaiseLowerKey = None;
TitleJustify = center;
- WindowTitleFont = "Trebuchet MS,Luxi Sans:bold:pixelsize=12";
- MenuTitleFont = "Trebuchet MS,Luxi Sans:bold:pixelsize=12";
- MenuTextFont = "Trebuchet MS,Luxi Sans:pixelsize=12";
- IconTitleFont = "Arial,Luxi Sans:pixelsize=9";
- ClipTitleFont = "Verdana:bold:pixelsize=10";
- DisplayFont = "Trebuchet MS,Luxi Sans:pixelsize=12";
- LargeDisplayFont = "Trebuchet MS,Luxi Sans:pixelsize=24";
+ WindowTitleFont = "Sans:bold:pixelsize=12";
+ MenuTitleFont = "Sans:bold:pixelsize=12";
+ MenuTextFont = "Sans:pixelsize=12";
+ IconTitleFont = "Sans:pixelsize=9";
+ ClipTitleFont = "Sans:bold:pixelsize=10";
+ DisplayFont = "Sans:pixelsize=12";
+ LargeDisplayFont = "Sans:pixelsize=24";
HighlightColor = white;
HighlightTextColor = black;
ClipTitleColor = black;

View File

@ -0,0 +1,13 @@
--- src/event.c
+++ src/event.c
@@ -559,6 +559,10 @@
wwin->flags.skip_next_animation = 1;
wIconifyWindow(wwin);
}
+ if (wwin->flags.fullscreen) {
+ wwin->flags.fullscreen = 0;
+ wFullscreenWindow(wwin);
+ }
if (wwin->flags.hidden) {
WApplication *wapp = wApplicationOf(wwin->main_window);

4367
WindowMaker-menu.patch Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,22 @@
--- configure.ac
+++ configure.ac
@@ -281,7 +281,7 @@
dnl List of supported locales
dnl -------------------------
-supported_locales="be bg bs ca cs da de el es et fi fr gl hr hu it ja ko ms nl no pl pt ro ru sk sv tr zh_CN zh_TW"
+supported_locales="be bg bs ca cs da de el es et fi fr gl hr hu it ja ko ms nl nb pl pt ro ru sk sv tr zh_CN zh_TW"
supported_wprefs_locales="bg ca cs de es et fi fr hr hu it ja ko pt ru sk zh_CN zh_TW"
supported_wings_locales="bg ca cs de fr sk"
--- po/Makefile.am
+++ po/Makefile.am
@@ -6,7 +6,7 @@
# Please keep this sorted in alphabetic order!
EXTRA_DIST = be.po bg.po bs.po ca.po cs.po da.po de.po el.po es.po et.po \
- fi.po fr.po gl.po hr.po hu.po it.po ja.po ko.po ms.po nl.po no.po \
+ fi.po fr.po gl.po hr.po hu.po it.po ja.po ko.po ms.po nl.po nb.po \
pl.po pt.po ro.po ru.po sk.po sv.po tr.po zh_CN.po zh_TW.po
POTFILES = \

11
WindowMaker-null.patch Normal file
View File

@ -0,0 +1,11 @@
--- WindowMaker-0.92.0/WINGs/wfontpanel.c
+++ WindowMaker-0.92.0/WINGs/wfontpanel.c
@@ -584,7 +584,7 @@
int i;
pat = FcPatternCreate();
- os = FcObjectSetBuild(FC_FAMILY, FC_STYLE, 0);
+ os = FcObjectSetBuild(FC_FAMILY, FC_STYLE, NULL);
fs = FcFontList(0, pat, os);
if (!fs) {
WMRunAlertPanel(scr, panel->win, _("Error"),

View File

@ -0,0 +1,47 @@
diff -r -N -u WindowMaker-0.92.0-orig/src/switchpanel.c WindowMaker-0.92.0/src/switchpanel.c
--- WindowMaker-0.92.0-orig/src/switchpanel.c 2004-10-30 09:16:04.000000000 +0200
+++ WindowMaker-0.92.0/src/switchpanel.c 2005-09-01 14:28:14.000000000 +0200
@@ -501,6 +501,7 @@
if (!panel->bg) {
WMFrame *frame = WMCreateFrame(panel->win);
+ WMColor *darkGray = WMDarkGrayColor(scr->wmscreen);
WMSetFrameRelief(frame, WRSimple);
WMSetViewExpandsToParent(WMWidgetView(frame), 0, 0, 0, 0);
@@ -508,10 +509,11 @@
WMResizeWidget(panel->label, width, LABEL_HEIGHT);
WMMoveWidget(panel->label, BORDER_SPACE, BORDER_SPACE+ICON_TILE_SIZE+5);
WMSetLabelRelief(panel->label, WRSimple);
- WMSetWidgetBackgroundColor(panel->label, WMDarkGrayColor(scr->wmscreen));
+ WMSetWidgetBackgroundColor(panel->label, darkGray);
WMSetLabelFont(panel->label, panel->font);
WMSetLabelTextColor(panel->label, panel->white);
+ WMReleaseColor(darkGray);
height+= 5;
}
@@ -604,6 +606,8 @@
RReleaseImage(panel->bg);
if (panel->font)
WMReleaseFont(panel->font);
+ if (panel->white)
+ WMReleaseColor(panel->white);
wfree(panel);
}
diff -r -N -u WindowMaker-0.92.0-orig/WINGs/wview.c WindowMaker-0.92.0/WINGs/wview.c
--- WindowMaker-0.92.0-orig/WINGs/wview.c 2004-10-28 04:41:04.000000000 +0200
+++ WindowMaker-0.92.0/WINGs/wview.c 2005-09-01 14:02:33.000000000 +0200
@@ -450,6 +450,9 @@
W_FreeViewXdndPart(view);
+ if (view->backColor)
+ WMReleaseColor(view->backColor);
+
wfree(view);
}

137
WindowMaker-warnings.patch Normal file
View File

@ -0,0 +1,137 @@
--- WINGs/Examples/puzzle.c
+++ WINGs/Examples/puzzle.c
@@ -12,7 +12,7 @@
WMWindow *win;
WMButton *Button[MAX_SIZE];
-char Map[MAX_SIZE];
+signed char Map[MAX_SIZE];
int Size = 4;
int MoveCount;
--- WINGs/WINGs/WUtil.h
+++ WINGs/WINGs/WUtil.h
@@ -216,11 +216,11 @@
/* don't free the returned string */
char* wstrerror(int errnum);
-void wmessage(const char *msg, ...);
-void wwarning(const char *msg, ...);
-void wfatal(const char *msg, ...);
-void wsyserror(const char *msg, ...);
-void wsyserrorwithcode(int error, const char *msg, ...);
+void wmessage(const char *msg, ...) __attribute__((__format__(printf,1,2)));
+void wwarning(const char *msg, ...) __attribute__((__format__(printf,1,2)));
+void wfatal(const char *msg, ...) __attribute__((__format__(printf,1,2)));
+void wsyserror(const char *msg, ...) __attribute__((__format__(printf,1,2)));
+void wsyserrorwithcode(int error, const char *msg, ...) __attribute__((__format__(printf,2,3)));
char* wfindfile(char *paths, char *file);
--- WINGs/dragsource.c
+++ WINGs/dragsource.c
@@ -448,6 +448,7 @@
XDND_TIMESTAMP(info),
XDND_SOURCE_ACTION(info));
}
+ return True;
} else {
/* send position on each move */
return sendDnDClientMessage(info, scr->xdndPositionAtom,
--- WINGs/wcolorpanel.c
+++ WINGs/wcolorpanel.c
@@ -1247,7 +1247,7 @@
}
if (!(dPtr = opendir(panel->configurationPath))) {
- wwarning(_("Color Panel: Could not find file"), "%s", panel->configurationPath);
+ wwarning(_("Color Panel: Could not find file: %s"), panel->configurationPath);
return;
}
@@ -1283,7 +1283,7 @@
WMListItem *item;
if (stat(RGBTXT, &stat_buf) != 0) {
- wsyserror(_("Color Panel: Could not find file"), " %s", RGBTXT);
+ wsyserror(_("Color Panel: Could not find file %s"), RGBTXT);
return;
}
else {
@@ -1301,7 +1301,7 @@
fclose(rgbtxt);
}
else {
- wsyserror(_("Color Panel: Could not find file"), "%s", RGBTXT);
+ wsyserror(_("Color Panel: Could not find file %s"), RGBTXT);
}
}
}
@@ -3746,6 +3746,7 @@
color.red = 0;
color.green = 0;
color.blue = 0;
+ color.alpha = 0;
return color;
}
@@ -3755,6 +3756,7 @@
color.red = xcolor->red >> 8;
color.green = xcolor->green >> 8;
color.blue = xcolor->blue >> 8;
+ color.alpha = 0;
wfree(xcolor);
--- src/cycling.c
+++ src/cycling.c
@@ -22,6 +22,7 @@
#include "wconfig.h"
+#include <stdlib.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/keysym.h>
--- src/startup.c
+++ src/startup.c
@@ -25,6 +25,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
+#include <string.h>
#include <errno.h>
#include <signal.h>
#include <sys/wait.h>
--- src/texture.c
+++ src/texture.c
@@ -421,6 +421,8 @@
texture->argc = argc;
texture->argv = argv;
+ memset(&fallbackColor, 0, sizeof(fallbackColor));
+
fallbackColor.red = 0x8000;
fallbackColor.green = 0x8000;
fallbackColor.blue = 0x8000;
--- src/xdnd.c
+++ src/xdnd.c
@@ -185,7 +185,7 @@
wfree(scr->xdestring); /* this xdestring is not from Xlib (no XFree) */
}
- /* why doesn't this function return anything ? -Dan */
+ return True;
}
Bool
--- util/wmsetup.c
+++ util/wmsetup.c
@@ -21,6 +21,7 @@
int
main()
{
+return 0;
}
#else
#define PROG_VERSION "wmsetup 0.0 (Window Maker)"

View File

@ -0,0 +1,55 @@
--- WINGs/wwindow.c
+++ WINGs/wwindow.c
@@ -254,14 +254,14 @@
setMiniwindow(WMWindow *win, RImage *image)
{
WMScreen *scr= win->view->screen;
- CARD32 *data;
+ long *data;
int x, y;
int o;
if (!image)
return;
- data = wmalloc((image->width * image->height + 2) * sizeof(CARD32));
+ data = wmalloc((image->width * image->height + 2) * sizeof(long));
o= 0;
data[o++] = image->width;
--- src/wmspec.c
+++ src/wmspec.c
@@ -389,12 +389,12 @@
*
* The logic can also be changed to accept bigger images and scale them down.
*/
-static CARD32*
-findBestIcon(CARD32 *data, unsigned long items)
+static unsigned long*
+findBestIcon(unsigned long *data, unsigned long items)
{
int size, wanted, d, distance;
unsigned long i;
- CARD32 *icon;
+ unsigned long *icon;
/* better use only 75% of icon_size. For 64x64 this means 48x48
* This leaves room around the icon for the miniwindow title and
@@ -418,7 +418,7 @@
static RImage*
-makeRImageFromARGBData(CARD32 *data)
+makeRImageFromARGBData(unsigned long *data)
{
int size, width, height, i;
RImage *image;
@@ -449,7 +449,7 @@
static void
updateIconImage(WScreen *scr, WWindow *wwin)
{
- CARD32 *property, *data;
+ unsigned long *property, *data;
unsigned long items, rest;
Atom type;
int format;

View File

@ -0,0 +1,84 @@
--- src/wmspec.c
+++ src/wmspec.c
@@ -322,15 +322,15 @@
void
wNETWMUpdateDesktop(WScreen *scr)
{
- CARD32 *views, sizes[2];
+ long *views, sizes[2];
int count, i;
if (scr->workspace_count==0)
return;
count = scr->workspace_count * 2;
- views = wmalloc(sizeof(CARD32) * count);
- /*memset(views, 0, sizeof(CARD32) * count);*/
+ views = wmalloc(sizeof(long) * count);
+ /*memset(views, 0, sizeof(long) * count);*/
#ifdef VIRTUAL_DESKTOP
sizes[0] = scr->workspaces[scr->current_workspace]->width;
@@ -370,7 +370,7 @@
0, 1, &count);
if (prop)
{
- int desktop= *(CARD32*)prop;
+ int desktop= *(long*)prop;
XFree(prop);
return desktop;
}
@@ -487,7 +487,7 @@
static void
updateShowDesktop(WScreen * scr, Bool show)
{
- CARD32 foo;
+ long foo;
foo = (show == True);
XChangeProperty(dpy, scr->root_win, net_showing_desktop, XA_CARDINAL, 32,
@@ -660,7 +660,7 @@
void
wNETWMUpdateWorkarea(WScreen *scr, WArea usableArea)
{
- CARD32 *area;
+ long *area;
int count, i;
/* XXX: not Xinerama compatible,
@@ -670,7 +670,7 @@
return;
count = scr->workspace_count * 4;
- area = wmalloc(sizeof(CARD32) * count);
+ area = wmalloc(sizeof(long) * count);
for (i=0; i<scr->workspace_count; i++) {
area[4*i + 0] = usableArea.x1;
area[4*i + 1] = usableArea.y1;
@@ -793,7 +793,7 @@
static void
updateWorkspaceCount(WScreen *scr) /* changeable */
{
- CARD32 count;
+ long count;
count = scr->workspace_count;
@@ -805,7 +805,7 @@
static void
updateCurrentWorkspace(WScreen *scr) /* changeable */
{
- CARD32 count;
+ long count;
count = scr->current_workspace;
@@ -852,7 +852,7 @@
static void
updateWorkspaceHint(WWindow *wwin, Bool fake, Bool del)
{
- CARD32 l;
+ long l;
if (del) {
XDeleteProperty(dpy, wwin->client_win, net_wm_desktop);

652
WindowMaker.changes Normal file
View File

@ -0,0 +1,652 @@
-------------------------------------------------------------------
Mon Oct 23 15:03:31 CEST 2006 - nadvornik@suse.cz
- reverted previous change [#213889]
- added an offer to update the config files to start script
- documented the possibility of compatibility symlinks
in README.SuSE
-------------------------------------------------------------------
Mon Oct 16 11:28:50 CEST 2006 - lnussel@suse.de
- add compatibility symlinks /usr/X11R6/GNUstep and
/usr/X11R6/share/WindowMaker as those directories are still
referenced in old config files
-------------------------------------------------------------------
Thu Aug 17 18:11:12 CEST 2006 - nadvornik@suse.cz
- changed prefix /usr/X11R6 -> /usr
-------------------------------------------------------------------
Tue Mar 14 12:25:06 CET 2006 - nadvornik@suse.cz
- fixed the previous change
-------------------------------------------------------------------
Thu Mar 9 17:53:00 CET 2006 - anicka@suse.cz
- close file descriptors before exec [#155502]
-------------------------------------------------------------------
Wed Mar 8 15:50:02 CET 2006 - anicka@suse.cz
- change default fonts to work with all languages [#154758]
-------------------------------------------------------------------
Tue Jan 31 18:07:08 CET 2006 - nadvornik@suse.cz
- fixed invalid usage of snprintf [#117663]
-------------------------------------------------------------------
Wed Jan 25 21:34:00 CET 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
-------------------------------------------------------------------
Mon Nov 28 12:37:48 CET 2005 - nadvornik@suse.cz
- fixed color reference counting [#119439]
-------------------------------------------------------------------
Fri Oct 14 17:57:08 CEST 2005 - nadvornik@suse.cz
- fixed another missing return value warning
-------------------------------------------------------------------
Fri Oct 7 17:44:41 CEST 2005 - mmj@suse.de
- fix wrong printf calls
-------------------------------------------------------------------
Mon Sep 12 16:32:25 CEST 2005 - nadvornik@suse.cz
- increased MAX_WORKSPACENAME_WIDTH because ru.po
contains longer strings [#116475]
-------------------------------------------------------------------
Fri Jul 22 12:22:46 CEST 2005 - nadvornik@suse.cz
- fixed fullscreen in OpenOffice.org presentations [#74375]
- fixed char comparison [#95091]
-------------------------------------------------------------------
Thu Jul 14 18:11:19 CEST 2005 - nadvornik@suse.cz
- updated to 0.92.0:
* added support for X Input Methods
* improved hiding/unhiding animations to be quicker and do
less icon shuffling
-------------------------------------------------------------------
Thu May 12 12:56:25 CEST 2005 - nadvornik@suse.cz
- fixed bug in WINGs that caused wmaker crash [#82768]
-------------------------------------------------------------------
Wed Apr 6 18:32:56 CEST 2005 - nadvornik@suse.cz
- fixed to compile with gcc4
- added gettext-devel to neededforbuild
-------------------------------------------------------------------
Tue Mar 22 15:27:36 CET 2005 - nadvornik@suse.cz
- fixed crash with KDE applications on 64bit archs [#74246]
- fixed german translation [#74254]
-------------------------------------------------------------------
Thu Feb 17 13:47:00 CET 2005 - nadvornik@suse.cz
- do not strip binaries
-------------------------------------------------------------------
Tue Feb 15 16:57:08 CET 2005 - nadvornik@suse.cz
- use the correct exec in desktop file
-------------------------------------------------------------------
Thu Feb 10 13:46:54 CET 2005 - adrian@suse.de
- add session desktop file
-------------------------------------------------------------------
Sat Feb 5 20:52:55 CET 2005 - meissner@suse.de
- fixed missing getenv prototype, added format attributes
and fixes found by the attributes.
-------------------------------------------------------------------
Wed Jan 26 18:14:50 CET 2005 - nadvornik@suse.cz
- fixed 64bit bug [#50203]
-------------------------------------------------------------------
Mon Jan 17 12:46:25 CET 2005 - ro@suse.de
- added c++ to neededforbuild (for libtiff)
-------------------------------------------------------------------
Wed Jan 05 14:35:39 CET 2005 - nadvornik@suse.cz
- updated to 0.91.0:
* NetWM support
* UTF-8 support included upstream
* antialiased text support included upstream
-------------------------------------------------------------------
Fri Oct 22 18:42:05 CEST 2004 - nadvornik@suse.cz
- do not install locale files with codeset [#47262]
-------------------------------------------------------------------
Thu Oct 21 00:43:41 CEST 2004 - ro@suse.de
- locale rename: no -> nb
-------------------------------------------------------------------
Sat Oct 2 19:44:39 CEST 2004 - wimer@suse.de
- adding new bgs for 9.2
-------------------------------------------------------------------
Thu Apr 29 11:50:07 CEST 2004 - nadvornik@suse.cz
- fixed high CPU load on omnipresent windows [#38570]
-------------------------------------------------------------------
Mon Apr 19 15:21:43 CEST 2004 - nadvornik@suse.cz
- fixed missing return values
-------------------------------------------------------------------
Mon Apr 05 15:13:24 CEST 2004 - nadvornik@suse.cz
- updated SUSE theme [#30775]
-------------------------------------------------------------------
Tue Mar 30 11:25:35 CEST 2004 - nadvornik@suse.cz
- more fixed widget sizes in WPrefs [#35915]
-------------------------------------------------------------------
Thu Mar 18 15:56:33 CET 2004 - nadvornik@suse.cz
- better handling of utf8 charset
- fixed widget sizes in WPrefs (some localized texts did not fit in) [#35915]
-------------------------------------------------------------------
Thu Mar 11 15:12:56 CET 2004 - nadvornik@suse.cz
- better handle invalid multibyte characters [#35247]
- added README.SuSE describing the problem
-------------------------------------------------------------------
Tue Feb 03 12:22:03 CET 2004 - nadvornik@suse.cz
- fixed temp file handling [#34078]
- run xdg_menu on startup to cache output
- compile with -fno-strict-aliasing
-------------------------------------------------------------------
Sat Jan 10 12:55:39 CET 2004 - adrian@suse.de
- add %run_ldconfig
-------------------------------------------------------------------
Tue Sep 23 15:30:57 CEST 2003 - nadvornik@suse.cz
- fixed changing background color with wmsetbg [#31567]
-------------------------------------------------------------------
Mon Sep 22 11:04:42 CEST 2003 - nadvornik@suse.cz
- update old SUSE theme on startup, because images from the old
theme are no longer present
-------------------------------------------------------------------
Fri Sep 19 17:17:27 CEST 2003 - nadvornik@suse.cz
- new SuSE theme [#30775]
-------------------------------------------------------------------
Fri Sep 12 16:27:54 CEST 2003 - nadvornik@suse.cz
- fixed updating WMRootMenu on startup [#29508]
-------------------------------------------------------------------
Wed Sep 03 16:40:49 CEST 2003 - nadvornik@suse.cz
- fixed workspace cycling problem [#29720]
- fixed broken exit dialog in de_DE locale [#29728]
-------------------------------------------------------------------
Mon Sep 01 12:26:34 CEST 2003 - nadvornik@suse.cz
- fix SuSE menu location in WMRootMenu on startup
-------------------------------------------------------------------
Wed Aug 27 14:34:45 CEST 2003 - nadvornik@suse.cz
- fixed focus bug [#29004]
- suse menu is cached
-------------------------------------------------------------------
Tue Aug 26 00:52:00 CEST 2003 - ro@suse.de
- make sure iconv_menu_files is executable
-------------------------------------------------------------------
Mon Aug 25 16:48:03 CEST 2003 - nadvornik@suse.cz
- added fix for focus flickering [#27175]
- moved config files to /etc/X11
- use xdg-menu for SuSE menu
-------------------------------------------------------------------
Mon May 26 16:39:52 CEST 2003 - ro@suse.de
- add pkgconfig files to devel subpackage
- remove not-packaged sk man-pages from buildroot
-------------------------------------------------------------------
Tue May 6 21:18:13 CEST 2003 - mfabian@suse.de
- another improvment to wsetfont by Gerd Knorr <kraxel@suse.de>:
make the font size easily configurable when using Xft by
adding a "--size" option to wsetfont.
-------------------------------------------------------------------
Tue May 6 20:41:18 CEST 2003 - mfabian@suse.de
- update to current CVS (0.80.2.20030506)
- improve wsetfont to set AntialiasedText=YES/NO depending on
whether the font setup is for Xft or X11 core fonts (and remove
useless "WINGsConfiguration.antialiasedText = True;" from
WindowMaker-useMultiByte-useXft.patch).
- set size for "LargDisplayFont" to 24 pixel in wsetfont when
using Xft.
- add configure test to distinguish between Xft1 and Xft2
and remove check for RENDER extension only when Xft2 is
available.
-------------------------------------------------------------------
Mon May 5 14:00:05 CEST 2003 - mfabian@suse.de
- WindowMaker-wsetfont.patch: use "-*-" instead of "-xftdummy-"
in the foundry because the latest version of fontconfig now
actually uses the foundry and inserting an dummy value doesn't
work anymore.
- remove "fontconfig fontconfig-devel" from neededforbuild again
and replace xf86 by x-devel-packages
-------------------------------------------------------------------
Mon Apr 28 15:17:25 CEST 2003 - mfabian@suse.de
- update to current CVS (0.80.2.20030428)
- improved wsetfont now included upstream
- add "fontconfig fontconfig-devel" to neededforbuild,
add config-dist.sh to remove this when building for SuSE 8.2.
- add option "--no-fonts" to setstyle when installing the
SuSE-theme in /usr/X11R6/bin/windowmaker to avoid overwriting
the font done by wsetfont.
-------------------------------------------------------------------
Wed Apr 23 17:05:28 CEST 2003 - mfabian@suse.de
- update to current CVS (0.80.2.20030423)
- improve "wsetfont" to make it work on FreeBSD as well
- remove: WindowMaker-nls.patch,
WindowMaker-plmenu.zh_TW.Big5.patch (included upstream)
- remove Vladimir's WindowMaker-LocMenu.patch, a similar fix
is now included upstream
-------------------------------------------------------------------
Thu Apr 17 17:52:00 CEST 2003 - mfabian@suse.de
- disable use of assembler mmx stuff because it makes WindowMaker
crash immediately. This assembler code was recently introduced
in CVS, but apparently it doesn't work yet.
-------------------------------------------------------------------
Wed Apr 16 19:44:47 CEST 2003 - mfabian@suse.de
- update to current CVS (0.80.2.20030415) and adapt patches
- add "freetype2 freetype2-devel expat" to neededforbuild to enable
Xft.
- WindowMaker-useMultiByte-useXft.patch: enable Xft always
even when there is no RENDER extension, improve fallback font
settings, call "wsetfont --sans" in wmaker.inst to get reasonable
default font settings for Xft.
- WindowMaker-wsetfont.patch: extend to support useful font
settings for Xft. Also include Support for CP1251
(Bulgarian and Belarussian) and ISO 8859-5 (Macedonian,
Cyrillic Serbian) by Anton Zinoviev <zinoviev@debian.org>
-------------------------------------------------------------------
Wed Mar 12 17:23:41 CET 2003 - nadvornik@suse.cz
- fixed bug in opening localized menu [#25144]
-------------------------------------------------------------------
Mon Mar 03 12:50:21 CET 2003 - nadvornik@suse.cz
- use GNUSTEP_USER_ROOT in windowmaker script [#24418]
-------------------------------------------------------------------
Fri Dec 20 17:35:28 CET 2002 - mfabian@suse.de
- update to 0.80.2
- remove WindowMaker-overflow.patch (included upstream)
- remove obsolete configure option --enable-kanji
- add WindowMaker-fontmatching.patch to improve fontset guessing
- improve wsetfont:
add fontsets: latin9, turkish, efontuni, gnuuni, generic
add LargeDisplayFont to the lists of fontsets changed by wsetfont
improve behaviour of '--auto and --locale' switch by using
'locale charmap' to find out which fontset is suitable.
- add iconv_menu_files script to generate UTF-8 encoded menu files
- fix syntax error in plmenu.zh_TW.Big5
- patch plmenu.ja the same way the other plmenu.* files
are patched
-------------------------------------------------------------------
Tue Nov 12 15:49:51 CET 2002 - nadvornik@suse.cz
- fixed overflow in RCreateImage()
-------------------------------------------------------------------
Tue Jul 2 17:36:09 CEST 2002 - nadvornik@suse.cz
- updated to 0.80.1: bugfix release
-------------------------------------------------------------------
Wed Apr 24 15:17:11 CEST 2002 - nadvornik@suse.cz
- used macro %{_lib}
-------------------------------------------------------------------
Fri Feb 22 15:52:47 CET 2002 - nadvornik@suse.cz
- fixed file permissions
-------------------------------------------------------------------
Fri Feb 22 09:47:36 CET 2002 - nadvornik@suse.cz
- replaced /home/mawa with $HOME in german menu
-------------------------------------------------------------------
Thu Feb 21 23:40:10 CET 2002 - adrian@suse.de
- add SuSE default theme by Ken
- change behaviour of LMB on background (menu instead of selection)
-------------------------------------------------------------------
Mon Feb 18 14:10:33 CET 2002 - nadvornik@suse.cz
- added bugfixes from CVS:
- fixed crash when setting "Emulate AppIcon" [bug #13380]
- fixed problem with saving session when shared appicon is enabled
- fixed focus related problems
- fixes for multihead systems
-------------------------------------------------------------------
Thu Feb 14 17:11:06 CET 2002 - nadvornik@suse.cz
- set MultiByteText to yes in WMGLOBAL
-------------------------------------------------------------------
Fri Feb 1 00:26:10 CET 2002 - ro@suse.de
- changed neededforbuild <libpng> to <libpng-devel-packages>
-------------------------------------------------------------------
Tue Jan 8 09:54:56 CET 2002 - nadvornik@suse.cz
- updated to 0.80.0
- shared appicons between applications of the same class
- Dock/Clip can steal appicons of applications started by other
means (main menu, terminal) and attach them
- many bugs fixed
-------------------------------------------------------------------
Fri Nov 16 15:28:40 CET 2001 - nadvornik@suse.cz
- set MultiByteText to yes by default
-------------------------------------------------------------------
Mon Oct 8 16:50:54 CEST 2001 - nadvornik@suse.cz
- updated to 0.70.0
libPropList is no longer required
many bugs fixed
-------------------------------------------------------------------
Sun Sep 16 18:04:52 CEST 2001 - mfabian@suse.de
- fix wsetfont script for Japanese and Korean
-------------------------------------------------------------------
Thu Jul 26 14:28:37 CEST 2001 - nadvornik@suse.cz
- update to 0.65.1
-------------------------------------------------------------------
Wed Jun 6 11:35:22 CEST 2001 - nadvornik@suse.cz
- updated to 0.65.0
- compiled with hermes
-------------------------------------------------------------------
Thu Apr 26 15:39:24 CEST 2001 - nadvornik@suse.cz
- fixed problems with saving icons
-------------------------------------------------------------------
Tue Apr 24 08:39:24 CEST 2001 - nadvornik@suse.cz
- fixed segfault in WPrefs
-------------------------------------------------------------------
Thu Apr 19 14:29:16 CEST 2001 - nadvornik@suse.cz
- fixes for ia64
-------------------------------------------------------------------
Fri Apr 6 09:02:06 CEST 2001 - nadvornik@suse.cz
- better integration of menus generated by susewm
-------------------------------------------------------------------
Thu Mar 29 15:48:14 CEST 2001 - nadvornik@suse.cz
- fixed bug in keyboard handling
- used RPM_OPT_FLAGS
-------------------------------------------------------------------
Tue Mar 13 11:02:17 CET 2001 - nadvornik@suse.cz
- created devel subpackage
-------------------------------------------------------------------
Mon Feb 26 10:44:54 CET 2001 - nadvornik@suse.cz
- update to 0.64.0
-------------------------------------------------------------------
Fri Jan 26 09:23:58 CET 2001 - nadvornik@suse.cz
- update to 0.63.1
-------------------------------------------------------------------
Fri Dec 15 12:57:38 CET 2000 - nadvornik@suse.cz
- added paths for package icons
-------------------------------------------------------------------
Thu Nov 23 16:51:08 CET 2000 - nadvornik@suse.cz
- added Provides: wmaker windowmanager
- removed Requires: wterm
-------------------------------------------------------------------
Wed Nov 15 12:35:48 CET 2000 - ro@suse.de
- fixed neededforbuild for libPropList
-------------------------------------------------------------------
Wed Nov 1 01:21:05 MET 2000 - egger@suse.de
- Updated specfile to new long packagenames.
- Reworked specfile.
- Probably needs some more work; I'm taking care of that.
-------------------------------------------------------------------
Tue Oct 10 14:51:56 CEST 2000 - nadvornik@suse.cz
- fixed list of doc files
-------------------------------------------------------------------
Mon Oct 2 09:19:06 CEST 2000 - nadvornik@suse.cz
- fixed start script
- used bzip2
-------------------------------------------------------------------
Mon Aug 14 09:52:03 CEST 2000 - nadvornik@suse.cz
- fixed bug in shutdown.c
-------------------------------------------------------------------
Fri Aug 11 09:44:01 CEST 2000 - nadvornik@suse.cz
- fixed bug in menu.c
-------------------------------------------------------------------
Thu Jul 27 09:11:18 CEST 2000 - nadvornik@suse.cz
- "EXEC SAVE_WORKSPACE" replaced with "SAVE_SESSION" in menu
(bug #3640)
-------------------------------------------------------------------
Tue May 9 11:16:12 CEST 2000 - nadvornik@suse.cz
- update to 0.62.1
-------------------------------------------------------------------
Wed May 3 11:11:06 CEST 2000 - nadvornik@suse.cz
- build with i18n support
-------------------------------------------------------------------
Fri Apr 21 08:49:22 MEST 2000 - nadvornik@suse.cz
- added BuildRoot
-------------------------------------------------------------------
Mon Apr 10 23:08:09 CEST 2000 - bk@suse.de
- added suse update config macro
-------------------------------------------------------------------
Wed Mar 1 15:29:02 MET 2000 - choeger@suse.de
- added mandir
-------------------------------------------------------------------
Tue Feb 29 10:19:57 MET 2000 - choeger@suse.de
- added wterm to requires
-------------------------------------------------------------------
Mon Oct 25 23:47:18 CEST 1999 - ro@suse.de
- switched to libungif
-------------------------------------------------------------------
Tue Oct 19 10:48:38 CEST 1999 - choeger@suse.de
- new version, 0.61.1
-------------------------------------------------------------------
Tue Sep 28 11:22:40 CEST 1999 - choeger@suse.de
- added KDE-Support
-------------------------------------------------------------------
Thu Sep 23 12:46:30 CEST 1999 - choeger@suse.de
- new version
-------------------------------------------------------------------
Mon Sep 20 17:46:45 CEST 1999 - ro@suse.de
- added provides windowmanager
-------------------------------------------------------------------
Tue Sep 14 23:03:17 CEST 1999 - ro@suse.de
- finally removed libproplist-files from filelist
-------------------------------------------------------------------
Mon Sep 13 17:23:57 CEST 1999 - bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.
-------------------------------------------------------------------
Thu Aug 19 09:52:04 CEST 1999 - choeger@suse.de
- removed proplist from source archives and
using the already present version of SuSE Dist.
-------------------------------------------------------------------
Fri Jul 16 16:33:13 MEST 1999 - choeger@suse.de
- add script windowmaker
- changed wmaker.inst not to touch .xinitrc
-------------------------------------------------------------------
Tue Jul 6 15:25:04 MEST 1999 - choeger@suse.de
- added GNOME-Support (--enable-gnome)
-------------------------------------------------------------------
Wed Apr 28 18:55:00 MEST 1999 - choeger@suse.de
- new version 0.53.0
-------------------------------------------------------------------
Tue Mar 23 18:53:06 MET 1999 - choeger@suse.de
- bugfix for spec-file (make clean in the Default-Config-Dir)
-------------------------------------------------------------------
Thu Mar 11 10:05:14 MET 1999 - choeger@suse.de
- new version 0.51.1
-------------------------------------------------------------------
Tue Jan 19 13:31:27 MET 1999 - choeger@suse.de
- actual version 0.50.2
-------------------------------------------------------------------
Mon Dec 21 10:03:07 MET 1998 - choeger@suse.de
- actual version 0.20.3
-------------------------------------------------------------------
Thu Jul 9 16:43:24 MEST 1998 - ro@suse.de
- removed doc/libproplist/COPYING.LIB (simply doesn't exist)
----------------------------------------------------------------------
Wed Jul 1 17:44:36 MEST 1998 - maddin@suse.de
- first S.u.S.E. version 0.15.1
- changed configure so it works right for libPropList
- moved documentation
- /usr/X11R6/lib/X11/WindowMaker used as wm's home
- made wrapper script for wmaker, called windowmaker so user's
files are updated correctly

65
WindowMaker.desktop Normal file
View File

@ -0,0 +1,65 @@
[Desktop Entry]
Encoding=UTF-8
Type=XSession
Exec=windowmaker
TryExec=windowmaker
Name=WindowMaker
Name[bn]=-
Name[cy]=GwneuthuryddFfenestri (WindowMaker)
Name[eo]=Fenestroadministrilo
Name[hi]=ि
Name[pa]=-ਿ
Name[sv]=Windowmaker
Name[ta]=ி
Name[tg]=Созандаи тиреза
Name[xx]=xxWindowMakerxx
Comment=A simple window manager that resembles the NeXTStep look very closely
Comment[ar]=مدير نوافذ بسيط يمثّل مظهر NeXTStep بشكل قريب جداً
Comment[bn]=ি NeXTStep-
Comment[bs]=Jednostavan window manager koji vrlo dosljedno imitira NeXTStep izgled
Comment[ca]=Un gestor de finestres simple que s'assembla molt a l'aspecte de NeXTStep
Comment[cy]=Trefnydd ffenestri syml sy'n debyg iawn i'r golwg CamNesaf
Comment[da]=En simpel vindueshåndtering der ligner NeXTStep's udseende meget
Comment[de]=Einfacher Fenstermanager mit starker Ähnlichkeit zu NeXTStep
Comment[el]=Ένας απλός διαχειριστής παραθύρων που προσομοιώνει πολύ καλά το στυλ του NeXTStep
Comment[eo]=Simpla fenestroadministrilo
Comment[es]=Un administrador de ventanas sencillo cuyo aspecto se parece mucho al de NeXTStep
Comment[et]=Lihtne aknahaldur, mis meenutab väga tugevasti NeXTStepi
Comment[eu]=Leiho kudeatzaile sinplea, NeXTStep-en antz handia duena
Comment[fi]=Yksinkertainen ikkunaohjelma, joka muistuttaa erittäin paljon NeXTStepiltä
Comment[fr]=Un gestionnaire de fenêtres simple qui ressemble assez précisement à NeXTStep
Comment[fy]=In Ienfâldige finstersmanager dy it úterlik fan NeXTStep saer tichtby benaderd
Comment[gl]=Un xestor de fiestras sinxelo que se achega moito á apariencia de NeXTStep
Comment[he]=מנהל חלונות פשוט הדומה מאוד במראה שלו ל־NeXTStep
Comment[hi]= ि ि
Comment[hr]=Jednostavan upravitelj prozora koji odražava vrlo blisko izgled NeXTStepa
Comment[hu]=Egy egyszerű ablakkezelő, megjelenése nagyon hasonlít a NeXTStephez
Comment[is]=Einfaldur gluggastjóri sem líkir vel eftir NeXTStep umhverfinu
Comment[it]=Un semplice window manager che assomiglia molto a NeXTStep.
Comment[ja]=NextStep
Comment[lt]=Paprasta langų tvarkyklė, išvaizda labai primenanti NeXTStep
Comment[mk]=Едноставен менаџер на прозорци кој е многу сличен на изгледот на NeXTStep
Comment[mt]=Window manager li jixbaħ ħafna lil NextStep
Comment[nb]=En enkel vindusbehandler som er svært lik NeXTStep i utseende
Comment[nds]=En eenfache Finsterpleger de meist utsüht as NeXTStep
Comment[nl]=Een eenvoudige windowmanager die het uiterlijk van NeXTStep zeer dicht benaderd
Comment[nn]=Ein enkel vindaugssjef som liknar mykje på NeXTStep
Comment[pa]= ਿ NeXTStep
Comment[pl]=Prosty menedżer okien przypominający bardzo wyglądem NeXTStep
Comment[pt]=Um gestor de janelas simples que faz lembrar bastante o visual do NeXTStep
Comment[pt_BR]=Um gerenciador de janelas simples, que lembra a aparência do NeXTStep
Comment[ro]=Un manager de ferestre simplu, care aminteşte foarte bine de aspectul NeXTStep
Comment[ru]=Простой оконный менеджер, воспроизводящий интерфейс NeXTStep
Comment[sk]=Jednoduchý správca okien, ktorý veľmi pripojíma NeXTStep
Comment[sl]=Preprost okenski upravitelj, ki zelo spominja na izgled NeXTStep
Comment[sr]=Једноставан менаџер прозора који одражава врло блиско изглед NeXTStep-а
Comment[sr@Latn]=Jednostavan menadžer prozora koji odražava vrlo blisko izgled NeXTStep-a
Comment[sv]=Enkel fönsterhanterare som mycket nära efterliknar Nextstep-utseendet
Comment[ta]=NeXTStep ி .
Comment[tr]=NeXTStep'e aşırı benzeyen basit bir masaüstü yöneticisi
Comment[uk]=Простий менеджер вікон, що дуже нагадує NeXTStep
Comment[uz]=NeXTStep'га жуда ўхшаш оддий ойна бошқарувчи
Comment[vi]=Trình qun lý ca s ging vi NeXTStep
Comment[xx]=xxA simple window manager that resembles the NeXTStep look very closelyxx
Comment[zh_CN]= NeXTStep
Comment[zh_TW]= NeXTStep

503
WindowMaker.spec Normal file
View File

@ -0,0 +1,503 @@
#
# spec file for package WindowMaker (Version 0.92.0)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: WindowMaker
BuildRequires: freetype2-devel gcc-c++ giflib-devel hermes-devel libpng-devel libtiff-devel update-desktop-files xorg-x11-devel
License: Other License(s), see package, GNU General Public License (GPL) - all versions
Group: System/GUI/Other
URL: http://www.windowmaker.info/
Obsoletes: wmaker
Provides: wmaker windowmanager
Requires: xdg-menu
Autoreqprov: on
Summary: A Colorful and Flexible Window Manager
Version: 0.92.0
Release: 37
Source: WindowMaker-%{version}.tar.bz2
Source1: WindowMaker-extra-0.1.tar.bz2
Source2: SuSE-theme.tar.bz2
Source4: README.SuSE
Source5: %name.desktop
Source6: windowmaker
Patch1: WindowMaker-config.dif
Patch2: WindowMaker-menu.patch
Patch22: WindowMaker-warnings.patch
Patch24: WindowMaker-nb-locale.patch
Patch25: WindowMaker-wmspec.c.patch
Patch26: WindowMaker-null.patch
Patch27: WindowMaker-de_translation.patch
Patch28: WindowMaker-wmspec.c-icon.patch
Patch29: WindowMaker-asm.patch
Patch30: WindowMaker-fullscreen.patch
Patch31: WindowMaker-MAX_WORKSPACENAME_WIDTH.patch
Patch32: WindowMaker-0.92.0-printf.diff
Patch33: WindowMaker-refcount.patch
Patch34: WindowMaker-crash.patch
Patch35: WindowMaker-fonts.patch
Patch36: WindowMaker-exec.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%package devel
Requires: WindowMaker libtiff-devel libjpeg-devel xorg-x11-devel libpng-devel zlib-devel giflib-devel
Summary: Includes and static libraries for Window Maker
Group: Development/Libraries/X11
%description
Window Maker is a colorful and flexible window manager and the
designated successor of AfterStep.
The themes make it very interesting. For more details, check
http://www.windowmaker.org.
Authors:
--------
Alfredo K. Kojima <kojima@windowmaker.org>
%description devel
Includes and static libraries for Window Maker
Authors:
--------
Alfredo K. Kojima <kojima@windowmaker.org>
%prep
%setup -q -n WindowMaker-%{version} -a 1
mkdir menu.orig
cp WindowMaker/{menu.*,plmenu.*} menu.orig
%patch1
%patch2
%patch22
%patch24
%patch25
%patch26 -p1
%patch27
%patch28
%patch29
%patch30
%patch31
%patch32
%patch33 -p1
%patch34
%patch35
%patch36
cp %{S:4} .
cp %{S:6} .
rename no nb po/no.*
(cd WindowMaker; rm -f *.orig; ./mkMakefile )
# ---------------------------------------------------------------------------
%build
autoreconf --force --install
export LINGUAS="be bg ca cs da de el es et fi fr gl hr hu it ja ko ms nl nb pl pt ro ru sk sv tr zh_CN zh_TW"
export CFLAGS="$RPM_OPT_FLAGS $(freetype-config --cflags)"
./configure --prefix=/usr \
--exec-prefix=/usr \
--sysconfdir=/etc/X11 \
--mandir=%{_mandir} \
--enable-sound \
--enable-gnome \
--enable-kde \
--enable-xinerama \
--with-nlsdir=/usr/share/locale \
--with-pixmapdir=/usr/share/WindowMaker/Pixmaps \
--libdir=%{_libdir} \
--with-gnustepdir=/usr/lib/GNUstep
(cd WindowMaker/Defaults; make clean; make)
make
(cd WindowMaker-extra-0.1
./configure --prefix=/usr \
--exec-prefix=/usr \
--with-pixmapdir=/usr/share/WindowMaker/Pixmaps \
--libdir=%{_libdir}
make
)
# ---------------------------------------------------------------------------
%install
make DESTDIR=$RPM_BUILD_ROOT install
install -m 755 dockit $RPM_BUILD_ROOT/usr/bin/dockit
install -m 755 windowmaker $RPM_BUILD_ROOT/usr/bin/windowmaker
cd WindowMaker-extra-0.1
make DESTDIR=$RPM_BUILD_ROOT install
tar xfvj %SOURCE2 -C $RPM_BUILD_ROOT/usr/share/WindowMaker/Themes/
find $RPM_BUILD_ROOT/usr/share/WindowMaker/Themes -type f -exec chmod 644 {} \;
find $RPM_BUILD_ROOT/usr/share/WindowMaker/Themes -type d -exec chmod 755 {} \;
#----------------------------------------------------------------------
# not packaged
rm -f $RPM_BUILD_ROOT/%{_mandir}/sk/man1/*
# install kdm/gdm entry
install -m 0755 -d $RPM_BUILD_ROOT/usr/share/xsessions/
install -m 0644 %SOURCE5 $RPM_BUILD_ROOT/usr/share/xsessions/
%suse_update_desktop_file $RPM_BUILD_ROOT/usr/share/xsessions/%name.desktop
%clean
rm -rf "$RPM_BUILD_ROOT"
%post
%run_ldconfig
%postun
%run_ldconfig
%files
%defattr(-,root,root)
%dir /etc/X11/WindowMaker
%config /etc/X11/WindowMaker/*
/usr/lib/GNUstep
/usr/bin/*
/usr/%{_lib}/*.so.*
%doc %{_mandir}/man1/*
/usr/share/WINGs
/usr/share/WindowMaker
/usr/share/locale/*/*/*
/usr/share/xsessions
%doc AUTHORS BUGFORM BUGS COPYING COPYING.WTFPL ChangeLog FAQ FAQ.I18N
%doc MIRRORS NEWS README TODO README.SuSE
%doc menu.orig
#/usr/X11R6/share/WindowMaker
#/usr/X11R6/GNUstep
%files devel
%defattr(-,root,root)
/usr/%{_lib}/pkgconfig/*.pc
/usr/include/*
/usr/%{_lib}/*.a
/usr/%{_lib}/*.so
/usr/%{_lib}/*.la
%changelog -n WindowMaker
* Mon Oct 23 2006 - nadvornik@suse.cz
- reverted previous change [#213889]
- added an offer to update the config files to start script
- documented the possibility of compatibility symlinks
in README.SuSE
* Mon Oct 16 2006 - lnussel@suse.de
- add compatibility symlinks /usr/X11R6/GNUstep and
/usr/X11R6/share/WindowMaker as those directories are still
referenced in old config files
* Thu Aug 17 2006 - nadvornik@suse.cz
- changed prefix /usr/X11R6 -> /usr
* Tue Mar 14 2006 - nadvornik@suse.cz
- fixed the previous change
* Thu Mar 09 2006 - anicka@suse.cz
- close file descriptors before exec [#155502]
* Wed Mar 08 2006 - anicka@suse.cz
- change default fonts to work with all languages [#154758]
* Tue Jan 31 2006 - nadvornik@suse.cz
- fixed invalid usage of snprintf [#117663]
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Nov 28 2005 - nadvornik@suse.cz
- fixed color reference counting [#119439]
* Fri Oct 14 2005 - nadvornik@suse.cz
- fixed another missing return value warning
* Fri Oct 07 2005 - mmj@suse.de
- fix wrong printf calls
* Mon Sep 12 2005 - nadvornik@suse.cz
- increased MAX_WORKSPACENAME_WIDTH because ru.po
contains longer strings [#116475]
* Fri Jul 22 2005 - nadvornik@suse.cz
- fixed fullscreen in OpenOffice.org presentations [#74375]
- fixed char comparison [#95091]
* Thu Jul 14 2005 - nadvornik@suse.cz
- updated to 0.92.0:
* added support for X Input Methods
* improved hiding/unhiding animations to be quicker and do
less icon shuffling
* Thu May 12 2005 - nadvornik@suse.cz
- fixed bug in WINGs that caused wmaker crash [#82768]
* Wed Apr 06 2005 - nadvornik@suse.cz
- fixed to compile with gcc4
- added gettext-devel to neededforbuild
* Tue Mar 22 2005 - nadvornik@suse.cz
- fixed crash with KDE applications on 64bit archs [#74246]
- fixed german translation [#74254]
* Thu Feb 17 2005 - nadvornik@suse.cz
- do not strip binaries
* Tue Feb 15 2005 - nadvornik@suse.cz
- use the correct exec in desktop file
* Thu Feb 10 2005 - adrian@suse.de
- add session desktop file
* Sat Feb 05 2005 - meissner@suse.de
- fixed missing getenv prototype, added format attributes
and fixes found by the attributes.
* Wed Jan 26 2005 - nadvornik@suse.cz
- fixed 64bit bug [#50203]
* Mon Jan 17 2005 - ro@suse.de
- added c++ to neededforbuild (for libtiff)
* Wed Jan 05 2005 - nadvornik@suse.cz
- updated to 0.91.0:
* NetWM support
* UTF-8 support included upstream
* antialiased text support included upstream
* Fri Oct 22 2004 - nadvornik@suse.cz
- do not install locale files with codeset [#47262]
* Thu Oct 21 2004 - ro@suse.de
- locale rename: no -> nb
* Sat Oct 02 2004 - wimer@suse.de
- adding new bgs for 9.2
* Thu Apr 29 2004 - nadvornik@suse.cz
- fixed high CPU load on omnipresent windows [#38570]
* Mon Apr 19 2004 - nadvornik@suse.cz
- fixed missing return values
* Mon Apr 05 2004 - nadvornik@suse.cz
- updated SUSE theme [#30775]
* Tue Mar 30 2004 - nadvornik@suse.cz
- more fixed widget sizes in WPrefs [#35915]
* Thu Mar 18 2004 - nadvornik@suse.cz
- better handling of utf8 charset
- fixed widget sizes in WPrefs (some localized texts did not fit in) [#35915]
* Thu Mar 11 2004 - nadvornik@suse.cz
- better handle invalid multibyte characters [#35247]
- added README.SuSE describing the problem
* Tue Feb 03 2004 - nadvornik@suse.cz
- fixed temp file handling [#34078]
- run xdg_menu on startup to cache output
- compile with -fno-strict-aliasing
* Sat Jan 10 2004 - adrian@suse.de
- add %%run_ldconfig
* Tue Sep 23 2003 - nadvornik@suse.cz
- fixed changing background color with wmsetbg [#31567]
* Mon Sep 22 2003 - nadvornik@suse.cz
- update old SUSE theme on startup, because images from the old
theme are no longer present
* Fri Sep 19 2003 - nadvornik@suse.cz
- new SuSE theme [#30775]
* Fri Sep 12 2003 - nadvornik@suse.cz
- fixed updating WMRootMenu on startup [#29508]
* Wed Sep 03 2003 - nadvornik@suse.cz
- fixed workspace cycling problem [#29720]
- fixed broken exit dialog in de_DE locale [#29728]
* Mon Sep 01 2003 - nadvornik@suse.cz
- fix SuSE menu location in WMRootMenu on startup
* Wed Aug 27 2003 - nadvornik@suse.cz
- fixed focus bug [#29004]
- suse menu is cached
* Tue Aug 26 2003 - ro@suse.de
- make sure iconv_menu_files is executable
* Mon Aug 25 2003 - nadvornik@suse.cz
- added fix for focus flickering [#27175]
- moved config files to /etc/X11
- use xdg-menu for SuSE menu
* Mon May 26 2003 - ro@suse.de
- add pkgconfig files to devel subpackage
- remove not-packaged sk man-pages from buildroot
* Tue May 06 2003 - mfabian@suse.de
- another improvment to wsetfont by Gerd Knorr <kraxel@suse.de>:
make the font size easily configurable when using Xft by
adding a "--size" option to wsetfont.
* Tue May 06 2003 - mfabian@suse.de
- update to current CVS (0.80.2.20030506)
- improve wsetfont to set AntialiasedText=YES/NO depending on
whether the font setup is for Xft or X11 core fonts (and remove
useless "WINGsConfiguration.antialiasedText = True;" from
WindowMaker-useMultiByte-useXft.patch).
- set size for "LargDisplayFont" to 24 pixel in wsetfont when
using Xft.
- add configure test to distinguish between Xft1 and Xft2
and remove check for RENDER extension only when Xft2 is
available.
* Mon May 05 2003 - mfabian@suse.de
- WindowMaker-wsetfont.patch: use "-*-" instead of "-xftdummy-"
in the foundry because the latest version of fontconfig now
actually uses the foundry and inserting an dummy value doesn't
work anymore.
- remove "fontconfig fontconfig-devel" from neededforbuild again
and replace xf86 by x-devel-packages
* Mon Apr 28 2003 - mfabian@suse.de
- update to current CVS (0.80.2.20030428)
- improved wsetfont now included upstream
- add "fontconfig fontconfig-devel" to neededforbuild,
add config-dist.sh to remove this when building for SuSE 8.2.
- add option "--no-fonts" to setstyle when installing the
SuSE-theme in /usr/X11R6/bin/windowmaker to avoid overwriting
the font done by wsetfont.
* Wed Apr 23 2003 - mfabian@suse.de
- update to current CVS (0.80.2.20030423)
- improve "wsetfont" to make it work on FreeBSD as well
- remove: WindowMaker-nls.patch,
WindowMaker-plmenu.zh_TW.Big5.patch (included upstream)
- remove Vladimir's WindowMaker-LocMenu.patch, a similar fix
is now included upstream
* Thu Apr 17 2003 - mfabian@suse.de
- disable use of assembler mmx stuff because it makes WindowMaker
crash immediately. This assembler code was recently introduced
in CVS, but apparently it doesn't work yet.
* Wed Apr 16 2003 - mfabian@suse.de
- update to current CVS (0.80.2.20030415) and adapt patches
- add "freetype2 freetype2-devel expat" to neededforbuild to enable
Xft.
- WindowMaker-useMultiByte-useXft.patch: enable Xft always
even when there is no RENDER extension, improve fallback font
settings, call "wsetfont --sans" in wmaker.inst to get reasonable
default font settings for Xft.
- WindowMaker-wsetfont.patch: extend to support useful font
settings for Xft. Also include Support for CP1251
(Bulgarian and Belarussian) and ISO 8859-5 (Macedonian,
Cyrillic Serbian) by Anton Zinoviev <zinoviev@debian.org>
* Wed Mar 12 2003 - nadvornik@suse.cz
- fixed bug in opening localized menu [#25144]
* Mon Mar 03 2003 - nadvornik@suse.cz
- use GNUSTEP_USER_ROOT in windowmaker script [#24418]
* Fri Dec 20 2002 - mfabian@suse.de
- update to 0.80.2
- remove WindowMaker-overflow.patch (included upstream)
- remove obsolete configure option --enable-kanji
- add WindowMaker-fontmatching.patch to improve fontset guessing
- improve wsetfont:
add fontsets: latin9, turkish, efontuni, gnuuni, generic
add LargeDisplayFont to the lists of fontsets changed by wsetfont
improve behaviour of '--auto and --locale' switch by using
'locale charmap' to find out which fontset is suitable.
- add iconv_menu_files script to generate UTF-8 encoded menu files
- fix syntax error in plmenu.zh_TW.Big5
- patch plmenu.ja the same way the other plmenu.* files
are patched
* Tue Nov 12 2002 - nadvornik@suse.cz
- fixed overflow in RCreateImage()
* Tue Jul 02 2002 - nadvornik@suse.cz
- updated to 0.80.1: bugfix release
* Wed Apr 24 2002 - nadvornik@suse.cz
- used macro %%{_lib}
* Fri Feb 22 2002 - nadvornik@suse.cz
- fixed file permissions
* Fri Feb 22 2002 - nadvornik@suse.cz
- replaced /home/mawa with $HOME in german menu
* Thu Feb 21 2002 - adrian@suse.de
- add SuSE default theme by Ken
- change behaviour of LMB on background (menu instead of selection)
* Mon Feb 18 2002 - nadvornik@suse.cz
- added bugfixes from CVS:
- fixed crash when setting "Emulate AppIcon" [bug #13380]
- fixed problem with saving session when shared appicon is enabled
- fixed focus related problems
- fixes for multihead systems
* Thu Feb 14 2002 - nadvornik@suse.cz
- set MultiByteText to yes in WMGLOBAL
* Fri Feb 01 2002 - ro@suse.de
- changed neededforbuild <libpng> to <libpng-devel-packages>
* Tue Jan 08 2002 - nadvornik@suse.cz
- updated to 0.80.0
- shared appicons between applications of the same class
- Dock/Clip can steal appicons of applications started by other
means (main menu, terminal) and attach them
- many bugs fixed
* Fri Nov 16 2001 - nadvornik@suse.cz
- set MultiByteText to yes by default
* Mon Oct 08 2001 - nadvornik@suse.cz
- updated to 0.70.0
libPropList is no longer required
many bugs fixed
* Sun Sep 16 2001 - mfabian@suse.de
- fix wsetfont script for Japanese and Korean
* Thu Jul 26 2001 - nadvornik@suse.cz
- update to 0.65.1
* Wed Jun 06 2001 - nadvornik@suse.cz
- updated to 0.65.0
- compiled with hermes
* Thu Apr 26 2001 - nadvornik@suse.cz
- fixed problems with saving icons
* Tue Apr 24 2001 - nadvornik@suse.cz
- fixed segfault in WPrefs
* Thu Apr 19 2001 - nadvornik@suse.cz
- fixes for ia64
* Fri Apr 06 2001 - nadvornik@suse.cz
- better integration of menus generated by susewm
* Thu Mar 29 2001 - nadvornik@suse.cz
- fixed bug in keyboard handling
- used RPM_OPT_FLAGS
* Tue Mar 13 2001 - nadvornik@suse.cz
- created devel subpackage
* Mon Feb 26 2001 - nadvornik@suse.cz
- update to 0.64.0
* Fri Jan 26 2001 - nadvornik@suse.cz
- update to 0.63.1
* Fri Dec 15 2000 - nadvornik@suse.cz
- added paths for package icons
* Thu Nov 23 2000 - nadvornik@suse.cz
- added Provides: wmaker windowmanager
- removed Requires: wterm
* Wed Nov 15 2000 - ro@suse.de
- fixed neededforbuild for libPropList
* Wed Nov 01 2000 - egger@suse.de
- Updated specfile to new long packagenames.
- Reworked specfile.
- Probably needs some more work; I'm taking care of that.
* Tue Oct 10 2000 - nadvornik@suse.cz
- fixed list of doc files
* Mon Oct 02 2000 - nadvornik@suse.cz
- fixed start script
- used bzip2
* Mon Aug 14 2000 - nadvornik@suse.cz
- fixed bug in shutdown.c
* Fri Aug 11 2000 - nadvornik@suse.cz
- fixed bug in menu.c
* Thu Jul 27 2000 - nadvornik@suse.cz
- "EXEC SAVE_WORKSPACE" replaced with "SAVE_SESSION" in menu
(bug #3640)
* Tue May 09 2000 - nadvornik@suse.cz
- update to 0.62.1
* Wed May 03 2000 - nadvornik@suse.cz
- build with i18n support
* Fri Apr 21 2000 - nadvornik@suse.cz
- added BuildRoot
* Mon Apr 10 2000 - bk@suse.de
- added suse update config macro
* Wed Mar 01 2000 - choeger@suse.de
- added mandir
* Tue Feb 29 2000 - choeger@suse.de
- added wterm to requires
* Mon Oct 25 1999 - ro@suse.de
- switched to libungif
* Tue Oct 19 1999 - choeger@suse.de
- new version, 0.61.1
* Tue Sep 28 1999 - choeger@suse.de
- added KDE-Support
* Thu Sep 23 1999 - choeger@suse.de
- new version
* Mon Sep 20 1999 - ro@suse.de
- added provides windowmanager
* Tue Sep 14 1999 - ro@suse.de
- finally removed libproplist-files from filelist
* Mon Sep 13 1999 - bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.
* Thu Aug 19 1999 - choeger@suse.de
- removed proplist from source archives and
using the already present version of SuSE Dist.
* Fri Jul 16 1999 - choeger@suse.de
- add script windowmaker
- changed wmaker.inst not to touch .xinitrc
* Tue Jul 06 1999 - choeger@suse.de
- added GNOME-Support (--enable-gnome)
* Wed Apr 28 1999 - choeger@suse.de
- new version 0.53.0
* Tue Mar 23 1999 - choeger@suse.de
- bugfix for spec-file (make clean in the Default-Config-Dir)
* Thu Mar 11 1999 - choeger@suse.de
- new version 0.51.1
* Tue Jan 19 1999 - choeger@suse.de
- actual version 0.50.2
* Mon Dec 21 1998 - choeger@suse.de
- actual version 0.20.3
* Thu Jul 09 1998 - ro@suse.de
- removed doc/libproplist/COPYING.LIB (simply doesn't exist)
* Wed Jul 01 1998 - maddin@suse.de
- first S.u.S.E. version 0.15.1
- changed configure so it works right for libPropList
- moved documentation
- /usr/X11R6/lib/X11/WindowMaker used as wm's home
- made wrapper script for wmaker, called windowmaker so user's
files are updated correctly

0
ready Normal file
View File

101
windowmaker Normal file
View File

@ -0,0 +1,101 @@
#!/bin/bash
#
# install SUSE theme
#
install_suse_theme ()
{
setstyle --no-fonts /usr/share/WindowMaker/Themes/SUSE.themed
}
#
# update root menu
#
HOME_GNUSTEP=${GNUSTEP_USER_ROOT:-$HOME/GNUstep}
ROOT_MENU=$HOME_GNUSTEP/Defaults/WMRootMenu
WM_CONFIG=$HOME_GNUSTEP/Defaults/WindowMaker
test -f $ROOT_MENU && \
grep -q /etc/WindowMaker/SuSE/SuSE_menu $ROOT_MENU && {
cp $ROOT_MENU $ROOT_MENU.bak && \
sed -e 's|"/etc/WindowMaker/SuSE/SuSE_wmapps[^"]*"|"/etc/X11/WindowMaker/SuSE_wmapps"|g' \
-e 's|"/etc/WindowMaker/SuSE/SuSE_menu[^"]*"|"\| xdg_menu --format WindowMaker --charset UTF-8"|g' \
$ROOT_MENU.bak >$ROOT_MENU
}
for FILE in $HOME_GNUSTEP/Defaults/* ; do
[ $FILE = ${FILE%.sav} -a $FILE = ${FILE%.bak} -a -f $FILE ] && \
grep -q /GNUstep/Apps/ $FILE && {
cp $FILE $FILE.bak && \
sed -e 's|/GNUstep/Apps/|/GNUstep/Applications/|g' $FILE.bak >$FILE
}
done
#
# initialize users resources if any
#
test -f $WM_CONFIG || {
wmaker.inst
install_suse_theme
test $? = 0 || exit 1
}
#
# replace the old suse theme
#
grep -q "/usr/X11R6/share/WindowMaker/Themes/SuSE.themed/stripes.png" $WM_CONFIG &&
grep -q "/usr/X11R6/share/WindowMaker/Themes/SuSE.themed/blau.png" $WM_CONFIG &&
install_suse_theme
grep -q "/share/WindowMaker/Themes/SuSE.themed/SUSE.jpg" $WM_CONFIG &&
install_suse_theme
#
# handle transition from /usr/X11R6
#
find_X11R6 ()
{
find $HOME_GNUSTEP -name "*.bak" -o -name "*.sav" -prune -o -type f -exec grep -q "/usr/X11R6/\(share/WindowMaker\|GNUstep\)" {} \; -print
}
if [ -f $ROOT_MENU ] && grep -q /usr/X11R6/GNUstep/Applications/WPrefs.app/WPrefs $ROOT_MENU && \
[ ! -f /usr/X11R6/GNUstep/Applications/WPrefs.app/WPrefs -a ! -f /usr/X11R6/share/WindowMaker/README ] && \
[ "x`find_X11R6`" != x ]; then
xmessage -buttons "Keep:1,Update:0" -file - <<EOF
Beginning with openSUSE 10.2 WindowMaker was moved
from /usr/X11R6 to /usr. However, your configuration
files in $HOME_GNUSTEP still points to /usr/X11R6.
Click on "Update" if you want to automaticaly update
the configuration (recommended).
Click on "Keep" if you want to keep the old configuration
(for compatibility with older versions in case of home
directory on NFS, etc. See README.SuSE)
EOF
if [ $? = 0 ]; then
find_X11R6 | while read FILE; do
cp $FILE $FILE.X11R6.bak && \
sed -e 's|/usr/X11R6/GNUstep|/usr/lib/GNUstep|g' -e 's|/usr/X11R6/share/WindowMaker|/usr/share/WindowMaker|g' $FILE.X11R6.bak >$FILE
done
fi
fi
#
# let xdg_menu cache the output
#
xdg_menu --format WindowMaker --charset UTF-8 >/dev/null 2>&1 &
exec wmaker