diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-tcltk/tkXwin | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-tcltk/tkXwin')
-rw-r--r-- | dev-tcltk/tkXwin/Manifest | 1 | ||||
-rw-r--r-- | dev-tcltk/tkXwin/files/1.0-Makefile.in.diff | 21 | ||||
-rw-r--r-- | dev-tcltk/tkXwin/files/1.0-configure.diff | 12 | ||||
-rw-r--r-- | dev-tcltk/tkXwin/files/1.0-configure.patch | 13 | ||||
-rw-r--r-- | dev-tcltk/tkXwin/files/tkXwin-1.0-configure.patch | 93 | ||||
-rw-r--r-- | dev-tcltk/tkXwin/metadata.xml | 5 | ||||
-rw-r--r-- | dev-tcltk/tkXwin/tkXwin-1.0-r3.ebuild | 49 |
7 files changed, 194 insertions, 0 deletions
diff --git a/dev-tcltk/tkXwin/Manifest b/dev-tcltk/tkXwin/Manifest new file mode 100644 index 000000000000..ce648a703de6 --- /dev/null +++ b/dev-tcltk/tkXwin/Manifest @@ -0,0 +1 @@ +DIST tkXwin-1.0.tgz 168650 SHA256 4390cd165c584162dccf8414d2f4f27bf4dd3b2ad1e66fbe280ee390475fb3c0 SHA512 0313ec6fc81c872019a7e247fcaac899d5d584eb8066e7abf1d1feff7bc741de43a9b8a6212ed6dcd12566e8c995bc658360833c692eea5f1b4b5fc199cf2d6e WHIRLPOOL 375b086509295aa93a5da15f285c3aa2e8336e9c619aabc974910bd52c47ffbec47543be488067b29f433fde4ffe1b854ec638216b61b40388fb7b158a367873 diff --git a/dev-tcltk/tkXwin/files/1.0-Makefile.in.diff b/dev-tcltk/tkXwin/files/1.0-Makefile.in.diff new file mode 100644 index 000000000000..bd10890c719c --- /dev/null +++ b/dev-tcltk/tkXwin/files/1.0-Makefile.in.diff @@ -0,0 +1,21 @@ +--- Makefile.in.orig 2003-02-01 22:03:34.000000000 -0500 ++++ Makefile.in 2003-02-01 22:04:39.000000000 -0500 +@@ -432,14 +432,14 @@ + + + install-exec-hook: +- $(mkinstalldirs) @PKG_TCL@ ++ $(mkinstalldirs) $(DESTDIR)@PKG_TCL@ + echo "package ifneeded tkXwin" \ + `echo $(VERSION) | awk -F. '{ printf "%s.%s", $$1, $$2 }'` \ +- "[list load $(DESTDIR)$(libdir)/libtkXwin.so]" \ +- > @PKG_TCL@/pkgIndex.tcl ++ "[list load $(libdir)/libtkXwin.so]" \ ++ > $(DESTDIR)@PKG_TCL@/pkgIndex.tcl + sed -e 's%load .libs/libtkXwin.so%package require tkXwin%' \ + < test.tcl \ +- > @PKG_TCL@/test.tcl ++ > $(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/tkXwin/files/1.0-configure.diff b/dev-tcltk/tkXwin/files/1.0-configure.diff new file mode 100644 index 000000000000..250908845e2f --- /dev/null +++ b/dev-tcltk/tkXwin/files/1.0-configure.diff @@ -0,0 +1,12 @@ +diff -Naur tkXwin-1.0.orig/configure tkXwin-1.0/configure +--- tkXwin-1.0.orig/configure 2002-08-25 15:29:53.000000000 +0900 ++++ tkXwin-1.0/configure 2005-06-26 22:17:41.000000000 +0900 +@@ -3534,7 +3534,7 @@ + + + +-PKG_TCL=${TCL_PACKAGE_PATH}/tkXwin ++PKG_TCL=${TCL_PACKAGE_PATH%% *}/tkXwin + + + diff --git a/dev-tcltk/tkXwin/files/1.0-configure.patch b/dev-tcltk/tkXwin/files/1.0-configure.patch new file mode 100644 index 000000000000..3a0affc6cd68 --- /dev/null +++ b/dev-tcltk/tkXwin/files/1.0-configure.patch @@ -0,0 +1,13 @@ +diff --git a/configure b/configure +index d92a1bf..6d75569 100755 +--- a/configure ++++ b/configure +@@ -3534,7 +3534,7 @@ fi + + + +-PKG_TCL=${TCL_PACKAGE_PATH}/tkXwin ++PKG_TCL=${libdir}/tkXwin + + + diff --git a/dev-tcltk/tkXwin/files/tkXwin-1.0-configure.patch b/dev-tcltk/tkXwin/files/tkXwin-1.0-configure.patch new file mode 100644 index 000000000000..ac2f84b97f21 --- /dev/null +++ b/dev-tcltk/tkXwin/files/tkXwin-1.0-configure.patch @@ -0,0 +1,93 @@ + configure | 43 +++---------------------------------------- + 1 file changed, 3 insertions(+), 40 deletions(-) + +diff --git a/configure b/configure +index d92a1bf..d8605a0 100755 +--- a/configure ++++ b/configure +@@ -823,7 +823,6 @@ fi + + ac_test_CFLAGS="${CFLAGS+set}" + ac_save_CFLAGS="$CFLAGS" +-CFLAGS= + echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 + echo "configure:829: checking whether ${CC-cc} accepts -g" >&5 + if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then +@@ -839,23 +838,6 @@ rm -f conftest* + + fi + +-echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 +-if test "$ac_test_CFLAGS" = set; then +- CFLAGS="$ac_save_CFLAGS" +-elif test $ac_cv_prog_cc_g = yes; then +- if test "$GCC" = yes; then +- CFLAGS="-g -O2" +- else +- CFLAGS="-g" +- fi +-else +- if test "$GCC" = yes; then +- CFLAGS="-O2" +- else +- CFLAGS= +- fi +-fi +- + # Check whether --enable-static or --disable-static was given. + if test "${enable_static+set}" = set; then + enableval="$enable_static" +@@ -2078,7 +2060,6 @@ fi + + ac_test_CFLAGS="${CFLAGS+set}" + ac_save_CFLAGS="$CFLAGS" +-CFLAGS= + echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 + echo "configure:2084: checking whether ${CC-cc} accepts -g" >&5 + if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then +@@ -2094,24 +2075,6 @@ rm -f conftest* + + fi + +-echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 +-if test "$ac_test_CFLAGS" = set; then +- CFLAGS="$ac_save_CFLAGS" +-elif test $ac_cv_prog_cc_g = yes; then +- if test "$GCC" = yes; then +- CFLAGS="-g -O2" +- else +- CFLAGS="-g" +- fi +-else +- if test "$GCC" = yes; then +- CFLAGS="-O2" +- else +- CFLAGS= +- fi +-fi +- +- + # Find a good install program. We prefer a C program (faster), + # so one script is as good as another. But avoid the broken or + # incompatible versions: +@@ -3403,9 +3366,9 @@ fi + + + if test "${SHARED_BUILD}" = "1" ; then +- CFLAGS='${CFLAGS_DEFAULT} ${CFLAGS_WARNING} ${SHLIB_CFLAGS}' ++ CFLAGS+=' ${CFLAGS_WARNING} ${SHLIB_CFLAGS}' + else +- CFLAGS='${CFLAGS_DEFAULT} ${CFLAGS_WARNING}' ++ CFLAGS+=' ${CFLAGS_WARNING}' + fi + + #-------------------------------------------------------------------- +@@ -3534,7 +3497,7 @@ fi + + + +-PKG_TCL=${TCL_PACKAGE_PATH}/tkXwin ++PKG_TCL=${libdir}/tkXwin + + + diff --git a/dev-tcltk/tkXwin/metadata.xml b/dev-tcltk/tkXwin/metadata.xml new file mode 100644 index 000000000000..815cc916f2b6 --- /dev/null +++ b/dev-tcltk/tkXwin/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>tcltk</herd> +</pkgmetadata> diff --git a/dev-tcltk/tkXwin/tkXwin-1.0-r3.ebuild b/dev-tcltk/tkXwin/tkXwin-1.0-r3.ebuild new file mode 100644 index 000000000000..1bb8c432990c --- /dev/null +++ b/dev-tcltk/tkXwin/tkXwin-1.0-r3.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit autotools-utils multilib toolchain-funcs + +DESCRIPTION="Tcl/Tk library to detect idle periods of an X session" +HOMEPAGE="http://beepcore-tcl.sourceforge.net/" +SRC_URI="http://beepcore-tcl.sourceforge.net/${P}.tgz" + +LICENSE="BSD" +SLOT="0" +IUSE="debug static-libs threads" +KEYWORDS="amd64 ppc x86" + +DEPEND=" + dev-lang/tk[threads?] + x11-libs/libXScrnSaver + x11-libs/libX11 + x11-libs/libXext + x11-proto/scrnsaverproto + x11-proto/xextproto" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${PV}-Makefile.in.diff + "${FILESDIR}"/${P}-configure.patch + ) + +AUTOTOOLS_IN_SOURCE_BUILD=1 + +src_prepare() { + tc-export CC AR RANLIB + autotools-utils_src_prepare +} + +src_configure() { + local myeconfargs=( + --with-tcl="${EPREFIX}/usr/$(get_libdir)" + --with-tk="${EPREFIX}/usr/$(get_libdir)" + --enable-gcc + --with-x + $(use_enable threads) + $(use_enable debug symbols) + ) + autotools-utils_src_configure +} |