After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 566979 - scan C library headers
scan C library headers
Status: RESOLVED DUPLICATE of bug 623633
Product: anjuta
Classification: Applications
Component: plugins: symbol-db
SVN TRUNK
Other Linux
: Normal enhancement
: ---
Assigned To: Massimo Cora'
Anjuta maintainers
Depends on:
Blocks:
 
 
Reported: 2009-01-08 04:25 UTC by Adam Dingle
Modified: 2010-07-05 21:09 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Adam Dingle 2009-01-08 04:25:44 UTC
symbol-db can apparently scan header files from any package with a pkg-config definition.  Unfortunately, the standard C library doesn't have a pkg-config package, and so symbol-db can't autocomplete symbols such as "printf" or "strlen".  We should scan the standard C header files; I think it would be reasonable to do this automatically for any project.
Comment 1 Johannes Schmid 2009-01-08 10:01:19 UTC
+1
Comment 2 Massimo Cora' 2009-01-08 10:31:07 UTC
what I may suggest is to let user decide which directory to parse for headers.
This won't be done automatically so user should specify directories. He could then associate a name to the 'custom-package'.
There cannot be a 'generic' way of operating here because *nix systems are quite different.

Can this be acceptable?
Comment 3 Adam Dingle 2009-01-08 14:21:08 UTC
Yes - I think it would be great it this were a general capability, not just limited to the C standard library; the user should be able to specify directories to parse.  But I still think we should parse standard library headers automatically if at all possible, without the user having to set this up manually.  Perhaps we could just automatically scan all files in /usr/include (but not its subdirectories); this would get all the standard headers on most systems.
Comment 4 Massimo Cora' 2009-01-16 23:12:12 UTC
I'm thinking to a widget as Picasa has (just the first example that came into my mind).
If you open Picasa 3 and go to Tools -> Folder Manager you can see on the left a tree with checkboxes. It would be really great if you could have it in gtk. But I think I never saw one around.
Maybe you did?

Another option would be to let user browse the filesystem, pick a directory and add a name for the new package. In addition a check box [Recurse subdirectory] will manage the subdirectories or not.

Comment 5 Massimo Cora' 2009-02-02 20:41:25 UTC
bug planned for 2.28 cycle.
Comment 6 Johannes Schmid 2010-07-05 21:09:42 UTC

*** This bug has been marked as a duplicate of bug 623633 ***