Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Dec 2004 02:00:21 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/75624: Update port: graphics/gliv to 1.9
Message-ID:  <20041230020021.1e1098cb.tkato432@yahoo.com>
Resent-Message-ID: <200412291710.iBTHAEM3079151@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         75624
>Category:       ports
>Synopsis:       Update port: graphics/gliv to 1.9
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 29 17:10:14 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.10-RELEASE-p5 i386
>Organization:
>Environment:
>Description:
- Update to version 1.9

New file:
files/patch-src::options.c

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/graphics/gliv/Makefile graphics/gliv/Makefile
--- /usr/ports/graphics/gliv/Makefile	Mon Nov  8 14:14:06 2004
+++ graphics/gliv/Makefile	Sat Dec 25 23:17:56 2004
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	gliv
-PORTVERSION=	1.8.4
-PORTREVISION=	1
+PORTVERSION=	1.9
 CATEGORIES=	graphics
 MASTER_SITES=	http://guichaz.free.fr/gliv/
 
@@ -28,6 +27,7 @@
 		AUTOHEADER="${TRUE}"
 
 MAN1=		gliv.1
+MANLANG=	"" de fr ru
 
 CPPFLAGS=	-I${LOCALBASE}/include
 LDFLAGS=	-L${LOCALBASE}/lib
diff -urN /usr/ports/graphics/gliv/distinfo graphics/gliv/distinfo
--- /usr/ports/graphics/gliv/distinfo	Sun Aug  8 12:39:49 2004
+++ graphics/gliv/distinfo	Sat Dec 25 22:59:14 2004
@@ -1,2 +1,2 @@
-MD5 (gliv-1.8.4.tar.bz2) = 2ad963118f2f373e6b53f8cb247a9dcc
-SIZE (gliv-1.8.4.tar.bz2) = 428207
+MD5 (gliv-1.9.tar.bz2) = c4bd472e05c1c12f9feffb4a117fc62c
+SIZE (gliv-1.9.tar.bz2) = 445846
diff -urN /usr/ports/graphics/gliv/files/patch-Makefile.in graphics/gliv/files/patch-Makefile.in
--- /usr/ports/graphics/gliv/files/patch-Makefile.in	Sun Feb  8 22:48:28 2004
+++ graphics/gliv/files/patch-Makefile.in	Sat Dec 25 23:01:07 2004
@@ -1,9 +1,9 @@
---- Makefile.in.orig	Thu Feb  5 07:32:28 2004
-+++ Makefile.in	Sat Feb  7 17:42:40 2004
-@@ -622,8 +622,6 @@
+--- Makefile.in.orig	Mon Dec 20 03:20:43 2004
++++ Makefile.in	Sat Dec 25 23:00:57 2004
+@@ -582,8 +582,6 @@
  info-am:
  
- install-data-am: install-man
+ install-data-am:
 -	@$(NORMAL_INSTALL)
 -	$(MAKE) $(AM_MAKEFLAGS) install-data-hook
  
diff -urN /usr/ports/graphics/gliv/files/patch-src::collection.c graphics/gliv/files/patch-src::collection.c
--- /usr/ports/graphics/gliv/files/patch-src::collection.c	Wed Oct 13 02:37:31 2004
+++ graphics/gliv/files/patch-src::collection.c	Sat Dec 25 23:01:47 2004
@@ -1,14 +1,6 @@
---- src/collection.c.orig	Thu Jul 29 06:40:56 2004
-+++ src/collection.c	Thu Sep 30 20:46:04 2004
-@@ -77,6 +77,7 @@
-  * are '\0' terminated strings representing decimal numbers.
-  */
- 
-+#include <sys/types.h>
- #include <sys/mman.h>           /* mmap(), PROT_READ, MAP_PRIVATE, ... */
- #include <stdio.h>              /* FILE, fopen(), fread(), fwrite(), ... */
- #include <string.h>             /* strlen(), strrchr() */
-@@ -638,8 +639,8 @@
+--- src/collection.c.orig	Mon Dec 20 08:16:25 2004
++++ src/collection.c	Sat Dec 25 23:01:11 2004
+@@ -713,8 +713,8 @@
              guchar *base;
              guchar *ptr;
              guchar *end;
