1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-31 16:21:26 +03:00
Commit Graph

232 Commits

Author SHA1 Message Date
Zbigniew Jędrzejewski-Szmek
5c23128dab meson: build systemd using meson
It's crucial that we can build systemd using VS2010!

... er, wait, no, that's not the official reason. We need to shed old systems
by requring python 3! Oh, no, it's something else. Maybe we need to throw out
345 years of knowlege accumulated in autotools? Whatever, this new thing is
cool and shiny, let's use it.

This is not complete, I'm throwing it out here for your amusement and critique.

- rules for sd-boot are missing. Those might be quite complicated.

- rules for tests are missing too. Those are probably quite simple and
  repetitive, but there's lots of them.

- it's likely that I didn't get all the conditions right, I only tested "full"
  compilation where most deps are provided and nothing is disabled.

- busname.target and all .busname units are skipped on purpose.

  Otherwise, installation into $DESTDIR has the same list of files and the
  autoconf install, except for .la files.

It'd be great if people had a careful look at all the library linking options.
I added stuff until things compiled, and in the end there's much less linking
then in the old system. But it seems that there's still a lot of unnecessary
deps.

meson has a `shared_module` statement, which sounds like something appropriate
for our nss and pam modules. Unfortunately, I couldn't get it to work. For the
nss modules, we need an .so version of '2', but `shared_module` disallows the
version argument. For the pam module, it also didn't work, I forgot the reason.

The handling of .m4 and .in and .m4.in files is rather awkward. It's likely
that this could be simplified. If make support is ever dropped, I think it'd
make sense to switch to a different templating system so that two different
languages and not required, which would make everything simpler yet.

v2:
- use get_pkgconfig_variable
- use sh not bash
- use add_project_arguments

v3:
- drop required:true and fix progs/prog typo

v4:
- use find_library('bz2')
- add TTY_GID definition
- define __SANE_USERSPACE_TYPES__
- use join_paths(prefix, ...) is used on all paths to make them all absolute

v5:
- replace all declare_dependency's with []
- add more conf.get guards around optional components

v6:
- drop -pipe, -Wall which are the default in meson
- use compiler.has_function() and compiler.has_header_symbol instead of the
  hand-rolled checks.
- fix duplication in 'liblibsystemd' library name
- use the right .sym file for pam_systemd
- rename 'compiler' to 'cc': shorter, and more idiomatic.

v7:
- use ENABLE_ENVIRONMENT_D not HAVE_ENVIRONMENT_D
- rename prefix to prefixdir, rootprefix to rootprefixdir
  ("prefix" is too common of a name and too easy to overwrite by mistake)
- wrap more stuff with conf.get('ENABLE...') == 1
- use rootprefix=='/' and rootbindir as install_dir, to fix paths under
  split-usr==true.

v8:
- use .split() also for src/coredump. Now everything is consistent ;)
- add rootlibdir option and use it on the libraries that require it

v9:
- indentation

v10:
- fix check for qrencode and libaudit

v11:
- unify handling of executable paths, provide options for all progs

  This makes the meson build behave slightly differently than the
  autoconf-based one, because we always first try to find the executable in the
  filesystem, and fall back to the default. I think different handling of
  loadkeys, setfont, and telinit was just a historical accident.

  In addition to checking in $PATH, also check /usr/sbin/, /sbin for programs.
  In Fedora $PATH includes /usr/sbin, (and /sbin is is a symlink to /usr/sbin),
  but in Debian, those directories are not included in the path.

  C.f. https://github.com/mesonbuild/meson/issues/1576.

