xmw         15/08/05 10:09:07

  Modified:             notion-3_p2013030200.ebuild notion-9999.ebuild
                        ChangeLog
  Added:                notion-3_p2015061300.ebuild
  Log:
  Version bump (bug 523566, p/r 160, thanks  John Mercier, Bailey Kong and 
idella4).
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 
62EEF090)

Revision  Changes    Path
1.5                  x11-wm/notion/notion-3_p2013030200.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/notion/notion-3_p2013030200.ebuild?rev=1.5&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/notion/notion-3_p2013030200.ebuild?rev=1.5&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/notion/notion-3_p2013030200.ebuild?r1=1.4&r2=1.5

Index: notion-3_p2013030200.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/x11-wm/notion/notion-3_p2013030200.ebuild,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- notion-3_p2013030200.ebuild 25 May 2014 13:01:33 -0000      1.4
+++ notion-3_p2013030200.ebuild 5 Aug 2015 10:09:07 -0000       1.5
@@ -1,6 +1,6 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/notion/notion-3_p2013030200.ebuild,v 
1.4 2014/05/25 13:01:33 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/notion/notion-3_p2013030200.ebuild,v 
1.5 2015/08/05 10:09:07 xmw Exp $
 
 EAPI=5
 
@@ -15,7 +15,7 @@
 KEYWORDS="~amd64 ~x86"
 IUSE="nls xinerama +xrandr"
 
-RDEPEND="dev-lang/lua
+RDEPEND=">=dev-lang/lua-5.1:0=
        x11-libs/libSM
        x11-libs/libX11
        x11-libs/libXext
@@ -26,6 +26,9 @@
 DEPEND="${RDEPEND}
                virtual/pkgconfig"
 
