Opened 19 years ago

Closed 19 years ago

Last modified 9 years ago

#3684 closed defect (fixed)

UPDATE: gnome-libs

Reported by: benwill@… Owned by: gnome-darwinports@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: eatmorepossom@…
Port: gnome-libs

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Fix gnome-libs on 10.4 (variable redefined as static)

--- Portfile.orig       2005-06-23 10:50:21.000000000 -0700
+++ Portfile    2005-06-23 10:17:40.000000000 -0700
@@ -15,7 +15,7 @@
 checksums      md5 6111e91b143a90afb30f7a8c1e6cbbd6
 depends_lib     lib:liboaf:oaf lib:libgtk.1:gtk1 lib:libghttp:libghttp \
                lib:imlib:imlib
-patchfiles     patch_configure patch_ltmain.sh patch-XmHTMLP.h
+patchfiles     patch_configure patch_ltmain.sh patch-XmHTMLP.h patch-XmHTMLI.h
 configure.args  --mandir=${prefix}/share/man --disable-gtk-doc --disable-test-gnome
 configure.env   CPPFLAGS="-L${prefix}/lib -I${prefix}/include" \
                CFLAGS="-fstrict-aliasing -funroll-loops"

Attachments (1)

patch-XmHTMLI.h (424 bytes) - added by benwill@… 19 years ago.
Patch to go with updated portfile

Download all attachments as: .zip

Change History (9)

Changed 19 years ago by benwill@…

Attachment: patch-XmHTMLI.h added

Patch to go with updated portfile

comment:1 Changed 19 years ago by olegb@…

Cc: eatmorepossom@… added

comment:2 Changed 19 years ago by olegb@…

* Bug 3686 has been marked as a duplicate of this bug. *

comment:3 Changed 19 years ago by olegb@…

Resolution: fixed
Status: newclosed

commited thanks.

comment:4 Changed 19 years ago by benwill@…

I'm not sure #3686 is a dupe: the build error i fixed involved my_x_query_colors being defined as void in gtk-xmhtml/XmHTMLI.h, and later redefined as static.

I don't see Justin's build error (gnome-metadata.c:302: error: too few arguments to function 'database->put') on 10.4.1; with my patch gnome-libs builds just fine.

Last edited 9 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:5 Changed 19 years ago by eatmorepossom@…

I can confirm that this is the case; I'm still seeing the error below. This is after doing a selfupdate, a clean gnome-libs, followed by an install gnome-libs.

I'm happy to jump through any hoops you'd like me to for further diagnosis...

--->  Configuring gnome-libs
--->  Building gnome-libs with target all
Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_gnome_gnome-libs/work/gnome-libs-1.4.2" && make all" returned error 2
Command output: gnome-metadata.c:177: warning: assignment makes pointer from integer without a cast
gnome-metadata.c: In function 'metadata_set':
gnome-metadata.c:302: warning: passing argument 2 of 'database->put' from incompatible pointer type
gnome-metadata.c:302: error: too few arguments to function 'database->put'
gnome-metadata.c:329: warning: passing argument 2 of 'database->get' from incompatible pointer type
gnome-metadata.c:329: error: too few arguments to function 'database->get'
gnome-metadata.c:350: warning: passing argument 2 of 'database->put' from incompatible pointer type
gnome-metadata.c:350: error: too few arguments to function 'database->put'
gnome-metadata.c:357: warning: passing argument 2 of 'database->put' from incompatible pointer type
gnome-metadata.c:357: error: too few arguments to function 'database->put'
gnome-metadata.c: In function 'metadata_remove':
gnome-metadata.c:389: warning: passing argument 2 of 'database->del' from incompatible pointer type
gnome-metadata.c:389: error: too few arguments to function 'database->del'
gnome-metadata.c:416: warning: passing argument 2 of 'database->get' from incompatible pointer type
gnome-metadata.c:416: error: too few arguments to function 'database->get'
gnome-metadata.c:433: warning: passing argument 2 of 'database->del' from incompatible pointer type
gnome-metadata.c:433: error: too few arguments to function 'database->del'
gnome-metadata.c:450: warning: passing argument 2 of 'database->put' from incompatible pointer type
gnome-metadata.c:450: error: too few arguments to function 'database->put'
gnome-metadata.c: In function 'metadata_get_list':
gnome-metadata.c:482: warning: passing argument 2 of 'database->get' from incompatible pointer type
gnome-metadata.c:482: error: too few arguments to function 'database->get'
gnome-metadata.c: In function 'metadata_get_no_dup':
gnome-metadata.c:515: warning: passing argument 2 of 'database->get' from incompatible pointer type
gnome-metadata.c:515: error: too few arguments to function 'database->get'
gnome-metadata.c: In function 'maybe_scan_app_dir':
gnome-metadata.c:784: warning: passing argument 3 of 'scandir' from incompatible pointer type
make[2]: *** [gnome-metadata.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2

[13:16:52] bash [.../justin]>
Last edited 9 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:6 Changed 19 years ago by benwill@…

Justin -- I'm no expert but here are my thoughts. Orbit installed fine on my (10.4.1/Xcode2.1) system without the change made by olegb today. And gnome-libs works now for me too. So there must be some difference between your system and mine. I can think of two possibilities (there may well be others):

  1. You have set up some non-standard variables (path/C_FLAGS...) set up in your .bashrc/.bash_profile/.profile. That might explain the orbit errors (I believe those symbols are defined in /usr/include/tcpd.h). If you do, try unsetting them.
  1. Or, you're missing some dependency that should be (but isn't) specified by the gnome-libs port. For what it's worth, my first foray into gnome was gnome-games (which has many gnome-related dependencies). It might be worth trying installing that before gnome-libs.
Last edited 9 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:7 Changed 19 years ago by olegb@…

gnome-games = gnome2 gnome-libs = gnome1

gnome1 and gnome2 uses two totally different sets of libs.

comment:8 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: gnome-libs added
Note: See TracTickets for help on using tickets.