[gentoo-commits] repo/gentoo:master commit in: x11-misc/xcalendar/
commit: f7ea685a290d32a4fbb3f3422a4facf307dcbd61 Author: Ionen Wolkens gentoo org> AuthorDate: Tue Oct 11 08:27:17 2022 + Commit: Ionen Wolkens gentoo org> CommitDate: Tue Oct 11 08:56:03 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7ea685a x11-misc/xcalendar: pass -std=gnu89 Does not build with `clang -std=c2x`, early workaround for when this will become a default. (not actively hunting for these, merely revisiting packages previously looked at for clang16 even if not an issue "yet"). Signed-off-by: Ionen Wolkens gentoo.org> x11-misc/xcalendar/xcalendar-4.0-r3.ebuild | 1 + 1 file changed, 1 insertion(+) diff --git a/x11-misc/xcalendar/xcalendar-4.0-r3.ebuild b/x11-misc/xcalendar/xcalendar-4.0-r3.ebuild index e400aa3e3cdc..77be8a1f274a 100644 --- a/x11-misc/xcalendar/xcalendar-4.0-r3.ebuild +++ b/x11-misc/xcalendar/xcalendar-4.0-r3.ebuild @@ -42,6 +42,7 @@ src_prepare() { src_compile() { tc-export CC + append-cflags -std=gnu89 # old codebase, incompatible with c2x if use motif; then append-cppflags $($(tc-getPKG_CONFIG) --cflags x11 xmu xt || die)
[gentoo-commits] repo/gentoo:master commit in: x11-misc/xcalendar/, x11-misc/xcalendar/files/
commit: 2be9c5e2c3d3a4f72f4911b7b39a6fd70322c600 Author: Ionen Wolkens gentoo org> AuthorDate: Wed Sep 28 01:48:22 2022 + Commit: Ionen Wolkens gentoo org> CommitDate: Wed Sep 28 02:34:36 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2be9c5e2 x11-misc/xcalendar: EAPI6->8, toss imake in the trash Could have used makefile.noi rather than implicit rules, but it feels a bit outdated and it's simpler to control everything while getting to use pkg-config. Should revbump to ~arch in theory here, but not going to bother for some derelict imake x app. Signed-off-by: Ionen Wolkens gentoo.org> .../files/xcalendar-4.0-motif-gentoo.diff | 26 - x11-misc/xcalendar/xcalendar-4.0-r2.ebuild | 61 --- x11-misc/xcalendar/xcalendar-4.0-r3.ebuild | 68 ++ 3 files changed, 68 insertions(+), 87 deletions(-) diff --git a/x11-misc/xcalendar/files/xcalendar-4.0-motif-gentoo.diff b/x11-misc/xcalendar/files/xcalendar-4.0-motif-gentoo.diff deleted file mode 100644 index a35d98bcb814.. --- a/x11-misc/xcalendar/files/xcalendar-4.0-motif-gentoo.diff +++ /dev/null @@ -1,26 +0,0 @@ xcalendar.orig/Imakefile Sat Sep 30 20:19:17 1995 -+++ xcalendar/ImakefileTue Aug 20 08:37:48 2002 -@@ -1,18 +1,18 @@ - XCALENDAR_LIBDIR = $(LIBDIR)/xcalendar - LIBFILES = larrow.xbm qmark.xbm quit.xbm rarrow.xbm xcalendar.hlp - # Comment out the following two lines for the Motif version --LOCAL_LIBRARIES = $(XAWLIB) $(XMULIB) $(XTOOLLIB) $(XLIB) -- EXTRA_DEFINES = -DATHENA -+#LOCAL_LIBRARIES = $(XAWLIB) $(XMULIB) $(XTOOLLIB) $(XLIB) -+# EXTRA_DEFINES = -DATHENA - # Uncomment the following two lines for the Motif version --# LOCAL_LIBRARIES = -L/usr/local/Motif/lib -lXm $(XMULIB) $(XTOOLLIB) $(XLIB) --# EXTRA_DEFINES = -I/usr/local/Motif/include -+ LOCAL_LIBRARIES = -lXm $(XMULIB) $(XTOOLLIB) $(XLIB) -+ EXTRA_DEFINES = - SRCS = xcalendar.c dayeditor.c lists.c - OBJS = xcalendar.o dayeditor.o lists.o - - # - # for Internationalization - # --EXTRA_DEFINES = -DXI18N -DATHENA -+#EXTRA_DEFINES = -DXI18N -DATHENA - ##if !SharedLibXwchar - # _UseCat($(USRLIBDIR),$(CONTRIBSRC)/lib/Xwchar,/libXwchar.a) - # XWCHARLIB = LoaderLibPrefix _Use(-lXwchar,$(DEPXWCHARLIB)) diff --git a/x11-misc/xcalendar/xcalendar-4.0-r2.ebuild b/x11-misc/xcalendar/xcalendar-4.0-r2.ebuild deleted file mode 100644 index a6ccd1896657.. --- a/x11-misc/xcalendar/xcalendar-4.0-r2.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit toolchain-funcs - -DESCRIPTION="A simple interactive calendar program with a notebook capability" -HOMEPAGE="https://www.freebsd.org/; -SRC_URI="ftp://daemon.jp.FreeBSD.org/pub/FreeBSD-jp/ports-jp/LOCAL_PORTS/${P}+i18n.tar.gz; - -LICENSE="HPND" -SLOT="0" -KEYWORDS="~alpha amd64 ppc ppc64 x86" -IUSE="motif" - -RDEPEND="x11-libs/libX11 - x11-libs/libXmu - x11-libs/libXt - x11-libs/libXaw - x11-libs/libXext" -DEPEND="${RDEPEND} - x11-base/xorg-proto - >=x11-misc/imake-1.0.8-r1 - x11-misc/gccmakedep - motif? ( >=x11-libs/motif-2.3:0 )" - -S=${WORKDIR}/${PN} -PATCHES=( "${FILESDIR}"/${P}-implicits.patch ) - -src_prepare() { - use motif && PATCHES+=( "${FILESDIR}"/${P}-motif-gentoo.diff ) - default - sed -e "s:%%XCALENDAR_LIBDIR%%:/usr/$(get_libdir)/xcalendar:" \ - -e "s:/usr/local/X11R5/lib/X11/:/usr/$(get_libdir)/:" \ - -i XCalendar.sed || die -} - -src_configure() { - CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \ - IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf -a || die -} - -src_compile() { - emake \ - CC="$(tc-getCC)" \ - CDEBUGFLAGS="${CFLAGS}" \ - EXTRA_LDOPTIONS="${LDFLAGS}" -} - -src_install() { - dobin xcalendar - newman xcalendar.man xcalendar.1 - - insinto /usr/share/X11/app-defaults - newins XCalendar.sed XCalendar - - insinto /usr/$(get_libdir)/xcalendar - doins *.xbm *.hlp - - einstalldocs -} diff --git a/x11-misc/xcalendar/xcalendar-4.0-r3.ebuild b/x11-misc/xcalendar/xcalendar-4.0-r3.ebuild new file mode 100644 index ..509f954ff915 --- /dev/null +++ b/x11-misc/xcalendar/xcalendar-4.0-r3.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic toolchain-funcs + +DESCRIPTION="Simple interactive calendar program with a notebook capability" +HOMEPAGE="https://www.freebsd.org/; +SRC_URI="ftp://daemon.jp.FreeBSD.org/pub/FreeBSD-jp/ports-jp/LOCAL_PORTS/${P}+i18n.tar.gz; +S="${WORKDIR}/${PN}" + +LICENSE="HPND" +SLOT="0" +KEYWORDS="~alpha amd64 ppc ppc64 x86" +IUSE="motif" + +RDEPEND=" + x11-libs/libX11 + x11-libs/libXt +
[gentoo-commits] repo/gentoo:master commit in: x11-misc/xcalendar/files/, x11-misc/xcalendar/
commit: c0938940d7ee60ef15e893947b734162ba88e7bc Author: Ionen Wolkens gentoo org> AuthorDate: Wed Sep 28 02:21:48 2022 + Commit: Ionen Wolkens gentoo org> CommitDate: Wed Sep 28 02:34:36 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0938940 x11-misc/xcalendar: fix build with clang16 Replace old implicits patch in the process given it adds an implicit int declaration itself. Closes: https://bugs.gentoo.org/870484 Signed-off-by: Ionen Wolkens gentoo.org> .../xcalendar/files/xcalendar-4.0-clang16.patch| 40 ++ .../xcalendar/files/xcalendar-4.0-implicits.patch | 22 x11-misc/xcalendar/xcalendar-4.0-r3.ebuild | 2 +- 3 files changed, 41 insertions(+), 23 deletions(-) diff --git a/x11-misc/xcalendar/files/xcalendar-4.0-clang16.patch b/x11-misc/xcalendar/files/xcalendar-4.0-clang16.patch new file mode 100644 index ..9e39901f9076 --- /dev/null +++ b/x11-misc/xcalendar/files/xcalendar-4.0-clang16.patch @@ -0,0 +1,40 @@ +https://bugs.gentoo.org/870484 +--- a/lists.c b/lists.c +@@ -26,4 +26,5 @@ + #include "xcalendar.h" + ++int is_last(LList *list); + + List +@@ -150,5 +151,5 @@ + } + +-is_last(list) ++int is_last(list) + LList *list; + { +--- a/xcalendar.c b/xcalendar.c +@@ -1168,5 +1168,5 @@ + int m, y; + { +-registerd, i; ++int d, i; + + calInit = y; +@@ -1217,5 +1217,5 @@ + int yr; + { +-registery, d; ++int y, d; + + /* +--- a/xcalendar.h b/xcalendar.h +@@ -38,4 +38,5 @@ + + #include ++#include + #include + #include diff --git a/x11-misc/xcalendar/files/xcalendar-4.0-implicits.patch b/x11-misc/xcalendar/files/xcalendar-4.0-implicits.patch deleted file mode 100644 index 977ca96e572f.. --- a/x11-misc/xcalendar/files/xcalendar-4.0-implicits.patch +++ /dev/null @@ -1,22 +0,0 @@ -Fix implicit functions declarations - xcalendar/xcalendar.h -+++ xcalendar/xcalendar.h -@@ -37,6 +37,7 @@ - - - #include -+#include - #include - #include - #include xcalendar/lists.c -+++ xcalendar/lists.c -@@ -25,6 +25,7 @@ - - #include "xcalendar.h" - -+is_last(LList *list); - - List - CreateList(length, elementSize) diff --git a/x11-misc/xcalendar/xcalendar-4.0-r3.ebuild b/x11-misc/xcalendar/xcalendar-4.0-r3.ebuild index 509f954ff915..e400aa3e3cdc 100644 --- a/x11-misc/xcalendar/xcalendar-4.0-r3.ebuild +++ b/x11-misc/xcalendar/xcalendar-4.0-r3.ebuild @@ -29,7 +29,7 @@ DEPEND=" BDEPEND="virtual/pkgconfig" PATCHES=( - "${FILESDIR}"/${P}-implicits.patch + "${FILESDIR}"/${P}-clang16.patch ) src_prepare() {
[gentoo-commits] repo/gentoo:master commit in: x11-misc/xcalendar/
commit: 0165a108c3dc2a6881c0610d47b887695064091a Author: Ionen Wolkens gmail com> AuthorDate: Wed Apr 14 12:36:30 2021 + Commit: Joonas Niilola gentoo org> CommitDate: Thu Apr 15 06:38:56 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0165a108 x11-misc/xcalendar: fix build with -native-symlinks Closes: https://bugs.gentoo.org/726258 Signed-off-by: Ionen Wolkens gmail.com> Signed-off-by: Joonas Niilola gentoo.org> x11-misc/xcalendar/xcalendar-4.0-r2.ebuild | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/x11-misc/xcalendar/xcalendar-4.0-r2.ebuild b/x11-misc/xcalendar/xcalendar-4.0-r2.ebuild index b89bdea80b7..a6ccd189665 100644 --- a/x11-misc/xcalendar/xcalendar-4.0-r2.ebuild +++ b/x11-misc/xcalendar/xcalendar-4.0-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -20,7 +20,7 @@ RDEPEND="x11-libs/libX11 x11-libs/libXext" DEPEND="${RDEPEND} x11-base/xorg-proto - x11-misc/imake + >=x11-misc/imake-1.0.8-r1 x11-misc/gccmakedep motif? ( >=x11-libs/motif-2.3:0 )" @@ -35,9 +35,16 @@ src_prepare() { -i XCalendar.sed || die } +src_configure() { + CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \ + IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf -a || die +} + src_compile() { - xmkmf -a || die - emake CC="$(tc-getCC)" CDEBUGFLAGS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}" + emake \ + CC="$(tc-getCC)" \ + CDEBUGFLAGS="${CFLAGS}" \ + EXTRA_LDOPTIONS="${LDFLAGS}" } src_install() {
[gentoo-commits] repo/gentoo:master commit in: x11-misc/xcalendar/
commit: b35bdc0c65522b27d149317e7fb591a70cee3c31 Author: Alexey Sokolov google com> AuthorDate: Fri May 8 01:05:39 2020 + Commit: Aaron Bauman gentoo org> CommitDate: Thu May 14 22:25:34 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b35bdc0c x11-misc/xcalendar: update homepage Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Alexey Sokolov google.com> Signed-off-by: Aaron Bauman gentoo.org> x11-misc/xcalendar/xcalendar-4.0-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x11-misc/xcalendar/xcalendar-4.0-r2.ebuild b/x11-misc/xcalendar/xcalendar-4.0-r2.ebuild index 3478ecfa79e..b89bdea80b7 100644 --- a/x11-misc/xcalendar/xcalendar-4.0-r2.ebuild +++ b/x11-misc/xcalendar/xcalendar-4.0-r2.ebuild @@ -5,7 +5,7 @@ EAPI=6 inherit toolchain-funcs DESCRIPTION="A simple interactive calendar program with a notebook capability" -HOMEPAGE="http://www.freebsd.org/; +HOMEPAGE="https://www.freebsd.org/; SRC_URI="ftp://daemon.jp.FreeBSD.org/pub/FreeBSD-jp/ports-jp/LOCAL_PORTS/${P}+i18n.tar.gz; LICENSE="HPND"
[gentoo-commits] repo/gentoo:master commit in: x11-misc/xcalendar/
commit: 5f00cf1f883760d07d7fc9742b5d645ac7765590 Author: Harri Nieminen gmail com> AuthorDate: Tue Apr 11 11:46:40 2017 + Commit: Patrice Clement gentoo org> CommitDate: Thu Apr 13 19:27:56 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f00cf1f x11-misc/xcalendar: remove old. Package-Manager: Portage-2.3.5, Repoman-2.3.2 Closes: https://github.com/gentoo/gentoo/pull/4408 x11-misc/xcalendar/xcalendar-4.0-r1.ebuild | 53 -- 1 file changed, 53 deletions(-) diff --git a/x11-misc/xcalendar/xcalendar-4.0-r1.ebuild b/x11-misc/xcalendar/xcalendar-4.0-r1.ebuild deleted file mode 100644 index 192bae284cc..000 --- a/x11-misc/xcalendar/xcalendar-4.0-r1.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=4 -inherit eutils multilib - -DESCRIPTION="A simple interactive calendar program with a notebook capability" -HOMEPAGE="http://www.freebsd.org/; -SRC_URI="ftp://daemon.jp.FreeBSD.org/pub/FreeBSD-jp/ports-jp/LOCAL_PORTS/${P}+i18n.tar.gz; - -LICENSE="HPND" -SLOT="0" -KEYWORDS="alpha amd64 ppc ppc64 x86 ~x86-fbsd" -IUSE="motif" - -RDEPEND="x11-libs/libX11 - x11-libs/libXmu - x11-libs/libXt - x11-libs/libXaw - x11-libs/libXext" -DEPEND="${RDEPEND} - x11-misc/imake - x11-proto/xproto - x11-misc/gccmakedep - motif? ( >=x11-libs/motif-2.3:0 )" - -S=${WORKDIR}/${PN} - -src_prepare() { - use motif && epatch "${FILESDIR}"/${P}-motif-gentoo.diff - epatch "${FILESDIR}"/${P}-implicits.patch - sed -e "s:%%XCALENDAR_LIBDIR%%:/usr/$(get_libdir)/xcalendar:" \ - -e "s:/usr/local/X11R5/lib/X11/:/usr/$(get_libdir)/:" \ - -i XCalendar.sed || die -} - -src_compile() { - xmkmf -a - emake CC="$(tc-getCC)" CDEBUGFLAGS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}" -} - -src_install() { - dobin xcalendar - newman xcalendar.man xcalendar.1 - - insinto /usr/share/X11/app-defaults - newins XCalendar.sed XCalendar - - insinto /usr/$(get_libdir)/xcalendar - doins *.xbm *.hlp - - dodoc README -}
[gentoo-commits] repo/gentoo:master commit in: x11-misc/xcalendar/
commit: 5e5c9b2a32ce5cf624136b4b99c1ac671d2c2a2a Author: Tobias Klausmann gentoo org> AuthorDate: Tue Apr 4 19:27:46 2017 + Commit: Tobias Klausmann gentoo org> CommitDate: Tue Apr 4 19:27:46 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e5c9b2a x11-misc/xcalendar-4.0-r2: add alpha keyword Gentoo-Bug: 613104 x11-misc/xcalendar/xcalendar-4.0-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x11-misc/xcalendar/xcalendar-4.0-r2.ebuild b/x11-misc/xcalendar/xcalendar-4.0-r2.ebuild index 4fcaa8a7c71..13ec7c00d2c 100644 --- a/x11-misc/xcalendar/xcalendar-4.0-r2.ebuild +++ b/x11-misc/xcalendar/xcalendar-4.0-r2.ebuild @@ -10,7 +10,7 @@ SRC_URI="ftp://daemon.jp.FreeBSD.org/pub/FreeBSD-jp/ports-jp/LOCAL_PORTS/${P}+i1 LICENSE="HPND" SLOT="0" -KEYWORDS="~alpha amd64 ppc ppc64 x86 ~x86-fbsd" +KEYWORDS="alpha amd64 ppc ppc64 x86 ~x86-fbsd" IUSE="motif" RDEPEND="x11-libs/libX11
[gentoo-commits] repo/gentoo:master commit in: x11-misc/xcalendar/
commit: f897d8d30c5a6f4826bb2336b5328623b7656b5e Author: Michael Weber gentoo org> AuthorDate: Tue Mar 21 15:32:25 2017 + Commit: Michael Weber gentoo org> CommitDate: Wed Mar 22 07:29:19 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f897d8d3 x11-misc/xcalendar: ppc stable (bug 613104) Package-Manager: Portage-2.3.5, Repoman-2.3.2 RepoMan-Options: --include-arches="amd64 arm arm64 ppc ppc64" x11-misc/xcalendar/xcalendar-4.0-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x11-misc/xcalendar/xcalendar-4.0-r2.ebuild b/x11-misc/xcalendar/xcalendar-4.0-r2.ebuild index c10350bbc00..4fcaa8a7c71 100644 --- a/x11-misc/xcalendar/xcalendar-4.0-r2.ebuild +++ b/x11-misc/xcalendar/xcalendar-4.0-r2.ebuild @@ -10,7 +10,7 @@ SRC_URI="ftp://daemon.jp.FreeBSD.org/pub/FreeBSD-jp/ports-jp/LOCAL_PORTS/${P}+i1 LICENSE="HPND" SLOT="0" -KEYWORDS="~alpha amd64 ~ppc ppc64 x86 ~x86-fbsd" +KEYWORDS="~alpha amd64 ppc ppc64 x86 ~x86-fbsd" IUSE="motif" RDEPEND="x11-libs/libX11
[gentoo-commits] repo/gentoo:master commit in: x11-misc/xcalendar/
commit: bc3d57a12e30bfbdcd9a7727e4cadd22ef5cb94b Author: Michael Weber gentoo org> AuthorDate: Tue Mar 21 10:04:05 2017 + Commit: Michael Weber gentoo org> CommitDate: Tue Mar 21 10:08:28 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc3d57a1 x11-misc/xcalendar: ppc64 stable (bug 613104) Package-Manager: Portage-2.3.5, Repoman-2.3.2 RepoMan-Options: --include-arches="amd64 arm arm64 ppc ppc64" x11-misc/xcalendar/xcalendar-4.0-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x11-misc/xcalendar/xcalendar-4.0-r2.ebuild b/x11-misc/xcalendar/xcalendar-4.0-r2.ebuild index 51d9df2a003..d070ba2054a 100644 --- a/x11-misc/xcalendar/xcalendar-4.0-r2.ebuild +++ b/x11-misc/xcalendar/xcalendar-4.0-r2.ebuild @@ -10,7 +10,7 @@ SRC_URI="ftp://daemon.jp.FreeBSD.org/pub/FreeBSD-jp/ports-jp/LOCAL_PORTS/${P}+i1 LICENSE="HPND" SLOT="0" -KEYWORDS="~alpha amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd" +KEYWORDS="~alpha amd64 ~ppc ppc64 ~x86 ~x86-fbsd" IUSE="motif" RDEPEND="x11-libs/libX11
[gentoo-commits] repo/gentoo:master commit in: x11-misc/xcalendar/
commit: d42e33699e572ba8c1b28be97e40e59584bfa21d Author: Agostino Sarubbo gentoo org> AuthorDate: Mon Mar 20 11:02:38 2017 + Commit: Agostino Sarubbo gentoo org> CommitDate: Mon Mar 20 11:02:38 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d42e3369 x11-misc/xcalendar: amd64 stable wrt bug #613104 Package-Manager: Portage-2.3.3, Repoman-2.3.1 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> x11-misc/xcalendar/xcalendar-4.0-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x11-misc/xcalendar/xcalendar-4.0-r2.ebuild b/x11-misc/xcalendar/xcalendar-4.0-r2.ebuild index bc43d94b458..51d9df2a003 100644 --- a/x11-misc/xcalendar/xcalendar-4.0-r2.ebuild +++ b/x11-misc/xcalendar/xcalendar-4.0-r2.ebuild @@ -10,7 +10,7 @@ SRC_URI="ftp://daemon.jp.FreeBSD.org/pub/FreeBSD-jp/ports-jp/LOCAL_PORTS/${P}+i1 LICENSE="HPND" SLOT="0" -KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd" +KEYWORDS="~alpha amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd" IUSE="motif" RDEPEND="x11-libs/libX11
[gentoo-commits] repo/gentoo:master commit in: x11-misc/xcalendar/
commit: 35af31bc6b96a7b70f5da3489080cf13a390a559 Author: Harri Nieminen gmail com> AuthorDate: Mon Feb 20 10:21:27 2017 + Commit: David Seifert gentoo org> CommitDate: Tue Feb 21 08:13:32 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35af31bc x11-misc/xcalendar: EAPI bump 4 -> 6 Package-Manager: Portage-2.3.3, Repoman-2.3.1 Closes: https://github.com/gentoo/gentoo/pull/4043 x11-misc/xcalendar/xcalendar-4.0-r2.ebuild | 55 ++ 1 file changed, 55 insertions(+) diff --git a/x11-misc/xcalendar/xcalendar-4.0-r2.ebuild b/x11-misc/xcalendar/xcalendar-4.0-r2.ebuild new file mode 100644 index 00..99e1df4464 --- /dev/null +++ b/x11-misc/xcalendar/xcalendar-4.0-r2.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit toolchain-funcs + +DESCRIPTION="A simple interactive calendar program with a notebook capability" +HOMEPAGE="http://www.freebsd.org/; +SRC_URI="ftp://daemon.jp.FreeBSD.org/pub/FreeBSD-jp/ports-jp/LOCAL_PORTS/${P}+i18n.tar.gz; + +LICENSE="HPND" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd" +IUSE="motif" + +RDEPEND="x11-libs/libX11 + x11-libs/libXmu + x11-libs/libXt + x11-libs/libXaw + x11-libs/libXext" +DEPEND="${RDEPEND} + x11-misc/imake + x11-proto/xproto + x11-misc/gccmakedep + motif? ( >=x11-libs/motif-2.3:0 )" + +S=${WORKDIR}/${PN} +PATCHES=( "${FILESDIR}"/${P}-implicits.patch ) + +src_prepare() { + use motif && PATCHES+=( "${FILESDIR}"/${P}-motif-gentoo.diff ) + default + sed -e "s:%%XCALENDAR_LIBDIR%%:/usr/$(get_libdir)/xcalendar:" \ + -e "s:/usr/local/X11R5/lib/X11/:/usr/$(get_libdir)/:" \ + -i XCalendar.sed || die +} + +src_compile() { + xmkmf -a || die + emake CC="$(tc-getCC)" CDEBUGFLAGS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}" +} + +src_install() { + dobin xcalendar + newman xcalendar.man xcalendar.1 + + insinto /usr/share/X11/app-defaults + newins XCalendar.sed XCalendar + + insinto /usr/$(get_libdir)/xcalendar + doins *.xbm *.hlp + + einstalldocs +}