Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Error installing Cairo Dock
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
JunkBondTrader
n00b
n00b


Joined: 16 Mar 2011
Posts: 4

PostPosted: Thu Mar 17, 2011 9:27 pm    Post subject: Error installing Cairo Dock Reply with quote

Hello!

I'm running Gentoo on AMD64. I've been trying to get cairo-dock to run so I emerged layman and the desktop-effects overlay, but when I run "emerge cairo-dock" I get this error:

Code:
 * ERROR: x11-misc/cairo-dock-9999 failed (prepare phase):
 *   intltoolize failed
 *
 * Call stack:
 *     ebuild.sh, line  56:  Called src_prepare
 *   environment, line 3045:  Called die
 * The specific snippet of code:
 *       intltoolize --automake --copy --force || die "intltoolize failed";


So, my guess here is that intltool is failing. The question is why. I've Googled the hell out of this and found nothing.

Any help would be greatly appreciated. :)
Back to top
View user's profile Send private message
xiber
Apprentice
Apprentice


Joined: 28 Oct 2003
Posts: 245
Location: Fremont, CA

PostPosted: Fri Mar 18, 2011 2:07 am    Post subject: Reply with quote

I'm pretty sure that cairo-dock now uses cmake and not autotools. So the ebuild you're using is incorrect.
_________________
Athlon XP-M 2600 @ 2.3 GHz OC | Abit NF7-S r2.0 | 2x512MB PC3200 | 6600GT OC | Audigy 2 | Gentoo | 2005

Athlon 64 X2 4600 @ 2.4 GHz | Asus M2N-SLI DLX | 4x1GB PC6400 | 7600GT KO | 7HD @ 3.1TB | OpenSolaris SXCE | 2007
Back to top
View user's profile Send private message
spy20
Tux's lil' helper
Tux's lil' helper


Joined: 02 Nov 2010
Posts: 140

PostPosted: Sat Jul 23, 2011 2:19 pm    Post subject: Reply with quote

I'm agree with you but I have the same problem

I see this
http://www.glx-dock.org/bg_topic.php?t=4440

But I can't apply the same solution

Do you have any ideas ?
Thanks in advance.
Back to top
View user's profile Send private message
pmootrey
n00b
n00b


Joined: 23 Jul 2011
Posts: 17

PostPosted: Sat Jul 23, 2011 6:11 pm    Post subject: Reply with quote

Below are some working ebuilds for you guys. Let me know if you have any issues.

cairo-dock-2.3.0.3.ebuild -

# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="2"

inherit cmake-utils eutils versionator

MY_PN="${PN}-core"
MY_PV=$(replace_version_separator 3 '~')
MM_PV=$(get_version_component_range '1-2')
MMD_PV=$(get_version_component_range '1-3')

DESCRIPTION="Cairo-dock is a fast, responsive, Mac OS X-like dock."
HOMEPAGE="https://launchpad.net/cairo-dock-core/"
SRC_URI="http://launchpad.net/${MY_PN}/${MM_PV}/${MMD_PV}/+download/${PN}-${MY_PV}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE="xcomposite"

RDEPEND="
dev-libs/dbus-glib
dev-libs/glib:2
dev-libs/libxml2
gnome-base/librsvg
sys-apps/dbus
x11-libs/cairo
x11-libs/gtk+:2
x11-libs/gtkglext
x11-libs/libXrender
xcomposite? (
x11-libs/libXcomposite
x11-libs/libXinerama
x11-libs/libXtst
)
"
DEPEND="${RDEPEND}
dev-util/intltool
dev-util/pkgconfig
sys-devel/gettext
"

S="${WORKDIR}/${PN}-${MY_PV}"

src_prepare() {
epatch "${FILESDIR}/${P}-rpath.patch" || die
}

#src_configure() {
# econf $(use_enable xcomposite xextend)
#}

