Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alpine
aports
Commits
eadcb8f9
Commit
eadcb8f9
authored
2 years ago
by
alice
Browse files
Options
Downloads
Patches
Plain Diff
community/ibus-hangul: remove gettext patch
parent
43cbfb92
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
community/ibus-hangul/0002-Use-gettext-module.patch
+0
-25
0 additions, 25 deletions
community/ibus-hangul/0002-Use-gettext-module.patch
community/ibus-hangul/APKBUILD
+2
-4
2 additions, 4 deletions
community/ibus-hangul/APKBUILD
with
2 additions
and
29 deletions
community/ibus-hangul/0002-Use-gettext-module.patch
deleted
100644 → 0
+
0
−
25
View file @
43cbfb92
From a1e9c3b022ae893d679ae3102f5b5c63afa31379 Mon Sep 17 00:00:00 2001
From: Cormac Stephenson <c7s@kasku.net>
Date: Sun, 29 Aug 2021 16:08:52 +0100
Subject: [PATCH 2/2] Use gettext module
---
setup/main.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/setup/main.py b/setup/main.py
index cb82f05..7915e27 100644
--- a/setup/main.py
+++ b/setup/main.py
@@ -294,7 +294,7 @@
class Setup ():
self.__settings.set_value(key, v)
if __name__ == "__main__":
- locale.bindtextdomain(config.gettext_package, config.localedir)
+ gettext.bindtextdomain(config.gettext_package, config.localedir)
GLib.set_prgname("ibus-setup-hangul")
GLib.set_application_name(_("IBusHangul Setup"))
--
2.32.0
This diff is collapsed.
Click to expand it.
community/ibus-hangul/APKBUILD
+
2
−
4
View file @
eadcb8f9
...
...
@@ -2,7 +2,7 @@
# Maintainer: Cormac Stephenson <c7s@kasku.net>
pkgname
=
ibus-hangul
pkgver
=
1.5.4
pkgrel
=
0
pkgrel
=
1
pkgdesc
=
"Korean input method engine for IBus"
url
=
"https://github.com/libhangul/ibus-hangul"
arch
=
"all"
...
...
@@ -12,8 +12,7 @@ makedepends="automake autoconf libtool ibus-dev libhangul-dev gtk+3.0-dev"
subpackages
=
"
$pkgname
-lang"
source
=
"
$pkgname
-
$pkgver
.tar.gz::https://github.com/libhangul/ibus-hangul/archive/refs/tags/
$pkgver
.tar.gz
0001-Update-gettext-version.patch
0002-Use-gettext-module.patch
"
"
options
=
"!check"
# test requires user interaction
prepare
()
{
...
...
@@ -41,5 +40,4 @@ package() {
sha512sums
=
"
9ee5a3364fdfb1ec0177c797009f9723f1c7c9bb096c24ec2a8b12340e230207df4c7fe490534dea237850822cd307c6971dec56e9767b5a9fcef82278875b01 ibus-hangul-1.5.4.tar.gz
9b8c8e4925bf4c688e96e3c35916aa5bdb1e918747c9d759307d09e37365877b2e80f9be4c08fe52c60bb28252ed644fcae0d9b10d6381673f585b9d84356686 0001-Update-gettext-version.patch
79d5bcbc7141d38d758e631661dc07285bd16be82b0426668affd43f746756d17713897fe97c3400b762241673dda9e66aa90dfe0708085f704ae67245d5b81e 0002-Use-gettext-module.patch
"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment