FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Packaging for DSSS (wxD)

 
Post new topic   Reply to topic     Forum Index -> DSSS
View previous topic :: View next topic  
Author Message
afb



Joined: 26 Jan 2005
Posts: 137
Location: Sweden

PostPosted: Sun Nov 19, 2006 1:21 pm    Post subject: Packaging for DSSS (wxD) Reply with quote

I'm looking through the DSSS patch against our project,
and wondering which parts of it you want to have upstream ?
http://svn.dsource.org/projects/dsss/sources/wxd.diff

The dsss.conf and wx/libs.d are not a problem, I'm just
a little concerned about the toplevel "mkwxlibs.d" file...
Both the location of it and the dependency on DSSS etc.

wx-config.exe will be integrated next version, so that should
work on Windows too. But both the current mkwxlibs program
and dsss_build seems to be missing the platform and encoding ?


Is there a way to include those from the files, like with Make ?
(I've ported the wx-platform and wx-encoding scripts to C++)

Where can I read more about packaging for Bud and DSSS ?
(not sure if build handles C++ compiling at all, but anyway...)
Back to top
View user's profile Send private message
Gregor



Joined: 05 May 2006
Posts: 72
Location: Portland, OR

PostPosted: Tue Nov 21, 2006 5:14 pm    Post subject: Reply with quote

Sorry I didn't see this, I always forget to look at this forum Razz

If you'd like to maintain DSSS buildability upstream, that'd be great, but I'm not asking or requiring you to.

As per the top-level mkwxlibs.d:
1) It does not need to be top-level, it can be wherever you want.
2) It's used as part of the DSSS build process, so the fact that it depends on DSSS is fairly irrelevent and benign, as it's not part of the actuall installation, nor should it be part of non-DSSS builds.
3) If you want to make it obvious that it's only useful as part of the build process, you could name it something like dsss_mkwxlibs.d or whatnot.

As per the fact that mkwxlibs.d doesn't check platform and such, that's because I don't know what platform differences exist Smile. That file just generates a list of libraries from wx-config, and uses that list to make a libs.d file, which is in turn used by DSSS to link against the proper libs. If it needs to generate something different on different platforms, I can change it - it's not my field of expertise.

I'm not sure what you mean by "Is there a way to include those from the files, like Make". The .d file is ran by dsss during compilation, so you could just as easily run anything else. Again, let me be clear: mkwxlibs.d is not used in the installed version, it's just used by the build.

Bu[il]d doesn't handle the C++ part at all, it defers to make. I have documentation on using DSSS in DSSS' source (and SVN), docs/README.software_engineers . If you feel any part is short or unexplanatory, please tell me, it probably needs significant expansion Smile

Thanks for your interest.
Back to top
View user's profile Send private message AIM Address
afb



Joined: 26 Jan 2005
Posts: 137
Location: Sweden

PostPosted: Fri Feb 02, 2007 5:36 am    Post subject: DSSS/Bud support in the CVS Reply with quote

I ported mkwxlibs.d over to "wx-libs.cpp", and included wx-config-win.cpp
Hopefully it should be able to create wx/libs.d for Bud automatically now ?

There is also a typo in the dsss.conf, says "GNU" but should be "GDC":
Code:

version (GNU) {
    prebuild += COMPILER=GDC
    preinstall += COMPILER=GDC
    preclean += COMPILER=GDC
} else version(DigitalMars) {
    prebuild += COMPILER=DMD
    preinstall += COMPILER=DMD
    preclean += COMPILER=DMD
}


Do I include the dsss.conf in the wxD distribution, or do you add it ?
Either way is fine with me, I want wxD to build with DSSS (or Bud).


Edit: added dsss.conf (hopefully OK?) to
http://wxd.cvs.sourceforge.net/wxd/wxd/
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> DSSS All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group