News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Installing SDK headers with autotools

Started by TheTuxKeeper, June 08, 2006, 09:29:35 PM

Previous topic - Next topic

TheTuxKeeper

I wanted to ask which files/headers belong to the SDK ? Or can someone add an option to install them to the autotools building system ?

If I knew what has to be installed I would try to add it to autotools myself and submit a patch.
It would be much more easy to create linux packages if everything is handled by autotools. But a file list would be enough atm (or a link, I didn't find anything in the wiki).

I need it because I'm rewriting/extending my spec file for RC3, so that there will be subpackages available (main, devel, contrib and debuginfo) out of one source package if possible. But two separate packages for C::B and the SDK wouldn't be a problem either (can be handled by one spec file/.src.rpm too ;) )

Thank you :)
Daniel
Nightly builds for openSUSE

mandrav

All *.h files under sdk/ (recursive). Exception is the sdk/wxscintilla/ directory where only sdk/wxscintilla/include/wx/wxscintilla.h is needed.
Be patient!
This bug will be fixed soon...

TheTuxKeeper

Quote from: mandrav on June 08, 2006, 11:38:30 PM
All *.h files under sdk/ (recursive). Exception is the sdk/wxscintilla/ directory where only sdk/wxscintilla/include/wx/wxscintilla.h is needed.
Ok, thank you. :)

Now I can finish the spec file  :D
Nightly builds for openSUSE

TheTuxKeeper

#3
Finally I've completed the patch. I haven't done so much with autotools yet, so I ran into few dead ends, but with a delay I got it ;)

I added the option --enable-sdk to the configure script which is disabled by default. Enabling it will install all noinst_HEADERS to $INCLUDEDIR/codeblocks (I added only src/sdk/managerproxy.h in the src/sdk/Makefile.am to those headers that will be installed). The directory tree is the same as the one in src/sdk.

That's the patch [ Patch #1132 ] Added autotools option to install sdk headers

EDIT: I attached the filelist of the rpm package created with this patch.

[attachment deleted by admin]
Nightly builds for openSUSE