initial import of xchiplogo-19991222
note that the version number is the date when I grabbed the sources. There is no "official" version included in the sources. Xchiplogo reads an ascii bitmap file, and converts it into a magic or cif file. It is a handy program for creating logos of text or graphics for putting on VLSI chips. At the moment it accepts the B&W dithered format of XV as the input. It has got quite a few options for resizing and get- ting rid of many design rule errors that can be found in the bitmap file. It has a smoothing, before and after an error correction step. The error correction step is pretty simple ,don't expect miracles, but it works quite fine and spe- cially for text gives a reasonable output.
This commit is contained in:
parent
24fd15e78d
commit
6ee94135f2
7 changed files with 74 additions and 0 deletions
20
cad/xchiplogo/Makefile
Normal file
20
cad/xchiplogo/Makefile
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
# $NetBSD: Makefile,v 1.1.1.1 1999/12/23 03:57:11 dmcmahill Exp $
|
||||||
|
#
|
||||||
|
|
||||||
|
DISTNAME= xchiplogo
|
||||||
|
PKGNAME= xchiplogo-19991222
|
||||||
|
CATEGORIES= cad
|
||||||
|
MASTER_SITES= http://www.eleceng.adelaide.edu.au/Personal/moini/
|
||||||
|
|
||||||
|
MAINTAINER= dmcmahill@netbsd.org
|
||||||
|
HOMEPAGE= http://www.eleceng.adelaide.edu.au/Personal/moini/chiplogo.html
|
||||||
|
|
||||||
|
DEPENDS+= xforms-*:../../x11/xforms
|
||||||
|
DEPENDS+= xpm-*:../../graphics/xpm
|
||||||
|
|
||||||
|
USE_X11= yes
|
||||||
|
|
||||||
|
do-install:
|
||||||
|
${INSTALL_PROGRAM} ${WRKSRC}/xchiplogo ${LOCALBASE}/bin/xchiplogo
|
||||||
|
|
||||||
|
.include "../../mk/bsd.pkg.mk"
|
3
cad/xchiplogo/files/md5
Normal file
3
cad/xchiplogo/files/md5
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
$NetBSD: md5,v 1.1.1.1 1999/12/23 03:57:12 dmcmahill Exp $
|
||||||
|
|
||||||
|
MD5 (xchiplogo.tar.gz) = f50baa2bd317747e98c1bd73a4fd12f4
|
3
cad/xchiplogo/files/patch-sum
Normal file
3
cad/xchiplogo/files/patch-sum
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
$NetBSD: patch-sum,v 1.1.1.1 1999/12/23 03:57:12 dmcmahill Exp $
|
||||||
|
|
||||||
|
MD5 (patch-aa) = 12ddb00358dc3203c1b31b5824592a20
|
35
cad/xchiplogo/patches/patch-aa
Normal file
35
cad/xchiplogo/patches/patch-aa
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
$NetBSD: patch-aa,v 1.1.1.1 1999/12/23 03:57:12 dmcmahill Exp $
|
||||||
|
|
||||||
|
--- Makefile.orig Sun Nov 17 17:43:29 1996
|
||||||
|
+++ Makefile Wed Dec 22 20:05:59 1999
|
||||||
|
@@ -4,24 +4,21 @@
|
||||||
|
#
|
||||||
|
|
||||||
|
-CC= gcc
|
||||||
|
-CCFLAG= -O -g
|
||||||
|
-LDFLAG= -O -g
|
||||||
|
-XINCLUDE=-I/usr/local/X11/include
|
||||||
|
+XINCLUDE=-I${X11BASE}/include/X11
|
||||||
|
|
||||||
|
|
||||||
|
# Set these to the right path to the forms library
|
||||||
|
-XFORMSINC=-I/usr/local/X11/include
|
||||||
|
-XFORMSLIB=-L/usr/local/X11/lib
|
||||||
|
+XFORMSINC=-I${X11BASE}/include
|
||||||
|
+XFORMSLIB=-L${X11BASE}/lib -Wl,-R${X11BASE}/lib
|
||||||
|
|
||||||
|
# SYSLIB=-lXpm -lX11 -lm
|
||||||
|
|
||||||
|
# for solaris you need the -lsocket
|
||||||
|
-SYSLIB=-lXpm -lX11 -lm -lsocket
|
||||||
|
+SYSLIB=-lXpm -lX11 -lm
|
||||||
|
|
||||||
|
# Flags the compiler will see
|
||||||
|
#########################################
|
||||||
|
|
||||||
|
-CFLAGS=$(CCFLAG) $(XFORMSINC) $(XINCLUDE)
|
||||||
|
-LDFLAGS = $(LDFLAG)
|
||||||
|
+CFLAGS+= $(XFORMSINC) $(XINCLUDE)
|
||||||
|
+LDFLAGS+= $(LDFLAG)
|
||||||
|
LIBS=$(XFORMSLIB) -lforms $(SYSLIB)
|
||||||
|
|
1
cad/xchiplogo/pkg/COMMENT
Normal file
1
cad/xchiplogo/pkg/COMMENT
Normal file
|
@ -0,0 +1 @@
|
||||||
|
a program for generating pretty logos on VLSI chips.
|
10
cad/xchiplogo/pkg/DESCR
Normal file
10
cad/xchiplogo/pkg/DESCR
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
Xchiplogo reads an ascii bitmap file, and converts it into a
|
||||||
|
magic or cif file. It is a handy program for creating logos
|
||||||
|
of text or graphics for putting on VLSI chips. At the
|
||||||
|
moment it accepts the B&W dithered format of XV as the
|
||||||
|
input. It has got quite a few options for resizing and get-
|
||||||
|
ting rid of many design rule errors that can be found in the
|
||||||
|
bitmap file. It has a smoothing, before and after an error
|
||||||
|
correction step. The error correction step is pretty simple
|
||||||
|
,don't expect miracles, but it works quite fine and spe-
|
||||||
|
cially for text gives a reasonable output.
|
2
cad/xchiplogo/pkg/PLIST
Normal file
2
cad/xchiplogo/pkg/PLIST
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
@comment $NetBSD: PLIST,v 1.1.1.1 1999/12/23 03:57:11 dmcmahill Exp $
|
||||||
|
bin/xchiplogo
|
Loading…
Reference in a new issue