From owner-freebsd-ports Wed Apr 8 01:50:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA22548 for freebsd-ports-outgoing; Wed, 8 Apr 1998 01:50:03 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: (from gnats@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA22540; Wed, 8 Apr 1998 01:50:01 -0700 (PDT) (envelope-from gnats) Received: from waru.life.nthu.edu.tw (waru.life.nthu.edu.tw [140.114.98.13]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA21912 for ; Wed, 8 Apr 1998 01:45:24 -0700 (PDT) (envelope-from frankch@waru.life.nthu.edu.tw) Received: (from frankch@localhost) by waru.life.nthu.edu.tw (8.8.8/8.8.8) id QAA20345; Wed, 8 Apr 1998 16:44:45 +0800 (CST) (envelope-from frankch) Message-Id: <199804080844.QAA20345@waru.life.nthu.edu.tw> Date: Wed, 8 Apr 1998 16:44:45 +0800 (CST) From: frankch@waru.life.nthu.edu.tw Reply-To: frankch@waru.life.nthu.edu.tw To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: ports/6250: Update graphics/aview to version 1.2 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 6250 >Category: ports >Synopsis: update graphics/aview port to version 1.2 >Confidential: yes >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Apr 8 01:50:00 PDT 1998 >Last-Modified: >Originator: Frank Chen Hsiung Chan >Organization: Department of Life Science, National Tsing Hua University, Taiwan >Release: FreeBSD 2.2.5-STABLE i386 >Environment: >Description: The ports/graphics/aview port has been updated to version 1.2, the previous distfile is no longer avaliable on the master site. this patch update the port to the latest version. btw, does aalib still working with slang installed? >How-To-Repeat: >Fix: Apply the following patch in ports/graphics directory. diff -ruN aview.orig/Makefile aview/Makefile --- aview.orig/Makefile Wed Apr 8 16:27:53 1998 +++ aview/Makefile Wed Apr 8 16:28:48 1998 @@ -1,12 +1,12 @@ # New ports collection Makefile for: aview -# Version required: 1.1 +# Version required: 1.2 # Date created: Dec 18 1997 # Whom: frankch@waru.life.nthu.edu.tw # # $Id: Makefile,v 1.1.1.1 1997/12/24 07:39:24 vanilla Exp $ # -DISTNAME= aview-1.1 +DISTNAME= aview-1.2 CATEGORIES= graphics x11 MASTER_SITES= ftp://ftp.ta.jcu.cz/pub/aa/ diff -ruN aview.orig/files/md5 aview/files/md5 --- aview.orig/files/md5 Wed Apr 8 16:27:53 1998 +++ aview/files/md5 Wed Apr 8 16:28:57 1998 @@ -1 +1 @@ -MD5 (aview-1.1.tar.gz) = 603ce1815c55b1ee456ab18363043f79 +MD5 (aview-1.2.tar.gz) = 8c3bc5d64f8b8d290e4d7816a6201bca diff -ruN aview.orig/patches/patch-aa aview/patches/patch-aa --- aview.orig/patches/patch-aa Wed Apr 8 16:27:53 1998 +++ aview/patches/patch-aa Wed Apr 8 16:36:23 1998 @@ -1,28 +1,12 @@ ---- flip.c.orig Thu Dec 18 23:22:17 1997 -+++ flip.c Thu Dec 18 23:22:59 1997 -@@ -659,15 +659,15 @@ - static void selectsupported(aa_context * c) +--- asciiview.orig Wed Apr 8 16:34:50 1998 ++++ asciiview Wed Apr 8 16:35:02 1998 +@@ -1,3 +1,4 @@ ++#!/bin/sh + # asciiview - an ascii art image browser script. Front end for aview/aaflip + clear() { - int supported = 0; -- if (c->driver->params.supported & AA_NORMAL_MASK) -+ if (c->params.supported & AA_NORMAL_MASK) - supported |= yesno(0, 0, "May I use normal text? ") ? AA_NORMAL_MASK : 0; -- if (c->driver->params.supported & AA_DIM_MASK) -+ if (c->params.supported & AA_DIM_MASK) - supported |= yesno(0, 1, "May I use half bright(dim)? ") ? AA_DIM_MASK : 0; -- if (c->driver->params.supported & AA_BOLD_MASK) -+ if (c->params.supported & AA_BOLD_MASK) - supported |= yesno(0, 2, "May I use bold as double bright?") ? AA_BOLD_MASK : 0; -- if (c->driver->params.supported & AA_BOLDFONT_MASK) -+ if (c->params.supported & AA_BOLDFONT_MASK) - supported |= yesno(0, 3, "May I use bold as bold font? ") ? AA_BOLDFONT_MASK : 0; -- if (c->driver->params.supported & AA_REVERSE_MASK) -+ if (c->params.supported & AA_REVERSE_MASK) - supported |= yesno(0, 4, "May I use reversed text? ") ? AA_REVERSE_MASK : 0; - aa_setsupported(c, supported); - } ---- image.c.orig Thu Dec 18 23:21:31 1997 -+++ image.c Thu Dec 18 23:21:50 1997 +--- image.c.orig Wed Apr 8 16:34:02 1998 ++++ image.c Wed Apr 8 16:34:43 1998 @@ -1,5 +1,5 @@ #include -#include @@ -30,41 +14,13 @@ int imgwidth, imgheight; unsigned char *imgdata; ---- ui.c.orig Thu Dec 18 23:20:31 1997 -+++ ui.c Thu Dec 18 23:22:05 1997 +--- ui.c.orig Wed Apr 8 16:34:09 1998 ++++ ui.c Wed Apr 8 16:34:26 1998 @@ -1,6 +1,6 @@ #include -+#include #include -#include ++#include #include #include #include "shrink.h" -@@ -56,15 +56,15 @@ - static void selectsupported(aa_context * c) - { - int supported = 0; -- if (c->driver->params.supported & AA_NORMAL_MASK) -+ if (c->params.supported & AA_NORMAL_MASK) - supported |= yesno(0, 0, "May I use normal text? ") ? AA_NORMAL_MASK : 0; -- if (c->driver->params.supported & AA_DIM_MASK) -+ if (c->params.supported & AA_DIM_MASK) - supported |= yesno(0, 1, "May I use half bright(dim)? ") ? AA_DIM_MASK : 0; -- if (c->driver->params.supported & AA_BOLD_MASK) -+ if (c->params.supported & AA_BOLD_MASK) - supported |= yesno(0, 2, "May I use bold as double bright?") ? AA_BOLD_MASK : 0; -- if (c->driver->params.supported & AA_BOLDFONT_MASK) -+ if (c->params.supported & AA_BOLDFONT_MASK) - supported |= yesno(0, 3, "May I use bold as bold font? ") ? AA_BOLDFONT_MASK : 0; -- if (c->driver->params.supported & AA_REVERSE_MASK) -+ if (c->params.supported & AA_REVERSE_MASK) - supported |= yesno(0, 4, "May I use reversed text? ") ? AA_REVERSE_MASK : 0; - aa_setsupported(c, supported); - } ---- asciiview.orig Thu Dec 18 23:25:19 1997 -+++ asciiview Thu Dec 18 23:25:29 1997 -@@ -1,3 +1,4 @@ -+#!/bin/sh - # asciiview - an ascii art image browser script. Front end for aview/aaflip - clear() - { >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message