Commit Graph

419 Commits

Author SHA1 Message Date
Corentin Noël 333f7c5d32 Send the application ID when possible 2022-04-21 16:35:38 +02:00
David King 7f31e29e62 docs: Use consistent IDs in spec build
This avoids differences between IDs for separate builds of the
specification.
2022-04-21 14:37:58 +02:00
Logan Rathbone 1ad4630107 Revert "Merge branch 'readme' into 'master'"
This reverts merge request !21
2022-03-21 22:19:32 +00:00
Logan Rathbone e35921f10f Merge branch 'readme' into 'master'
Add README clarifying status of libnotify

See merge request GNOME/libnotify!21
2022-03-21 22:15:16 +00:00
Maximiliano Sandoval R edb1dc8394
Add README clarifying status of libnotify
See discussions at https://gitlab.gnome.org/GNOME/libnotify/-/issues/20.

Based off https://gitlab.gnome.org/GNOME/libnotify/-/merge_requests/19
2022-03-14 17:50:55 +01:00
Ray Strode a228f1e84d notify-send: Give failing exit code if showing notification fails
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
2021-05-14 13:55:53 -04:00
Marco Trevisan 05112e2a5b Merge branch 'update_documenation' into 'master'
Update documenation (generated man file) to express that plasma notification...

See merge request GNOME/libnotify!14
2021-04-06 11:59:19 +00:00
Alberts Muktupāvels 39575f7c6f Merge branch 'master' into 'master'
notify-send: Support commas in icon filenames

See merge request GNOME/libnotify!15
2021-03-26 15:57:33 +00:00
Thorsten Wißmann dfaa76109e notify-send: Support commas in icon filenames
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
2021-03-26 16:52:49 +01:00
Alberts Muktupāvels 48e64c39bc Merge branch 'fix-ci' into 'master'
fix CI build stuck on TZ data config

See merge request GNOME/libnotify!16
2020-12-24 18:34:29 +00:00
Matthias Sweertvaegher 698a05fcc4 fix CI build stuck on TZ data config
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:
2020-12-14 17:44:11 +01:00
Boris Shtrasman 50cf335a34 Take Marco Trevisan text enhencment 2020-09-17 20:52:37 +03:00
Boris Shtrasman 4e2971be0c enhence text 2020-09-01 16:03:03 +03:00
Boris Shtrasman d9ba514b15 Update documenation (generated man file) to express that plasma notification system will ignore timeout value when level is in critical mode 2020-08-31 21:56:54 +03:00
Marco Trevisan (Treviño) 98a4bf483a release: 0.7.9 2020-02-26 20:06:01 +01:00
Marco Trevisan d30f73d628 Merge branch 'wip/jtojnar/manpage' into 'master'
Add notify-send manpage

Closes #4

See merge request GNOME/libnotify!6
2020-01-13 17:15:51 +00:00
Marco Trevisan ea61ec4301 Merge branch 'snap-paths-support' into 'master'
notification: use snap namespace and prefix whent launched inside snap

See merge request GNOME/libnotify!5
2020-01-13 17:11:47 +00:00
Marco Trevisan b95d41283e Merge branch 'wip/jtojnar/drop-autotools' into 'master'
Drop Autotools

See merge request GNOME/libnotify!11
2020-01-13 17:10:31 +00:00
Jan Tojnar edfd97f4a9
ci: Do not pass default flags to meson 2020-01-13 17:12:00 +01:00
Jan Tojnar a599a04de6
Drop Autotools 2020-01-13 17:09:17 +01:00
Jan Tojnar 162d195869
Add notify-send manpage
Taken from Debian, converted to Docbook and fixed some issues.

Closes: https://gitlab.gnome.org/GNOME/libnotify/issues/4
2020-01-13 16:41:31 +01:00
Iain Lane 2e8ed8add3 notification: Handle snap applications
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.
2019-08-14 15:43:43 +02:00
Jan Tojnar 55eb69247f
build: check supported linker args before build
MacOS linker does not support --version-script argument so we need
to only add it to ldflags when it is available.
2019-04-26 20:20:22 +02:00
Florian Müllner 44f9222212 Bump version to 0.7.8
Update NEWS.
2019-03-28 19:24:26 +01:00
Florian Müllner f5a845dd00 build: Don't use absolute path with 'subdir' keyword
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
2019-03-28 19:06:26 +01:00
Iain Lane d3277ac331 Merge branch 'notify-send-support-file-proto' into 'master'
notify-send: allow passing colon as hint value

