diff options
author | Sergey Popov <pinkbyte@gentoo.org> | 2014-11-06 11:47:38 +0000 |
---|---|---|
committer | Sergey Popov <pinkbyte@gentoo.org> | 2014-11-06 11:47:38 +0000 |
commit | 346a5041a1d55e81ee350da9450a8950c5c864b6 (patch) | |
tree | 4728d01a05500fd9d52dfd3bea1b075701e3b102 /net-im | |
parent | Version bump. (diff) | |
download | gentoo-2-346a5041a1d55e81ee350da9450a8950c5c864b6.tar.gz gentoo-2-346a5041a1d55e81ee350da9450a8950c5c864b6.tar.bz2 gentoo-2-346a5041a1d55e81ee350da9450a8950c5c864b6.zip |
Revision bump: EAPI 5, fix bug #506614, patches by Alexander Golubev <fatzer2 AT gmail.com>, who will maintain this package through proxy maintainers. Drop old revision, drop qt herd from metadata
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0x1F357D42)
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/qutim/ChangeLog | 11 | ||||
-rw-r--r-- | net-im/qutim/files/qutim-0.3.1-cmake-2.8.12-kde-build.patch | 25 | ||||
-rw-r--r-- | net-im/qutim/files/qutim-0.3.1-cmake-2.8.12-qt-build.patch | 121 | ||||
-rw-r--r-- | net-im/qutim/metadata.xml | 14 | ||||
-rw-r--r-- | net-im/qutim/qutim-0.3.1-r1.ebuild (renamed from net-im/qutim/qutim-0.3.1.ebuild) | 10 |
5 files changed, 177 insertions, 4 deletions
diff --git a/net-im/qutim/ChangeLog b/net-im/qutim/ChangeLog index bfb995d9187d..d45f81f16600 100644 --- a/net-im/qutim/ChangeLog +++ b/net-im/qutim/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for net-im/qutim # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/qutim/ChangeLog,v 1.28 2014/08/05 18:34:14 mrueg Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/qutim/ChangeLog,v 1.29 2014/11/06 11:47:38 pinkbyte Exp $ + +*qutim-0.3.1-r1 (06 Nov 2014) + + 06 Nov 2014; Sergey Popov <pinkbyte@gentoo.org> -qutim-0.3.1.ebuild, + +qutim-0.3.1-r1.ebuild, +files/qutim-0.3.1-cmake-2.8.12-kde-build.patch, + +files/qutim-0.3.1-cmake-2.8.12-qt-build.patch, metadata.xml: + Revision bump: EAPI 5, fix bug #506614, patches by Alexander Golubev <fatzer2 + AT gmail.com>, who will maintain this package through proxy maintainers. Drop + old revision, drop qt herd from metadata 05 Aug 2014; Manuel Rüger <mrueg@gentoo.org> qutim-0.3.1.ebuild: Remove trailing '.' from DESCRIPTION. diff --git a/net-im/qutim/files/qutim-0.3.1-cmake-2.8.12-kde-build.patch b/net-im/qutim/files/qutim-0.3.1-cmake-2.8.12-kde-build.patch new file mode 100644 index 000000000000..f32379662417 --- /dev/null +++ b/net-im/qutim/files/qutim-0.3.1-cmake-2.8.12-kde-build.patch @@ -0,0 +1,25 @@ +From 984d4af9568de9c54a44e4cf96cca76e0cea256a Mon Sep 17 00:00:00 2001 +From: Ruslan Nigmatullin <euroelessar@yandex.ru> +Date: Mon, 24 Feb 2014 18:09:20 +0300 +Subject: [PATCH 2/2] Fixed compilation with the newest cmake + +--- + plugins/kdeintegration/CMakeLists.txt | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/plugins/kdeintegration/CMakeLists.txt b/plugins/kdeintegration/CMakeLists.txt +index 6f1a9f8..805ad80 100644 +--- a/plugins/kdeintegration/CMakeLists.txt ++++ b/plugins/kdeintegration/CMakeLists.txt +@@ -8,6 +8,8 @@ endif() + + include(KDE4Defaults) + ++set(CMAKE_AUTOMOC true) ++ + add_definitions( ${KDE4_DEFINITIONS} ) + + qutim_add_plugin(kdeintegration +-- +2.0.4 + diff --git a/net-im/qutim/files/qutim-0.3.1-cmake-2.8.12-qt-build.patch b/net-im/qutim/files/qutim-0.3.1-cmake-2.8.12-qt-build.patch new file mode 100644 index 000000000000..cda262a906a4 --- /dev/null +++ b/net-im/qutim/files/qutim-0.3.1-cmake-2.8.12-qt-build.patch @@ -0,0 +1,121 @@ +From 3ef38bdfe771bfff0247c668c044405c0f1b4145 Mon Sep 17 00:00:00 2001 +From: Alexander Golubev <fatzer2@gmail.com> +Date: Mon, 3 Nov 2014 03:21:44 +0300 +Subject: [PATCH 1/2] fix build with cmake-2.8.12 introduced changes in qt4 + macroses + +--- + core/cmake/QutIMMacros.cmake | 90 +++++++++++++++++++++++++------------------- + 1 file changed, 52 insertions(+), 38 deletions(-) + +diff --git a/core/cmake/QutIMMacros.cmake b/core/cmake/QutIMMacros.cmake +index 588f464..41e961d 100644 +--- a/core/cmake/QutIMMacros.cmake ++++ b/core/cmake/QutIMMacros.cmake +@@ -31,43 +31,57 @@ if(NOT CPACK_INCLUDED) + endif() + + #TODO separate to external macro +-MACRO(QUTIM_WRAP_CPP outfiles) +- # get include dirs +- QT4_GET_MOC_FLAGS(moc_flags) +- QT4_EXTRACT_OPTIONS(moc_files moc_options ${ARGN}) +- +- FOREACH (it ${moc_files}) +- GET_FILENAME_COMPONENT(_abs_FILE ${it} ABSOLUTE) +- GET_FILENAME_COMPONENT(_abs_PATH ${_abs_FILE} PATH) +- GET_FILENAME_COMPONENT(_basename ${it} NAME_WE) +- +- SET(_HAS_MOC false) +- +- IF(EXISTS ${_abs_PATH}/${_basename}.cpp) +- SET(_header ${_abs_PATH}/${_basename}.cpp) +- FILE(READ ${_header} _contents) +- STRING(REGEX MATCHALL "# *include +[^ ]+\\.moc[\">]" _match "${_contents}") +- IF(_match) +- SET(_HAS_MOC true) +- FOREACH (_current_MOC_INC ${_match}) +- STRING(REGEX MATCH "[^ <\"]+\\.moc" _current_MOC "${_current_MOC_INC}") +- SET(_moc ${CMAKE_CURRENT_BINARY_DIR}/${_current_MOC}) +- QT4_CREATE_MOC_COMMAND(${_abs_FILE} ${_moc} "${_moc_INCS}" "") +- MACRO_ADD_FILE_DEPENDENCIES(${_abs_FILE} ${_moc}) +- ENDFOREACH (_current_MOC_INC) +- ENDIF() +- ENDIF() +- IF(NOT _HAS_MOC) +- FILE(READ ${_abs_FILE} _contents) +- STRING(REGEX MATCHALL "Q_OBJECT|Q_GADGET" _match2 "${_contents}") +- IF(_match2) +- QT4_MAKE_OUTPUT_FILE(${_abs_FILE} moc_ cxx outfile) +- QT4_CREATE_MOC_COMMAND(${_abs_FILE} ${outfile} "${moc_flags}" "${moc_options}") +- SET(${outfiles} ${${outfiles}} ${outfile}) +- ENDIF() +- ENDIF() +- ENDFOREACH(it) +-ENDMACRO (QUTIM_WRAP_CPP) ++macro(QUTIM_WRAP_CPP outfiles) ++ if(NOT CMAKE_AUTOMOC) ++ # get include dirs ++ qt4_get_moc_flags(moc_flags) ++ if(CMAKE_VERSION VERSION_LESS "2.8.12") ++ qt4_extract_options(moc_files moc_options ${ARGN}) ++ else() ++ qt4_extract_options(moc_files moc_options moc_target ${ARGN}) ++ endif() ++ ++ foreach(it ${moc_files}) ++ get_filename_component(_abs_file ${it} ABSOLUTE) ++ get_filename_component(_abs_PATH ${_abs_file} PATH) ++ get_filename_component(_basename ${it} NAME_WE) ++ ++ set(_HAS_MOC false) ++ ++ if(EXISTS ${_abs_PATH}/${_basename}.cpp) ++ set(_header ${_abs_PATH}/${_basename}.cpp) ++ file(READ ${_header} _contents) ++ string(REGEX MATCHALL "# *include +[^ ]+\\.moc[\">]" _match "${_contents}") ++ if(_match) ++ set(_HAS_MOC true) ++ foreach(_current_MOC_INC ${_match}) ++ string(REGEX MATCH "[^ <\"]+\\.moc" _current_MOC "${_current_MOC_INC}") ++ set(_moc ${CMAKE_CURRENT_BINARY_DIR}/${_current_MOC}) ++ if(CMAKE_VERSION VERSION_LESS "2.8.12") ++ qt4_create_moc_command(${_abs_file} ${_moc} "${_moc_INCS}" "") ++ else() ++ qt4_create_moc_command(${_abs_file} ${_moc} "${_moc_INCS}" "${moc_options}" "${moc_target}") ++ endif() ++ macro_add_file_dependencies(${_abs_file} ${_moc}) ++ endforeach (_current_MOC_INC) ++ endif() ++ endif() ++ if(NOT _HAS_MOC) ++ file(READ ${_abs_file} _contents) ++ string(REGEX MATCHALL "Q_OBJECT|Q_GADGET" _match2 "${_contents}") ++ if(_match2) ++ qt4_make_output_file(${_abs_file} moc_ cxx outfile) ++ if(CMAKE_VERSION VERSION_LESS "2.8.12") ++ qt4_create_moc_command(${_abs_file} ${outfile} "${moc_flags}" "${moc_options}") ++ else() ++ qt4_create_moc_command(${_abs_file} ${outfile} "${moc_flags}" "${moc_options}" "${moc_target}") ++ endif() ++ set(${outfiles} ${${outfiles}} ${outfile}) ++ endif() ++ endif() ++ endforeach(it) ++ endif() ++endmacro(QUTIM_WRAP_CPP) + + macro(QUTIM_ADD_ARTWORK_DIR art_dir) + FILE(GLOB ARTWORKS ${art_dir} "${art_dir}/*") +@@ -331,7 +345,7 @@ QUTIM_EXPORT_PLUGIN(${plugin_name}Plugin) + # set_target_properties( ${plugin_name} PROPERTIES COMPILE_FLAGS "-D${plugin_name}_MAKE" ) + if( QUTIM_${plugin_name}_STATIC ) + if( NOT EXISTS "${CMAKE_CURRENT_BINARY_DIR}/${plugin_name}helper.cpp" ) +- file( WRITE "${CMAKE_CURRENT_BINARY_DIR}/${plugin_name}helper.cpp" ++ file( WRITE "${CMAKE_CURRENT_BINARY_DIR}/${plugin_name}helper.cpp" + "#include <QtCore/QtPlugin> + + Q_IMPORT_PLUGIN(${plugin_name}) +-- +2.0.4 + diff --git a/net-im/qutim/metadata.xml b/net-im/qutim/metadata.xml index 6dbb0a00f6bc..68fc775ae7ba 100644 --- a/net-im/qutim/metadata.xml +++ b/net-im/qutim/metadata.xml @@ -1,7 +1,19 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<herd>qt</herd> +<maintainer> + <email>fatzer2@gmail.com</email> + <name>Alexander Golubev</name> + <description>Proxied maintainer. Assign bugs on him</description> +</maintainer> +<upstream> + <maintainer> + <email>euroelessar@yandex.ru</email> + <name>Ruslan Nigmatullin</name> + </maintainer> + <bugs-to>https://github.com/euroelessar/qutim/issues</bugs-to> +</upstream> +<herd>proxy-maintainers</herd> <use> <flag name="aspell">Enable spellchecking using <pkg>app-text/aspell</pkg></flag> <flag name="awn">Enable integration with <pkg>gnome-extra/avant-window-navigator</pkg></flag> diff --git a/net-im/qutim/qutim-0.3.1.ebuild b/net-im/qutim/qutim-0.3.1-r1.ebuild index 540e4d2edba4..ee7dea0177b0 100644 --- a/net-im/qutim/qutim-0.3.1.ebuild +++ b/net-im/qutim/qutim-0.3.1-r1.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/qutim/qutim-0.3.1.ebuild,v 1.8 2014/04/02 16:09:09 kensington Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/qutim/qutim-0.3.1-r1.ebuild,v 1.1 2014/11/06 11:47:38 pinkbyte Exp $ -EAPI=4 +EAPI=5 LANGS="ar be bg cs de en_GB ru sk uk zh_CN" @@ -76,6 +76,12 @@ RDEPEND="${CDEPEND} DOCS=( AUTHORS ChangeLog ) +# bug #506614 +PATCHES=( + "${FILESDIR}/${P}-cmake-2.8.12-qt-build.patch" + "${FILESDIR}/${P}-cmake-2.8.12-kde-build.patch" +) + src_prepare() { cmake-utils_src_prepare |