upgrade to gqview 1.3.9

ok MAINTAINER
This commit is contained in:
brad 2004-02-07 22:00:47 +00:00
parent 25b2170277
commit c926328ed7
6 changed files with 90 additions and 70 deletions

View File

@ -1,12 +1,12 @@
# $OpenBSD: Makefile,v 1.27 2003/04/29 00:32:14 margarida Exp $
# $OpenBSD: Makefile,v 1.28 2004/02/07 22:00:47 brad Exp $
COMMENT= "Gtk-based graphic file viewer"
DISTNAME= gqview-1.2.2
DISTNAME= gqview-1.3.9
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gqview/}
HOMEPAGE= http://gqview.sourceforge.net
HOMEPAGE= http://gqview.sourceforge.net/
MAINTAINER= Margarida Sequeira <margarida@openbsd.org>
@ -16,11 +16,24 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
LIB_DEPENDS= gtk.1.2,gdk.1.2::x11/gtk+ \
gdk_pixbuf.2::graphics/gdk-pixbuf
MODULES= gettext
LIB_DEPENDS+= png.2::graphics/png \
gdk-x11-2.0.0.0,gdk_pixbuf-2.0.0.0,gtk-x11-2.0.0.0::x11/gtk+2
BUILD_DEPENDS+= :pkgconfig-*:devel/pkgconfig
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/libpng -I${LOCALBASE}/include" \
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include/libpng -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
# gqview only installs these files conditionally if it finds gnome-config.
# here we will install the files manually, this eases integration with GNOME.
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/gnome/apps/Graphics
${INSTALL_DATA_DIR} ${PREFIX}/share/pixmaps
${INSTALL_DATA} ${WRKSRC}/gqview.desktop \
${PREFIX}/share/gnome/apps/Graphics
${INSTALL_DATA} ${WRKSRC}/gqview.png ${PREFIX}/share/pixmaps
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
MD5 (gqview-1.2.2.tar.gz) = 3273d2f39d4383a6b0812afeaccc5606
RMD160 (gqview-1.2.2.tar.gz) = fd99a9da9e3b623d5b14f21682a447e04c1009cf
SHA1 (gqview-1.2.2.tar.gz) = 6530af2286c024115afab71fbe3d7e31ae42af7d
MD5 (gqview-1.3.9.tar.gz) = eb8ea61c02a757d55b2bf55837b6e2d1
RMD160 (gqview-1.3.9.tar.gz) = 5fb1094df44f5687d5c02b3a41a006cb1422351a
SHA1 (gqview-1.3.9.tar.gz) = 2cc588100651ad1870a934b8591061d16db1847a

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-Makefile_in,v 1.6 2003/05/13 00:12:37 naddy Exp $
--- Makefile.in.orig Mon Mar 3 18:08:01 2003
+++ Makefile.in Mon May 12 17:47:51 2003
@@ -114,7 +114,7 @@ EXTRA_DIST = config.rpath \
$OpenBSD: patch-Makefile_in,v 1.7 2004/02/07 22:00:48 brad Exp $
--- Makefile.in.orig 2003-10-31 11:12:00.000000000 -0500
+++ Makefile.in 2003-11-02 00:54:28.000000000 -0500
@@ -128,7 +128,7 @@ EXTRA_DIST = mkinstalldirs config.rpath
gqview.1
@ -9,4 +9,4 @@ $OpenBSD: patch-Makefile_in,v 1.6 2003/05/13 00:12:37 naddy Exp $
+helpdir = $(prefix)/share/doc/gqview
help_DATA = README
@HAVE_GNOME_TRUE@desktopdir = @HAVE_GNOME_TRUE@$(GNOME_DATADIR)/gnome/apps/Graphics
@HAVE_GNOME_TRUE@desktopdir = $(GNOME_DATADIR)/gnome/apps/Graphics

View File

