Gentoo Archives: gentoo-guis

From: "René 'Necoro' Neumann" <lists@××××××.eu>
To: gentoo-guis@l.g.o
Subject: Re: [gentoo-guis] One backend for alle portage GUIs
Date: Thu, 08 Nov 2007 17:43:35
Message-Id: 47334A9C.4080101@necoro.eu
In Reply to: [gentoo-guis] One backend for alle portage GUIs by "René 'Necoro' Neumann"
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Hi all,
5
6 I just worked a little bit at the central catapult library:
7
8 It now defines several variables (CATAPULT_SYSTEM_INTERFACE,
9 CATAPULT_PACKAGE_INTERFACE,..., CATAPULT_PACKAGE_BUS, ...) which might
10 be used in providers and other applications using dbus to not have to
11 copy'n'paste all the DBus specifications.
12
13 Also available is the function "get_dbus_address(backend_t)" which gets
14 a backend_t (DEFAULT, PORTAGE, PALUDIS, ...) and returns the appropriate
15 DBus address. This way the applications can either use the system
16 default (DEFAULT) or directly announce on of the other providers.
17 Currently the default is hard-coded to "portage" but it is meant to be
18 read out of a central configuration file in the future. (Feel free to
19 implement this ;)).
20
21 I know - this is really trivial: but I wanted more like implement a
22 basic build system:
23
24 I therefore used cmake (looks better than the normal autohell ... I
25 tried SCons too, but did not really like it though I _am_ a python
26 fanboy ^^).
27 I also added a first wrapper (to Python) using SWIG. SWIG has the
28 advantage, that the same interface file can be used to create a whole
29 bunch of wrappers (tcl, perl, ruby, ... (see "equery u swig" for whole
30 list ;))). And it is easy to use together with cmake, too.
31
32 Yeah ... the ebuilds are up2date to be used, so try it out, if you like
33 ;) ...
34
35 Regards,
36 Necoro
37 -----BEGIN PGP SIGNATURE-----
38 Version: GnuPG v1.4.7 (GNU/Linux)
39 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
40
41 iD8DBQFHM0qc4UOg/zhYFuARAn34AJ9NUiAr3dU59KvXhNZeT8ZcBg6StwCfd6hf
42 izRNn7/1nmvccDabTp/Xlh0=
43 =rCFR
44 -----END PGP SIGNATURE-----
45 --
46 gentoo-guis@g.o mailing list