Gentoo Archives: gentoo-commits

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/musl:master commit in: x11-wm/marco/, x11-wm/marco/files/
Date: Thu, 02 Nov 2017 01:20:19
Message-Id: 1509585591.ff728c2101ac90d936f1dea563fbbb837ca6bea5.blueness@gentoo
1 commit: ff728c2101ac90d936f1dea563fbbb837ca6bea5
2 Author: Bjorn Pagen <bjornpagen <AT> gmail <DOT> com>
3 AuthorDate: Wed Nov 1 00:38:32 2017 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Thu Nov 2 01:19:51 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=ff728c21
7
8 add x11-wm/marco
9
10 x11-wm/marco/Manifest | 4 ++
11 x11-wm/marco/files/marco-fix-musl.patch | 12 ++++++
12 x11-wm/marco/marco-1.18.1.ebuild | 76 +++++++++++++++++++++++++++++++++
13 x11-wm/marco/metadata.xml | 14 ++++++
14 4 files changed, 106 insertions(+)
15
16 diff --git a/x11-wm/marco/Manifest b/x11-wm/marco/Manifest
17 new file mode 100644
18 index 0000000..72e5197
19 --- /dev/null
20 +++ b/x11-wm/marco/Manifest
21 @@ -0,0 +1,4 @@
22 +AUX marco-fix-musl.patch 269 SHA256 4e6873ab6f5205294b167e888ed87b19c66ddc4c1b3498d05fc8f34f6969cd09 SHA512 91a7a3c7cbdc6ec29bc2bbc6239e355f7cabc62a60da052d09224d4e45e99a42a560101be1694eca415a7f2be0cd9c695ec0b16c9fd359ac86f01c103b4213f2 WHIRLPOOL 59fda42271c878719009c8fe070ebf1ef6d09e1de89a704220cdfd1f10ee1cafce16cd181a6a44f9f4bbb12e7de348237684b0a3ec9c128b905a6692e1610b3b
23 +DIST marco-1.18.1.tar.xz 1251108 SHA256 65a276104745817208582e5da1894eeb86391ea2e288775aa1d098e679ba8b53 SHA512 d6851c8c1c5bc25993dc72de7e5090736d236942ad37124ef52d0c23cc66faa1e4288273160bb9c1d1c303c99e3e096dcf031b2ea70bde93858627f31034708c WHIRLPOOL 94114a29315e5efe3a0204111f9299e23a7861993c37228d96a68c21fbceb3e0ea4de671056b9a3a21130aaa1ab0b23c4ef326a8e8ab65beaf58550fd0a10d58
24 +EBUILD marco-1.18.1.ebuild 1522 SHA256 4595bd13eb249ebaae7f4e7d0f3c5eb2106e91366cd01f027c7855d2a840a0ff SHA512 7002279bde9acc7e791798a9549444464a10ca8c664022ac3438db0aff6569373f6f551363c8b5b7e97623990cdef8457eb327261274ef064d27b2b97afe3cf8 WHIRLPOOL d9a8e17b726e2b7499b7edcc3d70a5290c530911137da8ec32801c0b1796a2f9dd17ff843905383fe624f2b16286519f793b0dc0c6ce750fa568d55119c646fa
25 +MISC metadata.xml 410 SHA256 49da4b555f78004ee6de6eefa46e5f069b43077763920da1b1cf3d94bdd45702 SHA512 3736e03b4952f45354445560aa2aa6118a3257fe8b00d8d39df7946f65cfee017ef04f48447807387a9a4b6f37641bc55074efa7cadd944e1243feb183ab1d84 WHIRLPOOL 410a27c26a58bf6341a108743f7e16c0421ef7abcf90947022fd30a43d7060eb2524dc44f6fe93130443de9bddbc29cd9b84615b3fbb59ba71e0bee294ff2de9
26
27 diff --git a/x11-wm/marco/files/marco-fix-musl.patch b/x11-wm/marco/files/marco-fix-musl.patch
28 new file mode 100644
29 index 0000000..591e6a4
30 --- /dev/null
31 +++ b/x11-wm/marco/files/marco-fix-musl.patch
32 @@ -0,0 +1,12 @@
33 +diff --git a/src/ui/theme.c.orig b/src/ui/theme.c
34 +index e45f98e..d049b16 100644
35 +--- a/src/ui/theme.c
36 ++++ b/src/ui/theme.c
37 +@@ -60,6 +60,7 @@
38 + #include <gtk/gtk.h>
39 + #include <string.h>
40 + #include <stdlib.h>
41 ++#define _GNU_SOURCE 1
42 + #define __USE_XOPEN
43 + #include <math.h>
44 +
45
46 diff --git a/x11-wm/marco/marco-1.18.1.ebuild b/x11-wm/marco/marco-1.18.1.ebuild
47 new file mode 100644
48 index 0000000..4a04bf9
49 --- /dev/null
50 +++ b/x11-wm/marco/marco-1.18.1.ebuild
51 @@ -0,0 +1,76 @@
52 +# Copyright 1999-2017 Gentoo Foundation
53 +# Distributed under the terms of the GNU General Public License v2
54 +
55 +EAPI=6
56 +
57 +MATE2_LA_PUNT="yes"
58 +
59 +inherit mate
60 +
61 +if [[ ${PV} != 9999 ]]; then
62 + KEYWORDS="~amd64 ~arm ~x86"
63 +fi
64 +
65 +DESCRIPTION="MATE default window manager"
66 +LICENSE="GPL-2"
67 +SLOT="0"
68 +
69 +IUSE="startup-notification test xinerama"
70 +
71 +COMMON_DEPEND="
72 + dev-libs/atk:0
73 + >=dev-libs/glib-2.32.10:2
74 + >=gnome-base/libgtop-2:2=
75 + media-libs/libcanberra:0[gtk3]
76 + x11-libs/cairo:0
77 + >=x11-libs/pango-1.2:0[X]
78 + x11-libs/gdk-pixbuf:2
79 + >=x11-libs/gtk+-3.0:3
80 + x11-libs/libICE:0
81 + x11-libs/libSM:0
82 + x11-libs/libX11:0
83 + >=x11-libs/libXcomposite-0.3:0
84 + x11-libs/libXcursor:0
85 + x11-libs/libXdamage:0
86 + x11-libs/libXext:0
87 + x11-libs/libXfixes:0
88 + x11-libs/libXrandr:0
89 + x11-libs/libXrender:0
90 + >=x11-libs/startup-notification-0.7:0
91 + virtual/libintl:0
92 + xinerama? ( x11-libs/libXinerama:0 )
93 + !!x11-wm/mate-window-manager"
94 +
95 +RDEPEND="${COMMON_DEPEND}
96 + gnome-extra/zenity:0
97 + >=mate-base/mate-desktop-1.17.0"
98 +
99 +DEPEND="${COMMON_DEPEND}
100 + app-text/yelp-tools:0
101 + >=dev-util/intltool-0.34.90:*
102 + sys-devel/gettext:*
103 + virtual/pkgconfig:*
104 + x11-proto/xextproto:0
105 + x11-proto/xproto:0
106 + test? ( app-text/docbook-xml-dtd:4.5 )
107 + xinerama? ( x11-proto/xineramaproto:0 )"
108 +
109 +PATCHES=(
110 + "${FILESDIR}"/${PN}-fix-musl.patch
111 +)
112 +
113 +src_configure() {
114 + mate_src_configure \
115 + --enable-compositor \
116 + --enable-render \
117 + --enable-shape \
118 + --enable-sm \
119 + --enable-xsync \
120 + $(use_enable startup-notification) \
121 + $(use_enable xinerama)
122 +}
123 +
124 +src_install() {
125 + mate_src_install
126 + dodoc {,doc/}*.txt
127 +}
128
129 diff --git a/x11-wm/marco/metadata.xml b/x11-wm/marco/metadata.xml
130 new file mode 100644
131 index 0000000..e500955
132 --- /dev/null
133 +++ b/x11-wm/marco/metadata.xml
134 @@ -0,0 +1,14 @@
135 +<?xml version="1.0" encoding="UTF-8"?>
136 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
137 +<pkgmetadata>
138 + <maintainer type="project">
139 + <email>mate@g.o</email>
140 + <name>Gentoo MATE Desktop</name>
141 + </maintainer>
142 + <use>
143 + <flag name="gtk3">Build with GTK+3 instead of GTK+2</flag>
144 + </use>
145 + <upstream>
146 + <remote-id type="github">mate-desktop/marco</remote-id>
147 + </upstream>
148 +</pkgmetadata>