summaryrefslogtreecommitdiff
path: root/doc/developer/reference-html/x79.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/developer/reference-html/x79.html')
-rw-r--r--doc/developer/reference-html/x79.html159
1 files changed, 48 insertions, 111 deletions
diff --git a/doc/developer/reference-html/x79.html b/doc/developer/reference-html/x79.html
index f387523..ac4968b 100644
--- a/doc/developer/reference-html/x79.html
+++ b/doc/developer/reference-html/x79.html
@@ -1,14 +1,14 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
>Integrating libgutenprint</TITLE
><META
NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
+CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
REL="HOME"
TITLE="The Developer's Guide to Gutenprint"
-HREF="book1.html"><LINK
+HREF="index.html"><LINK
REL="UP"
TITLE="Using libgutenprint"
HREF="c48.html"><LINK
@@ -17,11 +17,14 @@ TITLE="Linking with libgutenprint"
HREF="x67.html"><LINK
REL="NEXT"
TITLE="Reporting Bugs"
-HREF="c194.html"><META
-http-equiv="Content-Type"
-content="text/html; charset=UTF-8"></HEAD
+HREF="c194.html"></HEAD
><BODY
CLASS="sect1"
+BGCOLOR="#FFFFFF"
+TEXT="#000000"
+LINK="#0000FF"
+VLINK="#840084"
+ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
@@ -71,7 +74,7 @@ CLASS="sect1"
CLASS="sect1"
><A
NAME="AEN79"
->Integrating libgutenprint</A
+>2.3. Integrating libgutenprint</A
></H1
><P
>&#13; This section describes how to integrate the compiling and
@@ -99,7 +102,7 @@ CLASS="sect2"
CLASS="sect2"
><A
NAME="AEN86"
-><B
+>2.3.1. <B
CLASS="command"
>pkg-config</B
></A
@@ -111,13 +114,13 @@ CLASS="command"
CLASS="command"
>configure</B
> when configuring the package when
- it was built, the <VAR
+ it was built, the <CODE
CLASS="varname"
->CFLAGS</VAR
+>CFLAGS</CODE
> and
- <VAR
+ <CODE
CLASS="varname"
->LIBS</VAR
+>LIBS</CODE
> parameters needed to compile and link
programs with libgutenprint may vary. To make it simple to
determine what these are on any given system, a
@@ -140,21 +143,15 @@ CLASS="refentrytitle"
> manual page for a compete synopsis.
</P
><P
->&#13; The correct <VAR
+>&#13; The correct <CODE
CLASS="varname"
->CFLAGS</VAR
+>CFLAGS</CODE
> to use can be obtained
- with the <VAR
+ with the <CODE
CLASS="option"
->--cflags</VAR
+>--cflags</CODE
> option:
</P
-><TABLE
-BORDER="0"
-BGCOLOR="#E0E0E0"
-WIDTH="100%"
-><TR
-><TD
><PRE
CLASS="screen"
><SAMP
@@ -165,25 +162,16 @@ CLASS="userinput"
>pkg-config --cflags gutenprint</KBD
>
-I/usr/local/include</PRE
-></TD
-></TR
-></TABLE
><P
->&#13; The correct <VAR
+>&#13; The correct <CODE
CLASS="varname"
->LIBS</VAR
+>LIBS</CODE
> to use can the obtained
- with the <VAR
+ with the <CODE
CLASS="option"
->--libs</VAR
+>--libs</CODE
> option:
</P
-><TABLE
-BORDER="0"
-BGCOLOR="#E0E0E0"
-WIDTH="100%"
-><TR
-><TD
><PRE
CLASS="screen"
><SAMP
@@ -194,22 +182,13 @@ CLASS="userinput"
>pkg-config --libs gutenprint</KBD
>
-L/usr/local/lib -lgutenprint -lm -ldl</PRE
-></TD
-></TR
-></TABLE
><P
>&#13; Lastly, the installed version of Gutenprint can be obtained with the
- <VAR
+ <CODE
CLASS="varname"
->--version</VAR
+>--version</CODE
> option:
</P
-><TABLE
-BORDER="0"
-BGCOLOR="#E0E0E0"
-WIDTH="100%"
-><TR
-><TD
><PRE
CLASS="screen"
><SAMP
@@ -220,19 +199,10 @@ CLASS="userinput"
>pkg-config --modversion gutenprint</KBD
>
4.3.23</PRE
-></TD
-></TR
-></TABLE
><P
>&#13; The command can be used from the shell by enclosing it in
- backquotes ‘`’:
+ backquotes &#8216;`&#8217;:
</P
-><TABLE
-BORDER="0"
-BGCOLOR="#E0E0E0"
-WIDTH="100%"
-><TR
-><TD
><PRE
CLASS="screen"
><SAMP
@@ -250,9 +220,6 @@ CLASS="userinput"
>gcc `pkg-config --libs gutenprint` -o
stpimage stpimage.o</KBD
></PRE
-></TD
-></TR
-></TABLE
><P
>&#13; However, this is not the way it it typically used. Normally
it is used in a <TT
@@ -271,7 +238,7 @@ CLASS="sect2"
CLASS="sect2"
><A
NAME="AEN123"
-><B
+>2.3.2. <B
CLASS="command"
>make</B
></A
@@ -292,20 +259,11 @@ CLASS="command"
>make</B
>:
</P
-><TABLE
-BORDER="0"
-BGCOLOR="#E0E0E0"
-WIDTH="100%"
-><TR
-><TD
><PRE
CLASS="programlisting"
>GUTENPRINT_VERSION = $(shell pkg-config --version gutenprint)
GUTENPRINT_CFLAGS = $(shell pkg-config --cflags gutenprint)
GUTENPRINT_LIBS = $(shell pkg-config --libs gutenprint)</PRE
-></TD
-></TR
-></TABLE
><P
>&#13; How you choose to use these variables is entirely up to
you. See the GNU <B
@@ -321,7 +279,7 @@ CLASS="sect2"
CLASS="sect2"
><A
NAME="AEN133"
-><B
+>2.3.3. <B
CLASS="command"
>autoconf</B
></A
@@ -347,7 +305,7 @@ CLASS="filename"
CLASS="command"
>autoconf</B
> expands
- the m4 macros into ‘real’ shell script. The
+ the m4 macros into &#8216;real&#8217; shell script. The
resulting <B
CLASS="command"
>configure</B
@@ -384,18 +342,9 @@ CLASS="informalexample"
><A
NAME="AEN148"
></A
-><TABLE
-BORDER="0"
-BGCOLOR="#E0E0E0"
-WIDTH="100%"
-><TR
-><TD
><PRE
CLASS="programlisting"
>PKG_CHECK_MODULES(GUTENPRINT, gutenprint)</PRE
-></TD
-></TR
-></TABLE
><P
></P
></DIV
@@ -406,7 +355,7 @@ CLASS="sect2"
CLASS="sect2"
><A
NAME="AEN150"
-><B
+>2.3.4. <B
CLASS="command"
>automake</B
></A
@@ -490,26 +439,26 @@ CLASS="filename"
CLASS="filename"
>Makefile.in</TT
> files such as
- <VAR
+ <CODE
CLASS="option"
->dist</VAR
->, <VAR
+>dist</CODE
+>, <CODE
CLASS="option"
->distcheck</VAR
+>distcheck</CODE
>,
- <VAR
+ <CODE
CLASS="option"
->clean</VAR
->, <VAR
+>clean</CODE
+>, <CODE
CLASS="option"
->distclean</VAR
+>distclean</CODE
>,
- <VAR
+ <CODE
CLASS="option"
->maintainer-clean</VAR
-> and <VAR
+>maintainer-clean</CODE
+> and <CODE
CLASS="option"
->tags</VAR
+>tags</CODE
>,
and there are many more more available. See the GNU
<B
@@ -526,13 +475,13 @@ CLASS="function"
CLASS="function"
>AC_SUBST</CODE
> to substitute
- <VAR
+ <CODE
CLASS="varname"
->GUTENPRINT_CFLAGS</VAR
+>GUTENPRINT_CFLAGS</CODE
> and
- <VAR
+ <CODE
CLASS="varname"
->GUTENPRINT_LIBS</VAR
+>GUTENPRINT_LIBS</CODE
>, <B
CLASS="command"
>automake</B
@@ -566,18 +515,9 @@ CLASS="informalexample"
><A
NAME="AEN189"
></A
-><TABLE
-BORDER="0"
-BGCOLOR="#E0E0E0"
-WIDTH="100%"
-><TR
-><TD
><PRE
CLASS="programlisting"
->AUTOMAKE_OPTIONS = 1.7 gnu
-MAINT_CHARSET = latin1
-
-@SET_MAKE@
+>@SET_MAKE@
AM_CFLAGS = $(GUTENPRINT_CFLAGS)
@@ -586,9 +526,6 @@ stpimage_SOURCES = stpimage.c
stpimage_LDADD = $(GUTENPRINT_LIBS)
MAINTAINERCLEANFILES = Makefile.in</PRE
-></TD
-></TR
-></TABLE
><P
></P
></DIV
@@ -630,7 +567,7 @@ WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
-HREF="book1.html"
+HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD