Ticket #80: hints.diff

File hints.diff, 4.0 kB (added by Jan-Nik, 7 months ago)
  • doc/root_names

    old new  
    33Definitions 
    44----------- 
    55 
    6 Package:       An Autopackage .package file. 
    7 Software:      The software itself. 
     6Package:       An Autopackage .package file. 
     7Software:      The software itself. 
    88 
    99 
    1010What is a root name? 
     
    139139number or a package version number. So: 
    140140 
    141141require "@gtk.org/gtk" 1             # valid 
    142 require "@gtk.org/gtk" 1.2          # valid 
     142require "@gtk.org/gtk" 1.2           # valid 
    143143require "@gtk.org/gtk:2.0.0:1" 1     # invalid 
    144144 
    145145MAJOR and REVISION are of course the required major and revision numbers. 
     
    202202 
    203203ROOTNAME may or may not contain a software version number. 
    204204If it does: 
    205        MAJOR and REVISION are ignored. 
    206        Search the harddisk and network for a packages that matches the given 
    207        version number. Out of those packages, select the one with the highest 
    208        package number. 
     205        MAJOR and REVISION are ignored. 
     206        Search the harddisk and network for a packages that matches the given 
     207        version number. Out of those packages, select the one with the highest 
     208        package number. 
    209209If it doesn't: 
    210        MAJOR will be a required parameter and REVISION an optional one. 
    211        1. Search the harddisk and network for packages that match MAJOR. 
    212           If REVISION is specified: 
    213                1.1. Out of those packages, select the ones with a revision 
    214                     version number that is equal or higher than REVISION. 
    215                     Then select the ones with the highest REVISION number. 
    216        2. Select the ones with the highest software number. 
    217        3. Select the ones with the highest package number. 
     210        MAJOR will be a required parameter and REVISION an optional one. 
     211        1. Search the harddisk and network for packages that match MAJOR. 
     212           If REVISION is specified: 
     213                1.1. Out of those packages, select the ones with a revision 
     214                     version number that is equal or higher than REVISION. 
     215                     Then select the ones with the highest REVISION number. 
     216        2. Select the ones with the highest software number. 
     217        3. Select the ones with the highest package number. 
    218218 
    219219 
    220220Example: 
     
    263263------- 
    264264Are you confused with all the different version numbers? We have: 
    265265 
    266 Software version:      The version number of the software, as defined by the 
    267                        maintainer. Tends to be put on websites etc 
     266Software version:       The version number of the software, as defined by the 
     267                        maintainer. Tends to be put on websites etc 
    268268 
    269 Package version:       The number of the package. Similar to RPM's Release 
    270                        number. Used only in the specfile. Used for "bugfix 
    271                        releases" of a package itself. 
     269Package version:        The number of the package. Similar to RPM's Release 
     270                        number. Used only in the specfile. Used for "bugfix 
     271                        releases" of a package itself. 
    272272 
    273 Interface version:     Version number used to determine the interface 
    274                        compatibility of the software. 
    275                        + Major 
    276                        + Revision 
     273Interface version:      Version number used to determine the interface 
     274                        compatibility of the software. 
     275                        + Major 
     276                        + Revision 
  • doc/DEVELOPER-HINTS

    old new  
    7777 
    7878main/doc/api - automatically generated API documentation 
    7979main/doc - general doc files 
    80 main/makeinstaller - the script that builds .package files 
     80main/makepackage - the script that builds .package files 
    8181main/share/apkg-ttyfe - the terminal frontend program 
    8282main/share/apkg-funclib - general functions that don't fit anywhere else, and the file you import to get all the rest of the code  
    8383main/share/apkg-script-utils - the bulk of the public API, these functions are meant to be used from prep and install scripts 
     
    127127 
    128128For more information on this, see the document main/doc/root_names 
    129129 
    130  
    131