Skip to content

i18n, vendor, packaging: drop github.com/ojii/gettext.go, use github.com/snapcore/go-gettext#7203

Merged
mvo5 merged 4 commits intocanonical:masterfrom
bboozzoo:bboozzoo/use-snapcore-go-gettext
Aug 27, 2019
Merged

i18n, vendor, packaging: drop github.com/ojii/gettext.go, use github.com/snapcore/go-gettext#7203
mvo5 merged 4 commits intocanonical:masterfrom
bboozzoo:bboozzoo/use-snapcore-go-gettext

Conversation

@bboozzoo
Copy link
Copy Markdown
Contributor

@bboozzoo bboozzoo commented Aug 1, 2019

The github.com/ojii/gettext.go library causes various issues with Go tools. Because of the name ending with *.go, Go tools are confused and the package is not go gettable. At the same time, the package has been dropped from Fedora, as the packaging infrastructure helpers break because of the import name.

I am trying to get github.com/snapcore/go-gettext packaged for Fedora. The i18n support is disabled for Debian Sid. So we might as well just switch to using the snapcore fork.

…napcore/go-gettext

The original library has packaging problems (due to *.go suffix in directory)
and is behind with fixes which are present in the snapcore fork.

Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
…pcore/go-gettext

Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
…id-dependencies.patch

Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
@bboozzoo
Copy link
Copy Markdown
Contributor Author

bboozzoo commented Aug 1, 2019

Marked as blocked since golang-github-snapcore-gettext is not available in Fedora yet.

@Conan-Kudo
Copy link
Copy Markdown
Contributor

@bboozzoo I've sponsored you in as a packager in Fedora, so you should be able to proceed further.

@Conan-Kudo
Copy link
Copy Markdown
Contributor

@mvo5 This needs to be cherry-picked into 2.40, as it blocks my ability to update snapd in Fedora entirely.

Copy link
Copy Markdown
Contributor

@mvo5 mvo5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - @bboozzoo could you please create a cherry pick PR with this for 2.40?

@bboozzoo bboozzoo added this to the 2.41 milestone Aug 25, 2019
@bboozzoo
Copy link
Copy Markdown
Contributor Author

The golang-github-snapcore-gettext package was submitted for F30 and F29. Unblocking the PR as it should be possible to build it in a day or two.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants