Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Mar 2002 14:24:53 +0900
From:      Hye-Shik Chang <perky@fallin.lv>
To:        Alan Clegg <alan@clegg.com>
Cc:        ports@FreeBSD.org
Subject:   Re: Picturebook ports -- request for -CURRENT help
Message-ID:  <20020331142453.A88439@fallin.lv>
In-Reply-To: <20020330215640.A58541@shell.wetworks.org>; from alan@clegg.com on Sat, Mar 30, 2002 at 09:56:40PM -0500
References:  <20020330215640.A58541@shell.wetworks.org>

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

--aM3YZ0Iwxop3KEKx
Content-Type: multipart/mixed; boundary="FL5UXtIhxfXey3p5"
Content-Disposition: inline


--FL5UXtIhxfXey3p5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Mar 30, 2002 at 09:56:40PM -0500, Alan Clegg wrote:
> Greetings!
>=20
> I just read my note from Kris about the /usr/ports/graphics/picturebook
> code not building under -CURRENT.  Since I don't have a -CURRENT system,=
=20
> is there someone that could attempt building this port and send me the=20
> error output?
>=20
> A patch to make it compile would also be nice, but I won't directly ask
> for that. ;)
>=20

patched on -CURRENT. see attachment ;)

Regards,

--
Hye-Shik Chang <perky@fallin.lv>
Yonsei University, Seoul

--FL5UXtIhxfXey3p5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="pbook.diff"
Content-Transfer-Encoding: quoted-printable

diff -ruN picturebook.orig/Makefile picturebook/Makefile
--- picturebook.orig/Makefile	Tue Sep 18 16:47:54 2001
+++ picturebook/Makefile	Sun Mar 31 18:56:07 2002
@@ -15,6 +15,7 @@
=20
 MAINTAINER=3D	alan@clegg.com
=20
+LIB_DEPENDS=3D	tiff.4:${PORTSDIR}/graphics/tiff
 WRKSRC=3D		${WRKDIR}/${PORTNAME}
 USE_IMLIB=3D	yes
=20
diff -ruN picturebook.orig/files/patch-aa picturebook/files/patch-aa
--- picturebook.orig/files/patch-aa	Wed Apr 25 02:13:27 2001
+++ picturebook/files/patch-aa	Sun Mar 31 18:59:43 2002
@@ -1,13 +1,24 @@
---- ../picturebook.orig/Makefile	Mon Apr 23 23:33:16 2001
-+++ Makefile	Mon Apr 23 23:35:31 2001
-@@ -1,5 +1,9 @@
- CFLAGS =3D -DWITH_DISPLAY=3D1 -Wall -O2 -g -I/usr/X11R6/include -I/usr/lo=
cal/include=20
+--- Makefile.orig	Tue Jan 16 12:15:11 2001
++++ Makefile	Sun Mar 31 18:58:44 2002
+@@ -1,12 +1,17 @@
+-CFLAGS =3D -DWITH_DISPLAY=3D1 -Wall -O2 -g -I/usr/X11R6/include -I/usr/lo=
cal/include=20
 -SRC =3D mchip.c capture.c dump.c sonypi.c pci.c yuv.c timer.c avi.c comma=
nd.c display.c ptable.c jpeg.c
++CFLAGS +=3D -DWITH_DISPLAY=3D1 -I${X11BASE}/include -I${LOCALBASE}/include
++LDFLAGS +=3D -L${X11BASE}/lib -L${LOCALBASE}/lib
 +SRCMI =3D mchip.c capture.c dump.c sonypi.c yuv.c timer.c avi.c command.c=
 display.c ptable.c jpeg.c
 +#LINUX
 +#SRCMD =3D pci.c
 +SRCMD =3D pci_freebsd.c
 +SRC =3D ${SRCMI} ${SRCMD}  =20
  OBJ =3D $(SRC:.c=3D.o)
- LIBS =3D `imlib-config --libs`
+-LIBS =3D `imlib-config --libs`
++LIBS =3D `${IMLIB_CONFIG} --libs`
 =20
+ all: capture
+=20
+ capture: $(OBJ)
+-	$(CC) -o capture $(OBJ) $(LIBS)
++	$(CC) -o capture ${LDFLAGS} $(OBJ) $(LIBS)
+=20
+ proto:
+ 	cat $(SRC) | awk -f mkproto.awk > proto.h

--FL5UXtIhxfXey3p5--

--aM3YZ0Iwxop3KEKx
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE8pp2jDWUsWc/bS6QRAtq7AJ9giqjZQHVv1276NowlB6jS0b6k1gCcC1rN
hr0oO0b61IXE6BZqsutEZx0=
=EFp5
-----END PGP SIGNATURE-----

--aM3YZ0Iwxop3KEKx--

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?20020331142453.A88439>