File: build.asc

package info (click to toggle)
giflib 5.1.4-3
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 3,952 kB
  • sloc: sh: 11,565; ansic: 6,901; xml: 2,401; makefile: 278
file content (85 lines) | stat: -rw-r--r-- 2,657 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
= Build instructions =

== From a distribution tarball ==

Building this package from a distribution tarball should be as simple as:

-------------------------------------------
    ./configure
    make check
-------------------------------------------

The "make check" command builds the software, then runs regression tests.

Note that automake currently generates Makefiles containing some GNUmake
specific syntax.  If you're having troubles building with your system
provided make, please install GNU make and try rebuilding.

Install with "make install".

== From the version-control repository ==

giflib presently uses autoconf, automake, and libtool in order to build
shared libraries for a wide variety of platforms.  The distributed tarball has
files prebuilt from these tools.  The repository does not.  If you want to
build giflib you will need to have these tools available.  

You will also need xmlto to build the derived forms of the
documentation from the DocBook-XML sources.  If you are going no
modify the website, you will also need to have asciidoc and the
ImageMagick convert(1) utility installed.

The build and test procedure is:

-------------------------------------------
   ./autogen.sh
   make check
-------------------------------------------

As before, install with "make install".

== Testing ==

You can run "make check" after the library and utilities have been built
to see a regression test of the codebase. No output (other than
the test header lines) is good news.

== Debugging ==

Because autotools (and libtool in particular) are perversely horrible,
you may need to configure with "--disable-shared" to get actual 
binaries that can be fed to gdb.

== Portability note ==

This codebase now assumes your compiler is C99-conformant.  If it
isn't, the most likely trouble spot is "#include <stdint.h>"; your
compiler may be looking for "inttypes.h" instead.  If your compiler
has a C99 conformance option, turn it on.

== Release Procedure ==

1. Check the SourceForge tracker for bugs and patches.

2. Run a Coverity scan before shipping.

3. The version needs to be bumped in two places, configure.ac
and lib/gif_lib.h.

4. Version-stamp the top entry in the NEWS file. 

5. The shared-library version is also set in configure.ac and must
   be bumped if object or source-API compatibility changes.

6. If you are changing major versions, sync the XBS-SourceForge-Folder
attribute in the control file.

7. 'make distcheck' to verify the build and make a tarball.

8. Tag the release in the repo.

9. Ship the release tarball.

The last three steps can be done with "make release" if you have shipper
installed.