Editing Maemo-releases
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
- | |||
- | |||
== The rationale behind maemo-release == | == The rationale behind maemo-release == | ||
- | The | + | The maemo-release package seeks to address the situation wherein a source package is forked into gregale/bora/chinook/diablo/fremantle versions of itself because one set of Build-Depends does not work for all distributions. |
Example: Fremantle provides libgstfarsight0.10-dev, whereas previous distributions do not. pidgin needs to Build-Depend on it for voice/video support to be compiled in during the build process. However, the libgstfarsight0.10-dev package does not exist in any previous distribution. | Example: Fremantle provides libgstfarsight0.10-dev, whereas previous distributions do not. pidgin needs to Build-Depend on it for voice/video support to be compiled in during the build process. However, the libgstfarsight0.10-dev package does not exist in any previous distribution. | ||
- | This results in having to provide a different | + | This results in having to provide a different debian/control file for the various distributions, which in turn forces one to make a different debian/changelog file for the various distributions. At this point, different distributions have different source packages. |
- | To prevent this one reason for forking the source package, we need the maemo-release package. Then, knowing which distribution(s) contain a needed package foo, we can create an appropriate | + | To prevent this one reason for forking the source package, we need the maemo-release package. Then, knowing which distribution(s) contain a needed package foo, we can create an appropriate debian/control entry. |
Example: Suppose Bora and Diablo contain package foo, but the other distributions do not. The corresponding debian/control Build-Depends entry will be: | Example: Suppose Bora and Diablo contain package foo, but the other distributions do not. The corresponding debian/control Build-Depends entry will be: | ||
- | < | + | <code> |
- | Build-Depends: package1-dev, | + | Build-Depends: package1-dev, |
- | + | package2-dev, | |
- | + | ..., | |
- | + | foo | maemo-release (= 1.0.0) | maemo-release (= 3.0.0) | maemo-release (= 5.0.0), | |
- | + | ..., | |
- | + | packagen-dev | |
- | </ | + | </code> |
This way you can describe intervals of distributions wherein a certain package has become available. Examples: | This way you can describe intervals of distributions wherein a certain package has become available. Examples: | ||
Line 38: | Line 36: | ||
|- | |- | ||
|- | |- | ||
- | |colspan="5" style="border:1px solid;" | Example: <code>foo | maemo-release (< | + | |colspan="5" style="border:1px solid;" | Example: <code>foo | maemo-release (< 2.0.0) | maemo-release (> 4.0.0)</code> |
|- | |- | ||
| align="center" style="background:red; color:white" colspan="2" | foo is absent | | align="center" style="background:red; color:white" colspan="2" | foo is absent | ||
Line 54: | Line 52: | ||
|- | |- | ||
|} | |} | ||
- | |||
- | |||
- | |||
- |
Learn more about Contributing to the wiki.