public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Peng Huang <phuang@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/ibus] autotool: Do not remove .desktop file. Just put NoDisplay=true in it.
Date: Sun, 31 May 2026 02:04:02 GMT	[thread overview]
Message-ID: <178019304243.1.6760672674058453745.rpms-ibus-8a89c0e58f65@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/ibus
Branch : autotool
Commit : 8a89c0e58f650b2e60bdb08ffac319dfee0ae2ef
Author : Peng Huang <phuang@fedoraproject.org>
Date   : 2008-10-14T06:39:36+00:00
Stats  : +3/-2 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/ibus/c/8a89c0e58f650b2e60bdb08ffac319dfee0ae2ef?branch=autotool

Log:
Do not remove .desktop file. Just put NoDisplay=true in it.

---
diff --git a/ibus.spec b/ibus.spec
index 5207def..4036fe9 100644
--- a/ibus.spec
+++ b/ibus.spec
@@ -79,10 +79,11 @@ mkdir -pm 755 ${RPM_BUILD_ROOT}/%{_sysconfdir}/X11/xinit/xinput.d
 install -pm 644 %{SOURCE1} ${RPM_BUILD_ROOT}/%{_xinputconf}
 
 # install .desktop files
+echo "NoDisplay=true" >> $RPM_BUILD_ROOT%{_datadir}/applications/ibus.desktop
+echo "NoDisplay=true" >> $RPM_BUILD_ROOT%{_datadir}/applications/ibus-setup.desktop
 desktop-file-install --delete-original          \
   --dir $RPM_BUILD_ROOT%{_datadir}/applications \
   $RPM_BUILD_ROOT%{_datadir}/applications/*
-rm -rf $RPM_BUILD_ROOT%{_datadir}/applications/*
 
 %find_lang %{name}
 
@@ -129,7 +130,7 @@ fi
 %{_datadir}/ibus/ui/*
 %{_datadir}/ibus/setup/*
 %{_datadir}/ibus/icons/*
-# %{_datadir}/applications/*
+%{_datadir}/applications/*
 %{_datadir}/pixmaps/*
 %{_bindir}/ibus-daemon
 %{_bindir}/ibus-gconf

                 reply	other threads:[~2026-05-31  2:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178019304243.1.6760672674058453745.rpms-ibus-8a89c0e58f65@fedoraproject.org \
    --to=phuang@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox