Bug 722844

Summary: Example source files missing from boost packages
Product: [Fedora] Fedora Reporter: Suvayu <fatkasuvayu>
Component: boostAssignee: Benjamin Kosnik <bkoz>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: bkoz, denis.arnaud_fedora, fatkasuvayu, mnewsome, pertusus, pmachata
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-26 13:57:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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.