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
|
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
|
||||||
|
|||||||
@@ -426,7 +426,7 @@ domovsk
|
|||||||
cestu pro WPrefs.app.
|
cestu pro WPrefs.app.
|
||||||
P<EFBFBD><EFBFBD>klad:
|
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>
|
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
|
/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
|
Tambi<EFBFBD>n necesitar<EFBFBD> proporcionar la opci<EFBFBD>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<EFBFBD>squeda, agregue
|
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
|
/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
|
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 :
|
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
|
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
|
Voc<EFBFBD> ainda precisar<61> fornecer a op<6F><70>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<66>a com que /home/jshome/bin seja inclu<6C>do na vari<72>vel PATH, adicione
|
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
|
/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.
|
--with-appspath, pomocou ktorej <20>pecifikujete cestu pre WPrefs.app.
|
||||||
Pr<EFBFBD>klad:
|
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
|
Poto pridajte adres<65>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
|
||||||
|
|||||||
@@ -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) {
|
||||||
|
|||||||
@@ -257,13 +257,11 @@ setMiniwindow(WMWindow *win, RImage *image)
|
|||||||
CARD32 *data;
|
CARD32 *data;
|
||||||
int x, y;
|
int x, y;
|
||||||
int o;
|
int o;
|
||||||
|
|
||||||
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));
|
||||||
(image->width * image->height + 2) * sizeof(CARD32));
|
|
||||||
|
wfree(data);
|
||||||
free(data);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -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
@@ -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/*
|
||||||
|
|||||||
Reference in New Issue
Block a user