Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 May 2000 11:40:07 +0100 (IST)
From:      Colman ReillyCareilly <careilly@thecia.ie>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/18649: New port of vide-0.2.6
Message-ID:  <200005181040.LAA33285@thecia.ie>

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

>Number:         18649
>Category:       ports
>Synopsis:       New port of vide-0.2.6
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 18 03:50:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Colman Reilly
>Release:        FreeBSD 4.0-STABLE i386
>Organization:
Communications Interactive Agency
>Environment:

FreeBSD 4.0-STABLE i386


>Description:

Simple Gtk+ based filemanager with vi keybindings.


>How-To-Repeat:

>Fix:


# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	vide
#	vide/Makefile
#	vide/files
#	vide/files/md5
#	vide/pkg
#	vide/pkg/COMMENT
#	vide/pkg/DESCR
#	vide/pkg/PLIST
#	vide/patches
#	vide/patches/patch-aa
#	vide/patches/patch-ab
#
echo c - vide
mkdir -p vide > /dev/null 2>&1
echo x - vide/Makefile
sed 's/^X//' >vide/Makefile << 'END-of-vide/Makefile'
X# New ports collection makefile for:  vide
X# Version required:	(self contained)
X# Date created:        May 17 2000
X# Whom:                careilly
X#
X# $FreeBSD$
X#
X
XDISTNAME=      vide-0.2.6
XCATEGORIES=    x11-fm
XMASTER_SITES=  http://vide.sourceforge.net/
X
XMAINTAINER=    careilly@thecia.ie
X
XLIB_DEPENDS=    gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
X
XCFLAGS+= -DHAVE_SYS_PARAM_H
X
XMANCOMPRESSED= yes
XUSE_XLIB= yes
XGNU_CONFIGURE= yes
XUSE_GMAKE=     yes
X
X.include <bsd.port.mk>
END-of-vide/Makefile
echo c - vide/files
mkdir -p vide/files > /dev/null 2>&1
echo x - vide/files/md5
sed 's/^X//' >vide/files/md5 << 'END-of-vide/files/md5'
XMD5 (vide-0.2.6.tar.gz) = cb8479b92e169e15035efa5f9c71c5f3
END-of-vide/files/md5
echo c - vide/pkg
mkdir -p vide/pkg > /dev/null 2>&1
echo x - vide/pkg/COMMENT
sed 's/^X//' >vide/pkg/COMMENT << 'END-of-vide/pkg/COMMENT'
XSimple Gtk+ based filemanager with vi keybindings
END-of-vide/pkg/COMMENT
echo x - vide/pkg/DESCR
sed 's/^X//' >vide/pkg/DESCR << 'END-of-vide/pkg/DESCR'
XVide is a simple filemanager with vi keybindings. If you already
Xuse vi, Vide enables you to have complete keyboard control over
Xyour filemanager without having to learn a new set of commands.
X
XVide runs under X11 and is based on Gtk+
X
XWWW: http://vide.sourceforge.net/
X
X- Colman
Xcareilly@thecia.ie
END-of-vide/pkg/DESCR
echo x - vide/pkg/PLIST
sed 's/^X//' >vide/pkg/PLIST << 'END-of-vide/pkg/PLIST'
Xbin/vide
END-of-vide/pkg/PLIST
echo c - vide/patches
mkdir -p vide/patches > /dev/null 2>&1
echo x - vide/patches/patch-aa
sed 's/^X//' >vide/patches/patch-aa << 'END-of-vide/patches/patch-aa'
X--- src/search_mode.c.orig	Wed May 17 20:28:02 2000
X+++ src/search_mode.c	Wed May 17 20:30:57 2000
X@@ -16,6 +16,13 @@
X  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
X  */
X 
X+#ifdef HAVE_SYS_PARAM_H
X+#include <sys/param.h>
X+#endif
X+
X+#if (defined(BSD) && (BSD>=199103))
X+#include <sys/types.h>
X+#endif
X #include <fnmatch.h>
X #include<stdio.h>
X #include<string.h>
END-of-vide/patches/patch-aa
echo x - vide/patches/patch-ab
sed 's/^X//' >vide/patches/patch-ab << 'END-of-vide/patches/patch-ab'
X--- configure.orig	Wed May 17 21:49:12 2000
X+++ configure	Wed May 17 21:50:49 2000
X@@ -1551,18 +1551,18 @@
X   if test x$gtk_config_exec_prefix != x ; then
X      gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
X      if test x${GTK_CONFIG+set} != xset ; then
X-        GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
X+        GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk12-config
X      fi
X   fi
X   if test x$gtk_config_prefix != x ; then
X      gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
X      if test x${GTK_CONFIG+set} != xset ; then
X-        GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
X+        GTK_CONFIG=$gtk_config_prefix/bin/gtk12-config
X      fi
X   fi
X 
X-  # Extract the first word of "gtk-config", so it can be a program name with args.
X-set dummy gtk-config; ac_word=$2
X+  # Extract the first word of "gtk12-config", so it can be a program name with args.
X+set dummy gtk12-config; ac_word=$2
X echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
X echo "configure:1568: checking for $ac_word" >&5
X if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
X@@ -1648,16 +1648,16 @@
X       (gtk_minor_version != $gtk_config_minor_version) ||
X       (gtk_micro_version != $gtk_config_micro_version))
X     {
X-      printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n", 
X+      printf("\n*** 'gtk12-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n", 
X              $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
X              gtk_major_version, gtk_minor_version, gtk_micro_version);
X-      printf ("*** was found! If gtk-config was correct, then it is best\n");
X+      printf ("*** was found! If gtk12-config was correct, then it is best\n");
X       printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
X       printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
X       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
X       printf("*** required on your system.\n");
X-      printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
X-      printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
X+      printf("*** If gtk12-config was wrong, set the environment variable GTK_CONFIG\n");
X+      printf("*** to point to the correct copy of gtk12-config, and remove the file config.cache\n");
X       printf("*** before re-running configure\n");
X     } 
X #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
X@@ -1688,10 +1688,10 @@
X         printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
X         printf("***\n");
X         printf("*** If you have already installed a sufficiently new version, this error\n");
X-        printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
X+        printf("*** probably means that the wrong copy of the gtk12-config shell script is\n");
X         printf("*** being found. The easiest way to fix this is to remove the old version\n");
X         printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
X-        printf("*** correct copy of gtk-config. (In this case, you will have to\n");
X+        printf("*** correct copy of gtk12-config. (In this case, you will have to\n");
X         printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
X         printf("*** so that the correct libraries are found at run-time))\n");
X       }
X@@ -1722,10 +1722,10 @@
X   else
X      echo "$ac_t""no" 1>&6
X      if test "$GTK_CONFIG" = "no" ; then
X-       echo "*** The gtk-config script installed by GTK could not be found"
X+       echo "*** The gtk12-config script installed by GTK could not be found"
X        echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
X        echo "*** your path, or set the GTK_CONFIG environment variable to the"
X-       echo "*** full path to gtk-config."
X+       echo "*** full path to gtk12-config."
X      else
X        if test -f conf.gtktest ; then
X         :
X@@ -1767,7 +1767,7 @@
X    echo "*** The test program failed to compile or link. See the file config.log for the"
X           echo "*** exact error that occured. This usually means GTK was incorrectly installed"
X           echo "*** or that you have moved GTK since it was installed. In the latter case, you"
X-          echo "*** may want to edit the gtk-config script: $GTK_CONFIG" 
X+          echo "*** may want to edit the gtk12-config script: $GTK_CONFIG" 
X fi
X rm -f conftest*
X           CFLAGS="$ac_save_CFLAGS"
X@@ -1776,7 +1776,7 @@
X      fi
X      GTK_CFLAGS=""
X      GTK_LIBS=""
X-     { echo "configure: error: Cannot find GTK: Is gtk-config in path?" 1>&2; exit 1; }
X+     { echo "configure: error: Cannot find GTK: Is gtk12-config in path?" 1>&2; exit 1; }
X   fi
X   
X   
END-of-vide/patches/patch-ab
exit


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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