mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-18 20:10:29 +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:
2
INSTALL
2
INSTALL
@@ -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
|
||||
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
|
||||
|
||||
@@ -426,7 +426,7 @@ domovsk
|
||||
cestu pro WPrefs.app.
|
||||
P<EFBFBD><EFBFBD>klad:
|
||||
|
||||
./configure --prefix=/home/karel --with-appspath=/home/karel/GNUstep/Apps
|
||||
./configure --prefix=/home/karel --with-appspath=/home/karel/GNUstep/Applications
|
||||
|
||||
Potom p<EFBFBD>idejte adres<EFBFBD><EFBFBD> /home/karel/bin do syst<EFBFBD>mov<EFBFBD> prom<EFBFBD>nn<EFBFBD> PATH a adres<EFBFBD><EFBFBD>
|
||||
/home/karel/lib do syt<EFBFBD>mov<EFBFBD> prom<EFBFBD>nn<EFBFBD> LD_LIBRARY_PATH a nakonec spus<EFBFBD>te
|
||||
|
||||
@@ -413,7 +413,7 @@ opci
|
||||
Tambi<EFBFBD>n necesitar<EFBFBD> proporcionar la opci<EFBFBD>n --with-appspath, para especificar la ruta
|
||||
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<EFBFBD>squeda, agregue
|
||||
/home/jshmoe/lib a su variable de entorno LD_LIBRARY_PATH y ejecute bin/wmaker.inst
|
||||
|
||||
@@ -447,7 +447,7 @@ l'option --prefix correctement renseign
|
||||
Il est aussi n<>cessaire d'utiliser l'option --with-appspath, afin de pr<70>ciser
|
||||
le chemin d'acc<63>s <20> 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
|
||||
|
||||
@@ -373,7 +373,7 @@ Compilando o Window Maker.
|
||||
Voc<EFBFBD> ainda precisar<61> fornecer a op<6F><70>o --with-appspath, para especificar o
|
||||
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<66>a com que /home/jshome/bin seja inclu<6C>do na vari<72>vel PATH, adicione
|
||||
/home/jshome/lib na vari<72>vel de ambiente LD_LIBRARY_PATH e rode bin/wmaker.inst
|
||||
|
||||
@@ -417,7 +417,7 @@ v druhom kroku kompil
|
||||
--with-appspath, pomocou ktorej <20>pecifikujete cestu pre WPrefs.app.
|
||||
Pr<EFBFBD>klad:
|
||||
|
||||
./configure --prefix=/home/jshome --with-appspath=/home/jshome/GNUstep/Apps
|
||||
./configure --prefix=/home/jshome --with-appspath=/home/jshome/GNUstep/Applications
|
||||
|
||||
Poto pridajte adres<65>r /home/jshome/bin do premennej PATH, /home/jshome/lib
|
||||
do premennej LD_LIBRARY_PATH a spustite bin/wmaker.inst
|
||||
|
||||
@@ -117,12 +117,12 @@ WMPathForResourceOfType(char *resource, char *ext)
|
||||
* Paths are searched in this order:
|
||||
* - resourcePath/ext
|
||||
* - argv[0]/ext
|
||||
* - GNUSTEP_USER_ROOT/Apps/ApplicationName.app/ext
|
||||
* - ~/GNUstep/Apps/ApplicationName.app/ext
|
||||
* - GNUSTEP_LOCAL_ROOT/Apps/ApplicationName.app/ext
|
||||
* - /usr/local/GNUstep/Apps/ApplicationName.app/ext
|
||||
* - GNUSTEP_SYSTEM_ROOT/Apps/ApplicationName.app/ext
|
||||
* - /usr/GNUstep/Apps/ApplicationName.app/ext
|
||||
* - GNUSTEP_USER_ROOT/Applications/ApplicationName.app/ext
|
||||
* - ~/GNUstep/Applications/ApplicationName.app/ext
|
||||
* - GNUSTEP_LOCAL_ROOT/Applications/ApplicationName.app/ext
|
||||
* - /usr/local/GNUstep/Applications/ApplicationName.app/ext
|
||||
* - GNUSTEP_SYSTEM_ROOT/Applications/ApplicationName.app/ext
|
||||
* - /usr/GNUstep/Applications/ApplicationName.app/ext
|
||||
*/
|
||||
|
||||
if (WMApplication.resourcePath) {
|
||||
|
||||
@@ -257,13 +257,11 @@ setMiniwindow(WMWindow *win, RImage *image)
|
||||
CARD32 *data;
|
||||
int x, y;
|
||||
int o;
|
||||
|
||||
|
||||
if (!image)
|
||||
return;
|
||||
|
||||
data= malloc((image->width * image->height + 2) * sizeof(CARD32));
|
||||
if (!data)
|
||||
return;
|
||||
|
||||
data = wmalloc((image->width * image->height + 2) * sizeof(CARD32));
|
||||
|
||||
o= 0;
|
||||
data[o++] = image->width;
|
||||
@@ -283,13 +281,12 @@ setMiniwindow(WMWindow *win, RImage *image)
|
||||
}
|
||||
}
|
||||
|
||||
XChangeProperty(scr->display, win->view->window,
|
||||
scr->netwmIcon, XA_CARDINAL, 32,
|
||||
PropModeReplace,
|
||||
(unsigned char *)data,
|
||||
(image->width * image->height + 2) * sizeof(CARD32));
|
||||
|
||||
free(data);
|
||||
XChangeProperty(scr->display, win->view->window, scr->netwmIcon,
|
||||
XA_CARDINAL, 32, PropModeReplace,
|
||||
(unsigned char *)data,
|
||||
(image->width * image->height + 2));
|
||||
|
||||
wfree(data);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -73,24 +73,24 @@ WPrefs will be built automatically and installed with the rest of WindowMaker.
|
||||
Customized Installation
|
||||
-----------------------
|
||||
|
||||
By default, WPrefs.app will be installed in the GNUstep applications
|
||||
directory, which is /usr/local/GNUstep/Apps. If you want to install it
|
||||
somewhere else, like in /some_weird_path/Apps, set the GNUSTEP_LOCAL_ROOT
|
||||
By default, WPrefs.app will be installed in the GNUstep applications directory,
|
||||
which is /usr/local/GNUstep/Applications. If you want to install it somewhere
|
||||
else, like in /some_weird_path/Applications, set the GNUSTEP_LOCAL_ROOT
|
||||
environment variable to some_weird_path before running configure for
|
||||
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
|
||||
to one of the following GNUstep/Apps directories:
|
||||
to one of the following GNUstep/Applications directories:
|
||||
|
||||
/usr/GNUstep/Apps
|
||||
/usr/GNUstep/Applications
|
||||
|
||||
OR
|
||||
|
||||
/usr/local/GNUstep/Apps
|
||||
/usr/local/GNUstep/Applications
|
||||
|
||||
OR
|
||||
|
||||
~/GNUstep/Apps
|
||||
~/GNUstep/Applications
|
||||
|
||||
|
||||
|
||||
|
||||
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@@ -76,7 +76,7 @@ if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi
|
||||
%config /etc/X11/WindowMaker
|
||||
/usr/X11R6/bin/*
|
||||
/usr/X11R6/lib/lib*
|
||||
/usr/X11R6/lib/GNUstep/Apps/WPrefs.app
|
||||
/usr/X11R6/lib/GNUstep/Applications/WPrefs.app
|
||||
/usr/include/*
|
||||
/usr/share/WindowMaker
|
||||
/usr/share/locale/*/LC_MESSAGES/*
|
||||
|
||||
Reference in New Issue
Block a user