mozilla-devel:building_the_staff_client
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
mozilla-devel:building_the_staff_client [2013/01/28 05:50] – linux client build paxed | mozilla-devel:building_the_staff_client [2022/02/10 13:34] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 7: | Line 7: | ||
====== Building the staff client ====== | ====== Building the staff client ====== | ||
- | The staff client | + | The staff client |
+ | |||
+ | See the instructions below for building the client packages for the staff client, which are not built by default. | ||
===== BUILD_ID ===== | ===== BUILD_ID ===== | ||
Line 62: | Line 64: | ||
</ | </ | ||
- | This replaces older STAFF_CLIENT_BUILD_ID='' | + | This replaces older STAFF_CLIENT_BUILD_ID= instructions for creating such a client. |
+ | |||
+ | ===== STAFF_CLIENT_NAME ===== | ||
+ | |||
+ | If you wish to have a custom profile directory you can set the STAFF_CLIENT_NAME to something other than the default of STAFF_CLIENT_NAME=open_ils_staff_client. | ||
+ | |||
+ | From staff_client directory: | ||
+ | <code bash> | ||
+ | make STAFF_CLIENT_NAME='' | ||
+ | </ | ||
====== Branding Options ====== | ====== Branding Options ====== | ||
Line 89: | Line 100: | ||
<code bash> | <code bash> | ||
make rebuild | make rebuild | ||
+ | </ | ||
+ | |||
+ | ===== Initial Hostname ===== | ||
+ | |||
+ | To set an initial staff client hostname. | ||
+ | |||
+ | During making the staff client: | ||
+ | |||
+ | <code bash> | ||
+ | make INITIAL_HOST=hostname build | ||
+ | </ | ||
+ | |||
+ | During Evergreen configure: | ||
+ | |||
+ | <code bash> | ||
+ | ./configure --with-initialhost=hostname | ||
</ | </ | ||
Line 184: | Line 211: | ||
</ | </ | ||
+ | ==== Custom Install Directory ==== | ||
+ | If you wish to customize the install directory for your windows client. | ||
+ | want to run multiple staff clients on one machine without them interacting with each other. Edit the staff_client/ | ||
+ | |||
+ | < | ||
+ | ;!define /file PRODUCT_VERSION " | ||
+ | !define PRODUCT_TAG " | ||
+ | !define PRODUCT_INSTALL_TAG " | ||
+ | !define UI_IMAGESET " | ||
+ | ;!define UI_IMAGESET " | ||
+ | !define PRODUCT_NAME " | ||
+ | </ | ||
+ | |||
+ | Now the default install directory will be c: | ||
===== Linux Client ===== | ===== Linux Client ===== | ||
Line 291: | Line 332: | ||
It may get confusing if you aren't careful, but you can log in to multiple evergreen servers at the same time, or a single evergreen server multiple times. In either case you will need to create an additional profile for each additional server or workstation you want to log in as (see previous tip). | It may get confusing if you aren't careful, but you can log in to multiple evergreen servers at the same time, or a single evergreen server multiple times. In either case you will need to create an additional profile for each additional server or workstation you want to log in as (see previous tip). | ||
- | Once you have done so, run xulrunner with the -no-remote command line option (in addition to -profilemanger or -P if neeeded). Instead of xulrunner opening a new login window on your existing session it will start a new session instead, which can then be logged in to a different server or workstation ID. | + | Once you have done so, run xulrunner with the -no-remote command line option (in addition to -profilemanger or -P if needed). Instead of xulrunner opening a new login window on your existing session it will start a new session instead, which can then be logged in to a different server or workstation ID. |
Line 318: | Line 359: | ||
< | < | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
Line 326: | Line 367: | ||
< | < | ||
< | < | ||
- | < | + | < |
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
- | < | + | < |
< | < | ||
+ | < | ||
+ | < | ||
</ | </ | ||
</ | </ | ||
</ | </ | ||
- | - Download and install an appropriate Mac OS package of XULRunner from the Mozilla website (This varies from version to version) | + | - Download and install an appropriate Mac OS package of XULRunner from the Mozilla website (you need xulrunner 14 for Evergreen 2.3+) |
- Make a copy of / | - Make a copy of / | ||
* Evergreen.app/ | * Evergreen.app/ | ||
Line 344: | Line 387: | ||
* XUL.Framework/ | * XUL.Framework/ | ||
* Versions/ | * Versions/ | ||
- | * Current -> 1.9.2.28 (symlink) | + | * Current -> 14.0.1 (symlink) |
- | * 1.9.2.28/ | + | * 14.0.1/ |
* XUL -> Versions/ | * XUL -> Versions/ | ||
* libxpcom.dylib -> Versions/ | * libxpcom.dylib -> Versions/ | ||
* xulrunner-bin -> Versions/ | * xulrunner-bin -> Versions/ | ||
- | - copy XUL.Framework/ | + | - copy XUL.Framework/ |
- Make Evergreen.app/ | - Make Evergreen.app/ | ||
* Evergreen.app/ | * Evergreen.app/ | ||
Line 359: | Line 402: | ||
* components/ | * components/ | ||
* etc. | * etc. | ||
- | - Finally, Put a Mac format icon file named Evergreen.icns in Resources | + | - Finally, Put a Mac format icon file named [[http:// |
{{: | {{: | ||
Line 367: | Line 410: | ||
{{: | {{: | ||
{{: | {{: | ||
- |
mozilla-devel/building_the_staff_client.1359370218.txt.gz · Last modified: 2022/02/10 13:33 (external edit)