Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
compiz-0.9.7.8->
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3, 4  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
hedmo
l33t
l33t


Joined: 29 Aug 2009
Posts: 839
Location: halmstad

PostPosted: Thu May 17, 2012 8:06 am    Post subject: compiz-0.9.7.8-> Reply with quote

Hi all


I have modified some ebuilds to get compiz-0.9.7.8 and would like to share them with you all :lol: .


The USE="kde" flag dont work and you have to emerge compiz-fusion with FEATURES="-sandbox".
My DE/WM is kde so i am using emerald-0.9.5 to get window decoration but for USE="gnome gtk" it should work
(have tested it a bit).

you can find my work here:

https://github.com/hedmo


regards hedmo

"update" version of compiz is -0.9.8 and svg does not work but compiles

"update" version of compiz-plugins-main is -0.9.7.3 and it depends on dev-cpp/gtest and dev-cpp/gmock

"update" the ebuilds have been updated and sandbox can now be turned on

"update" version of compiz is -0.9.10.0 and it is monolithic


Last edited by hedmo on Wed Jun 19, 2013 7:23 pm; edited 4 times in total
Back to top
View user's profile Send private message
kimmie
Guru
Guru


Joined: 08 Sep 2004
Posts: 531
Location: Australia

PostPosted: Mon May 21, 2012 7:11 am    Post subject: Reply with quote

Why do you need to turn off portage sandboxing?
Back to top
View user's profile Send private message
hedmo
l33t
l33t


Joined: 29 Aug 2009
Posts: 839
Location: halmstad

PostPosted: Mon May 21, 2012 7:01 pm    Post subject: Reply with quote

Kimmie

i was getting ACCESS VIOLATION SOMMARY like compiz-9999 from the desktop-effects overlay.

regards

Hedmo
Back to top
View user's profile Send private message
Small_Penguin
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2005
Posts: 119

PostPosted: Thu Jun 14, 2012 11:32 pm    Post subject: Reply with quote

That's interesting news. I wonder, how's the new version? Is it stable enough for daily use and - except that SVG problem - does not have any other (severe) bugs?

I've tried an older 0.9.5 release, and it was quite a mess, and then gave up when I had troubles compiling the decorator of a later version. However, that was really some time ago, so I'm really considering giving it another try.
Back to top
View user's profile Send private message
yngwin
Developer
Developer


Joined: 19 Dec 2002
Posts: 4403
Location: Suzhou, China

PostPosted: Fri Jun 15, 2012 7:55 am    Post subject: Reply with quote

You should fix the access violation, instead of turning off the sandbox. It is there for security reasons, so it doesn't randomly overwrite files in your filesystem.
_________________
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Back to top
View user's profile Send private message
hedmo
l33t
l33t


Joined: 29 Aug 2009
Posts: 839
Location: halmstad

PostPosted: Fri Jun 15, 2012 9:28 am    Post subject: Reply with quote

Small_Penguin wrote:
That's interesting news. I wonder, how's the new version? Is it stable enough for daily use and - except that SVG problem - does not have any other (severe) bugs?

I've tried an older 0.9.5 release, and it was quite a mess, and then gave up when I had troubles compiling the decorator of a later version. However, that was really some time ago, so I'm really considering giving it another try.



Small_Penguin

i say it is good for daily use.for my user i am running compiz with kde and everything just work.as yngwin told
me a long time ago,i am using compiz as a stand alone wm for root with cairo-dock for panel.some bad things:
compiz is taking cpu (5-25%) depending on plugins,freewins is buggy,you have to set your stuff before you start compiz.


yngwin

i know and i am going to try to fix it but i dont think i am the man for that job.all 0.9.x has this problem

regards hedmo
Back to top
View user's profile Send private message
Small_Penguin
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2005
Posts: 119

PostPosted: Sun Jun 17, 2012 9:02 am    Post subject: Reply with quote

Ok, I gave it a try. To start with, I had to fix a bunch of pesky sandbox violation errors to prevent me from having to uninstall compiz manually or encounter file collisions later. Next, it only compiles with both gtk+gnome USE flags enabled. I had to modify some plugin ebuilds too, and libcompizconfig needs cython. gmock and gtest were also needed by the plugins, though I believe you could turn that off at build-time, since compiz itself seems to build without them. I could fix the libcompizconfig sandbox issue only by removing the appropriate code in CMakefileLists.txt and installing the config file manually using ebuild functions. After a few fixes, all packages then compiled and installed nicely.

