[gentoo-commits] repo/gentoo:master commit in: games-board/xboard/
commit: 58507466bdaffd1e45fb44c7522b275b8bc4 Author: Arthur Zamarin gentoo org> AuthorDate: Sun Jun 4 16:04:33 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sun Jun 4 16:04:33 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58507466 games-board/xboard: Keyword 4.9.1 arm64, #907772 Signed-off-by: Arthur Zamarin gentoo.org> games-board/xboard/xboard-4.9.1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/games-board/xboard/xboard-4.9.1.ebuild b/games-board/xboard/xboard-4.9.1.ebuild index 3d75e1499bdc..1c90240f5890 100644 --- a/games-board/xboard/xboard-4.9.1.ebuild +++ b/games-board/xboard/xboard-4.9.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ SRC_URI="mirror://gnu/xboard/${P}.tar.gz" LICENSE="GPL-3+" SLOT="0" -KEYWORDS="~amd64 ~ppc64 ~x86" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" IUSE="+default-font gtk nls Xaw3d zippy" RESTRICT="test" #124112
[gentoo-commits] repo/gentoo:master commit in: games-board/xboard/
commit: d8f830c3dc6b62be34b15b44578f9c79211fae29 Author: Ionen Wolkens gentoo org> AuthorDate: Tue Nov 8 05:30:17 2022 + Commit: Ionen Wolkens gentoo org> CommitDate: Tue Nov 8 05:36:53 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8f830c3 games-board/xboard: fix license Closes: https://bugs.gentoo.org/880145 Signed-off-by: Ionen Wolkens gentoo.org> games-board/xboard/xboard-4.9.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/games-board/xboard/xboard-4.9.1.ebuild b/games-board/xboard/xboard-4.9.1.ebuild index b68ccfc2f035..3d75e1499bdc 100644 --- a/games-board/xboard/xboard-4.9.1.ebuild +++ b/games-board/xboard/xboard-4.9.1.ebuild @@ -9,7 +9,7 @@ DESCRIPTION="GUI for gnuchess and for internet chess servers" HOMEPAGE="https://www.gnu.org/software/xboard/; SRC_URI="mirror://gnu/xboard/${P}.tar.gz" -LICENSE="GPL-3" +LICENSE="GPL-3+" SLOT="0" KEYWORDS="~amd64 ~ppc64 ~x86" IUSE="+default-font gtk nls Xaw3d zippy"
[gentoo-commits] repo/gentoo:master commit in: games-board/xboard/
commit: 6528b9827d99f31229765ccfc3c4063a9a13060f Author: Sam James gentoo org> AuthorDate: Sun Jul 17 18:07:10 2022 + Commit: Sam James gentoo org> CommitDate: Sun Jul 17 18:07:10 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6528b982 games-board/xboard: filter LTO (type mismatch) Closes: https://bugs.gentoo.org/858617 Signed-off-by: Sam James gentoo.org> games-board/xboard/xboard-4.9.1.ebuild | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/games-board/xboard/xboard-4.9.1.ebuild b/games-board/xboard/xboard-4.9.1.ebuild index 96d734dff452..b68ccfc2f035 100644 --- a/games-board/xboard/xboard-4.9.1.ebuild +++ b/games-board/xboard/xboard-4.9.1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit autotools xdg +inherit autotools flag-o-matic xdg DESCRIPTION="GUI for gnuchess and for internet chess servers" HOMEPAGE="https://www.gnu.org/software/xboard/; @@ -54,6 +54,9 @@ src_prepare() { } src_configure() { + # bug #858617 + filter-lto + local myeconfargs=( --disable-update-mimedb --datadir="${EPREFIX}"/usr/share
[gentoo-commits] repo/gentoo:master commit in: games-board/xboard/files/, games-board/xboard/
commit: 2c5ad14317ea5dc717cf2d2766a3fd7c7fe44078 Author: Sergei Trofimovich gentoo org> AuthorDate: Tue Jan 21 23:24:50 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Tue Jan 21 23:24:57 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c5ad143 games-board/xboard: tweak for gcc-10 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Sergei Trofimovich gentoo.org> games-board/xboard/files/xboard-4.9.1-gcc-10.patch | 32 ++ games-board/xboard/xboard-4.9.1.ebuild | 3 +- 2 files changed, 34 insertions(+), 1 deletion(-) diff --git a/games-board/xboard/files/xboard-4.9.1-gcc-10.patch b/games-board/xboard/files/xboard-4.9.1-gcc-10.patch new file mode 100644 index 000..76249036ead --- /dev/null +++ b/games-board/xboard/files/xboard-4.9.1-gcc-10.patch @@ -0,0 +1,32 @@ +--- a/backend.h b/backend.h +@@ -242,7 +242,7 @@ extern GameInfo gameInfo; + + /* ICS vars used with backend.c and zippy.c */ + enum ICS_TYPE { ICS_GENERIC, ICS_ICC, ICS_FICS, ICS_CHESSNET /* not really supported */ }; +-enum ICS_TYPE ics_type; ++extern enum ICS_TYPE ics_type; + + /* pgntags.c prototypes + */ +--- a/evalgraph.h b/evalgraph.h +@@ -34,7 +34,7 @@ typedef enum { PEN_NONE, PEN_BLACK, PEN_DOTTED, PEN_BLUEDOTTED, PEN_BOLDWHITE, P + #define OPEN 0 + + /* Module globals */ +-ChessProgramStats_Move * currPvInfo; ++extern ChessProgramStats_Move * currPvInfo; + extern int currFirst; + extern int currLast; + extern int currCurrent; +--- a/xaw/xhistory.c b/xaw/xhistory.c +@@ -96,7 +96,6 @@ ScrollToCursor (Option *opt, int caretPos) + + // -- callbacks -- + +-char *historyText; + char historyTranslations[] = + ": select-start() \n \ + : extend-end(PRIMARY) SelectMove() \n"; diff --git a/games-board/xboard/xboard-4.9.1.ebuild b/games-board/xboard/xboard-4.9.1.ebuild index a2e47ab0472..96d734dff45 100644 --- a/games-board/xboard/xboard-4.9.1.ebuild +++ b/games-board/xboard/xboard-4.9.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -43,6 +43,7 @@ RDEPEND="${DEPEND}" PATCHES=( "${FILESDIR}"/${PN}-4.8.0-gettext.patch "${FILESDIR}"/${PN}-4.8.0-gnuchess-default.patch + "${FILESDIR}"/${PN}-4.9.1-gcc-10.patch ) DOCS=( AUTHORS COPYRIGHT ChangeLog FAQ.html NEWS README TODO ics-parsing.txt )
[gentoo-commits] repo/gentoo:master commit in: games-board/xboard/
commit: 2794d58b0276698a3aca3c66799dc384b15b34b9 Author: Andreas Sturmlechner gentoo org> AuthorDate: Thu Feb 14 20:58:39 2019 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Thu Feb 14 23:06:32 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2794d58b games-board/xboard: Switch from gnome2-utils to xdg, EAPI-7 bump Package-Manager: Portage-2.3.60, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner gentoo.org> games-board/xboard/xboard-4.9.1.ebuild | 50 -- 1 file changed, 23 insertions(+), 27 deletions(-) diff --git a/games-board/xboard/xboard-4.9.1.ebuild b/games-board/xboard/xboard-4.9.1.ebuild index 71e1a4bd842..a2e47ab0472 100644 --- a/games-board/xboard/xboard-4.9.1.ebuild +++ b/games-board/xboard/xboard-4.9.1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -inherit autotools gnome2-utils xdg-utils +inherit autotools xdg DESCRIPTION="GUI for gnuchess and for internet chess servers" HOMEPAGE="https://www.gnu.org/software/xboard/; @@ -15,7 +15,12 @@ KEYWORDS="~amd64 ~ppc64 ~x86" IUSE="+default-font gtk nls Xaw3d zippy" RESTRICT="test" #124112 -RDEPEND=" +BDEPEND=" + virtual/pkgconfig + x11-base/xorg-proto + nls? ( sys-devel/gettext ) +" +DEPEND=" dev-libs/glib:2 gnome-base/librsvg:2 virtual/libintl @@ -33,10 +38,7 @@ RDEPEND=" !Xaw3d? ( x11-libs/libXaw ) ) gtk? ( x11-libs/gtk+:2 )" -DEPEND="${RDEPEND} - virtual/pkgconfig - x11-base/xorg-proto - nls? ( sys-devel/gettext )" +RDEPEND="${DEPEND}" PATCHES=( "${FILESDIR}"/${PN}-4.8.0-gettext.patch @@ -51,16 +53,18 @@ src_prepare() { } src_configure() { - econf \ - --disable-update-mimedb \ - --datadir="${EPREFIX}"/usr/share \ - $(use_enable nls) \ - $(use_enable zippy) \ - --disable-update-mimedb \ - $(use_with gtk) \ - $(use_with Xaw3d) \ - $(usex gtk "--without-Xaw" "$(use_with !Xaw3d Xaw)") \ - --with-gamedatadir="${EPREFIX}/usr/share/games/${PN}" + local myeconfargs=( + --disable-update-mimedb + --datadir="${EPREFIX}"/usr/share + $(use_enable nls) + $(use_enable zippy) + --disable-update-mimedb + $(use_with gtk) + $(use_with Xaw3d) + $(usex gtk "--without-Xaw" $(use_with !Xaw3d Xaw)) + --with-gamedatadir="${EPREFIX}"/usr/share/games/${PN} + ) + econf "${myeconfargs[@]}" } src_install() { @@ -69,9 +73,7 @@ src_install() { } pkg_postinst() { - xdg_mimeinfo_database_update - xdg_desktop_database_update - gnome2_icon_cache_update + xdg_pkg_postinst elog "No chess engines are emerged by default! If you want a chess engine" elog "to play with, you can emerge gnuchess or crafty." elog "Read xboard FAQ for information." @@ -79,9 +81,3 @@ pkg_postinst() { ewarn "Read the xboard(6) man page for specifying the font for xboard to use." fi } - -pkg_postrm() { - xdg_mimeinfo_database_update - xdg_desktop_database_update - gnome2_icon_cache_update -}
[gentoo-commits] repo/gentoo:master commit in: games-board/xboard/
commit: 549f5fe7f76198a83ace7f89e692026cccb72bc0 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Jan 6 18:23:02 2019 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Jan 6 19:29:12 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=549f5fe7 games-board/xboard: Drop 4.8.0-r1 Package-Manager: Portage-2.3.54, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner gentoo.org> games-board/xboard/Manifest | 1 - games-board/xboard/xboard-4.8.0-r1.ebuild | 89 --- 2 files changed, 90 deletions(-) diff --git a/games-board/xboard/Manifest b/games-board/xboard/Manifest index fb535684f9b..ef64d144160 100644 --- a/games-board/xboard/Manifest +++ b/games-board/xboard/Manifest @@ -1,2 +1 @@ -DIST xboard-4.8.0.tar.gz 3691531 BLAKE2B 7743b654e8bdd37672a6076ce032fcc92c846796a8cf84906ae8b74454297f0fed1bce078883e9aff6237c8bfee67db659bdd7b93acd94e1b27bc90629dc3b1a SHA512 fc3231f170baacdf97df5d08488f5a1fb9a144810f7b0eb72e3e95d345ce47aa2ff67a586ef45b6a9e45932300babc59c161a29e055dd0d19b133ba986985c81 DIST xboard-4.9.1.tar.gz 4015017 BLAKE2B c886cb06d9b4ed394220f133915a55e1dbe29d317891d00d880c597abe0ad43a8377c926d844318b0092120aee7e40fe8c6c62fff41890c35bd768575ccef731 SHA512 7c6f17450edc3f56d5987f6363da01633850b87b0d6664524a4697216dc66aa58f84314ba57ee68aebfbb01ef96995e34be4e98fb4a5124e3f5090690f91ae08 diff --git a/games-board/xboard/xboard-4.8.0-r1.ebuild b/games-board/xboard/xboard-4.8.0-r1.ebuild deleted file mode 100644 index 398488b60b2..000 --- a/games-board/xboard/xboard-4.8.0-r1.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit autotools eutils fdo-mime gnome2-utils - -DESCRIPTION="GUI for gnuchess and for internet chess servers" -HOMEPAGE="https://www.gnu.org/software/xboard/; -SRC_URI="mirror://gnu/xboard/${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~ppc64 ~x86" -IUSE="Xaw3d +default-font gtk nls zippy" -RESTRICT="test" #124112 - -RDEPEND=" - dev-libs/glib:2 - gnome-base/librsvg:2 - virtual/libintl - x11-libs/cairo[X] - x11-libs/libXpm - default-font? ( - media-fonts/font-adobe-100dpi[nls?] - media-fonts/font-misc-misc[nls?] - ) - !gtk? ( - x11-libs/libX11 - x11-libs/libXt - x11-libs/libXmu - Xaw3d? ( x11-libs/libXaw3d ) - !Xaw3d? ( x11-libs/libXaw ) - ) - gtk? ( x11-libs/gtk+:2 )" -DEPEND="${RDEPEND} - virtual/pkgconfig - x11-base/xorg-proto - nls? ( sys-devel/gettext )" - -PATCHES=( - "${FILESDIR}"/${P}-gettext.patch - "${FILESDIR}"/${P}-gnuchess-default.patch -) - -src_prepare() { - default - eautoreconf -} - -src_configure() { - econf \ - --disable-update-mimedb \ - --datadir="${EPREFIX}"/usr/share \ - $(use_enable nls) \ - $(use_enable zippy) \ - --disable-update-mimedb \ - $(use_with gtk) \ - $(use_with Xaw3d) \ - $(usex gtk "--without-Xaw" "$(use_with !Xaw3d Xaw)") \ - --with-gamedatadir="${EPREFIX}/usr/share/games/${PN}" -} - -src_install() { - default - dodoc AUTHORS COPYRIGHT ChangeLog FAQ.html NEWS README TODO ics-parsing.txt - use zippy && dodoc zippy.README -} - -pkg_preinst() { - gnome2_icon_savelist -} - -pkg_postinst() { - fdo-mime_mime_database_update - fdo-mime_desktop_database_update - gnome2_icon_cache_update - elog "No chess engines are emerged by default! If you want a chess engine" - elog "to play with, you can emerge gnuchess or crafty." - elog "Read xboard FAQ for information." - if ! use default-font ; then - ewarn "Read the xboard(6) man page for specifying the font for xboard to use." - fi -} - -pkg_postrm() { - fdo-mime_mime_database_update - fdo-mime_desktop_database_update - gnome2_icon_cache_update -}
[gentoo-commits] repo/gentoo:master commit in: games-board/xboard/
commit: 105447570820010f87de24b0688b071e4633d749 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Dec 16 09:45:57 2018 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Dec 16 09:47:00 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10544757 games-board/xboard: 4.9.1 version bump 4.9.0 did not manage to build successfully. Closes: https://bugs.gentoo.org/617244 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner gentoo.org> games-board/xboard/Manifest | 2 +- games-board/xboard/{xboard-4.9.0.ebuild => xboard-4.9.1.ebuild} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/games-board/xboard/Manifest b/games-board/xboard/Manifest index 15ac8c7083e..fb535684f9b 100644 --- a/games-board/xboard/Manifest +++ b/games-board/xboard/Manifest @@ -1,2 +1,2 @@ DIST xboard-4.8.0.tar.gz 3691531 BLAKE2B 7743b654e8bdd37672a6076ce032fcc92c846796a8cf84906ae8b74454297f0fed1bce078883e9aff6237c8bfee67db659bdd7b93acd94e1b27bc90629dc3b1a SHA512 fc3231f170baacdf97df5d08488f5a1fb9a144810f7b0eb72e3e95d345ce47aa2ff67a586ef45b6a9e45932300babc59c161a29e055dd0d19b133ba986985c81 -DIST xboard-4.9.0.tar.gz 4012576 BLAKE2B f2b1a8f2393e6270c7b68a70d563fee93befdcb4da961d6dbda22b2fd5ef1de837ce5befe786667643f39e66dcbd1f49a808ef1eff72a4acde4bb4e9ae904c7c SHA512 4eeda52ecb7ab0111020af08e997e0de5b1bc85ec1734f6f597becc08f64a3cfe470be6e25bf36ce5355463caa9ecde2d3077ac55f94f32f781c5a4b02e5bb6d +DIST xboard-4.9.1.tar.gz 4015017 BLAKE2B c886cb06d9b4ed394220f133915a55e1dbe29d317891d00d880c597abe0ad43a8377c926d844318b0092120aee7e40fe8c6c62fff41890c35bd768575ccef731 SHA512 7c6f17450edc3f56d5987f6363da01633850b87b0d6664524a4697216dc66aa58f84314ba57ee68aebfbb01ef96995e34be4e98fb4a5124e3f5090690f91ae08 diff --git a/games-board/xboard/xboard-4.9.0.ebuild b/games-board/xboard/xboard-4.9.1.ebuild similarity index 97% rename from games-board/xboard/xboard-4.9.0.ebuild rename to games-board/xboard/xboard-4.9.1.ebuild index 3bfe9f86921..71e1a4bd842 100644 --- a/games-board/xboard/xboard-4.9.0.ebuild +++ b/games-board/xboard/xboard-4.9.1.ebuild @@ -3,7 +3,7 @@ EAPI=6 -inherit autotools xdg-utils gnome2-utils +inherit autotools gnome2-utils xdg-utils DESCRIPTION="GUI for gnuchess and for internet chess servers" HOMEPAGE="https://www.gnu.org/software/xboard/;
[gentoo-commits] repo/gentoo:master commit in: games-board/xboard/
commit: 0bbb2e1904271a8e775d9742c2ec32e6aaff93fb Author: Philipp Ammann posteo de> AuthorDate: Sat Sep 22 17:20:08 2018 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Dec 16 09:47:00 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bbb2e19 games-board/xboard: version bump to 4.9.0 * fdo-mime -> xdg-utils * sort IUSE * put docs into DOCS array * drop gnome2_icon_savelist Package-Manager: Portage-2.3.49, Repoman-2.3.11 Signed-off-by: Philipp Ammann posteo.de> Closes: https://github.com/gentoo/gentoo/pull/9951 Signed-off-by: Andreas Sturmlechner gentoo.org> games-board/xboard/Manifest| 1 + games-board/xboard/xboard-4.9.0.ebuild | 87 ++ 2 files changed, 88 insertions(+) diff --git a/games-board/xboard/Manifest b/games-board/xboard/Manifest index 5fa90321522..15ac8c7083e 100644 --- a/games-board/xboard/Manifest +++ b/games-board/xboard/Manifest @@ -1 +1,2 @@ DIST xboard-4.8.0.tar.gz 3691531 BLAKE2B 7743b654e8bdd37672a6076ce032fcc92c846796a8cf84906ae8b74454297f0fed1bce078883e9aff6237c8bfee67db659bdd7b93acd94e1b27bc90629dc3b1a SHA512 fc3231f170baacdf97df5d08488f5a1fb9a144810f7b0eb72e3e95d345ce47aa2ff67a586ef45b6a9e45932300babc59c161a29e055dd0d19b133ba986985c81 +DIST xboard-4.9.0.tar.gz 4012576 BLAKE2B f2b1a8f2393e6270c7b68a70d563fee93befdcb4da961d6dbda22b2fd5ef1de837ce5befe786667643f39e66dcbd1f49a808ef1eff72a4acde4bb4e9ae904c7c SHA512 4eeda52ecb7ab0111020af08e997e0de5b1bc85ec1734f6f597becc08f64a3cfe470be6e25bf36ce5355463caa9ecde2d3077ac55f94f32f781c5a4b02e5bb6d diff --git a/games-board/xboard/xboard-4.9.0.ebuild b/games-board/xboard/xboard-4.9.0.ebuild new file mode 100644 index 000..3bfe9f86921 --- /dev/null +++ b/games-board/xboard/xboard-4.9.0.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools xdg-utils gnome2-utils + +DESCRIPTION="GUI for gnuchess and for internet chess servers" +HOMEPAGE="https://www.gnu.org/software/xboard/; +SRC_URI="mirror://gnu/xboard/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86" +IUSE="+default-font gtk nls Xaw3d zippy" +RESTRICT="test" #124112 + +RDEPEND=" + dev-libs/glib:2 + gnome-base/librsvg:2 + virtual/libintl + x11-libs/cairo[X] + x11-libs/libXpm + default-font? ( + media-fonts/font-adobe-100dpi[nls?] + media-fonts/font-misc-misc[nls?] + ) + !gtk? ( + x11-libs/libX11 + x11-libs/libXt + x11-libs/libXmu + Xaw3d? ( x11-libs/libXaw3d ) + !Xaw3d? ( x11-libs/libXaw ) + ) + gtk? ( x11-libs/gtk+:2 )" +DEPEND="${RDEPEND} + virtual/pkgconfig + x11-base/xorg-proto + nls? ( sys-devel/gettext )" + +PATCHES=( + "${FILESDIR}"/${PN}-4.8.0-gettext.patch + "${FILESDIR}"/${PN}-4.8.0-gnuchess-default.patch +) + +DOCS=( AUTHORS COPYRIGHT ChangeLog FAQ.html NEWS README TODO ics-parsing.txt ) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf \ + --disable-update-mimedb \ + --datadir="${EPREFIX}"/usr/share \ + $(use_enable nls) \ + $(use_enable zippy) \ + --disable-update-mimedb \ + $(use_with gtk) \ + $(use_with Xaw3d) \ + $(usex gtk "--without-Xaw" "$(use_with !Xaw3d Xaw)") \ + --with-gamedatadir="${EPREFIX}/usr/share/games/${PN}" +} + +src_install() { + default + use zippy && dodoc zippy.README +} + +pkg_postinst() { + xdg_mimeinfo_database_update + xdg_desktop_database_update + gnome2_icon_cache_update + elog "No chess engines are emerged by default! If you want a chess engine" + elog "to play with, you can emerge gnuchess or crafty." + elog "Read xboard FAQ for information." + if ! use default-font ; then + ewarn "Read the xboard(6) man page for specifying the font for xboard to use." + fi +} + +pkg_postrm() { + xdg_mimeinfo_database_update + xdg_desktop_database_update + gnome2_icon_cache_update +}
[gentoo-commits] repo/gentoo:master commit in: games-board/xboard/
commit: e550ae3c370cdd8cbb592ff9bb0f67c55fe9bb80 Author: Sergei Trofimovich gentoo org> AuthorDate: Mon Oct 9 14:21:39 2017 + Commit: Sergei Trofimovich gentoo org> CommitDate: Mon Oct 9 14:22:32 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e550ae3c games-board/xboard: add basic prefix support Package-Manager: Portage-2.3.10, Repoman-2.3.3 games-board/xboard/xboard-4.8.0-r1.ebuild | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/games-board/xboard/xboard-4.8.0-r1.ebuild b/games-board/xboard/xboard-4.8.0-r1.ebuild index 226d1b2c9f4..60b2e7c3005 100644 --- a/games-board/xboard/xboard-4.8.0-r1.ebuild +++ b/games-board/xboard/xboard-4.8.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -50,18 +50,18 @@ src_prepare() { src_configure() { econf \ --disable-update-mimedb \ - --datadir=/usr/share \ + --datadir="${EPREFIX}"/usr/share \ $(use_enable nls) \ $(use_enable zippy) \ --disable-update-mimedb \ $(use_with gtk) \ $(use_with Xaw3d) \ $(usex gtk "--without-Xaw" "$(use_with !Xaw3d Xaw)") \ - --with-gamedatadir="/usr/share/games/${PN}" + --with-gamedatadir="${EPREFIX}/usr/share/games/${PN}" } src_install() { - emake DESTDIR="${D}" install + default dodoc AUTHORS COPYRIGHT ChangeLog FAQ.html NEWS README TODO ics-parsing.txt use zippy && dodoc zippy.README }
[gentoo-commits] repo/gentoo:master commit in: games-board/xboard/
commit: 06f5559b11960228af952b8cb94c927bab7c2c84 Author: Austin English gentoo org> AuthorDate: Mon Aug 1 19:04:18 2016 + Commit: Austin English gentoo org> CommitDate: Mon Aug 1 19:04:18 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06f5559b games-board/xboard: remove deprecated games eclass Also update to EAPI 6 Gentoo-Bug: https://bugs.gentoo.org/574082 Package-Manager: portage-2.3.0 games-board/xboard/xboard-4.8.0-r1.ebuild | 90 +++ 1 file changed, 90 insertions(+) diff --git a/games-board/xboard/xboard-4.8.0-r1.ebuild b/games-board/xboard/xboard-4.8.0-r1.ebuild new file mode 100644 index 000..71998b6 --- /dev/null +++ b/games-board/xboard/xboard-4.8.0-r1.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit autotools eutils fdo-mime gnome2-utils + +DESCRIPTION="GUI for gnuchess and for internet chess servers" +HOMEPAGE="https://www.gnu.org/software/xboard/; +SRC_URI="mirror://gnu/xboard/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="Xaw3d +default-font gtk nls zippy" +RESTRICT="test" #124112 + +RDEPEND=" + dev-libs/glib:2 + gnome-base/librsvg:2 + virtual/libintl + x11-libs/cairo[X] + x11-libs/libXpm + default-font? ( + media-fonts/font-adobe-100dpi[nls?] + media-fonts/font-misc-misc[nls?] + ) + !gtk? ( + x11-libs/libX11 + x11-libs/libXt + x11-libs/libXmu + Xaw3d? ( x11-libs/libXaw3d ) + !Xaw3d? ( x11-libs/libXaw ) + ) + gtk? ( x11-libs/gtk+:2 )" +DEPEND="${RDEPEND} + x11-proto/xproto + virtual/pkgconfig + nls? ( sys-devel/gettext )" + +PATCHES=( + "${FILESDIR}"/${P}-gettext.patch + "${FILESDIR}"/${P}-gnuchess-default.patch +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf \ + --disable-update-mimedb \ + --datadir=/usr/share \ + $(use_enable nls) \ + $(use_enable zippy) \ + --disable-update-mimedb \ + $(use_with gtk) \ + $(use_with Xaw3d) \ + $(usex gtk "--without-Xaw" "$(use_with !Xaw3d Xaw)") \ + --with-gamedatadir="/usr/share/games/${PN}" +} + +src_install() { + emake DESTDIR="${D}" install + dodoc AUTHORS COPYRIGHT ChangeLog FAQ.html NEWS README TODO ics-parsing.txt + use zippy && dodoc zippy.README +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + fdo-mime_mime_database_update + fdo-mime_desktop_database_update + gnome2_icon_cache_update + elog "No chess engines are emerged by default! If you want a chess engine" + elog "to play with, you can emerge gnuchess or crafty." + elog "Read xboard FAQ for information." + if ! use default-font ; then + ewarn "Read the xboard(6) man page for specifying the font for xboard to use." + fi +} + +pkg_postrm() { + fdo-mime_mime_database_update + fdo-mime_desktop_database_update + gnome2_icon_cache_update +}