Both sides previous revisionPrevious revisionNext revision | Previous revision |
wiki:iconmenuinfo [2014/01/01 05:29] – [.info files] fix broken link - view sample .info file dentonlt | wiki:iconmenuinfo [2015/08/18 22:44] (current) – [Menu Entries and Icons] opera10 gordon64 |
---|
^/usr/local/share/pixmaps/opera10.png^ | ^/usr/local/share/pixmaps/opera10.png^ |
| |
so for example line becomes | so for opera, example line becomes |
| |
^X-FullPathIcon=/usr/local/share/pixmaps/geany.png^ | ^X-FullPathIcon=/usr/local/share/pixmaps/opera10.png^ |
| |
| |
[[http://tinycorelinux.net/5.x/x86/tcz/ace-of-penguins.tcz.info|View an example .info file]] | [[http://tinycorelinux.net/5.x/x86/tcz/ace-of-penguins.tcz.info|View an example .info file]] |
| |
| At Tiny Core version 5, .info files should include 12 sections: |
| -Title |
| -Description |
| -Version |
| -Author |
| -Original-site |
| -Copying-policy |
| -Size |
| -Extension-by |
| -Tags |
| -Comments |
| -Change-log |
| -Current |
===== .dep files: dependency handling ===== | ===== .dep files: dependency handling ===== |
Tinycore handles dependencies only when using tce-load or the graphical appbrowser to get extensions from the repository, both when installing and only downloading. The .dep files have no effect for manual downloads, or local extensions. It's named as the extension + .dep, for example extension1.tcz.dep. | Tiny Core handles dependencies only when using ''tce-load'' or the graphical appbrowser ''apps'' to either (1) install local extensions or (2) download extensions from the repository. The .dep files have no effect for manual downloads (using ''wget'' or any other tool) or local extensions. |
| |
| The dependency file is named by appending .dep to the extension file name. For example extension1.tcz.dep is the dependency list for exension1.tcz. |
| |
For dependencies, there are recursive resolutions (implemented as of version 2.10). Previously, the extension would contain the full names of all extensions it depends on, and all they depend on. This previous method is still compatible, but the recursive approach is the current standard. | Dependency lists are recursively resolved as of Tiny Core 2.10. It is only necessary to list first-level dependencies. Before 2.10, the dependency list would include all dependents, //their// dependents, etc. This method is still compatible, but the recursive approach is now standard. |
| |
The format is one extension per line with **no empty lines**. For example, an extension.tcz.dep might have: | The list file format is one extension per line with //no empty lines//. For example, an extension.tcz.dep might have: |
| |
^a.tcz | <code>a.tcz |
b.tcz^ | b.tcz</code> |
where a.tcz.dep might contain | where a.tcz.dep might contain only |
^c.tcz^ | <code>c.tcz</code> |
| |
Please read [[wiki:creating_extensions]] | Please see also [[wiki:creating_extensions]] |