public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ibus] autotool: Do not remove .desktop file. Just put NoDisplay=true in it.
@ 2026-05-31  2:04 Peng Huang
  0 siblings, 0 replies; only message in thread
From: Peng Huang @ 2026-05-31  2:04 UTC (permalink / raw)
  To: git-commits

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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-05-31  2:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-31  2:04 [rpms/ibus] autotool: Do not remove .desktop file. Just put NoDisplay=true in it Peng Huang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox