aboutsummaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-16 19:02:00 -0400
committerdsomero <xgizzmo@slackbuilds.org>2012-09-16 19:42:17 -0400
commit9bd329be05c8d293648518ad1cc6273ad33e228d (patch)
tree6f0ecec18ca913a61ebf5679e08347cfb66fdbd6 /desktop
parentbbd8fd44359b011cf3cf1ec44374966937d76d32 (diff)
desktop/cairo-compmgr: Fixed underlinking and REQUIRES
Diffstat (limited to 'desktop')
-rw-r--r--desktop/cairo-compmgr/cairo-compmgr.SlackBuild22
-rw-r--r--desktop/cairo-compmgr/cairo-compmgr.info2
-rw-r--r--desktop/cairo-compmgr/patches/cairo-compmgr-fix-link.patch88
-rw-r--r--desktop/cairo-compmgr/patches/cairo-compmgr-link-gmodule.patch88
-rw-r--r--desktop/cairo-compmgr/patches/cairo-compmgr-link-libICE.patch90
-rw-r--r--desktop/cairo-compmgr/patches/fixup-vala-requirement.patch (renamed from desktop/cairo-compmgr/fixup-vala-requirement.patch)0
6 files changed, 278 insertions, 12 deletions
diff --git a/desktop/cairo-compmgr/cairo-compmgr.SlackBuild b/desktop/cairo-compmgr/cairo-compmgr.SlackBuild
index 94233c4321375..20eedd2e35c4a 100644
--- a/desktop/cairo-compmgr/cairo-compmgr.SlackBuild
+++ b/desktop/cairo-compmgr/cairo-compmgr.SlackBuild
@@ -7,7 +7,7 @@
PRGNAM=cairo-compmgr
VERSION=${VERSION:-0.3.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -37,7 +37,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e # Exit on most errors
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -51,13 +51,6 @@ find . \
-type f -perm /111 -exec chmod 755 {} \; -o \
-type f -exec chmod 644 {} \;
-if pkg-config --exists gconf-2.0 ; then
- WITH_GCONF=YES
- gconf_flags="--enable-gconf --with-gconf-source=\"xml::/etc/gconf/gconf.xml.defaults\" --disable-schemas-install"
-else
- gconf_flags="--disable-gconf --disable-schemas-install"
-fi
-
if pkg-config --exists libgtop-2.0 ; then
WITH_PERF=YES
perf_flags="--enable-perf-plugin"
@@ -67,7 +60,12 @@ fi
# If vala changes the name of the pkgconfig file from libvala-0.12.pc,
# then this patch will have to be changed. It works with vala-0.11.2.
-patch -p1 < $CWD/fixup-vala-requirement.patch
+patch -p1 < $CWD/patches/fixup-vala-requirement.patch
+
+# Fix underlinking
+patch -p1 < $CWD/patches/cairo-compmgr-fix-link.patch
+patch -p1 < $CWD/patches/cairo-compmgr-link-gmodule.patch
+patch -p1 < $CWD/patches/cairo-compmgr-link-libICE.patch
# gobject introspection will not be 'stable' until GTK+3
CFLAGS="$SLKCFLAGS" \
@@ -83,7 +81,9 @@ CXXFLAGS="$SLKCFLAGS" \
--disable-static \
--disable-gobject-introspection \
--build=$ARCH-slackware-linux \
- ${gconf_flags} \
+ --enable-gconf \
+ --with-gconf-source=\"xml::/etc/gconf/gconf.xml.defaults\" \
+ --disable-schemas-install \
${perf_flags}
make
diff --git a/desktop/cairo-compmgr/cairo-compmgr.info b/desktop/cairo-compmgr/cairo-compmgr.info
index 4927197dec3d5..0fcd6cb1fe81c 100644
--- a/desktop/cairo-compmgr/cairo-compmgr.info
+++ b/desktop/cairo-compmgr/cairo-compmgr.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://download.tuxfamily.org/ccm/cairo-compmgr/cairo-compmgr-0.3.0.ta
MD5SUM="f8a2b31d99505ca0308f3533160d8d3b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="vala"
+REQUIRES="vala-12"
MAINTAINER="Geoff Ritter"
EMAIL="geoff dot ritter at gmail dot com"
diff --git a/desktop/cairo-compmgr/patches/cairo-compmgr-fix-link.patch b/desktop/cairo-compmgr/patches/cairo-compmgr-fix-link.patch
new file mode 100644
index 0000000000000..5788fef309a61
--- /dev/null
+++ b/desktop/cairo-compmgr/patches/cairo-compmgr-fix-link.patch
@@ -0,0 +1,88 @@
+Index: cairo-compmgr-0.3.0/configure.ac
+===================================================================
+--- cairo-compmgr-0.3.0.orig/configure.ac
++++ cairo-compmgr-0.3.0/configure.ac
+@@ -81,6 +81,7 @@ PKG_CHECK_MODULES(CAIRO_COMPMGR,
+ xdamage,
+ xext,
+ xi,
++ x11,
+ sm,
+ cairo >= $CAIRO_REQUIRED,
+ pixman-1 >= $PIXMAN_REQUIRED,
+Index: cairo-compmgr-0.3.0/configure
+===================================================================
+--- cairo-compmgr-0.3.0.orig/configure
++++ cairo-compmgr-0.3.0/configure
+@@ -13369,6 +13369,7 @@ if test -n "$PKG_CONFIG"; then
+ xdamage,
+ xext,
+ xi,
++ x11,
+ sm,
+ cairo >= \$CAIRO_REQUIRED,
+ pixman-1 >= \$PIXMAN_REQUIRED,
+@@ -13378,6 +13379,7 @@ if test -n "$PKG_CONFIG"; then
+ xdamage,
+ xext,
+ xi,
++ x11,
+ sm,
+ cairo >= $CAIRO_REQUIRED,
+ pixman-1 >= $PIXMAN_REQUIRED,
+@@ -13390,6 +13392,7 @@ if test -n "$PKG_CONFIG"; then
+ xdamage,
+ xext,
+ xi,
++ x11,
+ sm,
+ cairo >= $CAIRO_REQUIRED,
+ pixman-1 >= $PIXMAN_REQUIRED,
+@@ -13411,6 +13414,7 @@ if test -n "$PKG_CONFIG"; then
+ xdamage,
+ xext,
+ xi,
++ x11,
+ sm,
+ cairo >= \$CAIRO_REQUIRED,
+ pixman-1 >= \$PIXMAN_REQUIRED,
+@@ -13420,6 +13424,7 @@ if test -n "$PKG_CONFIG"; then
+ xdamage,
+ xext,
+ xi,
++ x11,
+ sm,
+ cairo >= $CAIRO_REQUIRED,
+ pixman-1 >= $PIXMAN_REQUIRED,
+@@ -13432,6 +13437,7 @@ if test -n "$PKG_CONFIG"; then
+ xdamage,
+ xext,
+ xi,
++ x11,
+ sm,
+ cairo >= $CAIRO_REQUIRED,
+ pixman-1 >= $PIXMAN_REQUIRED,
+@@ -13459,6 +13465,7 @@ fi
+ xdamage,
+ xext,
+ xi,
++ x11,
+ sm,
+ cairo >= $CAIRO_REQUIRED,
+ pixman-1 >= $PIXMAN_REQUIRED,
+@@ -13469,6 +13476,7 @@ fi
+ xdamage,
+ xext,
+ xi,
++ x11,
+ sm,
+ cairo >= $CAIRO_REQUIRED,
+ pixman-1 >= $PIXMAN_REQUIRED,
+@@ -13482,6 +13490,7 @@ fi
+ xdamage,
+ xext,
+ xi,
++ x11,
+ sm,
+ cairo >= $CAIRO_REQUIRED,
+ pixman-1 >= $PIXMAN_REQUIRED,
diff --git a/desktop/cairo-compmgr/patches/cairo-compmgr-link-gmodule.patch b/desktop/cairo-compmgr/patches/cairo-compmgr-link-gmodule.patch
new file mode 100644
index 0000000000000..ae9e9345fcb77
--- /dev/null
+++ b/desktop/cairo-compmgr/patches/cairo-compmgr-link-gmodule.patch
@@ -0,0 +1,88 @@
+Index: cairo-compmgr-0.3.0/configure
+===================================================================
+--- cairo-compmgr-0.3.0.orig/configure
++++ cairo-compmgr-0.3.0/configure
+@@ -13372,6 +13372,7 @@ if test -n "$PKG_CONFIG"; then
+ sm,
+ cairo >= \$CAIRO_REQUIRED,
+ pixman-1 >= \$PIXMAN_REQUIRED,
++ gmodule-2.0,
+ gtk+-2.0 >= \$GTK_REQUIRED
+ vala-1.0 >= \$VALA_REQUIRED\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "xcomposite,
+@@ -13381,6 +13382,7 @@ if test -n "$PKG_CONFIG"; then
+ sm,
+ cairo >= $CAIRO_REQUIRED,
+ pixman-1 >= $PIXMAN_REQUIRED,
++ gmodule-2.0,
+ gtk+-2.0 >= $GTK_REQUIRED
+ vala-1.0 >= $VALA_REQUIRED") 2>&5
+ ac_status=$?
+@@ -13393,6 +13395,7 @@ if test -n "$PKG_CONFIG"; then
+ sm,
+ cairo >= $CAIRO_REQUIRED,
+ pixman-1 >= $PIXMAN_REQUIRED,
++ gmodule-2.0,
+ gtk+-2.0 >= $GTK_REQUIRED
+ vala-1.0 >= $VALA_REQUIRED" 2>/dev/null`
+ else
+@@ -13414,6 +13417,7 @@ if test -n "$PKG_CONFIG"; then
+ sm,
+ cairo >= \$CAIRO_REQUIRED,
+ pixman-1 >= \$PIXMAN_REQUIRED,
++ gmodule-2.0,
+ gtk+-2.0 >= \$GTK_REQUIRED
+ vala-1.0 >= \$VALA_REQUIRED\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "xcomposite,
+@@ -13423,6 +13427,7 @@ if test -n "$PKG_CONFIG"; then
+ sm,
+ cairo >= $CAIRO_REQUIRED,
+ pixman-1 >= $PIXMAN_REQUIRED,
++ gmodule-2.0,
+ gtk+-2.0 >= $GTK_REQUIRED
+ vala-1.0 >= $VALA_REQUIRED") 2>&5
+ ac_status=$?
+@@ -13435,6 +13440,7 @@ if test -n "$PKG_CONFIG"; then
+ sm,
+ cairo >= $CAIRO_REQUIRED,
+ pixman-1 >= $PIXMAN_REQUIRED,
++ gmodule-2.0,
+ gtk+-2.0 >= $GTK_REQUIRED
+ vala-1.0 >= $VALA_REQUIRED" 2>/dev/null`
+ else
+@@ -13462,6 +13468,7 @@ fi
+ sm,
+ cairo >= $CAIRO_REQUIRED,
+ pixman-1 >= $PIXMAN_REQUIRED,
++ gmodule-2.0,
+ gtk+-2.0 >= $GTK_REQUIRED
+ vala-1.0 >= $VALA_REQUIRED"`
+ else
+@@ -13472,6 +13479,7 @@ fi
+ sm,
+ cairo >= $CAIRO_REQUIRED,
+ pixman-1 >= $PIXMAN_REQUIRED,
++ gmodule-2.0,
+ gtk+-2.0 >= $GTK_REQUIRED
+ vala-1.0 >= $VALA_REQUIRED"`
+ fi
+@@ -13485,6 +13493,7 @@ fi
+ sm,
+ cairo >= $CAIRO_REQUIRED,
+ pixman-1 >= $PIXMAN_REQUIRED,
++ gmodule-2.0,
+ gtk+-2.0 >= $GTK_REQUIRED
+ vala-1.0 >= $VALA_REQUIRED) were not met:
+
+Index: cairo-compmgr-0.3.0/configure.ac
+===================================================================
+--- cairo-compmgr-0.3.0.orig/configure.ac
++++ cairo-compmgr-0.3.0/configure.ac
+@@ -84,6 +84,7 @@ PKG_CHECK_MODULES(CAIRO_COMPMGR,
+ sm,
+ cairo >= $CAIRO_REQUIRED,
+ pixman-1 >= $PIXMAN_REQUIRED,
++ gmodule-2.0,
+ gtk+-2.0 >= $GTK_REQUIRED
+ vala-1.0 >= $VALA_REQUIRED])
+ AC_SUBST(CAIRO_COMPMGR_CFLAGS)
diff --git a/desktop/cairo-compmgr/patches/cairo-compmgr-link-libICE.patch b/desktop/cairo-compmgr/patches/cairo-compmgr-link-libICE.patch
new file mode 100644
index 0000000000000..54a2805064557
--- /dev/null
+++ b/desktop/cairo-compmgr/patches/cairo-compmgr-link-libICE.patch
@@ -0,0 +1,90 @@
+http://cairo-compmgr.tuxfamily.org/bugs/index.php?do=details&task_id=80
+
+Index: cairo-compmgr-0.3.0/configure
+===================================================================
+--- cairo-compmgr-0.3.0.orig/configure
++++ cairo-compmgr-0.3.0/configure
+@@ -13371,6 +13371,7 @@ if test -n "$PKG_CONFIG"; then
+ xi,
+ x11,
+ sm,
++ ice,
+ cairo >= \$CAIRO_REQUIRED,
+ pixman-1 >= \$PIXMAN_REQUIRED,
+ gmodule-2.0,
+@@ -13382,6 +13383,7 @@ if test -n "$PKG_CONFIG"; then
+ xi,
+ x11,
+ sm,
++ ice,
+ cairo >= $CAIRO_REQUIRED,
+ pixman-1 >= $PIXMAN_REQUIRED,
+ gmodule-2.0,
+@@ -13396,6 +13398,7 @@ if test -n "$PKG_CONFIG"; then
+ xi,
+ x11,
+ sm,
++ ice,
+ cairo >= $CAIRO_REQUIRED,
+ pixman-1 >= $PIXMAN_REQUIRED,
+ gmodule-2.0,
+@@ -13419,6 +13422,7 @@ if test -n "$PKG_CONFIG"; then
+ xi,
+ x11,
+ sm,
++ ice,
+ cairo >= \$CAIRO_REQUIRED,
+ pixman-1 >= \$PIXMAN_REQUIRED,
+ gmodule-2.0,
+@@ -13430,6 +13434,7 @@ if test -n "$PKG_CONFIG"; then
+ xi,
+ x11,
+ sm,
++ ice,
+ cairo >= $CAIRO_REQUIRED,
+ pixman-1 >= $PIXMAN_REQUIRED,
+ gmodule-2.0,
+@@ -13444,6 +13449,7 @@ if test -n "$PKG_CONFIG"; then
+ xi,
+ x11,
+ sm,
++ ice,
+ cairo >= $CAIRO_REQUIRED,
+ pixman-1 >= $PIXMAN_REQUIRED,
+ gmodule-2.0,
+@@ -13473,6 +13479,7 @@ fi
+ xi,
+ x11,
+ sm,
++ ice,
+ cairo >= $CAIRO_REQUIRED,
+ pixman-1 >= $PIXMAN_REQUIRED,
+ gmodule-2.0,
+@@ -13485,6 +13492,7 @@ fi
+ xi,
+ x11,
+ sm,
++ ice,
+ cairo >= $CAIRO_REQUIRED,
+ pixman-1 >= $PIXMAN_REQUIRED,
+ gmodule-2.0,
+@@ -13500,6 +13508,7 @@ fi
+ xi,
+ x11,
+ sm,
++ ice,
+ cairo >= $CAIRO_REQUIRED,
+ pixman-1 >= $PIXMAN_REQUIRED,
+ gmodule-2.0,
+Index: cairo-compmgr-0.3.0/configure.ac
+===================================================================
+--- cairo-compmgr-0.3.0.orig/configure.ac
++++ cairo-compmgr-0.3.0/configure.ac
+@@ -83,6 +83,7 @@ PKG_CHECK_MODULES(CAIRO_COMPMGR,
+ xi,
+ x11,
+ sm,
++ ice,
+ cairo >= $CAIRO_REQUIRED,
+ pixman-1 >= $PIXMAN_REQUIRED,
+ gmodule-2.0,
diff --git a/desktop/cairo-compmgr/fixup-vala-requirement.patch b/desktop/cairo-compmgr/patches/fixup-vala-requirement.patch
index 0115e16d0b030..0115e16d0b030 100644
--- a/desktop/cairo-compmgr/fixup-vala-requirement.patch
+++ b/desktop/cairo-compmgr/patches/fixup-vala-requirement.patch