~ubuntu-branches/ubuntu/maverick/evolution-data-server/maverick-proposed

« back to all changes in this revision

Viewing changes to libdb/build_vxworks/dbdemo/README

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2010-05-17 17:02:06 UTC
  • mfrom: (1.1.79 upstream) (1.6.12 experimental)
  • Revision ID: james.westby@ubuntu.com-20100517170206-4ufr52vwrhh26yh0
Tags: 2.30.1-1ubuntu1
* Merge from debian experimental. Remaining change:
  (LP: #42199, #229669, #173703, #360344, #508494)
  + debian/control:
    - add Vcs-Bzr tag
    - don't use libgnome
    - Use Breaks instead of Conflicts against evolution 2.25 and earlier.
  + debian/evolution-data-server.install,
    debian/patches/45_libcamel_providers_version.patch:
    - use the upstream versioning, not a Debian-specific one 
  + debian/libedata-book1.2-dev.install, debian/libebackend-1.2-dev.install,
    debian/libcamel1.2-dev.install, debian/libedataserverui1.2-dev.install:
    - install html documentation
  + debian/rules:
    - don't build documentation it's shipped with the tarball

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
This README describes the steps needed to run a demo example of BerkeleyDB.
2
 
 
3
 
1. Read the pages in the Reference Guide that describe building
4
 
   BerkeleyDB on VxWorks:
5
 
 
6
 
        $(WIND_BASE)/target/src/BerkeleyDB/docs/ref/build_vxworks/intro.html
7
 
        $(WIND_BASE)/target/src/BerkeleyDB/docs/ref/build_vxworks/notes.html
8
 
        $(WIND_BASE)/target/src/BerkeleyDB/docs/ref/build_vxworks/faq.html
9
 
 
10
 
2. Launch Tornado 2.0 and open up the BerkeleyDB project.
11
 
 
12
 
3. Add the demo project to that workspace:
13
 
 
14
 
        $(WIND_BASE)/target/src/BerkeleyDB/build_vxworks/demo/dbdemo.wpj
15
 
 
16
 
4. Build BerkeleyDB as described in the Reference Guide.
17
 
 
18
 
5. Build the dbdemo project.
19
 
 
20
 
6. Download BerkeleyDB onto the target.
21
 
 
22
 
7. Download the dbdemo project onto the target.
23
 
 
24
 
8. Open a windsh to the target and run the demo:
25
 
 
26
 
        -> dbdemo "<pathname>/<dbname>"
27
 
 
28
 
   Where pathname is a pathname string pointing to a directory that the
29
 
   demo can create a database in.  That directory should already exist.
30
 
   The dbname is the name for the database.  For example:
31
 
 
32
 
        -> dbdemo "/tmp/demo.db"
33
 
 
34
 
9. The demo program will ask for input.  You can type in any string.
35
 
   The program will add an entry to the database with that string as
36
 
   the key and the reverse of that string as the data item for that key.
37
 
   It will continue asking for input until you hit ^D or enter "quit".
38
 
   Upon doing so, the demo program will display all the keys you have
39
 
   entered as input and their data items.