Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
libyab.so
#5
Exclamation 
(09-01-2015, 07:19 AM)bbjimmy Wrote:
(09-01-2015, 06:27 AM)lelldorin Wrote: This is not the right way. If i add the library into my hpkg file i hae the same size for the program as before. This does not make any sense. If i have the gatget to make yab apps smaler i need to install yablib.so as requiroment or over a reposerver as single installfile. If i add every time the library i can make a selfexecuting yab file with bound yab and source file as before too. Thats the same.

We add the library for programs ported from haiku 4.1 to pm by lorglas, because he used the latest yab version with splitted yab and program file. So he need to add this library on our repository to make his programs runable.

A other problem with requiroments is that if you remove for exaple yab with included yablib.so, alls programs who required thispackage are deinstalled too :-(. Stupid workaround

The problem with a libyab.so package is that newer yab programs may not find the new features / fixes in this lib, and there would be no way for the user to know why some yab programs run and others don't.

By uesing:

requires {
yab >= 1.7.5
}


instead of

requires {
libyab.so
}

One can insure that the program will run.


note: the 1.7.5 will change in later versions of yab, libyab.so for say 1.8 will work for a program built with 1.7.5, not the other way around.


If we package programs requiring libyab.so we open the door to users installing a program built with a later version of yab than the libyab.so that is already installed, this causing the new program not to run.

if he has yab1.7.5 installed and a new hpkg needs yab1.8.0, the new version of yab is installed and both the new and old programs will continue to run properly.

there is the problem? we need to solve this like all other libs too. every lib version need to be the version nummer included the filename and every lib version need a own package. so you can have more tgen one yablib ibstalled and all yab apps are running
Reply


Messages In This Thread
libyab.so - by bbjimmy - 08-31-2015, 04:22 AM
RE: libyab.so - by clasqm - 08-31-2015, 06:11 AM
RE: libyab.so - by lelldorin - 09-01-2015, 06:27 AM
RE: libyab.so - by bbjimmy - 09-01-2015, 07:19 AM
RE: libyab.so - by lelldorin - 09-01-2015, 09:31 PM
RE: libyab.so - by lorglas - 09-01-2015, 11:17 PM
RE: libyab.so - by clasqm - 09-02-2015, 04:59 AM
RE: libyab.so - by bbjimmy - 09-02-2015, 06:34 AM
RE: libyab.so - by lorglas - 09-02-2015, 07:24 AM
RE: libyab.so - by lelldorin - 09-02-2015, 07:43 AM
RE: libyab.so - by bbjimmy - 09-02-2015, 08:23 AM
RE: libyab.so - by lelldorin - 09-02-2015, 02:30 PM
RE: libyab.so - by bbjimmy - 09-03-2015, 01:17 AM
RE: libyab.so - by lelldorin - 09-03-2015, 03:31 AM
RE: libyab.so - by clasqm - 09-03-2015, 07:12 AM
RE: libyab.so - by lorglas - 09-03-2015, 02:37 PM
RE: libyab.so - by clasqm - 09-03-2015, 09:10 PM
RE: libyab.so - by lelldorin - 09-03-2015, 10:47 PM
RE: libyab.so - by bbjimmy - 09-04-2015, 02:50 AM
RE: libyab.so - by lelldorin - 09-04-2015, 03:25 PM
RE: libyab.so - by bbjimmy - 09-05-2015, 12:54 AM
RE: libyab.so - by clasqm - 07-25-2016, 05:29 PM
RE: libyab.so - by bbjimmy - 07-26-2016, 06:40 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)
Free Web Hosting