@ -1,46 +1,26 @@
$OpenBSD: patch-configure,v 1.7 2003/05/13 00:12:37 naddy Exp $
--- configure.orig Mon Mar 3 18:07:43 2003
+++ configure Mon May 12 17:50:30 2003
@@ -2927,7 +2927,7 @@ fi
$OpenBSD: patch-configure,v 1.8 2004/02/07 22:00:48 brad Exp $
--- configure.orig 2004-02-03 12:45:27.000000000 -0500
+++ configure 2004-02-06 14:35:04.000000000 -0500
@@ -5856,7 +5856,7 @@ fi
fi
cat >> confdefs.h <<EOF
cat >>confdefs.h <<_ACEOF
-#define GQVIEW_HELPDIR "$prefix/share/gqview"
+#define GQVIEW_HELPDIR "$prefix/share/doc/gqview"
EOF
_ACEOF
@@ -5242,7 +5242,6 @@ else
#include "confdefs.h"
@@ -9016,12 +9016,11 @@ cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include <libintl.h>
extern int _nl_msg_cat_cntr;
-extern int *_nl_domain_bindings;
extern
#ifdef __cplusplus
"C"
@@ -5250,7 +5249,7 @@ extern
const char *_nl_expand_alias ();
int main() {
int
main ()
{
bindtextdomain ("", "");
-return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings + *_nl_expand_alias (0)
+return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
; return 0; }
EOF
if { (eval echo configure:5257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
@@ -5270,7 +5269,6 @@ rm -f conftest*
#include "confdefs.h"
#include <libintl.h>
extern int _nl_msg_cat_cntr;
-extern int *_nl_domain_bindings;
extern
#ifdef __cplusplus
"C"
@@ -5278,7 +5276,7 @@ extern
const char *_nl_expand_alias ();
int main() {
bindtextdomain ("", "");
-return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings + *_nl_expand_alias (0)
+return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
; return 0; }
EOF
if { (eval echo configure:5285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
-return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
+return (int) gettext ("") + _nl_msg_cat_cntr
;
return 0;
}

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-src_main_c,v 1.1 2003/06/18 01:56:15 avsm Exp $
--- src/main.c.orig Tue Jun 17 02:02:21 2003
+++ src/main.c Tue Jun 17 02:02:43 2003
@@ -159,7 +159,7 @@ static void editor_line_break(gchar *com
void start_editor_from_path_list(gint n, GList *list)
{
- gchar current_path[512];
+ gchar current_path[MAXPATHLEN];
gchar *success;
gchar *cmd;
gchar *buf;

View File

@ -1,8 +1,9 @@
@comment $OpenBSD: PLIST,v 1.14 2003/12/16 18:17:15 naddy Exp $
@comment $OpenBSD: PLIST,v 1.15 2004/02/07 22:00:48 brad Exp $
bin/gqview
man/man1/gqview.1
share/doc/gqview/README
@comment share/gnome/apps/Graphics/gqview.desktop
share/gnome/apps/Graphics/gqview.desktop
share/locale/bg/LC_MESSAGES/gqview.mo
share/locale/cs/LC_MESSAGES/gqview.mo
share/locale/da/LC_MESSAGES/gqview.mo
share/locale/de/LC_MESSAGES/gqview.mo
@ -11,6 +12,7 @@ share/locale/et/LC_MESSAGES/gqview.mo
share/locale/fi/LC_MESSAGES/gqview.mo
share/locale/fr/LC_MESSAGES/gqview.mo
share/locale/hu/LC_MESSAGES/gqview.mo
share/locale/id/LC_MESSAGES/gqview.mo
share/locale/it/LC_MESSAGES/gqview.mo
share/locale/ja/LC_MESSAGES/gqview.mo
share/locale/nl/LC_MESSAGES/gqview.mo
@ -21,14 +23,15 @@ share/locale/ro/LC_MESSAGES/gqview.mo
share/locale/ru/LC_MESSAGES/gqview.mo
share/locale/sk/LC_MESSAGES/gqview.mo
share/locale/sl/LC_MESSAGES/gqview.mo
share/locale/sv/LC_MESSAGES/gqview.mo
share/locale/th/LC_MESSAGES/gqview.mo
share/locale/tr/LC_MESSAGES/gqview.mo
share/locale/uk/LC_MESSAGES/gqview.mo
share/locale/vi/LC_MESSAGES/gqview.mo
share/locale/zh_CN.GB2312/LC_MESSAGES/gqview.mo
share/locale/zh_TW/LC_MESSAGES/gqview.mo
@comment share/pixmaps/gqview.png
@comment @dirrm share/pixmaps
share/pixmaps/gqview.png
@dirrm share/pixmaps
@dirrm share/locale/zh_TW/LC_MESSAGES
@dirrm share/locale/zh_TW
@dirrm share/locale/zh_CN.GB2312/LC_MESSAGES
@ -37,17 +40,53 @@ share/locale/zh_TW/LC_MESSAGES/gqview.mo
@dirrm share/locale/vi
@dirrm share/locale/uk/LC_MESSAGES
@dirrm share/locale/uk
@dirrm share/locale/tr/LC_MESSAGES
@dirrm share/locale/tr
@dirrm share/locale/th/LC_MESSAGES
@dirrm share/locale/th
@dirrm share/locale/sv/LC_MESSAGES
@dirrm share/locale/sv
@dirrm share/locale/sl/LC_MESSAGES
@dirrm share/locale/sl
@dirrm share/locale/sk/LC_MESSAGES
@dirrm share/locale/sk
@dirrm share/locale/ru/LC_MESSAGES
@dirrm share/locale/ru
@dirrm share/locale/ro/LC_MESSAGES
@dirrm share/locale/ro
@dirrm share/locale/pt_BR/LC_MESSAGES
@dirrm share/locale/pt_BR
@dirrm share/locale/pl/LC_MESSAGES
@dirrm share/locale/pl
@dirrm share/locale/no/LC_MESSAGES
@dirrm share/locale/no
@dirrm share/locale/nl/LC_MESSAGES
@dirrm share/locale/nl
@dirrm share/locale/ja/LC_MESSAGES
@dirrm share/locale/ja
@dirrm share/locale/it/LC_MESSAGES
@dirrm share/locale/it
@dirrm share/locale/id/LC_MESSAGES
@dirrm share/locale/id
@dirrm share/locale/hu/LC_MESSAGES
@dirrm share/locale/hu
@dirrm share/locale/fr/LC_MESSAGES
@dirrm share/locale/fr
@dirrm share/locale/fi/LC_MESSAGES
@dirrm share/locale/fi
@comment @dirrm share/gnome/apps/Graphics
@comment @dirrm share/gnome/apps
@comment @dirrm share/gnome
@dirrm share/locale/et/LC_MESSAGES
@dirrm share/locale/et
@dirrm share/locale/es/LC_MESSAGES
@dirrm share/locale/es
@dirrm share/locale/de/LC_MESSAGES
@dirrm share/locale/de
@dirrm share/locale/da/LC_MESSAGES
@dirrm share/locale/da
@dirrm share/locale/cs/LC_MESSAGES
@dirrm share/locale/cs
@dirrm share/locale/bg/LC_MESSAGES
@dirrm share/locale/bg
@dirrm share/gnome/apps/Graphics
@dirrm share/gnome/apps
@dirrm share/gnome
@dirrm share/doc/gqview