Gentoo Archives: gentoo-commits

From: Daniel Campbell <zlg@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/spacefm/files/, x11-misc/spacefm/
Date: Mon, 02 Jan 2017 12:36:44
Message-Id: 1483360549.e51eaf345132b3494c05db6315e8531a359ca68b.zlg@gentoo
1 commit: e51eaf345132b3494c05db6315e8531a359ca68b
2 Author: Daniel Campbell <zlg <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 2 10:58:19 2017 +0000
4 Commit: Daniel Campbell <zlg <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 2 12:35:49 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e51eaf34
7
8 x11-misc/spacefm: include sysmacros.h, bug 603000
9
10 Include DEPEND fix to no longer need REQUIRED_USE, build using gtk3 by
11 default per GNOME team's suggestions.
12
13 Gentoo-Bug: 603000
14 Gentoo-Bug-URL: https://bugs.gentoo.org/603000
15
16 Package-Manager: Portage-2.3.3, Repoman-2.3.1
17
18 .../spacefm/files/spacefm-include-sysmacros.patch | 10 ++++++++++
19 .../{spacefm-9999.ebuild => spacefm-1.0.4-r1.ebuild} | 18 ++++++++++--------
20 .../{spacefm-9999.ebuild => spacefm-1.0.5-r2.ebuild} | 19 ++++++++++---------
21 x11-misc/spacefm/spacefm-9999.ebuild | 9 ++++-----
22 4 files changed, 34 insertions(+), 22 deletions(-)
23
24 diff --git a/x11-misc/spacefm/files/spacefm-include-sysmacros.patch b/x11-misc/spacefm/files/spacefm-include-sysmacros.patch
25 new file mode 100644
26 index 00000000..153d7c2
27 --- /dev/null
28 +++ b/x11-misc/spacefm/files/spacefm-include-sysmacros.patch
29 @@ -0,0 +1,10 @@
30 +--- a/src/vfs/vfs-volume-nohal.c
31 ++++ b/src/vfs/vfs-volume-nohal.c
32 +@@ -36,6 +36,7 @@
33 +
34 + #include <signal.h> // kill
35 + #include <linux/kdev_t.h> // MAJOR MINOR
36 ++#include <sys/sysmacros.h> // needed for dev_t
37 +
38 + #ifdef HAVE_STATVFS
39 + #include <sys/statvfs.h>
40
41 diff --git a/x11-misc/spacefm/spacefm-9999.ebuild b/x11-misc/spacefm/spacefm-1.0.4-r1.ebuild
42 similarity index 87%
43 copy from x11-misc/spacefm/spacefm-9999.ebuild
44 copy to x11-misc/spacefm/spacefm-1.0.4-r1.ebuild
45 index 0ca069b..e147de8 100644
46 --- a/x11-misc/spacefm/spacefm-9999.ebuild
47 +++ b/x11-misc/spacefm/spacefm-1.0.4-r1.ebuild
48 @@ -1,20 +1,18 @@
49 -# Copyright 1999-2016 Gentoo Foundation
50 +# Copyright 1999-2017 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Id$
53
54 -EAPI=5
55 +EAPI=6
56
57 -EGIT_REPO_URI="git://github.com/IgnorantGuru/${PN}.git"
58 -EGIT_BRANCH="next"
59 -
60 -inherit fdo-mime git-2 gnome2-utils linux-info
61 +inherit fdo-mime gnome2-utils linux-info
62
63 DESCRIPTION="A multi-panel tabbed file manager"
64 HOMEPAGE="https://ignorantguru.github.com/spacefm/"
65 +SRC_URI="https://github.com/ignorantguru/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
66
67 LICENSE="GPL-2 LGPL-2.1"
68 SLOT="0"
69 -KEYWORDS=""
70 +KEYWORDS="~amd64 ~x86"
71 IUSE="gtk2 +gtk3 +startup-notification +video-thumbnails"
72 REQUIRED_USE="gtk2? ( !gtk3 )"
73
74 @@ -24,7 +22,7 @@ RDEPEND="dev-libs/glib:2
75 virtual/freedesktop-icon-theme
76 x11-libs/cairo
77 x11-libs/gdk-pixbuf
78 - gtk2? ( x11-libs/gtk+:2 )
79 + gtk2? ( gtk3? ( x11-libs/gtk+:3 ) !gtk3? ( x11-libs/gtk+:2 ) )
80 !gtk2? ( x11-libs/gtk+:3 )
81 x11-libs/pango
82 x11-libs/libX11
83 @@ -36,6 +34,10 @@ DEPEND="${RDEPEND}
84 virtual/pkgconfig
85 sys-devel/gettext"
86
87 +PATCHES=(
88 + "${FILESDIR}"/${PN}-include-sysmacros.patch
89 +)
90 +
91 src_configure() {
92 econf \
93 --htmldir=/usr/share/doc/${PF}/html \
94
95 diff --git a/x11-misc/spacefm/spacefm-9999.ebuild b/x11-misc/spacefm/spacefm-1.0.5-r2.ebuild
96 similarity index 87%
97 copy from x11-misc/spacefm/spacefm-9999.ebuild
98 copy to x11-misc/spacefm/spacefm-1.0.5-r2.ebuild
99 index 0ca069b..45a33f6 100644
100 --- a/x11-misc/spacefm/spacefm-9999.ebuild
101 +++ b/x11-misc/spacefm/spacefm-1.0.5-r2.ebuild
102 @@ -1,22 +1,19 @@
103 -# Copyright 1999-2016 Gentoo Foundation
104 +# Copyright 1999-2017 Gentoo Foundation
105 # Distributed under the terms of the GNU General Public License v2
106 # $Id$
107
108 -EAPI=5
109 +EAPI=6
110
111 -EGIT_REPO_URI="git://github.com/IgnorantGuru/${PN}.git"
112 -EGIT_BRANCH="next"
113 -
114 -inherit fdo-mime git-2 gnome2-utils linux-info
115 +inherit fdo-mime gnome2-utils linux-info
116
117 DESCRIPTION="A multi-panel tabbed file manager"
118 HOMEPAGE="https://ignorantguru.github.com/spacefm/"
119 +SRC_URI="https://github.com/ignorantguru/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
120
121 LICENSE="GPL-2 LGPL-2.1"
122 SLOT="0"
123 -KEYWORDS=""
124 +KEYWORDS="~amd64 ~x86"
125 IUSE="gtk2 +gtk3 +startup-notification +video-thumbnails"
126 -REQUIRED_USE="gtk2? ( !gtk3 )"
127
128 RDEPEND="dev-libs/glib:2
129 dev-util/desktop-file-utils
130 @@ -24,7 +21,7 @@ RDEPEND="dev-libs/glib:2
131 virtual/freedesktop-icon-theme
132 x11-libs/cairo
133 x11-libs/gdk-pixbuf
134 - gtk2? ( x11-libs/gtk+:2 )
135 + gtk2? ( gtk3? ( x11-libs/gtk+:3 ) !gtk3? ( x11-libs/gtk+:2 ) )
136 !gtk2? ( x11-libs/gtk+:3 )
137 x11-libs/pango
138 x11-libs/libX11
139 @@ -36,6 +33,10 @@ DEPEND="${RDEPEND}
140 virtual/pkgconfig
141 sys-devel/gettext"
142
143 +PATCHES=(
144 + "${FILESDIR}"/${PN}-include-sysmacros.patch
145 +)
146 +
147 src_configure() {
148 econf \
149 --htmldir=/usr/share/doc/${PF}/html \
150
151 diff --git a/x11-misc/spacefm/spacefm-9999.ebuild b/x11-misc/spacefm/spacefm-9999.ebuild
152 index 0ca069b..444e767 100644
153 --- a/x11-misc/spacefm/spacefm-9999.ebuild
154 +++ b/x11-misc/spacefm/spacefm-9999.ebuild
155 @@ -1,13 +1,13 @@
156 -# Copyright 1999-2016 Gentoo Foundation
157 +# Copyright 1999-2017 Gentoo Foundation
158 # Distributed under the terms of the GNU General Public License v2
159 # $Id$
160
161 -EAPI=5
162 +EAPI=6
163
164 EGIT_REPO_URI="git://github.com/IgnorantGuru/${PN}.git"
165 EGIT_BRANCH="next"
166
167 -inherit fdo-mime git-2 gnome2-utils linux-info
168 +inherit fdo-mime git-r3 gnome2-utils linux-info
169
170 DESCRIPTION="A multi-panel tabbed file manager"
171 HOMEPAGE="https://ignorantguru.github.com/spacefm/"
172 @@ -16,7 +16,6 @@ LICENSE="GPL-2 LGPL-2.1"
173 SLOT="0"
174 KEYWORDS=""
175 IUSE="gtk2 +gtk3 +startup-notification +video-thumbnails"
176 -REQUIRED_USE="gtk2? ( !gtk3 )"
177
178 RDEPEND="dev-libs/glib:2
179 dev-util/desktop-file-utils
180 @@ -24,7 +23,7 @@ RDEPEND="dev-libs/glib:2
181 virtual/freedesktop-icon-theme
182 x11-libs/cairo
183 x11-libs/gdk-pixbuf
184 - gtk2? ( x11-libs/gtk+:2 )
185 + gtk2? ( gtk3? ( x11-libs/gtk+:3 ) !gtk3? ( x11-libs/gtk+:2 ) )
186 !gtk2? ( x11-libs/gtk+:3 )
187 x11-libs/pango
188 x11-libs/libX11