NetBSD Problem Report #34655

From anthony.mallet@laas.fr  Thu Sep 28 21:22:24 2006
Return-Path: <anthony.mallet@laas.fr>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 9F77E63B90C
	for <gnats-bugs@gnats.netbsd.org>; Thu, 28 Sep 2006 21:22:24 +0000 (UTC)
Message-Id: <1159473145.20543@ficus>
Date: Thu, 28 Sep 2006 21:52:25 +0200
From: "Anthony Mallet" <anthony.mallet@laas.fr>
To: "gnats bugs" <gnats-bugs@NetBSD.org>
Subject: new pkg: opencv
X-Send-Pr-Version: gtk-send-pr 0.4.7 
X-GNATS-Notify:

>Number:         34655
>Category:       pkg
>Synopsis:       new pkg: opencv
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 28 21:25:00 +0000 2006
>Closed-Date:    Thu Nov 09 05:18:07 +0000 2006
>Last-Modified:  Fri Nov 10 10:55:01 +0000 2006
>Originator:     Anthony Mallet
>Release:        NetBSD 4.99.1 i386
>Organization:
>Environment:


System: NetBSD 4.99.1 (FICUS) #24: Sat Sep  9 17:17:45 CEST 2006
	troot@ficus:/usr/obj/sys/arch/i386/compile/FICUS



>Description:


