Add libcompizconfig, the compiz configuration system library.
This commit is contained in:
parent
47aecd728f
commit
fc60e889bd
34
x11/compiz/libcompizconfig/Makefile
Normal file
34
x11/compiz/libcompizconfig/Makefile
Normal file
@ -0,0 +1,34 @@
|
||||
# $OpenBSD: Makefile,v 1.1 2013/12/03 00:49:44 fgsch Exp $
|
||||
|
||||
COMMENT = compiz configuration system library
|
||||
|
||||
V = 0.8.8
|
||||
DISTNAME = libcompizconfig-${V}
|
||||
|
||||
SHARED_LIBS = compizconfig 0.0 # 0.0
|
||||
|
||||
MASTER_SITES = http://releases.compiz.org/${V}/
|
||||
|
||||
WANTLIB = X11 m stdc++ xcb xml2 z
|
||||
|
||||
MODULES = converters/libiconv \
|
||||
textproc/intltool
|
||||
|
||||
BUILD_DEPENDS = x11/compiz/core
|
||||
RUN_DEPENDS = x11/compiz/core
|
||||
LIB_DEPENDS = textproc/libxml
|
||||
|
||||
LIBTOOL_FLAGS = --tag=disable-static
|
||||
|
||||
BASESYSCONFDIR = ${LOCALBASE}/share/compiz
|
||||
|
||||
CONFIGURE_STYLE = gnu
|
||||
CONFIGURE_ARGS = --disable-protobuf
|
||||
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
|
||||
post-install:
|
||||
@rm -f ${PREFIX}/lib/compiz/*.la \
|
||||
${PREFIX}/lib/compizconfig/backends/*.la
|
||||
|
||||
.include <bsd.port.mk>
|
2
x11/compiz/libcompizconfig/distinfo
Normal file
2
x11/compiz/libcompizconfig/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (compiz/libcompizconfig-0.8.8.tar.gz) = 32a7JDA3WJxpI59P5doMUp9GYZS8vncviJlCZIWTLtw=
|
||||
SIZE (compiz/libcompizconfig-0.8.8.tar.gz) = 408366
|
13
x11/compiz/libcompizconfig/patches/patch-backend_ini_c
Normal file
13
x11/compiz/libcompizconfig/patches/patch-backend_ini_c
Normal file
@ -0,0 +1,13 @@
|
||||
$OpenBSD: patch-backend_ini_c,v 1.1 2013/12/03 00:49:44 fgsch Exp $
|
||||
--- backend/ini.c.orig Sun Feb 24 14:04:06 2013
|
||||
+++ backend/ini.c Sun Feb 24 14:04:14 2013
|
||||
@@ -22,7 +22,9 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
+#ifdef HAVE_MALLOC_H
|
||||
#include <malloc.h>
|
||||
+#endif
|
||||
#include <string.h>
|
||||
|
||||
#include <sys/types.h>
|
13
x11/compiz/libcompizconfig/patches/patch-src_filewatch_c
Normal file
13
x11/compiz/libcompizconfig/patches/patch-src_filewatch_c
Normal file
@ -0,0 +1,13 @@
|
||||
$OpenBSD: patch-src_filewatch_c,v 1.1 2013/12/03 00:49:44 fgsch Exp $
|
||||
--- src/filewatch.c.orig Sun Feb 24 14:01:39 2013
|
||||
+++ src/filewatch.c Sun Feb 24 14:02:00 2013
|
||||
@@ -27,7 +27,9 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
+#ifdef HAVE_MALLOC_H
|
||||
#include <malloc.h>
|
||||
+#endif
|
||||
|
||||
#if HAVE_SYS_INOTIFY_H
|
||||
#include <sys/inotify.h>
|
13
x11/compiz/libcompizconfig/patches/patch-src_lists_c
Normal file
13
x11/compiz/libcompizconfig/patches/patch-src_lists_c
Normal file
@ -0,0 +1,13 @@
|
||||
$OpenBSD: patch-src_lists_c,v 1.1 2013/12/03 00:49:44 fgsch Exp $
|
||||
--- src/lists.c.orig Sun Feb 24 14:01:44 2013
|
||||
+++ src/lists.c Sun Feb 24 14:01:52 2013
|
||||
@@ -22,7 +22,9 @@
|
||||
#define _GNU_SOURCE
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
+#ifdef HAVE_MALLOC_H
|
||||
#include <malloc.h>
|
||||
+#endif
|
||||
|
||||
#include <ccs.h>
|
||||
|
23
x11/compiz/libcompizconfig/patches/patch-src_main_c
Normal file
23
x11/compiz/libcompizconfig/patches/patch-src_main_c
Normal file
@ -0,0 +1,23 @@
|
||||
$OpenBSD: patch-src_main_c,v 1.1 2013/12/03 00:49:44 fgsch Exp $
|
||||
--- src/main.c.orig Sun Feb 24 13:57:42 2013
|
||||
+++ src/main.c Sun Feb 24 13:58:15 2013
|
||||
@@ -27,13 +27,19 @@
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
+#ifdef HAVE_MALLOC_H
|
||||
#include <malloc.h>
|
||||
+#endif
|
||||
#include <libintl.h>
|
||||
#include <dlfcn.h>
|
||||
#include <dirent.h>
|
||||
#include <math.h>
|
||||
|
||||
#include <ccs.h>
|
||||
+
|
||||
+#ifndef RTLD_NODELETE
|
||||
+#define RTLD_NODELETE 0
|
||||
+#endif
|
||||
|
||||
#include "ccs-private.h"
|
||||
#include "iniparser.h"
|
1
x11/compiz/libcompizconfig/pkg/DESCR
Normal file
1
x11/compiz/libcompizconfig/pkg/DESCR
Normal file
@ -0,0 +1 @@
|
||||
Compiz configuration system library.
|
14
x11/compiz/libcompizconfig/pkg/PLIST
Normal file
14
x11/compiz/libcompizconfig/pkg/PLIST
Normal file
@ -0,0 +1,14 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1 2013/12/03 00:49:44 fgsch Exp $
|
||||
include/compizconfig/
|
||||
include/compizconfig/ccs-backend.h
|
||||
include/compizconfig/ccs.h
|
||||
lib/compiz/libccp.so
|
||||
lib/compizconfig/
|
||||
lib/compizconfig/backends/
|
||||
lib/compizconfig/backends/libini.so
|
||||
lib/libcompizconfig.la
|
||||
@lib lib/libcompizconfig.so.${LIBcompizconfig_VERSION}
|
||||
lib/pkgconfig/libcompizconfig.pc
|
||||
share/compiz/ccp.xml
|
||||
share/compiz/compizconfig/
|
||||
share/compiz/compizconfig/config
|
Loading…
Reference in New Issue
Block a user