+# needs luaposix,slingshot,... not in tree
+RESTRICT=test
+
 S=${WORKDIR}/${P/_p/-}
 
 src_prepare() {



1.9                  x11-wm/notion/notion-9999.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/notion/notion-9999.ebuild?rev=1.9&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/notion/notion-9999.ebuild?rev=1.9&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/notion/notion-9999.ebuild?r1=1.8&r2=1.9

Index: notion-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/x11-wm/notion/notion-9999.ebuild,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- notion-9999.ebuild  25 May 2014 13:01:33 -0000      1.8
+++ notion-9999.ebuild  5 Aug 2015 10:09:07 -0000       1.9
@@ -1,23 +1,21 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/notion/notion-9999.ebuild,v 1.8 
2014/05/25 13:01:33 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/notion/notion-9999.ebuild,v 1.9 
2015/08/05 10:09:07 xmw Exp $
 
 EAPI=5
 
-EGIT_REPO_URI="git://notion.git.sourceforge.net/gitroot/notion/notion"
-EGIT_HAS_SUBMODULES="1"
-
-inherit eutils git-2 multilib toolchain-funcs
+inherit eutils git-r3 multilib toolchain-funcs flag-o-matic
 
 DESCRIPTION="Notion is a tiling, tabbed window manager for the X window system"
 HOMEPAGE="http://notion.sourceforge.net";
+EGIT_REPO_URI="https://github.com/raboof/${PN}.git";
 
 LICENSE="LGPL-2.1"
 SLOT="0"
 KEYWORDS=""
 IUSE="nls xinerama +xrandr"
 
-RDEPEND="dev-lang/lua
+RDEPEND=">=dev-lang/lua-5.1:0=
        x11-libs/libSM
        x11-libs/libX11
        x11-libs/libXext
@@ -28,17 +26,22 @@
 DEPEND="${RDEPEND}
                virtual/pkgconfig"
 
+# needs luaposix,slingshot,... not in tree
+RESTRICT=test
+
 src_prepare() {
+       append-cflags -D_DEFAULT_SOURCE
+
        sed -e "/^CFLAGS=/s:=:+=:" \
                -e "/^CFLAGS/{s:-Os:: ; s:-g::}" \
                -e "/^LDFLAGS=/{s:=:+=: ; s:-Wl,--as-needed::}" \
                -e "/^CC=/s:=:?=:" \
-               -e "/^PREFIX/s:=.*$:= \${ROOT}usr:" \
-               -e "/^ETCDIR/s:=.*$:= \${ROOT}etc/notion:" \
-               -e "/^LIBDIR/s:=.*:= \$(PREFIX)/$(get_libdir):" \
-               -e "/^DOCDIR/s:=.*:= \$(PREFIX)/share/doc/${PF}:" \
-               -e "/^LUA_DIR/s:=.*$:= \$(PREFIX)/usr:" \
-               -e "/^VARDIR/s:=.*$:= \${ROOT}var/cache/${PN}:" \
+               -e "s:^\(PREFIX=\).*$:\1${ROOT}usr:" \
+               -e "s:^\(ETCDIR=\).*$:\1${ROOT}etc/notion:" \
+               -e "s:^\(LIBDIR=\).*:\1\$(PREFIX)/$(get_libdir):" \
+               -e "s:^\(DOCDIR=\).*:\1\$(PREFIX)/share/doc/${PF}:" \
+               -e "s:^\(LUA_DIR=\).*$:\1\$(PREFIX)/usr:" \
+               -e "s:^\(VARDIR=\).*$:\1${ROOT}var/cache/${PN}:" \
                -e "s:^\(X11_PREFIX=\).*:\1\$(PREFIX)/usr:" \
                -i system-autodetect.mk || die
        sed -e 's/gcc/$(CC)/g' \



1.13                 x11-wm/notion/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/notion/ChangeLog?rev=1.13&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/notion/ChangeLog?rev=1.13&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/notion/ChangeLog?r1=1.12&r2=1.13

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/x11-wm/notion/ChangeLog,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- ChangeLog   5 Aug 2015 09:10:14 -0000       1.12
+++ ChangeLog   5 Aug 2015 10:09:07 -0000       1.13
@@ -1,6 +1,13 @@
 # ChangeLog for x11-wm/notion
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/notion/ChangeLog,v 1.12 2015/08/05 
09:10:14 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/notion/ChangeLog,v 1.13 2015/08/05 
10:09:07 xmw Exp $
+
+*notion-3_p2015061300 (05 Aug 2015)
+
+  05 Aug 2015; Michael Weber <x...@gentoo.org> +notion-3_p2015061300.ebuild,
+  notion-3_p2013030200.ebuild, notion-9999.ebuild:
+  Version bump (bug 523566, p/r 160, thanks  John Mercier, Bailey Kong and
+  idella4).
 
   05 Aug 2015; Michael Weber <x...@gentoo.org> metadata.xml:
   Dropping myself from maintainers



1.1                  x11-wm/notion/notion-3_p2015061300.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/notion/notion-3_p2015061300.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/notion/notion-3_p2015061300.ebuild?rev=1.1&content-type=text/plain

Index: notion-3_p2015061300.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-wm/notion/notion-3_p2015061300.ebuild,v 
1.1 2015/08/05 10:09:07 xmw Exp $

EAPI=5

inherit eutils multilib toolchain-funcs flag-o-matic

DESCRIPTION="Notion is a tiling, tabbed window manager for the X window system"
HOMEPAGE="http://notion.sourceforge.net";
SRC_URI="https://github.com/raboof/${PN}/archive/${PV/_p/-}.tar.gz -> 
${P}.tar.gz"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="nls xinerama +xrandr"

RDEPEND=">=dev-lang/lua-5.1:0=
        x11-libs/libSM
        x11-libs/libX11
        x11-libs/libXext
        nls? ( sys-devel/gettext )
        xinerama? ( x11-libs/libXinerama )
        xrandr? ( x11-libs/libXrandr )"

DEPEND="${RDEPEND}
                virtual/pkgconfig"

# needs luaposix,slingshot,... not in tree
RESTRICT=test

S=${WORKDIR}/${P/_p/-}

src_prepare() {
        append-cflags -D_DEFAULT_SOURCE

        sed -e "/^CFLAGS=/s:=:+=:" \
                -e "/^CFLAGS/{s:-Os:: ; s:-g::}" \
                -e "/^LDFLAGS=/{s:=:+=: ; s:-Wl,--as-needed::}" \
                -e "/^CC=/s:=:?=:" \
                -e "s:^\(PREFIX=\).*$:\1${ROOT}usr:" \
                -e "s:^\(ETCDIR=\).*$:\1${ROOT}etc/notion:" \
                -e "s:^\(LIBDIR=\).*:\1\$(PREFIX)/$(get_libdir):" \
                -e "s:^\(DOCDIR=\).*:\1\$(PREFIX)/share/doc/${PF}:" \
                -e "s:^\(LUA_DIR=\).*$:\1\$(PREFIX)/usr:" \
                -e "s:^\(VARDIR=\).*$:\1${ROOT}var/cache/${PN}:" \
                -e "s:^\(X11_PREFIX=\).*:\1\$(PREFIX)/usr:" \
                -i system-autodetect.mk || die
        sed -e 's/gcc/$(CC)/g' \
                -i ioncore/Makefile || die
        export STRIPPROG=true

        tc-export CC
}

src_configure() {
        use nls || export DEFINES=" -DCF_NO_LOCALE -DCF_NO_GETTEXT"

        if ! use xinerama ; then
                sed -e 's/mod_xinerama//g' -i modulelist.mk || die
        fi

        if ! use xrandr ; then
                sed -e 's/mod_xrandr//g' -i modulelist.mk || die
        fi
}

src_compile() {
        emake CC="$(tc-getCC)" AR="$(tc-getAR)" \
                RANLIB="$(tc-getRANLIB)"
}

src_install() {
        default

        exeinto /etc/X11/Sessions
        doexe "${FILESDIR}"/notion

        insinto /usr/share/xsessions
        doins "${FILESDIR}"/notion.desktop
}

pkg_postinst() {
        elog "If you want notion to have an ability to view a file based on its"
        elog "guessed MIME type you should emerge app-misc/run-mailcap."
}




Reply via email to