View previous topic :: View next topic |
Author |
Message |
aproan Guru
Joined: 30 Apr 2005 Posts: 415
|
Posted: Thu Feb 22, 2007 8:26 am Post subject: |
|
|
I think i got it to work.
I commented on these lines on my /etc/make.conf
Code: |
#GENTOO_MIRRORS="http://gentoo.localhost.net.ar/ ftp://mirrors.localhost.net.ar/pub/mirrors/gentoo http://www.las.ic.unicamp.br/pub/gentoo/ ftp://ftp.las.ic.unicamp.br/pub/gentoo/ ftp://ftp.lug.ro/gentoo http://ftp.lug.ro/gentoo/ http://ftp.roedu.net/pub/mirrors/gentoo.org/ ftp://ftp.roedu.net/pub/mirrors/gentoo.org/ ftp://ftp.romnet.org/gentoo/ http://ftp.romnet.org/gentoo/ "
#SYNC="rsync://rsync.samerica.gentoo.org/gentoo-portage" |
and I did:
Code: | EXTRA_ECONF="--enable-xft" emerge --digest -av tcl |
Instead of doing the digest in another step. I think it is working. Wierd huh? |
|
Back to top |
|
|
luker2701 n00b
Joined: 22 Jun 2006 Posts: 9
|
Posted: Sat Mar 10, 2007 6:18 pm Post subject: just edit the ebuild |
|
|
truc wrote: | Code: | emerge -DNutav world
These are the packages that would be merged, in reverse order:
Calculating world dependencies... done!
[nomerge ] net-im/amsn-0.95-r2 USE="gnome imlib -kde -xmms"
[ebuild U ] dev-lang/tk-8.5.0 [8.4.13] USE="-threads" 0 kB [2]
[ebuild N ] virtual/x11-7.0-r2 0 kB
[ebuild N ] x11-misc/gccmakedep-1.0.2 USE="-debug" 68 kB
[ebuild N ] x11-libs/liboldX-1.0.1 USE="-debug" 210 kB
[ebuild N ] x11-libs/libXTrap-1.0.0 USE="-debug" 214 kB
[ebuild N ] x11-libs/libXevie-1.0.1 USE="-debug" 219 kB
[ebuild N ] x11-themes/xcursor-themes-1.0.1 USE="-debug" 2,204 kB
[ebuild N ] x11-apps/xcursorgen-1.0.1 USE="-debug" 80 kB
[ebuild N ] x11-apps/xsetroot-1.0.1 USE="-debug" 75 kB
[ebuild N ] x11-libs/libXprintAppUtil-1.0.1 USE="-debug" 203 kB
[ebuild N ] x11-libs/libXprintUtil-1.0.1 USE="-debug" 218 kB
[ebuild N ] x11-libs/libXvMC-1.0.2 USE="-debug" 224 kB
[ebuild N ] x11-apps/xdm-1.0.4 USE="xprint -debug -ipv6 -pam" 354 kB
[ebuild N ] x11-themes/gentoo-xcursors-0.3.1 1,168 kB
[ebuild U ] dev-lang/tcl-8.5.0 [8.4.13] USE="-threads" 0 kB [2]
Total size of downloads: 5,245 kB
Portage overlays:
[1] /usr/local/overlays/portage
[2] /usr/local/overlays/test
Would you like to merge these packages? [Yes/No]
|
Why does it want to install virtual/x11-7.0-r2 and then all it dependencies! I don't want that! Anything I can do? |
I had the same problem and to fix it I simply edited the tk-8.5.0.ebuild, which I saw in the fixed ebuild listed in this topic. Under the DEPEND= I changed:
to be Code: | || ( ( x11-libs/libXt x11-proto/xproto ) virtual/x11 ) | .
As well, I had the tls1.5(0) problem, so I followed the instructions here http://permalink.gmane.org/gmane.network.instant-messaging.amsn.devel/4402 |
|
Back to top |
|
|
Appleman1234 n00b
Joined: 08 Jul 2006 Posts: 22
|
Posted: Tue Apr 10, 2007 8:41 pm Post subject: |
|
|
Does anyone know why expect and skencil don't want to build with new tcl and tk ? |
|
Back to top |
|
|
HTS Guru
Joined: 20 Feb 2006 Posts: 410 Location: Bristol, UK
|
Posted: Wed Apr 11, 2007 9:46 pm Post subject: |
|
|
For skencil, it's rather obvious... Read the merge error:
Code: | Looking for tcl/tk libraries under /usr/lib ,/usr/local/lib...
Looking for tcl/tk 8.4...
Looking for tcl/tk 84...
Looking for tcl/tk 8.3...
Looking for tcl/tk 83...
Looking for tcl/tk 8.2...
Looking for tcl/tk 82...
Looking for tcl/tk 8.1...
Looking for tcl/tk 81...
Looking for tcl/tk 8.0...
Looking for tcl/tk 80... | It's not looking for 8.5 because it doesn't know it exists.
Just tell the setup.py to look for it and it works
EDIT: Here is a patch for skencil to fix this issue.
skencil-0.6.17-fix-tcltk.patch
skencil-0.6.17.ebuild
Assuming your local overlay is in /usr/portage/local, copy the portage skencil to your overlay:
Code: |
mkdir /usr/portage/local/media-gfx
cp -av /usr/portage/media-gfx/skencil /usr/portage/local/media-gfx/
|
Replace the ebuild with the one provided above and copy the patch to files:
Code: | cp <path_to_ebuild> /usr/portage/local/media-gfx/skencil/
cp <path_to_patch> /usr/portage/local/media-gfx/skencil/files/
ebuild /usr/portage/local/media-gfx/skencil/skencil-0.6.17.ebuild digest
emerge -av skencil |
You're done _________________ Plasma desktop on Core i7 8086K OC @ 5GHz, 64GB DDR4, 2 x M.2 Samsung 970 PRO 1TB SSDs
Last edited by HTS on Thu Apr 12, 2007 11:45 pm; edited 1 time in total |
|
Back to top |
|
|
HTS Guru
Joined: 20 Feb 2006 Posts: 410 Location: Bristol, UK
|
Posted: Wed Apr 11, 2007 11:48 pm Post subject: |
|
|
I managed to get dev-tcltk/expect to compile against the new tcl/tk.
However, this requires quite a few steps, and there's something broken in the autotools configuration which causes the "-DHAVE_UNISTD_H" cflag not to be properly propagated to all compilation lines.
If you desperately need expect, I can tell what I did. Otherwise I suggest just waiting for a fix from upstream. _________________ Plasma desktop on Core i7 8086K OC @ 5GHz, 64GB DDR4, 2 x M.2 Samsung 970 PRO 1TB SSDs |
|
Back to top |
|
|
elmede n00b
Joined: 25 Mar 2006 Posts: 9
|
Posted: Fri Apr 13, 2007 9:49 pm Post subject: ebuild Bug fix |
|
|
Hi there, man!!
Ok, just a quick bugfix.
As it turns out, just recently
virtual/X11
has been removed for portage (was being used for something like backwards compatibility with monolitic Xorg).
Could you change the dependancy in tk to something like:
x11-libs/libX11
That's it..
thanks a lot! keep up the good work! |
|
Back to top |
|
|
HTS Guru
Joined: 20 Feb 2006 Posts: 410 Location: Bristol, UK
|
Posted: Mon Apr 16, 2007 9:51 pm Post subject: |
|
|
Thanks for reporting this,
I'm sorry I don't have much time to spare for this at the moment.
I made a mental note about that and will update the ebuild online when I find a couple of minutes. _________________ Plasma desktop on Core i7 8086K OC @ 5GHz, 64GB DDR4, 2 x M.2 Samsung 970 PRO 1TB SSDs |
|
Back to top |
|
|
Appleman1234 n00b
Joined: 08 Jul 2006 Posts: 22
|
Posted: Thu May 10, 2007 10:26 am Post subject: |
|
|
Is the custom skencil ebuild extendable to the latest version of skencil ?
And can you pm me the instructions to getting expect to compile cleanly ? |
|
Back to top |
|
|
spoon-man Tux's lil' helper
Joined: 18 Sep 2004 Posts: 86 Location: Australia W.A
|
Posted: Mon May 28, 2007 6:37 am Post subject: |
|
|
thanks for the ebuilds |
|
Back to top |
|
|
Ralgo n00b
Joined: 31 Dec 2006 Posts: 24 Location: Chile
|
Posted: Wed May 30, 2007 3:18 am Post subject: |
|
|
Hi there!!!... i have a problem
dev-lang/tcl Installed versions: 8.5.0
dev-lang/tk Installed versions: 8.5.0
amsn svn installed
Code: | cberoiza@tarro ~ $ amsn
Error in startup script: extra characters after close-brace
while executing
"set command [list $self {*}$Snit_optionInfo(configure-$option) $option]
"
(procedure "snit::RT.CacheConfigureCommand" line 36)
invoked from within
"snit::RT.CacheConfigureCommand $type $selfns $win $self $option"
(procedure "::snit::RT.method.configurelist" line 7)
invoked from within
"::snit::RT.method.configurelist $type $selfns $win $self $args"
(procedure "::snit::RT.method.configure" line 4)
invoked from within
"$self configure -width $arrow1width"
(procedure "::pixmapscrollbar::Snit_constructor" line 154)
invoked from within
"::pixmapscrollbar::Snit_constructor ::pixmapscrollbar ::pixmapscrollbar::Snit_inst1 .plugins_log.ys .plugins_log.ys -command {.plugins_log.info yview}"
("eval" body line 1)
invoked from within
"eval [linsert $arglist 0 ${type}::Snit_constructor $type $selfns $instance $instance]"
(procedure "RT.ConstructInstance" line 9)
invoked from within
"RT.ConstructInstance $type $selfns $name $args"
(procedure "::snit::RT.widget.typemethod.create" line 53)
invoked from within
"scrollbar $window.ys -command "$window.info yview""
(procedure "::pluginslog::draw" line 12)
invoked from within
"::pluginslog::draw"
invoked from within
"if { $initialize_amsn == 1 } {
::pluginslog::draw
}"
(file "pluginslog.tcl" line 210)
invoked from within
"source pluginslog.tcl"
("uplevel" body line 27)
invoked from within
"uplevel \#0 {
# amsncore.tcl is already loaded but we'll re-source it here in case we manually do reload_files
source amsncore.tcl
source audio.tc..."
(procedure "reload_files" line 2)
invoked from within
"reload_files"
(file "/usr/bin/amsn" line 250) |
Amsn 0.96 works, svn no... Somebody help me??? :/
PD: I dont speak english so well, but i understeand any answer =) |
|
Back to top |
|
|
dweezil-n0xad Apprentice
Joined: 30 Oct 2006 Posts: 156 Location: Ostend, Belgium
|
Posted: Thu May 31, 2007 3:52 pm Post subject: |
|
|
searching google...
ah, a patch is needed.
patched /usr/share/amsn_dev/utils/snit/snit2.tcl with this:
Code: | --- snit2.orig.tcl 2007-05-28 14:04:25.000000000 +0100
+++ snit2.tcl 2007-05-28 14:04:35.000000000 +0100
@@ -3145,7 +3145,7 @@
# WHD: Snit 2.0 code -- simpler, no slower.
set command [list \
$self \
- {*}$Snit_optionInfo(configure-$option) \
+ {expand}$Snit_optionInfo(configure-$option) \
$option]
} |
hmmz, now amsn starts but tk gives an error.
searching the amsn forum...
ahh
Quote: | This bug was caused by the fact that tcl/tk changed the syntax of the language between a5 and a6 (I think) and this caused aMSN to bug, so we had to fix snit ourselves, which makes it bug for people using earlier version of tcl/tk 8.5 (before they changed the language syntax). We chose to make it compatible only with the latest version of tcl/tk 8.5 because any previous version has a bug that causes aMSN to have a huge memory leak caused by Tk itself. So everyone should either use a stable version, or use the latest version. | I guess we have to update tcl/tk to the latest version.
Trying tcl/tk 8.5a6...
...
...tada.wav! svn amsn works.
You will need to edit the tcl and tk ebuilds. change SRC_URI and WORKDIR in the ebuilds, or simply use these:
tcl-8.5a6 ebuild
tk-8.5.a6 ebuild
re-digest en rebuild.
done _________________ i7-4790K | 16GB DDR3 | GTX 970 | 500GB SSD
ASUS N56VV | i7-3630QM | 12GB DDR3 | GT 750M | 256GB SSD |
|
Back to top |
|
|
Appleman1234 n00b
Joined: 08 Jul 2006 Posts: 22
|
Posted: Tue Jun 12, 2007 8:40 am Post subject: |
|
|
Unfortunately, this version of tk, tcl causes large memory leaks in AMSN and apparently the CVS tk & tcl fix the problem, I haven't tested them yet, but will probably get around to it sooner or later... |
|
Back to top |
|
|
Dottout l33t
Joined: 07 Mar 2006 Posts: 882
|
Posted: Tue Jul 10, 2007 6:31 pm Post subject: |
|
|
many ppl ask for amsn-svn ebuild. well, this is the one I use, with plugins and skins USEs (thanks to the original author, I modified it today due to svn host update)
Code: |
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
ESVN_REPO_URI="https://amsn.svn.sourceforge.net/svnroot/amsn/trunk/amsn"
ESVN_PROJECT="amsn"
inherit subversion eutils
DESCRIPTION="Alvaro's Messenger client for MSN"
HOMEPAGE="http://amsn.sourceforge.net"
IUSE="debug nolibng gnome kde skins plugins"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~alpha amd64 ~hppa ~ppc ~sparc x86"
DEPEND=">=dev-lang/tcl-8.4
>=dev-lang/tk-8.4
>=dev-tcltk/tls-1.4.1"
RDEPEND="${DEPEND}"
pkg_setup() {
eerror "This is a LIVE SVN ebuild."
eerror "That means there are NO promises it will work."
}
src_compile() {
use debug && myconf="$myconf --enable-debug"
use nolibng && myconf="$myconf --disable-libng"
econf ${myconf} || die
emake || die
}
src_install() {
dodir /usr/share/amsn_dev/
cp -a ${S}/* ${D}/usr/share/amsn_dev
if use gnome
then
dodir /usr/share/applications
cp /usr/share/amsn_cvs/amsn.desktop /usr/share/applications
einfo "Installing GNOME/KDE Icons in /usr/share/pixmaps"
dodir /usr/share/pixmaps
cp -a ${S}/icons/32x32/* ${D}/usr/share/pixmaps/
fi
if use kde
then
dodir /usr/share/applnk/Internet
cp /usr/share/amsn_cvs/amsn.desktop /usr/share/applnk/Internet/
einfo "Installing KDE Icons in default theme"
dodir /usr/share/pixmaps
cp -a ${S}/icons/32x32/* ${D}/usr/share/pixmaps/
fi
dodir /usr/bin/
ln -s /usr/share/amsn_dev/amsn ${D}/usr/bin/amsn_dev
cd ${D}/usr/share/amsn_dev
dodoc TODO README FAQ CREDITS HELP
if use skins
then
einfo "Downloading and installing skins from SVN"
svn co https://amsn.svn.sourceforge.net/amsn/trunk/amsn-extras/skins skins
cp -r skins/* /usr/share/amsn_dev/skins/
fi
if use plugins
then
einfo "Downloading and installing plugins from SVN"
svn co https://amsn.svn.sourceforge.net/amsn/trunk/amsn-extras/plugins plugins
cp -r plugins/* /usr/share/amsn_dev/plugins/
fi
}
pkg_postinst() {
ewarn "You might have to remove ~/.amsn prior to running as user if amsn hangs on start-up."
ewarn "Remember, this stuff is SVN only code so dont cry when"
ewarn "I break you :)."
ewarn "If you want to report bugs, go to our forum at http://amsn.sf.net/forums"
ewarn "or use our IRC channel at irc.freenode.net #amsn"
ewarn ""
ewarn "In order to use this cvs version, run amsn_dev instead of amsn."
}
|
|
|
Back to top |
|
|
pask1970 n00b
Joined: 07 Dec 2003 Posts: 57 Location: Ischia
|
Posted: Wed Jul 11, 2007 2:51 pm Post subject: |
|
|
Hi there.
When i try to install the amsn-svn from the Zugaina overlay, i get this
Code: | Calculating dependencies... done!
>>> Verifying ebuild Manifests...
>>> Emerging (1 of 1) net-im/amsn-svn-1.0 to /
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
>>> Unpacking source...
* subversion check out start -->
* repository: https://svn.sourceforge.net/svnroot/amsn/trunk/amsn
svn: PROPFIND request failed on '/svnroot/amsn/trunk/amsn'
svn: PROPFIND of '/svnroot/amsn/trunk/amsn': 501 Not Implemented (https://svn.sourceforge.net)
*
* ERROR: net-im/amsn-svn-1.0 failed.
* Call stack:
* ebuild.sh, line 1647: Called dyn_unpack
* ebuild.sh, line 768: Called qa_call 'src_unpack'
* ebuild.sh, line 44: Called src_unpack
* ebuild.sh, line 1327: Called subversion_src_unpack
* subversion.eclass, line 254: Called subversion_fetch
* subversion.eclass, line 173: Called die
*
* subversion.eclass: can't fetch from https://svn.sourceforge.net/svnroot/amsn/trunk/amsn.
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/net-im/amsn-svn-1.0/temp/build.log'.
*
|
It compiled correctly until 3 days ago. Help me as i have no idea of how to deal about it
Sorry for my English |
|
Back to top |
|
|
Dottout l33t
Joined: 07 Mar 2006 Posts: 882
|
Posted: Wed Jul 11, 2007 3:01 pm Post subject: |
|
|
according to my previous post amsn's svn host at sourceforge has changed. so..use my ebuild or edit yourself the one in your overlay |
|
Back to top |
|
|
pask1970 n00b
Joined: 07 Dec 2003 Posts: 57 Location: Ischia
|
Posted: Wed Jul 11, 2007 3:44 pm Post subject: |
|
|
Dottout wrote: | according to my previous post amsn's svn host at sourceforge has changed. so..use my ebuild or edit yourself the one in your overlay |
Thanks
I'm sorry, but i'm really a n00b |
|
Back to top |
|
|
Dottout l33t
Joined: 07 Mar 2006 Posts: 882
|
Posted: Wed Jul 11, 2007 3:50 pm Post subject: |
|
|
don't mind, we are here to give help |
|
Back to top |
|
|
phalcos n00b
Joined: 25 Jan 2006 Posts: 12
|
Posted: Sat Jul 14, 2007 12:36 am Post subject: |
|
|
Screenshot anyone? |
|
Back to top |
|
|
Dottout l33t
Joined: 07 Mar 2006 Posts: 882
|
|
Back to top |
|
|
luminoso n00b
Joined: 13 Oct 2005 Posts: 60 Location: Portugal, Aveiro
|
Posted: Sat Jul 14, 2007 6:57 pm Post subject: |
|
|
ebuilds seam really stable.
Why not to include them on portage (hard masked or so)? _________________ luminoso @ irc.ptnet.org |
|
Back to top |
|
|
AdmiralNemo Apprentice
Joined: 25 Sep 2004 Posts: 247 Location: Overland Park, KS
|
Posted: Mon Jul 30, 2007 2:40 am Post subject: |
|
|
Just in case anyone happens to run across this:
Code: | >>> Emerging (1 of 1) net-im/amsn-svn-9999-r1 to /
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* This is a LIVE SVN ebuild.
* That means there are NO promises it will work.
>>> Unpacking source...
*
* ERROR: net-im/amsn-svn-9999-r1 failed.
* Call stack:
* ebuild.sh, line 1648: Called dyn_unpack
* ebuild.sh, line 768: Called qa_call 'src_unpack'
* ebuild.sh, line 44: Called src_unpack
* ebuild.sh, line 1328: Called subversion_src_unpack
* subversion.eclass, line 254: Called subversion_fetch
* subversion.eclass, line 179: Called die
*
* subversion.eclass: ESVN_REPO_URI (or specified URI) and working copy's URL are not matched.
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/net-im/amsn-svn-9999-r1/temp/build.log'.
* This ebuild is from an overlay: '/usr/local/portage/'
*
| You can correct it by removing the current source directory like so: Code: | rm -rf /usr/portage/distfiles/svn-src/amsn/ |
_________________ Help the Unanswered |
|
Back to top |
|
|
samhob n00b
Joined: 04 Feb 2006 Posts: 9
|
Posted: Wed Sep 19, 2007 8:16 am Post subject: |
|
|
Hi all, I have installed the tcl8.5 available on portage (I unmasked it) unfortunately some of my apps needs the libtcl8.4.so, how can I fix that thing?
thanks in advance |
|
Back to top |
|
|
T-G n00b
Joined: 19 Sep 2007 Posts: 1
|
Posted: Wed Sep 19, 2007 8:50 am Post subject: Re: just edit the ebuild |
|
|
luker2701 wrote: | truc wrote: | Code: | emerge -DNutav world
These are the packages that would be merged, in reverse order:
Calculating world dependencies... done!
[nomerge ] net-im/amsn-0.95-r2 USE="gnome imlib -kde -xmms"
[ebuild U ] dev-lang/tk-8.5.0 [8.4.13] USE="-threads" 0 kB [2]
[ebuild N ] virtual/x11-7.0-r2 0 kB
[ebuild N ] x11-misc/gccmakedep-1.0.2 USE="-debug" 68 kB
[ebuild N ] x11-libs/liboldX-1.0.1 USE="-debug" 210 kB
[ebuild N ] x11-libs/libXTrap-1.0.0 USE="-debug" 214 kB
[ebuild N ] x11-libs/libXevie-1.0.1 USE="-debug" 219 kB
[ebuild N ] x11-themes/xcursor-themes-1.0.1 USE="-debug" 2,204 kB
[ebuild N ] x11-apps/xcursorgen-1.0.1 USE="-debug" 80 kB
[ebuild N ] x11-apps/xsetroot-1.0.1 USE="-debug" 75 kB
[ebuild N ] x11-libs/libXprintAppUtil-1.0.1 USE="-debug" 203 kB
[ebuild N ] x11-libs/libXprintUtil-1.0.1 USE="-debug" 218 kB
[ebuild N ] x11-libs/libXvMC-1.0.2 USE="-debug" 224 kB
[ebuild N ] x11-apps/xdm-1.0.4 USE="xprint -debug -ipv6 -pam" 354 kB
[ebuild N ] x11-themes/gentoo-xcursors-0.3.1 1,168 kB
[ebuild U ] dev-lang/tcl-8.5.0 [8.4.13] USE="-threads" 0 kB [2]
Total size of downloads: 5,245 kB
Portage overlays:
[1] /usr/local/overlays/portage
[2] /usr/local/overlays/test
Would you like to merge these packages? [Yes/No]
|
Why does it want to install virtual/x11-7.0-r2 and then all it dependencies! I don't want that! Anything I can do? |
I had the same problem and to fix it I simply edited the tk-8.5.0.ebuild, which I saw in the fixed ebuild listed in this topic. Under the DEPEND= I changed:
to be Code: | || ( ( x11-libs/libXt x11-proto/xproto ) virtual/x11 ) | .
As well, I had the tls1.5(0) problem, so I followed the instructions here http://permalink.gmane.org/gmane.network.instant-messaging.amsn.devel/4402 |
... _________________ ספורט מוטורי -סרטוני מכוניות |
|
Back to top |
|
|
dweezil-n0xad Apprentice
Joined: 30 Oct 2006 Posts: 156 Location: Ostend, Belgium
|
Posted: Sun Sep 30, 2007 4:27 pm Post subject: |
|
|
Tcl/Tk 8.5b1 released.
updated ebuilds:
tcl-8.5.0.ebuild
Code: | # Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/tcl/tcl-8.5.0.ebuild,v 1.6 2005/05/09 17:35:46 gustavoz Exp $
inherit eutils
DESCRIPTION="Tool Command Language"
HOMEPAGE="http://dev.scriptics.com/software/tcltk/"
SRC_URI="mirror://sourceforge/tcl/tcl8.5b1-src.tar.gz"
#SRC_URI="http://prdownloads.sourceforge.net/tcl/tcl8.5a7-src.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~hppa ia64 ~mips ~ppc ~ppc64 ~s390 ~sh sparc x86"
IUSE="threads"
DEPEND="virtual/libc"
S=${WORKDIR}/${PN}8.5b1
pkg_setup() {
if use threads
then
ewarn ""
ewarn "PLEASE NOTE: You are compiling ${P} with"
ewarn "threading enabled."
ewarn "Threading is not supported by all applications"
ewarn "that compile against tcl. You use threading at"
ewarn "your own discretion."
ewarn ""
epause 5
fi
}
src_unpack() {
unpack ${A}
cd ${S}
#epatch ${FILESDIR}/${PN}-8.4.6-multilib.patch
}
src_compile() {
local local_config_use=""
if use threads
then
local_config_use="--enable-threads"
fi
cd ${S}/unix
econf ${local_config_use} || die
emake CFLAGS="${CFLAGS}" || die
}
src_install() {
#short version number
local v1
v1=${PV%.*}
cd ${S}/unix
S= make INSTALL_ROOT=${D} MAN_INSTALL_DIR=${D}/usr/share/man install || die
# fix the tclConfig.sh to eliminate refs to the build directory
sed -e "s,^TCL_BUILD_LIB_SPEC='-L.*/unix,TCL_BUILD_LIB_SPEC='-L${ROOT}/usr/$(get_libdir)," \
-e "s,^TCL_SRC_DIR='.*',TCL_SRC_DIR='${ROOT}/usr/$(get_libdir)/tcl${v1}/include'," \
-e "s,^TCL_BUILD_STUB_LIB_SPEC='-L.*/unix,TCL_BUILD_STUB_LIB_SPEC='-L${ROOT}/usr/$(get_libdir)," \
-e "s,^TCL_BUILD_STUB_LIB_PATH='.*/unix,TCL_BUILD_STUB_LIB_PATH='${ROOT}/usr/$(get_libdir)," \
-e "s,^TCL_LIB_FILE='libtcl8.4..TCL_DBGX..so',TCL_LIB_FILE=\"libtcl8.4\$\{TCL_DBGX\}.so\"," \
-e "s,^TCL_CC_SEARCH_FLAGS='\(.*\)',TCL_CC_SEARCH_FLAGS='\1:/usr/$(get_libdir)'," \
-e "s,^TCL_LD_SEARCH_FLAGS='\(.*\)',TCL_LD_SEARCH_FLAGS='\1:/usr/$(get_libdir)'," \
${D}/usr/$(get_libdir)/tclConfig.sh > ${D}/usr/$(get_libdir)/tclConfig.sh.new
mv ${D}/usr/$(get_libdir)/tclConfig.sh.new ${D}/usr/$(get_libdir)/tclConfig.sh
# install private headers
dodir /usr/$(get_libdir)/tcl${v1}/include/unix
install -c -m0644 ${S}/unix/*.h ${D}/usr/$(get_libdir)/tcl${v1}/include/unix
dodir /usr/$(get_libdir)/tcl${v1}/include/generic
install -c -m0644 ${S}/generic/*.h ${D}/usr/$(get_libdir)/tcl${v1}/include/generic
rm -f ${D}/usr/$(get_libdir)/tcl${v1}/include/generic/tcl.h
rm -f ${D}/usr/$(get_libdir)/tcl${v1}/include/generic/tclDecls.h
rm -f ${D}/usr/$(get_libdir)/tcl${v1}/include/generic/tclPlatDecls.h
# install symlink for libraries
dosym /usr/$(get_libdir)/libtcl${v1}.so /usr/$(get_libdir)/libtcl.so
dosym /usr/$(get_libdir)/libtclstub${v1}.a /usr/$(get_libdir)/libtclstub.a
ln -sf tclsh${v1} ${D}/usr/bin/tclsh
cd ${S}
dodoc README changes license.terms
}
pkg_postinst() {
ewarn
ewarn "If you're upgrading from tcl-8.3, you must recompile the other"
ewarn "packages on your system that link with tcl after the upgrade"
ewarn "completes. To perform this action, please run revdep-rebuild"
ewarn "in package app-portage/gentoolkit."
ewarn "If you have dev-lang/tk and dev-tcltk/tclx installed you should"
ewarn "upgrade them before this recompilation, too,"
ewarn
ewarn ${S}
} |
tk-8.5.0.ebuild:
Code: | # Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/tk/tk-8.5.0.ebuild,v 1.5 2005/05/09 17:37:33 gustavoz Exp $
inherit eutils
DESCRIPTION="Tk Widget Set"
HOMEPAGE="http://dev.scriptics.com/software/tcltk/"
SRC_URI="mirror://sourceforge/tcl/tk8.5b1-src.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~hppa ia64 ~mips ~ppc ~ppc64 sparc x86"
IUSE="threads"
DEPEND=">=sys-apps/sed-4.0.5
>=sys-apps/portage-2.0.47-r10
|| ( ( x11-libs/libXt x11-proto/xproto ) virtual/x11 )
=dev-lang/tcl-${PV}*"
S=${WORKDIR}/${PN}8.5b1
pkg_setup() {
if use threads
then
ewarn ""
ewarn "PLEASE NOTE: You are compiling ${P} with"
ewarn "threading enabled."
ewarn "Threading is not supported by all applications"
ewarn "that compile against tcl. You use threading at"
ewarn "your own discretion."
ewarn ""
epause 5
fi
}
src_unpack() {
unpack ${A}
cd ${S}
#epatch ${FILESDIR}/remove-control-v-${PV}.diff || die
#epatch ${FILESDIR}/${P}-man.patch || die
}
src_compile() {
cd ${S}/unix
local local_config_use=""
if use threads
then
local_config_use="--enable-threads"
fi
econf \
--with-tcl=/usr/$(get_libdir) \
${local_config_use} || die
emake CFLAGS="${CFLAGS}" || die
}
src_install() {
#short version number
local v1
v1=${PV%.*}
cd ${S}/unix
#make INSTALL_ROOT=${D} MAN_INSTALL_DIR=${D}/usr/share/man install || die
S= make INSTALL_ROOT=${D} install || die
# fix the tkConfig.sh to eliminate refs to the build directory
sed -i \
-e "s,^\(TK_BUILD_LIB_SPEC='-L\)${S}/unix,\1/usr/$(get_libdir)," \
-e "s,^\(TK_SRC_DIR='\)${S}',\1/usr/$(get_libdir)/tk${v1}/include'," \
-e "s,^\(TK_BUILD_STUB_LIB_SPEC='-L\)${S}/unix,\1/usr/$(get_libdir)," \
-e "s,^\(TK_BUILD_STUB_LIB_PATH='\)${S}/unix,\1/usr/$(get_libdir)," \
-e "s,^\(TK_CC_SEARCH_FLAGS='.*\)',\1:/usr/$(get_libdir)'," \
-e "s,^\(TK_LD_SEARCH_FLAGS='.*\)',\1:/usr/$(get_libdir)'," \
${D}/usr/lib/tkConfig.sh
# install private headers
dodir /usr/$(get_libdir)/tk${v1}/include/unix
install -c -m0644 ${S}/unix/*.h ${D}/usr/$(get_libdir)/tk${v1}/include/unix
dodir /usr/$(get_libdir)/tk${v1}/include/generic
install -c -m0644 ${S}/generic/*.h ${D}/usr/$(get_libdir)/tk${v1}/include/generic
rm -f ${D}/usr/$(get_libdir)/tk${v1}/include/generic/tk.h
rm -f ${D}/usr/$(get_libdir)/tk${v1}/include/generic/tkDecls.h
rm -f ${D}/usr/$(get_libdir)/tk${v1}/include/generic/tkPlatDecls.h
# install symlink for libraries
#dosym /usr/$(get_libdir)/libtk${v1}.a /usr/$(get_libdir)/libtk.a
dosym /usr/$(get_libdir)/libtk${v1}.so /usr/$(get_libdir)/libtk.so
dosym /usr/$(get_libdir)/libtkstub${v1}.a /usr/$(get_libdir)/libtkstub.a
ln -sf wish${v1} ${D}/usr/bin/wish
cd ${S}
dodoc README changes license.terms
} |
_________________ i7-4790K | 16GB DDR3 | GTX 970 | 500GB SSD
ASUS N56VV | i7-3630QM | 12GB DDR3 | GT 750M | 256GB SSD |
|
Back to top |
|
|
rada Apprentice
Joined: 21 Oct 2005 Posts: 202 Location: Ottawa, Canada
|
Posted: Fri Oct 12, 2007 4:44 am Post subject: |
|
|
luminoso wrote: | ebuilds seam really stable.
Why not to include them on portage (hard masked or so)? |
Post the ebuilds on https://bugs.gentoo.org if they're not already there.
@dweezil: Thanks for the new ebuilds. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|