~ubuntu-branches/ubuntu/raring/ncbi-tools6/raring

« back to all changes in this revision

Viewing changes to demo/insdseqget.c

  • Committer: Package Import Robot
  • Author(s): Aaron M. Ucko
  • Date: 2011-09-05 18:55:02 UTC
  • mfrom: (1.1.11 upstream)
  • Revision ID: package-import@ubuntu.com-20110905185502-iuvmoe65ytljhckn
Tags: 6.1.20110713-1
* New upstream release.
* debian/*.symbols: update accordingly.
* make/makeshlb.unx: link libcn3dOGL.so against -lm for sqrt.
* doc/man/*.1: update for new release.
* debian/rules:
  - (VIB): add asnmacro, as upstream takes care to publish binaries thereof.
  - Retire obsolete multiarch-unaware checks for libpthread.
  - Fully modernize Debhelper usage; in particular, transition to overrides.
* debian/compat: advance to 9 per rules modernization.
* debian/ncbi-tools-bin.install: add asnmacro.
* make/makenet.unx: link asnmacro only against libraries it directly needs.
* doc/man/asnmacro.1: give asnmacro a man page.
* doc/man/Psequin.1: list it in SEE ALSO.
* network/id1arch/idfetch.c: revert redundant change (from #295110).
* Convert to multiarch.
  - debian/rules: Install libraries (and ncbithr.o) to multiarch directories.
  - debian/lib*.install: match multiarch library paths.
  - debian/control:
    + Build-Depends: debhelper (>= 8.1.3~), implying a recent dpkg-dev.
    + Set Multi-Arch: as appropriate across the board, and specify
      Pre-Depends: ${misc:Pre-Depends} for runtime libraries.
* debian/*.lintian-overrides: drop leading slashes for Lintian 2.5.x.
* debian/control: Standards-Version: 3.9.2 (already compliant).

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
*
30
30
* Version Creation Date:   11/4/02
31
31
*
32
 
* $Revision: 1.1 $
 
32
* $Revision: 1.2 $
33
33
*
34
34
* File Description:  Demo to fetch by accession, write INSDSet XML
35
35
*
55
55
#include <pmfapi.h>
56
56
#include <asn2gnbp.h>
57
57
 
 
58
#define INSDSEQGET_APP_VER "1.1"
 
59
 
 
60
CharPtr INSDSEQGET_APPLICATION = INSDSEQGET_APP_VER;
 
61
 
58
62
static CharPtr ReadALine (
59
63
  CharPtr str,
60
64
  size_t size,
398
402
 
399
403
{
400
404
  AsnIoPtr    aip;
 
405
  Char        app [64];
401
406
  AsnTypePtr  atp;
402
407
  FILE        *dfp = NULL;
403
408
  Boolean     do_nuc = FALSE;
439
444
    return 1;
440
445
  }
441
446
 
442
 
  if (! GetArgs ("insdseqget", sizeof (myargs) / sizeof (Args), myargs)) {
 
447
  sprintf (app, "insdseqget %s", INSDSEQGET_APPLICATION);
 
448
  if (! GetArgs (app, sizeof (myargs) / sizeof (Args), myargs)) {
443
449
    return 0;
444
450
  }
445
451