Difference between revisions of "Gpac"

From CBLFS
Jump to navigationJump to search
 
(5 intermediate revisions by 2 users not shown)
Line 9: Line 9:
  
 
----
 
----
 
'''<font style="color: green">If there is some reason you are adding a package and are unable to provide a brief description of it's functionality, please do two things.  First, reconsider installing software that you have no idea what it does.  Second, please use this template.  It allows us to identify packages that need introductions without "hunting" through the wiki.</font>'''
 
 
'''<font style="color: green">Use this template to add notes where ever a note is appropriate.</font>'''
 
 
{{Note|Work in Progress}}
 
  
 
== Dependencies ==
 
== Dependencies ==
 
'''<font style="color: green">If there are no dependencies, omit this section.</font>'''
 
  
 
=== Required ===
 
=== Required ===
 
+
* [[which]]
 
=== Recommended ===
 
=== Recommended ===
 
* [[ALSA]]
 
* [[ALSA]]
 +
* [[libogg]]
 +
* [[libvorbis]]
 +
* [[Theora]]
 
* [[which]]
 
* [[which]]
 
* [[libpng]]
 
* [[libpng]]
 
* [[X Window System]]
 
* [[X Window System]]
 
* [[libjpeg]]
 
* [[libjpeg]]
 +
* [[FreeType]]
 
* [[WxWidgets]]
 
* [[WxWidgets]]
  
Line 34: Line 30:
 
* [[OpenJPEG]]
 
* [[OpenJPEG]]
 
* [[Libmad]]
 
* [[Libmad]]
 +
* [[FAAD2]]
 +
* [[XviD]]
 
* [[SDL]]
 
* [[SDL]]
 
* [[JACK]]
 
* [[JACK]]
Line 46: Line 44:
 
* [[AMRWB]]
 
* [[AMRWB]]
 
* [[SpiderMonkey]]
 
* [[SpiderMonkey]]
 
=== Runtime ===
 
* [[Runtime Dependency #1]]
 
* [[Runtime Dependency #2]]
 
 
== Creating the <NAME> User & Group ==
 
 
'''<font style="color: green">This is an optional section. If your package requires a user/group add this section to the page then append the table on the [[System User and Groups]] page. Below is an example.  If there is no need to create a user or group, omit this section.</font>'''
 
 
groupadd -g ''[id]'' ''[name]'' &&
 
useradd -c "''[desc]''" -d /dev/null \
 
        -u ''[id]'' -g ''[name]'' -s /bin/false ''[name]''
 
 
== 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>'''
 
 
{|
 
|-
 
|''--enable-someoption:'' brief description of the non-default functionality provided by someoption.
 
|-
 
|''--disable-someotheroption:'' brief description of the default functionality removed by disabling someotheroption.
 
|-
 
|''--with-somepackage=DIR:''
 
|}
 
 
'''<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 78: Line 49:
 
Compile the package:
 
Compile the package:
  
  ./configure --prefix=/usr &&
+
chmod +x configure &&
 +
  ./configure --prefix=/usr --X11-path="${XORG_PREFIX}" &&
 
  make
 
  make
  
Line 86: Line 58:
  
 
== Multilib ==
 
== Multilib ==
 
'''<font style="color: green">If appropriate, add this line and only include the 64-bit instructions:</font>'''
 
 
'''''This package does not provide any libraries or other ABI-specific information so only one installation is required.'''''
 
 
'''<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 97: Line 63:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
+
  chmod +x configure &&
 +
USE_ARCH=32 ./configure --prefix=/usr --X11-path="${XORG_PREFIX}" \
 +
    --cc="gcc ${BUILD32}" --extra-cflags="${BUILD32}" \
 +
    --cpu="$(cut -d- -f1 <<< ${CLFS_TARGET32})" &&
 
  make
 
  make
  
Line 106: Line 75:
 
=== N32 ===
 
=== N32 ===
  
Compile the package:
+
Todo
 
 
CC="gcc ${BUILDN32}" ./configure --prefix=/usr \
 
    --libdir=/usr/lib32 &&
 
make
 
 
 
Install the package:
 
 
 
make install
 
  
 
=== 64Bit ===
 
=== 64Bit ===
Line 120: Line 81:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILD64}" ./configure --prefix=/usr \
+
  chmod +x configure &&
     --libdir=/usr/lib64 &&
+
USE_ARCH=64 ./configure --prefix=/usr --X11-path="${XORG_PREFIX}" \
 +
     --cc="gcc ${BUILD64}" --extra-cflags="${BUILD64}" &&
 
  make
 
  make
  
Line 127: Line 89:
  
 
  make install
 
  make install
 
== Configuring ==
 
 
'''<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>'''
 
 
== Contents ==
 
 
'''<font style="color: green">You can find an application [[User:Weibullguy|here]] that can be used to make creating this table reasonably pain free.</font>'''
 
 
{| style="text-align: left;"
 
|-valign="top"
 
!Installed Directories:
 
|/path/to/dir
 
|-valign="top"
 
!Installed Programs:
 
|Program 1, Program 2
 
|-valign="top"
 
!Installed Libraries:
 
|library1.{a,so}, library2.{a,so}
 
|}
 
 
=== Short Descriptions ===
 
 
{| style="text-align: left;"
 
|-valign="top"
 
!Program 1
 
|is a program that converts pennies to dollars.
 
|-valign="top"
 
!Program 2
 
|is a program that converts dollars to pennies.
 
|-valign="top"
 
!library1.{so,a}
 
|is a library that contains functions necessary to convert from dollars to pennies and vice versa.
 
|}
 
 
[[Category:<PUT APPROPRIATE CATEGORY HERE>]] '''<font style="color: green">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.'''
 

Latest revision as of 15:01, 17 September 2009

Download Source: http://downloads.sourceforge.net/gpac/gpac-0.4.5.tar.gz

Introduction to Gpac

GPAC is an Open Source multimedia framework for research and academic purposes in different aspects of multimedia, with a focus on presentation technologies (graphics, animation and interactivity).

Project Homepage: http://gpac.sourceforge.net/index.php


Dependencies

Required

Recommended

Optional

Non-Multilib

Compile the package:

chmod +x configure &&
./configure --prefix=/usr --X11-path="${XORG_PREFIX}" &&
make

Install the package:

make install

Multilib

32Bit

Compile the package:

chmod +x configure &&
USE_ARCH=32 ./configure --prefix=/usr --X11-path="${XORG_PREFIX}" \
    --cc="gcc ${BUILD32}" --extra-cflags="${BUILD32}" \
    --cpu="$(cut -d- -f1 <<< ${CLFS_TARGET32})" &&
make

Install the package:

make install

N32

Todo

64Bit

Compile the package:

chmod +x configure &&
USE_ARCH=64 ./configure --prefix=/usr --X11-path="${XORG_PREFIX}" \
    --cc="gcc ${BUILD64}" --extra-cflags="${BUILD64}" &&
make

Install the package:

make install
Retrieved from "?title=Gpac&oldid=19225"