public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gnome-user-share] wip/oholy/f45-update: - Don't use localized realm string when starting httpd
@ 2026-06-24 11:34 Tomas Bzatek
  0 siblings, 0 replies; only message in thread
From: Tomas Bzatek @ 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 : e52f9c50c832615f5bea23d50d9a6f9609fe66ac
Author : Tomas Bzatek <tbzatek@fedoraproject.org>
Date   : 2010-02-22T14:37:54+00:00
Stats  : +31/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/gnome-user-share/c/e52f9c50c832615f5bea23d50d9a6f9609fe66ac?branch=wip/oholy/f45-update

Log:
- Don't use localized realm string when starting httpd

---
diff --git a/gnome-user-share-2.29.xx-httpd-dont-localize-realm.patch b/gnome-user-share-2.29.xx-httpd-dont-localize-realm.patch
new file mode 100644
index 0000000..1576fad
--- /dev/null
+++ b/gnome-user-share-2.29.xx-httpd-dont-localize-realm.patch
@@ -0,0 +1,25 @@
+From 1a2aff08c16c87fcae10563acd9485624a5e262d Mon Sep 17 00:00:00 2001
+From: Tomas Bzatek <tbzatek@redhat.com>
+Date: Mon, 22 Feb 2010 14:26:06 +0100
+Subject: [PATCH] Don't use localized realm string when starting httpd
+
+---
+ src/http.c |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/src/http.c b/src/http.c
+index 367394a..3367d2a 100644
+--- a/src/http.c
++++ b/src/http.c
+@@ -369,7 +369,7 @@ spawn_httpd (int port, pid_t *pid_out)
+ 	free5 = env[i++] = g_strdup_printf ("XDG_PUBLICSHARE_DIR=%s", public_dir);
+ 	free6 = env[i++] = g_strdup_printf ("XDG_CONFIG_HOME=%s", g_get_user_config_dir ());
+ 	free7 = env[i++] = g_strdup_printf ("GUS_SHARE_NAME=%s", get_share_name ());
+-	free8 = env[i++] = g_strdup_printf ("GUS_LOGIN_LABEL=%s", _("Please log in as the user guest"));
++	free8 = env[i++] = g_strdup_printf ("GUS_LOGIN_LABEL=%s", "Please log in as the user guest");
+ 	free9 = env[i++] = g_strdup_printf ("HTTP_MODULES_PATH=%s",get_httpd_modules_path ());
+ 	env[i++] = "LANG=C";
+ 	env[i] = NULL;
+-- 
+1.7.0
+

diff --git a/gnome-user-share.spec b/gnome-user-share.spec
index 11e51e7..64dfd02 100644
--- a/gnome-user-share.spec
+++ b/gnome-user-share.spec
@@ -1,7 +1,7 @@
 Summary: Gnome user file sharing
 Name: gnome-user-share
 Version: 2.28.1
-Release: 4%{?dist}
+Release: 5%{?dist}
 License: GPLv2+
 Group: System Environment/Libraries
 URL: http://www.gnome.org
@@ -16,6 +16,7 @@ Patch2: 0001-Use-same-directories-in-nautilus-bar-and-app.patch
 BuildRequires: intltool automake autoconf libtool
 # https://bugzilla.redhat.com/show_bug.cgi?id=533977
 Patch3: 0001-Avoid-crashing-when-dbus_g_proxy_call-fails-but-with.patch
+Patch4: gnome-user-share-2.29.xx-httpd-dont-localize-realm.patch
 
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -60,6 +61,7 @@ The program also allows to share files using ObexFTP over Bluetooth.
 %patch1 -p1 -b .cluebar
 %patch2 -p1 -b .dirs
 %patch3 -p1 -b .exit-crash
+%patch4 -p1 -b .httpd-realm
 
 autoreconf -f -i
 
@@ -142,6 +144,9 @@ gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor >&/dev/null || :
 %{_libdir}/nautilus/extensions-2.0/*.so
 
 %changelog
+* Mon Feb 22 2010 Tomas Bzatek <tbzatek@redhat.com> 2.28.1-5
+- Don't use localized realm string when starting httpd
+
 * Sun Feb 14 2010 Matthias Clasen <mclasen@redhat.com> 2.28.1-4
 - Modernize scripts
 - Fix build

^ 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: - Don't use localized realm string when starting httpd Tomas Bzatek

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