Update to version 1.9

PR:		ports/75624
Submitted by:	Ports Fury
This commit is contained in:
Kirill Ponomarev 2004-12-30 08:50:58 +00:00
parent 6b6927ee6f
commit d194ee2353
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=125513
6 changed files with 59 additions and 23 deletions

View file

@ -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 @@ MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
AUTOHEADER="${TRUE}"
MAN1= gliv.1
MANLANG= "" de fr ru
CPPFLAGS= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib

View file

@ -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

View file

@ -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

View file

@ -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)

View file

@ -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);

View file

@ -8,3 +8,9 @@ share/locale/pt_BR/LC_MESSAGES/gliv.mo
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