- call all the options 'xxx-path' for clarity.
- sort man/rules/meson.build properly so it's stable
2017-04-23 21:47:26 -04:00
AsciiWolf
5bf1386624 l10n: update Czech Translation (#5776) 2017-04-21 08:38:37 +02:00
Martin Pitt
91dacd4451 po: fix typo in pt_BR
See https://github.com/systemd/systemd/pull/5694#issuecomment-291446842
2017-04-04 12:08:46 +02:00
Rafael Fontenelle
259a751691 Update Brazilian Portuguese translation (#5694) 2017-04-03 23:29:09 +02:00
hanklank
231f1a7603 Updated Swedish translation (#5614) 2017-03-19 23:56:34 -04:00
AsciiWolf
3f33236b6b l10n: fix file permissions of Indonesian translation 2017-02-07 19:02:01 +01:00
AsciiWolf
fabb53c2c9 l10n: fix strings formatting in Czech translation 2017-02-07 19:00:24 +01:00
Jakub Wilk
ebc0a0b72c po: Fix invalid date in Croatian translation (#5147) 2017-01-24 21:45:58 -05:00
Walter Garcia-Fontes
1344dfd9c5 l10n: update LINGUAS to add the Catalan language (#5008)
Added "ca" to LINGUAS
2017-01-03 21:02:12 +01:00
Walter Garcia-Fontes
88c745d705 Catalan translation (#5003)
Contributing the translation into Catalan of systemd
2017-01-02 12:07:59 +01:00
AsciiWolf
dc68fed25d l10n: update line numbers in Czech translation (#4776) 2016-11-30 15:59:19 -05:00
Piotr Drąg
100a5f579d catalog,po: update Polish translation (#4290) 2016-10-05 22:59:37 +02:00
andhe
20b8e666d3 po: updated Swedish translation (#4241)
* po: updated Swedish translation

* po: swedish: fix login vs write logs to confusion

Since previous commit (updated messages) there's now a mix of
different translation meanings for the same thing.
While both translations are technically correct I think the
meaning of the original messages are probably "to login" rather
than "to write log messages to". This commit switches all
translations to the "login" meaning.
2016-10-04 15:36:03 +02:00
AsciiWolf
a4d373452d l10n: update Czech translation (#4203) 2016-09-23 07:11:26 +02:00
Daniel Maixner
86c2fc21f9 l10n: add Czech Translation (#4195) 2016-09-21 14:42:35 +02:00
Balázs Úr
3e3ddccf08 Updated Hungarian translation (#4026) 2016-08-23 20:08:35 +02:00
Daniele Medri
01a326affd PO: italian updates (#3761) 2016-07-20 13:02:28 +02:00
Andika Triwidada
a29337d186 Added Indonesian translation (#3615) 2016-06-28 10:14:27 +02:00
Viktar Vaŭčkievič
fec2b09791 l10n: update belarusian translation (#3482) 2016-06-10 12:36:10 +02:00
Muhammet Kara
41a92c35c7 Updated Turkish translation (#3477) 2016-06-09 17:43:18 +02:00
Pablo Lezaeta Reyes [pˈaβ̞lo lˌe̞θaˈeta rˈejɛ]
867476a30a Update spanish po file (#3463) 2016-06-09 09:38:17 +02:00
Alexander Shopov
efe57fc827 Sort LINGUAS similar to Makefile.am:dist_catalog_DATA 2016-05-14 14:00:02 +03:00
Alexander Shopov
c66c2c7c4f po, catalog - add Bulgarian translation 2016-05-14 13:57:34 +03:00
Daniele Medri
13581d151c italian: .po updates 2016-05-07 04:58:30 +02:00
muzena
2b6c7113ad Add croatian translation, hr.po and systemd.hr.catalog files 2016-04-27 17:13:29 +02:00
Sylvain Plantefève
3b2df79b66 po: Update French translation (#3108) 2016-04-24 19:56:42 -04:00
Piotr Drąg
530d4b7064 catalog,po: update Polish translation (#3100) 2016-04-24 12:31:10 +02:00
Mingcong Bai
0e44ceee3b po/zh_CN: attempt to refresh zh_CN translation 2016-03-01 20:40:18 -07:00
Jeff Huang
9f2bbf5d84 Update zh_TW translation. 2016-02-12 11:52:02 +08:00
nnz1024
a2a8c9247a po: updated Russian translation 2016-02-02 21:15:12 +03:00
Daniel Korostil
7c1336b0d9 Updated Ukrainian translation 2016-01-11 13:55:48 +02:00
Gabor Kelemen
e7df98beb4 Update Hungarian translation 2016-01-02 23:16:52 +01:00
Lennart Poettering
b591613f2e Merge pull request #1983 from dmedri/master
Minor updates on po/ files + it.po update
2015-11-22 22:34:37 +01:00
Daniele Medri
871363de54 Italian: language update 2015-11-22 17:03:53 +01:00
Daniele Medri
00ff00260a translations: update-po 2015-11-22 16:43:39 +01:00
Zbigniew Jędrzejewski-Szmek
36b4a7ba55 Remove snapshot unit type
Snapshots were never useful or used for anything. Many systemd
developers that I spoke to at systemd.conf2015, didn't even know they
existed, so it is fairly safe to assume that this type can be deleted
without harm.

The fundamental problem with snapshots is that the state of the system
is dynamic, devices come and go, users log in and out, timers fire...
and restoring all units to some state from the past would "undo"
those changes, which isn't really possible.

Tested by creating a snapshot, running the new binary, and checking
that the transition did not cause errors, and the snapshot is gone,
and snapshots cannot be created anymore.

New systemctl says:
Unknown operation snapshot.
Old systemctl says:
Failed to create snapshot: Support for snapshots has been removed.

IgnoreOnSnaphost settings are warned about and ignored:
Support for option IgnoreOnSnapshot= has been removed and it is ignored

http://lists.freedesktop.org/archives/systemd-devel/2015-November/034872.html
2015-11-10 19:33:06 -05:00
Dongsu Park
a7d99d14d9 po: update Korean translation
update Korean translation for better understanding.

Reference: https://github.com/systemd/systemd/pull/1388
2015-11-03 13:22:25 +01:00
Boyuan Yang
e0c7a4e07d l10n: add zh_CN translation. 2015-10-28 16:40:41 +08:00
Jan Synacek
05104d9c99 po/da: use unix line endings 2015-10-12 09:56:24 +02:00
Daniel Mack
35edaa07cf Merge pull request #1491 from Danielmachon/danish-translation
po: added danish translation
2015-10-08 11:32:05 +02:00
Danielmachon
2144918c63 po: added danish translation for systemd
po: added danish translation for systemd

Update da.po

fixed syntax errors
2015-10-08 10:31:21 +02:00
Марко М. Костић (Marko M. Kostić)
bd3be92f83 po, catalog: added Serbian translation. 2015-10-03 22:07:29 +02:00
Seong-ho Cho
789cbe8fb8 add a new Korean translation 2015-09-25 23:56:14 +09:00
Sylvain Plantefève
88660ac6e8 po: update french translation 2015-09-22 00:25:13 +02:00
Lennart Poettering
4b8b34855e Merge pull request #1305 from mrkara/master
[l10n] Added Turkish translation
2015-09-20 19:14:37 +02:00
nazgul77
5252cfb433 Update German translation 2015-09-20 14:54:34 +02:00
Muhammet Kara
7c54a17a10 [l10n] Added Turkish translation 2015-09-19 08:35:32 +03:00
Fran Dieguez
4f95221612 Add Galician language to LINGUAS file 2015-09-15 00:20:51 +02:00
Fran Dieguez
fd59243cf1 Added Galician translations 2015-09-15 00:20:21 +02:00
Viktar Vauchkevich
47130da825 po: update Belarusian translation 2015-09-12 16:47:18 +03:00
Piotr Drąg
eb3ef64961 Updated Polish translation 2015-09-06 20:42:16 +02:00
Michael Chapman
88ced61bf9 core: pass details to polkit for some unit actions
The following details are passed:

- unit: the primary name of the unit upon which the action was
        invoked (i.e. after resolving any aliases);
- verb: one of 'start', 'stop', 'reload', 'restart', 'try-restart',
        'reload-or-restart', 'reload-or-try-restart', 'kill',
        'reset-failed', or 'set-property', corresponding to the
        systemctl verb used to invoke the action.

Typical use of these details in a polkit policy rule might be:

  // Allow alice to manage example.service;
  // fall back to implicit authorization otherwise.
  polkit.addRule(function(action, subject) {
      if (action.id == "org.freedesktop.systemd1.manage-units" &&
          action.lookup("unit") == "example.service" &&
          subject.user == "alice") {
          return polkit.Result.YES;
      }
  });

We also supply a custom polkit message that includes the unit's name and
the requested operation.
2015-09-06 00:07:17 +10:00
Piotr Drąg
ab6ee33fce po: update Polish translation 2015-08-29 20:33:02 +02:00
Lennart Poettering
ff99498535 po: run make update-po 2015-06-19 12:47:39 +02:00
Daniel Mack
0c33502bed Merge pull request #154 from dmedri/master
Italian .po updates
2015-06-15 14:43:15 +02:00
Viktar Vauchkevich
a220f3583c l10n: Add Belarusian translation 2015-06-15 00:13:43 +03:00
Jeff Huang
43633588f9 po: fix zh_TW mailing list again. 2015-06-13 10:56:28 +08:00
Jeff Huang
1f41b33b86 po: fix zh_TW mailing list. 2015-06-12 21:14:04 +08:00
Jeff Huang
ea01a90df4 po,catalog: add zh_TW translation. 2015-06-12 20:52:15 +08:00
Daniele Medri
264c0eb76d All languages .po files - general update 2015-06-10 23:27:59 +02:00
Daniele Medri
cec5b4a1af Italian .po updates 2015-06-10 23:19:26 +02:00
Pablo Lezaeta Reyes [pˈaβ̞lo lˌe̞θaˈeta rˈejɛ]
6f54f5373a Separate the % sign from the number
In spanish the % sign is supposed to be separated from the number [1 and 2 both in spanish] so I separated the %% that draw the percentage sign from the number.

[1] http://www.fundeu.es/recomendacion/el-se-escribe-separado-de-la-cifra-a-la-que-acompana-802/
[2] http://aplica.rae.es/orweb/cgi-bin/v.cgi?i=QGkHLBzKcEgZrQyD

PD: I know that probably this is not the propper place but I don't know where submit the fix or if I do it right
2015-06-02 15:07:18 +02:00
Kay Sievers
32fea77178 build-sys: remove left-over 2015-05-05 22:06:04 +02:00
Daniel Mustieles
9211e87514 Update Spanish translation
https://bugs.freedesktop.org/show_bug.cgi?id=90163
2015-04-24 09:14:01 -04:00
Piotr Drąg
304e64e638 po: update Polish translation
https://bugs.freedesktop.org/show_bug.cgi?id=89989
2015-04-12 16:59:04 -04:00
Sylvain Plantefève
431c3b6bab po: update French translation
Add strings introduced by 5bdf22430e
2015-04-08 02:42:50 +02:00
Sergey Ptashnick
c03d5c8e76 po: update Russian translation
Add strings for importd, following 587fec427c.
2015-03-24 00:12:03 -04:00
Sebastian Rasmussen
0ea37920e7 po: updated Swedish translation
https://bugs.freedesktop.org/show_bug.cgi?id=89598
2015-03-19 21:55:35 -04:00
Piotr Drąg
9b7d4d2e92 po: update Polish translation
https://bugs.freedesktop.org/show_bug.cgi?id=89582
2015-03-15 20:47:36 -04:00
Alex Puchades
946c950fec po: add Spanish translation
https://bugs.freedesktop.org/show_bug.cgi?id=89559
2015-03-13 00:26:03 -04:00
Sylvain Plantefève
f699ebe130 po: update French translation
Add strings for importd, following 587fec427c
2015-03-09 19:27:35 +01:00
Sergey Ptashnick
27a9986b20 po: update Russian translation - pluralize fsckd
Correctly pluralize strings for fsckd.
2015-03-08 12:19:33 -04:00
Sergey Ptashnick
93b06fd0f0 po: update Russian translation - importd
Add strings for importd, by analogy with 1eb37584a8.
2015-03-08 10:46:41 -04:00
Sylvain Plantefève
1eb37584a8 po: update French translation 2015-03-06 18:58:34 -05:00
Sergey Ptashnick
b522aee0e2 po: update Russian translation
Add some forgotten strings for systemd, logind and machined.
2015-03-03 09:18:48 -05:00
Piotr Drąg
f921eca259 po: update Polish translation
https://bugs.freedesktop.org/show_bug.cgi?id=89230
2015-02-25 00:00:07 -05:00
Daniele Medri
59a0d2da3e po: update Italian translation 2015-02-24 23:59:09 -05:00
Zbigniew Jędrzejewski-Szmek
ec574c5eb0 po: simplify one sentence 2015-02-24 23:55:35 -05:00
Zbigniew Jędrzejewski-Szmek
e403d1310a po: fix typo in French translation
Was already fixed elsewhere in 6be9b36068.
2015-02-24 23:53:59 -05:00
Sylvain Plantefève
d3ca673849 po: update French translation 2015-02-22 20:52:30 +01:00
Sergey Ptashnick
9401866ec1 po: update Russian translation
Add strings for fsckd.
2015-02-19 08:16:17 +01:00
Martin Pitt
09c3a9b67d po: Update German translation 2015-02-18 17:09:15 +01:00
Didier Roche
d5e41df6d7 Refresh po files
Also, add new plymouth fsckd translated strings in french.
Refreshed with "make update-po".
2015-02-18 16:33:46 +01:00
Didier Roche
b0d9246486 Translate fsckd messages for plymouth
For plymouth themes not supporting i18n (like .script), send translated
messages to display to user, which is equivalent to the sent machine
readable data.
2015-02-18 16:33:46 +01:00
Christian Kirbach
38ab096869 po: Update German translation
https://bugs.freedesktop.org/show_bug.cgi?id=89154
2015-02-15 10:47:28 -05:00
Sergey Ptashnick
ff485617d9 po: update Russian translation
Add strings for importd.
2015-01-24 21:11:46 -05:00
Piotr Drąg
d8681b3fa5 catalog,po: update Polish translation
Patch updates Polish translation with new strings from
org.freedesktop.import1.policy.in, as well as incorporates updates in
catalog and po files to accommodate recent changes in the original
strings (commits 2e219e5672 and
2057124e79).

https://bugs.freedesktop.org/show_bug.cgi?id=88707
2015-01-24 21:11:45 -05:00
Sylvain Plantefève
714af6af8a po: update french translation 2015-01-22 22:44:41 +01:00
Piotr Drąg
838d5f0298 import: add org.freedesktop.import1.policy.in to POTFILES.in
https://bugs.freedesktop.org/show_bug.cgi?id=88705
2015-01-22 09:02:33 -05:00
Rafael Ferreira
5701fbbbcf po: add Brazilian Portuguese translation
https://bugs.freedesktop.org/show_bug.cgi?id=88271
2015-01-11 23:41:42 -05:00
Gabor Kelemen
358e019c6e po: Initial Hungarian translation
https://bugs.freedesktop.org/show_bug.cgi?id=87982
2015-01-05 23:08:19 -05:00
Josef Andersson
bbe05969ec po: add Swedish translation
https://bugs.freedesktop.org/show_bug.cgi?id=88052
2015-01-05 11:39:31 -05:00
Daniele Medri
08060f8c88 po: update Italian translation 2015-01-05 13:47:03 +01:00
Sergey Ptashnick
a29fca906c po: update Russian translation
By analogy with commit 4038d7502f.
2015-01-01 14:39:21 -05:00
Sylvain Plantefève
51ed3324df po: update French translation 2015-01-01 14:39:21 -05:00
Zbigniew Jędrzejewski-Szmek
2e219e5672 Remove "to allow" from policy messages
It carries no additional information and forces a passive sentence
structure which is longer and harder to parse.
2015-01-01 09:45:04 -05:00
Piotr Drąg
4038d7502f po: update Polish translation
https://bugs.freedesktop.org/show_bug.cgi?id=87724
2015-01-01 09:45:04 -05:00
Filipe Brandenburger
3fd1957f0d machined: add org.freedesktop.machine1.policy.in to POTFILES.in
The new polkit file was introduced in commit d04c1fb8e2 ("machined:
introduce polkit for OpenLogin() call").
2014-12-25 10:55:41 -05:00
Daniel Buch
d6bc8348d5 readahead: wipe out readahead 2014-09-25 16:39:18 +02:00
Sylvain Plantefève
b12942e67e Update french translation 2014-08-30 13:39:07 -04:00
Sergey Ptashnick
f2e104d3e0 Update Russian translation
By analogy with commit 1977376274.
2014-08-29 18:51:17 -04:00
Piotr Drąg
1977376274 po: update Polish translation
https://bugs.freedesktop.org/show_bug.cgi?id=83015
2014-08-27 01:00:56 -04:00
Daniel Korostil
260b6323cc po: add Ukrainian translation 2014-07-16 19:19:31 -04:00
Benjamin Steinwender
351e57652a po: add German translation
https://bugs.freedesktop.org/show_bug.cgi?id=79430
2014-06-20 15:01:36 +02:00
Dimitris Spingos
3d89c35c2a po: add Greek translation
https://bugs.freedesktop.org/show_bug.cgi?id=78064
2014-05-07 18:48:40 -04:00
Daniele Medri
917c03718c catalog,po: add Italian translation 2013-12-01 11:28:04 -05:00
Zbigniew Jędrzejewski-Szmek
d3822b3b07 po: install translations 2013-11-28 03:43:07 -05:00
Sergey Ptashnick
247913054e catalog,po: add Russian translation 2013-11-28 03:43:07 -05:00
Sylvain Plantefeve
ad929fe196 po: add French translation 2013-11-16 11:56:14 -05:00
William Giokas
0da26ab51b po: add dbus-scope.c to POTFILES.skip 2013-07-04 09:10:44 -04:00
Zbigniew Jędrzejewski-Szmek
ac34b3af13 build-sys: make intltool and distcheck happy 2013-06-20 00:50:22 -04:00
Piotr Drąg
554d1298b8 l10n: Updated Polish translation 2013-01-14 23:30:39 +01:00
Kay Sievers
cf3fb69acb intltool: skip the intermediate file in case it remains, not the source file 2012-07-15 19:28:21 +02:00
Kay Sievers
216e2aded6 build-sys: fix "make distcheck" 2012-07-15 15:48:26 +02:00
Lennart Poettering
95ea1b90cc test: hook up more tests with make check 2012-07-13 13:50:39 +02:00
Lennart Poettering
d1f9edafe7 units: rename systemd-debug-shell.service to debug-shell.service
The systemd- prefix for services should be reserved only for services
that invoke our own code rather than generic, external code.
2012-07-02 14:33:04 +02:00
Kay Sievers
7a5498fe92 systemd-debug-shell: add to POTFILES.skip 2012-06-07 19:34:57 +02:00
Kay Sievers
90ccc3fca7 move more main systemd parts to core/ 2012-04-12 14:24:40 +02:00
Kay Sievers
b30e2f4c18 move libsystemd_core.la sources into core/ 2012-04-11 16:03:51 +02:00
Piotr Drąg
cc26086ff4 l10n: Updated Polish translation 2012-02-11 00:45:29 +01:00
Kay Sievers
681cfc6c40 hostnamed, localed: move config files to subdir 2011-12-31 07:23:57 +01:00
Kay Sievers
00c36f274b hostnamed: move sources to subdirectory 2011-12-31 07:03:33 +01:00
Kay Sievers
1822350db1 localed: move sources to subdirectory 2011-12-31 06:50:34 +01:00
Kay Sievers
4668191d02 timedated: move sources to subdirectory 2011-12-31 06:40:48 +01:00
Kay Sievers
d85eed7301 logind: fix POTFILES location 2011-12-31 04:36:02 +01:00
Lennart Poettering
689b9a22f7 Merge branch 'master' into journal 2011-10-12 04:29:11 +02:00
Zbigniew Jędrzejewski-Szmek
80cc5aeeba l10n: Reword the polish translation a bit
s/siedzenie/stanowisko/: they both translate to seat in English, but 'stanowisko'
is a place where you work, while 'siedzenie' is like a chair.

s/podłączanie/podłączenie/: we are doing it now, now sometime in the future.
2011-10-11 03:13:40 +02:00
Lennart Poettering
87d2c1ff6a journal: add preliminary incomplete implementation 2011-10-07 22:02:05 +02:00
Piotr Drąg
7babb117a4 po: Initial Polish translation
https://bugs.freedesktop.org/show_bug.cgi?id=39553
2011-08-31 14:33:29 +02:00
Lennart Poettering
3fd476bb11 git: hide more files from git 2011-07-14 23:52:16 +02:00
Lennart Poettering
9356a6c656 build-sys: fix make distcheck 2011-07-12 01:11:40 +02:00
Bastien Nocera
1c7dde3e47 build-sys: Add i18n support through intltool
And put the PolicyKit policy files up for translation.
2011-07-11 21:10:33 +02:00