Opened 7 years ago

Closed 6 years ago

#41660 closed update (fixed)

geda-gaf @1.6.2_0 (epoch 1): Update port to stable-1.8.2

Reported by: thomasrussellmurphy (Thomas Russell Murphy) Owned by: markemer (Mark Anderson)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: larryv (Lawrence Velázquez), gareth@…, mojca (Mojca Miklavec), anddam (Andrea D'Amore)
Port: geda-gaf

Description (last modified by ryandesign (Ryan Schmidt))

http://git.geda-project.org/geda-gaf/log/?h=stable-1.8

What is the status of transitioning geda-gaf from 1.6.2 to 1.8.2? (Problem from last update to the port #41100)

Attachments (1)

patch-port_geda-gaf.diff (2.1 KB) - added by anddam (Andrea D'Amore) 6 years ago.

Download all attachments as: .zip

Change History (17)

comment:1 Changed 7 years ago by ryandesign (Ryan Schmidt)

Description: modified (diff)

comment:2 Changed 7 years ago by larryv (Lawrence Velázquez)

Cc: emer@… removed
Owner: changed from macports-tickets@… to emer@…
Summary: geda-gaf Update port to stable-1.8.2geda-gaf @1.6.2_0 (epoch 1): Update port to stable-1.8.2
Version: 2.2.1

comment:3 Changed 7 years ago by thomasrussellmurphy (Thomas Russell Murphy)

Is there a status update, yet?

comment:4 Changed 7 years ago by gareth@…

When I build this project from source under MacPorts, in order to avoid the error described in #41100, I need to have the following environment variable set before running gschem:

export LTDL_LIBRARY_PATH=/opt/local/lib

Somehow this allows the application to find the guile library it is missing. Hope this helps in the investigation.

http://wiki.geda-project.org/geda:gaf_building_git_version#macports

comment:5 Changed 7 years ago by gareth@…

Cc: gareth@… added

Cc Me!

comment:6 Changed 7 years ago by markemer (Mark Anderson)

Cool - I'll take a look. I've been a bit busy of late, but I like the LTDL_LIBRARY_PORTS avenue.

comment:7 Changed 7 years ago by thomasrussellmurphy (Thomas Russell Murphy)

Any further progress?

comment:8 Changed 7 years ago by mojca (Mojca Miklavec)

This is not strictly related to the upgrade, but it's the only open ticket about geda-gaf.

Version 1.6.2 from the buildbot somehow links against an outdated libpng. I'll revbump the port for now, but here's the potential list of other dependencies (some of them might not be relevant as I didn't rebuild ports with delete_la_files):

atk
cairo
fontconfig
freetype
gdk-pixbuf2
geda-gaf
gettext
glib2
gmp
gtk2
guile
libiconv
libtool
pango
xorg-libX11
xorg-libXau
xorg-libXcomposite
xorg-libXcursor
xorg-libXdamage
xorg-libXdmcp
xorg-libXext
xorg-libXfixes
xorg-libXi
xorg-libXinerama
xorg-libXrandr
xorg-libxcb
xrender

When working on 1.8, you might want to revisit the dependencies (please don't blindly use my list).

comment:9 Changed 7 years ago by mojca (Mojca Miklavec)

Cc: mojca@… added

Cc Me!

comment:10 Changed 7 years ago by anddam (Andrea D'Amore)

Cc: and.damore@… added

Cc Me!

comment:11 Changed 6 years ago by markemer (Mark Anderson)

Geting this to build at all either 1.8.2 or 1.9.1 or even the head of git has proven to be a challenge. Rest assured I'm still working on it. But if anyone has any ideas let me know.

comment:12 in reply to:  11 Changed 6 years ago by anddam (Andrea D'Amore)

Replying to emer@…:

Geting this to build at all either 1.8.2 or 1.9.1 or even the head of git has proven to be a challenge. Rest assured I'm still working on it. But if anyone has any ideas let me know.

You should provide some info about what the challenges are in order to receive help on that matter.

edit: I bumped version to 1.8.2, updated the dependency from guile 1.8 to 2.0 and dropped the relevant post-patch phase along with the patchfile and I'm able to build and install geda-gaf port. I only tried gschem and gnetlist so you may want to perform a more thorough test.

I'm attaching the patch for the port revision currently in tree.

On a separate topic the configure script printed the following

	Some deprecated features have been used. Set the
	environment variable GUILE_WARN_DEPRECATED to
	"detailed" and rerun the program to get more
	information. Set it to "no" to suppress this
	message.

but when I accordingly set the variable in the configure environment the script just didn't skipped printing the previous message without providing any further info. See if you can manage to figure what it meant, just add a

    configure.env-append     GUILE_WARN_DEPRECATED="detailed"

to the Portfile.

Last edited 6 years ago by anddam (Andrea D'Amore) (previous) (diff)

Changed 6 years ago by anddam (Andrea D'Amore)

Attachment: patch-port_geda-gaf.diff added

comment:13 Changed 6 years ago by markemer (Mark Anderson)

Thanks. Taking a look now. I was having trouble at runtime with nothing showing up. But maybe the switch to guile 2 will help.

comment:14 Changed 6 years ago by markemer (Mark Anderson)

Another concern I had was the "stable" is 2 years old, despite lots of dev on the git repo. But that's another ticket for another time.

comment:15 Changed 6 years ago by markemer (Mark Anderson)

Ok, turns out I had a borked GMP install this whole time. Although it didn't show itself until I succesfully built geda-gaf. This patch looks good, I say we pull the trigger.

comment:16 Changed 6 years ago by anddam (Andrea D'Amore)

Resolution: fixed
Status: newclosed

Committed r132486.

Ticket closed.

Note: See TracTickets for help on using tickets.