HaikuPorts
  • Login
  • Preferences
  • Help/Guide
  • Wiki
  • Timeline
  • Roadmap
  • View Tickets
  • Search
  • Port Log
  • Blog

Context Navigation

  • ← Previous Change
  • Wiki History
  • Next Change →

Changes between Version 2 and Version 3 of media-libs/gstreamer/0.10.22/1


Ignore:
Timestamp:
03/02/09 15:11:22 (6 years ago)
Author:
adek336
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • media-libs/gstreamer/0.10.22/1

    v2 v3  
    1 From adek336 via the dev mailing list: 
    2  
    3 {{{ 
    4  First draft to port gstreamer 0.10.22 (tested on Haiku r29078 gcc4.3.3 
    5 build without python). 
    6  
    7 Dependencies include pkg-config and glib2. 
    8  
    9 I had problems with pkg-config because I probably misinstalled it, I 
    10 needed to do 
    11 PKG_CONFIG_PATH=/boot/common/lib/pkgconfig 
    12 export PKG_CONFIG_PATH 
    13 in the terminal I was working in. 
    14  
    15 Next, in configure.ac change 
    16 -AC_CHECK_FUNC(register_printf_function, 
    17 +AC_CHECK_FUNC(register_printf_functionELOMELO320, 
    18  
    19 Running libtoolize,aclocal or automake makes the sources to not 
    20 compile so for the time being, don't use these. 
    21  
    22 Run autoconf. 
    23 Copy the newer config.guess and config.sub. 
    24  
    25 configure --prefix=/boot/common LDFLAGS="-shared -L/boot/common/lib 
    26 -lnetwork" CLFLAGS=-I/boot/common/include 
    27  
    28 Now do some rather crude changes to the libtool script found in the 
    29 package root directory: 
    30 +        build_libtool_libs=yes ; 
    31 -         func_fatal_configuration "not configured to build any kind of library" 
    32  
    33 ----- 
    34  
    35 -        archive_cmds="\$cc -shared \$libojbs \$deplibs \$compiler 
    36 flags \${wl}-soname \$wl\$soname -o \$lib" 
    37 +        archive_cmds="\$cc -nostart \$libojbs \$deplibs \$compiler 
    38 flags \${wl}-soname \$wl\$soname -o \$lib" 
    39  
    40 ----- 
    41  
    42 for arg in $later; do 
    43    case $arg in 
    44        -shared) 
    45 -            test "$build_libtool_libs" != yes && \ 
    46 -                func_fatal_configuration "can not build a shared library" 
    47 +            build_libtool_libs=yes ; 
    48  
    49  
    50 ----------- 
    51  
    52 for arg 
    53 do 
    54    case $arg in 
    55        -shared) 
    56 -            test "$build_libtool_libs" != yes && \ 
    57 -                func_fatal_configuration "can not build a shared library" 
    58 +            build_libtool_libs=yes ; 
    59  
    60  
    61 make, make install. 
    62  
    63 }}} 
     1Works on Haiku-hybrid. 
    642 
    653TODO: cleanup and perhaps turn into a patch.  Also test to see if this will work on gcc2 or not. 

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/