Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 432040 - dev-libs/xdispatch - a event processing library (aka Grand Central Dispatch by Apple)
Summary: dev-libs/xdispatch - a event processing library (aka Grand Central Dispatch b...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Normal enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://opensource.mlba-team.de/xdispa...
Whiteboard:
Keywords: EBUILD, PATCH
Depends on:
Blocks:
 
Reported: 2012-08-20 09:57 UTC by Alexander Dubov
Modified: 2012-08-23 09:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Ebuild for the libdispatch (libdispatch-0.7.0.ebuild,598 bytes, text/plain)
2012-08-20 09:57 UTC, Alexander Dubov
Details
Patch for the ebuild to disable strict aliasing dependend optimizations when building with optimizing GCC. (libxdispatch-fix-aliasing-error.patch,544 bytes, patch)
2012-08-20 09:58 UTC, Alexander Dubov
Details | Diff
Ebuild is renamed to xdispatch; added building and installation of documentation (xdispatch-0.7.0.ebuild,945 bytes, text/plain)
2012-08-21 06:54 UTC, Alexander Dubov
Details
Patch for the new ebuild to fix hardcoded documentation install path (xdispatch-fix-doc-path.patch,814 bytes, patch)
2012-08-21 06:55 UTC, Alexander Dubov
Details | Diff
Patch for the new ebuild to fix hardcoded documentation install path (fixed) (xdispatch-fix-doc-path.patch,813 bytes, patch)
2012-08-21 06:58 UTC, Alexander Dubov
Details | Diff
Added support for clang use flag (xdispatch-0.7.0.ebuild,1.28 KB, text/plain)
2012-08-23 08:55 UTC, Alexander Dubov
Details
Disable checking for existing libdispatch (will break upgrades otherwise) (xdispatch-disable-native-detection.patch,716 bytes, patch)
2012-08-23 08:56 UTC, Alexander Dubov
Details | Diff
Don't check for svn presence (breaks configure) (xdispatch-disable-svn-detect.patch,579 bytes, patch)
2012-08-23 08:57 UTC, Alexander Dubov
Details | Diff
Make sure QT_NO_DEBUG is set (mostly affects clang) (xdispatch-force-qt-no-debug.patch,432 bytes, patch)
2012-08-23 08:58 UTC, Alexander Dubov
Details | Diff
Work around reserved identifier in glibc's unistd.h (xdispatch-clang-wrap-unistd.patch,15.44 KB, patch)
2012-08-23 09:00 UTC, Alexander Dubov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.