Bug 64482 - [PATCH] multimedia/camserv: update to 0.5.1, unbreak
Summary: [PATCH] multimedia/camserv: update to 0.5.1, unbreak
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-19 20:50 UTC by Ulrich Spoerlein
Modified: 2004-03-22 21:01 UTC (History)
1 user (show)

See Also:


Attachments
camserv-0.5.1,1.patch (9.85 KB, patch)
2004-03-19 20:50 UTC, Ulrich Spoerlein
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Spoerlein 2004-03-19 20:50:15 UTC
- Update to 0.5.1
- Take maintainership (so there is someone to blaim :/)
- Compile on all architectures, camserv can be used as relay station
- Package the bttv-module only when ioctl_bt848.h is present
- Catch up with new location of ioctl_bt848.h on -CURRENT
- ports/63985 can be closed

Merged patch-ac into patch-ab (they patch the same file)
New file: files/patch-configure.in
Files to remove: files/patch-configure files/patch-Makefile.in
		 files/patch-ac
Comment 1 Clement Laforet freebsd_committer freebsd_triage 2004-03-22 14:46:39 UTC
"make configure" fails (on my fresh current)
Can you please investigate ?

------- error -------
Building for video modules: video_basic fbsd_bttv

configure: creating ./config.status
config.status: creating Makefile
config.status: creating camserv.spec
config.status: creating camserv/Makefile
config.status: creating common/Makefile
config.status: creating include/Makefile
config.status: creating macros/Makefile
config.status: creating relay/Makefile
config.status: creating include/camserv_config.h
config.status: executing depfiles commands
configure: configuring in libltdl
configure: running /bin/sh './configure' --prefix=/usr/local  '--enable-static=no' '--prefix=/usr/local' 'i386-portbld-freebsd5.2' 'LDFLAGS=-L/usr/local/lib' 'CFLAGS=-O -pipe ' 'CPPFLAGS=-I/usr/local/include -I/usr/X11R6/include -I/usr/X11R6/include/gtk12 -I/usr/X11R6/include/gdk-pixbuf-1.0 -I/usr/local/include/glib12' 'host_alias=i386-portbld-freebsd5.2' 'build_alias=i386-portbld-freebsd5.2' 'target_alias=i386-portbld-freebsd5.2' 'CC=cc' --enable-ltdl-convenience --cache-file=/dev/null --srcdir=.
configure: warning: LDFLAGS=-L/usr/local/lib: invalid host type
configure: error: can only configure for one host and one target at a time
configure: error: /bin/sh './configure' failed for libltdl


-- 
PGP Key: http://people.freebsd.org/~clement/pgpkey/clement.asc
Comment 2 Clement Laforet freebsd_committer freebsd_triage 2004-03-22 14:46:47 UTC
State Changed
From-To: open->feedback

Waiting for submitter's feedback. 
(surely missing files/patch-configure.in file)
Comment 3 Ulrich Spoerlein 2004-03-22 20:26:15 UTC
On Mon, 22.03.2004 at 15:46:39 +0100, Clement Laforet wrote:
> "make configure" fails (on my fresh current)
> Can you please investigate ?

Oh, that's embarassing. I forgot patch-configure.in in the PR. Here it
is

--- /dev/null	Mon Mar 22 21:25:04 2004
+++ files/patch-configure.in	Fri Mar 19 19:27:10 2004
@@ -0,0 +1,27 @@
+--- configure.in.orig	Sun May 12 20:06:12 2002
++++ configure.in	Fri Mar 19 19:26:43 2004
+@@ -12,12 +12,12 @@
+ AM_ACLOCAL_INCLUDE(macros)
+ 
+ AC_PROG_CC
+-AC_LIBLTDL_CONVENIENCE
++AC_LIBLTDL_INSTALLABLE
+ AC_LIBTOOL_DLOPEN
+-AM_PROG_LIBTOOL
++AC_PROG_LIBTOOL
+ AC_SUBST(LIBLTDL)
++AC_SUBST(INCLTDL)
+ 
+-AC_CONFIG_SUBDIRS(libltdl)
+ 
+ AC_CHECK_LIB(m,sqrt)
+ AC_CHECK_LIB(jpeg,jpeg_start_compress)
+@@ -55,7 +55,7 @@
+ if test "$GDKPIXBUF_CONFIG"x != "x"; then
+ 	GDKPIXBUF_VERSION=`$GDKPIXBUF_CONFIG --version`
+ 	case "$GDKPIXBUF_VERSION" in
+-	    0.14.*) have_gdkpixbuf=yes
++	    0.22.*) have_gdkpixbuf=yes
+ 		 GDKPIXBUF_CFLAGS=`$GDKPIXBUF_CONFIG --cflags`
+ 		 GDKPIXBUF_LIBS=`$GDKPIXBUF_CONFIG --libs`
+ 		 CFLAGS="$CFLAGS $GDKPIXBUF_CFLAGS"


Ulrich Spoerlein
-- 
PGP Key ID: F0DB9F44				Get it while it's hot!
PGP Fingerprint: F1CE D062 0CA9 ADE3 349B  2FE8 980A C6B5 F0DB 9F44
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."	-- Benjamin Franklin
Comment 4 Clement Laforet freebsd_committer freebsd_triage 2004-03-22 21:01:00 UTC
State Changed
From-To: feedback->closed

Committed, thanks! 
It's yours now, enjoy!