pkg_postinst() {
elog "Cairo-Dock is an app that draws on a RGBA GLX visual."
elog "Some users have noticed that if the dock is launched,"
elog "severals qt4-based applications could crash, like skype or vlc."
elog "If you have this problem, add the following line into your bashrc :"
echo
elog "alias vlc='export XLIB_SKIP_ARGB_VISUALS=1; vlc; unset XLIB_SKIP_ARGB_VISUALS'"
elog "see http://www.qtforum.org/article/26669/qt4-mess-up-the-opengl-context.html for more details."
}



cairo-dock-2.3.0.3-rpath.patch -

diff -urN cairo-dock-2.2.0-4/src/gldit/CMakeLists.txt cairo-dock-2.2.0-4-new//src/gldit/CMakeLists.txt
--- cairo-dock-2.2.0-4/src/gldit/CMakeLists.txt 2010-10-30 19:13:36.000000000 +0000
+++ cairo-dock-2.2.0-4-new//src/gldit/CMakeLists.txt 2010-10-30 19:27:45.000000000 +0000
@@ -84,9 +84,7 @@
link_directories(
${PACKAGE_LIBRARY_DIRS}
${XEXTEND_LIBRARY_DIRS}
- ${CMAKE_SOURCE_DIR}/src/gldit
- ${CMAKE_SOURCE_DIR}/src/icon-factory
- ${CMAKE_SOURCE_DIR}/src/implementations)
+ )

# Define the library
add_library ("gldi" SHARED ${core_lib_SRCS})



cairo-dock-plugins-2.3.0.3.ebuild -

# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="2"

inherit cmake-utils eutils versionator

MY_PN="${PN/plugins/plug-ins}"
MY_PV=$(replace_version_separator 3 '~')
MM_PV=$(get_version_component_range '1-2')
MMD_PV=$(get_version_component_range '1-3')

DESCRIPTION="Official plugins for cairo-dock"
HOMEPAGE="https://launchpad.net/cairo-dock-plug-ins/"
SRC_URI="http://launchpad.net/${MY_PN}/${MM_PV}/${MMD_PV}/+download/${PN}-${MY_PV}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="alsa compiz exif gio gmenu gnome kde mail musicplayer network-monitor powermanager terminal tomboy webkit wifi xfce xgamma xklavier"

RDEPEND="
dev-libs/dbus-glib
dev-libs/glib:2
dev-libs/libxml2
gnome-base/librsvg
sys-apps/dbus
x11-libs/cairo
x11-libs/gtk+:2
x11-libs/gtkglext
~x11-misc/cairo-dock-${PV}

alsa? ( media-libs/alsa-lib )
exif? ( media-libs/libexif )
gmenu? ( gnome-base/gnome-menus )
kde? ( kde-base/kdelibs )
terminal? ( x11-libs/vte )
webkit? ( >=net-libs/webkit-gtk-1.0 )
xfce? ( xfce-base/thunar )
xgamma? ( x11-libs/libXxf86vm )
xklavier? ( x11-libs/libxklavier )
"

DEPEND="${RDEPEND}
dev-util/intltool
sys-devel/gettext
dev-util/pkgconfig
"

S="${WORKDIR}/${PN}-${MY_PV}"
Back to top
View user's profile Send private message
jasn
Guru
Guru


Joined: 05 May 2005
Posts: 439
Location: Maryland, US

PostPosted: Mon Aug 22, 2011 1:18 pm    Post subject: Reply with quote

pmootrey,

Thanks for that ebuild. It worked for me once I removed the epatch "${FILESDIR}/${P}-rpath.patch" and the cairo-dock-2.3.0.3-rpath.patch which kept failing when trying to apply. I even tried changing the version numbers in the patch to 2.3.0-3, but it wouldn't apply. I ended up simply removing both, and the package emerged cleanly and seems to work normally. Hopefully the desktop-effects overlay will get their cairo-dock ebuild updated to 2.3.03.

Thanks..
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
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