summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>2016-01-27 00:29:47 +0100
committerMichael Palimaka <kensington@gentoo.org>2016-02-01 03:52:00 +1100
commite52276ac36e9f17e3e44585dff0d1d8534324776 (patch)
tree64ca145f78737b7c4b73cd468aa62d8f0a1f59c1 /kde-apps/kde4-l10n
parentnet-analyzer/graphite-web: revbump for changed examples installation, bug #55... (diff)
downloadgentoo-e52276ac36e9f17e3e44585dff0d1d8534324776.tar.gz
gentoo-e52276ac36e9f17e3e44585dff0d1d8534324776.tar.bz2
gentoo-e52276ac36e9f17e3e44585dff0d1d8534324776.zip
kde-apps/kde4-l10n: Fix kde-l10n file collision, bug 572850
Diffstat (limited to 'kde-apps/kde4-l10n')
-rw-r--r--kde-apps/kde4-l10n/files/kde4-l10n-15.08.3-r1-remove-messages213
-rw-r--r--kde-apps/kde4-l10n/kde4-l10n-15.08.3-r2.ebuild157
2 files changed, 370 insertions, 0 deletions
diff --git a/kde-apps/kde4-l10n/files/kde4-l10n-15.08.3-r1-remove-messages b/kde-apps/kde4-l10n/files/kde4-l10n-15.08.3-r1-remove-messages
new file mode 100644
index 000000000000..7a4d67151e35
--- /dev/null
+++ b/kde-apps/kde4-l10n/files/kde4-l10n-15.08.3-r1-remove-messages
@@ -0,0 +1,213 @@
+# Remove any path listed here. Comments are ignored
+# KDE Workspace 4
+kde-workspace/freespacenotifier.po
+kde-workspace/joystick.po
+kde-workspace/kaccess.po
+kde-workspace/kcmaccess.po
+kde-workspace/kcm_autostart.po
+kde-workspace/kcmbell.po
+kde-workspace/kcmcolors.po
+kde-workspace/kcm_desktoppaths.po
+kde-workspace/kcm_desktopthemedetails.po
+kde-workspace/kcmdevinfo.po
+kde-workspace/kcmfonts.po
+kde-workspace/kcm_infobase.po
+kde-workspace/kcminfo.po
+kde-workspace/kcm_infosummary.po
+kde-workspace/kcminit.po
+kde-workspace/kcminput.po
+kde-workspace/kcmkclock.po
+kde-workspace/kcmkeyboard.po
+kde-workspace/kcmkeys.po
+kde-workspace/kcmkwincompositing.po
+kde-workspace/kcmkwindecoration.po
+kde-workspace/kcm_kwindesktop.po
+kde-workspace/kcmkwinrules.po
+kde-workspace/kcmkwinscreenedges.po
+kde-workspace/kcm-kwin-scripts.po
+kde-workspace/kcm_kwintabbox.po
+kde-workspace/kcmkwm.po
+kde-workspace/kcmlaunch.po
+kde-workspace/kcm_memory.po
+kde-workspace/kcmnic.po
+kde-workspace/kcmopengl.po
+kde-workspace/kcm_pci.po
+kde-workspace/kcmsamba.po
+kde-workspace/kcmsmserver.po
+kde-workspace/kcm_solid_actions.po
+kde-workspace/kcm_standard_actions.po
+kde-workspace/kcmstyle.po
+kde-workspace/kcmusb.po
+kde-workspace/kcmview1394.po
+kde-workspace/kcmworkspaceoptions.po
+kde-workspace/kfontinst.po
+kde-workspace/khotkeys.po
+kde-workspace/kinfocenter.po
+kde-workspace/klipper.po
+kde-workspace/kmenuedit.po
+kde-workspace/krdb.po
+kde-workspace/krunner.po
+kde-workspace/kscreenlocker_greet.po
+kde-workspace/kscreenlocker.po
+kde-workspace/ksgrd.po
+kde-workspace/ksmserver.po
+kde-workspace/ksplashthemes.po
+kde-workspace/ksysguardlsofwidgets.po
+kde-workspace/ksysguard.po
+kde-workspace/ktouchpadenabler.po
+kde-workspace/kwin_clients.po
+kde-workspace/kwin_effects.po
+kde-workspace/kwin.po
+kde-workspace/kwin_scripting.po
+kde-workspace/libkdecorations.po
+kde-workspace/libkworkspace.po
+kde-workspace/liboxygenstyleconfig.po
+kde-workspace/libpowerdevilcommonconfig.po
+kde-workspace/libtaskmanager.po
+kde-workspace/plasma_applet_quicklaunch.po
+kde-workspace/plasma_applet_system-monitor.po
+kde-workspace/plasma_applet_webbrowser.po
+kde-workspace/plasma_containmentactions_contextmenu.po
+kde-workspace/plasma_containmentactions_switchwindow.po
+kde-workspace/plasma_engine_keystate.po
+kde-workspace/plasma_engine_mpris2.po
+kde-workspace/plasma_engine_network.po
+kde-workspace/plasma_engine_notifications.po
+kde-workspace/plasma_engine_rss.po
+kde-workspace/plasma_engine_share.po
+kde-workspace/plasma_engine_soliddevice.po
+kde-workspace/plasma_engine_weather.po
+kde-workspace/plasma_runner_activities.po
+kde-workspace/plasma_runner_bookmarksrunner.po
+kde-workspace/plasma_runner_calculatorrunner.po
+kde-workspace/plasma_runner_kill.po
+kde-workspace/plasma_runner_locations.po
+kde-workspace/plasma_runner_placesrunner.po
+kde-workspace/plasma_runner_plasma-desktop.po
+kde-workspace/plasma_runner_powerdevil.po
+kde-workspace/plasma_runner_recentdocuments.po
+kde-workspace/plasma_runner_services.po
+kde-workspace/plasma_runner_sessions.po
+kde-workspace/plasma_runner_shell.po
+kde-workspace/plasma_runner_solid.po
+kde-workspace/plasma_runner_webshortcuts.po
+kde-workspace/plasma_runner_windowedwidgets.po
+kde-workspace/plasma_runner_windows.po
+kde-workspace/powerdevilactivitiesconfig.po
+kde-workspace/powerdevilglobalconfig.po
+kde-workspace/powerdevil.po
+kde-workspace/powerdevilprofilesconfig.po
+kde-workspace/processcore.po
+kde-workspace/processui.po
+kde-workspace/systemsettings.po
+# KDE Runtime 4
+kde-runtime/attica_kde.po
+kde-runtime/drkonqi.po
+kde-runtime/filetypes.po
+kde-runtime/htmlsearch.po
+kde-runtime/kcmcomponentchooser.po
+kde-runtime/kcm_device_automounter.po
+kde-runtime/kcm_emoticons.po
+kde-runtime/kcmhtmlsearch.po
+kde-runtime/kcmicons.po
+kde-runtime/kcmkded.po
+kde-runtime/kcmnotify.po
+kde-runtime/kcm_phonon.po
+kde-runtime/kcmshell.po
+kde-runtime/kdesu.po
+kde-runtime/kglobalaccel.po
+kde-runtime/khelpcenter.po
+kde-runtime/kio_applications.po
+kde-runtime/kio_archive.po
+kde-runtime/kio_bookmarks.po
+kde-runtime/kioclient.po
+kde-runtime/kio_fish.po
+kde-runtime/kio_info.po
+kde-runtime/kio_man.po
+kde-runtime/kio_nfs.po
+kde-runtime/kio_recentdocuments.po
+kde-runtime/kio_remote.po
+kde-runtime/kio_sftp.po
+kde-runtime/kio_smb.po
+kde-runtime/kio_thumbnail.po
+kde-runtime/kmimetypefinder.po
+kde-runtime/knetattach.po
+kde-runtime/kstart.po
+kde-runtime/ktraderclient.po
+kde-runtime/phonon_kde.po
+kde-runtime/soliduiserver.po
+# KDE Plasma Addons 4
+kdeplasma-addons/konqprofiles.po
+kdeplasma-addons/konsoleprofiles.po
+kdeplasma-addons/lancelot.po
+kdeplasma-addons/liblancelot-datamodels.po
+kdeplasma-addons/libplasma_groupingcontainment.po
+kdeplasma-addons/libplasmaweather.po
+kdeplasma-addons/plasma_applet_binaryclock.po
+kdeplasma-addons/plasma_applet_bookmarks.po
+kdeplasma-addons/plasma_applet_bubblemon.po
+kdeplasma-addons/plasma_applet_CharSelectApplet.po
+kdeplasma-addons/plasma_applet_comic.po
+kdeplasma-addons/plasma_applet_fifteenPuzzle.po
+kdeplasma-addons/plasma_applet_fileWatcher.po
+kdeplasma-addons/plasma_applet_frame.po
+kdeplasma-addons/plasma_applet_groupingpanel.po
+kdeplasma-addons/plasma_applet_incomingmsg.po
+kdeplasma-addons/plasma_applet_knowledgebase.po
+kdeplasma-addons/plasma_applet_kolourpicker.po
+kdeplasma-addons/plasma_applet_leavenote.po
+kdeplasma-addons/plasma_applet_life.po
+kdeplasma-addons/plasma_applet_luna.po
+kdeplasma-addons/plasma_applet_magnifique.po
+kdeplasma-addons/plasma_applet_microblog.po
+kdeplasma-addons/plasma_applet_news.po
+kdeplasma-addons/plasma_applet_plasmaboard.po
+kdeplasma-addons/plasma_applet_previewer.po
+kdeplasma-addons/plasma_applet_qalculate.po
+kdeplasma-addons/plasma_applet_qstardict.po
+kdeplasma-addons/plasma_applet_rssnow.po
+kdeplasma-addons/plasma_applet_showdashboard.po
+kdeplasma-addons/plasma_applet_showdesktop.po
+kdeplasma-addons/plasma_applet_spellcheck.po
+kdeplasma-addons/plasma_applet_unitconverter.po
+kdeplasma-addons/plasma_applet_weather.po
+kdeplasma-addons/plasma_applet_weatherstation.po
+kdeplasma-addons/plasma_applet_webslice.po
+kdeplasma-addons/plasma_packagestructure_comic.po
+kdeplasma-addons/plasma_runner_audioplayercontrol.po
+kdeplasma-addons/plasma_runner_browserhistory.po
+kdeplasma-addons/plasma_runner_CharacterRunner.po
+kdeplasma-addons/plasma_runner_contacts.po
+kdeplasma-addons/plasma_runner_converterrunner.po
+kdeplasma-addons/plasma_runner_datetime.po
+kdeplasma-addons/plasma_runner_events.po
+kdeplasma-addons/plasma_runner_katesessions.po
+kdeplasma-addons/plasma_runner_konquerorsessions.po
+kdeplasma-addons/plasma_runner_konsolesessions.po
+kdeplasma-addons/plasma_runner_kopete.po
+kdeplasma-addons/plasma_runner_krunner_dictionary.po
+kdeplasma-addons/plasma_runner_mediawiki.po
+kdeplasma-addons/plasma_runner_spellcheckrunner.po
+kdeplasma-addons/plasma_runner_translator.po
+kdeplasma-addons/plasma_runner_youtube.po
+# KDELIBS 4
+kdelibs/akonadi_baloo_indexer.po
+kdelibs/baloo_file_extractor.po
+kdelibs/baloo_file.po
+kdelibs/baloosearch.po
+kdelibs/balooshow.po
+kdelibs/baloowidgets.po
+kdelibs/kcm_baloofile.po
+kdelibs/kfilemetadata.po
+kdelibs/kio_baloosearch.po
+kdelibs/kio_tags.po
+kdelibs/kio_timeline.po
+kdelibs/plasma_runner_baloosearchrunner.po
+# KDE Applications 4
+applications/useraccount.po
+# KDE Edu 4
+kdeedu/pairs.po
+kdeedu/pairseditor.po
+kdeedu/pairs.appdata.po
+# KDE Utils 4
+kdeutils/org.kde.kteatime.appdata.po
diff --git a/kde-apps/kde4-l10n/kde4-l10n-15.08.3-r2.ebuild b/kde-apps/kde4-l10n/kde4-l10n-15.08.3-r2.ebuild
new file mode 100644
index 000000000000..d4568982b834
--- /dev/null
+++ b/kde-apps/kde4-l10n/kde4-l10n-15.08.3-r2.ebuild
@@ -0,0 +1,157 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="optional"
+KMNAME="kde-l10n"
+inherit kde4-base
+
+DESCRIPTION="KDE internationalization package"
+HOMEPAGE="http://l10n.kde.org"
+
+DEPEND="
+ sys-devel/gettext
+"
+RDEPEND="
+ !<kde-apps/kde-l10n-${PV}
+"
+
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+IUSE="minimal"
+
+REMOVE_DIRS="${FILESDIR}/${PN}-15.07.90-remove-dirs"
+REMOVE_MSGS="${FILESDIR}/${PN}-15.08.3-r1-remove-messages"
+
+LV="4.14.3"
+LEGACY_LANGS="ar bg bs ca ca@valencia cs da de el en_GB es et eu fa fi fr ga gl
+he hi hr hu ia id is it ja kk km ko lt lv mr nb nds nl nn pa pl pt pt_BR ro ru
+sk sl sr sv tr ug uk wa zh_CN zh_TW"
+
+# /usr/portage/distfiles $ ls -1 kde-l10n-*-${PV}.* |sed -e 's:-${PV}.tar.xz::' -e 's:kde-l10n-::' |tr '\n' ' '
+MY_LANGS="ar bg bs ca ca@valencia cs da de el en_GB eo es et eu fa fi fr ga gl
+he hi hr hu ia id is it ja kk km ko lt lv mr nb nds nl nn pa pl pt pt_BR ro ru
+sk sl sr sv tr ug uk wa zh_CN zh_TW"
+
+URI_BASE="${SRC_URI/-${PV}.tar.xz/}"
+LURI_BASE="mirror://kde/stable/${LV}/src/${KMNAME}"
+SRC_URI=""
+
+for MY_LANG in ${LEGACY_LANGS} ; do
+ IUSE="${IUSE} linguas_${MY_LANG}"
+ SRC_URI="${SRC_URI} linguas_${MY_LANG}? ( ${LURI_BASE}/${KMNAME}-${MY_LANG}-${LV}.tar.xz )"
+done
+
+for MY_LANG in ${MY_LANGS} ; do
+ IUSE="${IUSE} linguas_${MY_LANG}"
+ SRC_URI="${SRC_URI} linguas_${MY_LANG}? ( ${URI_BASE}/${KMNAME}-${MY_LANG}-${PV}.tar.xz )"
+done
+
+S="${WORKDIR}"
+
+src_unpack() {
+ if [[ -z ${A} ]]; then
+ elog
+ elog "You either have the LINGUAS variable unset, or it only"
+ elog "contains languages not supported by ${P}."
+ elog "You won't have any additional language support."
+ elog
+ elog "${P} supports these language codes:"
+ elog "${MY_LANGS}"
+ elog
+ fi
+
+ [[ -n ${A} ]] && unpack ${A}
+}
+
+src_prepare() {
+ local LNG DIR LDIR SDIR
+ # add all linguas to cmake
+ if [[ -n ${A} ]]; then
+ for LNG in ${LINGUAS}; do
+ DIR="${KMNAME}-${LNG}-${PV}"
+ LDIR="${KMNAME}-${LNG}-${LV}"
+ SDIR="${S}/${DIR}/4/${LNG}"
+ if [[ -d "${DIR}" ]] ; then
+ echo "add_subdirectory( ${DIR} )" >> "${S}"/CMakeLists.txt
+
+ # Drop KF5-based part
+ sed -e '/add_subdirectory(5)/ s/^/#/' -i "${S}"/${DIR}/CMakeLists.txt
+
+ # Drop translations installed with plasma 5 and kde-apps 5 packages
+ if use minimal; then
+ einfo "${LNG}: Removing file conflicts"
+ if [[ -d "${LDIR}" ]] ; then
+ rm -rf "${LDIR}"
+ fi
+
+ einfo " directories..."
+ while read path; do
+ if [[ -n ${path} && -e "${SDIR}"/${path%\ *}/CMakeLists.txt ]] ; then
+ sed -e ":${path#*\ }: s:^:#:"\
+ -i "${SDIR}"/${path%\ *}/CMakeLists.txt
+ fi
+ done < <(grep -v "^#" "${REMOVE_DIRS}")
+
+ einfo " messages..."
+ for path in $(grep -v "^#" "${REMOVE_MSGS}") ; do
+ rm -f "${SDIR}"/messages/${path}
+ # Quirk for LINGUAS=sr variants
+ if [[ ${LNG} = "sr" ]] ; then
+ rm -f "${SDIR}"/${LNG}\@*/messages/${path} || die
+ fi
+ done
+ else
+ if [[ -d "${LDIR}" ]] ; then
+ einfo "${LNG}: Adding legacy localisation"
+ local dest_path
+ # Step through directories alphabetically first
+ for path in $(ls -R "${LDIR}" | grep ":$" | sed -e 's/:$//') ; do
+ dest_path="${path/${LV}/${PV}/4/${LNG}}"
+ if [[ ! -d "${dest_path}" ]] ; then
+ einfo " $(basename ${dest_path}) subdirectory"\
+ "added to $(basename $(dirname ${dest_path}))"
+ mkdir "${dest_path}" || die "Failed creating ${dest_path}"
+ echo "add_subdirectory($(basename ${dest_path}))" >> \
+ $(dirname "${dest_path}")/CMakeLists.txt
+ fi
+ done
+ einfo " merging legacy localisation..."
+ for path in $(find "${LDIR}" -type f) ; do
+ dest_path="${path/${LV}/${PV}/4/${LNG}}"
+ cp -rn "${path}" "${dest_path}" || die "Failed copying ${path}"
+ done
+ # Disable kdepim
+ for path in kdepim kdepimlibs kdepim-runtime ; do
+ find "${SDIR}" -name CMakeLists.txt -type f -exec \
+ sed -i -e "s:^ *add_subdirectory( *${path} *):# no ${path}:g" {} +
+ done
+ rm -rf "${LDIR}"
+ fi
+ fi
+ fi
+ done
+ fi
+
+ kde4-base_src_prepare
+}
+
+src_configure() {
+ mycmakeargs=(
+ $(cmake-utils_use_build handbook docs)
+ )
+ [[ -n ${A} ]] && kde4-base_src_configure
+}
+
+src_compile() {
+ [[ -n ${A} ]] && kde4-base_src_compile
+}
+
+src_test() {
+ [[ -n ${A} ]] && kde4-base_src_test
+}
+
+src_install() {
+ [[ -n ${A} ]] && kde4-base_src_install
+}