From owner-freebsd-multimedia@FreeBSD.ORG Tue Feb 17 17:37:59 2009 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 404511065677 for ; Tue, 17 Feb 2009 17:37:59 +0000 (UTC) (envelope-from darcsis@gmail.com) Received: from mail-gx0-f224.google.com (mail-gx0-f224.google.com [209.85.217.224]) by mx1.freebsd.org (Postfix) with ESMTP id C5B188FC1C for ; Tue, 17 Feb 2009 17:37:58 +0000 (UTC) (envelope-from darcsis@gmail.com) Received: by gxk24 with SMTP id 24so5523548gxk.19 for ; Tue, 17 Feb 2009 09:37:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:x-envelope-to:to:cc:subject :in-reply-to:user-agent:references:from:organization :mail-followup-to:date:message-id:mime-version:content-type; bh=+e7j/ZsFjuxedhteaG2HUuJmJ0M71QBGMnTGjSR77YE=; b=GQxaANYdR32pqylcY1QCN3Ht9/MYlMSjckhRVNp6WpOxbJh/T0ksKgmczolYFDF4GF Aa1cuivPoxivYTJqoHNVc9Vj0wOljy2xIQ1/LyhaG+uUqXBR/OH0NXCDx94s3lV871UD rVT2xfwZubWJsQEFjG8t3fk5IV9hJ7NMtmIhA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=x-envelope-to:to:cc:subject:in-reply-to:user-agent:references:from :organization:mail-followup-to:date:message-id:mime-version :content-type; b=m6zz2FVmQU3EsCQPCf5FtbzoOfyr6a4or/by+6NM3YTZMDlLytPPj+4/KHKCycFueV ZjCBUuHVpgsIAs8wRWEnz4vapLVgbapKzZeByXJ4cdhRe5XgQmqCQC7czngz8n+IV2wi kaMdvTnKrZt+ncLJtYUdWQSjx3Vb93zDR5Wtc= Received: by 10.142.12.14 with SMTP id 14mr3049738wfl.152.1234890308089; Tue, 17 Feb 2009 09:05:08 -0800 (PST) Received: from pluton.xbsd.name ([125.34.67.236]) by mx.google.com with ESMTPS id 30sm12840988wfd.35.2009.02.17.09.05.05 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 17 Feb 2009 09:05:07 -0800 (PST) X-Envelope-To: aturetta@commit.it To: Angelo Turetta In-Reply-To: <4999CE0E.8050000@commit.it> (Angelo Turetta's message of "Mon\, 16 Feb 2009 21\:35\:26 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) References: <200902161313.59518.dev2@heesakkers.info> <4999CE0E.8050000@commit.it> From: darcsis@gmail.com (Denise H. G.) Organization: Terra Firma Mail-Followup-To: Angelo Turetta , Oliver Heesakkers , lwhsu@freebsd.org, multimedia@freebsd.org Date: Wed, 18 Feb 2009 01:04:36 +0800 Message-ID: <86bpt12dwb.fsf@pluton.xbsd.name> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Oliver Heesakkers , lwhsu@freebsd.org, multimedia@freebsd.org Subject: Re: gpac-libgpac needs libglut now X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Feb 2009 17:37:59 -0000 Angelo Turetta writes: > Oliver Heesakkers wrote: >> Hello, >> >> I was unable to build gpac-libgpac because I did not have libglut >> installed. Perhaps you need to add a dependency here. > > That's not enough. > > In my PC I have libGL, libGL, libglut installed, but the build stops at: > > cc -O3 -O2 -fno-strict-aliasing -pipe -fPIC -pthread > -fno-strict-aliasing -Wno-pointer-sign > -I/space/usr/ports/multimedia/gpac-libgpac/work/gpac/include -I../ > -DGPAC_HAVE_CONFIG_H -fPIC -DPIC -c compositor/mesh.c -o > compositor/mesh.opic > In file included from compositor/mesh.c:33: > compositor/gl_inc.h:45:19: error: GL/gl.h: No such file or directory > > The problem seems that this part of src/Makefile apparently is not used: > > # OpenGL support > ifeq ($(HAS_OPENGL),yes) > EXTRALIBS+= $(OGL_LIBS) > COMPOSITOR_CFLAGS+=$(OGL_INCLS) > endif > > config.mak contains: > OGL_INCLS=-I/usr/local/include > OGL_LIBS=-L/usr/local/lib -lGL -lglut > > I hope someone who better understand gmake can > Angelo. I don't know much about gmake, but made a dirty hack and it seemed to work... ---- cut ---- --- src/Makefile.orig 2008-12-02 22:01:08.000000000 +0800 +++ src/Makefile 2009-02-14 16:07:17.228411630 +0800 @@ -2,7 +2,7 @@ vpath %.c $(SRC_PATH)/src -CFLAGS= $(OPTFLAGS) -I$(SRC_PATH)/include +CFLAGS= $(OPTFLAGS) -I$(SRC_PATH)/include -I/usr/local/include ifeq ($(DEBUGBUILD), yes) CFLAGS+=-g @@ -52,6 +52,7 @@ ifeq ($(DISABLE_SVG), no) LIBGPAC_LASER=laser/lsr_enc.o laser/lsr_dec.o laser/lsr_tables.o endif +EXTRALIBS+=-Wl,-soname,$(LIB) ## libgpac objects gathering: la totale ... OBJS=$(LIBGPAC_UTILS) $(LIBGPAC_MCRYPT) $(LIBGPAC_SCENE) $(LIBGPAC_IETF) $(LIBGPAC_BIFS) $(LIBGPAC_ISOM) $(LIBGPAC_ODF) $(LIBGPAC_MEDIATOOLS) $(LIBGPAC_SCENEMANAGER) $(LIBGPAC_TERMINAL) $(LIBGPAC_COMPOSITOR) $(LIBGPAC_LASER) @@ -163,7 +164,7 @@ ##libgpac library output -LIB=libgpac.$(DYN_LIB_SUFFIX) +LIB=libgpac.$(DYN_LIB_SUFFIX).1 ifeq ($(CONFIG_WIN32),yes) #LDFLAGS+=-export-symbols libgpac.def else ---- cut ---- > _______________________________________________ > freebsd-multimedia@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia > To unsubscribe, send any mail to "freebsd-multimedia-unsubscribe@freebsd.org" > -- darcsis ZAI gmail DIAN com