diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-misc/xdialog |
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-misc/xdialog')
-rw-r--r-- | x11-misc/xdialog/Manifest | 7 | ||||
-rw-r--r-- | x11-misc/xdialog/files/xdialog-2.3.1-install.patch | 13 | ||||
-rw-r--r-- | x11-misc/xdialog/files/xdialog-2.3.1-no-strip.patch | 48 | ||||
-rw-r--r-- | x11-misc/xdialog/metadata.xml | 8 | ||||
-rw-r--r-- | x11-misc/xdialog/xdialog-2.3.1.ebuild | 58 |
5 files changed, 134 insertions, 0 deletions
diff --git a/x11-misc/xdialog/Manifest b/x11-misc/xdialog/Manifest new file mode 100644 index 000000000000..42f5c85487d2 --- /dev/null +++ b/x11-misc/xdialog/Manifest @@ -0,0 +1,7 @@ +AUX xdialog-2.3.1-install.patch 347 SHA256 d3353a57b313b46ccafe2fc92662b7694602bd1bb6d302df0322b738b3828aa3 SHA512 756aec03d9ee6ba0fa2f567d6c3db69916290a3b65474c2f1dd912d6f11095343c2d74a8ab60fc7d9d861165058e8ad8bbb8fc2827e663927e85747b9538ed05 WHIRLPOOL c76a2090ca4666ad557493dd80edeb3260861e96c7e8b66b2cb30e3cb9b968fb10a120291d29029cad0f3bb3b29867e02456c2e2db02d93817588fb41810a2da +AUX xdialog-2.3.1-no-strip.patch 1449 SHA256 61e8dcbad6a26ca976f59e7b8e9ede6c12f1cac157f87246538d951cb0e1041d SHA512 352ea269be3d48aaec50ff6ec49524da80a5df837ef13851646f0cf4d38e5901e639881b4106112b3d515f764042dce70f423d501ea1dda2493b4061dbba9ea6 WHIRLPOOL 55b91cb8663db2e6bd329f67715c7e09836b7026f4584a9a5cc6a4a3b7f1c7d47626fa9e74670bbfe5a9dbf0a95b2675c82a67c66c6276450bb44b05bd0cd223 +DIST Xdialog-2.3.1.tar.bz2 457938 SHA256 1d446899697145fc36623d8afdd274066177da9383a6b619c18e8eb1b2ba589a SHA512 2a0f6e15297ae3ef54a41da1b1fe2ef376d28757d47433df2b8e9918cd4f95871a630b94ec544bd848e518df7f86934030a71bf0371a1466286bf7d912335525 WHIRLPOOL 27a2a25bf2eea348a9dbdf04aed334fa70e35f8d84d56e8ee561ebb345e8c457c6b9cff83a99c9df07686dc20e25d3bb980fae6b9d774d601ddbff2a04f49010 +EBUILD xdialog-2.3.1.ebuild 921 SHA256 7c2391504f6fc3173c63c3d1236dac03bc43b55bca6f1b6cd70b95d774f3b9c4 SHA512 bc74ed8f3bc7e434c9c43d5c1c28d78a33ec7a965b484e4909d6c3fe4bc8d19eb1b283855b1819d8cf8aafed924c4c911b1cff1c997d93d8895d875fc188dbe0 WHIRLPOOL 586b068aeff12018f4ae89bd38f826c3945467c6e6a116fdd7b58bd4202be4305f207b0ea6fa02aa6450a4ecabfd6335fc4a1edbb4bda312facafc4ea3954b6e +MISC ChangeLog 3037 SHA256 0232ba770a7d2b8b7f7c9bcc2bcdb95e5205a5064e4a947ab6e430f021794dfa SHA512 bed7fadea7bb8215726285de428403d2d82c30fc43442d9d3b4aa4244cb2bb57356372fa1054f092f666caae967d7b78d2545709b589a7d8ae48eb1009babf3c WHIRLPOOL 149f5ac38e7a4810a0c24b485b0329e89219a80a778d6aa581fc4e3bd781fb645b9b462acd085d7bc9d31622f43172dfc61c3fd47d560eb44175d6ae78a555ed +MISC ChangeLog-2015 4037 SHA256 9bd0df2254ce38f3b0559c5015a41a25b2b27d2c9867e0049edcb094a0db440c SHA512 c7ab54446c493e8c5d6e8360e56b33977dd1e410bcc0c75bded320d5b7433e20c45e2676df8110ff8db6c420cb72b6b0a9f062c7d0540b39755c3e501472ef9e WHIRLPOOL 881576b8e4e7e526b370b0422b2ba642e69b56c550319c6b38c18e6df237d3d850af00883a77245dc06367cfd9a1889a3490620d4ece79472358c75797ee1165 +MISC metadata.xml 272 SHA256 b389ad9ba70c18154af4fc164e31d5b1e2a4e99815d34319b4a4f46ccef2be52 SHA512 ebe67da08587903b5b82fc194aa3c8f1ab65371f60d2c134928362e089550d9e9fd9531bffe8b676a345b5bf0ab209ce7f50d37d98201a88176f002e17582493 WHIRLPOOL 3d6a9660a11c299dbb7fa3ec6821005f2540dc8fc9e499206d38d79d54023b3ddc66a019b2c88fbc92199b9f5335088b47fa3fdd781f92f2da3ad98b26bc2a50 diff --git a/x11-misc/xdialog/files/xdialog-2.3.1-install.patch b/x11-misc/xdialog/files/xdialog-2.3.1-install.patch new file mode 100644 index 000000000000..f5a02b099d92 --- /dev/null +++ b/x11-misc/xdialog/files/xdialog-2.3.1-install.patch @@ -0,0 +1,13 @@ +http://bugs.gentoo.org/327353 + +--- doc/Makefile.am ++++ doc/Makefile.am +@@ -6,7 +6,7 @@ + + CLEANFILES = index.html compatibility.html changelog.html license.html Xdialog.1 + +-doc_DATA = index.html compatibility.html changelog.html license.html $(srcdir)/*.html $(srcdir)/*.png ++doc_DATA = $(srcdir)/*.html $(srcdir)/*.png + + man_MANS = Xdialog.1 + diff --git a/x11-misc/xdialog/files/xdialog-2.3.1-no-strip.patch b/x11-misc/xdialog/files/xdialog-2.3.1-no-strip.patch new file mode 100644 index 000000000000..a507f3f0cfbb --- /dev/null +++ b/x11-misc/xdialog/files/xdialog-2.3.1-no-strip.patch @@ -0,0 +1,48 @@ +diff -Nru Xdialog-2.3.1.vanilla/configure.in Xdialog-2.3.1/configure.in +--- Xdialog-2.3.1.vanilla/configure.in 2009-02-11 09:54:10.000000000 +0000 ++++ Xdialog-2.3.1/configure.in 2009-02-11 09:59:28.000000000 +0000 +@@ -36,13 +36,8 @@ + CPPFLAGS="$CPPFLAGS -DUSE_GTK2" + AC_MSG_RESULT(Compiling for GTK2) + ]) +-if test "$compile_for" = "gtk2" ; then +- AM_PATH_GTK_2_0(2.2.0, , +- AC_MSG_ERROR(Cannot find GTK2.)) +-else +- AM_PATH_GTK(1.2.0, , +- AC_MSG_ERROR(Cannot find GTK: Is gtk-config in path?)) +-fi ++AM_PATH_GTK_2_0(2.2.0, , ++ AC_MSG_ERROR(Cannot find GTK2.)) + + dnl Set PACKAGE_DATA_DIR in config.h. + if test "x${datadir}" = 'x${prefix}/share'; then +@@ -59,28 +54,6 @@ + packagesrcdir=`cd $srcdir && pwd` + AC_DEFINE_UNQUOTED(PACKAGE_SOURCE_DIR, "${packagesrcdir}", [ ]) + +-dnl Use -Wall if we have gcc. +-if test "x$GCC" = "xyes"; then +- case " $CFLAGS " in +- *[[\ \ ]-Wall[\ \ ]]*) ;; +- *) CFLAGS="$CFLAGS -Wall" ;; +- esac +- case " $CFLAGS " in +- *[[\ \ ]-s[\ \ ]]*) ;; +- *) CFLAGS="$CFLAGS -s" ;; +- esac +- case `gcc --version` in +- 2.95*|2.96*|2.97*) +- case " $CFLAGS " in +- *[[\ \ ]-fno-omit-frame-pointer[\ \ ]]*) ;; +- *) CFLAGS="$CFLAGS -fno-omit-frame-pointer" ;; +- esac +- AC_MSG_RESULT(Buggy GCC version: compiling with -fno-omit-frame-pointer) +- ;; +- *) ;; +- esac +-fi +- + AC_ARG_WITH(french-labels, + [ --with-french-labels Enables french labels in menus],[ + CPPFLAGS="$CPPFLAGS -DFRENCH" diff --git a/x11-misc/xdialog/metadata.xml b/x11-misc/xdialog/metadata.xml new file mode 100644 index 000000000000..49c86a887b6a --- /dev/null +++ b/x11-misc/xdialog/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>desktop-misc@gentoo.org</email> + <name>Gentoo Desktop Miscellaneous Project</name> +</maintainer> +</pkgmetadata> diff --git a/x11-misc/xdialog/xdialog-2.3.1.ebuild b/x11-misc/xdialog/xdialog-2.3.1.ebuild new file mode 100644 index 000000000000..b98cd8fbe72b --- /dev/null +++ b/x11-misc/xdialog/xdialog-2.3.1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools eutils + +DESCRIPTION="drop-in replacement for cdialog using GTK" +HOMEPAGE="http://xdialog.free.fr/" +SRC_URI="http://${PN}.free.fr/Xdialog-${PV}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 ~hppa ppc x86" +IUSE="doc examples nls" + +RDEPEND=" + dev-libs/glib:2 + >=x11-libs/gtk+-2.2:2 +" +DEPEND=" + ${RDEPEND} + virtual/pkgconfig + nls? ( sys-devel/gettext ) +" + +S="${WORKDIR}/${P/x/X}" + +PATCHES=( + "${FILESDIR}"/${P}-{no-strip,install}.patch +) + +src_prepare() { + epatch "${PATCHES[@]}" + + eautoreconf +} + +src_configure() { + econf \ + $(use_enable nls) \ + --with-gtk2 +} + +src_install() { + default + + rm -rv "${D}"/usr/share/doc || die + + dodoc AUTHORS BUGS ChangeLog README + + use doc && dohtml -r doc/ + + if use examples; then + insinto "/usr/share/doc/${PF}/examples" + doins samples/* + fi +} |