a coprehensive searcheable ports list?
Greetings -- what's the ports equivalent of Gentoo's equery, i.e. how can I find out into which ports various gcc versions are packaged, or which port contains say "basename" utility, or another known tool? Cheers, Alexy
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Alexy Khrabrov wrote:
Greetings -- what's the ports equivalent of Gentoo's equery, i.e. how can I find out into which ports various gcc versions are packaged, or which port contains say "basename" utility, or another known tool?
Cheers, Alexy _______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
If you are looking for gcc: port search gcc and so on. - -- Kevin Walzer Code by Kevin http://www.codebykevin.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFv9BSEsLm8HXyq4sRAqnGAJ4w0AvjYvlHxL0flX8nsJBNrr5XawCfSeHN 1M8CTVR+Nq8tuhuqFNQv/Vs= =ITxn -----END PGP SIGNATURE-----
Check out the port.1 manpage. It has detail on various ways to search, including pseudo-portnames. But in general, you can do `port search portname`, where portname can contain globbing characters. If you want to find ports that provide a specific file, there's no way of doing that without having installed the port yet. If you've installed a port you can ask what port provides a given file on disk, but MacPorts does not know what files a given port will provide until it's installed. On Jan 30, 2007, at 5:48 PM, Alexy Khrabrov wrote:
Greetings -- what's the ports equivalent of Gentoo's equery, i.e. how can I find out into which ports various gcc versions are packaged, or which port contains say "basename" utility, or another known tool?
-- Kevin Ballard http://kevin.sb.org eridius@macports.org http://www.tildesoft.com
Citando Kevin Ballard :
If you want to find ports that provide a specific file, there's no way of doing that without having installed the port yet. If you've installed a port you can ask what port provides a given file on disk, but MacPorts does not know what files a given port will provide until it's installed.
Is it planned as a feature request for macports at a point in the future to provide such a mechanism (as debian or pkgsrc whose packages contain a plist mentioning all the files to be included) ? This feature would be interesting to have for example on the website, and as an addon to the provides action of port. However, it requires macports to become deterministic... At the moment, if you install the same packages on two identic machines, you can obtain different files installed depending on the order in which the packages are installed (for example, installing flac before libsndfile makes libsndfile compile with flac support). I find this undeterministic behaviour to be a good thing: it makes it possible for some ports to take into account some particular libraries I have made personal portfiles for without requiring to edit the portfiles of every dependents programs, but it makes the updating a bit hazardous. Emmanuel
Oh that's not good. Non-deterministic ports are a bad thing. Any sort of auto-detection like this should be explicitly declared, via switches to ./configure telling it not to use the optional library by default, with a variant that adds a dependency on that library and changes the ./configure switches as appropriate. The next time you find a non-deterministic port, I would recommend emailing the maintainer about it. On Jan 31, 2007, at 4:47 AM, Emmanuel Hainry wrote:
However, it requires macports to become deterministic... At the moment, if you install the same packages on two identic machines, you can obtain different files installed depending on the order in which the packages are installed (for example, installing flac before libsndfile makes libsndfile compile with flac support). I find this undeterministic behaviour to be a good thing: it makes it possible for some ports to take into account some particular libraries I have made personal portfiles for without requiring to edit the portfiles of every dependents programs, but it makes the updating a bit hazardous.
-- Kevin Ballard http://kevin.sb.org eridius@macports.org http://www.tildesoft.com
On Jan 31, 2007, at 4:47 AM, Emmanuel Hainry wrote:
Citando Kevin Ballard :
If you want to find ports that provide a specific file, there's no way of doing that without having installed the port yet. If you've installed a port you can ask what port provides a given file on disk, but MacPorts does not know what files a given port will provide until it's installed.
Is it planned as a feature request for macports at a point in the future to provide such a mechanism (as debian or pkgsrc whose packages contain a plist mentioning all the files to be included) ? This feature would be interesting to have for example on the website, and as an addon to the provides action of port.
I don't think anyone is working on this. However, if the project ever gets to the point where it is distributing binaries to end users (instead of distributing automated build instructions) this would probably not be difficult to add. -- Daniel J. Luke +========================================================+ | *---------------- dluke@geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+
participants (5)
-
Alexy Khrabrov
-
Daniel J. Luke
-
Emmanuel Hainry
-
Kevin Ballard
-
Kevin Walzer