opkhelper 3.0 is in development, and opkhelper 1.0 will not be included in ProteanOS 1.0.
Many packages in ProteanOS still use SPF 1.0 and opkhelper 1.0. They need to be updated to SPF 2.0 and opkhelper 3.0 to be released with ProteanOS 1.0.
The following packages currently need to be upgraded:
dbus(updated, not completed)
glib-2.0(updated, not completed)
libav(updated, not completed)
See the SPF 2.0 specification for a list of changes introduced since SPF 1.0.
These are the most common changes to update packages to SPF 2.0:
- Remove the old
Versionsource package fields.
- Remove the old
Packagebinary package field.
- Add a
Platformbinary package field (usually with the value "
buildmakefiles to use the new
- Add a file called "
docs" to exactly one binary package metadata directory. This file may be empty.
See the manual pages for opkhelper 3.0 utilities to learn more about their options.
These are the most common changes to update packages to opkhelper 3.0 and to use multiarch library directories:
- Remove calls to obsolete opkhelper 1.0 utilities, e.g.
- Update arguments given to opkhelper utilities.
oh-installfilesno longer needs a list of packages, and
oh-stripno longer needs a list of files.
- Use new
oh-auto*build system utilities.
- Change commands like "
rm -f /usr/lib/lib….la" to "
rm -f /usr/lib/*/lib….la".
- Change "
/usr/lib/lib….so…" patterns to "
- Add "
Finally, add a
changelog entry documenting the changes. Be
sure to add "
trunk" (the distribution) to the end of the first line of the new
entry. Also make sure the version identifier is properly formed.
Following is an example changelog entry (from zlib):
zlib (1.2.7+sip1-1) trunk * New upstream version. * Update to SPF 2.0 and opkhelper 3.0. * Use multiarch library directories. * Don't distribute IETF RFCs (SIP compliance). -- "P. J. McDermott" <firstname.lastname@example.org> Wed, 03 Apr 2013 15:06:09 -0400
See this commit for an example of the changes.