Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 May 2002 08:06:45 -0700 (PDT)
From:      KATO Tsuguru <tkato@prontomail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/37833: New port: print/libijs
Message-ID:  <200205071506.g47F6jek029147@nwww.freebsd.org>

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

>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 <bsd.port.mk>
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




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