/usr/share/GNUstep/Documentation/User/GNUstep/gnustep-filesystem_1.html is in gnustep-make-doc 2.6.2-2.1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html401/loose.dtd">
<html>
<!-- Created on October 12, 2013 by texi2html 1.82
texi2html was written by:
Lionel Cons <Lionel.Cons@cern.ch> (original author)
Karl Berry <karl@freefriends.org>
Olaf Bachmann <obachman@mathematik.uni-kl.de>
and many others.
Maintained by: Many creative people.
Send bugs and suggestions to <texi2html-bug@nongnu.org>
-->
<head>
<title>GNUstep Filesystem Hierarchy Document: 1.1 The System Domain</title>
<meta name="description" content="GNUstep Filesystem Hierarchy Document: 1.1 The System Domain">
<meta name="keywords" content="GNUstep Filesystem Hierarchy Document: 1.1 The System Domain">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="texi2html 1.82">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
<!--
a.summary-letter {text-decoration: none}
blockquote.smallquotation {font-size: smaller}
pre.display {font-family: serif}
pre.format {font-family: serif}
pre.menu-comment {font-family: serif}
pre.menu-preformatted {font-family: serif}
pre.smalldisplay {font-family: serif; font-size: smaller}
pre.smallexample {font-size: smaller}
pre.smallformat {font-family: serif; font-size: smaller}
pre.smalllisp {font-size: smaller}
span.roman {font-family:serif; font-weight:normal;}
span.sansserif {font-family:sans-serif; font-weight:normal;}
ul.toc {list-style: none}
-->
</style>
</head>
<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">
<a name="The-System-Domain"></a>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Previous section in reading order"> < </a>]</td>
<td valign="middle" align="left">[<a href="#The-Local-Domain" title="Next section in reading order"> > </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Beginning of this chapter or previous chapter"> << </a>]</td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[ >> ]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[Contents]</td>
<td valign="middle" align="left">[Index]</td>
<td valign="middle" align="left">[<a href="gnustep-filesystem_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<a name="The-System-Domain-1"></a>
<h2 class="section">1.1 The System Domain</h2>
<p>The System domain contains all files which were included in the
default GNUstep installation or distribution. These files are
normally managed by the distribution/packaging system used to install
GNUstep; thus, making modifications to these files is highly
discouraged. In addition, only the system administrator (’root’ on
most UNIX systems) should have permissions to write to that domain.
</p>
<p>Normally you can expect to find gnustep-make and the basic GNUstep
libraries (Foundation and AppKit) in this domain, and also essential
system applications (the Workspace Manager, the Editor, applications
related to system administrative tasks), developer applications
(Project Center and Gorm, as well as header files), essential
extensions (bundles for XML, SSL, RTF, etc), as well as all software
installed by the manufacturer of your distribution.
</p>
<p>In the GNUstep filesystem layout, the entire System domain is found in
the ‘<tt>System</tt>’ folder of the GNUstep installation.
</p>
<hr size="6">
<a name="The-Local-Domain"></a>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="#The-System-Domain" title="Previous section in reading order"> < </a>]</td>
<td valign="middle" align="left">[<a href="#The-Network-Domain" title="Next section in reading order"> > </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Beginning of this chapter or previous chapter"> << </a>]</td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[ >> ]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[Contents]</td>
<td valign="middle" align="left">[Index]</td>
<td valign="middle" align="left">[<a href="gnustep-filesystem_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<a name="The-Local-Domain-1"></a>
<h2 class="section">1.2 The Local Domain</h2>
<p>The Local domain is meant as the location for installing software
which was not included with your GNUstep distribution and which you or
your local sysadmin compile and/or install manually. These may
include third party applications, custom extension libraries and their
related header files, etc. Every software (except for gnustep-make,
gnustep-base, gnustep-gui and gnustep-back which for historical
reasons by default install into the System domain) should install by
default into the Local domain, so that if you download a source
tarball of the software and you install it, it installs by default in
the right place for this operation (the Local domain). Distributions
should override this default manually when they package the software
they want to distribute as part of their distribution, so that in that
case the software is installed in the System domain.
</p>
<p>In the GNUstep filesystem layout the entire Local domain is installed
as the ‘<tt>Local</tt>’ folder of your GNUstep installation.
</p>
<hr size="6">
<a name="The-Network-Domain"></a>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="#The-Local-Domain" title="Previous section in reading order"> < </a>]</td>
<td valign="middle" align="left">[<a href="#The-Users-Domain" title="Next section in reading order"> > </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Beginning of this chapter or previous chapter"> << </a>]</td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[ >> ]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[Contents]</td>
<td valign="middle" align="left">[Index]</td>
<td valign="middle" align="left">[<a href="gnustep-filesystem_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<a name="The-Network-Domain-1"></a>
<h2 class="section">1.3 The Network Domain</h2>
<p>The ‘<tt>Network</tt>’ domain is optional and is usually coalesced with
the ‘<tt>Local</tt>’ domain by default; this is particularly appropriate
for use on stand alone systems such as your home workstation.
However, the Network domain can be of great use in networked,
corporate environments. Its main purpose is to hold files exported
from a central server in your network or from other workstations.
Most times, remote directories containing applictations or general
data used by several workstations in the network are mounted using the
Network File System (NFS). Such usage gives administrators the
possibility of providing application or resources to a vast number of
workstations while only having to manage the software in one place.
This is especially useful when workstations are used by several users
with different tasks and requirements. If you want to take advantage
of the Network domain, you need to use a filesystem layout with
a separate Network domain.
</p>
<p>In the GNUstep filesystem layout the Network domain is the same as the
Local domain; if you want to use the Network domain there is a
separate GNUstep filesystem layout variant with a separate Network
domain, in which case the entire Network domain is installed as the
‘<tt>Network</tt>’ folder of your GNUstep installation.
</p>
<hr size="6">
<a name="The-Users-Domain"></a>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="#The-Network-Domain" title="Previous section in reading order"> < </a>]</td>
<td valign="middle" align="left">[<a href="#Structure-of-a-Domain" title="Next section in reading order"> > </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Beginning of this chapter or previous chapter"> << </a>]</td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[ >> ]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[Contents]</td>
<td valign="middle" align="left">[Index]</td>
<td valign="middle" align="left">[<a href="gnustep-filesystem_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<a name="The-Users-Domain-1"></a>
<h2 class="section">1.4 The Users Domain</h2>
<p>The main purpose of the Users domain is to hold GNUstep related files
which shall not be available to other users on the system but only to
the user owning them. This includes the GNUstep defaults database
(which holds system settings, application preferences and customized
resources) as well as temporary data related to services and file type
associations for programs. It also holds user installed applications
and tools (each user has the ability to install their own version of
an application or tool).
</p>
<p>In the GNUstep filesystem layout (and in most other layouts too) the
User domain is completely contained in a subdirectory of the user’s
home directory called ‘<tt>GNUstep</tt>’.
</p>
<hr size="6">
<a name="Structure-of-a-Domain"></a>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="#The-Users-Domain" title="Previous section in reading order"> < </a>]</td>
<td valign="middle" align="left">[<a href="#The-GNUstep-Filesystem-Layout" title="Next section in reading order"> > </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Beginning of this chapter or previous chapter"> << </a>]</td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[ >> ]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[Contents]</td>
<td valign="middle" align="left">[Index]</td>
<td valign="middle" align="left">[<a href="gnustep-filesystem_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<a name="Structure-of-a-Domain-1"></a>
<h2 class="section">1.5 Structure of a Domain</h2>
<p>In this section we examine the interesting locations in a domain. We
will enumerate the locations, and discuss what should be installed in
each location, and how they are mapped to directories on disk in the
GNUstep filesystem layout and in a general filesystem layout.
</p>
<table class="menu" border="0" cellspacing="0">
<tr><td align="left" valign="top"><a href="#The-GNUstep-Filesystem-Layout">1.5.1 The GNUstep Filesystem Layout</a></td><td> </td><td align="left" valign="top">
</td></tr>
<tr><td align="left" valign="top"><a href="#Accessing-Domain-Locations">1.5.2 Accessing Domain Locations</a></td><td> </td><td align="left" valign="top">
</td></tr>
<tr><td align="left" valign="top"><a href="#Applications">1.5.3 Applications</a></td><td> </td><td align="left" valign="top">
</td></tr>
<tr><td align="left" valign="top"><a href="#Admin-Applications">1.5.4 Admin Applications</a></td><td> </td><td align="left" valign="top">
</td></tr>
<tr><td align="left" valign="top"><a href="#Web-Applications">1.5.5 Web Applications</a></td><td> </td><td align="left" valign="top">
</td></tr>
<tr><td align="left" valign="top"><a href="#Tools">1.5.6 Tools</a></td><td> </td><td align="left" valign="top">
</td></tr>
<tr><td align="left" valign="top"><a href="#Admin-Tools">1.5.7 Admin Tools</a></td><td> </td><td align="left" valign="top">
</td></tr>
<tr><td align="left" valign="top"><a href="#Library">1.5.8 Library</a></td><td> </td><td align="left" valign="top">
</td></tr>
<tr><td align="left" valign="top"><a href="#Headers">1.5.9 Headers</a></td><td> </td><td align="left" valign="top">
</td></tr>
<tr><td align="left" valign="top"><a href="#Libraries">1.5.10 Libraries</a></td><td> </td><td align="left" valign="top">
</td></tr>
<tr><td align="left" valign="top"><a href="#Documentation">1.5.11 Documentation</a></td><td> </td><td align="left" valign="top">
</td></tr>
<tr><td align="left" valign="top"><a href="#Documentation-_0028Info_0029">1.5.12 Documentation (Info)</a></td><td> </td><td align="left" valign="top">
</td></tr>
<tr><td align="left" valign="top"><a href="#Documentation-_0028Man-Pages_0029">1.5.13 Documentation (Man Pages)</a></td><td> </td><td align="left" valign="top">
</td></tr>
<tr><td align="left" valign="top"><a href="#Folders-inside-Library">1.5.14 Folders inside Library</a></td><td> </td><td align="left" valign="top">
</td></tr>
</table>
<hr size="6">
<a name="The-GNUstep-Filesystem-Layout"></a>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="#Structure-of-a-Domain" title="Previous section in reading order"> < </a>]</td>
<td valign="middle" align="left">[<a href="#Accessing-Domain-Locations" title="Next section in reading order"> > </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Beginning of this chapter or previous chapter"> << </a>]</td>
<td valign="middle" align="left">[<a href="#Structure-of-a-Domain" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[ >> ]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[Contents]</td>
<td valign="middle" align="left">[Index]</td>
<td valign="middle" align="left">[<a href="gnustep-filesystem_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<a name="The-GNUstep-Filesystem-Layout-1"></a>
<h3 class="subsection">1.5.1 The GNUstep Filesystem Layout</h3>
<p>We quickly present the GNUstep filesystem layout for a domain first
because it is an essential reference for all discussions on the
structure of a domain.
</p>
<p>The GNUstep filesystem layout is the simplest layout, in which every
domain is a directory on disk, and all locations in the domain are
subdirectories of the domain.
</p>
<p>In that case, a domain has the following structure on disk:
</p><table><tr><td> </td><td><pre class="example"> Domain/
Applications/
Applications/Admin/
Defaults/ (User domain only)
Library/
Library/ApplicationSupport/
Library/ApplicationSupport/Palettes
Library/Bundles/
Library/Documentation/
Library/Documentation/info/
Library/Documentation/man/
Library/Frameworks/
Library/Headers/
Library/Libraries/
Library/Libraries/Java/
Library/Libraries/Resources/
Library/Makefiles/ (System domain only)
Library/Services/
Library/Tools/Resources/
Library/WebApplications/
Tools/
Tools/Admin/
</pre></td></tr></table>
<p>The terminology for locations is derived from this filesystem layout,
and it can be useful to use this directory structure as a reference
point for all discussions. For example, every domain must have a
’Library’ location.
</p>
<hr size="6">
<a name="Accessing-Domain-Locations"></a>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="#The-GNUstep-Filesystem-Layout" title="Previous section in reading order"> < </a>]</td>
<td valign="middle" align="left">[<a href="#Applications" title="Next section in reading order"> > </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Beginning of this chapter or previous chapter"> << </a>]</td>
<td valign="middle" align="left">[<a href="#Structure-of-a-Domain" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[ >> ]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[Contents]</td>
<td valign="middle" align="left">[Index]</td>
<td valign="middle" align="left">[<a href="gnustep-filesystem_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<a name="Accessing-Domain-Locations-1"></a>
<h3 class="subsection">1.5.2 Accessing Domain Locations</h3>
<p>In order to install and run software that uses some resources, you
need to be able to install the resources in the appropriate location,
and your software needs to be able to locate these resources when it’s
running.
</p>
<p>Since domain locations can be mapped to arbitrary locations on disk,
you must use the appropriate gnustep-make and gnustep-base facilities
to install things in the right place and to find things at runtime.
</p>
<p>GNUstep-make creates makefile variables for all the domain locations.
If you need to perform some custom installation for your software, you
must use these variables to make sure your installation will work with
all filesystem layouts. For example, the ‘<tt>Applications</tt>’ location
for the domain where the software will be installed is available as
the <code>GNUSTEP_APPS</code> variable. You can also access the locations
for specific domains by using the variables
<code>GNUSTEP_SYSTEM_APPS</code>, <code>GNUSTEP_NETWORK_APPS</code>,
<code>GNUSTEP_LOCAL_APPS</code> and <code>GNUSTEP_USER_APPS</code>.
</p>
<p>GNUstep-base provides you with the
<code>NSSearchPathForDirectoriesInDomains()</code> function that allows you
to retrieve the domain locations at runtime. You must lookup
resources only via this function. For example, the
‘<tt>Applications</tt>’ location can be found by using the
<code>NSApplicationDirectory</code> directory key, so you can use it in your
software to iterate over all the ‘<tt>Applications</tt>’ directories in
the various domains searching for an application.
</p>
<p>In general, all interesting domain locations have a set of variables
defined in gnustep-make (such as <code>GNUSTEP_APPS</code>,
<code>GNUSTEP_SYSTEM_APPS</code>, <code>GNUSTEP_NETWORK_APPS</code>,
<code>GNUSTEP_LOCAL_APPS</code> and <code>GNUSTEP_USER_APPS</code>) and a
corresponding directory key in gnustep-base (such as
<code>NSApplicationDirectory</code>).
</p>
<p>When examining the various domain locations, we will explicitly
mention the gnustep-make variables and the gnustep-base directory keys
that can be used to access them.
</p>
<hr size="6">
<a name="Applications"></a>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="#Accessing-Domain-Locations" title="Previous section in reading order"> < </a>]</td>
<td valign="middle" align="left">[<a href="#Admin-Applications" title="Next section in reading order"> > </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Beginning of this chapter or previous chapter"> << </a>]</td>
<td valign="middle" align="left">[<a href="#Structure-of-a-Domain" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[ >> ]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[Contents]</td>
<td valign="middle" align="left">[Index]</td>
<td valign="middle" align="left">[<a href="gnustep-filesystem_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<a name="Applications-1"></a>
<h3 class="subsection">1.5.3 Applications</h3>
<p>The ‘<tt>Applications</tt>’ location contains applications. Applications
are programs that typically have a GUI interface and contain
associated resource files, such as images, localization files and
other program elements.
</p>
<p>Important applications which are part of GNUstep and which are often
distributed as part of a core GNUstep distribution include:
</p><table><tr><td> </td><td><pre class="example">Gorm.app
ProjectCenter.app
GWorkspace.app
Preferences.app
</pre></td></tr></table>
<p>In GNUmakefiles, the ‘<tt>Applications</tt>’ location is available via the
<code>GNUSTEP_APPS</code> variable, which is the Applications location for
the domain in which the software will be installed. You can also
reference the locations in the various domains directly by using the
variables <code>GNUSTEP_SYSTEM_APPS</code>, <code>GNUSTEP_NETWORK_APPS</code>,
<code>GNUSTEP_LOCAL_APPS</code> and <code>GNUSTEP_USER_APPS</code>.
</p>
<p>In gnustep-base, the ‘<tt>Applications</tt>’ locations are available by
using the <code>NSApplicationDirectory</code> directory key for
<code>NSSearchPathForDirectoriesInDomains()</code>.
</p>
<hr size="6">
<a name="Admin-Applications"></a>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="#Applications" title="Previous section in reading order"> < </a>]</td>
<td valign="middle" align="left">[<a href="#Web-Applications" title="Next section in reading order"> > </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Beginning of this chapter or previous chapter"> << </a>]</td>
<td valign="middle" align="left">[<a href="#Structure-of-a-Domain" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[ >> ]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[Contents]</td>
<td valign="middle" align="left">[Index]</td>
<td valign="middle" align="left">[<a href="gnustep-filesystem_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<a name="Admin-Applications-1"></a>
<h3 class="subsection">1.5.4 Admin Applications</h3>
<p>The ‘<tt>Admin Applications</tt>’ location contains applications that are
only useful to the system administrator. A normal user wouldn’t have
enough privileges to use these applications in a useful way.
</p>
<p>In GNUmakefiles, the ‘<tt>Admin Applications</tt>’ location is available
via the <code>GNUSTEP_ADMIN_APPS</code> variable, which is the Admin
Applications location for the domain in which the software will be
installed. You can also reference the locations in the various
domains directly by using the variables
<code>GNUSTEP_SYSTEM_ADMIN_APPS</code>, <code>GNUSTEP_NETWORK_ADMIN_APPS</code>,
<code>GNUSTEP_LOCAL_ADMIN_APPS</code> and <code>GNUSTEP_USER_ADMIN_APPS</code>.
</p>
<p>In gnustep-base, the ‘<tt>Admin Applications</tt>’ locations are available
by using the <code>NSAdminApplicationDirectory</code> directory key for
<code>NSSearchPathForDirectoriesInDomains()</code>.
</p>
<hr size="6">
<a name="Web-Applications"></a>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="#Admin-Applications" title="Previous section in reading order"> < </a>]</td>
<td valign="middle" align="left">[<a href="#Tools" title="Next section in reading order"> > </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Beginning of this chapter or previous chapter"> << </a>]</td>
<td valign="middle" align="left">[<a href="#Structure-of-a-Domain" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[ >> ]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[Contents]</td>
<td valign="middle" align="left">[Index]</td>
<td valign="middle" align="left">[<a href="gnustep-filesystem_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<a name="Web-Applications-1"></a>
<h3 class="subsection">1.5.5 Web Applications</h3>
<p>The ‘<tt>Web Applications</tt>’ location contains web applications that
were created using GSWeb or SOPE. These are programs contained with
their resources in small wrappers very similar to standard
applications.
</p>
<p>In GNUmakefiles, the ‘<tt>Web Applications</tt>’ location is available via
the <code>GNUSTEP_WEB_APPS</code> variable, which is the Web Applications
location for the domain in which the software will be installed. You
can also reference the locations in the various domains directly by
using the variables <code>GNUSTEP_SYSTEM_WEB_APPS</code>,
<code>GNUSTEP_NETWORK_WEB_APPS</code>, <code>GNUSTEP_LOCAL_WEB_APPS</code> and
<code>GNUSTEP_USER_WEB_APPS</code>.
</p>
<p>In gnustep-base, the ‘<tt>Web Applications</tt>’ locations are available
by using the <code>GSWebApplicationDirectory</code> directory key for
<code>NSSearchPathForDirectoriesInDomains()</code>.
</p>
<hr size="6">
<a name="Tools"></a>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="#Web-Applications" title="Previous section in reading order"> < </a>]</td>
<td valign="middle" align="left">[<a href="#Admin-Tools" title="Next section in reading order"> > </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Beginning of this chapter or previous chapter"> << </a>]</td>
<td valign="middle" align="left">[<a href="#Structure-of-a-Domain" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[ >> ]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[Contents]</td>
<td valign="middle" align="left">[Index]</td>
<td valign="middle" align="left">[<a href="gnustep-filesystem_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<a name="Tools-1"></a>
<h3 class="subsection">1.5.6 Tools</h3>
<p>The ‘<tt>Tools</tt>’ location contains tools and executable scripts. Tools
are programs which generally have a command-line interface. Most are
not meant to be used by the average user.
</p>
<p>Important tools which are part of GNUstep and which are often
distributed as part of a core GNUstep distribution include:
</p><table><tr><td> </td><td><pre class="example">openapp
defaults
gdomap
gdnc
gpbs
</pre></td></tr></table>
<p>In GNUmakefiles, the ‘<tt>Tools</tt>’ location is available via the
<code>GNUSTEP_TOOLS</code> variable, which is the location for the domain in
which the software will be installed. You can also reference the
locations in the various domains directly by using the variables
<code>GNUSTEP_SYSTEM_TOOLS</code>, <code>GNUSTEP_NETWORK_TOOLS</code>,
<code>GNUSTEP_LOCAL_TOOLS</code> and <code>GNUSTEP_USER_TOOLS</code>.
</p>
<p>In gnustep-base, the ‘<tt>Tools</tt>’ locations are available by using the
<code>GSToolsDirectory</code> directory key for
<code>NSSearchPathForDirectoriesInDomains()</code>.
</p>
<hr size="6">
<a name="Admin-Tools"></a>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="#Tools" title="Previous section in reading order"> < </a>]</td>
<td valign="middle" align="left">[<a href="#Library" title="Next section in reading order"> > </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Beginning of this chapter or previous chapter"> << </a>]</td>
<td valign="middle" align="left">[<a href="#Structure-of-a-Domain" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[ >> ]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[Contents]</td>
<td valign="middle" align="left">[Index]</td>
<td valign="middle" align="left">[<a href="gnustep-filesystem_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<a name="Admin-Tools-1"></a>
<h3 class="subsection">1.5.7 Admin Tools</h3>
<p>The ‘<tt>Admin Tools</tt>’ location contains tools and executable scripts
that are only useful to the system administrator. A normal user
wouldn’t have enough privileges to use these applications in a useful
way.
</p>
<p>In GNUmakefiles, the ‘<tt>Admin Tools</tt>’ location is available via the
<code>GNUSTEP_ADMIN_TOOLS</code> variable, which is the location for the
domain in which the software will be installed. You can also
reference the locations in the various domains directly by using the
variables <code>GNUSTEP_SYSTEM_ADMIN_TOOLS</code>,
<code>GNUSTEP_NETWORK_ADMIN_TOOLS</code>, <code>GNUSTEP_LOCAL_ADMIN_TOOLS</code>
and <code>GNUSTEP_USER_ADMIN_TOOLS</code>.
</p>
<p>In gnustep-base, the ‘<tt>Admin Tools</tt>’ locations are available by
using the <code>GSAdminToolsDirectory</code> directory key for
<code>NSSearchPathForDirectoriesInDomains()</code>.
</p>
<hr size="6">
<a name="Library"></a>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="#Admin-Tools" title="Previous section in reading order"> < </a>]</td>
<td valign="middle" align="left">[<a href="#Headers" title="Next section in reading order"> > </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Beginning of this chapter or previous chapter"> << </a>]</td>
<td valign="middle" align="left">[<a href="#Structure-of-a-Domain" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[ >> ]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[Contents]</td>
<td valign="middle" align="left">[Index]</td>
<td valign="middle" align="left">[<a href="gnustep-filesystem_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<a name="Library-1"></a>
<h3 class="subsection">1.5.8 Library</h3>
<p>The ‘<tt>Library</tt>’ location contains most of the resources that are
located and loaded at runtime. These resources are organized in
folders (directories) inside ‘<tt>Library</tt>’; the most important
‘<tt>Library</tt>’ folders will be described later on.
</p>
<p>Like all systems inspired by OpenStep, resources are mostly organized
in bundles and small wrappers that contain both machine-dependent
files (such as executables or loadable object files) and general
machine-independent resources (such as images or text files). For
this reason, the ‘<tt>Library</tt>’ location will contain both
machine-dependent and machine-independent files.
</p>
<p>The structure of the folders within Library is the same in all
filesystem layouts, with a few exceptions: in the GNUstep filesystem
layout, the <code>Libraries</code>, <code>Headers</code>, <code>Documentation</code> and
<code>WebApplications</code> folders are all inside <code>Library</code>, but this
is not necessarily true for other filesystem layouts.
</p>
<p>Vice versa, it’s common on other filesystem layouts (eg, FHS) to put
<code>Applications</code> and <code>Admin Applications</code> as folders inside
<code>Library</code>.
</p>
<p>In GNUmakefiles, the ‘<tt>Library</tt>’ location is available via the
<code>GNUSTEP_LIBRARY</code> variable, which is the location for the
domain in which the software will be installed. You can also
reference the locations in the various domains directly by using the
variables <code>GNUSTEP_SYSTEM_LIBRARY</code>,
<code>GNUSTEP_NETWORK_LIBRARY</code>, <code>GNUSTEP_LOCAL_LIBRARY</code> and
<code>GNUSTEP_USER_LIBRARY</code>.
</p>
<p>In gnustep-base, the ‘<tt>Library</tt>’ locations are available by
using the <code>NSLibraryDirectory</code> directory key for
<code>NSSearchPathForDirectoriesInDomains()</code>.
</p>
<hr size="6">
<a name="Headers"></a>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="#Library" title="Previous section in reading order"> < </a>]</td>
<td valign="middle" align="left">[<a href="#Libraries" title="Next section in reading order"> > </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Beginning of this chapter or previous chapter"> << </a>]</td>
<td valign="middle" align="left">[<a href="#Structure-of-a-Domain" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[ >> ]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[Contents]</td>
<td valign="middle" align="left">[Index]</td>
<td valign="middle" align="left">[<a href="gnustep-filesystem_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<a name="Headers-1"></a>
<h3 class="subsection">1.5.9 Headers</h3>
<p>The <code>Headers</code> location contains header files associated with a
library located in <code>Libraries</code>.
</p>
<p>In GNUmakefiles, the ‘<tt>Headers</tt>’ location is available via the
<code>GNUSTEP_HEADERS</code> variable, which is the location for the
domain in which the software will be installed. You can also
reference the locations in the various domains directly by using the
variables <code>GNUSTEP_SYSTEM_HEADERS</code>,
<code>GNUSTEP_NETWORK_HEADERS</code>, <code>GNUSTEP_LOCAL_HEADERS</code> and
<code>GNUSTEP_USER_HEADERS</code>.
</p>
<p>In gnustep-base, the ‘<tt>Headers</tt>’ location is not currently
available.
</p>
<hr size="6">
<a name="Libraries"></a>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="#Headers" title="Previous section in reading order"> < </a>]</td>
<td valign="middle" align="left">[<a href="#Documentation" title="Next section in reading order"> > </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Beginning of this chapter or previous chapter"> << </a>]</td>
<td valign="middle" align="left">[<a href="#Structure-of-a-Domain" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[ >> ]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[Contents]</td>
<td valign="middle" align="left">[Index]</td>
<td valign="middle" align="left">[<a href="gnustep-filesystem_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<a name="Libraries-1"></a>
<h3 class="subsection">1.5.10 Libraries</h3>
<p>The <code>Libraries</code> location contains libraries (shared/static object
files that are linked into programs). (NOTE: In the GNUstep
filesystem layout, the Libraries directory being in Library may sound
somewhat redundant, however, it could be read as "a Library of shared
libraries").
</p>
<p>In the GNUstep filesystem layout, the <code>Library/Libraries</code> folder
contains two other folders: <code>Resources</code> and <code>Java</code>. It’s
important to notice that when the <code>Libraries</code> location is moved
elsewhere, these folders are not moved; they will still be in
<code>Library/Libraries/Resources</code> and <code>Library/Libraries/Java</code>.
</p>
<p>In GNUmakefiles, the ‘<tt>Libraries</tt>’ location is available via the
<code>GNUSTEP_LIBRARIES</code> variable, which is the location for the
domain in which the software will be installed. You can also
reference the locations in the various domains directly by using the
variables <code>GNUSTEP_SYSTEM_LIBRARIES</code>,
<code>GNUSTEP_NETWORK_LIBRARIES</code>, <code>GNUSTEP_LOCAL_LIBRARIES</code> and
<code>GNUSTEP_USER_LIBRARIES</code>.
</p>
<p>In gnustep-base, the ‘<tt>Libraries</tt>’ locations are available by using
the <code>GSLibrariesDirectory</code> directory key for
<code>NSSearchPathForDirectoriesInDomains()</code>.
</p>
<hr size="6">
<a name="Documentation"></a>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="#Libraries" title="Previous section in reading order"> < </a>]</td>
<td valign="middle" align="left">[<a href="#Documentation-_0028Info_0029" title="Next section in reading order"> > </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Beginning of this chapter or previous chapter"> << </a>]</td>
<td valign="middle" align="left">[<a href="#Structure-of-a-Domain" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[ >> ]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[Contents]</td>
<td valign="middle" align="left">[Index]</td>
<td valign="middle" align="left">[<a href="gnustep-filesystem_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<a name="Documentation-1"></a>
<h3 class="subsection">1.5.11 Documentation</h3>
<p>The <code>Documentation</code> location contains documentation for
libraries, applications, etc.
</p>
<p>In GNUmakefiles, the ‘<tt>Documentation</tt>’ location is available via
the <code>GNUSTEP_DOC</code> variable, which is the location for the
domain in which the software will be installed. You can also
reference the locations in the various domains directly by using the
variables <code>GNUSTEP_SYSTEM_DOC</code>, <code>GNUSTEP_NETWORK_DOC</code>,
<code>GNUSTEP_LOCAL_DOC</code> and <code>GNUSTEP_USER_DOC</code>.
</p>
<p>In gnustep-base, the ‘<tt>Documentation</tt>’ locations are available by
using the <code>NSDocumentationDirectory</code> directory key for
<code>NSSearchPathForDirectoriesInDomains()</code>.
</p>
<hr size="6">
<a name="Documentation-_0028Info_0029"></a>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="#Documentation" title="Previous section in reading order"> < </a>]</td>
<td valign="middle" align="left">[<a href="#Documentation-_0028Man-Pages_0029" title="Next section in reading order"> > </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Beginning of this chapter or previous chapter"> << </a>]</td>
<td valign="middle" align="left">[<a href="#Structure-of-a-Domain" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[ >> ]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[Contents]</td>
<td valign="middle" align="left">[Index]</td>
<td valign="middle" align="left">[<a href="gnustep-filesystem_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<a name="Documentation-_0028Info_0029-1"></a>
<h3 class="subsection">1.5.12 Documentation (Info)</h3>
<p>The <code>Documentation (Info)</code> location contains documentation in
info format.
</p>
<p>In GNUmakefiles, the ‘<tt>Documentation (Info)</tt>’ location is available
via the <code>GNUSTEP_DOC_INFO</code> variable, which is the location for
the domain in which the software will be installed. You can also
reference the locations in the various domains directly by using the
variables <code>GNUSTEP_SYSTEM_DOC_INFO</code>,
<code>GNUSTEP_NETWORK_DOC_INFO</code>, <code>GNUSTEP_LOCAL_DOC_INFO</code> and
<code>GNUSTEP_USER_DOC_INFO</code>.
</p>
<p>In gnustep-base, the ‘<tt>Documentation (Info)</tt>’ locations are not
currently available.
</p>
<hr size="6">
<a name="Documentation-_0028Man-Pages_0029"></a>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="#Documentation-_0028Info_0029" title="Previous section in reading order"> < </a>]</td>
<td valign="middle" align="left">[<a href="#Folders-inside-Library" title="Next section in reading order"> > </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Beginning of this chapter or previous chapter"> << </a>]</td>
<td valign="middle" align="left">[<a href="#Structure-of-a-Domain" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[ >> ]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[Contents]</td>
<td valign="middle" align="left">[Index]</td>
<td valign="middle" align="left">[<a href="gnustep-filesystem_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<a name="Documentation-_0028Man-Pages_0029-1"></a>
<h3 class="subsection">1.5.13 Documentation (Man Pages)</h3>
<p>The <code>Documentation (Man Pages)</code> location contains Unix man pages.
</p>
<p>In GNUmakefiles, the ‘<tt>Documentation (Man Pages)</tt>’ location is
available via the <code>GNUSTEP_DOC_MAN</code> variable, which is the
location for the domain in which the software will be installed. You
can also reference the locations in the various domains directly by
using the variables <code>GNUSTEP_SYSTEM_DOC_MAN</code>,
<code>GNUSTEP_NETWORK_DOC_MAN</code>, <code>GNUSTEP_LOCAL_DOC_MAN</code> and
<code>GNUSTEP_USER_DOC_MAN</code>.
</p>
<p>In gnustep-base, the ‘<tt>Documentation (Man)</tt>’ locations are not
currently available.
</p>
<hr size="6">
<a name="Folders-inside-Library"></a>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="#Documentation-_0028Man-Pages_0029" title="Previous section in reading order"> < </a>]</td>
<td valign="middle" align="left">[<a href="#ApplicationSupport" title="Next section in reading order"> > </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Beginning of this chapter or previous chapter"> << </a>]</td>
<td valign="middle" align="left">[<a href="#Structure-of-a-Domain" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[ >> ]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[Contents]</td>
<td valign="middle" align="left">[Index]</td>
<td valign="middle" align="left">[<a href="gnustep-filesystem_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<a name="Folders-inside-Library-1"></a>
<h3 class="subsection">1.5.14 Folders inside Library</h3>
<p>In this section we discuss the standard folders that are available
inside the <code>Library</code> location. To find any of these folders,
just find the location of <code>Library</code> and then append the folder
name (for example, in a GNUmakefile you can access the ’ColorPickers’
folder of the installation domain as
<code>$GNUSTEP_LIBRARY/ColorPickers</code>).
</p>
<p>Some of the folders can also be accessed using direct variables, such
as <code>GNUSTEP_BUNDLES</code>. You should prefer using these direct
variables if you can because they are more future-proof (in case some
of the folders become independent from <code>Library</code> in the future).
All such cases should be documented here.
</p>
<table class="menu" border="0" cellspacing="0">
<tr><td align="left" valign="top"><a href="#ApplicationSupport">1.5.14.1 ApplicationSupport</a></td><td> </td><td align="left" valign="top">
</td></tr>
<tr><td align="left" valign="top"><a href="#Bundles">1.5.14.2 Bundles</a></td><td> </td><td align="left" valign="top">
</td></tr>
<tr><td align="left" valign="top"><a href="#ColorPickers">1.5.14.3 ColorPickers</a></td><td> </td><td align="left" valign="top">
</td></tr>
<tr><td align="left" valign="top"><a href="#Colors">1.5.14.4 Colors</a></td><td> </td><td align="left" valign="top">
</td></tr>
<tr><td align="left" valign="top"><a href="#DTDs">1.5.14.5 DTDs</a></td><td> </td><td align="left" valign="top">
</td></tr>
<tr><td align="left" valign="top"><a href="#DocTemplates">1.5.14.6 DocTemplates</a></td><td> </td><td align="left" valign="top">
</td></tr>
<tr><td align="left" valign="top"><a href="#Fonts">1.5.14.7 Fonts</a></td><td> </td><td align="left" valign="top">
</td></tr>
<tr><td align="left" valign="top"><a href="#Frameworks">1.5.14.8 Frameworks</a></td><td> </td><td align="left" valign="top">
</td></tr>
<tr><td align="left" valign="top"><a href="#Images">1.5.14.9 Images</a></td><td> </td><td align="left" valign="top">
</td></tr>
<tr><td align="left" valign="top"><a href="#Libraries_002fJava">1.5.14.10 Libraries/Java</a></td><td> </td><td align="left" valign="top">
</td></tr>
<tr><td align="left" valign="top"><a href="#Libraries_002fResources">1.5.14.11 Libraries/Resources</a></td><td> </td><td align="left" valign="top">
</td></tr>
<tr><td align="left" valign="top"><a href="#KeyBindings">1.5.14.12 KeyBindings</a></td><td> </td><td align="left" valign="top">
</td></tr>
<tr><td align="left" valign="top"><a href="#PostScript">1.5.14.13 PostScript</a></td><td> </td><td align="left" valign="top">
</td></tr>
<tr><td align="left" valign="top"><a href="#Services">1.5.14.14 Services</a></td><td> </td><td align="left" valign="top">
</td></tr>
<tr><td align="left" valign="top"><a href="#Sounds">1.5.14.15 Sounds</a></td><td> </td><td align="left" valign="top">
</td></tr>
<tr><td align="left" valign="top"><a href="#Tools_002fResources">1.5.14.16 Tools/Resources</a></td><td> </td><td align="left" valign="top">
</td></tr>
</table>
<hr size="6">
<a name="ApplicationSupport"></a>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="#Folders-inside-Library" title="Previous section in reading order"> < </a>]</td>
<td valign="middle" align="left">[<a href="#Bundles" title="Next section in reading order"> > </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Beginning of this chapter or previous chapter"> << </a>]</td>
<td valign="middle" align="left">[<a href="#Folders-inside-Library" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[ >> ]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[Contents]</td>
<td valign="middle" align="left">[Index]</td>
<td valign="middle" align="left">[<a href="gnustep-filesystem_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<a name="ApplicationSupport-1"></a>
<h4 class="subsubsection">1.5.14.1 ApplicationSupport</h4>
<p>This directory contains bundles and other resources that are provided
for an application, but that are not specifically distributed with
that application. For instance, these may be third-party resources for
an application.
</p>
<p>For example, modules for the Preferences application may be stored
here, in a ‘<tt>Preferences</tt>’ subdirectory. In particular, Palettes
for Gorm are stored in ‘<tt>ApplicationSupport/Palettes</tt>’.
</p>
<p>In GNUmakefiles, this location is available via the
<code>GNUSTEP_APPLICATION_SUPPORT</code> variable, which is the location for
the domain in which the software will be installed. You can also
reference the locations in the various domains directly by using the
variables <code>GNUSTEP_SYSTEM_APPLICATION_SUPPORT</code>,
<code>GNUSTEP_NETWORK_APPLICATION_SUPPORT</code>,
<code>GNUSTEP_LOCAL_APPLICATION_SUPPORT</code> and
<code>GNUSTEP_USER_APPLICATION_SUPPORT</code>.
</p>
<p>In gnustep-base, the <code>ApplicationSupport</code> locations are available
by using the <code>NSApplicationSupportDirectory</code> directory key for
<code>NSSearchPathForDirectoriesInDomains()</code>.
</p>
<hr size="6">
<a name="Bundles"></a>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="#ApplicationSupport" title="Previous section in reading order"> < </a>]</td>
<td valign="middle" align="left">[<a href="#ColorPickers" title="Next section in reading order"> > </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Beginning of this chapter or previous chapter"> << </a>]</td>
<td valign="middle" align="left">[<a href="#Folders-inside-Library" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[ >> ]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[Contents]</td>
<td valign="middle" align="left">[Index]</td>
<td valign="middle" align="left">[<a href="gnustep-filesystem_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<a name="Bundles-1"></a>
<h4 class="subsubsection">1.5.14.2 Bundles</h4>
<p>This directory contains bundles. Bundles are collections of executable
code and associated resources that may be loaded at runtime by an
application or tool. Note: this directory is depreciated. Use
ApplicationSupport to install bundles that can be used by an
application.
</p>
<p>In GNUmakefiles, this location is available via the
<code>GNUSTEP_BUNDLES</code> variable, which is the location for the domain
in which the software will be installed. You can also reference the
locations in the various domains directly by using the variables
<code>GNUSTEP_SYSTEM_BUNDLES</code>, <code>GNUSTEP_NETWORK_BUNDLES</code>,
<code>GNUSTEP_LOCAL_BUNDLES</code> and <code>GNUSTEP_USER_BUNDLES</code>.
</p>
<p>In gnustep-base, you can access the <code>Bundles</code> location as a
folder inside the <code>Library</code> location.
</p>
<hr size="6">
<a name="ColorPickers"></a>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="#Bundles" title="Previous section in reading order"> < </a>]</td>
<td valign="middle" align="left">[<a href="#Colors" title="Next section in reading order"> > </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Beginning of this chapter or previous chapter"> << </a>]</td>
<td valign="middle" align="left">[<a href="#Folders-inside-Library" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[ >> ]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[Contents]</td>
<td valign="middle" align="left">[Index]</td>
<td valign="middle" align="left">[<a href="gnustep-filesystem_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<a name="ColorPickers-1"></a>
<h4 class="subsubsection">1.5.14.3 ColorPickers</h4>
<p>This directory contains bundles that are used by the color picking
system. They may include code that implements picking colors from a
color wheel, a custom defined list of colors, etc.
</p>
<p>This folder is accessed as the <code>ColorPickers</code> folder inside
<code>Library</code>.
</p>
<hr size="6">
<a name="Colors"></a>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="#ColorPickers" title="Previous section in reading order"> < </a>]</td>
<td valign="middle" align="left">[<a href="#DTDs" title="Next section in reading order"> > </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Beginning of this chapter or previous chapter"> << </a>]</td>
<td valign="middle" align="left">[<a href="#Folders-inside-Library" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[ >> ]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[Contents]</td>
<td valign="middle" align="left">[Index]</td>
<td valign="middle" align="left">[<a href="gnustep-filesystem_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<a name="Colors-1"></a>
<h4 class="subsubsection">1.5.14.4 Colors</h4>
<p>This directory contains files that define specific color mappings for
use within libraries or applications that require color definitions.
</p>
<p>This folder is accessed as the <code>Colors</code> folder inside
<code>Library</code>.
</p>
<hr size="6">
<a name="DTDs"></a>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="#Colors" title="Previous section in reading order"> < </a>]</td>
<td valign="middle" align="left">[<a href="#DocTemplates" title="Next section in reading order"> > </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Beginning of this chapter or previous chapter"> << </a>]</td>
<td valign="middle" align="left">[<a href="#Folders-inside-Library" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[ >> ]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[Contents]</td>
<td valign="middle" align="left">[Index]</td>
<td valign="middle" align="left">[<a href="gnustep-filesystem_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<a name="DTDs-1"></a>
<h4 class="subsubsection">1.5.14.5 DTDs</h4>
<p>This directory contains any Document Type Definitions
required for document parsing.
</p>
<p>This folder is accessed as the <code>DTDs</code> folder inside
<code>Library</code>.
</p>
<hr size="6">
<a name="DocTemplates"></a>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="#DTDs" title="Previous section in reading order"> < </a>]</td>
<td valign="middle" align="left">[<a href="#Fonts" title="Next section in reading order"> > </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Beginning of this chapter or previous chapter"> << </a>]</td>
<td valign="middle" align="left">[<a href="#Folders-inside-Library" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[ >> ]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[Contents]</td>
<td valign="middle" align="left">[Index]</td>
<td valign="middle" align="left">[<a href="gnustep-filesystem_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<a name="DocTemplates-1"></a>
<h4 class="subsubsection">1.5.14.6 DocTemplates</h4>
<p>This directory contains text templates for automatic documentation, as
generated by autodoc. Any additional documentation template types
must be placed in this directory, as a central location for
documentation template types. Any templates installed within this
directory must have an extension indicating what type of documentation
system it is referenced by (ie. .gsdoc for the GNUstep implementation
of autodoc).
</p>
<p>This folder is accessed as the <code>DocTemplates</code> folder inside
<code>Library</code>.
</p>
<hr size="6">
<a name="Fonts"></a>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="#DocTemplates" title="Previous section in reading order"> < </a>]</td>
<td valign="middle" align="left">[<a href="#Frameworks" title="Next section in reading order"> > </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Beginning of this chapter or previous chapter"> << </a>]</td>
<td valign="middle" align="left">[<a href="#Folders-inside-Library" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[ >> ]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[Contents]</td>
<td valign="middle" align="left">[Index]</td>
<td valign="middle" align="left">[<a href="gnustep-filesystem_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<a name="Fonts-1"></a>
<h4 class="subsubsection">1.5.14.7 Fonts</h4>
<p>This directory contains fonts and files for organizing font information.
</p>
<p>This folder is accessed as the <code>Fonts</code> folder inside
<code>Library</code>.
</p>
<hr size="6">
<a name="Frameworks"></a>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="#Fonts" title="Previous section in reading order"> < </a>]</td>
<td valign="middle" align="left">[<a href="#Images" title="Next section in reading order"> > </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Beginning of this chapter or previous chapter"> << </a>]</td>
<td valign="middle" align="left">[<a href="#Folders-inside-Library" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[ >> ]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[Contents]</td>
<td valign="middle" align="left">[Index]</td>
<td valign="middle" align="left">[<a href="gnustep-filesystem_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<a name="Frameworks-1"></a>
<h4 class="subsubsection">1.5.14.8 Frameworks</h4>
<p>This directory contains frameworks. Frameworks are a type of bundle,
which include, within their directory structure, a shared library
providing a specific functionality (or group of related
functionalities), and all resources required by that shared library.
</p>
<p>All frameworks must have the extension ‘<tt>framework</tt>’, to indicate
their usage.
</p>
<p>Use of frameworks is generally discouraged, as it is difficult to
support them in a clean way on multiple platforms. Bundles are a
better method of organizing shared collections of resources and code.
</p>
<p>In GNUmakefiles, this location is available via the
<code>GNUSTEP_FRAMEWORKS</code> variable, which is the location for the
domain in which the software will be installed. You can also
reference the locations in the various domains directly by using the
variables <code>GNUSTEP_SYSTEM_FRAMEWORKS</code>,
<code>GNUSTEP_NETWORK_FRAMEWORKS</code>, <code>GNUSTEP_LOCAL_FRAMEWORKS</code> and
<code>GNUSTEP_USER_FRAMEWORKS</code>.
</p>
<p>In gnustep-base, the <code>Frameworks</code> locations are available by
using the <code>GSFrameworksDirectory</code> directory key for
<code>NSSearchPathForDirectoriesInDomains()</code>.
</p>
<hr size="6">
<a name="Images"></a>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="#Frameworks" title="Previous section in reading order"> < </a>]</td>
<td valign="middle" align="left">[<a href="#Libraries_002fJava" title="Next section in reading order"> > </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Beginning of this chapter or previous chapter"> << </a>]</td>
<td valign="middle" align="left">[<a href="#Folders-inside-Library" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[ >> ]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[Contents]</td>
<td valign="middle" align="left">[Index]</td>
<td valign="middle" align="left">[<a href="gnustep-filesystem_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<a name="Images-1"></a>
<h4 class="subsubsection">1.5.14.9 Images</h4>
<hr size="6">
<a name="Libraries_002fJava"></a>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="#Images" title="Previous section in reading order"> < </a>]</td>
<td valign="middle" align="left">[<a href="#Libraries_002fResources" title="Next section in reading order"> > </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Beginning of this chapter or previous chapter"> << </a>]</td>
<td valign="middle" align="left">[<a href="#Folders-inside-Library" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[ >> ]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[Contents]</td>
<td valign="middle" align="left">[Index]</td>
<td valign="middle" align="left">[<a href="gnustep-filesystem_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<a name="Libraries_002fJava-1"></a>
<h4 class="subsubsection">1.5.14.10 Libraries/Java</h4>
<p>This directory contains Java classes. If you are using Java with
GNUstep, you probably want to make sure these directories are in your
CLASSPATH.
</p>
<p>In GNUmakefiles, this location is available via the
<code>GNUSTEP_JAVA</code> variable, which is the location for the domain in
which the software will be installed. You can also reference the
locations in the various domains directly by using the variables
<code>GNUSTEP_SYSTEM_JAVA</code>, <code>GNUSTEP_NETWORK_JAVA</code>,
<code>GNUSTEP_LOCAL_JAVA</code> and <code>GNUSTEP_USER_JAVA</code>.
</p>
<p>In gnustep-base, you can access the <code>Libraries/Java</code> location as
the <code>Libraries/Java</code> folder inside the <code>Library</code> location.
</p>
<hr size="6">
<a name="Libraries_002fResources"></a>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="#Libraries_002fJava" title="Previous section in reading order"> < </a>]</td>
<td valign="middle" align="left">[<a href="#KeyBindings" title="Next section in reading order"> > </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Beginning of this chapter or previous chapter"> << </a>]</td>
<td valign="middle" align="left">[<a href="#Folders-inside-Library" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[ >> ]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[Contents]</td>
<td valign="middle" align="left">[Index]</td>
<td valign="middle" align="left">[<a href="gnustep-filesystem_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<a name="Libraries_002fResources-1"></a>
<h4 class="subsubsection">1.5.14.11 Libraries/Resources</h4>
<p>This directory contains resources used by shared libraries. In
GNUstep a shared library can have an associated resource bundle (a
bundle only composed of resources, with no object file), which is then
installed into this directory.
</p>
<p>For example, <code>gnustep-base</code> will get its resource bundle
installed into
<code>GNUSTEP_SYSTEM_LIBRARY/Libraries/Resources/gnustep-base</code>.
</p>
<p>In GNUmakefiles, this location is available via the
<code>GNUSTEP_RESOURCES</code> variable, which is the location for the
domain in which the software will be installed. You can also
reference the locations in the various domains directly by using the
variables <code>GNUSTEP_SYSTEM_RESOURCES</code>,
<code>GNUSTEP_NETWORK_RESOURCES</code>, <code>GNUSTEP_LOCAL_RESOURCES</code> and
<code>GNUSTEP_USER_RESOURCES</code>.
</p>
<p>In gnustep-base, you can access the resource bundle associated with a
library by using the <code>[NSBundle +bundleForLibrary:]</code> method (it
is a GNUstep extension).
</p>
<hr size="6">
<a name="KeyBindings"></a>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="#Libraries_002fResources" title="Previous section in reading order"> < </a>]</td>
<td valign="middle" align="left">[<a href="#PostScript" title="Next section in reading order"> > </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Beginning of this chapter or previous chapter"> << </a>]</td>
<td valign="middle" align="left">[<a href="#Folders-inside-Library" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[ >> ]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[Contents]</td>
<td valign="middle" align="left">[Index]</td>
<td valign="middle" align="left">[<a href="gnustep-filesystem_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<a name="KeyBindings-1"></a>
<h4 class="subsubsection">1.5.14.12 KeyBindings</h4>
<hr size="6">
<a name="PostScript"></a>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="#KeyBindings" title="Previous section in reading order"> < </a>]</td>
<td valign="middle" align="left">[<a href="#Services" title="Next section in reading order"> > </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Beginning of this chapter or previous chapter"> << </a>]</td>
<td valign="middle" align="left">[<a href="#Folders-inside-Library" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[ >> ]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[Contents]</td>
<td valign="middle" align="left">[Index]</td>
<td valign="middle" align="left">[<a href="gnustep-filesystem_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<a name="PostScript-1"></a>
<h4 class="subsubsection">1.5.14.13 PostScript</h4>
<p>This directory contains directories for specific PostScript document
types and definitions, allowing applications written using the GNUstep
development environment to display PostScript documents, or
communicate with printers using PostScript.
</p>
<p>This folder is accessed as the <code>PostScript</code> folder inside
<code>Library</code>.
</p>
<hr size="6">
<a name="Services"></a>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="#PostScript" title="Previous section in reading order"> < </a>]</td>
<td valign="middle" align="left">[<a href="#Sounds" title="Next section in reading order"> > </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Beginning of this chapter or previous chapter"> << </a>]</td>
<td valign="middle" align="left">[<a href="#Folders-inside-Library" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[ >> ]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[Contents]</td>
<td valign="middle" align="left">[Index]</td>
<td valign="middle" align="left">[<a href="gnustep-filesystem_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<a name="Services-1"></a>
<h4 class="subsubsection">1.5.14.14 Services</h4>
<p>This directory contains bundles that are specifically built to provide
functionality between different programs (for example, spell checking,
creation of a note from text within an email application). Services
that are installed on the system must an extension of ".service".
</p>
<p>In GNUmakefiles, this location is available via the
<code>GNUSTEP_SERVICES</code> variable, which is the location for the domain
in which the software will be installed. You can also reference the
locations in the various domains directly by using the variables
<code>GNUSTEP_SYSTEM_SERVICES</code>, <code>GNUSTEP_NETWORK_SERVICES</code>,
<code>GNUSTEP_LOCAL_SERVICES</code> and <code>GNUSTEP_USER_SERVICES</code>.
</p>
<p>In gnustep-base, you can access the <code>Services</code> location as a
folder inside the <code>Library</code> location.
</p>
<hr size="6">
<a name="Sounds"></a>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="#Services" title="Previous section in reading order"> < </a>]</td>
<td valign="middle" align="left">[<a href="#Tools_002fResources" title="Next section in reading order"> > </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Beginning of this chapter or previous chapter"> << </a>]</td>
<td valign="middle" align="left">[<a href="#Folders-inside-Library" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[ >> ]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[Contents]</td>
<td valign="middle" align="left">[Index]</td>
<td valign="middle" align="left">[<a href="gnustep-filesystem_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<a name="Sounds-1"></a>
<h4 class="subsubsection">1.5.14.15 Sounds</h4>
<p>This directory contains sound files.
</p>
<hr size="6">
<a name="Tools_002fResources"></a>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="#Sounds" title="Previous section in reading order"> < </a>]</td>
<td valign="middle" align="left">[<a href="#Configuration" title="Next section in reading order"> > </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Beginning of this chapter or previous chapter"> << </a>]</td>
<td valign="middle" align="left">[<a href="#Folders-inside-Library" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[ >> ]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[Contents]</td>
<td valign="middle" align="left">[Index]</td>
<td valign="middle" align="left">[<a href="gnustep-filesystem_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<a name="Tools_002fResources-1"></a>
<h4 class="subsubsection">1.5.14.16 Tools/Resources</h4>
<p>This directory contains resources used by tools. In GNUstep a tool
can have an associated resource bundle (a bundle only composed of
resources, with no object file), which is then installed into this
directory.
</p>
<p>For example, a tool called <code>myTool</code> will get its resource bundle
installed into
<code>GNUSTEP_SYSTEM_LIBRARY/Tools/Resources/myTool</code>.
</p>
<p>In GNUmakefiles, this location is available as the
‘<tt>Tools/Resources</tt>’ folder inside the <code>Library</code> location.
</p>
<p>In gnustep-base, you can access the resource bundle associated with
your tool by using the <code>[NSBundle +mainBundle]</code> method (this
semantic is a GNUstep extension).
</p>
<hr size="6">
<a name="Configuration"></a>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="#Tools_002fResources" title="Previous section in reading order"> < </a>]</td>
<td valign="middle" align="left">[<a href="#File-Format" title="Next section in reading order"> > </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Beginning of this chapter or previous chapter"> << </a>]</td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[ >> ]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[Contents]</td>
<td valign="middle" align="left">[Index]</td>
<td valign="middle" align="left">[<a href="gnustep-filesystem_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<a name="Configuration-1"></a>
<h2 class="section">1.6 Configuration</h2>
<p>GNUstep supports arbitrary filesystem layouts to map the locations in
the various domains to directories on the filesystem.
</p>
<p>When you run gnustep-make’s ./configure program you can use the
–with-layout=xxx flag to select the filesystem layout that you prefer
(choosing between the ones in the FilesystemLayouts directory, or
creating your own in there!).
</p>
<p>For most users, this is all they need to know.
</p>
<p>In this section we’ll go more into the details of how the filesystem
layout system internally works; this is only useful if you need to do
something advanced with it, typically because you have multiple
GNUstep installations or you are trying to do some custom packaging of
GNUstep.
</p>
<p>The filesystem layout is determined by the GNUstep configuration file
(or if that is not present, by default values built into the GNUstep
make and base packages when they were configured and built).
</p>
<p>The location of the GNUstep configuration file is built in to the make and
base packages when they are configured using the –with-config-file option
to the configure script. The path specified must be an absolute one for
the make package, but may also be a path relative to the location of the
base library itsself (as dynamically linked into applications) for the
base package.
</p>
<p>However, the location of the configuration file may also be specified
using the GNUSTEP_CONFIG_FILE environment variable, overriding the value
built in to the package, at any time when using the make package to build
or install software. Support for the environment variable may also
be enabled for the make package when its configure script is run.
</p>
<p>The GNUSTEP_CONFIG_FILE environment variable is particularly useful if
you have multiple installations and need to easily switch between
them.
</p>
<table class="menu" border="0" cellspacing="0">
<tr><td align="left" valign="top"><a href="#File-Format">1.6.1 File Format</a></td><td> </td><td align="left" valign="top">
</td></tr>
<tr><td align="left" valign="top"><a href="#Windows-_0028MINGW_0029">1.6.2 Windows (MINGW)</a></td><td> </td><td align="left" valign="top">
</td></tr>
</table>
<hr size="6">
<a name="File-Format"></a>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="#Configuration" title="Previous section in reading order"> < </a>]</td>
<td valign="middle" align="left">[<a href="#Windows-_0028MINGW_0029" title="Next section in reading order"> > </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Beginning of this chapter or previous chapter"> << </a>]</td>
<td valign="middle" align="left">[<a href="#Configuration" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[ >> ]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[Contents]</td>
<td valign="middle" align="left">[Index]</td>
<td valign="middle" align="left">[<a href="gnustep-filesystem_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<a name="File-Format-1"></a>
<h3 class="subsection">1.6.1 File Format</h3>
<p>By default, the configuration file is called GNUstep.conf; it
typically exists in /etc/GNUstep or /usr/local/etc/GNUstep (depending
on how gnustep-make was configured) on a Unix-like system. This file
is in a format suitable for being ’sourced’ by the standard unix
(Bourne) shell, consisting of lines of the form key=value, comments
(everything on a line from the first hash (#) onwards), or blank
lines.
</p>
<p>This is very convenient on unix-like systems, but needs care for windows users.
If a value contains whitespace or backslash characters (or the hash which
would start a comment) it needs to be quoted by enclosing the whole value
in single or double quotes. An alternative for values containing backslashes
(the norm for a windows path) is to double up each backslash in an unquoted
value.
</p>
<p>The valid values for the keys in the GNUstep configuration file are
documented in the GNUstep.conf file itself. Please check the
GNUstep.conf.in file in your gnustep-make distribution for an
up-to-date list of all the variables that you can change with
explanations of what they do.
</p>
<hr size="6">
<a name="Windows-_0028MINGW_0029"></a>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="#File-Format" title="Previous section in reading order"> < </a>]</td>
<td valign="middle" align="left">[ > ]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Beginning of this chapter or previous chapter"> << </a>]</td>
<td valign="middle" align="left">[<a href="#Configuration" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[ >> ]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[Contents]</td>
<td valign="middle" align="left">[Index]</td>
<td valign="middle" align="left">[<a href="gnustep-filesystem_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<a name="Windows-_0028MINGW_0029-1"></a>
<h3 class="subsection">1.6.2 Windows (MINGW)</h3>
<p>On ms-windows, for software development, you are likely to want to have an
extra configuration file. This is because of the limitations of the
make program (used to build and install software).
</p>
<p>Basically the issue is that the make package doesn’t really like the
colons and backslashes in windows paths (using them is error prone)
and can’t tolerate whitespace in file names. So you want to do all
the building in a unix-style environment using only unix-style paths.
</p>
<p>On MSYS/MinGW this is done naturally by using the standard unix-style
/usr/local/etc/GNUstep/GNUstep.conf config file, where the location is
inside the MSYS unix-style emulation system. This is what is normally
done by gnustep-make, so there is nothing special you need to do here.
</p>
<p>On the other hand, the base library (and all applications since they are
built using it) wants to work with native windows paths so that applications
behave naturally as far as the end users are concerned, and therefore needs a
configuration file containing windows-style paths rather than unix-like
ones.
</p>
<p>So, you need a different config file to be used by gnustep-base at
runtime. And this is enabled by default – in fact gnustep-base will
use ./GNUstep.conf as config file on MinGW, where the location is
relative to the location of the gnustep-base.dll.
</p>
<p>In other words, gnustep-make will use
C:/xxx/usr/local/etc/GNUstep/GNUstep.conf (where ’xxx’ is the MSYS
installation path), while gnustep-base will use a GNUstep.conf file in
the same directory as the gnustep-base.dll.
</p>
<p>This ./GNUstep.conf file normally does not even exist; gnustep-base’s
./configure will hardcode into gnustep-base.dll relative paths to all
resources (relative from the installation location of
gnustep-base.dll). If you modify the filesystem layout or relocate
gnustep-base.dll, you should add a GNUstep.conf file with
gnustep-base.dll that contains the relative locations of the
directories (relative to the location of gnustep-base.dll).
</p>
<p>It is recommended that this ./GNUstep.conf always contains relative
paths to make relocation easier.
</p>
<hr size="6">
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Beginning of this chapter or previous chapter"> << </a>]</td>
<td valign="middle" align="left">[ >> ]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="gnustep-filesystem.html#Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[Contents]</td>
<td valign="middle" align="left">[Index]</td>
<td valign="middle" align="left">[<a href="gnustep-filesystem_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<p>
<font size="-1">
This document was generated by <em>root</em> on <em>October 12, 2013</em> using <a href="http://www.nongnu.org/texi2html/"><em>texi2html 1.82</em></a>.
</font>
<br>
</p>
</body>
</html>
|