|
View:
New views
7 Messages
—
Rating Filter:
Alert me
|
|
|
Library name change...How would people feel about just changing the names of all of the libraries
to, eg, libkst2math, etc, to totally avoid the issues of compiling 2.0 when 1.x is installed. It seems like a hack, but... life is short. Opinions/advice? cbn _______________________________________________ Kst mailing list Kst@... https://mail.kde.org/mailman/listinfo/kst |
|
|
Re: Library name change...On Fri, Oct 02, 2009 at 04:31:05PM -0400, Barth Netterfield wrote:
> How would people feel about just changing the names of all of the libraries > to, eg, libkst2math, etc, to totally avoid the issues of compiling 2.0 when > 1.x is installed. > > It seems like a hack, but... life is short. > > Opinions/advice? > > cbn Does anyone other than kst ever link to these libraries? If not, I don't see why you couldn't name them after, say, your former graduate students. Aren't these rebuilt wiht every kst release? Why not embed the full version string in the file name. Then you're certain you're getting the right library. -dvw -- Don Wiebe dvw@... Department of Physics and Astronomy University of British Columbia 6224 Agricultural Road Tele: +1-604-822-2585 University Endowment Lands, BC Canada V6T 1Z1 http://ketiltrout.net/ _______________________________________________ Kst mailing list Kst@... https://mail.kde.org/mailman/listinfo/kst |
|
|
Re: Library name change...On Friday 02 October 2009 06:50:55 pm D. V. Wiebe wrote:
> > Does anyone other than kst ever link to these libraries? They are used for linking to plugins and datasources, which someone, might write. > If not, I > don't see why you couldn't name them after, say, your former graduate > students. Hmmm... interesting. > Aren't these rebuilt wiht every kst release? Why not embed > the full version string in the file name. Then you're certain you're > getting the right library. Maybe... _______________________________________________ Kst mailing list Kst@... https://mail.kde.org/mailman/listinfo/kst |
|
|
Re: Library name change...On Sat, Oct 03, 2009 at 02:36:55AM -0400, Barth Netterfield wrote:
> On Friday 02 October 2009 06:50:55 pm D. V. Wiebe wrote: > > > > Does anyone other than kst ever link to these libraries? > > They are used for linking to plugins and datasources, which someone, might > write. In that case, adding "2" might be a good idea anyways. Presumably if kst2 can't be linked against kst1 libraries, kst2 plugins couldn't be able to either? Unless the APIs are similar enough that porting from 1 to 2 is "easy"...? > > If not, I > > don't see why you couldn't name them after, say, your former graduate > > students. > > Hmmm... interesting. I know! Good idea, right? Cheers, -dvw -- Don Wiebe dvw@... Department of Physics and Astronomy University of British Columbia 6224 Agricultural Road Tele: +1-604-822-2585 University Endowment Lands, BC Canada V6T 1Z1 http://ketiltrout.net/ _______________________________________________ Kst mailing list Kst@... https://mail.kde.org/mailman/listinfo/kst |
|
|
Re: Library name change...I thought in such a case one would use names like libkstmath.so.2
instead of libkst2math.so (under Unix, no idea how that works under Windows though). Sticking to the standards seems preferable to me, as long as it also works under Windows. By the way, kst 2.0.0 beta3 compiles fines out of the box under Windows with Qt Creator (not really tested yet, but it's nice to have it compile :-)) Nicolas > How would people feel about just changing the names of all of the > libraries > to, eg, libkst2math, etc, to totally avoid the issues of compiling 2.0 > when > 1.x is installed. > > It seems like a hack, but... life is short. > > Opinions/advice? > > cbn > _______________________________________________ > Kst mailing list > Kst@... > https://mail.kde.org/mailman/listinfo/kst Kst mailing list Kst@... https://mail.kde.org/mailman/listinfo/kst |
|
|
Re: Library name change...On Tuesday 06 October 2009 03:47:14 Brisset, Nicolas wrote:
> I thought in such a case one would use names like libkstmath.so.2 > instead of libkst2math.so (under Unix, no idea how that works under > Windows though). I agree. The problem is, under some distributions (eg, slackware, or suse), if /usr/lib/libkstmath.so.1 is installed at build time, it is picked up by the linker. I can't figure out how to tell the linker to only look in the build directory for some libraries, and not for others. Interestingly enough, if the linker links to 2.0.0, then even if the 1.x libraries are later installed, everything works fine. This is has actually been a long time problem. If you have kst installed on your system, and do a build, the linker links to the libraries in /usr/lib, rather than the ones in the build directory... If we were maintaining binary compatibility, this wouldn't be a problem for users upgrading - the install stage would just overwrite the old libraries and no-one would be the wiser. But it is a pain if you are developing kst on the same machine you are using it, or if we break binary compatibility, which we do from time to time. I have seen distributions do this name change hack to get around these sorts of troubles before, so I think there may not be a clean solution. > Sticking to the standards seems preferable to me, as > long as it also works under Windows. By the way, kst 2.0.0 beta3 > compiles fines out of the box under Windows with Qt Creator (not really > tested yet, but it's nice to have it compile :-)) My son is hoping to prepare a windows package to go along with the release.... which will be... soon. cbn _______________________________________________ Kst mailing list Kst@... https://mail.kde.org/mailman/listinfo/kst |
|
|
Re: Library name change...> > Sticking to the standards seems preferable to me, as
> > long as it also works under Windows. By the way, kst 2.0.0 beta3 > > compiles fines out of the box under Windows with Qt Creator (not really > > tested yet, but it's nice to have it compile :-)) > > My son is hoping to prepare a windows package to go along with the release.... > which will be... soon. Cool. Please tell Josh to make sure that there are many silly options in the install wizard which everyone will always just keep clicking next as fast as possible until it starts to install. That's the Windows Way™. ;-) -- "Ice Cream has no bones." -------------------------- Matthew Truch Department of Physics and Astronomy University of Pennsylvania matt@... http://matt.truch.net/ _______________________________________________ Kst mailing list Kst@... https://mail.kde.org/mailman/listinfo/kst |
| Free embeddable forum powered by Nabble | Forum Help |