Difference between revisions of "Gdk-Pixbuf"

From CBLFS
Jump to navigationJump to search
 
(19 intermediate revisions by one other user not shown)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/2.22/gdk-pixbuf-2.23.3.tar.bz2
+
| http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/2.23/gdk-pixbuf-2.23.3.tar.bz2
 
|-
 
|-
 
|}
 
|}
Line 13: Line 13:
  
 
== Dependencies ==
 
== Dependencies ==
 
'''<font style="color: green">If there are no dependencies, omit this section.</font>'''
 
  
 
=== Required ===
 
=== Required ===
* [[Required Dependency #1]]
+
* [[glib2]]
* [[Required Dependency #2]]
 
  
 
=== Recommended ===
 
=== Recommended ===
* [[Recommended Dependency #1]]
+
* [[libjpeg]]
* [[Recommended Dependency #2]]
+
* [[libpng]]
 +
* [[LibTIFF]]
 +
* [[JasPer]]
  
 
=== Optional ===
 
=== Optional ===
* [[Optional Dependency #1]]
+
* [[Gtk-Doc]]
* [[Optional Dependency #2]]
 
 
 
=== Runtime ===
 
* [[Runtime Dependency #1]]
 
* [[Runtime Dependency #2]]
 
  
 
== Configuration Information ==
 
== Configuration Information ==
  
'''<font style="color: green">This section can contain options that you may want to include when configuring the package, but should be left as a choice. However, don't just reproduce the output of ./configure --help; be judicious in your selection.  If there are no configuration options that warrant discussion, omit this section.</font>'''
+
{|style="text-align: left"
 
+
|-
{|
+
|<i>--without-libpng</i>: disable [[libpng|PNG]] loader for gdk-pixbuf.
 +
|-
 +
|<i>--without-libjpeg</i>: disable [[libjpeg|JPEG]] loader for gdk-pixbuf.
 +
|-
 +
|<i>--without-libtiff</i>: disable [[LibTIFF|TIFF]] loader for gdk-pixbuf.
 +
|-
 +
|<i>--with-libjasper</i>: enable [[JasPer|JPEG2000]] loader for gdk-pixbuf.
 
|-
 
|-
|''--enable-someoption:'' brief description of the non-default functionality provided by someoption.
+
|<i>--enable-gtk-doc</i>: use [[Gtk-Doc]] to build documentation.
 
|-
 
|-
|''--disable-someotheroption:'' brief description of the default functionality removed by disabling someotheroption.
+
|<i>--enable-gtk-doc-html</i>: use [[Gtk-Doc]] to build documentation in html format.
 
|-
 
|-
|''--with-somepackage=DIR:''
+
|<i>--enable-gtk-doc-pdf</i>: use [[Gtk-Doc]] to build documentation in pdf format.
 
|}
 
|}
 
'''<font style="color: green">Generally speaking, CBLFS packages are installed in the /usr hierarchy although there are some exceptions.  Even if you passed --prefix=/home/fubar/stuff/CBLFS/is/really/awesome/some/package/version/5.0/hope/this/works to the configure script, please use --prefix=/usr for the wiki.  Thanks.  Also, the instructions presume that the source package has been retrieved to the local machine, unpacked, and you have cd'd to the top of the source tree.  Generally, we don't need those instructions unless there is something very unique about the process for the package you are adding.</font>'''
 
  
 
== Non-Multilib ==
 
== Non-Multilib ==
Line 51: Line 49:
 
Compile the package:
 
Compile the package:
  
  Please Contribute
+
  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var &&
 +
make
  
 
Install the package:
 
Install the package:
  
  Please Contribute
+
  make install
  
 
== Multilib ==
 
== Multilib ==
 
'''<font style="color: green">If package documentation is not installed by the 'make install' step, only include the commands to install the documentation in the 64-bit section.</font>'''
 
  
 
=== 32Bit ===
 
=== 32Bit ===
Line 66: Line 63:
  
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
     CC="gcc ${BUILD32}" CXX="g++ ${BUILD632}" \
+
     CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
     ./configure --prefix=$GNOME_PREFIX --sysconfdir=/etc --localstatedir=/var &&
+
     ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var &&
 
  make
 
  make
  
Line 73: Line 70:
  
 
  make install
 
  make install
 +
mv -v /usr/bin/gdk-pixbuf-csource{,-32}
 +
mv -v /usr/bin/gdk-pixbuf-query-loaders{,-32}
  
 
=== N32 ===
 
=== N32 ===
Line 88: Line 87:
 
Compile the package:
 
Compile the package:
  
PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
+
PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
     CC="gcc ${BUILD64}" CXX="g++ ${BUILD664}" \
+
     CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
     ./configure --prefix=$GNOME_PREFIX --sysconfdir=/etc --localstatedir=/var &&
+
     ./configure --prefix=/usr --libdir=/usr/lib64 \
make
+
    --sysconfdir=/etc --localstatedir=/var &&
 +
make
  
  
Line 97: Line 97:
  
 
  make install
 
  make install
 
+
mv -v /usr/bin/gdk-pixbuf-csource{,-64}
== Configuring ==
+
mv -v /usr/bin/gdk-pixbuf-query-loaders{,-64}
 
+
ln -sfv multiarch_wrapper /usr/bin/gdk-pixbuf-csource
'''<font style="color: green">This section should contain information about the post-installation configuration of a package, bootscript(s), other files, creating directories. Omit this section if there is no post-installation configuration required.</font>'''
+
ln -sfv multiarch_wrapper /usr/bin/gdk-pixbuf-query-loaders
 +
  ln -svf /usr/include/gdk-pixbuf-2.0/gdk-pixbuf \
 +
    /usr/include/gdk-pixbuf
  
 
== Contents ==
 
== Contents ==
Line 107: Line 109:
 
|-valign="top"
 
|-valign="top"
 
!Installed Directories:
 
!Installed Directories:
|/${GNOME_PREFIX}
+
|/usr
 
|-valign="top"
 
|-valign="top"
 
!Installed Programs:
 
!Installed Programs:

Latest revision as of 19:30, 10 October 2011

Download Source: http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/2.23/gdk-pixbuf-2.23.3.tar.bz2

Introduction to Gdk-Pixbuf

An image loading library.

Project Homepage: http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf


Dependencies

Required

Recommended

Optional

Configuration Information

--without-libpng: disable PNG loader for gdk-pixbuf.
--without-libjpeg: disable JPEG loader for gdk-pixbuf.
--without-libtiff: disable TIFF loader for gdk-pixbuf.
--with-libjasper: enable JPEG2000 loader for gdk-pixbuf.
--enable-gtk-doc: use Gtk-Doc to build documentation.
--enable-gtk-doc-html: use Gtk-Doc to build documentation in html format.
--enable-gtk-doc-pdf: use Gtk-Doc to build documentation in pdf format.

Non-Multilib

Compile the package:

./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var &&
make

Install the package:

make install

Multilib

32Bit

Compile the package:

PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
    CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
    ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var &&
make

Install the package:

make install
mv -v /usr/bin/gdk-pixbuf-csource{,-32}
mv -v /usr/bin/gdk-pixbuf-query-loaders{,-32}

N32

Compile the package:

Please Contribute

Install the package:

Please Contribute

64Bit

Compile the package:

PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
   CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
   ./configure --prefix=/usr --libdir=/usr/lib64 \
   --sysconfdir=/etc --localstatedir=/var &&
make


Install the package:

make install
mv -v /usr/bin/gdk-pixbuf-csource{,-64}
mv -v /usr/bin/gdk-pixbuf-query-loaders{,-64}
ln -sfv multiarch_wrapper /usr/bin/gdk-pixbuf-csource
ln -sfv multiarch_wrapper /usr/bin/gdk-pixbuf-query-loaders
ln -svf /usr/include/gdk-pixbuf-2.0/gdk-pixbuf \
    /usr/include/gdk-pixbuf

Contents

Installed Directories: /usr
Installed Programs: gdk-pixbuf-csource, gdk-pixbuf-query-loaders
Installed Libraries: libgdk_pixbuf-2.0.{a,so}, libgdk_pixbuf_xlib-2.0.{a,so}

Short Descriptions

gdk-pixbuf-csource please contribute to library description.
gdk-pixbuf-query-loaders please contribute to library description.
libgdk_pixbuf-2.0.{so,a} please contribute to library description.
libgdk_pixbuf_xlib-2.0.{so,a} please contribute to library description.

[[Category:<PUT APPROPRIATE CATEGORY HERE>]] See http://cblfs.cross-lfs.org/index.php/Special:Categories for a list of categories. Likely your package will fit in one of the existing categories. If not, and think long and hard about it, create a new category.