I can't say I'm very convinced. The animation plugin doesn't seem to work correctly. Sometimes it works when opening or closing windows, but then stops, and then other things stop working too like rotating the desktop cube with the mouse. Maybe that's because I'm using libwnck-2.31.0. You locked it to 2.30.7, is that really necessary? I have to use the latest version because xfce4-panel uses it. Or I made a mistake when editing the CMakefileLists.txt to fix the sandbox issues. Zoom for example doesn't work when opening or closing most windows. ccsm is not very stable too, sometimes it crashes compiz.

I did not experience any issues with high cpu load, all seems fine here. Actually I'd say it has better performance than the old 0.8 branch, and things like desktop rotation are smoother now. Emerald is working too, which I'd be very happy about if the rest was usable.

Where did you fetch the sources from? On launchpad development seems to be concentrated on 0.9.8 nowadays, so maybe it helps trying that?
Back to top
View user's profile Send private message
hedmo
l33t
l33t


Joined: 29 Aug 2009
Posts: 839
Location: halmstad

PostPosted: Tue Jun 19, 2012 8:50 pm    Post subject: Reply with quote

Small_Penguin

this is the compiz-0.9.8 :lol: from launchpad and i have just updated compiz-plugins-main to 0.9.7.3 and it was depending on gmock and gtest.i am going to update the ebuilds.about libwnck.the problem =gone



I'm pretty pleased with the stability http://www.youtube.com/watch?v=WlM2Bik98Y8

regards hedmo
Back to top
View user's profile Send private message
Small_Penguin
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2005
Posts: 119

PostPosted: Tue Jun 26, 2012 8:56 am    Post subject: Reply with quote

Ok, for the sandbox problems: I'm not sure my changes are correct, because unlike you I had issues with compiz. So you might have to make modifications where appropriate. It would be great if you can get it going.

Code:

commit fd56533f0461e873d9761ef3033c6ccdefa1b59a
Author: SmallPenguin <smallpenguin@localhost.domain>
Date:   Tue Jun 26 10:54:04 2012 +0200

    Fix sandbox violation errors.

