add compiz and apropriate ebuilds with package.unmask file
This commit is contained in:
2
x11-libs/compiz-bcop/Manifest
Normal file
2
x11-libs/compiz-bcop/Manifest
Normal file
@ -0,0 +1,2 @@
|
||||
DIST compiz-bcop-0.8.4.tar.bz2 72103 RMD160 7e29398ef0ad211c9eccb0fd6deae68a00285e70 SHA1 c9632cd9d27f9335f1282fca2a4aa87b2fc4668d SHA256 d359ca1a9e98e0a4b9abe807f84a9e230a102aee409f3ee4594a895ea9da8c4f
|
||||
EBUILD compiz-bcop-0.8.4-r9999.ebuild 585 RMD160 5e0397555008056c3332ad00867c76ef30b85735 SHA1 b55be421308b687507963b945d5fc36f1ec04b31 SHA256 91e60ed41f619430332289a288f2c42574c64de365b1d5628e500dcd6fd05f14
|
20
x11-libs/compiz-bcop/compiz-bcop-0.8.4-r9999.ebuild
Normal file
20
x11-libs/compiz-bcop/compiz-bcop-0.8.4-r9999.ebuild
Normal file
@ -0,0 +1,20 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/x11-libs/compiz-bcop/compiz-bcop-0.8.4.ebuild,v 1.1 2009/10/15 16:35:51 mrpouet Exp $
|
||||
|
||||
DESCRIPTION="Compiz Option code Generator"
|
||||
HOMEPAGE="http://www.compiz.org/"
|
||||
SRC_URI="http://releases.compiz.org/${PV}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-libs/libxslt"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-util/pkgconfig-0.19"
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
}
|
2
x11-libs/compizconfig-backend-gconf/Manifest
Normal file
2
x11-libs/compizconfig-backend-gconf/Manifest
Normal file
@ -0,0 +1,2 @@
|
||||
DIST compizconfig-backend-gconf-0.8.4.tar.bz2 244419 RMD160 d1d5b134bf52a61c0ee5a7dae25c55d0bf21c8c3 SHA1 73298288e3c8912c83d76978b0344c68968548d5 SHA256 7231df49f6b530d72e2a21c3249ac4718cfe0c485d1317ac29d4e56c4b1b2e87
|
||||
EBUILD compizconfig-backend-gconf-0.8.4-r9999.ebuild 815 RMD160 075ac9635ad54f599571824b45ccf4a9f5665046 SHA1 fe2861eaa9784bd507efcda5b8ee23cf15d23a3b SHA256 def019b76891bf6dc65d5f87449e768e77ca4ba4612e98b34ff4f889121d6383
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/x11-libs/compizconfig-backend-gconf/compizconfig-backend-gconf-0.8.4-r2.ebuild,v 1.2 2011/03/21 19:55:08 nirbheek Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
DESCRIPTION="Compizconfig Gconf Backend"
|
||||
HOMEPAGE="http://www.compiz.org/"
|
||||
SRC_URI="http://releases.compiz.org/${PV}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
>=gnome-base/gconf-2.0:2
|
||||
>=x11-libs/libcompizconfig-${PV}
|
||||
>=x11-wm/compiz-${PV}
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-dependency-tracking \
|
||||
--enable-fast-install \
|
||||
--disable-static
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
}
|
2
x11-libs/compizconfig-backend-kconfig4/Manifest
Normal file
2
x11-libs/compizconfig-backend-kconfig4/Manifest
Normal file
@ -0,0 +1,2 @@
|
||||
DIST compizconfig-backend-kconfig4-0.8.4.tar.bz2 21680 RMD160 a81152111a4c61dd27e6b749071433a833579dcf SHA1 3a9146e68a93ee40db87b791d03c4225dcd03507 SHA256 73916cc47977a82dde8c619892841db8a53b2b0f1c2d99bee60b71afdb4795ea
|
||||
EBUILD compizconfig-backend-kconfig4-0.8.4-r9999.ebuild 586 RMD160 51cb520f0fc79f8456650141e3e20eb2ea31a51a SHA1 ac587b7ac951f75261ea71f30e9de173b1367d3a SHA256 86718e3fcb65bc9c3bc4749c59bfa0073d72a54d6c089811e4e2e42d00a86972
|
@ -0,0 +1,20 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/x11-libs/compizconfig-backend-kconfig4/compizconfig-backend-kconfig4-0.8.4.ebuild,v 1.4 2011/10/28 20:53:01 abcd Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="Compizconfig Kconfig Backend"
|
||||
HOMEPAGE="http://www.compiz.org/"
|
||||
SRC_URI="http://releases.compiz.org/${PV}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="x11-libs/qt-dbus:4
|
||||
>=x11-libs/libcompizconfig-${PV}
|
||||
>=x11-wm/compiz-${PV}"
|
4
x11-libs/libcompizconfig/Manifest
Normal file
4
x11-libs/libcompizconfig/Manifest
Normal file
@ -0,0 +1,4 @@
|
||||
AUX libcompizconfig-0.8.2-allow-system-libiniparser.patch 6993 RMD160 cbbc8b04653a1175ce299d63974d22ca739f4cab SHA1 678634c48f8543ee26c54ec9a404b619657257e3 SHA256 4a6511605a6d6a6a45b528a344e2a79fd9e5b98cd8bbc0a94c3257fec44cce76
|
||||
AUX libcompizconfig-undefinedref.patch 1204 RMD160 69538e32c526828d1e3d0ae6116f7b62a207edba SHA1 c97312c81ac6ac445d56599c10cf67418f0bd9db SHA256 27c3a644ea5b0b309ec32ed79f4a51f81ec2bc20cc9ccc73525237785052581d
|
||||
DIST libcompizconfig-0.8.4.tar.bz2 315858 RMD160 dee403af09eee727717aeee82f763dfdb4ba3cd9 SHA1 514830508b21f9fd47ccac128c44c55a212d3929 SHA256 41313e935f1beb3375367bded72d97de60e7aabf1129620be53a7fc1aca0b029
|
||||
EBUILD libcompizconfig-0.8.4-r9999.ebuild 847 RMD160 12d37ebe086f2974953713de348639f33271733a SHA1 c8db45ac7597089d190e1d747e3e120b16fd21d9 SHA256 d21a1b7cb72be1783cec39c873991d70a270c871e06303feb3c013d31003da27
|
@ -0,0 +1,239 @@
|
||||
diff -Naur libcompizconfig-0.8.2.orig/config.h.in libcompizconfig-0.8.2/config.h.in
|
||||
--- libcompizconfig-0.8.2.orig/config.h.in 2009-03-05 15:29:12.000000000 +0000
|
||||
+++ libcompizconfig-0.8.2/config.h.in 2009-05-02 14:55:48.000000000 +0100
|
||||
@@ -30,6 +30,9 @@
|
||||
/* Define if your <locale.h> file defines LC_MESSAGES. */
|
||||
#undef HAVE_LC_MESSAGES
|
||||
|
||||
+/* Define to 1 if you have the `iniparser' library (-liniparser). */
|
||||
+#undef HAVE_LIBINIPARSER
|
||||
+
|
||||
/* Define to 1 if you have the `protobuf' library (-lprotobuf). */
|
||||
#undef HAVE_LIBPROTOBUF
|
||||
|
||||
diff -Naur libcompizconfig-0.8.2.orig/configure.ac libcompizconfig-0.8.2/configure.ac
|
||||
--- libcompizconfig-0.8.2.orig/configure.ac 2009-03-05 03:22:22.000000000 +0000
|
||||
+++ libcompizconfig-0.8.2/configure.ac 2009-05-02 14:55:48.000000000 +0100
|
||||
@@ -116,6 +116,16 @@
|
||||
fi
|
||||
AM_CONDITIONAL([USE_PROTOBUF], [test "x$use_protobuf" = "xyes"])
|
||||
|
||||
+AC_ARG_WITH(internal-iniparser,
|
||||
+ [AS_HELP_STRING([--without-internal-iniparser],[Don't use bundled iniparser lib])],
|
||||
+ [], [with_internal_iniparser=yes])
|
||||
+
|
||||
+if test "x$with_internal_iniparser" = "xno"; then
|
||||
+ AC_CHECK_LIB([iniparser], [iniparser_getnsec], [],
|
||||
+ [AC_MSG_ERROR([Error! You need to have libiniparser])])
|
||||
+fi
|
||||
+AM_CONDITIONAL([WITH_INTERNAL_INIPARSER], [test "x$with_internal_iniparser" = "xyes"])
|
||||
+
|
||||
AC_CHECK_HEADERS([sys/inotify.h], [have_inotify=yes], [have_inotify=no])
|
||||
|
||||
AC_ARG_ENABLE(debug,
|
||||
diff -Naur libcompizconfig-0.8.2.orig/include/ccs.h libcompizconfig-0.8.2/include/ccs.h
|
||||
--- libcompizconfig-0.8.2.orig/include/ccs.h 2009-03-05 03:22:22.000000000 +0000
|
||||
+++ libcompizconfig-0.8.2/include/ccs.h 2009-05-02 14:55:48.000000000 +0100
|
||||
@@ -695,19 +695,9 @@
|
||||
|
||||
/* INI file stuff */
|
||||
|
||||
-typedef struct _dictionary_
|
||||
-{
|
||||
- /** Number of entries in dictionary */
|
||||
- int n;
|
||||
- /** Storage size */
|
||||
- int size;
|
||||
- /** List of string values */
|
||||
- char **val;
|
||||
- /** List of string keys */
|
||||
- char **key ;
|
||||
- /** List of hash values for keys */
|
||||
- unsigned *hash;
|
||||
-} IniDictionary;
|
||||
+#include <iniparser.h>
|
||||
+
|
||||
+typedef dictionary IniDictionary;
|
||||
|
||||
IniDictionary* ccsIniNew (void);
|
||||
IniDictionary* ccsIniOpen (const char *fileName);
|
||||
diff -Naur libcompizconfig-0.8.2.orig/src/Makefile.am libcompizconfig-0.8.2/src/Makefile.am
|
||||
--- libcompizconfig-0.8.2.orig/src/Makefile.am 2009-03-05 15:28:59.000000000 +0000
|
||||
+++ libcompizconfig-0.8.2/src/Makefile.am 2009-05-02 14:55:48.000000000 +0100
|
||||
@@ -39,14 +39,17 @@
|
||||
lists.c \
|
||||
compiz.cpp \
|
||||
config.c \
|
||||
- iniparser.c \
|
||||
ini.c \
|
||||
bindings.c \
|
||||
filewatch.c \
|
||||
- ccs-private.h \
|
||||
- iniparser.h
|
||||
+ ccs-private.h
|
||||
|
||||
libcompizconfig_la_LIBADD = @LIBXML2_LIBS@ @LIBX11_LIBS@ $(PROTOBUF_LIB)
|
||||
|
||||
lib_LTLIBRARIES=libcompizconfig.la
|
||||
|
||||
+if WITH_INTERNAL_INIPARSER
|
||||
+
|
||||
+ libcompizconfig_la_SOURCES += iniparser.h iniparser.c
|
||||
+
|
||||
+endif
|
||||
diff -Naur libcompizconfig-0.8.2.orig/src/ini.c libcompizconfig-0.8.2/src/ini.c
|
||||
--- libcompizconfig-0.8.2.orig/src/ini.c 2009-03-05 03:22:22.000000000 +0000
|
||||
+++ libcompizconfig-0.8.2/src/ini.c 2009-05-02 14:56:12.000000000 +0100
|
||||
@@ -23,9 +23,10 @@
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
#include <errno.h>
|
||||
+#include <ctype.h>
|
||||
|
||||
#include <ccs.h>
|
||||
-#include "iniparser.h"
|
||||
+#include <iniparser.h>
|
||||
|
||||
/**
|
||||
* Creates the parent directory for @fileName, recursively creating a directory
|
||||
@@ -77,7 +78,7 @@
|
||||
if (file)
|
||||
fclose (file);
|
||||
|
||||
- return iniparser_new ((char*) fileName);
|
||||
+ return iniparser_load ((char*) fileName);
|
||||
}
|
||||
|
||||
IniDictionary*
|
||||
@@ -89,17 +90,22 @@
|
||||
void
|
||||
ccsIniClose (IniDictionary *dictionary)
|
||||
{
|
||||
- iniparser_free (dictionary);
|
||||
+ iniparser_freedict (dictionary);
|
||||
}
|
||||
|
||||
void
|
||||
ccsIniSave (IniDictionary *dictionary,
|
||||
const char *fileName)
|
||||
{
|
||||
+ FILE *f;
|
||||
if (!ccsCreateDirFor (fileName))
|
||||
return;
|
||||
|
||||
- iniparser_dump_ini (dictionary, fileName);
|
||||
+ f = fopen(fileName, "w");
|
||||
+ if(!f)
|
||||
+ return;
|
||||
+ iniparser_dump_ini (dictionary, f);
|
||||
+ fclose(f);
|
||||
}
|
||||
|
||||
static char*
|
||||
@@ -127,11 +133,11 @@
|
||||
char *sectionName;
|
||||
|
||||
asprintf (§ionName, "%s:%s", section, entry);
|
||||
-
|
||||
+/*
|
||||
if (!iniparser_find_entry (dictionary, (char*) section))
|
||||
iniparser_add_entry (dictionary, (char*) section, NULL, NULL);
|
||||
-
|
||||
- iniparser_setstr (dictionary, sectionName, (char*) value);
|
||||
+*/
|
||||
+ iniparser_set (dictionary, sectionName, (char*) value);
|
||||
|
||||
free (sectionName);
|
||||
}
|
||||
diff -Naur libcompizconfig-0.8.2.orig/src/iniparser.h libcompizconfig-0.8.2/src/iniparser.h
|
||||
--- libcompizconfig-0.8.2.orig/src/iniparser.h 2009-03-05 03:22:22.000000000 +0000
|
||||
+++ libcompizconfig-0.8.2/src/iniparser.h 1970-01-01 01:00:00.000000000 +0100
|
||||
@@ -1,65 +0,0 @@
|
||||
-/*
|
||||
- Based upon libiniparser, by Nicolas Devillard
|
||||
- Hacked into 1 file (m-iniparser) by Freek/2005
|
||||
- Original terms following:
|
||||
-
|
||||
- -- -
|
||||
-
|
||||
- Copyright (c) 2000 by Nicolas Devillard (ndevilla AT free DOT fr).
|
||||
-
|
||||
- Written by Nicolas Devillard. Not derived from licensed software.
|
||||
-
|
||||
- Permission is granted to anyone to use this software for any
|
||||
- purpose on any computer system, and to redistribute it freely,
|
||||
- subject to the following restrictions:
|
||||
-
|
||||
- 1. The author is not responsible for the consequences of use of
|
||||
- this software, no matter how awful, even if they arise
|
||||
- from defects in it.
|
||||
-
|
||||
- 2. The origin of this software must not be misrepresented, either
|
||||
- by explicit claim or by omission.
|
||||
-
|
||||
- 3. Altered versions must be plainly marked as such, and must not
|
||||
- be misrepresented as being the original software.
|
||||
-
|
||||
- 4. This notice may not be removed or altered.
|
||||
-
|
||||
- */
|
||||
-
|
||||
-
|
||||
-#ifndef _INIPARSER_H_
|
||||
-#define _INIPARSER_H_
|
||||
-#include <stdio.h>
|
||||
-#include <stdlib.h>
|
||||
-#include <string.h>
|
||||
-#include <unistd.h>
|
||||
-#include <ctype.h>
|
||||
-
|
||||
-#include <ccs.h>
|
||||
-
|
||||
-typedef IniDictionary dictionary;
|
||||
-
|
||||
-typedef struct _FileLock
|
||||
-{
|
||||
- int fd;
|
||||
-} FileLock;
|
||||
-
|
||||
-/* generated by genproto */
|
||||
-
|
||||
-dictionary * iniparser_new(char *ininame);
|
||||
-dictionary * dictionary_new(int size);
|
||||
-void iniparser_free(dictionary * d);
|
||||
-
|
||||
-
|
||||
-int iniparser_getnsec(dictionary * d);
|
||||
-char * iniparser_getsecname(dictionary * d, int n);
|
||||
-void iniparser_dump_ini(dictionary * d, const char * file_name);
|
||||
-char * iniparser_getstring(dictionary * d, char * key, char * def);
|
||||
-void iniparser_add_entry(dictionary * d, char * sec, char * key, char * val);
|
||||
-int iniparser_find_entry(dictionary * ini, char * entry);
|
||||
-int iniparser_setstr(dictionary * ini, char * entry, char * val);
|
||||
-void iniparser_unset(dictionary * ini, char * entry);
|
||||
-
|
||||
-#endif
|
||||
-
|
||||
diff -Naur libcompizconfig-0.8.2.orig/src/main.c libcompizconfig-0.8.2/src/main.c
|
||||
--- libcompizconfig-0.8.2.orig/src/main.c 2009-03-05 03:22:22.000000000 +0000
|
||||
+++ libcompizconfig-0.8.2/src/main.c 2009-05-02 14:56:26.000000000 +0100
|
||||
@@ -34,9 +34,9 @@
|
||||
#include <math.h>
|
||||
|
||||
#include <ccs.h>
|
||||
+#include <iniparser.h>
|
||||
|
||||
#include "ccs-private.h"
|
||||
-#include "iniparser.h"
|
||||
|
||||
Bool basicMetadata = FALSE;
|
||||
|
||||
@@ -2577,7 +2577,7 @@
|
||||
return FALSE;
|
||||
fclose (fp);
|
||||
|
||||
- importFile = iniparser_new ((char *) fileName);
|
||||
+ importFile = iniparser_load ((char *) fileName);
|
||||
if (!importFile)
|
||||
return FALSE;
|
||||
|
@ -0,0 +1,41 @@
|
||||
From adf3fefc4afa6225afedaf5f92b0501dafa99c65 Mon Sep 17 00:00:00 2001
|
||||
From: =?utf-8?q?Diego=20'Flameeyes'=20Petten=C3=B2?= <flameeyes@gmail.com>
|
||||
Date: Sat, 30 Aug 2008 14:51:46 +0200
|
||||
Subject: [PATCH] Fix undefined references for XStringToKeysym.
|
||||
|
||||
The XStringToKeysym function comes from libX11, link to it to not have
|
||||
undefined references in the shared library.
|
||||
---
|
||||
configure.ac | 2 ++
|
||||
src/Makefile.am | 2 +-
|
||||
2 files changed, 3 insertions(+), 1 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 1668771..b8bc4cf 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -91,6 +91,8 @@ AC_SUBST(plugindir)
|
||||
PKG_CHECK_MODULES(LIBXML2, "libxml-2.0")
|
||||
AC_SUBST(LIBXML2_REQUIRES)
|
||||
|
||||
+PKG_CHECK_MODULES(X11, x11)
|
||||
+
|
||||
AC_CHECK_HEADERS([sys/inotify.h], [have_inotify=yes], [have_inotify=no])
|
||||
|
||||
globalmetadata=$datadir/compizconfig/global.xml
|
||||
diff --git a/src/Makefile.am b/src/Makefile.am
|
||||
index ac7424f..9bd9722 100644
|
||||
--- a/src/Makefile.am
|
||||
+++ b/src/Makefile.am
|
||||
@@ -22,7 +22,7 @@ libcompizconfig_la_SOURCES = \
|
||||
ccs-private.h \
|
||||
iniparser.h
|
||||
|
||||
-libcompizconfig_la_LIBADD = @LIBXML2_LIBS@
|
||||
+libcompizconfig_la_LIBADD = @LIBXML2_LIBS@ $(X11_LIBS)
|
||||
|
||||
lib_LTLIBRARIES=libcompizconfig.la
|
||||
|
||||
--
|
||||
1.6.0.1
|
||||
|
38
x11-libs/libcompizconfig/libcompizconfig-0.8.4-r9999.ebuild
Normal file
38
x11-libs/libcompizconfig/libcompizconfig-0.8.4-r9999.ebuild
Normal file
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/x11-libs/libcompizconfig/libcompizconfig-0.8.4-r2.ebuild,v 1.2 2011/03/21 19:52:57 nirbheek Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
DESCRIPTION="Compiz Configuration System"
|
||||
HOMEPAGE="http://www.compiz.org/"
|
||||
SRC_URI="http://releases.compiz.org/${PV}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/libxml2:2
|
||||
dev-libs/protobuf
|
||||
>=x11-wm/compiz-${PV}
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-util/intltool-0.41
|
||||
>=dev-util/pkgconfig-0.19
|
||||
"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-dependency-tracking \
|
||||
--enable-fast-install \
|
||||
--disable-static
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
}
|
Reference in New Issue
Block a user