1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 12:28:22 +01:00

- Fixed wrong call to XChangeProperty() when setting _NET_WM_ICON

- Changed the WPrefs icons with Largo's version
- Replaced Apps with Application in the docs
This commit is contained in:
dan
2004-10-24 03:20:29 +00:00
parent f89cf06299
commit 67a9ea74a3
12 changed files with 325 additions and 1532 deletions

View File

@@ -383,7 +383,7 @@ when running configure in step 2 of building Window Maker. You will
also need to supply the --with-appspath option, to specify the path for also need to supply the --with-appspath option, to specify the path for
WPrefs.app Example: WPrefs.app Example:
./configure --prefix=/home/jshmoe --with-appspath=/home/jshmoe/GNUstep/Apps ./configure --prefix=/home/jshmoe --with-appspath=/home/jshmoe/GNUstep/Applications
Then make /home/jshmoe/bin be included in your search PATH, add Then make /home/jshmoe/bin be included in your search PATH, add

View File

@@ -426,7 +426,7 @@ domovsk
cestu pro WPrefs.app. cestu pro WPrefs.app.
Příklad: Příklad:
./configure --prefix=/home/karel --with-appspath=/home/karel/GNUstep/Apps ./configure --prefix=/home/karel --with-appspath=/home/karel/GNUstep/Applications
Potom přidejte adresář /home/karel/bin do systémové proměnné PATH a adresář Potom přidejte adresář /home/karel/bin do systémové proměnné PATH a adresář
/home/karel/lib do sytémové proměnné LD_LIBRARY_PATH a nakonec spusťte /home/karel/lib do sytémové proměnné LD_LIBRARY_PATH a nakonec spusťte

View File

@@ -413,7 +413,7 @@ opci
También necesitará proporcionar la opción --with-appspath, para especificar la ruta También necesitará proporcionar la opción --with-appspath, para especificar la ruta
para WPrefs.app. Ejemplo: para WPrefs.app. Ejemplo:
./configure --prefix=/home/jshmoe --with-appspath=/home/jshmoe/GNUstep/Apps ./configure --prefix=/home/jshmoe --with-appspath=/home/jshmoe/GNUstep/Applications
Luego haga /home/jshmoe/bin para que se lo incluya en su ruta de búsqueda, agregue Luego haga /home/jshmoe/bin para que se lo incluya en su ruta de búsqueda, agregue
/home/jshmoe/lib a su variable de entorno LD_LIBRARY_PATH y ejecute bin/wmaker.inst /home/jshmoe/lib a su variable de entorno LD_LIBRARY_PATH y ejecute bin/wmaker.inst

View File

@@ -447,7 +447,7 @@ l'option --prefix correctement renseign
Il est aussi nécessaire d'utiliser l'option --with-appspath, afin de préciser Il est aussi nécessaire d'utiliser l'option --with-appspath, afin de préciser
le chemin d'accès à WPrefs.app. Par exemple : le chemin d'accès à WPrefs.app. Par exemple :
./configure --prefix=/home/jshmoe --with-appspath=/home/jshmoe/GNUstep/Apps ./configure --prefix=/home/jshmoe --with-appspath=/home/jshmoe/GNUstep/Applications
Puis, faites en sorte que /home/jshmoe/bin soit inclus dans votre PATH, ajoutez Puis, faites en sorte que /home/jshmoe/bin soit inclus dans votre PATH, ajoutez

View File

@@ -373,7 +373,7 @@ Compilando o Window Maker.
Você ainda precisará fornecer a opção --with-appspath, para especificar o Você ainda precisará fornecer a opção --with-appspath, para especificar o
caminho do WPrefs.app. Exemplo: caminho do WPrefs.app. Exemplo:
./configure --prefix=/home/jshmoe --with-appspath=/home/jshmoe/GNUstep/Apps ./configure --prefix=/home/jshmoe --with-appspath=/home/jshmoe/GNUstep/Applications
Depois faça com que /home/jshome/bin seja incluído na variável PATH, adicione Depois faça com que /home/jshome/bin seja incluído na variável PATH, adicione
/home/jshome/lib na variável de ambiente LD_LIBRARY_PATH e rode bin/wmaker.inst /home/jshome/lib na variável de ambiente LD_LIBRARY_PATH e rode bin/wmaker.inst

View File

@@ -417,7 +417,7 @@ v druhom kroku kompil
--with-appspath, pomocou ktorej ¹pecifikujete cestu pre WPrefs.app. --with-appspath, pomocou ktorej ¹pecifikujete cestu pre WPrefs.app.
Príklad: Príklad:
./configure --prefix=/home/jshome --with-appspath=/home/jshome/GNUstep/Apps ./configure --prefix=/home/jshome --with-appspath=/home/jshome/GNUstep/Applications
Poto pridajte adresár /home/jshome/bin do premennej PATH, /home/jshome/lib Poto pridajte adresár /home/jshome/bin do premennej PATH, /home/jshome/lib
do premennej LD_LIBRARY_PATH a spustite bin/wmaker.inst do premennej LD_LIBRARY_PATH a spustite bin/wmaker.inst

