From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- dev-tcltk/iwidgets/Manifest | 8 ++++ dev-tcltk/iwidgets/files/4.0.1-path.patch | 63 ++++++++++++++++++++++++++++ dev-tcltk/iwidgets/iwidgets-4.0.1-r3.ebuild | 64 +++++++++++++++++++++++++++++ dev-tcltk/iwidgets/iwidgets-4.0.1.ebuild | 39 ++++++++++++++++++ dev-tcltk/iwidgets/metadata.xml | 11 +++++ 5 files changed, 185 insertions(+) create mode 100644 dev-tcltk/iwidgets/Manifest create mode 100644 dev-tcltk/iwidgets/files/4.0.1-path.patch create mode 100644 dev-tcltk/iwidgets/iwidgets-4.0.1-r3.ebuild create mode 100644 dev-tcltk/iwidgets/iwidgets-4.0.1.ebuild create mode 100644 dev-tcltk/iwidgets/metadata.xml (limited to 'dev-tcltk/iwidgets') diff --git a/dev-tcltk/iwidgets/Manifest b/dev-tcltk/iwidgets/Manifest new file mode 100644 index 000000000000..5a4efeaa1fba --- /dev/null +++ b/dev-tcltk/iwidgets/Manifest @@ -0,0 +1,8 @@ +AUX 4.0.1-path.patch 2376 SHA256 496efbba07ca1e62a27129807a569d5d346e1fc68e380b3bec942404d0dd7847 SHA512 1216beb6aad68591026e508827b062bcf2a547b76eac25b731f59ab0cf4b7b2c0a31a3c427e904ca9fec118f2db970d53a7aa81aa73a4b551fce3ec396625cc0 WHIRLPOOL c6ea2b9e1143ee43c42f87624c2b61d82a2601988e446b96a74e8d2d7e33f18744b90e04ef9c6b9767b910b7d8c37c447e21db7e7bb8c8e56eca4fabe4ba4a82 +DIST itcl3.2.1_src.tgz 427026 SHA256 9a225564fc94beef4cc0e627a368d9d2b4425c58b93d5a787c9836d6cceed2ad SHA512 f6b832f20e53bac66c8bcdbf64aa4aad932ee827fb8059ad2e0dca0c61db01affde6b67c1e0acb331a3837eebcb38282fa7bec90f5d6ed4b65799f4424679f3f WHIRLPOOL 2fd96e63c67eee27fcbfdc53c85bc7348befee703e2a77fb55355ac636be1dce733f9c09a8c51255163a09b4eab2cc46f3313a66c12415eee4f1d0d5729041d8 +DIST iwidgets4.0.1.tar.gz 647960 SHA256 b0e9cb74370f863e17a05df81fd70af3a39a1cfb733181c61669b30ad7799426 SHA512 61d1980eb8beb2821fbd8333f5d1f6faa8bf59d98392fee8d166eef213b27c6b66121d42b8eef64d151e5249009be56076a8cf8bb6635072ee6ee4075858182e WHIRLPOOL e77508a8ba30b37aa7c9d565b17c783589bfb694e90bc159fbf1a80683b5bea25c5e3f545404aaa8f286e547f859bedbbb50e3a16ef0a49ac9128ee356702485 +EBUILD iwidgets-4.0.1-r3.ebuild 1419 SHA256 801d606f3ec4fc895511d1d9127cc1ff5e6bed53e7f2272c23010142faf6438e SHA512 4604df9afa1eb983f9ec9c7a580fa244273ab9d98945698587ee629f068dd3b7cc27b9f3e3ae918d1f2bd95ee4d1807eb1fd2d2c972201a0c1f4ed8fe789c1d2 WHIRLPOOL 8f65494dfe896de5e94f8a037d3734dc38f67e46cbddfdc968595906f46a08b129ced6047749f80767a0f31860fffdd2c4e3c8f1bba4a5c2b1d74ca0828ab0c5 +EBUILD iwidgets-4.0.1.ebuild 855 SHA256 fcc5e92408989d52b7d2364cf4233e0ae44c8be4b378c2ca67d027cb295078da SHA512 8220af665ddf84f35a4ad8bbd8d679f56ec1e4c71f36cff426e067e9eff22f524c7e9e76a7e5390e90073a7a4ecfa531c850edf4c4129bf0ea4ea252a1cdfff0 WHIRLPOOL c285b0a9cbc90553067c038d3183b8944186e654da6d501962b74d00f63af59cc09323e1a81fb7e41b71ea8e160f4352297637e825e9f7d24775965244ada162 +MISC ChangeLog 2516 SHA256 9fcb33172d36b329116b4cbb4bdcd8f75bc85ef01598a6e94c20028264667ed6 SHA512 761bbc1c6b092b4edd95180e63867f08f81fc1bd166cb579f7e0551f6bfbb4ceec41bdcfd9b4332ed64824a774b02ee57910a8ad70c5f629d84b9f20f98ce9f2 WHIRLPOOL 57a25da3f2c54f7919411300394746d6023b4f7e2558c5b8f9a1a5578cddb352db47a48e5820aeb152caa6f0e4ba85dd2fe36218e172a9d902498d690dc581e8 +MISC ChangeLog-2015 3169 SHA256 f58fcd045c3127fec9b004f2b4f08a2dd2e807260bf38aeb78262838e244e4ff SHA512 6059455602131e0ab0ced35775d868457e5e5e1ab3ddc214e1babd85747277f27eb9e2dba94072ee24734a2cf94366337cda88c2a5ca8e50a1e47b1fd45ec361 WHIRLPOOL cd89a6d7caf0cd6b973e0dfd5512422a4fb508e38e5f138b240c506c10a38b3d73b35971fc27ff0e4dfd17de7d56e76f6ce94726f415440b2edd671f1ce7bac4 +MISC metadata.xml 330 SHA256 376c029bea33a6d66f0aea4952f09557e6fdb7b77ff719267ea2f44341e628cf SHA512 404a351da7b77344ba6ad0969162591a9fdc582ca723b43d04ed073bdc164b4df173a3267b333ed4d19aaa48b34c696d485703c85cccd700320e23008ef189b1 WHIRLPOOL fd52a0b54e841f38081d53de6f9fb2e3effaa1aa94f2045481add347954377997e4bc77c99f33e985323a5cdd81c7f144a53458d3e44b82f2c8f104436b39638 diff --git a/dev-tcltk/iwidgets/files/4.0.1-path.patch b/dev-tcltk/iwidgets/files/4.0.1-path.patch new file mode 100644 index 000000000000..095d9ed81e1c --- /dev/null +++ b/dev-tcltk/iwidgets/files/4.0.1-path.patch @@ -0,0 +1,63 @@ +--- iwidgets4.0.1/Makefile.in ++++ iwidgets4.0.1/Makefile.in +@@ -30,6 +30,7 @@ + + srcdir = @srcdir@ + bindir = @bindir@ ++mandir = @mandir@ + + # The following definition can be set to non-null for special systems + # like AFS with replication. It allows the pathnames used for installation +@@ -48,7 +49,9 @@ + BIN_INSTALL_DIR = $(INSTALL_ROOT)$(exec_prefix)/bin + + # Top-level directory in which to install manual entries: +-MAN_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/man/mann ++MAN_INSTALL_DIR = $(INSTALL_ROOT)$(mandir)/mann ++ ++DATA_DIR = $(INSTALL_ROOT)$(prefix)/share/iwidgets$(IWIDGETS_VERSION) + + # Directory containing Tcl source code (for library used during test): + TCL_SRC_DIR = @TCL_SRC_DIR@ +@@ -135,26 +138,26 @@ + done; + + install-demos: +- @$(MKINSTALLDIRS) $(SCRIPT_INSTALL_DIR)/demos/images $(SCRIPT_INSTALL_DIR)/demos/html +- @echo "Installing demos from $(srcdir)/demos into $(SCRIPT_INSTALL_DIR)/demos" ++ @$(MKINSTALLDIRS) $(DATA_DIR)/demos/images $(DATA_DIR)/demos/html ++ @echo "Installing demos from $(srcdir)/demos into $(DATA_DIR)/demos" + @for i in $(srcdir)/demos/*; \ + do \ + if [ -f $$i ] ; then \ +- $(INSTALL_SCRIPT) $$i $(SCRIPT_INSTALL_DIR)/demos; \ ++ $(INSTALL_SCRIPT) $$i $(DATA_DIR)/demos; \ + fi; \ + done; +- @echo "Installing images from $(srcdir)/demos/images into $(SCRIPT_INSTALL_DIR)/demos/images" ++ @echo "Installing images from $(srcdir)/demos/images into $(DATA_DIR)/demos/images" + for i in $(srcdir)/demos/images/*; \ + do \ + if [ -f $$i ] ; then \ +- $(INSTALL_DATA) $$i $(SCRIPT_INSTALL_DIR)/demos/images; \ ++ $(INSTALL_DATA) $$i $(DATA_DIR)/demos/images; \ + fi; \ + done; +- @echo "Installing html man pages from $(srcdir)/demos/html into $(SCRIPT_INSTALL_DIR)/demos/html" ++ @echo "Installing html man pages from $(srcdir)/demos/html into $(DATA_DIR)/demos/html" + for i in $(srcdir)/demos/html/*; \ + do \ + if [ -f $$i ] ; then \ +- $(INSTALL_DATA) $$i $(SCRIPT_INSTALL_DIR)/demos/html; \ ++ $(INSTALL_DATA) $$i $(DATA_DIR)/demos/html; \ + fi; \ + done; + +@@ -169,7 +172,6 @@ + $$i > $(MAN_INSTALL_DIR)/`basename iwidgets_$$i`; \ + chmod 444 $(MAN_INSTALL_DIR)/`basename iwidgets_$$i`; \ + done; +- $(INSTALL_DATA) $(srcdir)/license.terms $(SCRIPT_INSTALL_DIR) + + Makefile: $(srcdir)/Makefile.in + $(SHELL) config.status diff --git a/dev-tcltk/iwidgets/iwidgets-4.0.1-r3.ebuild b/dev-tcltk/iwidgets/iwidgets-4.0.1-r3.ebuild new file mode 100644 index 000000000000..1c42bf9071a0 --- /dev/null +++ b/dev-tcltk/iwidgets/iwidgets-4.0.1-r3.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit eutils multilib + +MY_P="${PN}${PV}" +ITCL_MY_P="itcl3.2.1" + +DESCRIPTION="Widget collection for incrTcl/incrTk" +HOMEPAGE="http://incrtcl.sourceforge.net/itcl/" +SRC_URI=" + mirror://sourceforge/incrtcl/${MY_P}.tar.gz + mirror://sourceforge/incrtcl/${ITCL_MY_P}_src.tgz" + +LICENSE="HPND Old-MIT tcltk" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +DEPEND=" + >=dev-tcltk/itcl-3.2.1 + >=dev-tcltk/itk-3.2.1" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + epatch "${FILESDIR}"/${PV}-path.patch + sed \ + -e "/^\(LIB\|SCRIPT\)_INSTALL_DIR =/s|lib|$(get_libdir)|" \ + -i Makefile.in || die + + # Bug 115470 + rm doc/panedwindow.n +} + +src_configure() { + econf \ + --with-itcl="${WORKDIR}/${ITCL_MY_P}" \ + --with-tcl="${EPREFIX}"/usr/$(get_libdir) \ + --with-tk="${EPREFIX}"/usr/$(get_libdir) +} + +src_compile() { + : +} + +src_install() { + # parallel borks #177088 + emake -j1 INSTALL_ROOT="${D}" install + + dodoc CHANGES ChangeLog README + + # bug 247184 - iwidget installs man pages in /usr/man +# mkdir -p "${ED}"/usr/share/man/mann +# mv "${ED}"/usr/man/mann/* "${ED}"/usr/share/man/mann/ +# rm -rf "${ED}"/usr/man + + # demos are in the wrong place: +# mkdir -p "${ED}/usr/share/doc/${PF}" +# mv "${ED}/usr/$(get_libdir)/${MY_P}/demos" "${ED}/usr/share/doc/${PF}/" +} diff --git a/dev-tcltk/iwidgets/iwidgets-4.0.1.ebuild b/dev-tcltk/iwidgets/iwidgets-4.0.1.ebuild new file mode 100644 index 000000000000..bf1bd6f4d3b7 --- /dev/null +++ b/dev-tcltk/iwidgets/iwidgets-4.0.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +MY_P=${PN}${PV} +ITCL_MY_PN="itcl" +ITCL_MY_PV="3.2.1" +ITCL_MY_P="${ITCL_MY_PN}${ITCL_MY_PV}" + +DESCRIPTION="Widget collection for incrTcl/incrTk" +HOMEPAGE="http://incrtcl.sourceforge.net/itcl/" +SRC_URI=" + mirror://sourceforge/incrtcl/${MY_P}.tar.gz + mirror://sourceforge/incrtcl/${ITCL_MY_P}_src.tgz" + +LICENSE="HPND Old-MIT tcltk" +SLOT="0" +KEYWORDS="~alpha amd64 ia64 ppc sparc x86" +IUSE="" + +DEPEND=" + >=dev-tcltk/itcl-3.2.1 + >=dev-tcltk/itk-3.3-r1" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${MY_P} + +src_compile() { + local myconf + myconf="${myconf} --with-itcl=${WORKDIR}/${ITCL_MY_P}" + econf ${myconf} +} + +src_install() { + einstall || die "einstall failed" + dodoc CHANGES ChangeLog README || die + # Bug 115470 + rm doc/panedwindow.n + doman doc/*.n || die +} diff --git a/dev-tcltk/iwidgets/metadata.xml b/dev-tcltk/iwidgets/metadata.xml new file mode 100644 index 000000000000..d3074de5e0e4 --- /dev/null +++ b/dev-tcltk/iwidgets/metadata.xml @@ -0,0 +1,11 @@ + + + + + tcltk@gentoo.org + Gentoo Tcltk Project + + + incrtcl + + -- cgit v1.2.3