Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could --version be added to bin/mate-notification-properties? #228

Open
rubyFeedback opened this issue Oct 27, 2024 · 0 comments
Open

Could --version be added to bin/mate-notification-properties? #228

rubyFeedback opened this issue Oct 27, 2024 · 0 comments

Comments

@rubyFeedback
Copy link

Could we support this option:

mate-notification-properties  --version

Which would yield the String:

1.28.1

right now?

Rationale: I am querying the installed versions of all mate-desktop components.

Usually I use --version; or I check the .pc file. mate-notification-properties comes
without .pc file, and the binary that is installed does not honour --version; instead
it just starts a GUI, which is nice, but I'd like to have a --version flag if that is
possible. Unfortunately I don't know C well enough to propose code addition for
honouring --version or any other flag. (A .pc file could be installed instead, or in
addition to it; I have no preference here. My objective is solely to obtain the
version String, no matter which way to go about it.)

Note: interestingly the file:

xdg/autostart/mate-notification-daemon.desktop:X-MATE-Bugzilla-Version=1.28.1

contains the version String, so I can parse it. But perhaps having the binary report
--version may be cleaner than this approach. At any rate, thank you for reading this
issue request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant