diff options
Diffstat (limited to 'dev-tcltk/tkTheme')
-rw-r--r-- | dev-tcltk/tkTheme/Manifest | 6 | ||||
-rw-r--r-- | dev-tcltk/tkTheme/files/1.0-Makefile.in.diff | 29 | ||||
-rw-r--r-- | dev-tcltk/tkTheme/files/1.0-cflags.patch | 18 | ||||
-rw-r--r-- | dev-tcltk/tkTheme/files/1.0-configure.diff | 12 | ||||
-rw-r--r-- | dev-tcltk/tkTheme/metadata.xml | 8 | ||||
-rw-r--r-- | dev-tcltk/tkTheme/tkTheme-1.0-r2.ebuild | 49 |
6 files changed, 122 insertions, 0 deletions
diff --git a/dev-tcltk/tkTheme/Manifest b/dev-tcltk/tkTheme/Manifest new file mode 100644 index 000000000000..63d5965ae21b --- /dev/null +++ b/dev-tcltk/tkTheme/Manifest @@ -0,0 +1,6 @@ +AUX 1.0-Makefile.in.diff 1072 BLAKE2B 35d998bbf96f7cad05460e37d10e1b77581463839d19311170d77444a9d44c0b9892be78d045f39ac6d61d78262ea82b4631b3d779f1d32c2616d07191477b10 SHA512 eb8e7af60adca22d34cd12dd53ad433d41638bece12e2553555954bd7dd8a762de7053417f69517d1ae30e55c89ac59923b287e3cd2cc419d49695bbb5af6d88 +AUX 1.0-cflags.patch 471 BLAKE2B 85b5dd5cc67b95eeff7289f87249353175fb411069d816ab2ccb19e570246f992bc6103f4852ae6215c4aa17a03084f14c838e1367dcd6c3cfd02f234d40e1d3 SHA512 c32ea520bc4e7cc0d5d2b88ac1f980b16a3f1f154a04a2335084df3aa8c558b0460f924ae6ca54c8cfb1aeb305ae7a4fed3caf066f90725447e055ed2a63dd08 +AUX 1.0-configure.diff 289 BLAKE2B e2678f5a1bb12bf2bb61ff1412ad87af2e683dbf08882e5b2bbfd709be615665ccaf138260a9f136be5ef01ddba0c3f6193b3aa51e9e25f4d3efc182464b7c6b SHA512 710fa8a002f8347f79c56eff146b476a589f4ec7d457324dff86afa398df3c064cd1e053e5cc1ddad92a5252515051b88ba136174c6c5889a654d1649629ac8d +DIST tkTheme.tgz 335061 BLAKE2B 3a1b3bd7e82f75c5d0566317d268df5a3215e738e67ca5bf1e575abe31f3de5718a5280f3de03067c94b1469f6e1f38691515dadfbac9b3a6cb9e9dee23e1878 SHA512 71988f5a627582092d30f8d825f4e9e60f11c116e40b90bf4d669cad8146d7130e27ca0f83b0650ca7f225016849242815be27e247c8917f892a16447ed40d7c +EBUILD tkTheme-1.0-r2.ebuild 1032 BLAKE2B fa0d091df6b5db5ab6b9420eff42545cee66eb2936251ecb2f56c47e0a6d2fa56541b9cc968e403b22ea0c265a3dce9d5269a4d919745ecea93055bdeaf521bb SHA512 57e3f73e4223988caeeba2404e89afcb15bc83f6008b8f29c8c58565b2094eb73cb05716de1a7f92554b843b2869f83f09a89857e28bb5d730a95b188253a395 +MISC metadata.xml 253 BLAKE2B 19a7f4e84d1def1f97bb3b985a4959704c25d31ff2b1b7e6527ec6867d68dc2a6b15c0399935a8311789c4fac61136dcfdebaf7c113f296ec50c9523597a74db SHA512 9881e4487c9512c1b72ff2fa72a45b82ef3bf4ade0ec982aea1222f629367ac784ef922b839224add5829cba1717a25d49c31c1481610a02658d0bb265d4eaf6 diff --git a/dev-tcltk/tkTheme/files/1.0-Makefile.in.diff b/dev-tcltk/tkTheme/files/1.0-Makefile.in.diff new file mode 100644 index 000000000000..6076a0455c9b --- /dev/null +++ b/dev-tcltk/tkTheme/files/1.0-Makefile.in.diff @@ -0,0 +1,29 @@ + Makefile.in | 11 +++++------ + 1 files changed, 5 insertions(+), 6 deletions(-) + +diff --git a/Makefile.in b/Makefile.in +index 7cf8b1e..c2c7d3b 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -428,16 +428,15 @@ mostlyclean distclean maintainer-clean + + + install-exec-hook: +- $(mkinstalldirs) @PKG_TCL@ @PKG_TCL@/demo ++ $(mkinstalldirs) $(DESTDIR)@PKG_TCL@ + echo "package ifneeded tkTheme" \ + `echo $(VERSION) | awk -F. '{ printf "%s.%s", $$1, $$2 }'` \ +- "[list load $(DESTDIR)$(libdir)/libtkTheme.so]" \ +- > @PKG_TCL@/pkgIndex.tcl ++ "[list load $(libdir)/libtkTheme.so]" \ ++ > $(DESTDIR)@PKG_TCL@/pkgIndex.tcl + sed -e 's%load .libs/libtkTheme.so%package require tkTheme%' \ +- < test.tcl \ ++ < $(srcdir)/test.tcl \ + | sed -e 's%cd demo/%cd @PKG_TCL@/demo/%' \ +- > @PKG_TCL@/test.tcl +- cp demo/* @PKG_TCL@/demo ++ > $(DESTDIR)@PKG_TCL@/test.tcl + + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. diff --git a/dev-tcltk/tkTheme/files/1.0-cflags.patch b/dev-tcltk/tkTheme/files/1.0-cflags.patch new file mode 100644 index 000000000000..34063d365fd7 --- /dev/null +++ b/dev-tcltk/tkTheme/files/1.0-cflags.patch @@ -0,0 +1,18 @@ + configure | 4 +--- + 1 files changed, 1 insertions(+), 3 deletions(-) + +diff --git a/configure b/configure +index 373c332..6fc1a14 100755 +--- a/configure ++++ b/configure +@@ -3341,9 +3341,7 @@ fi + + + if test "${SHARED_BUILD}" = "1" ; then +- CFLAGS='${CFLAGS_DEFAULT} ${CFLAGS_WARNING} ${SHLIB_CFLAGS}' +-else +- CFLAGS='${CFLAGS_DEFAULT} ${CFLAGS_WARNING}' ++ CFLAGS+=' ${SHLIB_CFLAGS}' + fi + + #-------------------------------------------------------------------- diff --git a/dev-tcltk/tkTheme/files/1.0-configure.diff b/dev-tcltk/tkTheme/files/1.0-configure.diff new file mode 100644 index 000000000000..c73f7dc3aa3f --- /dev/null +++ b/dev-tcltk/tkTheme/files/1.0-configure.diff @@ -0,0 +1,12 @@ +diff -Naur tkTheme.orig/configure tkTheme/configure +--- tkTheme.orig/configure 2002-08-24 04:19:04.000000000 +0900 ++++ tkTheme/configure 2005-06-26 22:26:30.000000000 +0900 +@@ -3472,7 +3472,7 @@ + + + +-PKG_TCL=${TCL_PACKAGE_PATH}/tkTheme ++PKG_TCL=${TCL_PACKAGE_PATH%% *}/tkTheme + + + diff --git a/dev-tcltk/tkTheme/metadata.xml b/dev-tcltk/tkTheme/metadata.xml new file mode 100644 index 000000000000..2b168a2f48c6 --- /dev/null +++ b/dev-tcltk/tkTheme/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>tcltk@gentoo.org</email> + <name>Gentoo Tcltk Project</name> + </maintainer> +</pkgmetadata> diff --git a/dev-tcltk/tkTheme/tkTheme-1.0-r2.ebuild b/dev-tcltk/tkTheme/tkTheme-1.0-r2.ebuild new file mode 100644 index 000000000000..496c8d524646 --- /dev/null +++ b/dev-tcltk/tkTheme/tkTheme-1.0-r2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit autotools-utils eutils toolchain-funcs + +DESCRIPTION="Tcl/Tk Theming library" +HOMEPAGE="http://www.xmission.com/~georgeps/Tk_Theme/other/" +SRC_URI="http://www.xmission.com/~georgeps/Tk_Theme/other/${PN}.tgz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="alpha amd64 ppc x86" +IUSE="debug examples static-libs threads" + +DEPEND=" + dev-lang/tk + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXmu + x11-libs/libXpm" +RDEPEND="${DEPEND}" + +S="${WORKDIR}"/${PN} + +PATCHES=( + "${FILESDIR}"/${PV}-Makefile.in.diff + "${FILESDIR}"/${PV}-configure.diff + "${FILESDIR}"/${PV}-cflags.patch + ) + +src_configure() { + tc-export CC + local myeconfargs=( + --with-tcl="${EPREFIX}/usr/$(get_libdir)" + --with-tk="${EPREFIX}/usr/$(get_libdir)" + --with-x + $(use_with debug symbols) + $(use_enable threads) + ) + autotools-utils_src_configure +} + +src_install() { + autotools-utils_src_install + insinto /usr/share/${PN} + use examples && doins -r demo +} |