Marcel Telka
2023-12-01 7d298e25db28ef681b9b01b25ff8db69a15635ae
imf-selector: switch to Python 3.9

6 files modified
1 files renamed
42 ■■■■ changed files
components/inputmethod/imf-selector/Makefile 14 ●●●●● patch | view | raw | blame | history
components/inputmethod/imf-selector/imf-selector.p5m 5 ●●●● patch | view | raw | blame | history
components/inputmethod/imf-selector/manifests/sample-manifest.p5m 3 ●●●● patch | view | raw | blame | history
components/inputmethod/imf-selector/pkg5 7 ●●●●● patch | view | raw | blame | history
components/inputmethod/imf-selector/src/configure.ac 3 ●●●● patch | view | raw | blame | history
components/inputmethod/imf-selector/src/src/Makefile.am 8 ●●●● patch | view | raw | blame | history
components/inputmethod/imf-selector/src/src/imf-selector.py 2 ●●● patch | view | raw | blame | history
components/inputmethod/imf-selector/Makefile
@@ -13,13 +13,11 @@
# Copyright 2015 Alexander Pyhalov
#
BUILD_BITS=64
include ../../../make-rules/shared-macros.mk
COMPONENT_NAME= imf-selector
COMPONENT_VERSION= 0.5.11
COMPONENT_REVISION= 3
COMPONENT_REVISION= 4
COMPONENT_SUMMARY= Input Method Framework startup
COMPONENT_SRC = src
COMPONENT_PROJECT_URL = http://www.openindiana.org
@@ -29,7 +27,7 @@
COMPONENT_CLASSIFICATION = System/Internationalization
TEST_TARGET = $(NO_TESTS)
PYTHON_VERSION = 3.5
include $(WS_MAKE_RULES)/common.mk
clobber:: clean
@@ -44,7 +42,7 @@
CONFIGURE_SCRIPT = $(@D)/autogen.sh
CONFIGURE_OPTIONS += --sysconfdir=/etc
CONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)
CONFIGURE_ENV += PYTHON=$(PYTHON)
@@ -53,6 +51,6 @@
    $(RM) -rf $(BUILD_DIR)
# Auto-generated dependencies
REQUIRED_PACKAGES += library/python/pygobject-3-35
REQUIRED_PACKAGES += runtime/python-35
REQUIRED_PACKAGES += SUNWcs
PYTHON_REQUIRED_PACKAGES += library/python/pygobject-3
PYTHON_REQUIRED_PACKAGES += runtime/python
REQUIRED_PACKAGES += shell/ksh93
components/inputmethod/imf-selector/imf-selector.p5m
@@ -14,16 +14,13 @@
#
set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.human-version value=$(HUMAN_VERSION)
set name=pkg.summary value="$(COMPONENT_SUMMARY)"
set name=info.classification value="$(COMPONENT_CLASSIFICATION)"
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)'
<transform file path=usr/share/applications/.* ->  default restart_fmri svc:/application/desktop-cache/desktop-mime-cache:default>
<transform file path=usr/share/applications/.* ->  default restart_fmri svc:/application/desktop-cache/icon-cache:default>
<transform file path=usr/share/locale/([^/]+)(\..+){0,1}(/.+){0,1} -> default facet.locale.%<\1> true>
file path=etc/X11/xinit/xinitrc.d/0210.im mode=0555
file path=usr/bin/imf-selector
components/inputmethod/imf-selector/manifests/sample-manifest.p5m
@@ -10,10 +10,11 @@
#
#
# Copyright 2016 <contributor>
# Copyright 2023 <contributor>
#
set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.human-version value=$(HUMAN_VERSION)
set name=pkg.summary value="$(COMPONENT_SUMMARY)"
set name=info.classification value="$(COMPONENT_CLASSIFICATION)"
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
components/inputmethod/imf-selector/pkg5
@@ -1,9 +1,8 @@
{
    "dependencies": [
        "SUNWcs",
        "library/python/pygobject-3-35",
        "runtime/python-35",
        "system/library"
        "library/python/pygobject-3-39",
        "runtime/python-39",
        "shell/ksh93"
    ],
    "fmris": [
        "system/input-method/imf-startup"
components/inputmethod/imf-selector/src/configure.ac
@@ -1,4 +1,4 @@
AC_INIT(src/imf-selector)
AC_INIT(src/imf-selector.py)
AC_PROG_INTLTOOL([0.23])
AM_PATH_PYTHON
@@ -12,6 +12,7 @@
AC_DEFINE(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE")
AC_PROG_INSTALL
AC_PROG_SED
ALL_LINGUAS="de es fr it ja ko pt_BR zh_CN zh_TW"
AM_GLIB_GNU_GETTEXT
components/inputmethod/imf-selector/src/src/Makefile.am
@@ -2,6 +2,12 @@
bin_SCRIPTS = imf-selector
EXTRA_DIST = imf-selector
imf-selector: imf-selector.py Makefile
    $(SED) -e 's|%%PYTHON%%|$(PYTHON)|g' $< >$@
    chmod +x $@
CLEANFILES = $(bin_SCRIPTS)
DISTCLEANFILES = $(CLEANFILES)
EXTRA_DIST = imf-selector.py
components/inputmethod/imf-selector/src/src/imf-selector.py
File was renamed from components/inputmethod/imf-selector/src/src/imf-selector
@@ -1,4 +1,4 @@
#!/usr/bin/python3.5
#!%%PYTHON%%
#
# CDDL HEADER START
#