Re: [Tracker] Migrating tracker-utils/ into one 'tracker' command
- From: Philip Van Hoof <philip codeminded be>
- To: Martyn Russell <martyn lanedo com>, Philip Van Hoof <philip codeminded be>, Tracker mailing list <tracker-list gnome org>
- Subject: Re: [Tracker] Migrating tracker-utils/ into one 'tracker' command
- Date: Mon, 06 Oct 2014 15:51:00 +0200
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 6/10/2014 15:21, Martyn Russell wrote:
Hi,
In principal it's possible, but the question is more about "where"
this is done. This is probably more of a packaging job than
anything (other than 'tracker' itself handling it (which is trivial
to some point).
a Makefile.am can't make symlinks in an install target?
The second thing is, this actually doesn't work with
tracker-control where we've completely split the command up into
subcommands that make more sense. Supporting that will be a bit
more difficult and not worth the effort I would say.
if (strcmp($name, "control") == 0) {
if (argv[2] in options for index) {
use index for argv[1]
}
if (argv[2] in options for daemon) {
use daemon for argv[1]
}
if (argv[2] in --hard, --soft or --config) {
use reset for argv[1]
}
etc
}
Kind regards,
Philip
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (MingW32)
iQEcBAEBAgAGBQJUMp5EAAoJEEP2NSGEz4aDFi0IAJpI8sx1aKbjXcVs0UV4nk5H
XX8kQHHgKuoQlr5dswdFEDAAmQHUmfjE++yn4cJMwsa9sBZPCSBKiLrb/galuojh
hJpj5SO9/OKO0NwspfMFK7ZtJ/5kLub4Q6kKF4UFthi34TtRq36uI6f2heM2dRwp
AZYsuLYp2JdlghAb5pNOhSMr6gSsuxXJfdolxAr/wXX+6FmjQXM4GQkoABf+R+Sa
MeeAY4ZgdMWRfrqFDFpUo6rC7xhJ+SR1ckv0rqIAumK7MgBbTOnbgWaHtsIiIx7a
pdsMbnMlQZ9wJJ95KAxw6pJGlKLDDotvcnJ0ZTiThlAHspU+JoqEg8rcK2thEf0=
=HfDB
-----END PGP SIGNATURE-----
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]