diff --git a/x11-libs/libcompizconfig/libcompizconfig-9999.ebuild b/x11-libs/libcompizconfig/libcompizconfig-9999.ebuild
index c26a909..ee9cb75 100644
--- a/x11-libs/libcompizconfig/libcompizconfig-9999.ebuild
+++ b/x11-libs/libcompizconfig/libcompizconfig-9999.ebuild
@@ -30,6 +30,7 @@ DEPEND="${RDEPEND}
 S="${WORKDIR}/${PN}"
 
 src_configure() {
+   epatch "${FILESDIR}/fix-sandbox-violation-errors.patch"
    mycmakeargs=(
       "-DCOMPIZ_DISABLE_SCHEMAS_INSTALL=ON"
    )
@@ -39,6 +40,11 @@ src_configure() {
 src_install() {
    cmake-utils_src_install
 
+   # Install the config file manually
+   dodir /etc/compizconfig
+   insinto /etc/compizconfig
+   doins config/config
+
    # Install the FindCompizConfig.cmake file
    insinto "/usr/share/cmake/Modules"
    doins "cmake/FindCompizConfig.cmake" || die "Failed to install FindCompizConfig.cmake"
diff --git a/x11-plugins/compiz-plugins-main/compiz-plugins-main-9999.ebuild b/x11-plugins/compiz-plugins-main/compiz-plugins-main-9999.ebuild
index d2826fa..4e34494 100644
--- a/x11-plugins/compiz-plugins-main/compiz-plugins-main-9999.ebuild
+++ b/x11-plugins/compiz-plugins-main/compiz-plugins-main-9999.ebuild
@@ -2,9 +2,9 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
+EAPI="2"
 
 EGIT_HAS_SUBMODULES=true
-EAPI="2"
 
 inherit cmake-utils eutils git
 
@@ -34,6 +34,11 @@ DEPEND="${RDEPEND}
 "
 
 src_configure() {
+    local mycmakeargs=(
+        "-DCOMPIZ_DISABLE_SCHEMAS_INSTALL=ON"
+        "-DCOMPIZ_PACKAGING_ENABLED=ON"
+   )
+
    cmake-utils_src_configure
 }
 
diff --git a/x11-plugins/compiz-plugins-unsupported/compiz-plugins-unsupported-9999.ebuild b/x11-plugins/compiz-plugins-unsupported/compiz-plugins-unsupported-9999.ebuild
index 4eda3ff..5174680 100644
--- a/x11-plugins/compiz-plugins-unsupported/compiz-plugins-unsupported-9999.ebuild
+++ b/x11-plugins/compiz-plugins-unsupported/compiz-plugins-unsupported-9999.ebuild
@@ -2,8 +2,8 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EGIT_HAS_SUBMODULES=true
 EAPI="2"
+EGIT_HAS_SUBMODULES=true
 
 inherit cmake-utils eutils git
 
@@ -31,6 +31,9 @@ DEPEND="${RDEPEND}
 "
 
 src_configure() {
+    mycmakeargs=(
+        "-DCOMPIZ_DISABLE_SCHEMAS_INSTALL=ON"
+    )
    cmake-utils_src_configure
 }
 
diff --git a/x11-wm/compiz/compiz-9999.ebuild b/x11-wm/compiz/compiz-9999.ebuild
index 3201c47..c2dde50 100644
--- a/x11-wm/compiz/compiz-9999.ebuild
+++ b/x11-wm/compiz/compiz-9999.ebuild
@@ -106,6 +106,7 @@ src_prepare() {
    #   $(has_version ">=kde-base/kwin-4.8") && epatch "${FILESDIR}"/${PN}-kde-4.8.patch
    #fi
    eautoreconf
+   epatch "${FILESDIR}/fix-sandbox-violation-errors.patch"
 }
 
 src_configure() {
diff --git a/x11-wm/compiz/files/fix-sandbox-violation-errors.patch b/x11-wm/compiz/files/fix-sandbox-violation-errors.patch
new file mode 100644
index 0000000..1763a30
--- /dev/null
+++ b/x11-wm/compiz/files/fix-sandbox-violation-errors.patch
@@ -0,0 +1,120 @@
+diff -Naur compiz~/include/core/CMakeLists.txt compiz/include/core/CMakeLists.txt
+--- compiz~/include/core/CMakeLists.txt   2012-06-16 18:03:19.413720979 +0200
++++ compiz/include/core/CMakeLists.txt   2012-06-16 18:15:27.468619040 +0200
+@@ -23,4 +23,4 @@
+     abiversion.h
+ )
+
+-install (FILES ${_headers} DESTINATION ${COMPIZ_CORE_INCLUDE_DIR})
++install (FILES ${_headers} DESTINATION ${COMPIZ_DESTDIR}${COMPIZ_CORE_INCLUDE_DIR})
+diff -Naur compiz~/src/logmessage/CMakeLists.txt compiz/src/logmessage/CMakeLists.txt
+--- compiz~/src/logmessage/CMakeLists.txt   2012-06-16 18:03:19.466720317 +0200
++++ compiz/src/logmessage/CMakeLists.txt   2012-06-16 18:15:27.465619076 +0200
+@@ -30,4 +30,4 @@
+   PUBLIC_HEADER "${PUBLIC_HEADERS}"
+ )
+
+-install (FILES ${PUBLIC_HEADERS} DESTINATION ${COMPIZ_CORE_INCLUDE_DIR})
++install (FILES ${PUBLIC_HEADERS} DESTINATION ${COMPIZ_DESTDIR}${COMPIZ_CORE_INCLUDE_DIR})
+diff -Naur compiz~/src/pluginclasshandler/CMakeLists.txt compiz/src/pluginclasshandler/CMakeLists.txt
+--- compiz~/src/pluginclasshandler/CMakeLists.txt   2012-06-16 18:03:19.468720292 +0200
++++ compiz/src/pluginclasshandler/CMakeLists.txt   2012-06-16 18:15:27.465619076 +0200
+@@ -43,4 +43,4 @@
+   PUBLIC_HEADER "${PUBLIC_HEADERS}"
+ )
+
+-install (FILES ${PUBLIC_HEADERS} DESTINATION ${COMPIZ_CORE_INCLUDE_DIR})
++install (FILES ${PUBLIC_HEADERS} DESTINATION ${COMPIZ_DESTDIR}${COMPIZ_CORE_INCLUDE_DIR})
+diff -Naur compiz~/src/point/CMakeLists.txt compiz/src/point/CMakeLists.txt
+--- compiz~/src/point/CMakeLists.txt   2012-06-16 18:03:19.470720266 +0200
++++ compiz/src/point/CMakeLists.txt   2012-06-16 18:15:27.464619088 +0200
+@@ -52,7 +52,7 @@
+   PUBLIC_HEADER "${PUBLIC_HEADERS}"
+ )
+
+-install (FILES ${PUBLIC_HEADERS} DESTINATION ${COMPIZ_CORE_INCLUDE_DIR})
++install (FILES ${PUBLIC_HEADERS} DESTINATION ${COMPIZ_DESTDIR}${COMPIZ_CORE_INCLUDE_DIR})
+
+ TARGET_LINK_LIBRARIES(
+   compiz_point
+diff -Naur compiz~/src/rect/CMakeLists.txt compiz/src/rect/CMakeLists.txt
+--- compiz~/src/rect/CMakeLists.txt   2012-06-16 18:03:19.472720241 +0200
++++ compiz/src/rect/CMakeLists.txt   2012-06-16 18:15:27.464619088 +0200
+@@ -50,7 +50,7 @@
+   PUBLIC_HEADER "${PUBLIC_HEADERS}"
+ )
+
+-install (FILES ${PUBLIC_HEADERS} DESTINATION ${COMPIZ_CORE_INCLUDE_DIR})
++install (FILES ${PUBLIC_HEADERS} DESTINATION ${COMPIZ_DESTDIR}${COMPIZ_CORE_INCLUDE_DIR})
+
+ TARGET_LINK_LIBRARIES(
+   compiz_rect
+diff -Naur compiz~/src/string/CMakeLists.txt compiz/src/string/CMakeLists.txt
+--- compiz~/src/string/CMakeLists.txt   2012-06-16 18:03:19.475720205 +0200
++++ compiz/src/string/CMakeLists.txt   2012-06-16 18:15:27.464619088 +0200
+@@ -28,4 +28,4 @@
+   PUBLIC_HEADER "${PUBLIC_HEADERS}"
+ )
+
+-install (FILES ${PUBLIC_HEADERS} DESTINATION ${COMPIZ_CORE_INCLUDE_DIR})
++install (FILES ${PUBLIC_HEADERS} DESTINATION ${COMPIZ_DESTDIR}${COMPIZ_CORE_INCLUDE_DIR})
+diff -Naur compiz~/src/timer/CMakeLists.txt compiz/src/timer/CMakeLists.txt
+--- compiz~/src/timer/CMakeLists.txt   2012-06-16 18:03:19.475720205 +0200
++++ compiz/src/timer/CMakeLists.txt   2012-06-16 18:15:27.464619088 +0200
+@@ -55,7 +55,7 @@
+   PUBLIC_HEADER "${PUBLIC_HEADERS}"
+ )
+
+-install (FILES ${PUBLIC_HEADERS} DESTINATION ${COMPIZ_CORE_INCLUDE_DIR})
++install (FILES ${PUBLIC_HEADERS} DESTINATION ${COMPIZ_DESTDIR}${COMPIZ_CORE_INCLUDE_DIR})
+
+ TARGET_LINK_LIBRARIES(
+   compiz_timer
+diff -Naur compiz~/src/window/constrainment/CMakeLists.txt compiz/src/window/constrainment/CMakeLists.txt
+--- compiz~/src/window/constrainment/CMakeLists.txt   2012-06-16 18:03:19.478720166 +0200
++++ compiz/src/window/constrainment/CMakeLists.txt   2012-06-16 18:15:27.463619100 +0200
+@@ -53,7 +53,7 @@
+   PUBLIC_HEADER "${PUBLIC_HEADERS}"
+ )
+
+-install (FILES ${PUBLIC_HEADERS} DESTINATION ${COMPIZ_CORE_INCLUDE_DIR})
++install (FILES ${PUBLIC_HEADERS} DESTINATION ${COMPIZ_DESTDIR}${COMPIZ_CORE_INCLUDE_DIR})
+
+ TARGET_LINK_LIBRARIES(
+   compiz_window_constrainment
+diff -Naur compiz~/src/window/extents/CMakeLists.txt compiz/src/window/extents/CMakeLists.txt
+--- compiz~/src/window/extents/CMakeLists.txt   2012-06-16 18:03:19.479720153 +0200
++++ compiz/src/window/extents/CMakeLists.txt   2012-06-16 18:15:27.463619100 +0200
+@@ -51,7 +51,7 @@
+   PUBLIC_HEADER "${PUBLIC_HEADERS}"
+ )
+
+-install (FILES ${PUBLIC_HEADERS} DESTINATION ${COMPIZ_CORE_INCLUDE_DIR})
++install (FILES ${PUBLIC_HEADERS} DESTINATION ${COMPIZ_DESTDIR}${COMPIZ_CORE_INCLUDE_DIR})
+
+ TARGET_LINK_LIBRARIES(
+   compiz_window_extents
+diff -Naur compiz~/src/window/geometry/CMakeLists.txt compiz/src/window/geometry/CMakeLists.txt
+--- compiz~/src/window/geometry/CMakeLists.txt   2012-06-16 18:03:19.481720129 +0200
++++ compiz/src/window/geometry/CMakeLists.txt   2012-06-16 18:15:27.463619100 +0200
+@@ -51,7 +51,7 @@
+   PUBLIC_HEADER "${PUBLIC_HEADERS}"
+ )
+
+-install (FILES ${PUBLIC_HEADERS} DESTINATION ${COMPIZ_CORE_INCLUDE_DIR})
++install (FILES ${PUBLIC_HEADERS} DESTINATION ${COMPIZ_DESTDIR}${COMPIZ_CORE_INCLUDE_DIR})
+
+ TARGET_LINK_LIBRARIES(
+   compiz_window_geometry
+diff -Naur compiz~/src/window/geometry-saver/CMakeLists.txt compiz/src/window/geometry-saver/CMakeLists.txt
+--- compiz~/src/window/geometry-saver/CMakeLists.txt   2012-06-16 18:03:19.480720141 +0200
++++ compiz/src/window/geometry-saver/CMakeLists.txt   2012-06-16 18:15:27.463619100 +0200
+@@ -53,7 +53,7 @@
+   PUBLIC_HEADER "${PUBLIC_HEADERS}"
+ )
+
+-install (FILES ${PUBLIC_HEADERS} DESTINATION ${COMPIZ_CORE_INCLUDE_DIR})
++install (FILES ${PUBLIC_HEADERS} DESTINATION ${COMPIZ_DESTDIR}${COMPIZ_CORE_INCLUDE_DIR})
+
+ TARGET_LINK_LIBRARIES (
+   compiz_window_geometry_saver
diff --git a/x11-wm/emerald/emerald-0.9.5.ebuild b/x11-wm/emerald/emerald-0.9.5.ebuild
index 09d0a4c..0d96d15 100644
--- a/x11-wm/emerald/emerald-0.9.5.ebuild
+++ b/x11-wm/emerald/emerald-0.9.5.ebuild
@@ -4,28 +4,27 @@
 
 EAPI="3"
 
-inherit  autotools
+inherit autotools
 #eutils
 
 THEMES_RELEASE=0.5.2
 
 DESCRIPTION="Emerald Window Decorator"
 HOMEPAGE="http://www.compiz.org/"
-SRC_URI="https://github.com/hedmo/emerald/emerald-0.9.5.tar.gz"
+SRC_URI="http://cgit.compiz.org/fusion/decorators/emerald/snapshot/emerald-0.9.5.tar.gz"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
 IUSE=""
 
-# NOTE: emerald-0.9.5 can not bee downloaden as it chould.
-RESTRICT="fetch strip"
+RESTRICT="strip"
 
 
 PDEPEND="~x11-themes/emerald-themes-${THEMES_RELEASE}"
 
 RDEPEND="
    >=x11-libs/gtk+-2.8.0:2
-   =x11-libs/libwnck-2.30.7
+   >=x11-libs/libwnck-2.30.7
    >=x11-wm/compiz-${PV}
 "
 

Back to top
View user's profile Send private message
hedmo
l33t
l33t


Joined: 29 Aug 2009
Posts: 839
Location: halmstad

PostPosted: Tue Jun 26, 2012 10:16 am    Post subject: Reply with quote

Small_Penguin

sorry but i dont understand more then you have a patch for the sandbox.

regards hedmo
Back to top
View user's profile Send private message
Small_Penguin
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2005
Posts: 119

PostPosted: Tue Jun 26, 2012 10:22 am    Post subject: Reply with quote

I modified the files from your repository and posted the diff here, that was the fastest and easiest way for me. You should be able to apply the patch to your git, or make the modifications by hand.
Back to top
View user's profile Send private message
hedmo
l33t
l33t


Joined: 29 Aug 2009
Posts: 839
Location: halmstad

PostPosted: Tue Jun 26, 2012 10:30 am    Post subject: Reply with quote

Small_Penguin

can you post the patch only :?:


regards hedmo
Back to top
View user's profile Send private message
Small_Penguin
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2005
Posts: 119

PostPosted: Tue Jun 26, 2012 10:38 am    Post subject: Reply with quote

Code:
diff -Naur compiz~/include/core/CMakeLists.txt compiz/include/core/CMakeLists.txt
--- compiz~/include/core/CMakeLists.txt   2012-06-16 18:03:19.413720979 +0200
+++ compiz/include/core/CMakeLists.txt   2012-06-16 18:15:27.468619040 +0200
@@ -23,4 +23,4 @@
     abiversion.h
 )
 
