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 6 and Version 7 of dev-libs/glib/2.18.3/2


Ignore:
Timestamp:
09/15/09 04:43:17 (6 years ago)
Author:
adek336
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • dev-libs/glib/2.18.3/2

    v6 v7  
     1{{{ 
     2wget http://ports.haiku-files.org/export/244/haikuports/trunk/dev-libs/glib/glib-2.18.3-haiku.diff 
     3patch -p1 -i glib-2.18.3-haiku.diff 
     4 
     5cp /boot/common/share/libtool/config/config.* . 
     6echo "AC_CONFIG_MACRO_DIR([m4])" >> configure.in 
     7echo "ACLOCAL_AMFLAGS = -I m4" >> Makefile.am 
     8 
     9libtoolize --force --copy 
     10aclocal 
     11automake 
     12autoconf 
     13 
     14# Remove the following line from configure: GTK_DOC_CHECK(1.8) 
     15 
     16# no need to use --disable-threads 
     17configure --prefix=/boot/common LDFLAGS="-L/boot/common/lib -liconv" CPPFLAGS=-I/boot/common/include 
     18 
     19# docs/reference/glib/Makefile: 
     20# docs/reference/gobject/Makefile: 
     21# docs/reference/gio/Makefile: 
     22#      delete the lines with @ENABLE_GTK_DOC*. 
     23 
     24# glib/gconvert.c: disable error at line 52: "GNU libiconv in use but iconv.h not from libiconv"; 
     25#       replace iconv with libiconv, iconv_open with libiconv_open and iconv_close with libiconv_close 
     26 
     27 
     28# gio/gunixmounts.c: add 
     29#  static char* get_mtab_monitor_file() { 
     30#      fprintf(stderr, "%s %d %s error\n", __FILE__, __LINE__, __PRETTY_FUNCTION__); 
     31#      abort(); 
     32#      // perhaps return NULL instead of abort 
     33#  } 
     34 
     35# edit config.h files so that they do not define HAVE_ICONV 
     36 
     37make 
     38 
     39 
     40make install 
     41 
     42 
     43}}} 
     44 
     45 
     46 
     47 
    148Patches referenced by build instructions:[[br]] 
    249[http://ports.haiku-files.org/export/244/haikuports/trunk/dev-libs/glib/glib-2.18.3-haiku.diff glib-2.18.3-haiku.diff] 
    350 
    451make check fails after mkdir-with-parents test 
    5  
    6 All the shared libraries reference symbol main. To prevent this, after doing configure and before doing make, the libtool script has to be amended, -nostartfiles must be added to both archive_cmds definitions. 

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

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