summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2009-05-01 11:45:10 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2009-05-01 11:45:10 +0000
commit967d79fc6c54cd4b5f70c733cb60073c559af5cb (patch)
tree5c24bad5f51bf0b3254a80302ee6790f96c70716
parentMake gconf cross-compilable, bug #262747. Kill gconf-2.26 warning, bug #26807... (diff)
downloadhistorical-967d79fc6c54cd4b5f70c733cb60073c559af5cb.tar.gz
historical-967d79fc6c54cd4b5f70c733cb60073c559af5cb.tar.bz2
historical-967d79fc6c54cd4b5f70c733cb60073c559af5cb.zip
Version bump. Add cmakelists.txt that is correctly parsing the translations.
Package-Manager: portage-2.2_rc31/cvs/Linux x86_64
-rw-r--r--kde-misc/kshutdown/ChangeLog12
-rw-r--r--kde-misc/kshutdown/Manifest7
-rw-r--r--kde-misc/kshutdown/files/CMakeLists.txt25
-rw-r--r--kde-misc/kshutdown/kshutdown-2.0_beta6.ebuild (renamed from kde-misc/kshutdown/kshutdown-2.0_beta4.ebuild)6
4 files changed, 43 insertions, 7 deletions
diff --git a/kde-misc/kshutdown/ChangeLog b/kde-misc/kshutdown/ChangeLog
index 291ff3e2666f..196bcd9faeb7 100644
--- a/kde-misc/kshutdown/ChangeLog
+++ b/kde-misc/kshutdown/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for kde-misc/kshutdown
-# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-misc/kshutdown/ChangeLog,v 1.15 2009/04/06 11:43:04 scarabeus Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/kshutdown/ChangeLog,v 1.16 2009/05/01 11:45:10 scarabeus Exp $
+
+*kshutdown-2.0_beta6 (01 May 2009)
+
+ 01 May 2009; Tomas Chvatal <scarabeus@gentoo.org>
+ -kshutdown-2.0_beta4.ebuild, +kshutdown-2.0_beta6.ebuild,
+ +files/CMakeLists.txt:
+ Version bump. Add cmakelists.txt that is correctly parsing the
+ translations.
06 Apr 2009; Tomas Chvatal <scarabeus@gentoo.org>
kshutdown-2.0_beta4.ebuild:
diff --git a/kde-misc/kshutdown/Manifest b/kde-misc/kshutdown/Manifest
index 29e953366314..42152b48db16 100644
--- a/kde-misc/kshutdown/Manifest
+++ b/kde-misc/kshutdown/Manifest
@@ -1,8 +1,9 @@
+AUX CMakeLists.txt 1204 RMD160 31d0c19f7cc4effd08c8c4b71cbdf4992d217561 SHA1 c7b30914eb11ea55ab517e8ca92930767fb94365 SHA256 2c21c2a8bafa9c20fe8ff43493ef84e28685bbddb0f77f81b80296fe6b854550
DIST kshutdown-0.8.2.tar.bz2 646911 RMD160 6bd7f5623e2aef8049c73fdd2718229fabececd6 SHA1 30879cb898b378622beed324fa5073e6cdb6a471 SHA256 ef28d566ca3d316a60cdbe110eb97bb84b236e70bfacde52bb8df0085fe95328
DIST kshutdown-1.0.tar.bz2 644359 RMD160 503a1be439ddb80a8881c10a47969f73aa2da66d SHA1 9ae3a0111d98f559262df6e1d19b6e2b41a983ba SHA256 726cc65b80eef82a33c31c8c45a3a96e62520e7aa10d4ba45a4dbbf8bacdd0b8
-DIST kshutdown-source-2.0beta4.zip 295330 RMD160 afb039a51cc7d662e5fe27464582759063a98fcb SHA1 f00b7f74834fd6ac32a3aabfa94f80b1dad4e28f SHA256 a1357f51f1bb3042b99784000622846106381509981bb267dd18b590d6422281
+DIST kshutdown-source-2.0beta6.zip 315990 RMD160 a2851900b16931805f5223374e2b24618b8cd7db SHA1 9fb7768d052acd1cdcdd14f729a9729dc23ae6e3 SHA256 cebebb4aaefdf1c9f1e198814c5218ea12b26c944b4766b21f5884294f2124c3
EBUILD kshutdown-0.8.2.ebuild 564 RMD160 56d5905c136d7293f7817694992ff74a3fed841a SHA1 8f9843e8c07a476cf7b47294fc66e050695f1d70 SHA256 c28d9628ff0b927331c25346009495b27e542cb73ef128e56b73d1a07b7c4dbb
EBUILD kshutdown-1.0.ebuild 563 RMD160 6674b6efe42498cd31bfdf192e55c1e6aa4350f7 SHA1 d3581cafec1bb4fb13d2a410325b17fbaeb1ddbe SHA256 6882bd1d88527681c5af97eda9ed04f72f6652437d91873ec5d491bfadad3f9b
-EBUILD kshutdown-2.0_beta4.ebuild 740 RMD160 a8dd0403255898d46360cd265788ae1ee1471bbb SHA1 0879ab6f8ac417f3ee9552236ad875246f1e0d28 SHA256 da4355b9bd346839e7bfc656ef9a44f7ec0cf45173e1a62f70947cf5aa4397b7
-MISC ChangeLog 2235 RMD160 003c70102e22a8d017e7875ae8d840b94a01bc7c SHA1 e510f73fe3b9f082c7f697ff538ff906cb3e7ae2 SHA256 aab57352ea1eb4786497c849dba0978c8cb219572a775015f3fff7cdfab2fcf6
+EBUILD kshutdown-2.0_beta6.ebuild 828 RMD160 c93af2bcb0e0f21f564958165c09688750252c0b SHA1 1ad9f772743515ab95b434599bfbc9c0486097a5 SHA256 b94e8aa943b7f07d02971c116ce98c789c8d9ea307922575db50d35984c5abcb
+MISC ChangeLog 2490 RMD160 d0e3296319027b0877dd46a1896223589dc1c838 SHA1 cad80457f394b67ad5946e56f0805811d16ead81 SHA256 4a5ebae03ffac636d3bfcc6b44a1b90c2d8f60c89d39d3ff7f7aca1b7d2826d1
MISC metadata.xml 216 RMD160 aa6c1a4369edef4d9495c99e67cf34013614e386 SHA1 956610151e180325ae42bee51dbcefaa8c961fd6 SHA256 b9d5eb8bea543fbf88fac15c8c8112ff9853c7f41678c65c68cde0dc227b10a2
diff --git a/kde-misc/kshutdown/files/CMakeLists.txt b/kde-misc/kshutdown/files/CMakeLists.txt
new file mode 100644
index 000000000000..bc7e26efa882
--- /dev/null
+++ b/kde-misc/kshutdown/files/CMakeLists.txt
@@ -0,0 +1,25 @@
+###############################################################################
+# WE NEED GETTEXT
+##############################################################################
+MESSAGE ( STATUS "<Locating Gettext>" )
+FIND_PACKAGE ( Gettext REQUIRED )
+INCLUDE_DIRECTORIES ( ${GETTEXT_INCLUDE_DIR} )
+FILE ( GLOB _po_files *.po )
+SET ( _gmoFiles )
+###############################################################################
+# CREATE .MO FOR EACH .PO
+###############################################################################
+FOREACH ( _current_PO_FILE ${_po_files} )
+ GET_FILENAME_COMPONENT( _lang ${_current_PO_FILE} NAME_WE )
+ SET( _gmoFile ${CMAKE_BINARY_DIR}/po/${_lang}.mo )
+ add_custom_command( OUTPUT ${_gmoFile}
+ COMMAND ${GETTEXT_MSGFMT_EXECUTABLE} -o ${_gmoFile} ${_current_PO_FILE}
+ WORKING_DIRECTORY "${CMAKE_BINARY_DIR}"
+ DEPENDS ${_current_PO_FILE}
+ )
+ INSTALL ( FILES ${CMAKE_BINARY_DIR}/po/${_lang}.mo
+ DESTINATION ${LOCALE_INSTALL_DIR}/${_lang}/LC_MESSAGES/ RENAME kshutdown.mo )
+ LIST(APPEND _gmoFiles ${_gmoFile})
+ENDFOREACH(_current_PO_FILE)
+ADD_CUSTOM_TARGET(pofiles ALL DEPENDS ${_gmoFiles})
+###############################################################################
diff --git a/kde-misc/kshutdown/kshutdown-2.0_beta4.ebuild b/kde-misc/kshutdown/kshutdown-2.0_beta6.ebuild
index 97dcdf15a0bd..938aaf492e1e 100644
--- a/kde-misc/kshutdown/kshutdown-2.0_beta4.ebuild
+++ b/kde-misc/kshutdown/kshutdown-2.0_beta6.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-misc/kshutdown/kshutdown-2.0_beta4.ebuild,v 1.2 2009/04/06 11:43:04 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/kshutdown/kshutdown-2.0_beta6.ebuild,v 1.1 2009/05/01 11:45:10 scarabeus Exp $
EAPI="2"
-KDE_LINGUAS="ar bg cs de el es fr hu it nl no pl pt_BR ru sk sv tr zh_CN"
+KDE_LINGUAS="ar bg cs de el es fr hu it nb nl pl pt_BR ru sk sr sr@Latn sv tr zh_CN"
inherit kde4-base
MY_P="${PN}-source-${PV/_/}"
@@ -25,5 +25,7 @@ S="${WORKDIR}"/"${P/_/}"
src_prepare() {
# remove precompiled crap
rm -rf "${S}"/po/*.mo
+ # use our own cmake for locales
+ cp "${FILESDIR}"/CMakeLists.txt "${S}"/po/
kde4-base_src_prepare
}