View File

@@ -117,12 +117,12 @@ WMPathForResourceOfType(char *resource, char *ext)
* Paths are searched in this order: * Paths are searched in this order:
* - resourcePath/ext * - resourcePath/ext
* - argv[0]/ext * - argv[0]/ext
* - GNUSTEP_USER_ROOT/Apps/ApplicationName.app/ext * - GNUSTEP_USER_ROOT/Applications/ApplicationName.app/ext
* - ~/GNUstep/Apps/ApplicationName.app/ext * - ~/GNUstep/Applications/ApplicationName.app/ext
* - GNUSTEP_LOCAL_ROOT/Apps/ApplicationName.app/ext * - GNUSTEP_LOCAL_ROOT/Applications/ApplicationName.app/ext
* - /usr/local/GNUstep/Apps/ApplicationName.app/ext * - /usr/local/GNUstep/Applications/ApplicationName.app/ext
* - GNUSTEP_SYSTEM_ROOT/Apps/ApplicationName.app/ext * - GNUSTEP_SYSTEM_ROOT/Applications/ApplicationName.app/ext
* - /usr/GNUstep/Apps/ApplicationName.app/ext * - /usr/GNUstep/Applications/ApplicationName.app/ext
*/ */
if (WMApplication.resourcePath) { if (WMApplication.resourcePath) {

View File

@@ -261,9 +261,7 @@ setMiniwindow(WMWindow *win, RImage *image)
if (!image) if (!image)
return; return;
data= malloc((image->width * image->height + 2) * sizeof(CARD32)); data = wmalloc((image->width * image->height + 2) * sizeof(CARD32));
if (!data)
return;
o= 0; o= 0;
data[o++] = image->width; data[o++] = image->width;
@@ -283,13 +281,12 @@ setMiniwindow(WMWindow *win, RImage *image)
} }
} }
XChangeProperty(scr->display, win->view->window, XChangeProperty(scr->display, win->view->window, scr->netwmIcon,
scr->netwmIcon, XA_CARDINAL, 32, XA_CARDINAL, 32, PropModeReplace,
PropModeReplace,
(unsigned char *)data, (unsigned char *)data,
(image->width * image->height + 2) * sizeof(CARD32)); (image->width * image->height + 2));
free(data); wfree(data);
} }

View File

@@ -73,24 +73,24 @@ WPrefs will be built automatically and installed with the rest of WindowMaker.
Customized Installation Customized Installation
----------------------- -----------------------
By default, WPrefs.app will be installed in the GNUstep applications By default, WPrefs.app will be installed in the GNUstep applications directory,
directory, which is /usr/local/GNUstep/Apps. If you want to install it which is /usr/local/GNUstep/Applications. If you want to install it somewhere
somewhere else, like in /some_weird_path/Apps, set the GNUSTEP_LOCAL_ROOT else, like in /some_weird_path/Applications, set the GNUSTEP_LOCAL_ROOT
environment variable to some_weird_path before running configure for environment variable to some_weird_path before running configure for
WindowMaker. You can also configure Window Maker supplying the --with-appspath WindowMaker. You can also configure Window Maker supplying the --with-appspath
option to configure, like ./configure --with-appspath=/usr/GNUstep/Apps option to configure, like ./configure --with-appspath=/usr/GNUstep/Applications
If you change your mind after installing, you can move the .app directory If you change your mind after installing, you can move the .app directory
to one of the following GNUstep/Apps directories: to one of the following GNUstep/Applications directories:
/usr/GNUstep/Apps /usr/GNUstep/Applications
OR OR
/usr/local/GNUstep/Apps /usr/local/GNUstep/Applications
OR OR
~/GNUstep/Apps ~/GNUstep/Applications

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@@ -76,7 +76,7 @@ if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi
%config /etc/X11/WindowMaker %config /etc/X11/WindowMaker
/usr/X11R6/bin/* /usr/X11R6/bin/*
/usr/X11R6/lib/lib* /usr/X11R6/lib/lib*
/usr/X11R6/lib/GNUstep/Apps/WPrefs.app /usr/X11R6/lib/GNUstep/Applications/WPrefs.app
/usr/include/* /usr/include/*
/usr/share/WindowMaker /usr/share/WindowMaker
/usr/share/locale/*/LC_MESSAGES/* /usr/share/locale/*/LC_MESSAGES/*