summaryrefslogtreecommitdiffstats
path: root/docs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add license headers and SPDX identifiers to meson.build filesZbigniew Jędrzejewski-Szmek2017-11-192-0/+34
| | | | | | | So far I avoided adding license headers to meson files, but they are pretty big and important and should carry license headers like everything else. I added my own copyright, even though other people modified those files too. But this is mostly symbolic, so I hope that's OK.
* build-sys: use #if Y instead of #ifdef Y everywhereZbigniew Jędrzejewski-Szmek2017-10-042-2/+2
| | | | | | | | | | | | | | | The advantage is that is the name is mispellt, cpp will warn us. $ git grep -Ee "conf.set\('(HAVE|ENABLE)_" -l|xargs sed -r -i "s/conf.set\('(HAVE|ENABLE)_/conf.set10('\1_/" $ git grep -Ee '#ifn?def (HAVE|ENABLE)' -l|xargs sed -r -i 's/#ifdef (HAVE|ENABLE)/#if \1/; s/#ifndef (HAVE|ENABLE)/#if ! \1/;' $ git grep -Ee 'if.*defined\(HAVE' -l|xargs sed -i -r 's/defined\((HAVE_[A-Z0-9_]*)\)/\1/g' $ git grep -Ee 'if.*defined\(ENABLE' -l|xargs sed -i -r 's/defined\((ENABLE_[A-Z0-9_]*)\)/\1/g' + manual changes to meson.build squash! build-sys: use #if Y instead of #ifdef Y everywhere v2: - fix incorrect setting of HAVE_LIBIDN2
* build-sys: drop gitignore patterns for in-tree buildsZbigniew Jędrzejewski-Szmek2017-07-183-3/+0
| | | | ... and other autotools-generated files.
* build-sys: drop automake supportZbigniew Jędrzejewski-Szmek2017-07-183-3/+0
| | | | | v2: - also mention m4
* meson: use booleans for conf.set and drop unecessary conditionalsZbigniew Jędrzejewski-Szmek2017-05-022-2/+2
| | | | | | | | | Using conf.set() with a boolean argument does the right thing: either #ifdef or #undef. This means that conf.set can be used unconditionally. Previously I used '1' as the placeholder value, and that needs to be changed to 'true' for consistency (under meson 1 cannot be used in boolean context). All checks need to be adjusted.
* meson: do not install files from disabled features (#5811)userwithuid2017-04-272-4/+10
| | | | Mirror conditions from Makefile.am.
* meson: reindent all files with 8 spacesZbigniew Jędrzejewski-Szmek2017-04-242-10/+6
| | | | | | | The indentation for emacs'es meson-mode is added .dir-locals. All files are reindented automatically, using the lasest meson-mode from git. Indentation should now be fairly consistent.
* meson: build systemd using mesonZbigniew Jędrzejewski-Szmek2017-04-242-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* docs: use https:// in URLsAsciiWolf2017-02-211-1/+1
|
* docs: add .gitignoreKay Sievers2015-07-061-0/+1
|
* docs: remove stale .gitignoreTom Gundersen2015-06-291-1/+0
| | | | This is no longer useful as the udev docs are gone.
* remove gudev and gtk-docKay Sievers2015-06-0313-600/+0
| | | | | The library moved to: https://git.gnome.org/browse/libgudev/
* build-sys: fix distcheckDave Reisner2014-12-141-1/+1
| | | | | - fix misspelling in filename (intenal -> internal) - remove deleted hwdb-related file (nuked with sd-hwdb refactor)
* libudev: queue provide file descriptor to watch busy event queueKay Sievers2014-06-271-0/+2
|
* docs: add new gudev functions to documentationZbigniew Jędrzejewski-Szmek2014-02-231-0/+2
|
* doc: disable gtk-doc test again - you are a really annoying piece of softwareKay Sievers2013-03-212-4/+4
| | | | | | | | | | | | make check-TESTS make[5]: Nothing to be done for `/usr/bin/gtkdoc-check.log'. fatal: making test-suite.log: failed to create /usr/bin/gtkdoc-check.trs fatal: making test-suite.log: failed to create /usr/bin/gtkdoc-check.log make[4]: *** [test-suite.log] Error 1 make[3]: *** [check-TESTS] Error 2 make[2]: *** [check-am] Error 2 make[1]: *** [check-recursive] Error 1 make: *** [check] Error 2
* libudev: implement udev_device_set_attribute_value()Hannes Reinecke2013-03-131-0/+1
|
* build-sys: assemble HTML in docs/htmlZbigniew Jędrzejewski-Szmek2013-03-091-0/+1
| | | | | | The goal is to be able to preview how the documenation will look when uploaded. Just point your browser at docs/html/man/index.html.
* build-sys: disable tests in po/, docs/ with separate build dirZbigniew Jędrzejewski-Szmek2013-02-132-4/+8
| | | | | | | | Both gtk-doc and intltoolize have problems with VPATH builds. "Creatively" disable tests when configuring from outside the source directory. This more-or-less reverts 9795da43c.
* doc: disable "make check" for gtk-docKay Sievers2013-01-162-4/+4
|
* build-sys: color test resultsZbigniew Jędrzejewski-Szmek2012-12-012-2/+2
|
* docs: gtk-doc warnings are annoyingKay Sievers2012-11-032-2/+2
|
* libudev: import hwdb and export lookup interfaceKay Sievers2012-10-273-1/+12
|
* docs: install README files into /var/log and 7etc/rc.d/init.dLennart Poettering2012-10-177-0/+58
| | | | | | On systemd systems seasoned admins might be surprised to see that the init scripts and log files are gone. To ease the transition let's place some README files there, that hopefully help clearing up the situation.
* udev: export udev_device_new_from_device_id()Kay Sievers2012-08-101-0/+1
|
* build-sys: really override CFLAGS for gtk-docZbigniew Jędrzejewski-Szmek2012-08-082-2/+10
| | | | | | | | In 29a00c41 an override was added, but commandline variables have higher precedence than Makefile variables, so the override was not effective for commandline variables. While at it, duplicate for libudev.
* gudev: docs - work around the broken gtk-doc messKay Sievers2012-08-081-0/+8
| | | | | | | | gtk-doc add CFLAGS/LDFLAGS multiple times to the gcc command line, which breaks options that must be listed only once. For now, clear CFLAGS/LDFLAGS for the intermediate documentation binary.
* udev: libudev - bump soname, remove deprecated functions, introduce symbol ↵Kay Sievers2012-05-151-3/+0
| | | | versions
* build-sys: fix buildLennart Poettering2012-05-152-2/+2
|
* git: update gitignoreLennart Poettering2012-05-151-0/+1
|
* build-sys: move gtk-doc stuff into its own subdir and reindent autogen.shLennart Poettering2012-05-152-4/+8
| | | | | We moved most other build noise files into their own subdirs, so let's do this for gtk-doc too
* udev: docs - it's 'GUdev'Kay Sievers2012-04-261-1/+1
|
* docs: remove duplicated install hookKay Sievers2012-04-202-6/+0
|
* docs: hook-up gtk-doc to 'make check'Kay Sievers2012-04-205-23/+17
|
* docs: rebase html documentation for online and local useKay Sievers2012-04-192-0/+6
|
* docs: do not generate tmpl filesJavier Jardón2012-04-192-2/+0
| | | | | Its not needed as all the documentation is inline source code, not in separate *.tmpl files
* udev: docs - updated index page to match common gtk styleKay Sievers2012-04-172-3/+14
|
* silence a bunch of gcc warningsKay Sievers2012-04-171-1/+1
|
* udev: remove configuration options for /dev, /sys, /run directoriesKay Sievers2012-04-161-2/+2
|
* udev: doc - sync libudev and gudevKay Sievers2012-04-152-11/+6
|
* udev: cleanup the udev cgroup when the daemon enters the idle stateKay Sievers2012-04-151-1/+1
|
* gudev: gtk-doc - hide licence stuff which consumes three-fourths of the ↵Kay Sievers2012-04-141-53/+3
| | | | index page
* udev: trivial gtk-doc updateKay Sievers2012-04-143-4/+5
|
* build-sys: add 'make doc-sync' targetKay Sievers2012-04-131-2/+2
|
* update .gitignoreKay Sievers2012-04-132-35/+36
|
* udev: move libudev, gudev to src/; move gudev/docs/, udev/docs/ to to docs/Kay Sievers2012-04-1312-0/+611