Package proposal for opencv (http://opencvlibrary.sourceforge.net/).

It is a collection of C functions and a few C++ classes that implement many
popular Image Processing and Computer Vision algorithms.

I've disabled swig/python support because it didn't compile correctly and I wasn't
able to figure out how to make it work within pkgsrc. It should be an option
anyway.

Download pkg here: http://useless-ficus.net/opencv.tar.gz



>How-To-Repeat:





>Fix:





>Release-Note:

>Audit-Trail:
From: "Jeremy C. Reed" <reed@reedmedia.net>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/34655: new pkg: opencv
Date: Sat, 30 Sep 2006 08:23:01 -0500 (CDT)

 > Download pkg here: http://useless-ficus.net/opencv.tar.gz

 We are currently in a pkgsrc freeze preparing for the next quarterly 
 branch.

 You may want to commit to pkgsrc-wip in the meanwhile.

From: Anthony Mallet <anthony.mallet@laas.fr>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/34655: new pkg: opencv
Date: Mon, 16 Oct 2006 11:35:20 +0200

 Jeremy C. Reed writes:
 |  We are currently in a pkgsrc freeze preparing for the next quarterly 
 |  branch.
 |  
 |  You may want to commit to pkgsrc-wip in the meanwhile.

 It's been imported into wip/opencv.

State-Changed-From-To: open->closed
State-Changed-By: uebayasi@netbsd.org
State-Changed-When: Thu, 09 Nov 2006 05:18:07 +0000
State-Changed-Why:
Imported to the main tree with update to 1.0.0 by me.  Please let me know if you have any problem.

Thanks!


From: Anthony Mallet <anthony.mallet@laas.fr>
To: gnats-bugs@NetBSD.org
Cc: uebayasi@NetBSD.org
Subject: Re: pkg/34655 (new pkg: opencv)
Date: Thu, 9 Nov 2006 14:11:17 +0100

 --apHV7eD8CV
 Content-Type: text/plain; charset=us-ascii
 Content-Description: message body text
 Content-Transfer-Encoding: 7bit

 uebayasi@NetBSD.org writes:
 | Imported to the main tree with update to 1.0.0 by me.  Please let me
 | know if you have any problem.

 I had some problems with installing the docs. Since you patched
 docs/Makefile.in, you should not automake in the pre-configure step.
 Here is the patch for the package Makefile.

 Cheers,
 Anthony


 --apHV7eD8CV
 Content-Type: application/octet-stream
 Content-Disposition: attachment;
 	filename="patch"
 Content-Transfer-Encoding: base64

 LS0tIE1ha2VmaWxlfgkyMDA2LTExLTA5IDA2OjEzOjQxLjAwMDAwMDAwMCArMDEwMAorKysg
 TWFrZWZpbGUJMjAwNi0xMS0wOSAxMToyNDo0NC4wMDAwMDAwMDAgKzAxMDAKQEAgLTEwLDEw
 ICsxMCw5IEBACiBDT01NRU5UPQkJTGlicmFyeSBmb3IgY29tcHV0ZXIgdmlzaW9uIHByb2Js
 ZW1zCiAKIFVTRV9QS0dMT0NBTEVESVI9CXllcwotVVNFX1RPT0xTKz0JCWdtYWtlIGF1dG9t
 YWtlIGF1dG9jb25mIHBrZy1jb25maWcKK1VTRV9UT09MUys9CQlnbWFrZSBhdXRvY29uZiBw
 a2ctY29uZmlnCiBVU0VfTEFOR1VBR0VTPQkJYyBjKysKIFVTRV9MSUJUT09MPQkJeWVzCi1B
 VVRPTUFLRV9SRVFEPSAgCTEuOQogSU5TVEFMTEFUSU9OX0RJUlMrPQlzaGFyZS9kb2Mvb3Bl
 bmN2L3BhcGVycyBzaGFyZS9kb2Mvb3BlbmN2L3JlZi9waWNzIFwKIAkJCXNoYXJlL29wZW5j
 di9oYWFyY2FzY2FkZXMKIApAQCAtMjUsNyArMjQsNyBAQAogCiBwcmUtY29uZmlndXJlOgog
 CWNkICR7V1JLU1JDfTsJCQkJXAotCWF1dG9tYWtlIC1hIC0tZm9yZWlnbiAtaTsgYXV0b2Nv
 bmYKKwlhdXRvY29uZgogCiAuaW5jbHVkZSAiLi4vLi4veDExL2d0azIvYnVpbGRsaW5rMy5t
 ayIKIC5pbmNsdWRlICIuLi8uLi9ncmFwaGljcy9wbmcvYnVpbGRsaW5rMy5tayIK
 --apHV7eD8CV--

From: Takahiro Kambe <taca@back-street.net>
To: gnats-bugs@NetBSD.org, anthony.mallet@laas.fr
Cc: 
Subject: Re: pkg/34655 (new pkg: opencv)
Date: Fri, 10 Nov 2006 15:51:44 +0900 (JST)

 In message <20061109131504.AD02363BA73@narn.NetBSD.org>
 	on Thu,  9 Nov 2006 13:15:04 +0000 (UTC),
 	Anthony Mallet <anthony.mallet@laas.fr> wrote:
 >  uebayasi@NetBSD.org writes:
 >  | Imported to the main tree with update to 1.0.0 by me.  Please let me
 >  | know if you have any problem.
 >  
 >  I had some problems with installing the docs. Since you patched
 >  docs/Makefile.in, you should not automake in the pre-configure step.
 >  Here is the patch for the package Makefile.
 Thanks.  But do you still need to invoke autoconf?

 -- 
 Takahiro Kambe <taca@back-street.net>

From: Anthony Mallet <anthony.mallet@laas.fr>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/34655 (new pkg: opencv)
Date: Fri, 10 Nov 2006 10:35:09 +0100

 Takahiro Kambe writes:
 |  Thanks.  But do you still need to invoke autoconf?

 autoconf is required since OpenCV-1.0.0 tarball doesn't come with
 makefiles.

 -- Cheers,
 Anthony

From: Takahiro Kambe <taca@back-street.net>
To: gnats-bugs@NetBSD.org, anthony.mallet@laas.fr
Cc: 
Subject: Re: pkg/34655 (new pkg: opencv)
Date: Fri, 10 Nov 2006 18:47:56 +0900 (JST)

 In message <20061110094002.2815263B400@narn.NetBSD.org>
 	on Fri, 10 Nov 2006 09:40:02 +0000 (UTC),
 	Anthony Mallet <anthony.mallet@laas.fr> wrote:
 >  |  Thanks.  But do you still need to invoke autoconf?
 >  
 >  autoconf is required since OpenCV-1.0.0 tarball doesn't come with
 >  makefiles.
 Makefiles are created by configure scripts and configure scripts are
 created by autoconf.  Yes, OpenCV-1.0.0 dosen't come with makefiles
 but they come with configure script.  So, autoconf isn't required.

 As far as I tried, configure stage finish fine.  Do I miss any
 configure scripts which are needed to generate by autoconf?

 -- 
 Takahiro Kambe <taca@back-street.net>

From: Anthony Mallet <anthony.mallet@laas.fr>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/34655 (new pkg: opencv)
Date: Fri, 10 Nov 2006 10:56:45 +0100

 Takahiro Kambe writes:
 | Makefiles are created by configure scripts and configure scripts are
 | created by autoconf.  Yes, OpenCV-1.0.0 dosen't come with makefiles
 | but they come with configure script.  So, autoconf isn't required.

 D'oh. Sorry, I need more coffee this morning ...

 | As far as I tried, configure stage finish fine.  Do I miss any
 | configure scripts which are needed to generate by autoconf?

 No you're right, autoconf is not required at all ...

From: Takahiro Kambe <taca@back-street.net>
To: gnats-bugs@NetBSD.org, anthony.mallet@laas.fr
Cc: 
Subject: Re: pkg/34655 (new pkg: opencv)
Date: Fri, 10 Nov 2006 19:03:18 +0900 (JST)

 In message <20061110100004.E66F063B400@narn.NetBSD.org>
 	on Fri, 10 Nov 2006 10:00:04 +0000 (UTC),
 	Anthony Mallet <anthony.mallet@laas.fr> wrote:
 >  | Makefiles are created by configure scripts and configure scripts are
 >  | created by autoconf.  Yes, OpenCV-1.0.0 dosen't come with makefiles
 >  | but they come with configure script.  So, autoconf isn't required.
 >  
 >  D'oh. Sorry, I need more coffee this morning ...
 No problem.

 >  | As far as I tried, configure stage finish fine.  Do I miss any
 >  | configure scripts which are needed to generate by autoconf?
 >  
 >  No you're right, autoconf is not required at all ...
 Still I wonder that I miss something yet.

 Now, is this patch suitable to apply?

 -- 
 Takahiro Kambe <taca@back-street.net>


 Index: Makefile
 ===================================================================
 RCS file: /cvsroot/pkgsrc/graphics/opencv/Makefile,v
 retrieving revision 1.1.1.1
 diff -u -u -r1.1.1.1 Makefile
 --- Makefile	9 Nov 2006 05:13:41 -0000	1.1.1.1
 +++ Makefile	10 Nov 2006 10:01:41 -0000
 @@ -10,10 +10,9 @@
  COMMENT=		Library for computer vision problems

  USE_PKGLOCALEDIR=	yes
 -USE_TOOLS+=		gmake automake autoconf pkg-config
 +USE_TOOLS+=		gmake pkg-config
  USE_LANGUAGES=		c c++
  USE_LIBTOOL=		yes
 -AUTOMAKE_REQD=  	1.9
  INSTALLATION_DIRS+=	share/doc/opencv/papers share/doc/opencv/ref/pics \
  			share/opencv/haarcascades

 @@ -23,10 +22,6 @@
  CONFIGURE_ARGS+=--with-swig=no
  CONFIGURE_ARGS+=--with-python=no

 -pre-configure:
 -	cd ${WRKSRC};				\
 -	automake -a --foreign -i; autoconf
 -
  .include "../../x11/gtk2/buildlink3.mk"
  .include "../../graphics/png/buildlink3.mk"
  .include "../../graphics/jpeg/buildlink3.mk"

From: Anthony Mallet <anthony.mallet@laas.fr>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/34655 (new pkg: opencv)
Date: Fri, 10 Nov 2006 11:31:06 +0100

 Takahiro Kambe writes:
 | Now, is this patch suitable to apply?

 Yes, works fine for me.

From: Takahiro Kambe <taca@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/34655 CVS commit: pkgsrc/graphics/opencv
Date: Fri, 10 Nov 2006 10:50:22 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	taca
 Date:		Fri Nov 10 10:50:21 UTC 2006

 Modified Files:
 	pkgsrc/graphics/opencv: Makefile

 Log Message:
 Remove use of automake/autoconf after duscussed with Anthony Mallet,
 package maintainer who sent PR pkg/34655.


 To generate a diff of this commit:
 cvs rdiff -r1.1.1.1 -r1.2 pkgsrc/graphics/opencv/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.