View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002685CMakeCMakepublic2006-01-05 15:122016-06-10 14:30
Reporterasmodehn 
Assigned ToBill Hoffman 
PrioritylowSeverityfeatureReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0002685: package detection and pkgsrc
DescriptionJust a wish :-)

I would like the detection scripts to detect the packaged installed by pkgsrc (www.pkgsrc.org)

With this package system you can build the package from source or install an already built binary package (if you dont want to tune compile options). In both cases there is a package database that is updated...

So the best way to do the check might be using the database with pkg_info -e <pkg_name> -L
and check the files listed for this package are actually present.
http://man.netbsd.se/?find=pkg_info+1+20 [^]
Not sure how this can fit in the CMake package detection system ...

However pkgsrc has been ported to many unix platforms including linux and I dont know how it works exactly on those platforms (never tried), but I guess the raw commands like pkg_info might be the same...

FYI, cmake is itself a package in pkgsrc (version 2.0 now...)
ftp://ftp.netbsd.org/pub/NetBSD/packages/pkgsrc/devel/cmake/README.html [^]

So you might consider contacting the pkgsrc guys to be sure... they will now the best way to do it :-)

The following mailing list may be of interest:

    * tech-pkg -- a general discussion list for all things related to pkgsrc
http://dir.gmane.org/gmane.os.netbsd.devel.packages/ [^]
http://www.netbsd.org/cgi-bin/subscribe_list.pl?list=tech-pkg [^]

It would be really nice for Cmake to be able to shipout with up-to-date and widely tested package detection scripts :-) Many tests needed tho...

The pkgsrc system is frozen every quarter of the year to test them all as much as possible.
To have a generic detection scheme depending on the package system would be awesome :-)

Not sure how it works now on different package systems, and how this can be achieved...

Anyway dont hesitate to let me know if I can be of any help ;-)

Thanks a lot for that !
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0013645)
Bill Hoffman (manager)
2008-10-01 12:25

Are you still interested in this? I suppose support could be modeled after the pkg-config support in CMake.
(0041306)
Kitware Robot (administrator)
2016-06-10 14:27

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2008-10-01 12:25 Bill Hoffman Note Added: 0013645
2016-06-10 14:27 Kitware Robot Note Added: 0041306
2016-06-10 14:27 Kitware Robot Status assigned => resolved
2016-06-10 14:27 Kitware Robot Resolution open => moved
2016-06-10 14:30 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team