public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Matthias Clasen <mclasen@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/gnome-user-share] wip/oholy/f45-update: improve capplet appearance
Date: Wed, 24 Jun 2026 11:33:58 GMT [thread overview]
Message-ID: <178230083820.1.11895196274584467813.rpms-gnome-user-share-fc208fd991da@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/gnome-user-share
Branch : wip/oholy/f45-update
Commit : fc208fd991da4fc0555125df9012d9b634292897
Author : Matthias Clasen <mclasen@fedoraproject.org>
Date : 2007-01-24T15:06:14+00:00
Stats : +32/-7 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/gnome-user-share/c/fc208fd991da4fc0555125df9012d9b634292897?branch=wip/oholy/f45-update
Log:
improve capplet appearance
---
diff --git a/gnome-user-share-category.patch b/gnome-user-share-category.patch
new file mode 100644
index 0000000..ebf7ff3
--- /dev/null
+++ b/gnome-user-share-category.patch
@@ -0,0 +1,11 @@
+--- gnome-user-share-0.10/gnome-user-share-properties.desktop.in.category 2007-01-24 09:46:29.000000000 -0500
++++ gnome-user-share-0.10/gnome-user-share-properties.desktop.in 2007-01-24 09:46:45.000000000 -0500
+@@ -7,7 +7,7 @@
+ StartupNotify=true
+ Terminal=false
+ Type=Application
+-Categories=GNOME;Application;Settings;
++Categories=GNOME;Settings;X-GNOME-NetworkSettings;
+ OnlyShowIn=GNOME;
+ X-GNOME-Bugzilla-Bugzilla=GNOME
+ X-GNOME-Bugzilla-Product=gnome-user-share
diff --git a/gnome-user-share.spec b/gnome-user-share.spec
index 66098b0..9743ee8 100644
--- a/gnome-user-share.spec
+++ b/gnome-user-share.spec
@@ -6,7 +6,9 @@ License: GPL
Group: System Environment/Libraries
URL: http://www.gnome.org
Source0: %{name}-%{version}.tar.bz2
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+# fixed in upstream svn
+Patch0: gnome-user-share-category.patch
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: httpd >= 2.2.0
BuildRequires: GConf2-devel avahi-glib-devel >= 0.6 pkgconfig
BuildRequires: gtk2-devel >= 2.4.0
@@ -16,13 +18,16 @@ BuildRequires: desktop-file-utils
BuildRequires: libselinux-devel
BuildRequires: gettext
BuildRequires: perl-XML-Parser
-Prereq: GConf2
+Requires(post): GConf2
+Requires(pre): GConf2
+Requires(preun): GConf2
%description
-gnome-user-share
+GNOME user file sharing.
%prep
%setup -q
+%patch0 -p1 -b .category
%build
%configure
@@ -48,10 +53,19 @@ rm -rf $RPM_BUILD_ROOT
%post
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
-SCHEMAS="desktop_gnome_file_sharing.schemas"
-for S in $SCHEMAS; do
- gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S > /dev/null
-done
+gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/desktop_gnome_file_sharing.schemas > /dev/null || :
+
+%pre
+if [ "$1" -gt 1 ]; then
+ export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
+ gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/desktop_gnome_file_sharing.schemas > /dev/null || :
+fi
+
+%preun
+if [ "$1" -eq 0 ]; then
+ export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
+ gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/desktop_gnome_file_sharing.schemas > /dev/null || :
+fi
%files -f gnome-user-share.lang
%defattr(-,root,root,-)
reply other threads:[~2026-06-24 11:33 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=178230083820.1.11895196274584467813.rpms-gnome-user-share-fc208fd991da@fedoraproject.org \
--to=mclasen@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