Gentoo Archives: gentoo-commits

From: "Michael Weber (xmw)" <xmw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-wm/notion: notion-9999.ebuild metadata.xml ChangeLog Manifest
Date: Wed, 20 Jun 2012 18:53:03
Message-Id: 20120620185252.0B7F42004B@flycatcher.gentoo.org
1 xmw 12/06/20 18:52:52
2
3 Added: notion-9999.ebuild metadata.xml ChangeLog Manifest
4 Log:
5 Initial import based on Hobbits work (bug 422481)
6
7 (Portage version: 2.1.10.65/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 x11-wm/notion/notion-9999.ebuild
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/notion/notion-9999.ebuild?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/notion/notion-9999.ebuild?rev=1.1&content-type=text/plain
14
15 Index: notion-9999.ebuild
16 ===================================================================
17 # Copyright 1999-2012 Gentoo Foundation
18 # Distributed under the terms of the GNU General Public License v2
19 # $Header: /var/cvsroot/gentoo-x86/x11-wm/notion/notion-9999.ebuild,v 1.1 2012/06/20 18:52:51 xmw Exp $
20
21 EAPI="4"
22
23 EGIT_REPO_URI="git://notion.git.sourceforge.net/gitroot/notion/notion"
24 EGIT_HAS_SUBMODULES="1"
25
26 inherit eutils git-2 toolchain-funcs
27
28 DESCRIPTION="Notion is a tiling, tabbed window manager for the X window system"
29 HOMEPAGE="http://notion.sourceforge.net"
30
31 LICENSE="LGPL-2.1"
32 SLOT="0"
33 KEYWORDS=""
34 IUSE="nls xinerama +xrandr"
35
36 RDEPEND="dev-lang/lua
37 x11-libs/libSM
38 x11-libs/libX11
39 x11-libs/libXext
40 nls? ( sys-devel/gettext )
41 xinerama? ( x11-libs/libXinerama )
42 xrandr? ( x11-libs/libXrandr )"
43
44 DEPEND="${RDEPEND}
45 dev-util/pkgconfig"
46
47 src_prepare() {
48 sed -e "/^CFLAGS=/s:=:+=:" \
49 -e "/^CFLAGS/{s:-Os:: ; s:-g::}" \
50 -e "/^LDFLAGS=/{s:=:+=: ; s:-Wl,--as-needed::}" \
51 -e "/^CC=/s:=:?=:" \
52 -e "s:^\(PREFIX=\).*$:\1${ROOT}usr:" \
53 -e "s:^\(ETCDIR=\).*$:\1${ROOT}etc/notion:" \
54 -e "s:^\(LIBDIR=\).*:\1\$(PREFIX)/$(get_libdir):" \
55 -e "s:^\(DOCDIR=\).*:\1\$(PREFIX)/share/doc/${PF}:" \
56 -e "s:^\(LUA_DIR=\).*$:\1\$(PREFIX)/usr:" \
57 -e "s:^\(VARDIR=\).*$:\1${ROOT}var/cache/${PN}:" \
58 -e "s:^\(X11_PREFIX=\).*:\1\$(PREFIX)/usr:" \
59 -i system.mk || die
60 sed -e "/_install:/,+3s:\(\$(BINDIR)\):\$(DESTDIR)\1:" \
61 -i mod_notionflux/notionflux/Makefile || die
62 export STRIPPROG=cat
63
64 use nls || export DEFINES=" -DCF_NO_LOCALE -DCF_NO_GETTEXT"
65
66 if ! use xinerama ; then
67 sed -e 's/mod_xinerama//g' -i modulelist.mk || die
68 fi
69
70 if ! use xrandr ; then
71 sed -e 's/mod_xrandr//g' -i modulelist.mk || die
72 fi
73
74 tc-export CC
75 }
76
77 src_install() {
78 emake DESTDIR="${D}" install
79
80 exeinto /etc/X11/Sessions
81 doexe "${FILESDIR}"/notion
82
83 insinto /usr/share/xsessions
84 doins "${FILESDIR}"/notion.desktop
85 }
86
87 pkg_postinst() {
88 elog "If you want notion to have an ability to view a file based on its"
89 elog "guessed MIME type you need 'run-mailcap' program in your system."
90 }
91
92
93
94 1.1 x11-wm/notion/metadata.xml
95
96 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/notion/metadata.xml?rev=1.1&view=markup
97 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/notion/metadata.xml?rev=1.1&content-type=text/plain
98
99 Index: metadata.xml
100 ===================================================================
101 <?xml version="1.0" encoding="UTF-8"?>
102 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
103 <pkgmetadata>
104 <herd>proxy-maintainers</herd>
105 <maintainer>
106 <email>little_hobbit@×××××××.com</email>
107 </maintainer>
108 <maintainer>
109 <email>xmw@g.o</email>
110 <name>Michael Weber</name>
111 <description>Proxy maintainer</description>
112 </maintainer>
113 <use>
114 <flag name="xrandr">Add support for xrandr</flag>
115 </use>
116 </pkgmetadata>
117
118
119
120 1.1 x11-wm/notion/ChangeLog
121
122 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/notion/ChangeLog?rev=1.1&view=markup
123 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/notion/ChangeLog?rev=1.1&content-type=text/plain
124
125 Index: ChangeLog
126 ===================================================================
127 # ChangeLog for x11-wm/notion
128 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
129 # $Header: /var/cvsroot/gentoo-x86/x11-wm/notion/ChangeLog,v 1.1 2012/06/20 18:52:51 xmw Exp $
130
131 *notion-9999 (20 Jun 2012)
132
133 20 Jun 2012; Michael Weber <xmw@g.o> +notion-9999.ebuild,
134 +files/notion, +files/notion.desktop, +metadata.xml:
135 Initial import based on Hobbits work (bug 422481)
136
137
138
139
140 1.1 x11-wm/notion/Manifest
141
142 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/notion/Manifest?rev=1.1&view=markup
143 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/notion/Manifest?rev=1.1&content-type=text/plain
144
145 Index: Manifest
146 ===================================================================
147 AUX notion 26 RMD160 1f8bcf9b6f3bb95de7dba24b5a027229be309422 SHA1 465c3c47149133067b1b03741d611f94b7a9dea7 SHA256 70ff05ede1d85ff4bf8d5100aa7ace3bb89ac09596543c6829fb1f65fddb546c
148 AUX notion.desktop 223 RMD160 71ac6451675586c6fc9c8213893684e71dbcc9d1 SHA1 d1b4cc5a5d644dbeff891afff32d2e7855d6c37c SHA256 4581319c329385f0bc5c18fe0037a4820ab1650a3af7ffe403a87e7fe5bf0987
149 EBUILD notion-9999.ebuild 1905 RMD160 59d127f24dca99d72fbf70cbcd95d5272cc73e39 SHA1 10ca14ddcdf8010bc414f98e9ee9c14fe707c3f5 SHA256 f65f4019c99bd41f01c0bc022788813d9d8547170a38abee60467127f42a109d
150 MISC ChangeLog 317 RMD160 9bc0cd01fc4df7d0f63ee97eac010f92eef3af4c SHA1 c2c21ec0218814938e2f400b913d7427a80df20c SHA256 02bbfccd19e39fb380c66a4b5f2e6efe1dd0fd30d86a28cef433044e5ec5693d
151 MISC metadata.xml 434 RMD160 99e646d4f23f32a60d340a928775267e58bbb174 SHA1 5086b5d722e2f7236b3fa97834c3b04c5fccaf18 SHA256 32b95389735b11aedde8ebee47b81131b101922e926c8eface1b4f70057f53c9