-install (FILES ${_headers} DESTINATION ${COMPIZ_CORE_INCLUDE_DIR})
+install (FILES ${_headers} DESTINATION ${COMPIZ_DESTDIR}${COMPIZ_CORE_INCLUDE_DIR})
diff -Naur compiz~/src/logmessage/CMakeLists.txt compiz/src/logmessage/CMakeLists.txt
--- compiz~/src/logmessage/CMakeLists.txt   2012-06-16 18:03:19.466720317 +0200
+++ compiz/src/logmessage/CMakeLists.txt   2012-06-16 18:15:27.465619076 +0200
@@ -30,4 +30,4 @@
   PUBLIC_HEADER "${PUBLIC_HEADERS}"
 )
 
-install (FILES ${PUBLIC_HEADERS} DESTINATION ${COMPIZ_CORE_INCLUDE_DIR})
+install (FILES ${PUBLIC_HEADERS} DESTINATION ${COMPIZ_DESTDIR}${COMPIZ_CORE_INCLUDE_DIR})
diff -Naur compiz~/src/pluginclasshandler/CMakeLists.txt compiz/src/pluginclasshandler/CMakeLists.txt
--- compiz~/src/pluginclasshandler/CMakeLists.txt   2012-06-16 18:03:19.468720292 +0200
+++ compiz/src/pluginclasshandler/CMakeLists.txt   2012-06-16 18:15:27.465619076 +0200
@@ -43,4 +43,4 @@
   PUBLIC_HEADER "${PUBLIC_HEADERS}"
 )
 
-install (FILES ${PUBLIC_HEADERS} DESTINATION ${COMPIZ_CORE_INCLUDE_DIR})
+install (FILES ${PUBLIC_HEADERS} DESTINATION ${COMPIZ_DESTDIR}${COMPIZ_CORE_INCLUDE_DIR})
diff -Naur compiz~/src/point/CMakeLists.txt compiz/src/point/CMakeLists.txt
--- compiz~/src/point/CMakeLists.txt   2012-06-16 18:03:19.470720266 +0200
+++ compiz/src/point/CMakeLists.txt   2012-06-16 18:15:27.464619088 +0200
@@ -52,7 +52,7 @@
   PUBLIC_HEADER "${PUBLIC_HEADERS}"
 )
 
-install (FILES ${PUBLIC_HEADERS} DESTINATION ${COMPIZ_CORE_INCLUDE_DIR})
+install (FILES ${PUBLIC_HEADERS} DESTINATION ${COMPIZ_DESTDIR}${COMPIZ_CORE_INCLUDE_DIR})
 
 TARGET_LINK_LIBRARIES(
   compiz_point
diff -Naur compiz~/src/rect/CMakeLists.txt compiz/src/rect/CMakeLists.txt
--- compiz~/src/rect/CMakeLists.txt   2012-06-16 18:03:19.472720241 +0200
+++ compiz/src/rect/CMakeLists.txt   2012-06-16 18:15:27.464619088 +0200
@@ -50,7 +50,7 @@
   PUBLIC_HEADER "${PUBLIC_HEADERS}"
 )
 
