From owner-freebsd-ports Tue May 7 8:10:40 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D203B37B40B for ; Tue, 7 May 2002 08:10:02 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g47FA2p95657; Tue, 7 May 2002 08:10:02 -0700 (PDT) (envelope-from gnats) Received: from nwww.freebsd.org (nwww.FreeBSD.org [216.136.204.117]) by hub.freebsd.org (Postfix) with ESMTP id A618937B406 for ; Tue, 7 May 2002 08:05:15 -0700 (PDT) Received: from nwww.freebsd.org (localhost [127.0.0.1]) by nwww.freebsd.org (8.12.2/8.12.2) with ESMTP id g47F6jhG029148 for ; Tue, 7 May 2002 08:06:45 -0700 (PDT) (envelope-from nobody@nwww.freebsd.org) Received: (from nobody@localhost) by nwww.freebsd.org (8.12.2/8.12.2/Submit) id g47F6jek029147; Tue, 7 May 2002 08:06:45 -0700 (PDT) Message-Id: <200205071506.g47F6jek029147@nwww.freebsd.org> Date: Tue, 7 May 2002 08:06:45 -0700 (PDT) From: KATO Tsuguru To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: ports/37833: New port: print/libijs Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 37833 >Category: ports >Synopsis: New port: print/libijs >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: Tue May 07 08:10:02 PDT 2002 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: 4.4-RELEASE i386 >Organization: >Environment: >Description: IJS is a relatively new initiative to improve the quality and ease of use of inkjet printing with Ghostscript. Using IJS, you can add new drivers, or upgrade existing ones, without recompiling Ghostscript. All driver authors are encouraged to adapt their drivers for IJS, and if there is an IJS driver available for your printer, it should be your first choice. WWW: http://www.linuxprinting.org/ijs/ >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: # # libijs # libijs/Makefile # libijs/distinfo # libijs/files # libijs/files/patch-Makefile.in # libijs/pkg-comment # libijs/pkg-descr # libijs/pkg-plist # echo c - libijs mkdir -p libijs > /dev/null 2>&1 echo x - libijs/Makefile sed 's/^X//' >libijs/Makefile << 'END-of-libijs/Makefile' X# New ports collection makefile for: hpijs X# Date created: 1 May 2002 X# Whom: ports@FreeBSD.org X# X# $FreeBSD$ X# X XPORTNAME= libijs XPORTVERSION= 0.34 XCATEGORIES= print XMASTER_SITES= http://www.linuxprinting.org/ijs/download/ XDISTNAME= ijs-${PORTVERSION} XDIST_SUBDIR= ghostscript X XMAINTAINER= ports@FreeBSD.org X XUSE_GMAKE= yes XGNU_CONFIGURE= yes XCONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} X XMAKE_ENV= SHLIB_VER=${SHLIB_VER} XPLIST_SUB= SHLIB_VER=${SHLIB_VER} X XSHLIB_VER= 1 X X.include END-of-libijs/Makefile echo x - libijs/distinfo sed 's/^X//' >libijs/distinfo << 'END-of-libijs/distinfo' XMD5 (ghostscript/ijs-0.34.tar.gz) = 9f6b7cfac8dbaddda9f6c90f06a0d699 END-of-libijs/distinfo echo c - libijs/files mkdir -p libijs/files > /dev/null 2>&1 echo x - libijs/files/patch-Makefile.in sed 's/^X//' >libijs/files/patch-Makefile.in << 'END-of-libijs/files/patch-Makefile.in' X--- Makefile.in.orig Tue Apr 23 06:51:55 2002 X+++ Makefile.in Sun Apr 28 13:09:35 2002 X@@ -1,14 +1,15 @@ X # Unix X X CC=@CC@ X-CFLAGS=-g -Wall -ansi -pedantic -Wmissing-prototypes X+CFLAGS=@CFLAGS@ -ansi -pedantic -Wmissing-prototypes X LDLIBS= X OBJ=.@OBJEXT@ X EXE=@EXEEXT@ X X # todo: this needs to be .dylib on OS X - write a test X-SHARED_LDFLAGS=-shared X-SHARED_OBJ=.so X+SHARED_LDFLAGS=-shared -Wl,-soname,libijs$(SHARED_OBJ) X+SHARED_OBJ=.so.$(SHLIB_VER) X+SHLIB_VER?=0 X #SHARED_LDFLAGS=-dylib X #SHARED_OBJ=.dylib X X@@ -28,11 +29,20 @@ X X pkgincludedir=$(includedir)/ijs X X-INSTALL = @INSTALL@ X+INSTALL_PROGRAM = @INSTALL_PROGRAM@ X+INSTALL_SCRIPT = @INSTALL_SCRIPT@ X+INSTALL_DATA = @INSTALL_DATA@ X X IJS_COMMON_OBJ=ijs$(OBJ) X X-all: libijs.a libijs$(SHARED_OBJ) ijs_client_example$(EXE) ijs_server_example$(EXE) X+.SUFFIXES: .c .lo .o X+ X+.c.o: X+ $(CC) $(CFLAGS) -c -o $@ $< X+.c.lo: X+ $(CC) $(CFLAGS) -fPIC -DPIC -c -o $@ $< X+ X+all: libijs.a libijs$(SHARED_OBJ) ijs_client_example$(EXE) X X LIB_OBJS=ijs$(OBJ) ijs_client$(OBJ) ijs_server$(OBJ) $(IJS_EXEC_SERVER) X X@@ -44,7 +54,7 @@ X # Note: this builds both the server and client into a single library. Logically, it X # makes sense to separate them, but they're small enough to make this probably X # not worthwhile. X-libijs$(SHARED_OBJ): $(LIB_OBJS) X+libijs$(SHARED_OBJ): $(LIB_OBJS:.o=.lo) X $(CC) $(SHARED_LDFLAGS) $^ -o $@ X X ijs_client_example$(EXE): ijs_client_example$(OBJ) ijs_client$(OBJ) $(IJS_COMMON_OBJ) $(IJS_EXEC_SERVER) X@@ -60,14 +70,15 @@ X $(RM) *~ gmon.out core ijs_spec.log ijs_spec.tex ijs_spec.aux libijs.a libijs$(SHARED_OBJ) config.cache config.log config.status ijs-config X X install: all X- $(INSTALL) ijs_client_example$(EXE) -c $(bindir)/ijs_client_example$(EXE) X- $(INSTALL) ijs-config -c $(bindir)/ijs-config X- $(INSTALL) libijs.a $(libdir)/libijs.a X- $(INSTALL) libijs$(SHARED_OBJ) $(libdir)/libijs$(SHARED_OBJ) X+ $(INSTALL_PROGRAM) ijs_client_example$(EXE) $(bindir)/ijs_client_example$(EXE) X+ $(INSTALL_SCRIPT) ijs-config $(bindir)/ijs-config X+ $(INSTALL_DATA) libijs.a $(libdir)/libijs.a X+ $(INSTALL_DATA) libijs$(SHARED_OBJ) $(libdir)/libijs$(SHARED_OBJ) X+ -ln -sf libijs$(SHARED_OBJ) $(libdir)/libijs.so X -mkdir $(pkgincludedir) X- $(INSTALL) ijs.h $(pkgincludedir)/ijs.h X- $(INSTALL) ijs_client.h $(pkgincludedir)/ijs_client.h X- $(INSTALL) ijs_server.h $(pkgincludedir)/ijs_server.h X+ $(INSTALL_DATA) ijs.h $(pkgincludedir)/ijs.h X+ $(INSTALL_DATA) ijs_client.h $(pkgincludedir)/ijs_client.h X+ $(INSTALL_DATA) ijs_server.h $(pkgincludedir)/ijs_server.h X X uninstall: X $(RM) $(bindir)/ijs_client_example$(EXE) $(bindir)/ijs-config $(libdir)/libijs.a $(libdir)/libijs$(SHARED_OBJ) END-of-libijs/files/patch-Makefile.in echo x - libijs/pkg-comment sed 's/^X//' >libijs/pkg-comment << 'END-of-libijs/pkg-comment' XC library that supports plugin printer driver for Ghostscript END-of-libijs/pkg-comment echo x - libijs/pkg-descr sed 's/^X//' >libijs/pkg-descr << 'END-of-libijs/pkg-descr' XIJS is a relatively new initiative to improve the quality and ease Xof use of inkjet printing with Ghostscript. Using IJS, you can add Xnew drivers, or upgrade existing ones, without recompiling Ghostscript. XAll driver authors are encouraged to adapt their drivers for IJS, Xand if there is an IJS driver available for your printer, it should Xbe your first choice. X XWWW: http://www.linuxprinting.org/ijs/ END-of-libijs/pkg-descr echo x - libijs/pkg-plist sed 's/^X//' >libijs/pkg-plist << 'END-of-libijs/pkg-plist' Xbin/ijs_client_example Xbin/ijs-config Xinclude/ijs/ijs.h Xinclude/ijs/ijs_client.h Xinclude/ijs/ijs_server.h Xlib/libijs.a Xlib/libijs.so Xlib/libijs.so.%%SHLIB_VER%% X@dirrm include/ijs END-of-libijs/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message