@@ -19,7 +11,7 @@
  };
  
  static void free_buffer(struct coll_src *source, guchar * buffer)
-@@ -655,16 +656,16 @@
+@@ -730,16 +730,16 @@
  
      if (source->is_file) {
          data = g_new(guchar, length);
@@ -40,7 +32,7 @@
      }
  
      if (is_string && data[length - 1] != '\0') {
-@@ -678,12 +679,12 @@
+@@ -753,12 +753,12 @@
  static gint read_char(struct coll_src *source)
  {
      if (source->is_file)
@@ -56,7 +48,7 @@
  }
  
  static GdkPixbufDestroyNotify destroy_func(struct coll_src *source)
-@@ -855,22 +856,22 @@
+@@ -930,22 +930,22 @@
          goto no_mmap;
      }
  
@@ -84,7 +76,7 @@
  
    ok:
      return source;
-@@ -879,7 +880,7 @@
+@@ -954,7 +954,7 @@
  static void destroy_source(struct coll_src *source, gboolean ok)
  {
      if (ok == FALSE && source->is_file == FALSE)
diff -urN /usr/ports/graphics/gliv/files/patch-src::options.c graphics/gliv/files/patch-src::options.c
--- /usr/ports/graphics/gliv/files/patch-src::options.c	Thu Jan  1 09:00:00 1970
+++ graphics/gliv/files/patch-src::options.c	Sat Dec 25 23:10:17 2004
@@ -0,0 +1,38 @@
+--- src/options.c.orig	Mon Dec 20 08:24:26 2004
++++ src/options.c	Sat Dec 25 23:10:14 2004
+@@ -199,12 +199,15 @@
+ 
+ static gboolean on_read_config_realize(GtkLabel * widget)
+ {
+-    const gchar *filename = get_read_config_file();
++    const gchar *filename;
++    gchar *text;
++
++    filename = get_read_config_file();
+ 
+     if (filename == NULL)
+         filename = _("NONE");
+ 
+-    gchar *text =
++    text =
+         g_strdup_printf(_("This configuration file has been read: %s"),
+                         filename);
+ 
+@@ -216,12 +219,15 @@
+ 
+ static gboolean on_write_config_realize(GtkLabel * widget)
+ {
+-    const gchar *filename = get_write_config_file();
++    const gchar *filename;
++    gchar *text;
++
++    filename = get_write_config_file();
+ 
+     if (filename == NULL)
+         filename = _("NONE");
+ 
+-    gchar *text =
++    text =
+         g_strdup_printf(_("This configuration file will be written: %s"),
+                         filename);
+ 
diff -urN /usr/ports/graphics/gliv/pkg-plist graphics/gliv/pkg-plist
--- /usr/ports/graphics/gliv/pkg-plist	Sun Aug  8 12:39:49 2004
+++ graphics/gliv/pkg-plist	Sat Dec 25 23:25:59 2004
@@ -8,3 +8,9 @@
 share/locale/ro/LC_MESSAGES/gliv.mo
 share/locale/ru/LC_MESSAGES/gliv.mo
 share/locale/sk/LC_MESSAGES/gliv.mo
+@unexec rmdir %D/man/ru/man1 2>/dev/null || true
+@unexec rmdir %D/man/ru 2>/dev/null || true
+@unexec rmdir %D/man/fr/man1 2>/dev/null || true
+@unexec rmdir %D/man/fr 2>/dev/null || true
+@unexec rmdir %D/man/de/man1 2>/dev/null || true
+@unexec rmdir %D/man/de 2>/dev/null || true
>Release-Note:
>Audit-Trail:
>Unformatted:



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