Changes between Initial Version and Version 5 of Ticket #2784


Ignore:
Timestamp:
Mar 24, 2016, 2:01:54 PM (8 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2784

    • Property Status changed from new to closed
    • Property Summary changed from control-center-2.8.1 - error: too many arguments to function `XklConfigActivate' to BUG: control-center-2.8.1 - error: too many arguments to function `XklConfigActivate'
    • Property Owner changed from darwinports-bugs@… to gnome-darwinports@…
    • Property Resolution changed from to fixed
    • Property Port control-center added
  • Ticket #2784 – Description

    initial v5  
    11I get this error when trying to port control-center:
    22
     3{{{
    34--->  Building control-center with target all
    4 Error: Target com.apple.build returned: shell command "cd
    5 "/Users/alex/darwinports/dports/gnome/control-center/work/control-center-2.8.1"
    6 && make all" returned error 2
     5Error: Target com.apple.build returned: shell command "cd "/Users/alex/darwinports/dports/gnome/control-center/work/control-center-2.8.1" && make all" returned error 2
    76Command output: make  all-recursive
    87Making all in po
     
    1514make[2]: Nothing to be done for `all'.
    1615Making all in libgswitchit
    17 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..            -DORBIT2=1 -DXTHREADS
    18 -I/opt/local/include/libgnomeui-2.0 -I/opt/local/include/libgnome-2.0
    19 -I/opt/local/include/libgnomecanvas-2.0 -I/opt/local/include/gtk-2.0
    20 -I/opt/local/include/libart-2.0 -I/opt/local/include/gconf/2
    21 -I/opt/local/include/libbonoboui-2.0 -I/opt/local/include/glib-2.0
    22 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/orbit-2.0
    23 -I/opt/local/include/libbonobo-2.0 -I/opt/local/include/gnome-vfs-2.0
    24 -I/opt/local/lib/gnome-vfs-2.0/include
    25 -I/opt/local/include/bonobo-activation-2.0 -I/opt/local/include/pango-1.0
    26 -I/opt/local/include -I/opt/local/include/freetype2
    27 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0
    28 -I/usr/X11R6/include -I/opt/local/include/libxml2              -DXTHREADS
    29 -DORBIT2=1 -I/opt/local/include/gnome-desktop-2.0 -I/opt/local/include/gtk-2.0
    30 -I/opt/local/include/libgnomeui-2.0
    31 -I/opt/local/include/startup-notification-1.0 -I/opt/local/lib/gtk-2.0/include
    32 -I/opt/local/include/atk-1.0 -I/opt/local/include/pango-1.0 -I/opt/local/include
    33 -I/opt/local/include/freetype2 -I/usr/X11R6/include
    34 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
    35 -I/opt/local/include/libgnome-2.0 -I/opt/local/include/libgnomecanvas-2.0
    36 -I/opt/local/include/libart-2.0 -I/opt/local/include/gconf/2
    37 -I/opt/local/include/libbonoboui-2.0 -I/opt/local/include/orbit-2.0
    38 -I/opt/local/include/libbonobo-2.0 -I/opt/local/include/gnome-vfs-2.0
    39 -I/opt/local/lib/gnome-vfs-2.0/include
    40 -I/opt/local/include/bonobo-activation-2.0 -I/opt/local/include/libxml2       
    41      -I/opt/local/include -I/opt/local/include/libxml2                         
    42 -I../intl -I../intl            -DSYS_PLUGIN_DIR=\"/opt/local/lib/gswitchit/\" 
    43          -DG_LOG_DOMAIN=\"GSwitchIt\"           
    44 -DGNOMELOCALEDIR=\""/opt/local/share/locale"\"  -L/opt/local/lib
    45 -I/opt/local/include  -no-cpp-precomp -flat_namespace -undefined suppress -Wall
    46 -c gswitchit_config.c
     16gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..            -DORBIT2=1 -DXTHREADS -I/opt/local/include/libgnomeui-2.0 -I/opt/local/include/libgnome-2.0 -I/opt/local/include/libgnomecanvas-2.0 -I/opt/local/include/gtk-2.0 -I/opt/local/include/libart-2.0 -I/opt/local/include/gconf/2 -I/opt/local/include/libbonoboui-2.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/orbit-2.0 -I/opt/local/include/libbonobo-2.0 -I/opt/local/include/gnome-vfs-2.0 -I/opt/local/lib/gnome-vfs-2.0/include -I/opt/local/include/bonobo-activation-2.0 -I/opt/local/include/pango-1.0 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/usr/X11R6/include -I/opt/local/include/libxml2              -DXTHREADS -DORBIT2=1 -I/opt/local/include/gnome-desktop-2.0 -I/opt/local/include/gtk-2.0 -I/opt/local/include/libgnomeui-2.0 -I/opt/local/include/startup-notification-1.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/pango-1.0 -I/opt/local/include -I/opt/local/include/freetype2 -I/usr/X11R6/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/libgnome-2.0 -I/opt/local/include/libgnomecanvas-2.0 -I/opt/local/include/libart-2.0 -I/opt/local/include/gconf/2 -I/opt/local/include/libbonoboui-2.0 -I/opt/local/include/orbit-2.0 -I/opt/local/include/libbonobo-2.0 -I/opt/local/include/gnome-vfs-2.0 -I/opt/local/lib/gnome-vfs-2.0/include -I/opt/local/include/bonobo-activation-2.0 -I/opt/local/include/libxml2             -I/opt/local/include -I/opt/local/include/libxml2                         -I../intl -I../intl            -DSYS_PLUGIN_DIR=\"/opt/local/lib/gswitchit/\"           -DG_LOG_DOMAIN=\"GSwitchIt\"           -DGNOMELOCALEDIR=\""/opt/local/share/locale"\"  -L/opt/local/lib -I/opt/local/include  -no-cpp-precomp -flat_namespace -undefined suppress -Wall -c gswitchit_config.c
    4717gswitchit_config.c: In function `_GSwitchItXkbConfigDoWithSettings':
    4818gswitchit_config.c:396: error: too many arguments to function `XklConfigActivate'
    49 gswitchit_config.c:404: warning: implicit declaration of function
    50 `XklConfigWriteXKMFile'
     19gswitchit_config.c:404: warning: implicit declaration of function `XklConfigWriteXKMFile'
    5120gswitchit_config.c: In function `GSwitchItAppletConfigLoadGroupDescriptionsUtf8':
    52 gswitchit_config.c:1192: warning: implicit declaration of function
    53 `XklMultipleLayoutsSupported'
     21gswitchit_config.c:1192: warning: implicit declaration of function `XklMultipleLayoutsSupported'
    5422make[2]: *** [gswitchit_config.o] Error 1
    5523make[1]: *** [all-recursive] Error 1
    5624make: *** [all-recursive-am] Error 2
     25}}}
    5726
    5827I was able to get it to work by making this change:
    5928
     29{{{
    6030--- libgswitchit/gswitchit_config.c     Thu Mar 17 14:02:00 2005
    6131+++ libgswitchit/gswitchit_config.c.new Thu Mar 17 14:01:55 2005
     
    6939                char *home = getenv ("HOME");
    7040                char xkmFileName[PATH_MAX];
     41}}}
    7142
    7243The above fix was based on the information from this page: