Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cairo-dock-9999 from amielke-overlay
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
yellowhat
Guru
Guru


Joined: 10 Sep 2008
Posts: 500

PostPosted: Thu Jan 26, 2012 7:31 pm    Post subject: Cairo-dock-9999 from amielke-overlay Reply with quote

Hi all,
I am using a live ebuild of cairo-dock and cairo-dock-plugins from amielke-overlay, it's quite for a month (18th december) that it gives me always the same error:

Code:
>>> Emerging (1 of 2) x11-misc/cairo-dock-9999 from amielke-overlay
>>> Unpacking source...
 * bzr pull start -->
 *    repository: lp:cairo-dock-core
You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data.  See "bzr help launchpad-login".
http://bazaar.launchpad.net/~cairo-dock-team/cairo-dock-core/cairo-dock is permanently redirected to http://bazaar.launchpad.net/~cairo-dock-team/cairo-dock-core/cairo-dock/changes
You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data.  See "bzr help launchpad-login".
No revisions to pull.                                                                                                                                                                 
 * exporting ...
 * revision 975 is now in /var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999
>>> Source unpacked in /var/tmp/portage/x11-misc/cairo-dock-9999/work
>>> Preparing source in /var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999_build"
cmake --no-warn-unused-cli -C /var/tmp/portage/x11-misc/cairo-dock-9999/temp/gentoo_common_config.cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_INSTALL_DO_STRIP=OFF -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/x11-misc/cairo-dock-9999/temp/gentoo_rules.cmake  /var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999
Not searching for unused variables given on the command line.
loading initial cache file /var/tmp/portage/x11-misc/cairo-dock-9999/temp/gentoo_common_config.cmake
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/i686-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/bin/i686-pc-linux-gnu-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/i686-pc-linux-gnu-g++
-- Check for working CXX compiler: /usr/bin/i686-pc-linux-gnu-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- checking for modules 'gthread-2.0;cairo;librsvg-2.0;dbus-1;dbus-glib-1;libxml-2.0;xrender;gl;glu;pangox;libcurl'
--   found gthread-2.0, version 2.31.12
--   found cairo, version 1.10.2
--   found librsvg-2.0, version 2.34.2
--   found dbus-1, version 1.4.16
--   found dbus-glib-1, version 0.98
--   found libxml-2.0, version 2.7.8
--   found xrender, version 0.9.6
--   found gl, version 8.0.0
--   found glu, version 8.0.0
--   found pangox, version 1.29.4
--   found libcurl, version 7.23.1
-- checking for modules 'xtst;xcomposite;xinerama'
--   found xtst, version 1.2.0
--   found xcomposite, version 0.4.3
--   found xinerama, version 1.1.1
-- checking for module 'gtk+-3.0'
--   found gtk+-3.0, version 3.3.10
-- Looking for encrypt in crypt
-- Looking for encrypt in crypt - found
-- Looking for include files HAVE_MATH_H
-- Looking for include files HAVE_MATH_H - found
-- Looking for LC_MESSAGES
-- Looking for LC_MESSAGES - found
-- Looking for sin in m
-- Looking for sin in m - found
--
-- Cairo-Dock will be compiled with the following options :
--  * Use X Extensions : yes
--  * crypt passwords : yes
--  * GTK version : 3
--
-- Building cairo-dock_en.1.gz
--   Building zh_TW.gmo...
--   Building zh_CN.gmo...
--   Building vi.gmo...
--   Building uk.gmo...
--   Building tr.gmo...
--   Building sv.gmo...
--   Building es.gmo...
--   Building gl.gmo...
--   Building sr.gmo...
--   Building sl.gmo...
--   Building sk.gmo...
--   Building ru.gmo...
--   Building ro.gmo...
--   Building pt_BR.gmo...
--   Building pt.gmo...
--   Building ja.gmo...
--   Building el.gmo...
--   Building pl.gmo...
--   Building oc.gmo...
--   Building nl.gmo...
--   Building nb.gmo...
--   Building ko.gmo...
--   Building it.gmo...
--   Building id.gmo...
--   Building hu.gmo...
--   Building de.gmo...
--   Building fr.gmo...
--   Building fo.gmo...
--   Building fi.gmo...
--   Building eu.gmo...
--   Building et.gmo...
--   Building cy.gmo...
--   Building cs.gmo...
--   Building ca.gmo...
--   Building bn.gmo...
--   Building be.gmo...
--   Building ar.gmo...
--   Building en.gmo...
-- <<< Gentoo configuration >>>
Build type      Gentoo
Install path    /usr
Compiler flags:
C               -march=native -O2 -pipe -fomit-frame-pointer
C++             -march=native -O2 -pipe -fomit-frame-pointer
Linker flags:
Executable       -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu
Module           -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu
Shared           -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu

-- Configuring done
-- Generating done
-- Build files have been written to: /var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999_build
>>> Source configured.
>>> Compiling source in /var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999_build"
make -j3
Scanning dependencies of target icon-factory
Scanning dependencies of target implementations
Scanning dependencies of target help
[  1%] Building C object src/help/CMakeFiles/help.dir/applet-init.c.o
[  2%] [  3%] Building C object src/icon-factory/CMakeFiles/icon-factory.dir/cairo-dock-launcher-factory.c.o
Building C object src/implementations/CMakeFiles/implementations.dir/cairo-dock-gauge.c.o
[  4%] In file included from /var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/gldit/cairo-dock-keybinder.h:34:0,
                 from /var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/gldit/cairo-dock.h:99,
                 from /var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/help/applet-config.h:24,
                 from /var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/help/applet-init.c:22:
/usr/include/glib-2.0/glib/gtypes.h:28:2: error: #error "Only <glib.h> can be included directly."
Building C object src/icon-factory/CMakeFiles/icon-factory.dir/cairo-dock-application-factory.c.o
make[2]: *** [src/help/CMakeFiles/help.dir/applet-init.c.o] Errore 1
make[1]: *** [src/help/CMakeFiles/help.dir/all] Errore 2
make[1]: *** Attesa dei processi non terminati....
[  6%] Building C object src/icon-factory/CMakeFiles/icon-factory.dir/cairo-dock-separator-factory.c.o
[  7%] Building C object src/icon-factory/CMakeFiles/icon-factory.dir/cairo-dock-applet-factory.c.o
[  8%] Building C object src/icon-factory/CMakeFiles/icon-factory.dir/cairo-dock-desktop-file-factory.c.o
[  9%] Building C object src/implementations/CMakeFiles/implementations.dir/cairo-dock-graph.c.o
[ 10%] Building C object src/implementations/CMakeFiles/implementations.dir/cairo-dock-hiding-effect.c.o
Linking C static library libicon-factory.a
[ 10%] Built target icon-factory
[ 12%] Building C object src/implementations/CMakeFiles/implementations.dir/cairo-dock-icon-container.c.o
[ 13%] Building C object src/implementations/CMakeFiles/implementations.dir/cairo-dock-default-view.c.o
[ 14%] Building C object src/implementations/CMakeFiles/implementations.dir/cairo-dock-compiz-integration.c.o
[ 15%] Building C object src/implementations/CMakeFiles/implementations.dir/cairo-dock-kwin-integration.c.o
Linking C static library libimplementations.a
[ 15%] Built target implementations
make: *** [all] Errore 2
emake failed
 * ERROR: x11-misc/cairo-dock-9999 failed (compile phase):
 *   Make failed!


Any ideas?

Thanks
_________________
Gentoo Linux ~amd64, Kernel 4.5.3, Enermax 400W, Intel i7-3770, DDR3 8GB, Sapphire HD6870
Back to top
View user's profile Send private message
rsa4046
l33t
l33t


Joined: 07 Feb 2005
Posts: 660
Location: The Big H, a bit SSW

PostPosted: Sat Jan 28, 2012 4:07 am    Post subject: Reply with quote

The line of interest is:
Code:
/usr/include/glib-2.0/glib/gtypes.h:28:2: error: #error "Only <glib.h> can be included directly."
What version of dev-libs/glib are you running? If =glib-2.31, then this is not bug, just a problem because of changes to what's allowed for header includes. See e.g., this bug report. The patch required to correct this is pretty straightforward.
Back to top
View user's profile Send private message
yellowhat
Guru
Guru


Joined: 10 Sep 2008
Posts: 500

PostPosted: Sat Jan 28, 2012 10:39 am    Post subject: Reply with quote

I am using dev-libs/glib-2.31.12, I will try this patch libgnomecups-0.2.3-glib-include.patch
_________________
Gentoo Linux ~amd64, Kernel 4.5.3, Enermax 400W, Intel i7-3770, DDR3 8GB, Sapphire HD6870
Back to top
View user's profile Send private message
yellowhat
Guru
Guru


Joined: 10 Sep 2008
Posts: 500

PostPosted: Sat Jan 28, 2012 10:45 am    Post subject: Reply with quote

I have tried to modify ebuild on this way:

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

EAPI="2"

inherit cmake-utils bzr

EBZR_REPO_URI="lp:cairo-dock-core"
#EBZR_REPO_URI="lp:cairo-dock-core/2.3"

DESCRIPTION="Cairo-dock is a fast, responsive, Mac OS X-like dock."
HOMEPAGE="https://launchpad.net/cairo-dock-core/"
SRC_URI=""

LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
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
"

src_prepare() {
   bzr_src_prepare

   ## Glib-Patch
   epatch "${FILESDIR}/glib-include.patch" || die
#   intltoolize --automake --copy --force || die "intltoolize failed"
#   eautoreconf
}

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

#src_install() {
#   #emake DESTDIR="${D}" install || die "emake install failed"
#}

MAKE_IN_SOURCE_BUILD=true

pkg_postinst() {
   ewarn "THIS IS A LIVE EBUILD, SO YOU KNOW THE RISKS !"
   ewarn "DO NOT report bugs to Gentoo's bugzilla"
   ewarn "Please report all bugs to #gentoo-desktop-effects"
   einfo "Thank you on behalf of the Gentoo Desktop-Effects team"
}


But it gives me error:

Code:
* Applying glib-include.patch ...

 * Failed Patch: glib-include.patch !
 *  ( /usr/portage/dist/local/x11-misc/cairo-dock/files/glib-include.patch )

_________________
Gentoo Linux ~amd64, Kernel 4.5.3, Enermax 400W, Intel i7-3770, DDR3 8GB, Sapphire HD6870
Back to top
View user's profile Send private message
hedmo
l33t
l33t


Joined: 29 Aug 2009
Posts: 923
Location: halmstad

PostPosted: Sat Jan 28, 2012 10:54 am    Post subject: Reply with quote

yellowhat

why 9999?

why not :

x11-misc/cairo-dock-2.4.0.2::quarks_gentoo_hardened_overlay

regards hedmo
Back to top
View user's profile Send private message
yellowhat
Guru
Guru


Joined: 10 Sep 2008
Posts: 500

PostPosted: Sat Jan 28, 2012 10:56 am    Post subject: Reply with quote

I prefer a live ebuild to see new feature
_________________
Gentoo Linux ~amd64, Kernel 4.5.3, Enermax 400W, Intel i7-3770, DDR3 8GB, Sapphire HD6870
Back to top
View user's profile Send private message
rsa4046
l33t
l33t


Joined: 07 Feb 2005
Posts: 660
Location: The Big H, a bit SSW

PostPosted: Sat Jan 28, 2012 7:25 pm    Post subject: Reply with quote

yellowhat wrote:

But it gives me error:

Code:
* Applying glib-include.patch ...

 * Failed Patch: glib-include.patch !
 *  ( /usr/portage/dist/local/x11-misc/cairo-dock/files/glib-include.patch )


You have to modify the patch. I put one together you can try, it seems to patch code downloaded as latest source (the one tagged with 975 revisions). Here's what I did:
Code:
$ mkdir cairo-dock
$ cd cairo-dock
$ mkdir 1
$ cd 1
$ bzr branch lp:cairo-dock-core
You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data.  See "bzr help launchpad-login".
Branched 975 revision(s).
$ cp ../1 ../2 -r
$ cd ../2
So 2/ will be the tree that gets changed. I went through this tree and changed specific includes (i.e., #include <glib/blah.h>) to match #include <glib.h>
Code:
$ for i in `find . -exec grep -l "#include <glib/" {} \;` ; do sed -i -e 's/#include <glib\/.*/#include <glib.h>/g' $i ; done
The works, almost, but we end up with repeat lines as the original files contained numerous instances of #include <glib/...> in the same file. So I went through by hand and just eliminated them. Then I generated the patch:
Code:
$ diff -urN 1 2 > patch
I generate a third tree to test this patch:
Code:
$ cp -r 1 3
$ cd 3
$ patch --dry-run -p1 -i ../patch
patching file cairo-dock-core/src/cairo-dock-gui-backend.c
patching file cairo-dock-core/src/cairo-dock-gui-commons.c
patching file cairo-dock-core/src/cairo-dock-gui-items.c
patching file cairo-dock-core/src/cairo-dock-gui-main.c
patching file cairo-dock-core/src/cairo-dock-gui-simple.c
patching file cairo-dock-core/src/cairo-dock-gui-themes.c
patching file cairo-dock-core/src/cairo-dock-menu.c
patching file cairo-dock-core/src/cairo-dock.c
patching file cairo-dock-core/src/gldit/cairo-dock-dock-facility.c
patching file cairo-dock-core/src/gldit/cairo-dock-dock-factory.c
patching file cairo-dock-core/src/gldit/cairo-dock-dock-manager.c
patching file cairo-dock-core/src/gldit/cairo-dock-draw-opengl.c
patching file cairo-dock-core/src/gldit/cairo-dock-flying-container.c
patching file cairo-dock-core/src/gldit/cairo-dock-gui-factory.c
patching file cairo-dock-core/src/gldit/cairo-dock-gui-manager.c
patching file cairo-dock-core/src/gldit/cairo-dock-icon-facility.c
patching file cairo-dock-core/src/gldit/cairo-dock-keybinder.h
patching file cairo-dock-core/src/gldit/cairo-dock-launcher-manager.c
patching file cairo-dock-core/src/gldit/cairo-dock-module-factory.c
patching file cairo-dock-core/src/gldit/cairo-dock-module-manager.c
patching file cairo-dock-core/src/gldit/cairo-dock-opengl-font.c
patching file cairo-dock-core/src/gldit/cairo-dock-opengl-path.c
patching file cairo-dock-core/src/gldit/cairo-dock-packages.c
patching file cairo-dock-core/src/gldit/cairo-dock-struct.h
patching file cairo-dock-core/src/gldit/cairo-dock-themes-manager.c
So it seems to work ok; I then apply the patch for real and run diff on the result.
Code:

$ patch -p1 -i ../patch > /dev/null
$ cd ..
$ diff 1 3
diff -r 1/cairo-dock-core/src/cairo-dock-gui-backend.c 3/cairo-dock-core/src/cairo-dock-gui-backend.c
24,25c24
< #include <glib/gstdio.h>
< #include <glib/gi18n.h>
---
> #include <glib.h>
diff -r 1/cairo-dock-core/src/cairo-dock-gui-commons.c 3/cairo-dock-core/src/cairo-dock-gui-commons.c
27,28c27
< #include <glib/gstdio.h>
< #include <glib/gi18n.h>
---
> #include <glib.h>
diff -r 1/cairo-dock-core/src/cairo-dock-gui-items.c 3/cairo-dock-core/src/cairo-dock-gui-items.c
25,26c25
< #include <glib/gstdio.h>
< #include <glib/gi18n.h>
---
> #include <glib.h>
diff -r 1/cairo-dock-core/src/cairo-dock-gui-main.c 3/cairo-dock-core/src/cairo-dock-gui-main.c
24,25c24
< #include <glib/gstdio.h>
< #include <glib/gi18n.h>
---
> #include <glib.h>
diff -r 1/cairo-dock-core/src/cairo-dock-gui-simple.c 3/cairo-dock-core/src/cairo-dock-gui-simple.c
24,25c24
< #include <glib/gstdio.h>
< #include <glib/gi18n.h>
---
> #include <glib.h>
diff -r 1/cairo-dock-core/src/cairo-dock-gui-themes.c 3/cairo-dock-core/src/cairo-dock-gui-themes.c
27,28c27
< #include <glib/gstdio.h>
< #include <glib/gi18n.h>
---
> #include <glib.h>
diff -r 1/cairo-dock-core/src/cairo-dock-menu.c 3/cairo-dock-core/src/cairo-dock-menu.c
26d25
< #include <glib/gi18n.h>
29d27
< #include <glib/gstdio.h>
diff -r 1/cairo-dock-core/src/cairo-dock.c 3/cairo-dock-core/src/cairo-dock.c
62d61
< #include <glib/gstdio.h>
64,65d62
< #include <glib/gi18n.h>
<
diff -r 1/cairo-dock-core/src/gldit/cairo-dock-dock-facility.c 3/cairo-dock-core/src/gldit/cairo-dock-dock-facility.c
25c25
< #include <glib/gstdio.h>
---
> #include <glib.h>
diff -r 1/cairo-dock-core/src/gldit/cairo-dock-dock-factory.c 3/cairo-dock-core/src/gldit/cairo-dock-dock-factory.c
25c25
< #include <glib/gstdio.h>
---
> #include <glib.h>
diff -r 1/cairo-dock-core/src/gldit/cairo-dock-dock-manager.c 3/cairo-dock-core/src/gldit/cairo-dock-dock-manager.c
25c25
< #include <glib/gstdio.h>
---
> #include <glib.h>
diff -r 1/cairo-dock-core/src/gldit/cairo-dock-draw-opengl.c 3/cairo-dock-core/src/gldit/cairo-dock-draw-opengl.c
26c26
< #include <glib/gstdio.h>
---
> #include <glib.h>
diff -r 1/cairo-dock-core/src/gldit/cairo-dock-flying-container.c 3/cairo-dock-core/src/gldit/cairo-dock-flying-container.c
23c23
< #include <glib/gstdio.h>
---
> #include <glib.h>
diff -r 1/cairo-dock-core/src/gldit/cairo-dock-gui-factory.c 3/cairo-dock-core/src/gldit/cairo-dock-gui-factory.c
24,25c24
< #include <glib/gstdio.h>
< #include <glib/gi18n.h>
---
> #include <glib.h>
diff -r 1/cairo-dock-core/src/gldit/cairo-dock-gui-manager.c 3/cairo-dock-core/src/gldit/cairo-dock-gui-manager.c
24,25c24
< #include <glib/gstdio.h>
< #include <glib/gi18n.h>
---
> #include <glib.h>
diff -r 1/cairo-dock-core/src/gldit/cairo-dock-icon-facility.c 3/cairo-dock-core/src/gldit/cairo-dock-icon-facility.c
26c26
< #include <glib/gstdio.h>
---
> #include <glib.h>
diff -r 1/cairo-dock-core/src/gldit/cairo-dock-keybinder.h 3/cairo-dock-core/src/gldit/cairo-dock-keybinder.h
34c34
< #include <glib/gtypes.h>
---
> #include <glib.h>
diff -r 1/cairo-dock-core/src/gldit/cairo-dock-launcher-manager.c 3/cairo-dock-core/src/gldit/cairo-dock-launcher-manager.c
26c26
< #include <glib/gstdio.h>
---
> #include <glib.h>
diff -r 1/cairo-dock-core/src/gldit/cairo-dock-module-factory.c 3/cairo-dock-core/src/gldit/cairo-dock-module-factory.c
24,25c24
< #include <glib/gstdio.h>
< #include <glib/gi18n.h>
---
> #include <glib.h>
diff -r 1/cairo-dock-core/src/gldit/cairo-dock-module-manager.c 3/cairo-dock-core/src/gldit/cairo-dock-module-manager.c
24,25c24
< #include <glib/gstdio.h>
< #include <glib/gi18n.h>
---
> #include <glib.h>
diff -r 1/cairo-dock-core/src/gldit/cairo-dock-opengl-font.c 3/cairo-dock-core/src/gldit/cairo-dock-opengl-font.c
26c26
< #include <glib/gstdio.h>
---
> #include <glib.h>
diff -r 1/cairo-dock-core/src/gldit/cairo-dock-opengl-path.c 3/cairo-dock-core/src/gldit/cairo-dock-opengl-path.c
25c25
< #include <glib/gstdio.h>
---
> #include <glib.h>
diff -r 1/cairo-dock-core/src/gldit/cairo-dock-packages.c 3/cairo-dock-core/src/gldit/cairo-dock-packages.c
27,28c27
< #include <glib/gstdio.h>
< #include <glib/gi18n.h>
---
> #include <glib.h>
diff -r 1/cairo-dock-core/src/gldit/cairo-dock-struct.h 3/cairo-dock-core/src/gldit/cairo-dock-struct.h
30d29
< #include <glib/gi18n.h>
diff -r 1/cairo-dock-core/src/gldit/cairo-dock-themes-manager.c 3/cairo-dock-core/src/gldit/cairo-dock-themes-manager.c
27,28c27
< #include <glib/gstdio.h>
< #include <glib/gi18n.h>
---
> #include <glib.h>

So it seems produce the correct changes for the glib calls. Try to substitute the patch below for your glib-include.patch and see if that compiles. I did not test this, as I don't have cairo-dock installed. I don't know if you will have the modify the patch further (paths maybe?). Please excuse the long post, but I wanted to document what I was doing. Good luck!
Code:
$ cat patch
diff -urN 1/cairo-dock-core/src/cairo-dock-gui-backend.c 2/cairo-dock-core/src/cairo-dock-gui-backend.c
--- 1/cairo-dock-core/src/cairo-dock-gui-backend.c   2012-01-28 11:41:47.580609000 -0600
+++ 2/cairo-dock-core/src/cairo-dock-gui-backend.c   2012-01-28 12:21:57.455443098 -0600
@@ -21,8 +21,7 @@
 #include <unistd.h>
 #define __USE_XOPEN_EXTENDED
 #include <stdlib.h>
-#include <glib/gstdio.h>
-#include <glib/gi18n.h>
+#include <glib.h>
 
 #include "cairo-dock-keyfile-utilities.h"
 #include "cairo-dock-gui-main.h"
diff -urN 1/cairo-dock-core/src/cairo-dock-gui-commons.c 2/cairo-dock-core/src/cairo-dock-gui-commons.c
--- 1/cairo-dock-core/src/cairo-dock-gui-commons.c   2012-01-28 11:41:47.580609000 -0600
+++ 2/cairo-dock-core/src/cairo-dock-gui-commons.c   2012-01-28 12:22:04.085338397 -0600
@@ -24,8 +24,7 @@
 #include <sys/stat.h>
 #define __USE_POSIX
 #include <time.h>
-#include <glib/gstdio.h>
-#include <glib/gi18n.h>
+#include <glib.h>
 #include <gdk/gdkx.h>
 
 #include "config.h"
diff -urN 1/cairo-dock-core/src/cairo-dock-gui-items.c 2/cairo-dock-core/src/cairo-dock-gui-items.c
--- 1/cairo-dock-core/src/cairo-dock-gui-items.c   2012-01-28 11:41:47.580609000 -0600
+++ 2/cairo-dock-core/src/cairo-dock-gui-items.c   2012-01-28 12:22:10.570235888 -0600
@@ -22,8 +22,7 @@
 #define __USE_XOPEN_EXTENDED
 #include <stdlib.h>
 #include <sys/time.h>
-#include <glib/gstdio.h>
-#include <glib/gi18n.h>
+#include <glib.h>
 
 #include "config.h"
 #include "cairo-dock-module-factory.h"
diff -urN 1/cairo-dock-core/src/cairo-dock-gui-main.c 2/cairo-dock-core/src/cairo-dock-gui-main.c
--- 1/cairo-dock-core/src/cairo-dock-gui-main.c   2012-01-28 11:41:47.580609000 -0600
+++ 2/cairo-dock-core/src/cairo-dock-gui-main.c   2012-01-28 12:22:19.271098259 -0600
@@ -21,8 +21,7 @@
 #include <unistd.h>
 #define __USE_XOPEN_EXTENDED
 #include <stdlib.h>
-#include <glib/gstdio.h>
-#include <glib/gi18n.h>
+#include <glib.h>
 
 #include "config.h"
 #include "cairo-dock-module-factory.h"
diff -urN 1/cairo-dock-core/src/cairo-dock-gui-simple.c 2/cairo-dock-core/src/cairo-dock-gui-simple.c
--- 1/cairo-dock-core/src/cairo-dock-gui-simple.c   2012-01-28 11:41:47.580609000 -0600
+++ 2/cairo-dock-core/src/cairo-dock-gui-simple.c   2012-01-28 12:22:24.391017213 -0600
@@ -21,8 +21,7 @@
 #include <unistd.h>
 #define __USE_XOPEN_EXTENDED
 #include <stdlib.h>
-#include <glib/gstdio.h>
-#include <glib/gi18n.h>
+#include <glib.h>
 
 #include "config.h"
 #include "cairo-dock-config.h"
diff -urN 1/cairo-dock-core/src/cairo-dock-gui-themes.c 2/cairo-dock-core/src/cairo-dock-gui-themes.c
--- 1/cairo-dock-core/src/cairo-dock-gui-themes.c   2012-01-28 11:41:47.580609000 -0600
+++ 2/cairo-dock-core/src/cairo-dock-gui-themes.c   2012-01-28 12:22:31.292907932 -0600
@@ -24,8 +24,7 @@
 #include <sys/stat.h>
 #define __USE_POSIX
 #include <time.h>
-#include <glib/gstdio.h>
-#include <glib/gi18n.h>
+#include <glib.h>
 
 #include "config.h"
 #include "cairo-dock-keyfile-utilities.h"
diff -urN 1/cairo-dock-core/src/cairo-dock-menu.c 2/cairo-dock-core/src/cairo-dock-menu.c
--- 1/cairo-dock-core/src/cairo-dock-menu.c   2012-01-28 11:41:47.580609000 -0600
+++ 2/cairo-dock-core/src/cairo-dock-menu.c   2012-01-28 12:22:39.901771516 -0600
@@ -23,10 +23,8 @@
 #define __USE_POSIX 1
 #include <time.h>
 #include <glib.h>
-#include <glib/gi18n.h>
 #include <cairo.h>
 #include <gtk/gtk.h>
-#include <glib/gstdio.h>
 #include <gdk/gdkx.h>
 
 #include "config.h"
diff -urN 1/cairo-dock-core/src/cairo-dock.c 2/cairo-dock-core/src/cairo-dock.c
--- 1/cairo-dock-core/src/cairo-dock.c   2012-01-28 11:41:47.580609000 -0600
+++ 2/cairo-dock-core/src/cairo-dock.c   2012-01-28 12:22:56.560507221 -0600
@@ -59,10 +59,7 @@
 #include <time.h>
 
 #include <glib.h>
-#include <glib/gstdio.h>
 #include <gtk/gtk.h>
-#include <glib/gi18n.h>
-
 
 #include "config.h"
 #include "cairo-dock-icon-facility.h"  // cairo_dock_get_first_icon
diff -urN 1/cairo-dock-core/src/gldit/cairo-dock-dock-facility.c 2/cairo-dock-core/src/gldit/cairo-dock-dock-facility.c
--- 1/cairo-dock-core/src/gldit/cairo-dock-dock-facility.c   2012-01-28 11:41:47.580609000 -0600
+++ 2/cairo-dock-core/src/gldit/cairo-dock-dock-facility.c   2012-01-28 12:17:45.761343007 -0600
@@ -22,7 +22,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 
-#include <glib/gstdio.h>
+#include <glib.h>
 #include <gtk/gtk.h>
 #include <gdk/gdkx.h>
 
diff -urN 1/cairo-dock-core/src/gldit/cairo-dock-dock-factory.c 2/cairo-dock-core/src/gldit/cairo-dock-dock-factory.c
--- 1/cairo-dock-core/src/gldit/cairo-dock-dock-factory.c   2012-01-28 11:41:47.580609000 -0600
+++ 2/cairo-dock-core/src/gldit/cairo-dock-dock-factory.c   2012-01-28 12:17:45.724343557 -0600
@@ -22,7 +22,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 
-#include <glib/gstdio.h>
+#include <glib.h>
 #include <gtk/gtk.h>
 #include <gdk/gdkx.h>
 
diff -urN 1/cairo-dock-core/src/gldit/cairo-dock-dock-manager.c 2/cairo-dock-core/src/gldit/cairo-dock-dock-manager.c
--- 1/cairo-dock-core/src/gldit/cairo-dock-dock-manager.c   2012-01-28 11:41:47.580609000 -0600
+++ 2/cairo-dock-core/src/gldit/cairo-dock-dock-manager.c   2012-01-28 12:17:45.709343780 -0600
@@ -22,7 +22,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 
-#include <glib/gstdio.h>
+#include <glib.h>
 #include <gtk/gtk.h>
 #include <gdk/gdkx.h>
 
diff -urN 1/cairo-dock-core/src/gldit/cairo-dock-draw-opengl.c 2/cairo-dock-core/src/gldit/cairo-dock-draw-opengl.c
--- 1/cairo-dock-core/src/gldit/cairo-dock-draw-opengl.c   2012-01-28 11:41:47.580609000 -0600
+++ 2/cairo-dock-core/src/gldit/cairo-dock-draw-opengl.c   2012-01-28 12:17:45.766342934 -0600
@@ -23,7 +23,7 @@
 #include <stdlib.h>
 #include <iconv.h>
 
-#include <glib/gstdio.h>
+#include <glib.h>
 #include <gtk/gtk.h>
 #include <gdk/gdkx.h>
 
diff -urN 1/cairo-dock-core/src/gldit/cairo-dock-flying-container.c 2/cairo-dock-core/src/gldit/cairo-dock-flying-container.c
--- 1/cairo-dock-core/src/gldit/cairo-dock-flying-container.c   2012-01-28 11:41:47.580609000 -0600
+++ 2/cairo-dock-core/src/gldit/cairo-dock-flying-container.c   2012-01-28 12:17:45.739343335 -0600
@@ -20,7 +20,7 @@
 #include <stdlib.h>
 #include <sys/time.h>
 #include <cairo.h>
-#include <glib/gstdio.h>
+#include <glib.h>
 #include <gtk/gtk.h>
 
 #include "gldi-config.h"
diff -urN 1/cairo-dock-core/src/gldit/cairo-dock-gui-factory.c 2/cairo-dock-core/src/gldit/cairo-dock-gui-factory.c
--- 1/cairo-dock-core/src/gldit/cairo-dock-gui-factory.c   2012-01-28 11:41:47.580609000 -0600
+++ 2/cairo-dock-core/src/gldit/cairo-dock-gui-factory.c   2012-01-28 12:23:23.711075725 -0600
@@ -21,8 +21,7 @@
 #include <unistd.h>
 #define __USE_XOPEN_EXTENDED
 #include <stdlib.h>
-#include <glib/gstdio.h>
-#include <glib/gi18n.h>
+#include <glib.h>
 
 #include "gldi-config.h"
 #include "cairo-dock-struct.h"
diff -urN 1/cairo-dock-core/src/gldit/cairo-dock-gui-manager.c 2/cairo-dock-core/src/gldit/cairo-dock-gui-manager.c
--- 1/cairo-dock-core/src/gldit/cairo-dock-gui-manager.c   2012-01-28 11:41:47.580609000 -0600
+++ 2/cairo-dock-core/src/gldit/cairo-dock-gui-manager.c   2012-01-28 12:23:29.738979794 -0600
@@ -21,8 +21,7 @@
 #include <unistd.h>
 #define __USE_XOPEN_EXTENDED
 #include <stdlib.h>
-#include <glib/gstdio.h>
-#include <glib/gi18n.h>
+#include <glib.h>
 
 #include "gldi-config.h"
 #include "cairo-dock-struct.h"
diff -urN 1/cairo-dock-core/src/gldit/cairo-dock-icon-facility.c 2/cairo-dock-core/src/gldit/cairo-dock-icon-facility.c
--- 1/cairo-dock-core/src/gldit/cairo-dock-icon-facility.c   2012-01-28 11:41:47.580609000 -0600
+++ 2/cairo-dock-core/src/gldit/cairo-dock-icon-facility.c   2012-01-28 12:17:45.729343483 -0600
@@ -23,7 +23,7 @@
 #include <stdlib.h>
 
 #include <gtk/gtk.h>
-#include <glib/gstdio.h>
+#include <glib.h>
 
 #include <cairo.h>
 
diff -urN 1/cairo-dock-core/src/gldit/cairo-dock-keybinder.h 2/cairo-dock-core/src/gldit/cairo-dock-keybinder.h
--- 1/cairo-dock-core/src/gldit/cairo-dock-keybinder.h   2012-01-28 11:41:47.580609000 -0600
+++ 2/cairo-dock-core/src/gldit/cairo-dock-keybinder.h   2012-01-28 12:17:45.753343127 -0600
@@ -31,7 +31,7 @@
 #ifndef __CD_KEY_BINDER_H__
 #define __CD_KEY_BINDER_H__
 
-#include <glib/gtypes.h>
+#include <glib.h>
 #include "cairo-dock-struct.h"
 #include "cairo-dock-manager.h"
 
diff -urN 1/cairo-dock-core/src/gldit/cairo-dock-launcher-manager.c 2/cairo-dock-core/src/gldit/cairo-dock-launcher-manager.c
--- 1/cairo-dock-core/src/gldit/cairo-dock-launcher-manager.c   2012-01-28 11:41:47.580609000 -0600
+++ 2/cairo-dock-core/src/gldit/cairo-dock-launcher-manager.c   2012-01-28 12:17:45.716343675 -0600
@@ -23,7 +23,7 @@
 #include <gtk/gtk.h>
 #include <stdlib.h>
 #include <string.h>
-#include <glib/gstdio.h>
+#include <glib.h>
 
 
 #include "cairo-dock-icon-facility.h"  // cairo_dock_compare_icons_order
diff -urN 1/cairo-dock-core/src/gldit/cairo-dock-module-factory.c 2/cairo-dock-core/src/gldit/cairo-dock-module-factory.c
--- 1/cairo-dock-core/src/gldit/cairo-dock-module-factory.c   2012-01-28 11:41:47.580609000 -0600
+++ 2/cairo-dock-core/src/gldit/cairo-dock-module-factory.c   2012-01-28 12:23:44.415746083 -0600
@@ -21,8 +21,7 @@
 #include <string.h>
 #include <stdlib.h>
 #include <gtk/gtk.h>
-#include <glib/gstdio.h>
-#include <glib/gi18n.h>
+#include <glib.h>
 #include <dlfcn.h>
 
 #include <cairo.h>
diff -urN 1/cairo-dock-core/src/gldit/cairo-dock-module-manager.c 2/cairo-dock-core/src/gldit/cairo-dock-module-manager.c
--- 1/cairo-dock-core/src/gldit/cairo-dock-module-manager.c   2012-01-28 11:41:47.580609000 -0600
+++ 2/cairo-dock-core/src/gldit/cairo-dock-module-manager.c   2012-01-28 12:23:49.669662297 -0600
@@ -21,8 +21,7 @@
 #include <string.h>
 #include <stdlib.h>
 #include <gtk/gtk.h>
-#include <glib/gstdio.h>
-#include <glib/gi18n.h>
+#include <glib.h>
 
 #include <cairo.h>
 
diff -urN 1/cairo-dock-core/src/gldit/cairo-dock-opengl-font.c 2/cairo-dock-core/src/gldit/cairo-dock-opengl-font.c
--- 1/cairo-dock-core/src/gldit/cairo-dock-opengl-font.c   2012-01-28 11:41:47.580609000 -0600
+++ 2/cairo-dock-core/src/gldit/cairo-dock-opengl-font.c   2012-01-28 12:17:45.726343527 -0600
@@ -23,7 +23,7 @@
 #include <stdlib.h>
 #include <iconv.h>
 
-#include <glib/gstdio.h>
+#include <glib.h>
 #include <gtk/gtk.h>
 #include <gdk/gdkx.h>
 
diff -urN 1/cairo-dock-core/src/gldit/cairo-dock-opengl-path.c 2/cairo-dock-core/src/gldit/cairo-dock-opengl-path.c
--- 1/cairo-dock-core/src/gldit/cairo-dock-opengl-path.c   2012-01-28 11:41:47.580609000 -0600
+++ 2/cairo-dock-core/src/gldit/cairo-dock-opengl-path.c   2012-01-28 12:17:45.711343750 -0600
@@ -22,7 +22,7 @@
 #include <stdlib.h>
 #include <math.h>
 
-#include <glib/gstdio.h>
+#include <glib.h>
 #include <gtk/gtk.h>
 #include <gdk/gdkx.h>
 
diff -urN 1/cairo-dock-core/src/gldit/cairo-dock-packages.c 2/cairo-dock-core/src/gldit/cairo-dock-packages.c
--- 1/cairo-dock-core/src/gldit/cairo-dock-packages.c   2012-01-28 11:41:47.580609000 -0600
+++ 2/cairo-dock-core/src/gldit/cairo-dock-packages.c   2012-01-28 12:24:00.718486072 -0600
@@ -24,8 +24,7 @@
 #include <sys/stat.h>
 #define __USE_POSIX
 #include <time.h>
-#include <glib/gstdio.h>
-#include <glib/gi18n.h>
+#include <glib.h>
 #include <curl/curl.h>
 
 #include "gldi-config.h"
diff -urN 1/cairo-dock-core/src/gldit/cairo-dock-struct.h 2/cairo-dock-core/src/gldit/cairo-dock-struct.h
--- 1/cairo-dock-core/src/gldit/cairo-dock-struct.h   2012-01-28 11:41:47.580609000 -0600
+++ 2/cairo-dock-core/src/gldit/cairo-dock-struct.h   2012-01-28 12:24:08.561360905 -0600
@@ -27,7 +27,6 @@
 #include <cairo.h>
 #include <librsvg/rsvg.h>
 #include <librsvg/rsvg-cairo.h>
-#include <glib/gi18n.h>
 //#include <X11/extensions/Xdamage.h>
 
 #include <GL/gl.h>
diff -urN 1/cairo-dock-core/src/gldit/cairo-dock-themes-manager.c 2/cairo-dock-core/src/gldit/cairo-dock-themes-manager.c
--- 1/cairo-dock-core/src/gldit/cairo-dock-themes-manager.c   2012-01-28 11:41:47.580609000 -0600
+++ 2/cairo-dock-core/src/gldit/cairo-dock-themes-manager.c   2012-01-28 12:24:17.379220093 -0600
@@ -24,8 +24,7 @@
 #include <sys/stat.h>
 #define __USE_POSIX
 #include <time.h>
-#include <glib/gstdio.h>
-#include <glib/gi18n.h>
+#include <glib.h>
 
 #include "gldi-config.h"
 #include "cairo-dock-config.h"
Back to top
View user's profile Send private message
rsa4046
l33t
l33t


Joined: 07 Feb 2005
Posts: 660
Location: The Big H, a bit SSW

PostPosted: Sat Jan 28, 2012 7:47 pm    Post subject: Reply with quote

One other thing: I don't really understand how epatch works, so if there is a path problem, e.g., patch complains about the wrong -p or --strip option, try stripping out the leading folder name as follows (only the first change is shown, the others will be similar)
Code:
diff -urN cairo-dock-core/src/cairo-dock-gui-backend.c~ cairo-dock-core/src/cairo-dock-gui-backend.c
--- cairo-dock-core/src/cairo-dock-gui-backend.c~   2012-01-28 11:41:47.580609000 -0600
+++ cairo-dock-core/src/cairo-dock-gui-backend.c   2012-01-28 12:21:57.455443098 -0600
@@ -21,8 +21,7 @@
 #include <unistd.h>
 #define __USE_XOPEN_EXTENDED
 #include <stdlib.h>
-#include <glib/gstdio.h>
-#include <glib/gi18n.h>
+#include <glib.h>
 
 #include "cairo-dock-keyfile-utilities.h"
 #include "cairo-dock-gui-main.h"
Back to top
View user's profile Send private message
yellowhat
Guru
Guru


Joined: 10 Sep 2008
Posts: 500

PostPosted: Sun Jan 29, 2012 11:09 am    Post subject: Reply with quote

Thank you very much I have never created a patch.
This is what I created http://pastebin.com/ANdZSJBq but it continues to gives my that error during patching in emerge.
_________________
Gentoo Linux ~amd64, Kernel 4.5.3, Enermax 400W, Intel i7-3770, DDR3 8GB, Sapphire HD6870
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10220
Location: Somewhere over Atlanta, Georgia

PostPosted: Sun Jan 29, 2012 3:40 pm    Post subject: Reply with quote

Moved from Desktop Environments to Unsupported Software. The ebuilds are from an overlay so the topic fits better here.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
rsa4046
l33t
l33t


Joined: 07 Feb 2005
Posts: 660
Location: The Big H, a bit SSW

PostPosted: Sun Jan 29, 2012 5:08 pm    Post subject: Reply with quote

yellowhat wrote:
Thank you very much I have never created a patch.
This is what I created http://pastebin.com/ANdZSJBq but it continues to gives my that error during patching in emerge.

Hi yellowhat,
After adding the overlay, I used the same patch as in my initial post above, and this patch appears to work OK (i.e., I see "Applying glib-include.patch ... [ ok ]>>> Source prepared."), but there are other problems after that that cause the code to error out (also the compilation may be set up to treat warnings as errors). Evidently there is still some work to be done :? . See below:
Code:
# locate cairo-dock-9999.ebuild
/var/lib/layman/amielke-overlay/x11-misc/cairo-dock/cairo-dock-9999.ebuild
# cd /usr/local/portage
# mkdir x11-misc/cairo-dock -p
# cd x11-misc/cairo-dock/
# cp -ariv /var/lib/layman/amielke-overlay/x11-misc/cairo-dock/* .
`/var/lib/layman/amielke-overlay/x11-misc/cairo-dock/ChangeLog' -> `./ChangeLog'
`/var/lib/layman/amielke-overlay/x11-misc/cairo-dock/Manifest' -> `./Manifest'
`/var/lib/layman/amielke-overlay/x11-misc/cairo-dock/cairo-dock-2.1.3_p9.ebuild' -> `./cairo-dock-2.1.3_p9.ebuild'
`/var/lib/layman/amielke-overlay/x11-misc/cairo-dock/cairo-dock-2.2.0.4.ebuild' -> `./cairo-dock-2.2.0.4.ebuild'
`/var/lib/layman/amielke-overlay/x11-misc/cairo-dock/cairo-dock-2.3.0.2.ebuild' -> `./cairo-dock-2.3.0.2.ebuild'
`/var/lib/layman/amielke-overlay/x11-misc/cairo-dock/cairo-dock-9999.ebuild' -> `./cairo-dock-9999.ebuild'
`/var/lib/layman/amielke-overlay/x11-misc/cairo-dock/files' -> `./files'
`/var/lib/layman/amielke-overlay/x11-misc/cairo-dock/files/cairo-dock-2.2.0.4-rpath.patch' -> `./files/cairo-dock-2.2.0.4-rpath.patch'
`/var/lib/layman/amielke-overlay/x11-misc/cairo-dock/files/cairo-dock-2.3.0.2-rpath.patch' -> `./files/cairo-dock-2.3.0.2-rpath.patch'
`/var/lib/layman/amielke-overlay/x11-misc/cairo-dock/metadata.xml' -> `./metadata.xml'
# cat /tmp/patch >> files/glib-include.patch
# ebuild cairo-dock-9999.ebuild digest
>>> Creating Manifest for /usr/local/portage/x11-misc/cairo-dock
# emerge -va =cairo-dock-9999

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    *] x11-misc/cairo-dock-9999  USE="-xcomposite" 0 kB [1]

Total: 1 package (1 new), Size of downloads: 0 kB
Portage tree and overlays:
 [0] /usr/portage
 [1] /usr/local/portage

Would you like to merge these packages? [Yes/No] y

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) x11-misc/cairo-dock-9999 from local
>>> Unpacking source...
 * bzr pull start -->
 *    repository: lp:cairo-dock-core
You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data.  See "bzr help launchpad-login".
http://bazaar.launchpad.net/~cairo-dock-team/cairo-dock-core/cairo-dock is permanently redirected to http://bazaar.launchpad.net/~cairo-dock-team/cairo-dock-core/cairo-dock/changes
You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data.  See "bzr help launchpad-login".
No revisions to pull.                                                                                                                                                                                 
 * exporting ...
 * revision 975 is now in /var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999
>>> Source unpacked in /var/tmp/portage/x11-misc/cairo-dock-9999/work
>>> Preparing source in /var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999 ...
 * QA Notice: The 'hasq' function is deprecated (replaced by 'has')
 * Applying glib-include.patch ...                                                                                                                                                               [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999_build"
cmake --no-warn-unused-cli -C /var/tmp/portage/x11-misc/cairo-dock-9999/temp/gentoo_common_config.cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_INSTALL_DO_STRIP=OFF -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/x11-misc/cairo-dock-9999/temp/gentoo_rules.cmake  /var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999
Not searching for unused variables given on the command line.
loading initial cache file /var/tmp/portage/x11-misc/cairo-dock-9999/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
-- checking for modules 'gthread-2.0;cairo;librsvg-2.0;dbus-1;dbus-glib-1;libxml-2.0;xrender;gl;glu;pangox;libcurl'
--   found gthread-2.0, version 2.31.12
--   found cairo, version 1.10.2
--   found librsvg-2.0, version 2.34.2
--   found dbus-1, version 1.4.16
--   found dbus-glib-1, version 0.98
--   found libxml-2.0, version 2.7.8
--   found xrender, version 0.9.6
--   found gl, version 7.11.0
--   found glu, version 7.11.0
--   found pangox, version 1.29.4
--   found libcurl, version 7.24.0
-- checking for modules 'xtst;xcomposite;xinerama'
--   found xtst, version 1.2.0
--   found xcomposite, version 0.4.3
--   found xinerama, version 1.1.1
-- checking for module 'gtk+-3.0'
--   found gtk+-3.0, version 3.3.10
-- Looking for encrypt in crypt
-- Looking for encrypt in crypt - found
-- Looking for include files HAVE_MATH_H
-- Looking for include files HAVE_MATH_H - found
-- Looking for LC_MESSAGES
-- Looking for LC_MESSAGES - found
-- Looking for sin in m
-- Looking for sin in m - found
--
-- Cairo-Dock will be compiled with the following options :
--  * Use X Extensions : yes
--  * crypt passwords : yes
--  * GTK version : 3
--
-- Building cairo-dock_en.1.gz
--   Building pt.gmo...
--   Building ko.gmo...
--   Building pl.gmo...
--   Building pt_BR.gmo...
--   Building eu.gmo...
--   Building ar.gmo...
--   Building et.gmo...
--   Building cy.gmo...
--   Building hu.gmo...
--   Building uk.gmo...
--   Building be.gmo...
--   Building fo.gmo...
--   Building oc.gmo...
--   Building ja.gmo...
--   Building nb.gmo...
--   Building sl.gmo...
--   Building fr.gmo...
--   Building zh_CN.gmo...
--   Building sk.gmo...
--   Building vi.gmo...
--   Building en.gmo...
--   Building gl.gmo...
--   Building bn.gmo...
--   Building ru.gmo...
--   Building ro.gmo...
--   Building sr.gmo...
--   Building it.gmo...
--   Building nl.gmo...
--   Building tr.gmo...
--   Building es.gmo...
--   Building zh_TW.gmo...
--   Building de.gmo...
--   Building el.gmo...
--   Building fi.gmo...
--   Building id.gmo...
--   Building ca.gmo...
--   Building cs.gmo...
--   Building sv.gmo...
-- <<< Gentoo configuration >>>
Build type      Gentoo
Install path    /usr
Compiler flags:
C               -mtune=generic -O2 -pipe
C++             -mtune=generic -O2 -pipe
Linker flags:
Executable       -Wl,-O1 -Wl,--sort-common -Wl,--as-needed
Module           -Wl,-O1 -Wl,--sort-common -Wl,--as-needed
Shared           -Wl,-O1 -Wl,--sort-common -Wl,--as-needed

-- Configuring done
-- Generating done
-- Build files have been written to: /var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999_build
>>> Source configured.
>>> Compiling source in /var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999_build"
make -j17
Scanning dependencies of target help
Scanning dependencies of target icon-factory
Scanning dependencies of target i18n
Scanning dependencies of target implementations
[  1%] messages.”
[  2%] [  3%] [  4%] [  6%] Building C object src/icon-factory/CMakeFiles/icon-factory.dir/cairo-dock-launcher-factory.c.o
[  7%] Building C object src/icon-factory/CMakeFiles/icon-factory.dir/cairo-dock-application-factory.c.o
Building C object src/icon-factory/CMakeFiles/icon-factory.dir/cairo-dock-separator-factory.c.o
Building C object src/icon-factory/CMakeFiles/icon-factory.dir/cairo-dock-applet-factory.c.o
Building C object src/icon-factory/CMakeFiles/icon-factory.dir/cairo-dock-desktop-file-factory.c.o
[  8%] [  9%] [ 10%] Building C object src/implementations/CMakeFiles/implementations.dir/cairo-dock-gauge.c.o
[ 12%] [ 13%] [ 14%] [ 15%] Building C object src/implementations/CMakeFiles/implementations.dir/cairo-dock-graph.c.o
Building C object src/implementations/CMakeFiles/implementations.dir/cairo-dock-hiding-effect.c.o
Building C object src/implementations/CMakeFiles/implementations.dir/cairo-dock-icon-container.c.o
Building C object src/implementations/CMakeFiles/implementations.dir/cairo-dock-default-view.c.o
Building C object src/implementations/CMakeFiles/implementations.dir/cairo-dock-compiz-integration.c.o
Building C object src/implementations/CMakeFiles/implementations.dir/cairo-dock-kwin-integration.c.o
[ 17%] [ 18%] [ 19%] [ 20%] Building C object src/help/CMakeFiles/help.dir/applet-config.c.o
Building C object src/help/CMakeFiles/help.dir/applet-tips-dialog.c.o
Building C object src/help/CMakeFiles/help.dir/applet-init.c.o
Building C object src/help/CMakeFiles/help.dir/applet-notifications.c.o
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/icon-factory/cairo-dock-desktop-file-factory.c: In function ‘_add_new_desktop_file’:
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/icon-factory/cairo-dock-desktop-file-factory.c:119:3: error: implicit declaration of function ‘_’ [-Werror=implicit-function-declaration]
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/icon-factory/cairo-dock-desktop-file-factory.c:119:3: warning: passing argument 4 of ‘g_key_file_set_string’ makes pointer from integer without a cast [enabled by default]
/usr/include/glib-2.0/glib/gkeyfile.h:111:11: note: expected ‘const gchar *’ but argument is of type ‘int’
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/icon-factory/cairo-dock-desktop-file-factory.c:120:3: warning: passing argument 4 of ‘g_key_file_set_string’ makes pointer from integer without a cast [enabled by default]
/usr/include/glib-2.0/glib/gkeyfile.h:111:11: note: expected ‘const gchar *’ but argument is of type ‘int’
cc1: some warnings being treated as errors

[ 21%] make[2]: *** [src/icon-factory/CMakeFiles/icon-factory.dir/cairo-dock-desktop-file-factory.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 23%] Building C object src/help/CMakeFiles/help.dir/applet-composite.c.o
Building C object src/help/CMakeFiles/help.dir/cairo-dock-help.c.o
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/implementations/cairo-dock-default-view.c: In function ‘cairo_dock_register_default_renderer’:
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/implementations/cairo-dock-default-view.c:686:2: error: implicit declaration of function ‘gettext’ [-Werror=implicit-function-declaration]
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/implementations/cairo-dock-default-view.c:686:2: error: implicit declaration of function ‘N_’ [-Werror=implicit-function-declaration]
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/implementations/cairo-dock-default-view.c:686:35: warning: assignment makes pointer from integer without a cast [enabled by default]
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/implementations/cairo-dock-default-view.c:688:2: warning: passing argument 1 of ‘cairo_dock_register_renderer’ makes pointer from integer without a cast [enabled by default]
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/gldit/cairo-dock-backends-manager.h:74:6: note: expected ‘const gchar *’ but argument is of type ‘int’
make[1]: *** [src/icon-factory/CMakeFiles/icon-factory.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/implementations/cairo-dock-compiz-integration.c: In function ‘_on_got_active_plugins’:
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/implementations/cairo-dock-compiz-integration.c:175:3: error: implicit declaration of function ‘strcmp’ [-Werror=implicit-function-declaration]
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/implementations/cairo-dock-compiz-integration.c:186:3: error: implicit declaration of function ‘memcpy’ [-Werror=implicit-function-declaration]
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/implementations/cairo-dock-compiz-integration.c:186:3: warning: incompatible implicit declaration of built-in function ‘memcpy’ [enabled by default]
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/implementations/cairo-dock-compiz-integration.c: In function ‘cd_is_the_new_compiz’:
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/implementations/cairo-dock-compiz-integration.c:292:4: error: implicit declaration of function ‘strchr’ [-Werror=implicit-function-declaration]
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/implementations/cairo-dock-compiz-integration.c:292:17: warning: incompatible implicit declaration of built-in function ‘strchr’ [enabled by default]
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/implementations/cairo-dock-hiding-effect.c: In function ‘cairo_dock_register_hiding_effects’:cc1: some warnings being treated as errors


/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/implementations/cairo-dock-hiding-effect.c:596:2: error: implicit declaration of function ‘_’ [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors

/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/implementations/cairo-dock-hiding-effect.c:596:20: warning: assignment makes pointer from integer without a cast [enabled by default]
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/implementations/cairo-dock-hiding-effect.c:604:20: warning: assignment makes pointer from integer without a cast [enabled by default]
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/implementations/cairo-dock-hiding-effect.c:612:20: warning: assignment makes pointer from integer without a cast [enabled by default]
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/implementations/cairo-dock-hiding-effect.c:621:20: warning: assignment makes pointer from integer without a cast [enabled by default]
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/implementations/cairo-dock-hiding-effect.c:629:20: warning: assignment makes pointer from integer without a cast [enabled by default]
make[2]: *** [src/implementations/CMakeFiles/implementations.dir/cairo-dock-compiz-integration.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [src/implementations/CMakeFiles/implementations.dir/cairo-dock-default-view.c.o] Error 1
cc1: some warnings being treated as errors

make[2]: *** [src/implementations/CMakeFiles/implementations.dir/cairo-dock-hiding-effect.c.o] Error 1
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/help/applet-tips-dialog.c: In function ‘_build_tip_text’:
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/help/applet-tips-dialog.c:152:3: error: implicit declaration of function ‘_’ [-Werror=implicit-function-declaration]
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/help/applet-tips-dialog.c:153:3: error: implicit declaration of function ‘gettext’ [-Werror=implicit-function-declaration]
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/help/applet-tips-dialog.c:153:65: warning: pointer/integer type mismatch in conditional expression [enabled by default]
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/help/applet-tips-dialog.c:154:3: warning: format ‘%s’ expects argument of type ‘char *’, but argument 2 has type ‘int’ [-Wformat]
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/help/applet-tips-dialog.c:154:3: warning: format ‘%s’ expects argument of type ‘char *’, but argument 4 has type ‘int’ [-Wformat]
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/help/applet-tips-dialog.c: In function ‘cairo_dock_show_tips’:
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/help/applet-tips-dialog.c:298:3: warning: passing argument 2 of ‘gtk_combo_box_text_append_text’ makes pointer from integer without a cast [enabled by default]
/usr/include/gtk-3.0/gtk/gtkcomboboxtext.h:63:15: note: expected ‘const gchar *’ but argument is of type ‘int’
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/help/applet-tips-dialog.c:307:2: warning: passing argument 1 of ‘gtk_label_new’ makes pointer from integer without a cast [enabled by default]
/usr/include/gtk-3.0/gtk/gtklabel.h:92:23: note: expected ‘const gchar *’ but argument is of type ‘int’
cc1: some warnings being treated as errors

make[2]: *** [src/help/CMakeFiles/help.dir/applet-tips-dialog.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/help/applet-init.c: In function ‘pre_init’:
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/help/applet-init.c:28:1: error: implicit declaration of function ‘N_’ [-Werror=implicit-function-declaration]
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/help/applet-init.c:28:1: warning: assignment makes pointer from integer without a cast [enabled by default]
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/help/applet-init.c:28:1: warning: assignment makes pointer from integer without a cast [enabled by default]
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/help/applet-init.c:28:1: warning: assignment makes pointer from integer without a cast [enabled by default]
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/help/applet-init.c:28:1: error: implicit declaration of function ‘dgettext’ [-Werror=implicit-function-declaration]
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/help/applet-init.c:28:1: warning: assignment makes pointer from integer without a cast [enabled by default]
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/help/applet-notifications.c: In function ‘action_on_build_menu’:
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/help/applet-notifications.c:247:2: error: implicit declaration of function ‘dgettext’ [-Werror=implicit-function-declaration]
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/help/applet-notifications.c:247:2: warning: format ‘%s’ expects argument of type ‘char *’, but argument 2 has type ‘int’ [-Wformat]
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/help/applet-notifications.c:247:2: warning: format ‘%s’ expects argument of type ‘char *’, but argument 3 has type ‘int’ [-Wformat]
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/help/applet-notifications.c:252:3: warning: passing argument 1 of ‘cairo_dock_add_in_menu_with_stock_and_data’ makes pointer from integer without a cast [enabled by default]
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/gldit/cairo-dock-container.h:320:12: note: expected ‘const gchar *’ but argument is of type ‘int’
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/help/applet-notifications.c:254:3: warning: passing argument 1 of ‘cairo_dock_add_in_menu_with_stock_and_data’ makes pointer from integer without a cast [enabled by default]
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/gldit/cairo-dock-container.h:320:12: note: expected ‘const gchar *’ but argument is of type ‘int’
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/help/applet-notifications.c:256:3: warning: passing argument 1 of ‘cairo_dock_add_in_menu_with_stock_and_data’ makes pointer from integer without a cast [enabled by default]
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/gldit/cairo-dock-container.h:320:12: note: expected ‘const gchar *’ but argument is of type ‘int’
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/help/applet-notifications.c:257:2: warning: passing argument 1 of ‘cairo_dock_add_in_menu_with_stock_and_data’ makes pointer from integer without a cast [enabled by default]
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/gldit/cairo-dock-container.h:320:12: note: expected ‘const gchar *’ but argument is of type ‘int’
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/help/applet-notifications.c:258:2: warning: passing argument 1 of ‘cairo_dock_add_in_menu_with_stock_and_data’ makes pointer from integer without a cast [enabled by default]
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/gldit/cairo-dock-container.h:320:12: note: expected ‘const gchar *’ but argument is of type ‘int’
cc1: some warnings being treated as errors

make[2]: *** [src/help/CMakeFiles/help.dir/applet-init.c.o] Error 1
cc1: some warnings being treated as errors

make[2]: *** [src/help/CMakeFiles/help.dir/applet-notifications.c.o] Error 1
[ 23%] Built target i18n
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/help/applet-composite.c: In function ‘cd_help_show_welcome_message’:
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/help/applet-composite.c:65:2: error: implicit declaration of function ‘dgettext’ [-Werror=implicit-function-declaration]
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/help/applet-composite.c:73:3: warning: passing argument 1 of ‘cairo_dock_show_dialog_full’ makes pointer from integer without a cast [enabled by default]
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/gldit/cairo-dock-dialog-manager.h:135:14: note: expected ‘const gchar *’ but argument is of type ‘int’
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/help/applet-composite.c: In function ‘cd_help_enable_composite’:
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/help/applet-composite.c:160:3: warning: passing argument 1 of ‘gtk_label_new’ makes pointer from integer without a cast [enabled by default]
/usr/include/gtk-3.0/gtk/gtklabel.h:92:23: note: expected ‘const gchar *’ but argument is of type ‘int’
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/help/applet-composite.c:166:3: warning: passing argument 1 of ‘cairo_dock_show_dialog_and_wait’ makes pointer from integer without a cast [enabled by default]
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/gldit/cairo-dock-dialog-manager.h:229:5: note: expected ‘const gchar *’ but argument is of type ‘int’
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/help/applet-composite.c:184:5: warning: passing argument 1 of ‘cairo_dock_show_dialog_full’ makes pointer from integer without a cast [enabled by default]
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/gldit/cairo-dock-dialog-manager.h:135:14: note: expected ‘const gchar *’ but argument is of type ‘int’
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/help/applet-composite.c:200:4: warning: passing argument 1 of ‘cairo_dock_show_dialog_full’ makes pointer from integer without a cast [enabled by default]
/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/gldit/cairo-dock-dialog-manager.h:135:14: note: expected ‘const gchar *’ but argument is of type ‘int’
cc1: some warnings being treated as errors

make[2]: *** [src/help/CMakeFiles/help.dir/applet-composite.c.o] Error 1
make[1]: *** [src/implementations/CMakeFiles/implementations.dir/all] Error 2
make[1]: *** [src/help/CMakeFiles/help.dir/all] Error 2
make: *** [all] Error 2
emake failed
 * ERROR: x11-misc/cairo-dock-9999 failed (compile phase):
 *   Make failed!
 *
 * Call stack:
 *     ebuild.sh, line   84:  Called src_compile
 *   environment, line 2978:  Called cmake-utils_src_compile
 *   environment, line  921:  Called _execute_optionaly 'src_compile'
 *   environment, line  312:  Called enable_cmake-utils_src_compile
 *   environment, line 1188:  Called cmake-utils_src_make
 *   environment, line  940:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "Make failed!";
 *
 * If you need support, post the output of 'emerge --info =x11-misc/cairo-dock-9999',
 * the complete build log and the output of 'emerge -pqv =x11-misc/cairo-dock-9999'.
 * This ebuild is from an overlay named 'local': '/usr/local/portage/'
 * The complete build log is located at '/var/tmp/portage/x11-misc/cairo-dock-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-misc/cairo-dock-9999/temp/environment'.
 * S: '/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999'

>>> Failed to emerge x11-misc/cairo-dock-9999, Log file:

>>>  '/var/tmp/portage/x11-misc/cairo-dock-9999/temp/build.log'

 * Messages for package x11-misc/cairo-dock-9999:

 * ERROR: x11-misc/cairo-dock-9999 failed (compile phase):
 *   Make failed!
 *
 * Call stack:
 *     ebuild.sh, line   84:  Called src_compile
 *   environment, line 2978:  Called cmake-utils_src_compile
 *   environment, line  921:  Called _execute_optionaly 'src_compile'
 *   environment, line  312:  Called enable_cmake-utils_src_compile
 *   environment, line 1188:  Called cmake-utils_src_make
 *   environment, line  940:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "Make failed!";
 *
 * If you need support, post the output of 'emerge --info =x11-misc/cairo-dock-9999',
 * the complete build log and the output of 'emerge -pqv =x11-misc/cairo-dock-9999'.
 * This ebuild is from an overlay named 'local': '/usr/local/portage/'
 * The complete build log is located at '/var/tmp/portage/x11-misc/cairo-dock-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-misc/cairo-dock-9999/temp/environment'.
 * S: '/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999'
Back to top
View user's profile Send private message
yellowhat
Guru
Guru


Joined: 10 Sep 2008
Posts: 500

PostPosted: Sun Jan 29, 2012 5:55 pm    Post subject: Reply with quote

I think that the only that we can do is a bug report to cairo-dock team
_________________
Gentoo Linux ~amd64, Kernel 4.5.3, Enermax 400W, Intel i7-3770, DDR3 8GB, Sapphire HD6870
Back to top
View user's profile Send private message
hedmo
l33t
l33t


Joined: 29 Aug 2009
Posts: 923
Location: halmstad

PostPosted: Mon Jan 30, 2012 4:53 am    Post subject: Reply with quote

Yellowhat

the 9999.ebuild from that overlay worked right away but there was no cairo-dock-plugins so i made some up.but cairo-dock-3.0 doesnt have so mutsh plugins

"sticking to 2.4.0.2" until 3.0 has plugins

regards hedmo
Back to top
View user's profile Send private message
arandomerik
n00b
n00b


Joined: 21 Apr 2012
Posts: 3

PostPosted: Sat Apr 21, 2012 5:39 pm    Post subject: Reply with quote

How about the following? I'm probably wrong but its worth a guess; package builds but I'm failing currently on the cairo-dock-plugins:

cat /var/lib/layman/desktop-effects/x11-misc/cairo-dock/cairo-dock-3.0.0.ebuild

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

EAPI="3"

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"

#"libcurl"
#"gthread-2.0"

#"dbus-glib-1"
#"libxml-2.0"
#"librsvg-2.0"
#"dbus-1"
#"cairo"
#"gtk+-2.0"
#"gtkglext-1.0"
#"xrender"

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
  sed -i '/\/gtypes/d' src/gldit/cairo-dock-keybinder.h  || die "Sed failed!"
}

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

src_configure() {
 mycmakeargs="${mycmakeargs} -DROOT_PREFIX=${D} -DCMAKE_INSTALL_PREFIX=/usr"
 cmake-utils_src_configure
}


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."
}


Another forum had the sed line:

Quote:
sed -i '/\/gtypes/d' src/gldit/cairo-dock-keybinder.h || die "Sed failed!"


Which needs to be in the src_prepare.
Back to top
View user's profile Send private message
arandomerik
n00b
n00b


Joined: 21 Apr 2012
Posts: 3

PostPosted: Sun Apr 22, 2012 5:14 pm    Post subject: Reply with quote

cairo-dock-3.0.0.ebuild

Code:

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

EAPI="3"

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 mail"

#"libcurl"
#"gthread-2.0"

#"dbus-glib-1"
#"libxml-2.0"
#"librsvg-2.0"
#"dbus-1"
#"cairo"
#"gtk+-2.0"
#"gtkglext-1.0"
#"xrender"

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/gtk+:3
   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
  sed -i '/\/gtypes/d' src/gldit/cairo-dock-keybinder.h  || die "Sed failed!"
}

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

src_configure() {
 mycmakeargs="${mycmakeargs} -DROOT_PREFIX=${D} -DCMAKE_INSTALL_PREFIX=/usr -DFORCE_LIB64=yes"
 cmake-utils_src_configure
}



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."
}



Here is the ebuild I ended up using for plugins:

cairo-dock-plugins-3.0.0.ebuild


Code:
# Copyright 1999-2010 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="~amd64"
IUSE="alsa compiz exif gio gmenu gnome kde mail musicplayer network-monitor powermanager terminal tomboy webkit wifi xfce xgamma xklavier"

# "dbus-glib-1"
# "gthread-2.0" - glib
# "libxml-2.0"
# "librsvg-2.0"
# "dbus-1"
# "cairo"
# "gtk+-2.0"
# "gtkglext-1.0"
# "cairo-dock"

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}"


pkg_setup() {
   if use gio; then
      if ! use gmenu; then
         ewarn "gio requires gmenu, implicitly added"
      fi
   fi
}

src_configure() {
 mycmakeargs="${mycmakeargs} -DROOT_PREFIX=${D} -DCMAKE_INSTALL_PREFIX=/usr -DFORCE_LIB64=yes"
 cmake-utils_src_configure




# Additional config options
#dnd2share
#rssreader
#xrandr-in-show-desktop
#scooby-do
#src_configure() {
#   econf --disable-dependency-tracking       
#      --disable-old-gnome-integration       
#      $(use_enable alsa  alsa-mixer)       
#      $(use_enable compiz compiz-icon)     
#      $(use_enable exif)                   
#      $(use_enable gio gio-in-gmenu)       
#      $(use_enable gio gmenu)             
#      $(use_enable gmenu)                 
#      $(use_enable gnome gnome-integration)
#      $(use_enable kde kde-integration)     
#      $(use_enable mail)                   
#      $(use_enable musicplayer)             
#      $(use_enable network-monitor)         
#      $(use_enable powermanager)           
#      $(use_enable terminal)               
#      $(use_enable tomboy)                 
#      $(use_enable webkit weblets)         
#      $(use_enable wifi)                   
#      $(use_enable xfce  xfce-integration) 
#      $(use_enable xgamma)                 
#      $(use_enable xklavier keyboard-indicator)
}

MAKE_IN_SOURCE_BUILD=true


Seems to work okay for me on AMD64/XFCE.
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