Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Sep 2016 10:34:56 +0000 (UTC)
From:      "Carlos J. Puga Medina" <cpm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r422307 - in head/misc/gkrellweather2: . files
Message-ID:  <201609171034.u8HAYuJS020248@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cpm
Date: Sat Sep 17 10:34:56 2016
New Revision: 422307
URL: https://svnweb.freebsd.org/changeset/ports/422307

Log:
  - Add LICENSE_FILE
  - Update patch due another URL change
  - Regenerate patches with 'make makepatch' (pet portlint)
  - Update pkg-descr
  - Bump PORTREVISION
  
  PR:		212693
  Submitted by:	etteldor@gmail.com
  Approved by:	amdmi3 (mentor)

Modified:
  head/misc/gkrellweather2/Makefile
  head/misc/gkrellweather2/distinfo
  head/misc/gkrellweather2/files/patch-Makefile
  head/misc/gkrellweather2/files/patch-gkrellweather.c
  head/misc/gkrellweather2/pkg-descr

Modified: head/misc/gkrellweather2/Makefile
==============================================================================
--- head/misc/gkrellweather2/Makefile	Sat Sep 17 09:46:54 2016	(r422306)
+++ head/misc/gkrellweather2/Makefile	Sat Sep 17 10:34:56 2016	(r422307)
@@ -3,7 +3,7 @@
 
 PORTNAME=	gkrellweather
 PORTVERSION=	2.0.8
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	misc geography
 MASTER_SITES=	https://sites.google.com/site/makovick/projects/
 
@@ -11,6 +11,7 @@ MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Weather plugin for GKrellM
 
 LICENSE=	GPLv2+
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 BUILD_DEPENDS=	${LOCALBASE}/include/gkrellm2/gkrellm.h:sysutils/gkrellm2
 RUN_DEPENDS=	gkrellm:sysutils/gkrellm2

Modified: head/misc/gkrellweather2/distinfo
==============================================================================
--- head/misc/gkrellweather2/distinfo	Sat Sep 17 09:46:54 2016	(r422306)
+++ head/misc/gkrellweather2/distinfo	Sat Sep 17 10:34:56 2016	(r422307)
@@ -1,2 +1,3 @@
+TIMESTAMP = 1474107595
 SHA256 (gkrellweather-2.0.8.tgz) = 06236ad489151019e71bab4ba63b4b8b06d58c58890caed8b1a28fdd05cde16d
 SIZE (gkrellweather-2.0.8.tgz) = 20227

Modified: head/misc/gkrellweather2/files/patch-Makefile
==============================================================================
--- head/misc/gkrellweather2/files/patch-Makefile	Sat Sep 17 09:46:54 2016	(r422306)
+++ head/misc/gkrellweather2/files/patch-Makefile	Sat Sep 17 10:34:56 2016	(r422307)
@@ -1,8 +1,8 @@
---- Makefile.orig	Sun Feb 27 14:54:47 2005
-+++ Makefile	Wed Mar  2 00:22:17 2005
+--- Makefile.orig	2009-01-11 18:15:02 UTC
++++ Makefile
 @@ -1,9 +1,9 @@
  PKGNAME = gkrellweather
- VERSION = 2.0.7
+ VERSION = 2.0.8
 -CFLAGS = -O2 -std=gnu99 -Wall -fPIC `pkg-config gtk+-2.0 --cflags`
 +CFLAGS += -Wall -fPIC `pkg-config gtk+-2.0 --cflags`
  LIBS = `pkg-config gtk+-2.0 --libs`
@@ -12,7 +12,7 @@
  
  LOCALEDIR := $(PREFIX)/share/locale
  
-@@ -14,13 +14,13 @@
+@@ -14,13 +14,13 @@ endif
  CFLAGS += -DPACKAGE="\"$(PKGNAME)\""
  export PKGNAME LOCALEDIR
  

Modified: head/misc/gkrellweather2/files/patch-gkrellweather.c
==============================================================================
--- head/misc/gkrellweather2/files/patch-gkrellweather.c	Sat Sep 17 09:46:54 2016	(r422306)
+++ head/misc/gkrellweather2/files/patch-gkrellweather.c	Sat Sep 17 10:34:56 2016	(r422307)
@@ -1,6 +1,15 @@
---- gkrellweather.c.orig	Mon Mar 31 13:12:57 2003
-+++ gkrellweather.c	Sun Jul 13 14:30:14 2003
-@@ -986,7 +986,7 @@
+--- gkrellweather.c.orig	2009-01-11 18:15:02 UTC
++++ gkrellweather.c
+@@ -777,7 +777,7 @@ create_air_tab (GtkWidget *tab)
+         " switch interval - number of seconds (0 = never)" \
+         " between switching display\n")
+     };
+-    static gchar url[] = "http://www.nws.noaa.gov/tg/siteloc.shtml";
++    static gchar url[] = "http://www.nws.noaa.gov/tg/siteloc.php";
+     laptop = gtk_notebook_new();
+     gtk_notebook_set_tab_pos(GTK_NOTEBOOK(laptop), GTK_POS_TOP);
+     gtk_box_pack_start(GTK_BOX(tab), laptop, TRUE, TRUE, 0);
+@@ -986,7 +986,7 @@ read_default(void)
      options.windspeed_unit = 1;
      options.pressure_unit = 1;
      strcpy(options.station, DEFAULT_STATION_ID);
@@ -9,7 +18,7 @@
      options.command[511] = 0;
      snprintf(options.filename, 512, "%s/.wmWeatherReports/%s.dat",
               getenv("HOME"), options.station);
-@@ -998,6 +998,7 @@
+@@ -998,6 +998,7 @@ GkrellmMonitor *
  gkrellm_init_plugin(void)
  {
      #ifdef ENABLE_NLS

Modified: head/misc/gkrellweather2/pkg-descr
==============================================================================
--- head/misc/gkrellweather2/pkg-descr	Sat Sep 17 09:46:54 2016	(r422306)
+++ head/misc/gkrellweather2/pkg-descr	Sat Sep 17 10:34:56 2016	(r422307)
@@ -3,7 +3,7 @@ Service
 
 Features
 - Choose the location nearest to you by 4-letter METAR station
-  identifier code. (http://www.nws.noaa.gov/oso/siteloc.shtml)
+  identifier code.(http://www.nws.noaa.gov/tg/siteloc.php)
 - Monitor temperature, dew point, pressure, relative humidity, sky
   condition, wind direction and speed
 - Display using imperial units (degrees Fareheight, inches of



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609171034.u8HAYuJS020248>