diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-tcltk/iwidgets | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-tcltk/iwidgets')
-rw-r--r-- | dev-tcltk/iwidgets/Manifest | 6 | ||||
-rw-r--r-- | dev-tcltk/iwidgets/files/4.0.1-path.patch | 63 | ||||
-rw-r--r-- | dev-tcltk/iwidgets/iwidgets-4.0.1-r3.ebuild | 64 | ||||
-rw-r--r-- | dev-tcltk/iwidgets/iwidgets-4.0.1.ebuild | 41 | ||||
-rw-r--r-- | dev-tcltk/iwidgets/metadata.xml | 11 |
5 files changed, 185 insertions, 0 deletions
diff --git a/dev-tcltk/iwidgets/Manifest b/dev-tcltk/iwidgets/Manifest new file mode 100644 index 000000000000..8123a9076937 --- /dev/null +++ b/dev-tcltk/iwidgets/Manifest @@ -0,0 +1,6 @@ +AUX 4.0.1-path.patch 2376 BLAKE2B 18e3ef4be48239fe1ec4f819f9aadadd3351567eed2dd072dcf7f8c07e5acaa1cdf1b6771b3492ca583fd695af0c7473672e2518e0583da9db4d83110057b02b SHA512 1216beb6aad68591026e508827b062bcf2a547b76eac25b731f59ab0cf4b7b2c0a31a3c427e904ca9fec118f2db970d53a7aa81aa73a4b551fce3ec396625cc0 +DIST itcl3.2.1_src.tgz 427026 BLAKE2B f37612bc21916bfad082d60cd216e28f2e427307e0ea80aa0ca1506c1d247471bfcd20be744a16ef57f5e04db0c34fcc436f2fbe53715462417202377a6cf0e4 SHA512 f6b832f20e53bac66c8bcdbf64aa4aad932ee827fb8059ad2e0dca0c61db01affde6b67c1e0acb331a3837eebcb38282fa7bec90f5d6ed4b65799f4424679f3f +DIST iwidgets4.0.1.tar.gz 647960 BLAKE2B 3dafbe73a40e4babff574a82b4bd68546f109a52197f15228877950560f8089f95a44da93c3ff2723e2a40f26bac0e00ca4f34099e716591b93e9aba846e4257 SHA512 61d1980eb8beb2821fbd8333f5d1f6faa8bf59d98392fee8d166eef213b27c6b66121d42b8eef64d151e5249009be56076a8cf8bb6635072ee6ee4075858182e +EBUILD iwidgets-4.0.1-r3.ebuild 1419 BLAKE2B a8495945962f96b14c526b271db1c1df5ba685f6306e25aeb32945b16eb4bd4c25cb394fb8bb00fd9a640b45fe41dbf60ade547b2e5a3083ae4a22567acc0a6c SHA512 4604df9afa1eb983f9ec9c7a580fa244273ab9d98945698587ee629f068dd3b7cc27b9f3e3ae918d1f2bd95ee4d1807eb1fd2d2c972201a0c1f4ed8fe789c1d2 +EBUILD iwidgets-4.0.1.ebuild 863 BLAKE2B 6d4adbb993dd99a0a0b4e1924c7e8f23296430f17d78fbbb9e122bf58949e62b2bbfbc8915ce327b9a76c2d71b280f1293188a06999839d1948d472c361c2dc6 SHA512 1920f61dd8b29a1b8621aa61f802ed0006983f4b4528233219cfbade9e0a7aa89d634365e112b6925a584e2fea3cf2f84e19d4ad26ad12a55a3b57238262bd14 +MISC metadata.xml 330 BLAKE2B 31520e9c34731a6b9f743db2dc1ecd3dfa0600c77c64ec8d3274f65a3e4998086684a78bac8b55d3450310d0cc8d3de741fe924a6bc722821aa15deaf1360419 SHA512 404a351da7b77344ba6ad0969162591a9fdc582ca723b43d04ed073bdc164b4df173a3267b333ed4d19aaa48b34c696d485703c85cccd700320e23008ef189b1 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..a3b02f1740f0 --- /dev/null +++ b/dev-tcltk/iwidgets/iwidgets-4.0.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=0 + +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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>tcltk@gentoo.org</email> + <name>Gentoo Tcltk Project</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">incrtcl</remote-id> + </upstream> +</pkgmetadata> |