public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Tomas Bzatek <tbzatek@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/gnome-user-share] wip/oholy/f45-update: - Don't use localized realm string when starting httpd
Date: Wed, 24 Jun 2026 11:34:23 GMT	[thread overview]
Message-ID: <178230086360.1.1787933019737742382.rpms-gnome-user-share-e52f9c50c832@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-06-24 11:34 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=178230086360.1.1787933019737742382.rpms-gnome-user-share-e52f9c50c832@fedoraproject.org \
    --to=tbzatek@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