-install (FILES ${PUBLIC_HEADERS} DESTINATION ${COMPIZ_CORE_INCLUDE_DIR})
+install (FILES ${PUBLIC_HEADERS} DESTINATION ${COMPIZ_DESTDIR}${COMPIZ_CORE_INCLUDE_DIR})
 
 TARGET_LINK_LIBRARIES(
   compiz_rect
diff -Naur compiz~/src/string/CMakeLists.txt compiz/src/string/CMakeLists.txt
--- compiz~/src/string/CMakeLists.txt   2012-06-16 18:03:19.475720205 +0200
+++ compiz/src/string/CMakeLists.txt   2012-06-16 18:15:27.464619088 +0200
@@ -28,4 +28,4 @@
   PUBLIC_HEADER "${PUBLIC_HEADERS}"
 )
 
-install (FILES ${PUBLIC_HEADERS} DESTINATION ${COMPIZ_CORE_INCLUDE_DIR})
+install (FILES ${PUBLIC_HEADERS} DESTINATION ${COMPIZ_DESTDIR}${COMPIZ_CORE_INCLUDE_DIR})
diff -Naur compiz~/src/timer/CMakeLists.txt compiz/src/timer/CMakeLists.txt
--- compiz~/src/timer/CMakeLists.txt   2012-06-16 18:03:19.475720205 +0200
+++ compiz/src/timer/CMakeLists.txt   2012-06-16 18:15:27.464619088 +0200
@@ -55,7 +55,7 @@
   PUBLIC_HEADER "${PUBLIC_HEADERS}"
 )
 
-install (FILES ${PUBLIC_HEADERS} DESTINATION ${COMPIZ_CORE_INCLUDE_DIR})
+install (FILES ${PUBLIC_HEADERS} DESTINATION ${COMPIZ_DESTDIR}${COMPIZ_CORE_INCLUDE_DIR})
 
 TARGET_LINK_LIBRARIES(
   compiz_timer
diff -Naur compiz~/src/window/constrainment/CMakeLists.txt compiz/src/window/constrainment/CMakeLists.txt
--- compiz~/src/window/constrainment/CMakeLists.txt   2012-06-16 18:03:19.478720166 +0200
+++ compiz/src/window/constrainment/CMakeLists.txt   2012-06-16 18:15:27.463619100 +0200
@@ -53,7 +53,7 @@
   PUBLIC_HEADER "${PUBLIC_HEADERS}"
 )
 
