Bug 722844 - Example source files missing from boost packages
Summary: Example source files missing from boost packages
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: boost
Version: rawhide
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Benjamin Kosnik
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-18 08:44 UTC by Suvayu
Modified: 2013-08-09 05:50 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-26 13:57:38 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Suvayu 2011-07-18 08:44:20 UTC
Description of problem:
The various example source files are missing.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Search for any example source file (e.g. from boost-program-options)
   $ repoquery -f */example/options_description.cpp
2. No results found
3.
  
Actual results:
example source files are missing

Expected results:
example source files are present after I have installed the
corresponding packages or the boost-doc package

Additional info:
The html docs in the boost-doc package says these example files are
under $BOOST_ROOT/libs/<libname>/example/. Maybe there could be a
sub-package called boost-examples with all these example files.

Comment 1 Petr Machata 2011-07-25 16:15:58 UTC
I'm wondering, what do we want to do?  To distribute _built_ examples, or the example sources themselves?  I'm guessing the latter.

In any case, the current CMake harness seems lacking in the area of examples.  Some libs that have "example" directory don't include EXAMPLEDIRS directive, and most of those that do don't have CMakeFiles in the example directory.  Besides, I believe that Boost build system is only set up for actual _building_ of examples (case 1 above).  So for now, I guess I'll sweep the sources with "find" and copy stuff over, much like what we do with the documentation.

Comment 2 Denis Arnaud 2011-07-25 18:20:37 UTC
(In reply to comment #1)
> So for now, I guess I'll sweep the sources with "find" and copy stuff over,
> much like what we do with the documentation.

It seems very reasonable to me.


Note You need to log in before you can comment on or make changes to this bug.