summaryrefslogtreecommitdiff
path: root/man/glib-event-glue.c
Commit message (Collapse)AuthorAgeFilesLines
* man: change license of examples to MIT-0Zbigniew Jędrzejewski-Szmek2022-10-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Quoting Richard Fontana in [1]: CC0 has been listed by Fedora as a 'good' license for code and content (corresponding to allowed and allowed-content under the new system). We plan to classify CC0 as allowed-content only, so that CC0 would no longer be allowed for code. Over a long period of time a consensus has been building in FOSS that licenses that preclude any form of patent licensing or patent forbearance cannot be considered FOSS. CC0 has a clause that says: "No trademark or patent rights held by Affirmer are waived, abandoned, surrendered, licensed or otherwise affected by this document." (The trademark side of that clause is nonproblematic from a FOSS licensing norms standpoint.) The regular Creative Commons licenses have similar clauses. For the case of our documentation snippets, patent issues do not matter much. But it is always nicer to have a license that is considerred acceptable without any further considerations. So let's change the license to the (now recommended replacement) MIT-0. [1] https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/NO7KGDNL5GX3KCB7T3XTGFA3QPSUJA6R/ Using 'git blame -b' and 'git log -p --follow', I identified the following folks as having made non-trivial changes to those snippets: Lennart Poettering Tom Gundersen Luca Bocassi Zbigniew Jędrzejewski-Szmek Thomas Mühlbacher Daan De Meyer I'll ask for confirmation in the pull request.
* man/glib-event-glue example: relicense to CC0-1.0Luca Boccassi2021-10-041-1/+1
| | | | | | All other examples were relicensed to CC0-1.0 since they are intended to be copied and pasted anywhere without any restrictions. Relicense the last one too.
* tree-wide: drop copyright headers from frequent contributorsZbigniew Jędrzejewski-Szmek2018-06-201-1/+0
| | | | | | | | Fixes #9320. for p in Shapovalov Chevalier Rozhkov Sievers Mack Herrmann Schmidt Rudenberg Sahani Landden Andersen Watanabe; do git grep -e 'Copyright.*'$p -l|xargs perl -i -0pe 's|/([*][*])?[*]\s+([*#]\s+)?Copyright[^\n]*'$p'[^\n]*\s*[*]([*][*])?/\n*|\n|gms; s|\s+([*#]\s+)?Copyright[^\n]*'$p'[^\n]*\n*|\n|gms' done
* tree-wide: beautify remaining copyright statementsLennart Poettering2018-06-141-1/+1
| | | | | | Let's unify an beautify our remaining copyright statements, with a unicode ©. This means our copyright statements are now always formatted the same way. Yay.
* man: add missing headers to glib-event-glue.cZbigniew Jędrzejewski-Szmek2018-03-241-0/+2
|
* man: drop license header in glib-event-glue.cZbigniew Jędrzejewski-Szmek2018-03-241-43/+20
| | | | | | We're moving towards just SPDX license identifiers, and the boilerplate is especially annoying in a man page. Also adjust to the smaller indentation to make the code fit better on a page.
* Add SPDX license identifiers to man pagesZbigniew Jędrzejewski-Szmek2017-11-191-0/+2
|
* man: glib-event-glue.c - remove unnecessary includesTom Gundersen2014-11-031-2/+0
| | | | This is just an example, so no error-handling is done here anyway.
* glib-event-glue: remove some unnecessary linesTom Gundersen2014-10-031-4/+0
| | | | Not needed in an example. Should still shorten the license, but should make sure it is still complete so people can copy-paste without problems.
* man: add sample glib/sd-event integrationTom Gundersen2014-08-271-0/+74
This should be moved to man pages, but for now the C code is included directly. Suggested by Zbyszek.