-install (FILES ${PUBLIC_HEADERS} DESTINATION ${COMPIZ_CORE_INCLUDE_DIR})
+install (FILES ${PUBLIC_HEADERS} DESTINATION ${COMPIZ_DESTDIR}${COMPIZ_CORE_INCLUDE_DIR})
 
 TARGET_LINK_LIBRARIES(
   compiz_window_constrainment
diff -Naur compiz~/src/window/extents/CMakeLists.txt compiz/src/window/extents/CMakeLists.txt
--- compiz~/src/window/extents/CMakeLists.txt   2012-06-16 18:03:19.479720153 +0200
+++ compiz/src/window/extents/CMakeLists.txt   2012-06-16 18:15:27.463619100 +0200
@@ -51,7 +51,7 @@
   PUBLIC_HEADER "${PUBLIC_HEADERS}"
 )
 
-install (FILES ${PUBLIC_HEADERS} DESTINATION ${COMPIZ_CORE_INCLUDE_DIR})
+install (FILES ${PUBLIC_HEADERS} DESTINATION ${COMPIZ_DESTDIR}${COMPIZ_CORE_INCLUDE_DIR})
 
 TARGET_LINK_LIBRARIES(
   compiz_window_extents
diff -Naur compiz~/src/window/geometry/CMakeLists.txt compiz/src/window/geometry/CMakeLists.txt
--- compiz~/src/window/geometry/CMakeLists.txt   2012-06-16 18:03:19.481720129 +0200
+++ compiz/src/window/geometry/CMakeLists.txt   2012-06-16 18:15:27.463619100 +0200
@@ -51,7 +51,7 @@
   PUBLIC_HEADER "${PUBLIC_HEADERS}"
 )
 
-install (FILES ${PUBLIC_HEADERS} DESTINATION ${COMPIZ_CORE_INCLUDE_DIR})
+install (FILES ${PUBLIC_HEADERS} DESTINATION ${COMPIZ_DESTDIR}${COMPIZ_CORE_INCLUDE_DIR})
 
 TARGET_LINK_LIBRARIES(
   compiz_window_geometry
diff -Naur compiz~/src/window/geometry-saver/CMakeLists.txt compiz/src/window/geometry-saver/CMakeLists.txt
--- compiz~/src/window/geometry-saver/CMakeLists.txt   2012-06-16 18:03:19.480720141 +0200
+++ compiz/src/window/geometry-saver/CMakeLists.txt   2012-06-16 18:15:27.463619100 +0200
@@ -53,7 +53,7 @@
   PUBLIC_HEADER "${PUBLIC_HEADERS}"
 )
 
