Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 May 2007 02:29:14 +0200
From:      Danny Pansters <danny@ricin.com>
To:        freebsd-ports@freebsd.org
Subject:   first? patch [ HEADS UP: xorg 7.2 ready for testing ]
Message-ID:  <200705120229.15024.danny@ricin.com>
In-Reply-To: <20070511205243.GI1066@k7.mavetju>
References:  <20070510212817.GA67897@xor.obsecurity.org> <20070511202905.GO826@turion.vk2pj.dyndns.org> <20070511205243.GI1066@k7.mavetju>

next in thread | previous in thread | raw e-mail | index | archive | help
--Boundary-00=_bpQRGD3ioofLpav
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On Friday 11 May 2007 22:52:43 Edwin Groothuis wrote:
> On Sat, May 12, 2007 at 06:29:05AM +1000, Peter Jeremy wrote:
> > On 2007-May-11 18:11:18 +1000, Edwin Groothuis <edwin@mavetju.org> wrote:
> > >On Fri, May 11, 2007 at 03:39:23AM -0400, Kris Kennaway wrote:
> > >> > Is there a wiki-page with common problems, erretas etc?
> > >>
> > >> Not currently.
> > >
> > >Give me a second.
> > >
> > >See http://wiki.freebsd.org/ModularXorg#preview on Updating.
> >
> > Can I suggest that upgrade test users might like to point distfiles
> > from their test tree back at their original ports tree (either
> > symlink or via DISTDIR).  This will save having to re-download
> > all the existing ports distfiles.
>
> Added

I ran into a little problem with the gstreamer-plugins, to be exact with 
the 'bad' plugin. What's in a name. Attached patch to gstreamer-plugins which 
eliminates X11BASE from configure args fixes it.

Dan

Build failure (sorry for formatting):

if 
cc -DHAVE_CONFIG_H -I. -I. -I../..   -I/usr/local/include -I/usr/local/include   -I/usr/local/include -D_REENTRANT -I/usr/local/include/gstreamer-0.10 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libxml2 -I/usr/local/include   -I../../gst-libs -I../../gst-libs -D_REENTRANT -I/usr/local/include/gstreamer-0.10 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libxml2 -I/usr/local/include   -Wall  -g   -DGST_DISABLE_DEPRECATED -D_THREAD_SAFE -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include -I/usr/local/include/freetype2   -O2 -fno-strict-aliasing -pipe  -I/usr/local/include  -I/usr/local/include -MT 
demo_osssrc-demo-osssrc.o -MD -MP -MF ".deps/demo_osssrc-demo-osssrc.Tpo" -c -o 
demo_osssrc-demo-osssrc.o `test -f 'demo-osssrc.c' || 
echo './'`demo-osssrc.c; \
        then 
mv -f ".deps/demo_osssrc-demo-osssrc.Tpo" ".deps/demo_osssrc-demo-osssrc.Po"; 
else rm -f ".deps/demo_osssrc-demo-osssrc.Tpo"; exit 1; fi
/bin/sh /data/ports/multimedia/gstreamer-plugins-bad/work/gnome-libtool --tag=CC --mode=link 
cc  -O2 -fno-strict-aliasing -pipe  -I/usr/local/include  -I/usr/local/include  -L/usr/local/lib -L/usr/local/lib  -pthread -o 
demo-osssrc -pthread -L/usr/local/lib -lgstbase-0.10 -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lxml2 -lglib-2.0 -liconv   -pthread -L/usr/local/lib -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lxml2 -lglib-2.0 -liconv   -pthread -Wl,--rpath -Wl,/usr/local/lib -L/usr/local/lib -L/usr/X11R6/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -lXrandr -lXrender -lXi -lXinerama -lXext -lX11 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lXcursor -lXfixes -lcairo -lpangoft2-1.0 -lfontconfig -lfreetype -lz -lpango-1.0 -lm -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -liconv   
demo_osssrc-demo-osssrc.o
gnome-libtool: link: cannot find the library `/usr/X11R6/lib/libfontconfig.la' 
or unhandled argument `/usr/X11R6/lib/libfontconfig.la'
gmake[1]: *** [demo-osssrc] Error 1
gmake[1]: Leaving directory 
`/data/ports/multimedia/gstreamer-plugins-bad/work/gst-plugins-bad-0.10.4/gst/spectrum'
gmake: *** [all-recursive] Error 1
*** Error code 2

Stop in /data/ports/multimedia/gstreamer-plugins-bad.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.34548.25 
env UPGRADE_TOOL=portupgrade UPGRADE_PORT=gstreamer-plugins-bad-0.10.4,3 
UPGRADE_PORT_VER=0.10.4,3 make
** Fix the problem and try again.


--Boundary-00=_bpQRGD3ioofLpav
Content-Type: text/x-diff; charset="iso-8859-1";
	name="multimedia::gstreamer-plugins::Makefile.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="multimedia::gstreamer-plugins::Makefile.diff"

--- multimedia/gstreamer-plugins/Makefile.orig	Fri May 11 13:25:00 2007
+++ multimedia/gstreamer-plugins/Makefile	Fri May 11 13:26:18 2007
@@ -55,8 +55,8 @@
 
 CONFIGURE_ARGS+=--mandir=${PREFIX}/man
 CONFIGURE_ENV=	CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
-		CPPFLAGS="${CPPFLAGS} -I${X11BASE}/include -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
-		LDFLAGS="${LDFLAGS} -L${X11BASE}/lib -L${LOCALBASE}/lib ${EXTRA_LIBS} ${PTHREAD_LIBS}"
+		CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
+		LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${EXTRA_LIBS} ${PTHREAD_LIBS}"
 
 DEFAULT_AUDIOSINK?=	osssink
 DEFAULT_AUDIOSRC?=	osssrc

--Boundary-00=_bpQRGD3ioofLpav--



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