Skip to content

Commit

Permalink
Merge pull request #12817 from keymanapp/fix/linux/cherry-pick/12051_…
Browse files Browse the repository at this point in the history
…LintianErrors

fix(linux): work around Lintian errors 🍒 🏠
  • Loading branch information
ermshiperete authored Dec 11, 2024
2 parents 1df5e54 + d67589d commit 4ce7ee8
Show file tree
Hide file tree
Showing 24 changed files with 51 additions and 30 deletions.
4 changes: 2 additions & 2 deletions linux/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2022-2023 SIL International. All rights reserved.
# Copyright (c) 2022-2023 SIL Global. All rights reserved.
#
# builder image for a linux build
# see ../docs/build/linux-ubuntu.md
Expand All @@ -7,7 +7,7 @@ ARG OS_VERSION=latest
ARG OS_PLATFORM=amd64

FROM --platform=${OS_PLATFORM} ubuntu:${OS_VERSION}
LABEL org.opencontainers.image.authors="SIL International."
LABEL org.opencontainers.image.authors="SIL Global."
LABEL org.opencontainers.image.url="https://github.com/keymanapp/keyman.git"
LABEL org.opencontainers.image.title="Keyman Linux Build Image"

Expand Down
8 changes: 8 additions & 0 deletions linux/debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
keyman (17.0.331-1) UNRELEASED; urgency=medium

