aboutsummaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorBjorn Pagen <bjornpagen@gmail.com>2017-10-31 20:38:32 -0400
committerAnthony G. Basile <blueness@gentoo.org>2017-11-01 21:19:51 -0400
commitff728c2101ac90d936f1dea563fbbb837ca6bea5 (patch)
tree4c1e832b74f0ba9ff0b6c36ff57cdacfdbb73195 /x11-wm
parentadd sys-libs/libblockdev (diff)
downloadmusl-ff728c2101ac90d936f1dea563fbbb837ca6bea5.tar.gz
musl-ff728c2101ac90d936f1dea563fbbb837ca6bea5.tar.bz2
musl-ff728c2101ac90d936f1dea563fbbb837ca6bea5.zip
add x11-wm/marco
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/marco/Manifest4
-rw-r--r--x11-wm/marco/files/marco-fix-musl.patch12
-rw-r--r--x11-wm/marco/marco-1.18.1.ebuild76
-rw-r--r--x11-wm/marco/metadata.xml14
4 files changed, 106 insertions, 0 deletions
diff --git a/x11-wm/marco/Manifest b/x11-wm/marco/Manifest
new file mode 100644
index 0000000..72e5197
--- /dev/null
+++ b/x11-wm/marco/Manifest
@@ -0,0 +1,4 @@
+AUX marco-fix-musl.patch 269 SHA256 4e6873ab6f5205294b167e888ed87b19c66ddc4c1b3498d05fc8f34f6969cd09 SHA512 91a7a3c7cbdc6ec29bc2bbc6239e355f7cabc62a60da052d09224d4e45e99a42a560101be1694eca415a7f2be0cd9c695ec0b16c9fd359ac86f01c103b4213f2 WHIRLPOOL 59fda42271c878719009c8fe070ebf1ef6d09e1de89a704220cdfd1f10ee1cafce16cd181a6a44f9f4bbb12e7de348237684b0a3ec9c128b905a6692e1610b3b
+DIST marco-1.18.1.tar.xz 1251108 SHA256 65a276104745817208582e5da1894eeb86391ea2e288775aa1d098e679ba8b53 SHA512 d6851c8c1c5bc25993dc72de7e5090736d236942ad37124ef52d0c23cc66faa1e4288273160bb9c1d1c303c99e3e096dcf031b2ea70bde93858627f31034708c WHIRLPOOL 94114a29315e5efe3a0204111f9299e23a7861993c37228d96a68c21fbceb3e0ea4de671056b9a3a21130aaa1ab0b23c4ef326a8e8ab65beaf58550fd0a10d58
+EBUILD marco-1.18.1.ebuild 1522 SHA256 4595bd13eb249ebaae7f4e7d0f3c5eb2106e91366cd01f027c7855d2a840a0ff SHA512 7002279bde9acc7e791798a9549444464a10ca8c664022ac3438db0aff6569373f6f551363c8b5b7e97623990cdef8457eb327261274ef064d27b2b97afe3cf8 WHIRLPOOL d9a8e17b726e2b7499b7edcc3d70a5290c530911137da8ec32801c0b1796a2f9dd17ff843905383fe624f2b16286519f793b0dc0c6ce750fa568d55119c646fa
+MISC metadata.xml 410 SHA256 49da4b555f78004ee6de6eefa46e5f069b43077763920da1b1cf3d94bdd45702 SHA512 3736e03b4952f45354445560aa2aa6118a3257fe8b00d8d39df7946f65cfee017ef04f48447807387a9a4b6f37641bc55074efa7cadd944e1243feb183ab1d84 WHIRLPOOL 410a27c26a58bf6341a108743f7e16c0421ef7abcf90947022fd30a43d7060eb2524dc44f6fe93130443de9bddbc29cd9b84615b3fbb59ba71e0bee294ff2de9
diff --git a/x11-wm/marco/files/marco-fix-musl.patch b/x11-wm/marco/files/marco-fix-musl.patch
new file mode 100644
index 0000000..591e6a4
--- /dev/null
+++ b/x11-wm/marco/files/marco-fix-musl.patch
@@ -0,0 +1,12 @@
+diff --git a/src/ui/theme.c.orig b/src/ui/theme.c
+index e45f98e..d049b16 100644
+--- a/src/ui/theme.c
++++ b/src/ui/theme.c
+@@ -60,6 +60,7 @@
+ #include <gtk/gtk.h>
+ #include <string.h>
+ #include <stdlib.h>
++#define _GNU_SOURCE 1
+ #define __USE_XOPEN
+ #include <math.h>
+
diff --git a/x11-wm/marco/marco-1.18.1.ebuild b/x11-wm/marco/marco-1.18.1.ebuild
new file mode 100644
index 0000000..4a04bf9
--- /dev/null
+++ b/x11-wm/marco/marco-1.18.1.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MATE2_LA_PUNT="yes"
+
+inherit mate
+
+if [[ ${PV} != 9999 ]]; then
+ KEYWORDS="~amd64 ~arm ~x86"
+fi
+
+DESCRIPTION="MATE default window manager"
+LICENSE="GPL-2"
+SLOT="0"
+
+IUSE="startup-notification test xinerama"
+
+COMMON_DEPEND="
+ dev-libs/atk:0
+ >=dev-libs/glib-2.32.10:2
+ >=gnome-base/libgtop-2:2=
+ media-libs/libcanberra:0[gtk3]
+ x11-libs/cairo:0
+ >=x11-libs/pango-1.2:0[X]
+ x11-libs/gdk-pixbuf:2
+ >=x11-libs/gtk+-3.0:3
+ x11-libs/libICE:0
+ x11-libs/libSM:0
+ x11-libs/libX11:0
+ >=x11-libs/libXcomposite-0.3:0
+ x11-libs/libXcursor:0
+ x11-libs/libXdamage:0
+ x11-libs/libXext:0
+ x11-libs/libXfixes:0
+ x11-libs/libXrandr:0
+ x11-libs/libXrender:0
+ >=x11-libs/startup-notification-0.7:0
+ virtual/libintl:0
+ xinerama? ( x11-libs/libXinerama:0 )
+ !!x11-wm/mate-window-manager"
+
+RDEPEND="${COMMON_DEPEND}
+ gnome-extra/zenity:0
+ >=mate-base/mate-desktop-1.17.0"
+
+DEPEND="${COMMON_DEPEND}
+ app-text/yelp-tools:0
+ >=dev-util/intltool-0.34.90:*
+ sys-devel/gettext:*
+ virtual/pkgconfig:*
+ x11-proto/xextproto:0
+ x11-proto/xproto:0
+ test? ( app-text/docbook-xml-dtd:4.5 )
+ xinerama? ( x11-proto/xineramaproto:0 )"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-fix-musl.patch
+)
+
+src_configure() {
+ mate_src_configure \
+ --enable-compositor \
+ --enable-render \
+ --enable-shape \
+ --enable-sm \
+ --enable-xsync \
+ $(use_enable startup-notification) \
+ $(use_enable xinerama)
+}
+
+src_install() {
+ mate_src_install
+ dodoc {,doc/}*.txt
+}
diff --git a/x11-wm/marco/metadata.xml b/x11-wm/marco/metadata.xml
new file mode 100644
index 0000000..e500955
--- /dev/null
+++ b/x11-wm/marco/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>mate@gentoo.org</email>
+ <name>Gentoo MATE Desktop</name>
+ </maintainer>
+ <use>
+ <flag name="gtk3">Build with GTK+3 instead of GTK+2</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">mate-desktop/marco</remote-id>
+ </upstream>
+</pkgmetadata>