tag 522738 patch
thanks

ERSEK Laszlo <la...@elte.hu> (09/04/2009):
> a) Create the file ~/.nexuiz/data/autoexec.cfg with the following contents:
> 
> set g_nexuizversion 2.5
> 
> b) Block network traffic to update.alientrap.org:udp:27950 (iptables,
> /etc/hosts, ...)

Thanks for those, that should help people enjoy nexuiz until new
packages are available.

> c)
> - apt-get source nexuiz-data
> - patch nexuiz-data-2.4.2/qcsrc/menu/nexuiz/util.qc; removing the first
> part of preMenuDraw() should suffice
> - build and install the modified package
> 
> Any of these may have side-effects, I just started testing a).

I've applied the last solution (with the attached patch) and it seems to
work fine for me, at the very least in the instant action and in the
(solo) campaign modes. As for network games, I guess newer servers may
reject older clients, but that probably gets displayed when entering or
trying to enter the game, switching the green “foo and bar versions are
compatible” to a red one or whatever, so people will know what's wrong.

I guess it'd make sense to have this fix put ASAP in unstable, so that
it gets some days of testing, before proposing it for a stable upload.

Note that the affected package is actually nexuiz-data, but I guess it
would make sense to keep this bug (or at least one) open against nexuiz
for visibility.

Mraw,
KiBi.
diff -u nexuiz-data-2.4.2/debian/changelog nexuiz-data-2.4.2/debian/changelog
--- nexuiz-data-2.4.2/debian/changelog
+++ nexuiz-data-2.4.2/debian/changelog
@@ -1,3 +1,12 @@
+nexuiz-data (2.4.2-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Apply patch as suggested by ERSEK Laszlo to get rid of the update
+    message floating around in the menu and during game (Closes: #522738):
+     - 02_stop_annoying_people_with_upgrades.diff
+
+ -- Cyril Brulebois <k...@debian.org>  Wed, 17 Jun 2009 15:25:10 +0200
+
 nexuiz-data (2.4.2-1) unstable; urgency=low
 
   * New upstream release
diff -u nexuiz-data-2.4.2/debian/patches/series nexuiz-data-2.4.2/debian/patches/series
--- nexuiz-data-2.4.2/debian/patches/series
+++ nexuiz-data-2.4.2/debian/patches/series
@@ -2,0 +3 @@
+02_stop_annoying_people_with_upgrades.diff
only in patch2:
unchanged:
--- nexuiz-data-2.4.2.orig/debian/patches/02_stop_annoying_people_with_upgrades.diff
+++ nexuiz-data-2.4.2/debian/patches/02_stop_annoying_people_with_upgrades.diff
@@ -0,0 +1,18 @@
+--- a/qcsrc/menu/nexuiz/util.qc
++++ b/qcsrc/menu/nexuiz/util.qc
+@@ -221,6 +221,7 @@ void preMenuDraw()
+ 		if(time > _Nex_ExtResponseSystem_RetryTime)
+ 			Item_Nex_ExtResponseSystem_SendQuery();
+ 
++#if 0
+ 	if(_Nex_ExtResponseSystem_UpdateTo != "")
+ 	{
+ 		fs = ((1/draw_scale_x) * eX + (1/draw_scale_y) * eY) * 12;
+@@ -236,6 +237,7 @@ void preMenuDraw()
+ 		draw_CenterText(mid - 1 * line, strcat("Update to ", _Nex_ExtResponseSystem_UpdateTo, " now!"), fs, '1 0 0', 1, 0);
+ 		draw_CenterText(mid - 0 * line, "http://www.nexuiz.com/";, fs, '0 0 1', 1, 0);
+ 	}
++#endif
+ 	if not(campaign_name_previous)
+ 		campaign_name_previous = strzone(strcat(campaign_name, "x")); // force unequal
+ 	if(campaign_name == campaign_name_previous)

Attachment: signature.asc
Description: Digital signature

Reply via email to