09-01-2015, 02:34 PM
(09-01-2015, 12:59 PM)clasqm Wrote: I actually like lorglas' solution #3, but it does not remove the problem of library versioning. Does the packaging system allow the following?
requires {
lib:libyab.so >=1.7.5
}
I haven't actually seen that combination.
I'm looking into how this will work, but this is what I expect it will look like.
Building yab1.xxx wil build a libyab.so.1.xxx
I will add a libyab .hpoackage that only packages libyab.so.1.xxx for those who do not have yab installed. seems like a lot of work for little gain.
requires {
lib:libyab.so >=1.7.5
}
versus
requires {
yab >=1.7.5
}
Doesn't save much disk space.
The yab package has the yab sources and the yab binary as well as libyab.so, but does not include the files for yab-IDE or the BuildFactory.
When this change was originally done, We, Jessicah and me, thought at the yab package would be used to insure libyab.so is installed on the system since libyab,so would be backward compatible with older versions on yab and this would mean one less required .hpkg file for the yab language.