[PATCH xcalc] Add xcalc.desktop file.
Alan Coopersmith
alan.coopersmith at oracle.com
Fri Aug 12 10:52:33 PDT 2011
Just adding the file to the git repo isn't very useful - it needs to be
mentioned in the Makefile.am for it to be included in the release tarballs
or installed during the build.
At the very least I'd expect something in Makefile.am like:
applications_dir = $(datadir)/applications
applications_DATA = xcalc.desktop
Presumably in your rpm's you just did the install in the spec file instead
of patching the upstream Makefiles, since that would be easier.
You should run "make distcheck" after updating the makefile to ensure it's
included properly and then you can verify that the xcalc.desktop did get
included in the tarballs that distcheck makes.
On 08/12/11 10:27, Matěj Cepl wrote:
> From: Adam Jackson <ajax at redhat.com>
>
>
> Signed-off-by: Matěj Cepl <mcepl at redhat.com>
> ---
> xcalc.desktop | 8 ++++++++
> 1 files changed, 8 insertions(+), 0 deletions(-)
> create mode 100644 xcalc.desktop
>
> diff --git a/xcalc.desktop b/xcalc.desktop
> new file mode 100644
> index 0000000..000438e
> --- /dev/null
> +++ b/xcalc.desktop
> @@ -0,0 +1,8 @@
> +[Desktop Entry]
> +Name=XCalc
> +GenericName=Scientific Calculator
> +Comment=Scientific Calculator X11 Client
> +Exec=xcalc
> +Terminal=false
> +Type=Application
> +Categories=Utility;
--
-Alan Coopersmith- alan.coopersmith at oracle.com
Oracle Solaris Platform Engineering: X Window System
More information about the xorg-devel
mailing list