* set environment variable for rendering of downloads dialog (#12617)
* add `keymanFacename` to .ldml file (#12283)
* ignore exceptions trying to install cache (#11885)

-- Eberhard Beilharz <[email protected]> Tue, 10 Dec 2024 16:48:59 +0100

keyman (17.0.326-1) unstable; urgency=medium

* New upstream release
Expand Down
7 changes: 6 additions & 1 deletion linux/debian/com.keyman.config.appdata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,15 @@
<metadata_license>MIT</metadata_license>
<project_license>MIT</project_license>
<project_group>Keyman</project_group>
<developer_name>SIL International</developer_name>
<developer id="org.sil.keyman">
<name>SIL Global</name>
</developer>
<icon type="remote" width="96" height="96">https://keyman.com/cdn/dev/img/keyman-logo.png</icon>
<name>Keyman for Linux</name>
<summary>Keyman makes it possible for you to type in over 2,000 languages</summary>
<content_rating type="oars-1.1">
<content_attribute id="social-info">mild</content_attribute>
</content_rating>

<description>
<p>
Expand Down
6 changes: 4 additions & 2 deletions linux/debian/com.keyman.ibus_keyman.metainfo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@
<component type="inputmethod">
<id>com.keyman.ibus_keyman</id>
<metadata_license>MIT</metadata_license>
<project_license>GPL-2+</project_license>
<project_license>GPL-2.0+</project_license>
<project_group>Keyman</project_group>
<developer_name>SIL International</developer_name>
<developer id="org.sil.keyman">
<name>SIL Global</name>
</developer>
<icon type="remote" width="96" height="96">https://keyman.com/cdn/dev/img/keyman-logo.png</icon>

<name>ibus-keyman</name>
Expand Down
12 changes: 6 additions & 6 deletions linux/debian/copyright
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,24 @@ Upstream-Contact: Keyman team <[email protected]>
Source: https://github.com/keymanapp/keyman

Files: *
Copyright: 2018-2024 SIL International
Copyright: 2018-2024 SIL Global
License: MIT

Files: linux/ibus-keyman/*
Copyright: 2004-2024 SIL International
Copyright: 2004-2024 SIL Global
License: GPL-2+

Files: linux/ibus-keyman/src/keymanutil.c
linux/ibus-keyman/src/keymanutil.h
linux/ibus-keyman/src/kmpdetails.c
linux/ibus-keyman/src/kmpdetails.h
Copyright: 2009-2024 SIL International
Copyright: 2009-2024 SIL Global
License: GPL-2+ or MIT

Files: linux/ibus-keyman/src/keyman-service.c
linux/ibus-keyman/src/keyman-service.h
linux/keyman-config/buildtools/help2md
Copyright: 2018-2024 SIL International
Copyright: 2018-2024 SIL Global
License: GPL-3+

Files: linux/ibus-keyman/tests/ibusimcontext.c
Expand All @@ -31,7 +31,7 @@ Copyright: 2008-2010, Peng Huang <[email protected]>
2008-2013, Peng Huang <[email protected]>
2008-2021, Red Hat, Inc.
2015-2021, Takao Fujiwara <[email protected]>
2021-2024, SIL International
2021-2024, SIL Global
License: LGPL-2.1+

Files: linux/keyman-config/buildtools/help2man
Expand All @@ -41,7 +41,7 @@ License: GPL-3+
Files: debian/com.keyman.config.appdata.xml
debian/com.keyman.ibus_keyman.metainfo.xml
Copyright: 2019 Daniel Glassey <[email protected]>
2022-2024 SIL International
2022-2024 SIL Global
License: MIT

License: MIT
Expand Down
3 changes: 2 additions & 1 deletion linux/debian/libkeymancore1.symbols
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
libkeymancore.so.1 libkeymancore1 #MINVER#
* Build-Depends-Package: libkeymancore-dev

(c++|optional)"typeinfo name for std::codecvt_utf8_utf16<char16_t, 1114111ul, (std::codecvt_mode)0>@Base" 17.0.244
# We only use a C API, so ignore all C++ symbols in the std namespace that bleed through
(c++|regex|optional)"std::" 17.0.332
km_core_context_clear@Base 17.0.195
km_core_context_get@Base 17.0.195
km_core_context_item_list_size@Base 17.0.195
Expand Down
2 changes: 1 addition & 1 deletion linux/ibus-keyman/src/engine.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*
* Keyman Input Method for IBUS (The Input Bus)
*
* Copyright (C) 2009-2023 SIL International
* Copyright (C) 2009-2023 SIL Global
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
Expand Down
2 changes: 1 addition & 1 deletion linux/ibus-keyman/src/engine.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*
* Keyman Input Method for IBUS (The Input Bus)
*
* Copyright (C) 2018 SIL International
* Copyright (C) 2018 SIL Global
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
Expand Down
2 changes: 1 addition & 1 deletion linux/ibus-keyman/src/keyman-service.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*
* Keyman Input Method for IBUS (The Input Bus)
*
* Copyright (C) 2018-2023 SIL International
* Copyright (C) 2018-2023 SIL Global
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
Expand Down
2 changes: 1 addition & 1 deletion linux/ibus-keyman/src/keyman-service.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*
* Keyman Input Method for IBUS (The Input Bus)
*
* Copyright (C) 2018-2023 SIL International
* Copyright (C) 2018-2023 SIL Global
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
Expand Down
2 changes: 1 addition & 1 deletion linux/ibus-keyman/src/keymanutil.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*
* Keyman Input Method for IBUS (The Input Bus)
*
* Copyright (C) 2018 SIL International
* Copyright (C) 2018 SIL Global
*
* keymanutil is dual licensed under the MIT or GPL licenses as described below.
*
Expand Down
2 changes: 1 addition & 1 deletion linux/ibus-keyman/src/keymanutil.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*
* Keyman Input Method for IBUS (The Input Bus)
*
* Copyright (C) 2018-2023 SIL International
* Copyright (C) 2018-2023 SIL Global
*
* keymanutil is dual licensed under the MIT or GPL licenses as described below.
*
Expand Down
2 changes: 1 addition & 1 deletion linux/ibus-keyman/src/kmpdetails.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*
* Keyman Input Method for IBUS (The Input Bus)
*
* Copyright (C) 2018 SIL International
* Copyright (C) 2018 SIL Global
*
* kmpdetails is dual licensed under the MIT or GPL licenses as described below.
*
Expand Down
2 changes: 1 addition & 1 deletion linux/ibus-keyman/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*
* Keyman Input Method for IBUS (The Input Bus)
*
* Copyright (C) 2018 SIL International
* Copyright (C) 2018 SIL Global
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
Expand Down
2 changes: 1 addition & 1 deletion linux/ibus-keyman/src/test/testdata/kmp.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"description": "LIBTRALO"
},
"copyright": {
"description": "\u00A9 2008-2018 SIL International"
"description": "\u00A9 2008-2018 SIL Global"
},
"author": {
"description": "[email protected]",
Expand Down
2 changes: 1 addition & 1 deletion linux/ibus-keyman/src/test/testdata/kmp1.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"description": "LIBTRALO"
},
"copyright": {
"description": "\u00A9 2008-2018 SIL International"
"description": "\u00A9 2008-2018 SIL Global"
},
"author": {
"description": "[email protected]",
Expand Down
2 changes: 1 addition & 1 deletion linux/ibus-keyman/src/test/testdata/kmp2.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"description": "LIBTRALO"
},
"copyright": {
"description": "\u00A9 2008-2018 SIL International"
"description": "\u00A9 2008-2018 SIL Global"
},
"author": {
"description": "[email protected]",
Expand Down
2 changes: 1 addition & 1 deletion linux/ibus-keyman/tests/ibusimcontext.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Copyright (C) 2008-2013 Peng Huang <[email protected]>
* Copyright (C) 2015-2022 Takao Fujiwara <[email protected]>
* Copyright (C) 2008-2022 Red Hat, Inc.
* Copyright (C) 2021-2022 SIL International
* Copyright (C) 2021-2022 SIL Global
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Expand Down
2 changes: 1 addition & 1 deletion linux/ibus-keyman/tests/ibusimcontext.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/* ibus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <[email protected]>
* Copyright (C) 2008-2010 Red Hat, Inc.
* Copyright (C) 2021-2022 SIL International
* Copyright (C) 2021-2022 SIL Global
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Expand Down
2 changes: 1 addition & 1 deletion linux/keyman-config/COPYING
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2018 SIL International
Copyright (c) 2018 SIL Global

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion linux/keyman-config/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ MOFILES := $(POFILES:.po=/LC_MESSAGES/keyman-config.mo)

update-template: version
xgettext --package-name "keyman" --package-version "$(VERSION)" \
--msgid-bugs-address "<[email protected]>" --copyright-holder "SIL International" \
--msgid-bugs-address "<[email protected]>" --copyright-holder "SIL Global" \
--language=Python --directory=. --output-dir=locale --output=keyman-config.pot \
--add-comments=i18n: --sort-by-file --width=98 \
keyman_config/*.py km-*
Expand Down
4 changes: 2 additions & 2 deletions linux/keyman-config/buildtools/help2md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2009,
# 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2020, 2021 Free Software
# Foundation, Inc.
# Copyright (C) 2021 SIL International
# Copyright (C) 2021 SIL Global

# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -76,7 +76,7 @@ my $version_info = enc_user sprintf _(<<'EOT'), $this_program, $this_version;
Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2009,
2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2020, 2021 Free Software
Foundation, Inc.
Copyright (C) 2021 SIL International
Copyright (C) 2021 SIL Global
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Expand Down
5 changes: 5 additions & 0 deletions linux/keyman-config/keyman_config/sentry_handling.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#!/usr/bin/python3
'''
Keyman is copyright (C) SIL Global. MIT License.
Implements the Sentry error handling
'''
import getpass
import hashlib
import importlib
Expand Down
2 changes: 1 addition & 1 deletion linux/keyman-config/locale/keyman-config.pot
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR SIL International
# Copyright (C) YEAR SIL Global
# This file is distributed under the same license as the keyman package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
Expand Down

0 comments on commit 4ce7ee8

Please sign in to comment.