Bug 192539 - pkg search: wxgtk30 & wxgtk29 aren't found
Summary: pkg search: wxgtk30 & wxgtk29 aren't found
Status: Closed Not A Bug
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-pkg (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-09 22:36 UTC by Jordan Irwin
Modified: 2015-04-14 19:49 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jordan Irwin 2014-08-09 22:36:41 UTC
I'm sorry if I'm not posting this bug in the right section.

I've been trying to search for wxWidgets in ports. It appears that it is known in FreeBSD by the common name wxgtk. However, I am unable to find it using search tools provided. I know that there are currently two versions in Ports: x11-toolkits/wxgtk30 & x11-toolkits/wxgtk29 (at least I thought that 2.9 was still being actively developed). But the search tools don't recognize them. I believe (though I'm not 100% sure) that 2.9 has already been built on my system even though 'pkg info wxgtk29' doesn't show it.

[console]
$ make quicksearch name=wxgtk30
$ make quicksearch name=wxgtk29
Port:	x11-toolkits/wxgtk29
Moved:	x11-toolkits/wxgtk30
Date:	2014-03-24
Reason:	wxGTK 2.9 was a development version superseded by the 3.0 release

$ cd x11-toolkits/wxgtk30
$ ls
Makefile	distinfo	files		pkg-descr	pkg-plist
$ pkg info wxgtk30
pkg: No package(s) matching wxgtk30
$ pkg info wxgtk29
pkg: No package(s) matching wxgtk29
$ pkg_search -r wxgtk30
$ pkg_search -r wxgtk29
$ pkg search wxgtk30
$ pkg search wxgtk29
$ 
[/console]

I hope this is enough information. I updated ports within the last hour.
Comment 1 Jordan Irwin 2014-08-09 22:40:03 UTC
Correction: It looks like 2.9 was replaced by 3.0 & 2.8 is still actively developed.

Update: 3.0 & 2.8 appear to be installed:

[console]
$ wxgtk2u-3.0-config --version
3.0.1
$ wxgtk2u-2.8-config --version
2.8.12
$ make quicksearch name=wxgtk2.8
$ 
[/console]
Comment 2 Jordan Irwin 2014-08-09 22:40:42 UTC
My system:

FreeBSD 10.0 amd64

$ uname -a
FreeBSD FreeBSD 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014     root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
Comment 3 Jordan Irwin 2014-10-18 17:48:13 UTC
Here's a little more clarification of what is affected. wxgtk29 is the only version that is found searching the ports collection. None of them are found using "pkg search"

$ make quicksearch name=wxgtk28
$ make quicksearch name=wxgtk29
Port:	x11-toolkits/wxgtk29
Moved:	x11-toolkits/wxgtk30
Date:	2014-03-24
Reason:	wxGTK 2.9 was a development version superseded by the 3.0 release

$ make quicksearch name=wxgtk30
$ 
$ pkg search wxgtk28
$ pkg search wxgtk29
$ pkg search wxgtk30
Comment 4 Matthew Seaman freebsd_committer freebsd_triage 2015-03-15 15:00:19 UTC
This is because pkg(8) now searches based on package *names* by default, and
the package name for these ports is quite different to the origin in the ports
tree:

lucid-nonsense:...etc/pkg/repos:# pkg search -g 'wx*gtk*'
wx28-gtk2-2.8.12_5
wx28-gtk2-common-2.8.12_5
wx28-gtk2-contrib-2.8.12_5
wx28-gtk2-contrib-common-2.8.12_5
wx28-gtk2-unicode-2.8.12_5
wx28-gtk2-unicode-contrib-2.8.12_5
wx30-gtk2-3.0.2_2

Or you can search explicitly on the package origin:

lucid-nonsense:...etc/pkg/repos:# pkg search -S origin -x wxgtk 
x11-toolkits/wxgtk28
x11-toolkits/wxgtk28-common
x11-toolkits/wxgtk28-contrib
x11-toolkits/wxgtk28-contrib-common
x11-toolkits/wxgtk28-unicode
x11-toolkits/wxgtk28-unicode-contrib
x11-toolkits/wxgtk30