summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* notification: Improve debug logs when rewriting pathsMarco Trevisan (Treviño)2022-04-251-4/+5
|
* notification: Avoid creating a new hint variant when nothing has changedMarco Trevisan (Treviño)2022-04-251-1/+1
|
* notification: Use snap name and app name as fallback desktop-entryMarco Trevisan (Treviño)2022-04-251-2/+95
| | | | | | | | | | Snaps use desktop IDs based on the snap name and the application name inside the snap, so if we're in a such container, we need to compute the desktop-entry using those values. We can figure them out from the snap cgroup they're in. In such case, don't even try to use the GApplication ID as that is likely wrong in a snapped environment.
* notification: Preserve snap details into the private structMarco Trevisan (Treviño)2022-04-251-19/+65
| | | | | | We may need to use them in various places, so there's no point to repeat the same in multiple places, this way we can also use some shortcuts for non-snap setups.
* notification: Do not try to append snap name to desktop when it's a pathMarco Trevisan (Treviño)2022-04-251-1/+1
|
* notification: Do not prepend SNAP prefix when is already presentMarco Trevisan (Treviño)2022-04-251-5/+16
| | | | | | | | | We used to just add it again, to eventually figure out that the file did not exists, but may not work properly in some scenarios. Also always fill the path_filename when using a file-name only, as that may be refer to something under the SNAP path, and in such case we want to try check if that exists before giving up.
* build: Do not require g-ir-scanner on introspection=autoMarco Trevisan (Treviño)2022-04-211-2/+3
|
* notification: Use g_memdup2 when availableMarco Trevisan (Treviño)2022-04-211-0/+4
| | | | | It's not really an issue here, as we use a properly typed len, but better not to use a deprecated and potentially dangerous API.
* build: Avoid warnings or mis-behavior in recent meson versionsMarco Trevisan (Treviño)2022-04-211-1/+1
| | | | | In future meson will check the run_command result by default, while it's fine for us, it would cause our nicer error message not to work.
* Revert "Revert "Merge branch 'readme' into 'master'""Marco Trevisan (Treviño)2022-04-211-0/+16
| | | | | | This reverts commit 1ad46301071856663735812a4dd7c15e6f054fd4. As per: https://gitlab.gnome.org/GNOME/libnotify/-/commit/1ad46301#note_1434358
* Send the application ID when possibleCorentin Noël2022-04-211-0/+18
|
* docs: Use consistent IDs in spec buildDavid King2022-04-211-0/+1
| | | | | This avoids differences between IDs for separate builds of the specification.
* Revert "Merge branch 'readme' into 'master'"Logan Rathbone2022-03-211-16/+0
| | | This reverts merge request !21
* Merge branch 'readme' into 'master'Logan Rathbone2022-03-211-0/+16
|\ | | | | | | | | Add README clarifying status of libnotify See merge request GNOME/libnotify!21
| * Add README clarifying status of libnotifyMaximiliano Sandoval R2022-03-141-0/+16
|/ | | | | | See discussions at https://gitlab.gnome.org/GNOME/libnotify/-/issues/20. Based off https://gitlab.gnome.org/GNOME/libnotify/-/merge_requests/19
* notify-send: Give failing exit code if showing notification failsRay Strode2021-05-141-4/+14
| | | | | | | | | Right now notify-send will quietly return a successful exit status even if showing the notification fails. This commit changes the behavior to instead fail on failure. https://gitlab.gnome.org/GNOME/libnotify/-/merge_requests/13
* Merge branch 'update_documenation' into 'master'Marco Trevisan2021-04-061-1/+1
|\ | | | | | | | | Update documenation (generated man file) to express that plasma notification... See merge request GNOME/libnotify!14
| * Take Marco Trevisan text enhencmentBoris Shtrasman2020-09-171-1/+1
| |
| * enhence textBoris Shtrasman2020-09-011-1/+1
| |
| * Update documenation (generated man file) to express that plasma notification ↵Boris Shtrasman2020-08-311-1/+1
| | | | | | | | system will ignore timeout value when level is in critical mode
* | Merge branch 'master' into 'master'Alberts Muktupāvels2021-03-262-14/+3
|\ \ | | | | | | | | | | | | notify-send: Support commas in icon filenames See merge request GNOME/libnotify!15
| * | notify-send: Support commas in icon filenamesThorsten Wißmann2021-03-262-14/+3
|/ / | | | | | | | | | | | | | | | | | | | | | | Do not cut off an icon filename (passed to -i) at the first comma character. The original motivation probably was to support a list of icon names in -i separated by comma. However, this has never been implemented and the help text for -i also only mentions "an icon". Hence, no functionality is lost by this change. In contrast, -i now supports commas in icon filepaths. https://gitlab.gnome.org/GNOME/libnotify/-/issues/16
* | Merge branch 'fix-ci' into 'master'Alberts Muktupāvels2020-12-241-0/+3
|\ \ | |/ |/| | | | | fix CI build stuck on TZ data config See merge request GNOME/libnotify!16
| * fix CI build stuck on TZ data configMatthias Sweertvaegher2020-12-141-0/+3
|/ | | | | | | | | | | | | when pushing a new commit, I noticed the CI build gets stuck on: Configuring tzdata ------------------ Please select the geographic area in which you live. Subsequent configuration questions will narrow this down by presenting a list of cities, representing the time zones in which they are located. 1. Africa 3. Antarctica 5. Arctic 7. Atlantic 9. Indian 11. US 2. America 4. Australia 6. Asia 8. Europe 10. Pacific 12. Etc Geographic area:
* release: 0.7.90.7.9Marco Trevisan (Treviño)2020-02-262-1/+10
|
* Merge branch 'wip/jtojnar/manpage' into 'master'Marco Trevisan2020-01-135-0/+143
|\ | | | | | | | | | | | | Add notify-send manpage Closes #4 See merge request GNOME/libnotify!6
| * Add notify-send manpageJan Tojnar2020-01-135-0/+143
| | | | | | | | | | | | Taken from Debian, converted to Docbook and fixed some issues. Closes: https://gitlab.gnome.org/GNOME/libnotify/issues/4
* | Merge branch 'snap-paths-support' into 'master'Marco Trevisan2020-01-131-0/+106
|\ \ | | | | | | | | | | | | notification: use snap namespace and prefix whent launched inside snap See merge request GNOME/libnotify!5
| * | notification: Handle snap applicationsIain Lane2019-08-141-0/+106
| |/ | | | | | | | | | | | | | | | | | | | | | | When a non-relocatable application is packaged as a snap, its resources will be visible under `${SNAP}`. We can discover these resources by probing paths that are given to us and trying the same path under `${SNAP}` if the probe fails. Snap packages have desktop files namespaced by the snap name. This name is available inside the snap environment as `${SNAP_NAME}`. Also probe desktop files and try this form of mangled name if the referenced desktop file is not found.
* | Merge branch 'wip/jtojnar/drop-autotools' into 'master'Marco Trevisan2020-01-1313-1843/+11
|\ \ | |/ |/| | | | | Drop Autotools See merge request GNOME/libnotify!11
| * ci: Do not pass default flags to mesonJan Tojnar2020-01-131-1/+1
| |
| * Drop AutotoolsJan Tojnar2020-01-1313-1842/+10
|/
* build: check supported linker args before buildJan Tojnar2019-04-262-2/+4
| | | | | MacOS linker does not support --version-script argument so we need to only add it to ldflags when it is available.
* Bump version to 0.7.80.7.8Florian Müllner2019-03-283-2/+12
| | | | Update NEWS.
* build: Don't use absolute path with 'subdir' keywordwip/fmuellner/fix-meson-buildFlorian Müllner2019-03-281-2/+3
| | | | | | | Newer meson versions expect a relative path (to the includedir option) there and reject passing an absolute path. https://gitlab.gnome.org/GNOME/libnotify/merge_requests/8
* Merge branch 'notify-send-support-file-proto' into 'master'Iain Lane2019-02-151-1/+1
|\ | | | | | | | | notify-send: allow passing colon as hint value See merge request GNOME/libnotify!4
| * notify-send: allow passing colon as hint valueMarco Trevisan (Treviño)2019-02-151-1/+1
|/ | | | | | | | | | | | | While some hints like image-path or sound-file supports parameters using the file:// protocol, it's impossible to pass such hints to notify-send, because it splits the passed argument so that it can have an unlimited number of colons, while only 3 should be there (as per TYPE:NAME:VALUE format). So, make `g_strsplit` to accept only 3 tokens as maximum, while pass the remaining parameters all-together. So now it's possible to do notify-send -h string:image-path:file:///usr/share/icons/foo.png
* meson.build: fix pkg-config generationabderrahim/fix-pkg-configAbderrahim Kitouni2019-02-011-2/+4
| | | | | The code was previously using glib_dep.version() as a version for gio which generates an invalid version like "gio-2.0 2.59.1" in the pkg-config file.
* Merge branch 'wip/3v1n0/meson' into 'master'Marco Trevisan2019-01-3111-1/+281
|\ | | | | | | | | Build with meson and add CI See merge request GNOME/libnotify!3
| * Build with meson and add CIMarco Trevisan2019-01-3111-1/+281
|/
* docs: Fix spec buildJan Tojnar2019-01-268-8/+9
| | | | Correct DTD and add config.xsl to EXTRA_DIST
* Conditionall call g_type_init() after a version checkEmmanuele Bassi2017-07-174-0/+8
| | | | | There's no need to call g_type_init() since GLib 2.36, so let's hide it when building against newer versions of GLib.
* build: Update the list of headers in srcdirEmmanuele Bassi2017-07-171-2/+2
| | | | | | | | | The generated notify-features.h header lives in builddir, which means it does not exist in srcdir, where glib-mkenums will look. It also contains pre-processor symbols only, so it's not really useful. As we removed it from the list of headers to be scanned by the introspection parser, we also need to update the files rules for that.
* notify-send: Call setlocale in main functionTing-Wei Lan2016-10-221-0/+3
| | | | | | It is required to correctly show translated messages on some locales. https://bugzilla.gnome.org/show_bug.cgi?id=760438
* release: prepare for 0.7.70.7.7Cosimo Cecchi2016-10-132-2/+8
|
* build: Use ${PKG_CONFIG} instead of pkg-configQuentin Glidic2016-06-141-1/+1
| | | | | | | | Some use cases (e.g. cross-compiling) require a prefixed pkg-config https://bugzilla.gnome.org/show_bug.cgi?id=758322 Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
* build: Allow not to build testsQuentin Glidic2016-06-142-2/+13
| | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=634790 Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
* doap: add <programming-language>Andre Klapper2014-08-011-0/+1
|
* doap category coreOlav Vitters2014-07-301-0/+1
|
* NotifyNotification: fix set_hint_byte_array value annotationEvan Nemerson2014-04-011-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=667904