Opened 15 months ago

Closed 9 months ago

#68030 closed update (fixed)

gettext 0.22 WIP

Reported by: artkiver (グレェ) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc: mascguy (Christopher Nielsen), tifrueh (Timo Früh)
Port: gettext

Description

I noticed that gettext released version 0.22 on June 17, 2023.

My preliminary attempts to update the Portfile with a bumped version and associated hashes did not go so smoothly. I am guessing @ryandesign is well aware of this and I have no idea if anything is actually impacted by the new release anyway; but it seemed worth documenting?

I was able to build it successfully from source at least!

However, whatever blessed Portfile mojo is needed is currently beyond my attention span.

I thought it might be worth documenting here anyway? I will be attaching my broken diff for reference of what not to do I guess.

Attachments (1)

Portfile.diff.gettext0.22.wip (751 bytes) - added by artkiver (グレェ) 15 months ago.
WIP diff for the gettext Portfile with minimal changes version bumping to 0.22 and updating hashes; alas this will generate errors when attempting to install.

Download all attachments as: .zip

Change History (7)

Changed 15 months ago by artkiver (グレェ)

WIP diff for the gettext Portfile with minimal changes version bumping to 0.22 and updating hashes; alas this will generate errors when attempting to install.

comment:1 Changed 15 months ago by mascguy (Christopher Nielsen)

Cc: mascguy added

comment:2 Changed 15 months ago by mascguy (Christopher Nielsen)

I'm seeing the following, for subport gettext-tools-libs:

libtool: error: cannot find the library '../../gettext-runtime/intl/libintl.la' or unhandled argument '../../gettext-runtime/intl/libintl.la'

Assuming that's the same issue you're seeing, it's probably something minor. (Perhaps one or more configure args needs to be added and/or changed. Or possibly an upstream issue, which needs a patch.)

But Ryan knows this port better than anyone, so let's give him a chance to look at it when he has time.

comment:3 Changed 15 months ago by ryandesign (Ryan Carsten Schmidt)

I haven't looked into it further than to notice that https://savannah.gnu.org/bugs/?58669 was fixed in 0.22 which probably requires adjustment to the Portfile and may be the cause of the error you noticed.

comment:4 Changed 12 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: tifrueh added
Port: gettext added
Priority: LowNormal

Has duplicate #68593.

comment:5 Changed 11 months ago by ryandesign (Ryan Carsten Schmidt)

Keywords: haspatch added

PR 21372 was submitted, then closed, then PR 21649 was submitted.

comment:6 Changed 9 months ago by tifrueh (Timo Früh)

Resolution: fixed
Status: assignedclosed

In 46e03c4a3a0ca17734ea0d8a77a414c9e0c43eed/macports-ports (master):

gettext: Update to version 0.22.4

  • Update version number
  • Update checksums
  • Update to new build process
    • Build the whole of gettext in gettext and gettext-tools-libs, but only install the correct files for either port
    • This is due to 'gettext-tools' not being buildable without building 'gettext-runtime' first
    • Add ncurses as build dependency for gettext and gettext-tools-libs because libtextstyle is built again when building gettext and gettext-tools-libs
  • Remove deactivate hack

Closes: #68030

Note: See TracTickets for help on using tickets.