Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Mar 2000 01:57:20 -0800 (PST)
From:      bifrost@dis.org
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/17316: New Port - QuickPicks
Message-ID:  <200003110957.BAA65283@freefall.freebsd.org>

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

>Number:         17316
>Category:       ports
>Synopsis:       New Port - QuickPicks
>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:   Sat Mar 11 02:00:02 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Evil Bifrost
>Release:        4.0
>Organization:
Dis Org
>Environment:
>Description:
This is a port of an HTML gallery creation program.
More details are available here - http://area23.org/QuickPics/ABOUT-QuickPics
>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:
#
#       qp
#       qp/Makefile
#       qp/files
#       qp/files/md5
#       qp/pkg
#       qp/pkg/COMMENT
#       qp/pkg/DESCR
#       qp/pkg/PLIST
#       qp/patches
#       qp/patches/patch-aa
#       qp/patches/patch-ab
#       qp/patches/patch-ac
#
echo c - qp
mkdir -p qp > /dev/null 2>&1
echo x - qp/Makefile
sed 's/^X//' >qp/Makefile << 'END-of-qp/Makefile'
X# New ports collection makefile for: QuickPics
X# Version required:    1.8
X# Date Created:  March 10th, 2000
X# Whom: Stever <stever@transmission23.com>
X#
X# $FreeBSD$
X#
X
XDISTNAME=      QuickPics-1.8
XCATEGORIES=    graphics
XMASTER_SITES=  http://area23.org/QuickPics/
X
XMAINTAINER=    bifrost@dis.org
X
XLIB_DEPENDS=   jpeg.9:${PORTSDIR}/graphics/jpeg
X
XWRKSRC=                ${WRKDIR}/${DISTNAME}/src
X
XGNU_CONFIGURE= yes
X
X.include <bsd.port.mk>
END-of-qp/Makefile
echo c - qp/files
mkdir -p qp/files > /dev/null 2>&1
echo x - qp/files/md5
sed 's/^X//' >qp/files/md5 << 'END-of-qp/files/md5'
XMD5 (QuickPics-1.8.tar.gz) = 5f11c29d7dabeeceb56a81a0292a9dbf
END-of-qp/files/md5
echo c - qp/pkg
mkdir -p qp/pkg > /dev/null 2>&1
echo x - qp/pkg/COMMENT
sed 's/^X//' >qp/pkg/COMMENT << 'END-of-qp/pkg/COMMENT'
XStever's Web gallery creator
XA really handy tool for large image collections and digital cameras
END-of-qp/pkg/COMMENT
echo x - qp/pkg/DESCR
sed 's/^X//' >qp/pkg/DESCR << 'END-of-qp/pkg/DESCR'
XQuickPics is a unix-based application that creates an HTML web gallery
Xbased on the directory structure and the images therein.  All thumbnails
Xare created by the program using direct calls to the jpeg library for
Xfast thumbnail creation.  One of my main requirements is that it will not
Xnot have to rely on CGI access to run.  It also does not need require
XPerl or other jpeg libraries.  Only the executable 'qp' is needed to
Xcreate any gallery of any size.
X
XIf you have an image gallery and you are tired of editing all the HTML
Xpages and resizing thumbnails, try QuickPics.  
X
Xby Steve Rider - stever@transmission23.com
END-of-qp/pkg/DESCR
echo x - qp/pkg/PLIST
sed 's/^X//' >qp/pkg/PLIST << 'END-of-qp/pkg/PLIST'
Xbin/qp
Xshare/qp/README
X@dirrm share/qp
END-of-qp/pkg/PLIST
echo c - qp/patches
mkdir -p qp/patches > /dev/null 2>&1
echo x - qp/patches/patch-aa
sed 's/^X//' >qp/patches/patch-aa << 'END-of-qp/patches/patch-aa'
X*** Makefile.in.orig   Sat Mar 11 00:13:27 2000
X--- Makefile.in        Sat Mar 11 01:31:30 2000
X***************
X*** 7,18 ****
X  #############################################################################
X  
X  # Executable name
X! INST_NAME = ../qp
X  
X  DEFINES = -DHAVE_CONFIG_H
X  
X  # Do you have libjpeg already on your system?  If so, set this.
X! LIBJPEGPATH = ../jpeg-6a
X  
X  
X  CC = gcc
X--- 7,18 ----
X  #############################################################################
X  
X  # Executable name
X! INST_NAME = qp
X  
X  DEFINES = -DHAVE_CONFIG_H
X  
X  # Do you have libjpeg already on your system?  If so, set this.
X! LIBJPEGPATH = /usr/local/lib
X  
X  
X  CC = gcc
X***************
X*** 27,33 ****
X  
X  SOURCES = html.c qp.c image.c dir.c utility.c main.c
X  
X! $(INST_NAME): $(OBJECTS)
X       $(CC) -o $(INST_NAME) $(OBJECTS) $(LIBJPEGPATH)/libjpeg.a $(CLINKFLAGS)
X       @echo ""
X       @echo "Successful compile: $(INST_NAME)"
X--- 27,33 ----
X  
X  SOURCES = html.c qp.c image.c dir.c utility.c main.c
X  
X! all: $(OBJECTS)
X       $(CC) -o $(INST_NAME) $(OBJECTS) $(LIBJPEGPATH)/libjpeg.a $(CLINKFLAGS)
X       @echo ""
X       @echo "Successful compile: $(INST_NAME)"
X***************
X*** 45,50 ****
X--- 45,56 ----
X       @rm -f *.o
X       @rm -f *.a
X       @rm -f core
X+ 
X+ install:
X+      strip qp
X+      install -c -g bin -o bin -m 555 qp /usr/local/bin
X+      mkdir /usr/local/share/qp
X+      install -c -g wheel -o root -m 444 ../README /usr/local/share/qp
X  
X  dist: clean
X       @rm -f $(INST_NAME)
END-of-qp/patches/patch-aa
echo x - qp/patches/patch-ab
sed 's/^X//' >qp/patches/patch-ab << 'END-of-qp/patches/patch-ab'
X*** image.c.orig       Sat Mar 11 01:07:05 2000
X--- image.c    Sat Mar 11 01:05:37 2000
X***************
X*** 9,15 ****
X  /* 17 February 98 */
X  
X  #include <stdio.h>
X! #include "jpeglib.h"
X  #include "image.h"
X  #include "utility.h"
X  #include "qp.h"
X--- 9,15 ----
X  /* 17 February 98 */
X  
X  #include <stdio.h>
X! #include "../jpeg-6a/jpeglib.h"
X  #include "image.h"
X  #include "utility.h"
X  #include "qp.h"
END-of-qp/patches/patch-ab
echo x - qp/patches/patch-ac
sed 's/^X//' >qp/patches/patch-ac << 'END-of-qp/patches/patch-ac'
X*** image.h.orig       Sat Mar 11 00:54:34 2000
X--- image.h    Sat Mar 11 01:05:52 2000
X***************
X*** 11,17 ****
X  #ifndef IMAGE_H
X  #define IMAGE_H
X  
X! #include "jpeglib.h"
X  
X  int IsImage(char *filepath, int *type);
X  int Image_GetDimensions(char *filename, int *width, int *height);
X--- 11,17 ----
X  #ifndef IMAGE_H
X  #define IMAGE_H
X  
X! #include "../jpeg-6a/jpeglib.h"
X  
X  int IsImage(char *filepath, int *type);
X  int Image_GetDimensions(char *filename, int *width, int *height);
END-of-qp/patches/patch-ac
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?200003110957.BAA65283>