-install (FILES ${PUBLIC_HEADERS} DESTINATION ${COMPIZ_CORE_INCLUDE_DIR})
+install (FILES ${PUBLIC_HEADERS} DESTINATION ${COMPIZ_DESTDIR}${COMPIZ_CORE_INCLUDE_DIR})
 
 TARGET_LINK_LIBRARIES (
   compiz_window_geometry_saver



Actually you could just have copied the appropriate lines from above and removed the leading "+". And instead of applying the patch, you might achieve the same using a sed command in the ebuild.
Back to top
View user's profile Send private message
hedmo
l33t
l33t


Joined: 29 Aug 2009
Posts: 839
Location: halmstad

PostPosted: Tue Jun 26, 2012 12:10 pm    Post subject: Reply with quote

and for libcompizconfig :?:
Back to top
View user's profile Send private message
Small_Penguin
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2005
Posts: 119

PostPosted: Tue Jun 26, 2012 12:22 pm    Post subject: Reply with quote

Code:
diff -Naur libcompizconfig~/config/CMakeLists.txt libcompizconfig/config/CMakeLists.txt
--- libcompizconfig~/config/CMakeLists.txt   2012-06-16 20:11:46.948989953 +0200
+++ libcompizconfig/config/CMakeLists.txt   2012-06-16 20:14:02.056300877 +0200
@@ -1,10 +1,7 @@
 set (_config_file
      config)
 
-compiz_opt_install_file (${_config_file} ${COMPIZ_SYSCONFDIR}/compizconfig/${_config_file})
-
 add_custom_target (
     config_install
-    ${CMAKE_COMMAND} -E make_directory ${COMPIZ_DESTDIR}${CMAKE_ROOT}/Modules &&
-    ${CMAKE_COMMAND} -E copy ${CMAKE_SOURCE_DIR}/config/${_config_file} ${COMPIZ_DESTDIR}${COMPIZ_SYSCONFDIR}/compizconfig/${_config_file}
+    ${CMAKE_COMMAND} -E make_directory ${COMPIZ_DESTDIR}${CMAKE_ROOT}/Modules
     )
Back to top
View user's profile Send private message
Small_Penguin
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2005
Posts: 119

PostPosted: Tue Jun 26, 2012 12:23 pm    Post subject: Reply with quote

And don't forget to adapt the ebuild for libcompizconfig accordingly, because it does what we removed with the patch (see above).
Back to top
View user's profile Send private message
hedmo
l33t
l33t


Joined: 29 Aug 2009
Posts: 839
Location: halmstad

PostPosted: Tue Jun 26, 2012 1:04 pm    Post subject: Reply with quote

Small_Penguin

libcompizconfig still has sandbox problem

i fixed the ebuild and changed the CMakeLists.txt file :

hedmo@mybox ~/myrepos/libcompizconfig/config $ cat CMakeLists.txt
set (_config_file
config)

compiz_opt_install_file (${_config_file} ${COMPIZ_SYSCONFDIR}/compizconfig/${_config_file})

add_custom_target (
config_install
${CMAKE_COMMAND} -E make_directory ${COMPIZ_DESTDIR}${CMAKE_ROOT}/Modules &&
${CMAKE_COMMAND} -E copy ${CMAKE_SOURCE_DIR}/config/${_config_file} ${COMPIZ_DESTDIR}${COMPIZ_SYSCONFDIR}/compizconfig/${_config_file}
${CMAKE_COMMAND} -E make_directory ${COMPIZ_DESTDIR}${CMAKE_ROOT}/Modules
)
hedmo@mybox ~/myrepos/libcompizconfig/config $

regards hedmo
Back to top
View user's profile Send private message
Small_Penguin
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2005
Posts: 119

PostPosted: Tue Jun 26, 2012 1:25 pm    Post subject: Reply with quote

I suppose you did not apply the patch correctly? Maybe copy/paste error. Your CMakeLists.txt now shows both the old and new entries. It should look like this:

Code:
set (_config_file
      config)
 
 add_custom_target (
     config_install
    ${CMAKE_COMMAND} -E make_directory ${COMPIZ_DESTDIR}${CMAKE_ROOT}/Modules
     )
Back to top
View user's profile Send private message
hedmo
l33t
l33t


Joined: 29 Aug 2009
Posts: 839
Location: halmstad

PostPosted: Tue Jun 26, 2012 5:22 pm    Post subject: Reply with quote

Small_Penguin

thanks!! now i can emerge compiz-fusion wothout FEATURES="-sandbox

i will fix the ebuilds in the week



"and compiz still running good :lol: "

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


Joined: 26 Mar 2004
Posts: 44
Location: United States

PostPosted: Fri Jun 29, 2012 7:32 am    Post subject: Reply with quote

hedmo, where did you pull the source for each of the individual components? I'm in the process of building my own ebuild that pulls from the launchpad bzr directly.
Back to top
View user's profile Send private message
hedmo
l33t
l33t


Joined: 29 Aug 2009
Posts: 839
Location: halmstad

PostPosted: Fri Jun 29, 2012 4:29 pm    Post subject: Reply with quote

BlueDragonX wrote:
hedmo, where did you pull the source for each of the individual components? I'm in the process of building my own ebuild that pulls from the launchpad bzr directly.



i have been taken the sources form :

https://launchpad.net/compiz

cgit.compiz.org/

http://gitweb.compiz.org

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


Joined: 26 Mar 2004
Posts: 44
Location: United States

PostPosted: Fri Jun 29, 2012 8:30 pm    Post subject: Reply with quote

I see you've got the code for you ebuilds in your own git repos. Are you splitting them up?
Back to top
View user's profile Send private message
hedmo
l33t
l33t


Joined: 29 Aug 2009
Posts: 839
Location: halmstad

PostPosted: Fri Jun 29, 2012 11:36 pm    Post subject: Reply with quote

BlueDragonX wrote:
I see you've got the code for you ebuilds in your own git repos. Are you splitting them up?


BlueDragonX

I dont understand : are you splitting them up?


sorry " dumb swed..." :P

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


Joined: 26 Mar 2004
Posts: 44
Location: United States

PostPosted: Sat Jun 30, 2012 1:53 am    Post subject: Reply with quote

Well, lp:compiz provides libcompizconfig and the compizconfig backends, but you've got libcompizconfig and KDE backend ebuilds. At least that's how the latest available revision is set up.

I'm just trying to figure out why you've set up your own repo's with the code in it rather than building against upstream.
Back to top
View user's profile Send private message
hedmo
l33t
l33t


Joined: 29 Aug 2009
Posts: 839
Location: halmstad

PostPosted: Sat Jun 30, 2012 8:04 am    Post subject: Reply with quote

BlueDragonX


well.some stuff att lp:compiz i did not manage to build so i have been taken sources from other places.
and it is a learning process for me.
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
Goto page 1, 2, 3, 4  Next
Page 1 of 4

 
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