Commit graph

15 commits

Author SHA1 Message Date
Tor Lillqvist
25d114eec4 Initial experiments with static linking of (some) components / services
Start with the first service needed when running sc's filters_test:
the UniversalContentBroker. It might not be typical as ucb uses the
deprecated XSingleServiceFactory.

This commit is not at all a complete solution, far from it, just an
initial hack. Naturally once I come up with some generic enough way to
do the static linking the necessary macros etc will be added to some
general header.

The macro XSERVICEINFO_IMPL_1 (local to ucbhelper and ucb) is amended
so that it in the disable-dynamic-linking case also emits a function
whose assembler name equal contains the service name. This function
returns the XSingleServiceFactory for the service. Where the service
is instantiated we link directly to that function.

But probably this will be reworked a couple of times... Maybe it would
be better to simply have the service name specific entry point be a
pointer to the component's component_getFactory() function? Those all
have the same prototype.
2012-03-21 00:00:11 +02:00
Tor Lillqvist
29eed849a3 Further hacks: include rdb and component files in .app, pass more -env params 2012-03-21 00:00:07 +02:00
Tor Lillqvist
77017cb903 Try setting up some rc files 2012-03-21 00:00:01 +02:00
Tor Lillqvist
d37b4908ef Setenv SAL_LOG to yes for maximum logging for now 2012-03-13 02:44:01 +02:00
Tor Lillqvist
1f36132b19 Set SRC_ROOT and OUTDIR_FOR_BUILD (!) to get it get a bit further along 2012-03-08 23:35:29 +02:00
Tor Lillqvist
82a8c4cf35 Add more libs 2012-03-08 23:35:28 +02:00
Tor Lillqvist
5afda5fcdf Pass parameters to cppunittester's lo_main() 2012-03-07 07:35:34 +02:00
Tor Lillqvist
d4cd853edd Add Xcode project 2012-03-07 07:35:32 +02:00
Michael Meeks
4f688fd794 more documentation and cleanups for various modules. 2012-03-06 16:29:23 +00:00
Tor Lillqvist
8574b1f5b5 Add "clean" target 2012-03-05 02:05:25 +02:00
Tor Lillqvist
c91f279e7e Revert "Build libsb with a few dummy classes also for --disable-scripting"
Nah, these dummy classes would turn out quite complex anyway. Better
to just use ifdefs elsewhere, the number required is not that large.

This reverts commit 6d33801b44.
2012-03-05 02:05:24 +02:00
Tor Lillqvist
8d8c7739d7 More libs 2012-03-05 02:05:23 +02:00
Tor Lillqvist
061ac420bc We need CoreText 2012-03-05 02:05:19 +02:00
Tor Lillqvist
e3b45e857b Add more libs
Still doesn't link, dozens of undefines. And of course the whole
question of how to do static linking to UNO components in an elegant
fashion with the least intrusive ugly changes to source code has not
been resolved yet.
2012-03-01 01:26:21 +02:00
Tor Lillqvist
26651585c0 Start of sc filters-test for iOS 2012-02-27 14:29:59 +02:00