public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gnome-user-share] wip/oholy/f45-update: - Init i18n system for gnome-user-share
@ 2026-06-24 11:34 Bastien Nocera
0 siblings, 0 replies; only message in thread
From: Bastien Nocera @ 2026-06-24 11:34 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/gnome-user-share
Branch : wip/oholy/f45-update
Commit : 4178f1d84bdb41f68cc5a5ab852cc6a42f5e468c
Author : Bastien Nocera <hadess@fedoraproject.org>
Date : 2009-09-07T13:15:11+00:00
Stats : +48/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/gnome-user-share/c/4178f1d84bdb41f68cc5a5ab852cc6a42f5e468c?branch=wip/oholy/f45-update
Log:
- Init i18n system for gnome-user-share
---
diff --git a/0001-Bug-594252-WebDAV-share-name-untraslated-at-runti.patch b/0001-Bug-594252-WebDAV-share-name-untraslated-at-runti.patch
new file mode 100644
index 0000000..fed78fe
--- /dev/null
+++ b/0001-Bug-594252-WebDAV-share-name-untraslated-at-runti.patch
@@ -0,0 +1,41 @@
+From faecaeb8f4f84a03528b29e82f12138f9d55dd13 Mon Sep 17 00:00:00 2001
+From: Bastien Nocera <hadess@hadess.net>
+Date: Mon, 7 Sep 2009 14:11:33 +0100
+Subject: [PATCH] =?utf-8?q?Bug=C2=A0594252=20-=20WebDAV=20share=20name=20untraslated=20at=20runtime?=
+MIME-Version: 1.0
+Content-Type: text/plain; charset=utf-8
+Content-Transfer-Encoding: 8bit
+
+Init the i18n system in our session daemon, otherwise we
+won't ever translate anything...
+---
+ src/user_share.c | 6 +++++-
+ 1 files changed, 5 insertions(+), 1 deletions(-)
+
+diff --git a/src/user_share.c b/src/user_share.c
+index 07868c0..6a982c0 100644
+--- a/src/user_share.c
++++ b/src/user_share.c
+@@ -475,6 +475,10 @@ main (int argc, char **argv)
+ Window selection_owner;
+ Atom xatom;
+
++ bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR);
++ bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
++ textdomain (GETTEXT_PACKAGE);
++
+ gtk_init (&argc, &argv);
+
+ if (g_strcmp0 (g_get_real_name (), "root") == 0) {
+@@ -489,7 +493,7 @@ main (int argc, char **argv)
+
+ xdisplay = GDK_DISPLAY_XDISPLAY (gdk_display_get_default ());
+ if (xdisplay == NULL) {
+- fprintf (stderr, "Can't open display\n");
++ g_warning ("Can't open display");
+ return 1;
+ }
+
+--
+1.6.2.5
+
diff --git a/gnome-user-share.spec b/gnome-user-share.spec
index eb1870a..fe419a6 100644
--- a/gnome-user-share.spec
+++ b/gnome-user-share.spec
@@ -1,13 +1,15 @@
Summary: Gnome user file sharing
Name: gnome-user-share
Version: 2.27.0
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPLv2+
Group: System Environment/Libraries
URL: http://www.gnome.org
Source0: http://download.gnome.org/sources/gnome-user-share/2.27/%{name}-%{version}.tar.bz2
# http://bugzilla.gnome.org/show_bug.cgi?id=578090
Patch0: menu-path.patch
+# http://bugzilla.gnome.org/show_bug.cgi?id=594252
+Patch1: 0001-Bug-594252-WebDAV-share-name-untraslated-at-runti.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: httpd >= 2.2.0
@@ -47,6 +49,7 @@ The program also allows to share files using ObexFTP over Bluetooth.
%prep
%setup -q
%patch0 -p1 -b .menu-path
+%patch1 -p1 -b .i18n
%build
%configure
@@ -124,6 +127,9 @@ fi
%{_datadir}/icons/hicolor/*/apps/gnome-obex-server.png
%changelog
+* Mon Sep 07 2009 Bastien Nocera <bnocera@redhat.com> 2.27.0-2
+- Init i18n system for gnome-user-share
+
* Wed Sep 02 2009 Bastien Nocera <bnocera@redhat.com> 2.27.0-1
- Update to 2.27.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-24 11:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-24 11:34 [rpms/gnome-user-share] wip/oholy/f45-update: - Init i18n system for gnome-user-share Bastien Nocera
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox