Hereâs some additional background about goals and what Iâve attempted so far. I have a thought I donât want to get lost so Iâm going to put it in a second reply.
It looks like youâre trying to build a really old version of Epiphany. Just use a newer version?
It looks like I was working on the source from an epiphany-3.36.4 tarball. Iâll give the cloned repo a try and see if that resolves the dependency issue.
Epiphany is only going to show search results from your Epiphany history and bookmarks, though, so that doesnât seem super useful. Surely you would want it to show results from Chrome instead?
Until 30 minutes ago I was unaware that Iâm presently getting search results from the dozen or so sites in my Web history (no bookmarks exist) so I was under the assumption that all I would be producing was:
If all you want is to display the âsearch the webâ link and nothing else, then you can use the Epiphany search provider as a starting point, but you can probably delete most of the code, certainly including everything that depends on WebKit.
I donât know C and making minimal changes to forked code with chatgpt has allowed me to gain functionality out of programs I would never have gotten otherwise. GNOME Web is my lightweight, i-have-to-use-a-browser-x-over-ssh choice, but Chromeâs my daily driver.
Whatâs happened is that when I hit start and begin typing and strike enter (because thatâs what one does with a single result, I end up with Web opening instead of Chrome. I then need to close the opened GNOME Web window.
For starters thatâs all I want to changeâŚand it would have satisficed until I realized I might be able to have history and bookmarks from Chrome. I removed one of the links in the search-provider chain, (/usr/share/gnome-shell/search-providers/org.gnome.Epiphany.SearchProvider.ini
) before I realized I can probably just turn it off in Settings > Search:
If you want to display history and bookmark search results comparable to what Epiphany does, youâll probably want it to be part of the Chromium codebase.
Like I said, I would have ignorantly satisficed on just some web hits and launching my browser of choice and giving other GNOME users an easy way to have an integrated web-search-provider experience agnostic of end browser choice. Further, I like to kid myself that Iâm proficient in BASH, but at best Iâm puzzling through stuff with an iddiot savant that occasionally follows my instructions. Perhaps this will become a reality when some other necessary conditions are met:
- I learn C, GNOME, etc.
- AI programming gets appreciably better at digesting existing codebase
- Someone who know how to do this decides they want a chrome-search-provider.
Until then, Iâve only the tools at hand so with that metaphorical hammer, Iâm hitting this proverbial nail.