Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 432040

Summary: dev-libs/xdispatch - a event processing library (aka Grand Central Dispatch by Apple)
Product: Gentoo Linux Reporter: Alexander Dubov <oakad>
Component: New packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: UNCONFIRMED ---    
Severity: enhancement Keywords: EBUILD, PATCH
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
URL: http://opensource.mlba-team.de/xdispatch/docs/current/index.html
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Ebuild for the libdispatch
Patch for the ebuild to disable strict aliasing dependend optimizations when building with optimizing GCC.
Ebuild is renamed to xdispatch; added building and installation of documentation
Patch for the new ebuild to fix hardcoded documentation install path
Patch for the new ebuild to fix hardcoded documentation install path (fixed)
Added support for clang use flag
Disable checking for existing libdispatch (will break upgrades otherwise)
Don't check for svn presence (breaks configure)
Make sure QT_NO_DEBUG is set (mostly affects clang)
Work around reserved identifier in glibc's unistd.h

Description Alexander Dubov 2012-08-20 09:57:40 UTC
Created attachment 321744 [details]
Ebuild for the libdispatch

libdispatch is a relatively recent development for managing events and concurrency on sub-thread level.

More information can be found here:
http://en.wikipedia.org/wiki/Grand_Central_Dispatch

Attached ebuild is for the multi platform "xdispatch" fork of the original Apple code:

http://opensource.mlba-team.de/xdispatch/docs/current/index.html
Comment 1 Alexander Dubov 2012-08-20 09:58:36 UTC
Created attachment 321746 [details, diff]
Patch for the ebuild to disable strict aliasing dependend optimizations when building with optimizing GCC.
Comment 2 Alexander Dubov 2012-08-21 06:54:35 UTC
Created attachment 321826 [details]
Ebuild is renamed to xdispatch; added building and installation of documentation
Comment 3 Alexander Dubov 2012-08-21 06:55:24 UTC
Created attachment 321828 [details, diff]
Patch for the new ebuild to fix hardcoded documentation install path
Comment 4 Alexander Dubov 2012-08-21 06:58:35 UTC
Created attachment 321830 [details, diff]
Patch for the new ebuild to fix hardcoded documentation install path (fixed)
Comment 5 Alexander Dubov 2012-08-23 08:55:14 UTC
Created attachment 321996 [details]
Added support for clang use flag
Comment 6 Alexander Dubov 2012-08-23 08:56:41 UTC
Created attachment 321998 [details, diff]
Disable checking for existing libdispatch (will break upgrades otherwise)
Comment 7 Alexander Dubov 2012-08-23 08:57:25 UTC
Created attachment 322000 [details, diff]
Don't check for svn presence (breaks configure)
Comment 8 Alexander Dubov 2012-08-23 08:58:03 UTC
Created attachment 322002 [details, diff]
Make sure QT_NO_DEBUG is set (mostly affects clang)
Comment 9 Alexander Dubov 2012-08-23 09:00:29 UTC
Created attachment 322004 [details, diff]
Work around reserved identifier in glibc's unistd.h

This old and well known problem results from inability of glibc and clang developers to reach a (no brainer) agreement on who is responsible for cleaning out conflicting identifiers in the system headers (long fixed in eglibc).
Comment 10 Alexander Dubov 2012-08-23 09:02:49 UTC
There's one remaining problem when "clang" flag is set, namely support for __float128 data type. For now, it can be disabled with a conditional macro in a c++-config.h gcc header on per installation basis, but clang support for this data type is in the works.