chiark / gitweb /
tree-wide: beautify remaining copyright statements
[elogind.git] / src / core / meson.build
index 482d1f09be7c76be86c4b2da045fcda5846c9877..8fb7c696a2675b3868ce98b21904dbe6b62d87c8 100644 (file)
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: LGPL-2.1+
+#
+# Copyright © 2017 Zbigniew Jędrzejewski-Szmek
+
 #if 0 /// elogind has only two of the parts here in it...
 # libcore_la_sources = '''
 #         audit-fd.c
@@ -44,6 +48,8 @@
 #         dbus-timer.h
 #         dbus-unit.c
 #         dbus-unit.h
+#         dbus-util.c
+#         dbus-util.h
 #         dbus.c
 #         dbus.h
 #         device.c
@@ -131,7 +137,7 @@ libcore_la_sources = files('''
 #         'load-fragment-gperf.gperf',
 #         input : 'load-fragment-gperf.gperf.m4',
 #         output: 'load-fragment-gperf.gperf',
-#         command : [m4, '-P'] + m4_defines + ['@INPUT@'],
+#         command : [meson_apply_m4, config_h, '@INPUT@'],
 #         capture : true)
 # 
 # load_fragment_gperf_c = custom_target(
@@ -147,22 +153,23 @@ libcore_la_sources = files('''
 #         output : 'load-fragment-gperf-nulstr.c',
 #         command : [awk, '-f', '@INPUT0@', '@INPUT1@'],
 #         capture : true)
-#
+# 
 # libcore = static_library(
 #         'core',
 #         libcore_la_sources,
 #         load_fragment_gperf_c,
 #         load_fragment_gperf_nulstr_c,
 #         include_directories : includes,
-#         link_with : [libshared_static],
 #         dependencies : [threads,
+#                         librt,
 #                         libseccomp,
 #                         libpam,
 #                         libaudit,
 #                         libkmod,
 #                         libapparmor,
+#                         libselinux,
 #                         libmount])
-#
+# 
 # systemd_sources = files('main.c')
 # 
 # systemd_shutdown_sources = files('''
@@ -177,7 +184,8 @@ libcore_la_sources = files('''
 # 
 # in_files = [['macros.systemd',   rpmmacrosdir],
 #             ['triggers.systemd', ''],
-#             ['systemd.pc',       pkgconfigdatadir]]
+#             ['systemd.pc',       pkgconfigdatadir],
+#             ['system.conf',      pkgsysconfdir]]
 # 
 # foreach item : in_files
 #         file = item[0]
@@ -202,34 +210,14 @@ libcore_la_sources = files('''
 # install_data('org.freedesktop.systemd1.service',
 #              install_dir : dbussystemservicedir)
 # 
-# policy_in = configure_file(
-#         input : 'org.freedesktop.systemd1.policy.in.in',
-#         output : 'org.freedesktop.systemd1.policy.in',
+# policy = configure_file(
+#         input : 'org.freedesktop.systemd1.policy.in',
+#         output : 'org.freedesktop.systemd1.policy',
 #         configuration : substs)
+# install_data(policy,
+#              install_dir : polkitpolicydir)
 # 
-# custom_target(
-#         'org.freedesktop.systemd1.policy',
-#         input : policy_in,
-#         output : 'org.freedesktop.systemd1.policy',
-#         command : intltool_command,
-#         install : install_polkit,
-#         install_dir : polkitpolicydir)
-#endif // 0
-
-# TODO: this might work with meson from git, see
-# https://github.com/mesonbuild/meson/issues/1441#issuecomment-283585493
-#
-# i18n.merge_file(
-#   'org.freedesktop.systemd1.policy',
-#   po_dir : po_dir,
-#   input : policy_in,
-#   output : 'org.freedesktop.systemd1.policy',
-#   install : install_polkit,
-#   install_dir : polkitpolicydir)
-
-#if 0 /// totally UNNEEDED in elogind
-# install_data('system.conf',
-#              'user.conf',
+# install_data('user.conf',
 #              install_dir : pkgsysconfdir)
 # 
 # meson.add_install_script('sh', '-c', mkdir_p.format(systemshutdowndir))