See merge request GNOME/libnotify!4
2019-02-15 13:35:36 +00:00
Marco Trevisan (Treviño) 9862ab85e8
notify-send: allow passing colon as hint value
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
2019-02-15 12:54:39 +00:00
Abderrahim Kitouni 3f71a3b3ba meson.build: fix pkg-config generation
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.
2019-02-01 14:21:14 +01:00
Marco Trevisan b7351a39fb Merge branch 'wip/3v1n0/meson' into 'master'
Build with meson and add CI

See merge request GNOME/libnotify!3
2019-01-31 17:15:27 +00:00
Marco Trevisan 593f260722 Build with meson and add CI 2019-01-31 17:15:27 +00:00
Jan Tojnar a1bedfa65e
docs: Fix spec build
Correct DTD and add config.xsl to EXTRA_DIST
2019-01-26 10:44:22 +01:00
Emmanuele Bassi 43aac613f1 Conditionall call g_type_init() after a version check
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.
2017-07-17 10:16:06 +01:00
Emmanuele Bassi 46e8b1cfad build: Update the list of headers in srcdir
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.
2017-07-17 10:11:48 +01:00
Ting-Wei Lan 5398ecfe3f notify-send: Call setlocale in main function
It is required to correctly show translated messages on some locales.

https://bugzilla.gnome.org/show_bug.cgi?id=760438
2016-10-22 11:32:36 +08:00
Cosimo Cecchi c954cabaad release: prepare for 0.7.7 2016-10-13 15:44:18 -07:00
Quentin Glidic 6b03c47e04 build: Use ${PKG_CONFIG} instead of pkg-config
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>
2016-06-14 16:07:31 +02:00
Quentin Glidic da7a6a229b build: Allow not to build tests
https://bugzilla.gnome.org/show_bug.cgi?id=634790

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-06-14 16:07:31 +02:00
Andre Klapper 2f2c5649ef doap: add <programming-language> 2014-08-01 23:32:16 +02:00
Olav Vitters dafa138886 doap category core 2014-07-30 20:31:31 +02:00
Evan Nemerson da49c8c599 NotifyNotification: fix set_hint_byte_array value annotation
https://bugzilla.gnome.org/show_bug.cgi?id=667904
2014-04-01 21:19:01 +02:00
Evan Nemerson 5a486c5490 Include C header information and exported packages in GIR
https://bugzilla.gnome.org/show_bug.cgi?id=667904
2014-04-01 21:02:56 +02:00
Ryan Lortie fc6cba771d Remove INSTALL from version control
This is getting updated by autoregen causing jhbuild to mistakenly
believe that the build is dirty.
2014-02-25 15:21:50 -05:00
Matthias Clasen f9355ca357 0.7.6 2013-09-02 21:47:23 -04:00
Giovanni Campagna 2b4ab4d22f NotifyNotification: fix annotation for add_action()
Using GFreeFunc instead of GDestroyNotify was a mistake, but
(scope async) is even a bigger mistake (one that can crash apps,
if an action is invoked multiple times)

https://bugzilla.gnome.org/show_bug.cgi?id=702390
2013-09-02 21:42:37 -04:00
Matthias Clasen 9128042026 Clarify docs of notify_notification_set_timeout
In response to
https://bugzilla.gnome.org/show_bug.cgi?id=701645
2013-06-07 20:28:10 -04:00
Matthias Clasen 6982957661 Bump version 2012-03-26 22:01:28 -04:00
Matthias Clasen 20721a3351 0.7.5 2012-03-26 22:00:54 -04:00
Colin Walters 5e3654b70b build: Also fix introspection when srcdir != builddir 2012-01-16 18:47:31 -05:00
Colin Walters b6e1f7f1a2 build: Another srcdir != builddir fix 2012-01-16 18:44:49 -05:00
Colin Walters bc612b9fc8 build: Fix srcdir != builddir 2012-01-16 18:42:58 -05:00