diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2017-09-12 15:29:40 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2017-09-12 22:32:55 +0200 |
commit | d94e4d403a72074c80a12e088cfb2ed055669d76 (patch) | |
tree | ca9547cd2515508030ce07f6ac893e7fdd5c4b5d /kde-frameworks/ki18n | |
parent | kde-frameworks/kirigami: Drop old (diff) | |
download | gentoo-d94e4d403a72074c80a12e088cfb2ed055669d76.tar.gz gentoo-d94e4d403a72074c80a12e088cfb2ed055669d76.tar.bz2 gentoo-d94e4d403a72074c80a12e088cfb2ed055669d76.zip |
kde-frameworks: Drop KDE Frameworks 5.34.0
Except ECM which is required for hppa.
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'kde-frameworks/ki18n')
-rw-r--r-- | kde-frameworks/ki18n/Manifest | 1 | ||||
-rw-r--r-- | kde-frameworks/ki18n/files/ki18n-5.34.0-tsfiles.patch | 98 | ||||
-rw-r--r-- | kde-frameworks/ki18n/ki18n-5.34.0-r1.ebuild | 38 |
3 files changed, 0 insertions, 137 deletions
diff --git a/kde-frameworks/ki18n/Manifest b/kde-frameworks/ki18n/Manifest index 8cbcb2419b43..6a0d6045e07c 100644 --- a/kde-frameworks/ki18n/Manifest +++ b/kde-frameworks/ki18n/Manifest @@ -1,3 +1,2 @@ -DIST ki18n-5.34.0.tar.xz 606692 SHA256 c767457c419055f3a6f5bfe0e2de140461c91f6451a5d3a385e6d6007cad9b3e SHA512 1c7c33442d48d9a6e9e948b05a27b570d77f336fe3f5210dcb40246d9022183efa6942607a9793460e00feb14f6aea6ff8ebdf281e132f2b07eae158bd9ad6c3 WHIRLPOOL d9079405076922f928fbab30734ca2e654addd0260203080b2ca198fedef0584c74ba87984f0958891a2f5e0a6628c6709ac88d112857c5e5c180e0e1777a5d7 DIST ki18n-5.37.0.tar.xz 586720 SHA256 4d94f4f676161507149886c6f9c4a16a17556bcb4b9c24b4549a53b82ef13ab0 SHA512 b4e25b9e20cab9406087c859cd4a899ff29187820f507f8cc6b061af3bc51b958e915c9273241b9e0ac3e4344db73b67b3ace0d9ad127e119fe051e45700cb19 WHIRLPOOL 87c56572fa046104a01bd349a2d585668a3f50dedfebcc3afc72fa77e696992cd1c0cedcf45c09404bd82f69ddbfcc194ce4c9305eda2a2fc22fa3d4c5f3ef6f DIST ki18n-5.38.0.tar.xz 586828 SHA256 240ccf22a65cf85da900c88afceac8bedc40b71a4d19bad526c03aa285cc2a7d SHA512 ae8e237de2c3acd5697f00177aae80d03c6f65788b3ae9f0edcfd6f01984a8cdc7fb3423317ce5bbd36f85411bff2f9714c3546fd01ede43572557510d0082a6 WHIRLPOOL a2e4b6f06070d6670100501e54ad0c1019521a56599c4a67f467cfc83cab0298d350c7569477275034e41f1d0bc9000ed6881481d786cd5283b56346a5b839f9 diff --git a/kde-frameworks/ki18n/files/ki18n-5.34.0-tsfiles.patch b/kde-frameworks/ki18n/files/ki18n-5.34.0-tsfiles.patch deleted file mode 100644 index 416ebf0d5b21..000000000000 --- a/kde-frameworks/ki18n/files/ki18n-5.34.0-tsfiles.patch +++ /dev/null @@ -1,98 +0,0 @@ -From 77eab970fde3ecbc259d6deff61fce4f360b05a7 Mon Sep 17 00:00:00 2001 -From: Aleix Pol <aleixpol@kde.org> -Date: Mon, 3 Jul 2017 17:30:21 +0200 -Subject: Make sure that the tsfiles target is generated - -Summary: -I'm not sure how it's possible that pofiles is defined but tsfiles -isn't, but this does fix the issue reported by Luigi: -CMake Error at /usr/lib64/cmake/KF5I18n/KF5I18NMacros.cmake:129 -(add_dependencies): - Cannot add target-level dependencies to non-existent target "tsfiles". - -Test Plan: -Built `svn+ssh://svn@svn.kde.org/home/kde/trunk/l10n-kf5/fr` by doing -`./scripts/autogen.sh fr; mkdir build; cd build; cmake ../fr` - -Reviewers: #frameworks, ltoscano, lueck, aacid - -Reviewed By: ltoscano - -Subscribers: aacid, asturmlechner - -Tags: #frameworks - -Differential Revision: https://phabricator.kde.org/D6331 ---- - cmake/KF5I18NMacros.cmake | 50 ++++++++++++++++++++++++++++++++++++++++++++--- - 1 file changed, 47 insertions(+), 3 deletions(-) - -diff --git a/cmake/KF5I18NMacros.cmake b/cmake/KF5I18NMacros.cmake -index 022de52..6168b2a 100644 ---- a/cmake/KF5I18NMacros.cmake -+++ b/cmake/KF5I18NMacros.cmake -@@ -123,6 +123,8 @@ function(KI18N_INSTALL podir) - - if (NOT TARGET pofiles) - add_custom_target(pofiles) -+ endif() -+ if (NOT TARGET tsfiles) - add_custom_target(tsfiles) - endif() - add_dependencies(pofiles pofiles-${pathmd5}) -@@ -132,7 +134,49 @@ function(KI18N_INSTALL podir) - install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${dirname} DESTINATION ${destname}) - endfunction() - --function(ki18n_install_ts_files _lang) -- message(AUTHOR_WARNING "KI18N_INSTALL_TS_FILES is deprecated!") -- ki18n_install(${_lang}) -+#install the scripts for a given language in the target folder -+#usage: KI18N_INSTALL_TS_FILES("ja" ${scripts_dir}) -+function(KI18N_INSTALL_TS_FILES lang scripts_dir) -+ file(GLOB_RECURSE ts_files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} ${scripts_dir}/*) -+ set(pmapc_files) -+ foreach(ts_file ${ts_files}) -+ string(REGEX MATCH "\\.svn/" in_svn ${ts_file}) -+ if(NOT in_svn) -+ # If ts_file is "path/to/foo/bar.js" -+ # We want subpath to contain "foo" -+ get_filename_component(subpath ${ts_file} DIRECTORY) -+ get_filename_component(subpath ${subpath} NAME) -+ install(FILES ${ts_file} -+ DESTINATION ${LOCALE_INSTALL_DIR}/${lang}/LC_SCRIPTS/${subpath}) -+ # If current file is a pmap, also install the compiled version. -+ get_filename_component(ts_ext ${ts_file} EXT) -+ if(ts_ext STREQUAL ".pmap") -+ set(pmap_file ${ts_file}) -+ get_filename_component(pmap_basename ${ts_file} NAME) -+ set(pmapc_basename "${pmap_basename}c") -+ set(pmapc_file "${lang}-${subpath}-${pmapc_basename}") -+ add_custom_command(OUTPUT ${pmapc_file} -+ COMMAND ${PYTHON_EXECUTABLE} -+ ARGS -+ -B -+ ${_ki18n_pmap_compile_script} -+ ${CMAKE_CURRENT_SOURCE_DIR}/${pmap_file} -+ ${pmapc_file} -+ DEPENDS ${pmap_file}) -+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${pmapc_file} -+ DESTINATION ${LOCALE_INSTALL_DIR}/${lang}/LC_SCRIPTS/${subpath} -+ RENAME ${pmapc_basename}) -+ list(APPEND pmapc_files ${pmapc_file}) -+ endif() -+ endif() -+ endforeach() -+ if(pmapc_files) -+ if(NOT TARGET pmapfiles) -+ add_custom_target(pmapfiles) -+ endif() -+ set(pmapc_target "pmapfiles-${lang}") -+ string(REPLACE "@" "_" pmapc_target ${pmapc_target}) -+ add_custom_target(${pmapc_target} ALL DEPENDS ${pmapc_files}) -+ add_dependencies(pmapfiles ${pmapc_target}) -+ endif() - endfunction() --- -cgit v0.11.2 - diff --git a/kde-frameworks/ki18n/ki18n-5.34.0-r1.ebuild b/kde-frameworks/ki18n/ki18n-5.34.0-r1.ebuild deleted file mode 100644 index 3da6f8c35a14..000000000000 --- a/kde-frameworks/ki18n/ki18n-5.34.0-r1.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) -inherit kde5 python-single-r1 - -DESCRIPTION="Framework based on Gettext for internationalizing user interface text" -LICENSE="LGPL-2+" -KEYWORDS="amd64 ~arm x86" -IUSE="" - -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND="${PYTHON_DEPS} - $(add_qt_dep qtscript) - sys-devel/gettext - virtual/libintl -" -DEPEND="${RDEPEND} - test? ( - $(add_qt_dep qtconcurrent) - $(add_qt_dep qtdeclarative) - ) -" - -PATCHES=( "${FILESDIR}/${P}-tsfiles.patch" ) - -pkg_setup() { - kde5_pkg_setup - python-single-r1_pkg_setup -} - -src_install() { - kde5_src_install - python_fix_shebang "${ED}/usr/$(get_libdir)/cmake/KF5I18n/ts-pmap-compile.py" -} |