Opened 11 years ago

Closed 11 years ago

#19926 closed update (fixed)

libgda3: update to version 4.0.2

Reported by: dbevans (David B. Evans) Owned by: jyrkiwahlstedt
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: anjuta gnome-python-extras midgard2-core Cc: landonf (Landon Fuller)
Port: libgda3

Description

With the release of GNOME 2.26, libgda has been updated to version 4 (current 4.0.2) and some GNOME ports, notably anjuta, require libgda >= 4.0 to successfully build at the 2.26 level.

Attached is a proposed Portfile for a new port libgda4, based on the current libgda3 port that makes this upgrade. Since this port conflicts with the current libgda3 port, I propose that with committal of this port, port libgda3 should be replaced with a stub port that merely depends on libgda4 until until all current dependents of libgda3 can be updated to depend on libgda4 instead.

The proposed port

  • updates libgda to version 4.0
  • installs Berkeley DB and sqlite3 support by default
  • the port perfers port db47 and will install that if db46 is not installed, but will build against db46 if it is already installed.
  • configure.in is patched to allow recognition of Macports Berkeley DB ports and autoconf is used to update configure
  • a variant is supplied to remove Berkeley DB support if desired
  • variants are supplied to build with support for MySQL 5 and/or PostgreSQL 8.3
  • more variants could be added to support a large number of other databases that are supported by this version but these are disabled initially.
  • I have added the current libgda3 maintainer (jwa) and myself as co-maintainers openmaintainer but am open any version of maintainership the current maintainer deems appropriate.

This portfile builds and installs correctly for me on Tiger ppc and allows anjuta 2.26 to build but should be verified on Leopard and Intel platforms as well.

Please post a comment one way or the other if you test the port on these other platforms.

Attachments (2)

Portfile (3.5 KB) - added by dbevans (David B. Evans) 11 years ago.
Revised Portfile
patch-configure.in.diff (1.5 KB) - added by dbevans (David B. Evans) 11 years ago.
missing patch file for databases/libgda4/files directory

Download all attachments as: .zip

Change History (6)

Changed 11 years ago by dbevans (David B. Evans)

Attachment: Portfile added

Revised Portfile

Changed 11 years ago by dbevans (David B. Evans)

Attachment: patch-configure.in.diff added

missing patch file for databases/libgda4/files directory

comment:1 Changed 11 years ago by dbevans (David B. Evans)

Type: defectupdate

comment:2 Changed 11 years ago by dbevans (David B. Evans)

See #19941 for anjuta update that depends on this ticket.

comment:3 Changed 11 years ago by dbevans (David B. Evans)

Keywords: gnome-python-extras midgard2-core added; mysql postgresql removed

Update:

After a bit of greping of the Portfiles, it appears that there are only two dependents of libgda3 to consider

gnome-python-extras
midgard2-core

and both are advertized to build with libgda4 in their latest version, so I don't think its worth the effort to make a "transitional" version of libgda3. Makes things simpler.

If there is no protest will commit libgda4 in the morning along with an updated version of gnome-python-extras based on libgda4 and anjuta both of which I am testing now. Will leave midgard2-core and final fate of libgda3 to jwa who maintains both.

Please let know if anyone disagrees.

comment:4 Changed 11 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: newclosed

There being no dissenting voices:

libgda4 4.0.2 committed in r52549.

gnome-python-extras 2.25.3 committed in r52552 with dependency on libgda4

midgard2-core still needs dependency on libgda3 replaced with dependency on libgda4 (jwa) (#20003)

Note: See TracTickets for help on using tickets.