Control: tags 895851 + pending
--

Dear maintainer,

I've prepared an NMU for gkrellweather (versioned as 2.0.8-2.2) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should cancel it.

--
Regards
Sudip

diff -Nru gkrellweather-2.0.8/debian/changelog 
gkrellweather-2.0.8/debian/changelog
--- gkrellweather-2.0.8/debian/changelog        2016-11-30 17:19:51.000000000 
+0000
+++ gkrellweather-2.0.8/debian/changelog        2020-10-20 16:29:25.000000000 
+0100
@@ -1,3 +1,11 @@
+gkrellweather (2.0.8-2.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix prefix path. (Closes: #895851)
+    - Thanks to Roland Hieber for the patch.
+
+ -- Sudip Mukherjee <sudipm.mukher...@gmail.com>  Tue, 20 Oct 2020 16:29:25 
+0100
+
 gkrellweather (2.0.8-2.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru gkrellweather-2.0.8/debian/patches/fix-prefix.patch 
gkrellweather-2.0.8/debian/patches/fix-prefix.patch
--- gkrellweather-2.0.8/debian/patches/fix-prefix.patch 1970-01-01 
01:00:00.000000000 +0100
+++ gkrellweather-2.0.8/debian/patches/fix-prefix.patch 2020-10-20 
16:07:59.000000000 +0100
@@ -0,0 +1,18 @@
+From: Roland Hieber <roh...@rohieb.name>
+Subject: set PREFIX to /usr, not /usr/local
+ A distribution package should not need to refer to /usr/local at all.
+ Specifically, this default leads to GrabWeather being searched in /usr/local,
+ where it is obviously not installed.
+Forwarded: not-needed
+
+--- a/Makefile
++++ b/Makefile
+@@ -3,7 +3,7 @@
+ CFLAGS += -O2 -std=gnu99 -Wall -fPIC `pkg-config gtk+-2.0 --cflags`
+ LIBS = `pkg-config gtk+-2.0 --libs`
+ LDFLAGS += -shared
+-PREFIX = /usr/local
++PREFIX = /usr
+ 
+ LOCALEDIR := $(PREFIX)/share/locale
+ 
diff -Nru gkrellweather-2.0.8/debian/patches/series 
gkrellweather-2.0.8/debian/patches/series
--- gkrellweather-2.0.8/debian/patches/series   2016-11-30 17:19:51.000000000 
+0000
+++ gkrellweather-2.0.8/debian/patches/series   2020-10-20 16:10:48.000000000 
+0100
@@ -1,3 +1,4 @@
 debian-changes.patch
 fix-weather-url.patch
 build-flags.patch
+fix-prefix.patch

Reply via email to