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 1 and Version 2 of media-libs/gstreamer/0.10.22/1


Ignore:
Timestamp:
02/23/09 20:57:10 (6 years ago)
Author:
scottmc
Comment:

added adek336's build instructions as posted to the mailing list

Legend:

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

    v1 v2  
    1   
     1From adek336 via the dev mailing list: 
     2 
     3{{{ 
     4 First draft to port gstreamer 0.10.22 (tested on Haiku r29078 gcc4.3.3 
     5build without python). 
     6 
     7Dependencies include pkg-config and glib2. 
     8 
     9I had problems with pkg-config because I probably misinstalled it, I 
     10needed to do 
     11PKG_CONFIG_PATH=/boot/common/lib/pkgconfig 
     12export PKG_CONFIG_PATH 
     13in the terminal I was working in. 
     14 
     15Next, in configure.ac change 
     16-AC_CHECK_FUNC(register_printf_function, 
     17+AC_CHECK_FUNC(register_printf_functionELOMELO320, 
     18 
     19Running libtoolize,aclocal or automake makes the sources to not 
     20compile so for the time being, don't use these. 
     21 
     22Run autoconf. 
     23Copy the newer config.guess and config.sub. 
     24 
     25configure --prefix=/boot/common LDFLAGS="-shared -L/boot/common/lib 
     26-lnetwork" CLFLAGS=-I/boot/common/include 
     27 
     28Now do some rather crude changes to the libtool script found in the 
     29package 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 
     36flags \${wl}-soname \$wl\$soname -o \$lib" 
     37+        archive_cmds="\$cc -nostart \$libojbs \$deplibs \$compiler 
     38flags \${wl}-soname \$wl\$soname -o \$lib" 
     39 
     40----- 
     41 
     42for 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 
     52for arg 
     53do 
     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 
     61make, make install. 
     62 
     63}}} 
     64 
     65TODO: 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/