| View previous topic :: View next topic |
| Author |
Message |
acei Tux's lil' helper

Joined: 16 Sep 2007 Posts: 90
|
Posted: Wed Dec 28, 2011 6:40 pm Post subject: |
|
|
Dorzuciłem patcha
| Code: | diff --git a/kadu-core/CMakeLists.txt b/kadu-core/CMakeLists.txt
index 28091d8..5384211 100644
--- a/kadu-core/CMakeLists.txt
+++ b/kadu-core/CMakeLists.txt
@@ -34,6 +34,9 @@ if (NOT NETWORK_IMPLEMENTATION)
set (NETWORK_IMPLEMENTATION "Qt" CACHE STRING "Select network-aware implementation (Qt/ntrack/dummy)" FORCE)
message (STATUS "No NETWORK_IMPLEMENTATION defined. Autodetected implementation: Qt")
endif (QNTRACK_FOUND)
+elseif (${NETWORK_IMPLEMENTATION} STREQUAL "ntrack")
+ set (QNtrack_FIND_REQUIRED true)
+ include (FindQNtrack)
endif (NOT NETWORK_IMPLEMENTATION)
set (kadu_SRCS |
do ebuilda
| Code: | # Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=2
inherit kadu
DESCRIPTION="The core of Kadu IM"
HOMEPAGE="http://kadu.net"
KEYWORDS=""
IUSE="ayatana +ntrack"
RDEPEND="app-crypt/qca:2
>=x11-libs/qt-gui-4.7.0
>=x11-libs/qt-webkit-4.7.0
>=x11-libs/qt-dbus-4.7.0
>=x11-libs/qt-svg-4.7.0
x11-libs/libXfixes
ayatana? ( dev-libs/libindicate-qt )
ntrack? ( >=net-libs/ntrack-0.14[qt4] )"
DEPEND="${RDEPEND}"
PATCHES=( "${FILESDIR}/${P}-cmake.patch"
"${FILESDIR}/${P}-cmake2.patch" )
src_configure() {
# Disable plugins
local mycmakeargs="-DBUILD_PLUGINS:BOOL=OFF"
use ayatana && mycmakeargs="${mycmakeargs} -DWITH_LIBINDICATE_QT:BOOL=ON"
if use ntrack ; then
mycmakeargs="${mycmakeargs} -DNETWORK_IMPLEMENTATION:STRING='ntrack'"
else
mycmakeargs="${mycmakeargs} -DNETWORK_IMPLEMENTATION:STRING='Qt'"
fi
kadu_src_configure
}
pkg_postinst() {
ewarn "If you rebuilt the core by hand, recompiling the modules is advised."
ewarn "You may do so by using emerge -1av \$(qlist -I -C net-im/kadu-)"
ewarn "This requires app-portage/portage-utils to be installed."
}
|
i się skompilowało .
No i kawałek configure
| Code: | >>> Emerging (1 of 1) net-im/kadu-core-0.11.0_beta1 from roslin
* kadu-0.11.0-beta1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking kadu-0.11.0-beta1.tar.bz2 to /var/tmp/portage/net-im/kadu-core-0.11.0_beta1/work
>>> Source unpacked in /var/tmp/portage/net-im/kadu-core-0.11.0_beta1/work
>>> Preparing source in /var/tmp/portage/net-im/kadu-core-0.11.0_beta1/work/kadu-0.11.0-beta1 ...
* Applying kadu-core-0.11.0_beta1-cmake.patch ... [ ok ]
* Applying kadu-core-0.11.0_beta1-cmake2.patch ... [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/net-im/kadu-core-0.11.0_beta1/work/kadu-0.11.0-beta1 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/net-im/kadu-core-0.11.0_beta1/work/kadu-core-0.11.0_beta1_build"
cmake --no-warn-unused-cli -C /var/tmp/portage/net-im/kadu-core-0.11.0_beta1/temp/gentoo_common_config.cmake -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_PLUGINS:BOOL=OFF -DNETWORK_IMPLEMENTATION:STRING='ntrack' -DBUILD_DESCRIPTION:STRING='Gentoo Linux' -DENABLE_AUTODOWNLOAD:BOOL=OFF -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_INSTALL_DO_STRIP=OFF -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/net-im/kadu-core-0.11.0_beta1/temp/gentoo_rules.cmake /var/tmp/portage/net-im/kadu-core-0.11.0_beta1/work/kadu-0.11.0-beta1
Not searching for unused variables given on the command line.
loading initial cache file /var/tmp/portage/net-im/kadu-core-0.11.0_beta1/temp/gentoo_common_config.cmake
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
fatal: Not a git repository (or any of the parent directories): .git
-- Looking for include files HAVE_EXECINFO
-- Looking for include files HAVE_EXECINFO - found
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt4: /usr/bin/qmake (found suitable version "4.7.4", required is "4.7.0")
-- Found Kadu headers: /usr/include/kadu/kadu
-- Fast linking enabled
-- checking for one of the modules 'indicate-qt'
-- libindicate-qt devel NOT FOUND. Disabling Ayatana support
-- Found QNtrack: /usr/lib64/libntrack-qt4.so
-- checking for one of the modules 'qca2'
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib64/libX11.so
-- Found X11 libraries: /usr/lib64/libX11.so
-- Found X11 Xfixes extension: /usr/lib64/libXfixes.so
-- Using ntrack network implementation
-- Emoticon theme: penguins
-- Emoticon theme: tango
-- Icon theme: default
-- Icon theme: glass
-- Icon theme: oxygen
-- Sound theme: default
-- Kadu (version: 0.11.0-beta1) will be built:
-- * install prefix: /usr
-- * build type: Gentoo
-- <<< Gentoo configuration >>>
Build type Gentoo
Install path /usr
Compiler flags:
C -Wall -Wextra -Wstrict-aliasing=2 -march=core2 -O2 -pipe
C++ -Wall -Wextra -Woverloaded-virtual -Wstrict-aliasing=2 -march=core2 -O2 -pipe
Linker flags:
Executable -Wl,-O1 -Wl,--as-needed
Module -Wl,-O1 -Wl,--as-needed
Shared -Wl,-O1 -Wl,--as-needed
-- Configuring done
|
_________________ GA965P+E6320+Geil 2*1GB CL4+ATI HD6570 ~amd64 |
|
| Back to top |
|
 |
mziab l33t


Joined: 01 Oct 2004 Posts: 629
|
Posted: Wed Dec 28, 2011 7:17 pm Post subject: |
|
|
Dzięki za testy. Commit już poszedł. _________________ Gentoo Linux 10.0 | 3.2.1 | glibc 2.13 | gcc 4.5.3
mteam | mziab's blog | roslin |
|
| Back to top |
|
 |
beevvy n00b

Joined: 08 Mar 2010 Posts: 14
|
Posted: Wed Dec 28, 2011 10:30 pm Post subject: |
|
|
A skoro była mowa o automagicznych zależnościach, to dla USE=-ayatana trzeba przekazać -DWITH_LIBINDICATE_QT=OFF . |
|
| Back to top |
|
 |
Belliash Advocate


Joined: 24 Nov 2004 Posts: 2394 Location: Legnica, Poland
|
|
| Back to top |
|
 |
mziab l33t


Joined: 01 Oct 2004 Posts: 629
|
Posted: Sun Mar 18, 2012 4:59 pm Post subject: |
|
|
Wrzuciłem na omploader. Jeśli trzeba, poprawię SRC_URI w ebuildzie. _________________ Gentoo Linux 10.0 | 3.2.1 | glibc 2.13 | gcc 4.5.3
mteam | mziab's blog | roslin |
|
| Back to top |
|
 |
mirekm Apprentice


Joined: 12 Feb 2004 Posts: 152 Location: Gliwice
|
Posted: Thu Mar 29, 2012 3:07 pm Post subject: |
|
|
Jakby ktoś miał problem, to taka uwaga.
ntrack powoduje problemy z klientem NetworkManagera pod kde. Tzn jeżeli jest zainstalowany w systemie, to próby rozłączania z siecią modemową, vpn powodują zawieszenie tacki sytemowej,
i klienta networkmanagera, a proces kded4 wchodzi w jakąś nieskończoną pętlę.
Przez jakiś czas cierpiałem z powodu tego buga, ale właśnie znalazłem rozwiązanie.
Dla zainteresowanych:
https://bugs.kde.org/show_bug.cgi?id=268038 |
|
| Back to top |
|
 |
mziab l33t


Joined: 01 Oct 2004 Posts: 629
|
Posted: Thu Mar 29, 2012 3:33 pm Post subject: |
|
|
ntrack-016 już nie powinien mieć tego buga. Właśnie sprawdziłem i ta zmiana jest w nim zawarta. _________________ Gentoo Linux 10.0 | 3.2.1 | glibc 2.13 | gcc 4.5.3
mteam | mziab's blog | roslin |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|