From 99121f71a5120446a6945ab1902f8b07efbef0a5 Mon Sep 17 00:00:00 2001 From: Geert Bevin Date: Tue, 15 Jan 2002 01:27:50 +0000 Subject: bumped up release numbers of packages that were updated with the tcl/tk update --- app-editors/vim/files/digest-vim-6.0-r3 | 1 - app-editors/vim/files/digest-vim-6.0-r4 | 1 + app-editors/vim/vim-6.0-r3.ebuild | 195 --------------------- app-editors/vim/vim-6.0-r4.ebuild | 195 +++++++++++++++++++++ app-emulation/wine/files/digest-wine-20011004-r1 | 1 + app-emulation/wine/wine-20011004-r1.ebuild | 63 +++++++ app-text/tkinfo/files/digest-tkinfo-2.5-r1 | 1 + app-text/tkinfo/tkinfo-2.5-r1.ebuild | 32 ++++ dev-db/postgresql/files/digest-postgresql-7.0.3-r3 | 1 + dev-db/postgresql/files/digest-postgresql-7.1-r1 | 2 + dev-db/postgresql/postgresql-7.0.3-r3.ebuild | 58 ++++++ dev-db/postgresql/postgresql-7.1-r1.ebuild | 116 ++++++++++++ dev-db/sqlite/files/digest-sqlite-2.1.3-r1 | 1 - dev-db/sqlite/files/digest-sqlite-2.2.1 | 1 - dev-db/sqlite/files/digest-sqlite-2.2.1-r1 | 1 + dev-db/sqlite/sqlite-2.2.1-r1.ebuild | 41 +++++ dev-db/sqlite/sqlite-2.2.1.ebuild | 41 ----- dev-lang/entity/entity-0.7.2-r1.ebuild | 99 +++++++++++ dev-lang/entity/files/digest-entity-0.7.2-r1 | 1 + dev-lang/python/files/digest-python-2.0-r7 | 2 + dev-lang/python/files/digest-python-2.1.1-r4 | 2 + dev-lang/python/files/digest-python-2.2-r3 | 3 - dev-lang/python/files/digest-python-2.2-r4 | 3 + dev-lang/python/python-2.0-r7.ebuild | 160 +++++++++++++++++ dev-lang/python/python-2.1.1-r4.ebuild | 124 +++++++++++++ dev-lang/python/python-2.2-r3.ebuild | 136 -------------- dev-lang/python/python-2.2-r4.ebuild | 136 ++++++++++++++ dev-lang/swig/files/digest-swig-1.3.10 | 1 - dev-lang/swig/files/digest-swig-1.3.10-r1 | 1 + dev-lang/swig/swig-1.3.10-r1.ebuild | 47 +++++ dev-lang/swig/swig-1.3.10.ebuild | 47 ----- dev-python/Imaging/Imaging-1.1.2-r1.ebuild | 105 ----------- dev-python/Imaging/Imaging-1.1.2-r2.ebuild | 105 +++++++++++ dev-python/Imaging/files/digest-Imaging-1.1.2 | 1 - dev-python/Imaging/files/digest-Imaging-1.1.2-r1 | 1 - dev-python/Imaging/files/digest-Imaging-1.1.2-r2 | 1 + dev-python/anygui/anygui-0.1_beta1-r1.ebuild | 35 ++++ dev-python/anygui/anygui-0.1_beta1.ebuild | 35 ---- dev-python/anygui/files/digest-anygui-0.1_beta1 | 1 - dev-python/anygui/files/digest-anygui-0.1_beta1-r1 | 1 + dev-tcltk/itcl/files/digest-itcl-3.2-r1 | 1 + dev-tcltk/itcl/itcl-3.2-r1.ebuild | 32 ++++ dev-util/tkcvs/files/digest-tkcvs-6.4-r2 | 1 + dev-util/tkcvs/tkcvs-6.4-r2.ebuild | 74 ++++++++ media-gfx/graphviz/files/digest-graphviz-1.7.15 | 1 - media-gfx/graphviz/files/digest-graphviz-1.7.15-r1 | 1 + media-gfx/graphviz/graphviz-1.7.15-r1.ebuild | 50 ++++++ media-gfx/graphviz/graphviz-1.7.15.ebuild | 50 ------ media-gfx/sketch/files/digest-sketch-0.6.12 | 1 - media-gfx/sketch/files/digest-sketch-0.6.12-r1 | 1 + media-gfx/sketch/sketch-0.6.12-r1.ebuild | 44 +++++ media-gfx/sketch/sketch-0.6.12.ebuild | 44 ----- media-libs/pdflib/files/digest-pdflib-4.0.1-r1 | 1 - media-libs/pdflib/files/digest-pdflib-4.0.1-r2 | 1 + media-libs/pdflib/pdflib-4.0.1-r1.ebuild | 122 ------------- media-libs/pdflib/pdflib-4.0.1-r2.ebuild | 122 +++++++++++++ .../timidity++/files/digest-timidity++-2.11.1 | 1 - .../timidity++/files/digest-timidity++-2.11.1-r1 | 1 + media-sound/timidity++/timidity++-2.11.1-r1.ebuild | 65 +++++++ media-sound/timidity++/timidity++-2.11.1.ebuild | 65 ------- .../files/digest-isdn4k-utils-3.1_p1-r3 | 1 + .../isdn4k-utils/isdn4k-utils-3.1_p1-r3.ebuild | 54 ++++++ 62 files changed, 1677 insertions(+), 854 deletions(-) delete mode 100644 app-editors/vim/files/digest-vim-6.0-r3 create mode 100644 app-editors/vim/files/digest-vim-6.0-r4 delete mode 100644 app-editors/vim/vim-6.0-r3.ebuild create mode 100644 app-editors/vim/vim-6.0-r4.ebuild create mode 100644 app-emulation/wine/files/digest-wine-20011004-r1 create mode 100644 app-emulation/wine/wine-20011004-r1.ebuild create mode 100644 app-text/tkinfo/files/digest-tkinfo-2.5-r1 create mode 100644 app-text/tkinfo/tkinfo-2.5-r1.ebuild create mode 100644 dev-db/postgresql/files/digest-postgresql-7.0.3-r3 create mode 100644 dev-db/postgresql/files/digest-postgresql-7.1-r1 create mode 100644 dev-db/postgresql/postgresql-7.0.3-r3.ebuild create mode 100644 dev-db/postgresql/postgresql-7.1-r1.ebuild delete mode 100644 dev-db/sqlite/files/digest-sqlite-2.1.3-r1 delete mode 100644 dev-db/sqlite/files/digest-sqlite-2.2.1 create mode 100644 dev-db/sqlite/files/digest-sqlite-2.2.1-r1 create mode 100644 dev-db/sqlite/sqlite-2.2.1-r1.ebuild delete mode 100644 dev-db/sqlite/sqlite-2.2.1.ebuild create mode 100644 dev-lang/entity/entity-0.7.2-r1.ebuild create mode 100644 dev-lang/entity/files/digest-entity-0.7.2-r1 create mode 100644 dev-lang/python/files/digest-python-2.0-r7 create mode 100644 dev-lang/python/files/digest-python-2.1.1-r4 delete mode 100644 dev-lang/python/files/digest-python-2.2-r3 create mode 100644 dev-lang/python/files/digest-python-2.2-r4 create mode 100644 dev-lang/python/python-2.0-r7.ebuild create mode 100644 dev-lang/python/python-2.1.1-r4.ebuild delete mode 100644 dev-lang/python/python-2.2-r3.ebuild create mode 100644 dev-lang/python/python-2.2-r4.ebuild delete mode 100644 dev-lang/swig/files/digest-swig-1.3.10 create mode 100644 dev-lang/swig/files/digest-swig-1.3.10-r1 create mode 100644 dev-lang/swig/swig-1.3.10-r1.ebuild delete mode 100644 dev-lang/swig/swig-1.3.10.ebuild delete mode 100644 dev-python/Imaging/Imaging-1.1.2-r1.ebuild create mode 100644 dev-python/Imaging/Imaging-1.1.2-r2.ebuild delete mode 100644 dev-python/Imaging/files/digest-Imaging-1.1.2 delete mode 100644 dev-python/Imaging/files/digest-Imaging-1.1.2-r1 create mode 100644 dev-python/Imaging/files/digest-Imaging-1.1.2-r2 create mode 100644 dev-python/anygui/anygui-0.1_beta1-r1.ebuild delete mode 100644 dev-python/anygui/anygui-0.1_beta1.ebuild delete mode 100644 dev-python/anygui/files/digest-anygui-0.1_beta1 create mode 100644 dev-python/anygui/files/digest-anygui-0.1_beta1-r1 create mode 100644 dev-tcltk/itcl/files/digest-itcl-3.2-r1 create mode 100644 dev-tcltk/itcl/itcl-3.2-r1.ebuild create mode 100644 dev-util/tkcvs/files/digest-tkcvs-6.4-r2 create mode 100644 dev-util/tkcvs/tkcvs-6.4-r2.ebuild delete mode 100644 media-gfx/graphviz/files/digest-graphviz-1.7.15 create mode 100644 media-gfx/graphviz/files/digest-graphviz-1.7.15-r1 create mode 100644 media-gfx/graphviz/graphviz-1.7.15-r1.ebuild delete mode 100644 media-gfx/graphviz/graphviz-1.7.15.ebuild delete mode 100644 media-gfx/sketch/files/digest-sketch-0.6.12 create mode 100644 media-gfx/sketch/files/digest-sketch-0.6.12-r1 create mode 100644 media-gfx/sketch/sketch-0.6.12-r1.ebuild delete mode 100644 media-gfx/sketch/sketch-0.6.12.ebuild delete mode 100644 media-libs/pdflib/files/digest-pdflib-4.0.1-r1 create mode 100644 media-libs/pdflib/files/digest-pdflib-4.0.1-r2 delete mode 100644 media-libs/pdflib/pdflib-4.0.1-r1.ebuild create mode 100644 media-libs/pdflib/pdflib-4.0.1-r2.ebuild delete mode 100644 media-sound/timidity++/files/digest-timidity++-2.11.1 create mode 100644 media-sound/timidity++/files/digest-timidity++-2.11.1-r1 create mode 100644 media-sound/timidity++/timidity++-2.11.1-r1.ebuild delete mode 100644 media-sound/timidity++/timidity++-2.11.1.ebuild create mode 100644 net-dialup/isdn4k-utils/files/digest-isdn4k-utils-3.1_p1-r3 create mode 100644 net-dialup/isdn4k-utils/isdn4k-utils-3.1_p1-r3.ebuild diff --git a/app-editors/vim/files/digest-vim-6.0-r3 b/app-editors/vim/files/digest-vim-6.0-r3 deleted file mode 100644 index 1b273566468d..000000000000 --- a/app-editors/vim/files/digest-vim-6.0-r3 +++ /dev/null @@ -1 +0,0 @@ -MD5 9d9ca84d489af6b3f54639dd97af3774 vim-6.0.tar.bz2 2777088 diff --git a/app-editors/vim/files/digest-vim-6.0-r4 b/app-editors/vim/files/digest-vim-6.0-r4 new file mode 100644 index 000000000000..1b273566468d --- /dev/null +++ b/app-editors/vim/files/digest-vim-6.0-r4 @@ -0,0 +1 @@ +MD5 9d9ca84d489af6b3f54639dd97af3774 vim-6.0.tar.bz2 2777088 diff --git a/app-editors/vim/vim-6.0-r3.ebuild b/app-editors/vim/vim-6.0-r3.ebuild deleted file mode 100644 index 3d416ab7428b..000000000000 --- a/app-editors/vim/vim-6.0-r3.ebuild +++ /dev/null @@ -1,195 +0,0 @@ -# Copyright 2001 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# Authors Ben Beuchler -# and Aron Griffis -# $Header: /var/cvsroot/gentoo-x86/app-editors/vim/vim-6.0-r3.ebuild,v 1.2 2002/01/15 00:32:54 gbevin Exp $ - -# Please name the ebuild as follows. If this is followed, there -# should be no need to modify this ebuild when the Vim version is -# updated. (Yes it's overkill, but it was fun!) -# -# vim-6.0, when 6.0 is finally released -# vim-6.0_pre9, where 9 = (i), for vim-6.0i -# vim-6.0_pre47, where 47 = 26(a) + 21(u), for vim-6.0au -# vim-6.0_pre72, where 72 = 52(b) + 20(t), for vim-6.0bt -# -# Quick reference: -# a=1 e=5 i=9 m=13 q=17 u=21 y=25 -# b=2 f=6 j=10 n=14 r=18 v=22 z=26 -# c=3 g=7 k=11 o=15 s=19 w=23 aa=27 -# d=4 h=8 l=12 p=16 t=20 x=24 ab=28 (etc.) -# -# (08 Sep 2001 agriffis) - -# Calculate the version based on the name of the ebuild -vim_version="${PV%_pre*}" -vim_pre="${PV##*_pre}" -if [ "$vim_version" = "$vim_pre" ]; then - # Final releases prior to 6.0 include a dash and decimal point in - # the directory name - if [ "${vim_version%%.*}" -lt 6 ]; then - S="$WORKDIR/vim-$vim_version" - else - S="$WORKDIR/vim${vim_version//.}" - fi - vim_letters= - A="vim-$vim_version.tar.bz2" - SRC_URI="ftp://ftp.us.vim.org/pub/vim/unix/$A - ftp://ftp.vim.org/pub/vim/unix/$A" -elif [ "$vim_pre" -lt 27 ]; then - # Handle (prerelease) versions with one trailing letter - vim_letters=`echo $vim_pre | awk '{printf "%c", $0+96}'` - S="$WORKDIR/vim${vim_version//.}$vim_letters" - A="vim-$vim_version$vim_letters.tar.bz2" - SRC_URI="ftp://ftp.us.vim.org/pub/vim/unreleased/unix/$A - ftp://ftp.vim.org/pub/vim/unreleased/unix/$A" -elif [ "$vim_pre" -lt 703 ]; then - # Handle (prerelease) versions with two trailing letters - vim_letters=`echo $vim_pre | awk '{printf "%c%c", $0/26+96, $0%26+96}'` - S="$WORKDIR/vim${vim_version//.}$vim_letters" - A="vim-$vim_version$vim_letters.tar.bz2" - SRC_URI="ftp://ftp.us.vim.org/pub/vim/unreleased/unix/$A - ftp://ftp.vim.org/pub/vim/unreleased/unix/$A" -else - die "Eek! I don't know how to interpret the version!" -fi - -# Add in 6.0 patches -# -# For some reason this doesn't work. Portage never fetches these -# patches. For the moment I'm putting them in vim/files until this is -# resolved. -# -#if [ "$PV" = 6.0 ]; then -# SRC_URI="$SRC_URI -# ftp://ftp.us.vim.org/pub/vim/patches/6.0.001 -# ftp://ftp.us.vim.org/pub/vim/patches/6.0.002 -# ftp://ftp.us.vim.org/pub/vim/patches/6.0.003 -# ftp://ftp.us.vim.org/pub/vim/patches/6.0.004 -# ftp://ftp.us.vim.org/pub/vim/patches/6.0.005 -# ftp://ftp.us.vim.org/pub/vim/patches/6.0.006 -# ftp://ftp.us.vim.org/pub/vim/patches/6.0.007 -# ftp://ftp.us.vim.org/pub/vim/patches/6.0.010 -# ftp://ftp.us.vim.org/pub/vim/patches/6.0.011 -# ftp://ftp.vim.org/pub/vim/patches/6.0.001 -# ftp://ftp.vim.org/pub/vim/patches/6.0.002 -# ftp://ftp.vim.org/pub/vim/patches/6.0.003 -# ftp://ftp.vim.org/pub/vim/patches/6.0.004 -# ftp://ftp.vim.org/pub/vim/patches/6.0.005 -# ftp://ftp.vim.org/pub/vim/patches/6.0.006 -# ftp://ftp.vim.org/pub/vim/patches/6.0.007 -# ftp://ftp.vim.org/pub/vim/patches/6.0.010 -# ftp://ftp.vim.org/pub/vim/patches/6.0.011" -#fi - -DESCRIPTION="Vi IMproved! ${PV}" -HOMEPAGE="http://www.vim.org/" - -DEPEND="virtual/glibc - >=sys-libs/ncurses-5.2-r2 - dev-util/cscope - gpm? ( >=sys-libs/gpm-1.19.3 ) - gnome? ( >=gnome-base/gnome-libs-1.4.1.2-r1 ) - gtk? ( >=x11-libs/gtk+-1.2.10-r4 ) - X? ( x11-base/xfree ) - perl? ( sys-devel/perl ) - python? ( dev-lang/python ) - ruby? ( >=dev-lang/ruby-1.6.4 )" -# tcltk? ( dev-lang/tcl )" -# It appears that the tclinterp stuff in Vim is broken right now. -# When you --enable-tclinterp flag, then the following command never -# returns: -# -# VIMINIT='let OS = system("uname -s")' vim -# -# Please don't re-enable the tclinterp flag without verifying first -# that the above works. Thanks. (08 Sep 2001 agriffis) - -src_unpack() { - unpack $A - # Fixup a script to use awk instead of nawk - cd $S/runtime/tools - mv mve.awk mve.awk.old - ( read l; echo "#!/usr/bin/awk -f"; cat ) mve.awk - # Apply patches, if appropriate - local patches=`echo $FILESDIR/$PV.[0-9][0-9][0-9]` - case "$patches" in - *\]) - break # globbing didn't work; no patches available - ;; - *) - cd $S - for a in $patches; do - patch -p0 < $a || echo $a >> /tmp/badpatches - done - ;; - esac -} - -src_compile() { - local myconf - use nls || myconf="--disable-nls" - use gpm || myconf="$myconf --disable-gpm" - use perl && myconf="$myconf --enable-perlinterp" - use python && myconf="$myconf --enable-pythoninterp" - use ruby && myconf="$myconf --enable-rubyinterp" -# tclinterp is BROKEN. See note above DEPEND= -# use tcltk && myconf="$myconf --enable-tclinterp" - - # - # First, build a gui version, this will install as /usr/bin/gvim - # - if use gnome; then - guiconf="--enable-gui=gnome --with-x" - elif use gtk; then - guiconf="--enable-gui=gtk --with-x" - elif use X; then - guiconf="--enable-gui=athena --with-x" - else - # No gui version will be built - guiconf="" - fi - if [ -n "$guiconf" ]; then - ./configure \ - --prefix=/usr --mandir=/usr/share/man --host=$CHOST \ - --enable-max-features --enable-cscope $myconf $guiconf \ - || die "gvim configure failed" - # Parallel make does not work - make || die "gvim make failed" - mv src/vim src/gvim - fi - - # - # Second, build a nogui version, this will install as /usr/bin/vim - # - ./configure \ - --prefix=/usr --mandir=/usr/share/man --host=$CHOST \ - --enable-max-features --with-cscope $myconf \ - --enable-gui=no --without-x \ - || die "vim configure failed" - # Parallel make does not work - make || die "vim make failed" -} - -src_install() { - # Install the nogui version - mkdir -p $D/usr/{bin,share/man/man1,share/vim} - make install STRIP=true DESTDIR=$D \ - BINDIR=/usr/bin MANDIR=/usr/share/man DATADIR=/usr/share - # Install the gui version, if it was built - if [ -f src/gvim ]; then - install -m755 src/gvim $D/usr/bin/gvim - ln -s gvim $D/usr/bin/gvimdiff - fi - # Docs - dodoc README* - cd $D/usr/share/doc/$PF - ln -s ../../vim/*/doc $P - # Default .vimrc for users (this should be revisited) - insinto /etc/skel - newins $FILESDIR/vimrc .vimrc - # Don't install .vimrc for root since it might overwrite root's - # current .vimrc, if it exists. - #mkdir -p $D/root - #install -m644 $FILESDIR/vimrc $D/root/.vimrc -} diff --git a/app-editors/vim/vim-6.0-r4.ebuild b/app-editors/vim/vim-6.0-r4.ebuild new file mode 100644 index 000000000000..a96593f5f36f --- /dev/null +++ b/app-editors/vim/vim-6.0-r4.ebuild @@ -0,0 +1,195 @@ +# Copyright 2001 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Authors Ben Beuchler +# and Aron Griffis +# $Header: /var/cvsroot/gentoo-x86/app-editors/vim/vim-6.0-r4.ebuild,v 1.1 2002/01/15 01:27:50 gbevin Exp $ + +# Please name the ebuild as follows. If this is followed, there +# should be no need to modify this ebuild when the Vim version is +# updated. (Yes it's overkill, but it was fun!) +# +# vim-6.0, when 6.0 is finally released +# vim-6.0_pre9, where 9 = (i), for vim-6.0i +# vim-6.0_pre47, where 47 = 26(a) + 21(u), for vim-6.0au +# vim-6.0_pre72, where 72 = 52(b) + 20(t), for vim-6.0bt +# +# Quick reference: +# a=1 e=5 i=9 m=13 q=17 u=21 y=25 +# b=2 f=6 j=10 n=14 r=18 v=22 z=26 +# c=3 g=7 k=11 o=15 s=19 w=23 aa=27 +# d=4 h=8 l=12 p=16 t=20 x=24 ab=28 (etc.) +# +# (08 Sep 2001 agriffis) + +# Calculate the version based on the name of the ebuild +vim_version="${PV%_pre*}" +vim_pre="${PV##*_pre}" +if [ "$vim_version" = "$vim_pre" ]; then + # Final releases prior to 6.0 include a dash and decimal point in + # the directory name + if [ "${vim_version%%.*}" -lt 6 ]; then + S="$WORKDIR/vim-$vim_version" + else + S="$WORKDIR/vim${vim_version//.}" + fi + vim_letters= + A="vim-$vim_version.tar.bz2" + SRC_URI="ftp://ftp.us.vim.org/pub/vim/unix/$A + ftp://ftp.vim.org/pub/vim/unix/$A" +elif [ "$vim_pre" -lt 27 ]; then + # Handle (prerelease) versions with one trailing letter + vim_letters=`echo $vim_pre | awk '{printf "%c", $0+96}'` + S="$WORKDIR/vim${vim_version//.}$vim_letters" + A="vim-$vim_version$vim_letters.tar.bz2" + SRC_URI="ftp://ftp.us.vim.org/pub/vim/unreleased/unix/$A + ftp://ftp.vim.org/pub/vim/unreleased/unix/$A" +elif [ "$vim_pre" -lt 703 ]; then + # Handle (prerelease) versions with two trailing letters + vim_letters=`echo $vim_pre | awk '{printf "%c%c", $0/26+96, $0%26+96}'` + S="$WORKDIR/vim${vim_version//.}$vim_letters" + A="vim-$vim_version$vim_letters.tar.bz2" + SRC_URI="ftp://ftp.us.vim.org/pub/vim/unreleased/unix/$A + ftp://ftp.vim.org/pub/vim/unreleased/unix/$A" +else + die "Eek! I don't know how to interpret the version!" +fi + +# Add in 6.0 patches +# +# For some reason this doesn't work. Portage never fetches these +# patches. For the moment I'm putting them in vim/files until this is +# resolved. +# +#if [ "$PV" = 6.0 ]; then +# SRC_URI="$SRC_URI +# ftp://ftp.us.vim.org/pub/vim/patches/6.0.001 +# ftp://ftp.us.vim.org/pub/vim/patches/6.0.002 +# ftp://ftp.us.vim.org/pub/vim/patches/6.0.003 +# ftp://ftp.us.vim.org/pub/vim/patches/6.0.004 +# ftp://ftp.us.vim.org/pub/vim/patches/6.0.005 +# ftp://ftp.us.vim.org/pub/vim/patches/6.0.006 +# ftp://ftp.us.vim.org/pub/vim/patches/6.0.007 +# ftp://ftp.us.vim.org/pub/vim/patches/6.0.010 +# ftp://ftp.us.vim.org/pub/vim/patches/6.0.011 +# ftp://ftp.vim.org/pub/vim/patches/6.0.001 +# ftp://ftp.vim.org/pub/vim/patches/6.0.002 +# ftp://ftp.vim.org/pub/vim/patches/6.0.003 +# ftp://ftp.vim.org/pub/vim/patches/6.0.004 +# ftp://ftp.vim.org/pub/vim/patches/6.0.005 +# ftp://ftp.vim.org/pub/vim/patches/6.0.006 +# ftp://ftp.vim.org/pub/vim/patches/6.0.007 +# ftp://ftp.vim.org/pub/vim/patches/6.0.010 +# ftp://ftp.vim.org/pub/vim/patches/6.0.011" +#fi + +DESCRIPTION="Vi IMproved! ${PV}" +HOMEPAGE="http://www.vim.org/" + +DEPEND="virtual/glibc + >=sys-libs/ncurses-5.2-r2 + dev-util/cscope + gpm? ( >=sys-libs/gpm-1.19.3 ) + gnome? ( >=gnome-base/gnome-libs-1.4.1.2-r1 ) + gtk? ( >=x11-libs/gtk+-1.2.10-r4 ) + X? ( x11-base/xfree ) + perl? ( sys-devel/perl ) + python? ( dev-lang/python ) + ruby? ( >=dev-lang/ruby-1.6.4 )" +# tcltk? ( dev-lang/tcl )" +# It appears that the tclinterp stuff in Vim is broken right now. +# When you --enable-tclinterp flag, then the following command never +# returns: +# +# VIMINIT='let OS = system("uname -s")' vim +# +# Please don't re-enable the tclinterp flag without verifying first +# that the above works. Thanks. (08 Sep 2001 agriffis) + +src_unpack() { + unpack $A + # Fixup a script to use awk instead of nawk + cd $S/runtime/tools + mv mve.awk mve.awk.old + ( read l; echo "#!/usr/bin/awk -f"; cat ) mve.awk + # Apply patches, if appropriate + local patches=`echo $FILESDIR/$PV.[0-9][0-9][0-9]` + case "$patches" in + *\]) + break # globbing didn't work; no patches available + ;; + *) + cd $S + for a in $patches; do + patch -p0 < $a || echo $a >> /tmp/badpatches + done + ;; + esac +} + +src_compile() { + local myconf + use nls || myconf="--disable-nls" + use gpm || myconf="$myconf --disable-gpm" + use perl && myconf="$myconf --enable-perlinterp" + use python && myconf="$myconf --enable-pythoninterp" + use ruby && myconf="$myconf --enable-rubyinterp" +# tclinterp is BROKEN. See note above DEPEND= +# use tcltk && myconf="$myconf --enable-tclinterp" + + # + # First, build a gui version, this will install as /usr/bin/gvim + # + if use gnome; then + guiconf="--enable-gui=gnome --with-x" + elif use gtk; then + guiconf="--enable-gui=gtk --with-x" + elif use X; then + guiconf="--enable-gui=athena --with-x" + else + # No gui version will be built + guiconf="" + fi + if [ -n "$guiconf" ]; then + ./configure \ + --prefix=/usr --mandir=/usr/share/man --host=$CHOST \ + --enable-max-features --enable-cscope $myconf $guiconf \ + || die "gvim configure failed" + # Parallel make does not work + make || die "gvim make failed" + mv src/vim src/gvim + fi + + # + # Second, build a nogui version, this will install as /usr/bin/vim + # + ./configure \ + --prefix=/usr --mandir=/usr/share/man --host=$CHOST \ + --enable-max-features --with-cscope $myconf \ + --enable-gui=no --without-x \ + || die "vim configure failed" + # Parallel make does not work + make || die "vim make failed" +} + +src_install() { + # Install the nogui version + mkdir -p $D/usr/{bin,share/man/man1,share/vim} + make install STRIP=true DESTDIR=$D \ + BINDIR=/usr/bin MANDIR=/usr/share/man DATADIR=/usr/share + # Install the gui version, if it was built + if [ -f src/gvim ]; then + install -m755 src/gvim $D/usr/bin/gvim + ln -s gvim $D/usr/bin/gvimdiff + fi + # Docs + dodoc README* + cd $D/usr/share/doc/$PF + ln -s ../../vim/*/doc $P + # Default .vimrc for users (this should be revisited) + insinto /etc/skel + newins $FILESDIR/vimrc .vimrc + # Don't install .vimrc for root since it might overwrite root's + # current .vimrc, if it exists. + #mkdir -p $D/root + #install -m644 $FILESDIR/vimrc $D/root/.vimrc +} diff --git a/app-emulation/wine/files/digest-wine-20011004-r1 b/app-emulation/wine/files/digest-wine-20011004-r1 new file mode 100644 index 000000000000..fd5646ad00e2 --- /dev/null +++ b/app-emulation/wine/files/digest-wine-20011004-r1 @@ -0,0 +1 @@ +MD5 3a23a634b7eff17a1631571f7be25421 Wine-20011004.tar.gz 6467584 diff --git a/app-emulation/wine/wine-20011004-r1.ebuild b/app-emulation/wine/wine-20011004-r1.ebuild new file mode 100644 index 000000000000..43a846ea2e8c --- /dev/null +++ b/app-emulation/wine/wine-20011004-r1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger +# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-20011004-r1.ebuild,v 1.1 2002/01/15 01:27:50 gbevin Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="Wine is a free implementation of Windows on Unix." +SRC_URI="ftp://metalab.unc.edu/pub/Linux/ALPHA/wine/development/Wine-${PV}.tar.gz" + #http://twine.codeweavers.com/~mpilka/winesetuptk/winesetuptk-${WSV}.tar.gz" +HOMEPAGE="http://www.winehq.com/" + #http://wine.codeweavers.com/winesetuptk.shtml" + +# need to add: db2html, db2ps, db2pdf for building the docs +DEPEND="virtual/glibc + virtual/x11 + sys-devel/gcc + sys-devel/flex + dev-util/yacc + opengl? ( virtual/opengl ) + >=sys-libs/ncurses-5.2 + net-print/cups + >=media-libs/freetype-2.0.0" + +src_compile() { + + cd ${S} + local myconf + + if [ "`use opengl`" ] + then + myconf="--enable-opengl" + else + myconf="--disable-opengl" + fi + + if [ -z $DEBUG ] + then + myconf="$myconf --disable-trace --disable-debug" + else + myconf="$myconf --enable-trace --enable-debug" + fi + + ./configure --prefix=/opt/wine --sysconfdir=/etc/opt/wine \ + --infodir=/opt/info --mandir=/opt/man \ + --host=${CHOST} --enable-curses ${myconf} || die + + make depend || die + make || die + +} + +src_install () { + + make prefix=${D}/opt/wine install || die + insinto /etc/opt/wine + newins ${FILESDIR}/wine.conf config + dodoc ANNOUNCE AUTHORS BUGS ChangeLog DEVELOPERS-HINTS LICENSE README WARRANTY + + insinto /etc/env.d + newins ${FILESDIR}/wine.env 90wine + +} + diff --git a/app-text/tkinfo/files/digest-tkinfo-2.5-r1 b/app-text/tkinfo/files/digest-tkinfo-2.5-r1 new file mode 100644 index 000000000000..87c39e5d1b39 --- /dev/null +++ b/app-text/tkinfo/files/digest-tkinfo-2.5-r1 @@ -0,0 +1 @@ +MD5 e194131e1900d1214c4157b247054c0b tkinfo-2.5.tar.gz 57344 diff --git a/app-text/tkinfo/tkinfo-2.5-r1.ebuild b/app-text/tkinfo/tkinfo-2.5-r1.ebuild new file mode 100644 index 000000000000..ee0b83d94a48 --- /dev/null +++ b/app-text/tkinfo/tkinfo-2.5-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Ben Lutgens +# $Header: /var/cvsroot/gentoo-x86/app-text/tkinfo/tkinfo-2.5-r1.ebuild,v 1.1 2002/01/15 01:27:50 gbevin Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="Info Browser in TK" +SRC_URI="http://math-www.uni-paderborn.de/~axel/tkinfo/${P}.tar.gz" +HOMEPAGE="http://math-www.uni-paderborn.de/~axel/tkinfo/" + +DEPEND=">=dev-lang/tk-8.0.5" + + +src_install () { + + dobin tkinfo + doman tkinfo.1 + dodoc README + +} + +pkg_postinst () { + +# Let's check to see if info has been setup completely +cd /usr/share/info +if [ -f dir ]; then + exit 0; +else + mkinfodir . > dir +fi +} + diff --git a/dev-db/postgresql/files/digest-postgresql-7.0.3-r3 b/dev-db/postgresql/files/digest-postgresql-7.0.3-r3 new file mode 100644 index 000000000000..19e60c9a9cbb --- /dev/null +++ b/dev-db/postgresql/files/digest-postgresql-7.0.3-r3 @@ -0,0 +1 @@ +MD5 b416c04e6c91967160dfde866293ee6f postgresql-7.0.3.tar.gz 7225344 diff --git a/dev-db/postgresql/files/digest-postgresql-7.1-r1 b/dev-db/postgresql/files/digest-postgresql-7.1-r1 new file mode 100644 index 000000000000..5743b0b072f3 --- /dev/null +++ b/dev-db/postgresql/files/digest-postgresql-7.1-r1 @@ -0,0 +1,2 @@ +MD5 5499444696d919f9fbf2efcaf8e54022 postgresql-7.1.tar.gz 8089600 +MD5 9ffc80a0c387d97437bdea2b7acf09c2 rl42-pg.patch 4096 diff --git a/dev-db/postgresql/postgresql-7.0.3-r3.ebuild b/dev-db/postgresql/postgresql-7.0.3-r3.ebuild new file mode 100644 index 000000000000..c02ea7597ee1 --- /dev/null +++ b/dev-db/postgresql/postgresql-7.0.3-r3.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger +# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/postgresql-7.0.3-r3.ebuild,v 1.1 2002/01/15 01:27:50 gbevin Exp $ + +S=${WORKDIR}/${P}/src +DESCRIPTION="PostgreSQL is a sophisticated Object-Relational DBMS" +SRC_URI="ftp://ftp.postgresql.org/pub/v7.0.3/${P}.tar.gz" +HOMEPAGE="http://postgresql.readysetnet.com/" + +DEPEND=">=dev-lang/tk-8" + +src_unpack() { + unpack ${A} + cd ${S}/backend/catalog + cp genbki.sh.in genbki.sh.orig + sed -e 's:\\name:name:' genbki.sh.orig > genbki.sh.in +} + +src_compile() { + + cd ${S} + try ./configure --prefix=/usr --host=${CHOST} \ + --enable-locale --with-tcl --enable-syslog + cp Makefile.global Makefile.orig + sed -e "s:^TEMPLATEDIR=.*:TEMPLATEDIR=\$(POSTGRESDIR)/lib/pgsql:" \ + -e "s:^HEADERDIR=.*:HEADERDIR=\$(POSTGRESDIR)/include/pgsql:" \ + -e "s:-O2:${CFLAGS}:" \ + Makefile.orig > Makefile.global + try make + +} + +src_install () { + + cd ${S} + dodir /usr/include/pgsql + try make POSTGRESDIR=${D}/usr install + dosed "s:/usr/pgaccess:/usr/lib/pgaccess:" /usr/bin/pgaccess + cd ${D}/usr + mv pgaccess lib + cd lib/postgres + cd ${S}/../doc + dodoc FAQ* KNOWN_BUGS MISSING_FEATURES README* + dodoc TODO* internals.ps bug.template + dodoc *.tar.gz + exeinto /usr/bin + doexe ${FILESDIR}/postmaster-wrapper + exeinto /etc/rc.d/init.d/ + doexe ${FILESDIR}/pgsql +} + + +pkg_config() { + mkdir -p /var/db/pgsql/data + chown -R postgres /var/db/pgsql/data + su - postgres -c "/usr/bin/initdb -D /var/db/pgsql/data" +} diff --git a/dev-db/postgresql/postgresql-7.1-r1.ebuild b/dev-db/postgresql/postgresql-7.1-r1.ebuild new file mode 100644 index 000000000000..fd884a43a573 --- /dev/null +++ b/dev-db/postgresql/postgresql-7.1-r1.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger +# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/postgresql-7.1-r1.ebuild,v 1.1 2002/01/15 01:27:50 gbevin Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="PostgreSQL is a sophisticated Object-Relational DBMS" +SRC_URI="ftp://ftp.postgresql.org/pub/v7.1/${P}.tar.gz + http://www.postgresql.org/~petere/rl42-pg.patch" +HOMEPAGE="http://postgresql.readysetnet.com/" + +DEPEND="virtual/glibc sys-devel/autoconf + >=sys-libs/readline-4.1 + >=sys-libs/ncurses-5.2 + >=sys-libs/zlib-1.1.3 + tcltk? ( >=dev-lang/tk-8 ) + perl? ( sys-devel/perl ) + python? ( dev-lang/python ) + java? ( virtual/jdk >=dev-java/jaxp-1.0.1 >=dev-java/ant-1.3 ) + ssl? ( >=dev-libs/openssl-0.9.6-r1 ) + nls? ( sys-devel/gettext )" + +RDEPEND="virtual/glibc + >=sys-libs/zlib-1.1.3 + tcltk? ( >=dev-lang/tk-8 ) + perl? ( sys-devel/perl ) + python? ( dev-lang/python ) + java? ( virtual/jdk >=dev-java/jaxp-1.0.1 >=dev-java/ant-1.3 ) + ssl? ( >=dev-libs/openssl-0.9.6-r1 )" + +src_unpack() { + + unpack ${P}.tar.gz + + cd ${S} + + # This is a patch from Peter Eisentraut + patch -p0 < ${DISTDIR}/rl42-pg.patch + # This patch is based on Lamar Owens, Thomas Lockhards and + # Thron Eivind Glomsrod work. Thanks you all. + patch -p1 < ${FILESDIR}/${P}-perl5-GNUmakefile-gentoo.diff + + +} +if [ "`use java`" ] +then + export JAVA_HOME="/opt/java" + CLASSPATH=/opt/java/src.jar:/opt/java/lib/tools.jar + CLASSPATH=$CLASSPATH:/usr/lib/java/jaxp.jar:/usr/lib/java/parser.jar + CLASSPATH=$CLASSPATH:/usr/lib/java/ant.jar:/usr/lib/java/poptional.jar + export CLASSPATH +fi + +src_compile() { + + local myconf + if [ "`use tcltk`" ] + then + myconf="--with-tcl" + fi + if [ "`use perl`" ] + then + myconf="$myconf --with-perl" + fi + if [ "`use python`" ] + then + myconf="$myconf --with-python" + fi + if [ "`use java`" ] + then + myconf="$myconf --with-java" + fi + if [ "`use ssl`" ] + then + myconf="$myconf --with-openssl=/usr" + fi + if [ "`use nls`" ] + then + myconf="$myconf --enable-locale" + fi + try autoconf + unset ROOT + try ./configure --prefix=/usr --mandir=/usr/share/man --host=${CHOST} \ + --enable-syslog $myconf + try make + +} + +src_install () { + + try make DESTDIR=${D} install + dodoc COPYRIGHT HISTORY README register.txt + cd ${S}/doc + dodoc FAQ* KNOWN_BUGS MISSING_FEATURES README* + dodoc TODO internals.ps bug.template + dodoc *.tar.gz + docinto sgml + dodoc src/sgml/*.{sgml,dsl} + docinto sgml/ref + dodoc src/sgml/ref/*.sgml + docinto sgml/graphics + dodoc src/graphics/* + mv ${D}/usr/doc/postgresql/html ${D}/usr/share/doc/${PF} + rm -rf ${D}/usr/doc ${D}/mnt + exeinto /usr/bin + doexe ${FILESDIR}/postmaster-wrapper + exeinto /etc/rc.d/init.d/ + doexe ${FILESDIR}/pgsql +} + + +pkg_config() { + mkdir -p /var/db/pgsql/data + chown -R postgres /var/db/pgsql/data + su - postgres -c "/usr/bin/initdb -D /var/db/pgsql/data" +} diff --git a/dev-db/sqlite/files/digest-sqlite-2.1.3-r1 b/dev-db/sqlite/files/digest-sqlite-2.1.3-r1 deleted file mode 100644 index 83e3fa51fb8f..000000000000 --- a/dev-db/sqlite/files/digest-sqlite-2.1.3-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 d2661bb2c0832d7421ba4e737f0bf27b sqlite-2.1.3.tar.gz 614400 diff --git a/dev-db/sqlite/files/digest-sqlite-2.2.1 b/dev-db/sqlite/files/digest-sqlite-2.2.1 deleted file mode 100644 index f16d8cf7943d..000000000000 --- a/dev-db/sqlite/files/digest-sqlite-2.2.1 +++ /dev/null @@ -1 +0,0 @@ -MD5 3d60f5a7db919e9ed957a8790d0b07a5 sqlite-2.2.1.tar.gz 614400 diff --git a/dev-db/sqlite/files/digest-sqlite-2.2.1-r1 b/dev-db/sqlite/files/digest-sqlite-2.2.1-r1 new file mode 100644 index 000000000000..f16d8cf7943d --- /dev/null +++ b/dev-db/sqlite/files/digest-sqlite-2.2.1-r1 @@ -0,0 +1 @@ +MD5 3d60f5a7db919e9ed957a8790d0b07a5 sqlite-2.2.1.tar.gz 614400 diff --git a/dev-db/sqlite/sqlite-2.2.1-r1.ebuild b/dev-db/sqlite/sqlite-2.2.1-r1.ebuild new file mode 100644 index 000000000000..1ea96fa98986 --- /dev/null +++ b/dev-db/sqlite/sqlite-2.2.1-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Maintainer: Martin Schlemmer +# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/sqlite-2.2.1-r1.ebuild,v 1.1 2002/01/15 01:27:50 gbevin Exp $ + +S=${WORKDIR}/sqlite +DESCRIPTION="SQLite: An SQL Database Engine in a C Library." +SRC_URI="http://www.hwaci.com/sw/sqlite/${P}.tar.gz" +HOMEPAGE="http://www.hwaci.com/sw/sqlite/" + +DEPEND="virtual/glibc + dev-lang/tcl" + +src_compile() { + + ./configure --host=${CHOST} \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --sysconfdir=/etc || die + + emake || die + make doc || die +} + +src_install () { + + dodir /usr/{bin,include,lib} + + make prefix=${D}/usr \ + mandir=${D}/usr/share/man \ + infodir=${D}/usr/share/info \ + sysconfdir=${D}/etc \ + install || die + + dobin lemon + + dodoc README VERSION + docinto html + dodoc doc/*.html doc/*.txt doc/*.png +} diff --git a/dev-db/sqlite/sqlite-2.2.1.ebuild b/dev-db/sqlite/sqlite-2.2.1.ebuild deleted file mode 100644 index 7b22661c05a6..000000000000 --- a/dev-db/sqlite/sqlite-2.2.1.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2002 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# Maintainer: Martin Schlemmer -# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/sqlite-2.2.1.ebuild,v 1.3 2002/01/15 00:32:54 gbevin Exp $ - -S=${WORKDIR}/sqlite -DESCRIPTION="SQLite: An SQL Database Engine in a C Library." -SRC_URI="http://www.hwaci.com/sw/sqlite/${P}.tar.gz" -HOMEPAGE="http://www.hwaci.com/sw/sqlite/" - -DEPEND="virtual/glibc - dev-lang/tcl" - -src_compile() { - - ./configure --host=${CHOST} \ - --prefix=/usr \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --sysconfdir=/etc || die - - emake || die - make doc || die -} - -src_install () { - - dodir /usr/{bin,include,lib} - - make prefix=${D}/usr \ - mandir=${D}/usr/share/man \ - infodir=${D}/usr/share/info \ - sysconfdir=${D}/etc \ - install || die - - dobin lemon - - dodoc README VERSION - docinto html - dodoc doc/*.html doc/*.txt doc/*.png -} diff --git a/dev-lang/entity/entity-0.7.2-r1.ebuild b/dev-lang/entity/entity-0.7.2-r1.ebuild new file mode 100644 index 000000000000..9799ecad7aa0 --- /dev/null +++ b/dev-lang/entity/entity-0.7.2-r1.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Your Name +# $Header: /var/cvsroot/gentoo-x86/dev-lang/entity/entity-0.7.2-r1.ebuild,v 1.1 2002/01/15 01:27:50 gbevin Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="An XML Framework" +SRC_URI="http://www.entity.cx/Download/files/${P}.tar.gz" +HOMEPAGE="http://www.entity.cx" + +DEPEND=">=media-libs/imlib-1.9.10-r1 + >=dev-libs/libpcre-3.2 + tcltk? ( >=dev-lang/tk-8.1.1 ) + perl? ( >=sys-devel/perl-5.6 ) + python? ( >=dev-lang/python-2.0-r4 ) + sdl? ( >=media-libs/libsdl-1.1.7 ) + ssl? ( >=dev-libs/openssl-0.9.6 ) + opengl? ( >=x11-libs/gtkglarea-1.2.2 ) + gnome? ( >=gnome-base/gnome-core-1.4.0.4-r1 )" + +RDEPEND=">=media-libs/imlib-1.9.10-r1 + >=dev-libs/libpcre-3.2 + tcltk? ( >=dev-lang/tk-8.1.1 ) + perl? ( >=sys-devel/perl-5.6 ) + python? ( >=dev-lang/python-2.0i-r4 ) + sdl? ( >=media-libs/libsdl-1.1.7 ) + ssl? ( >=dev-libs/openssl-0.9.6 ) + opengl? ( >=x11-libs/gtkglarea-1.2.2-r1 ) + gnome? ( >=gnome-base/gnome-libs-1.4.1.2-r1 )" + +src_compile() { + + local myconf + if [ "`use tcltk`" ] + then + myconf="--enable-tcl=module --with-tcl=/usr/lib" + else + myconf="--enable-tcl=no" + fi + if [ "`use perl`" ] + then + myconf="$myconf --enable-perl=static" + else + myconf="$myconf --enable-perl=no" + fi + if [ "`use python`" ] + then + myconf="$myconf --enable-python=static" + else + myconf="$myconf --enable-python=no" + fi + if [ "`use ssl`" ] + then + myconf="$myconf --enable-openssl" + fi + if [ "`use sdl`" ] + then + myconf="$myconf --enable-sdl" + fi + if [ "`use gnome`" ] + then + myconf="$myconf --enable-gnome --enable-gdkimlib" + fi + if [ "`use opengl`" ] + then + myconf="$myconf --enable-gtkgl" + fi + try DEBIAN_ENTITY_MAGIC="voodoo" CFLAGS="$CFLAGS -I/usr/X11R6/include" ./configure --prefix=/usr --mandir=/usr/share/man --host=${CHOST} \ + --enable-exec-class=yes \ + --enable-gtk=module \ + --enable-c=module $myconf \ + --enable-javascript=yes --with-included-njs --enable-csinc + try make LDFLAGS="-L/usr/lib/python2.0/config/ -lpython2.0 `python-config --libs`" +} + +src_install () { + make DESTDIR=${D} LD_LIBRARY_PATH=${D}/usr/lib install + insinto /usr/share/entity/stembuilder + doins stembuilder/*.e + chmod +x ${D}/usr/share/entity/stembuilder/stembuilder.e + insinto /usr/share/entity/apps + doins apps/*.e + chmod +x ${D}/usr/share/entity/apps/{enview,ev}.e + exeinto /usr/share/entity/examples + doexe examples/*.e + insinto /usr/share/entity/stembuilder/images + doins stembuilder/images/*.xpm + + dodoc AUTHORS COPYING ChangeLog LICENSE NEWS README TODO + docinto txt + dodoc docs/README* docs/*.txt docs/*.ascii + docinto html + dodoc docs/*.html + docinto print + dodoc docs/*.ps + docinto sgml + dodoc docs/*.sgml +} + diff --git a/dev-lang/entity/files/digest-entity-0.7.2-r1 b/dev-lang/entity/files/digest-entity-0.7.2-r1 new file mode 100644 index 000000000000..fc05108ce791 --- /dev/null +++ b/dev-lang/entity/files/digest-entity-0.7.2-r1 @@ -0,0 +1 @@ +MD5 e3c99f264d40c7ae822033d2f77be293 entity-0.7.2.tar.gz 806912 diff --git a/dev-lang/python/files/digest-python-2.0-r7 b/dev-lang/python/files/digest-python-2.0-r7 new file mode 100644 index 000000000000..40b50e8ae750 --- /dev/null +++ b/dev-lang/python/files/digest-python-2.0-r7 @@ -0,0 +1,2 @@ +MD5 4751f4619eda0b5ade9d9dd017e7c1ef BeOpen-Python-2.0.tar.bz2 3424256 +MD5 7c99113a11b03599d8494638f6d90b56 python-fchksum-1.1.tar.gz 32768 diff --git a/dev-lang/python/files/digest-python-2.1.1-r4 b/dev-lang/python/files/digest-python-2.1.1-r4 new file mode 100644 index 000000000000..68061e8232e1 --- /dev/null +++ b/dev-lang/python/files/digest-python-2.1.1-r4 @@ -0,0 +1,2 @@ +MD5 eb34371c49b271abc74b42572883e1b4 Python-2.1.1.tgz 6189056 +MD5 03be17baafacc3508224d9542c0a61b3 python-fchksum-1.6.tar.gz 36864 diff --git a/dev-lang/python/files/digest-python-2.2-r3 b/dev-lang/python/files/digest-python-2.2-r3 deleted file mode 100644 index 0d73e1a12a91..000000000000 --- a/dev-lang/python/files/digest-python-2.2-r3 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 87febf0780c8e18454022d34b2ca70a0 Python-2.2.tgz 6557696 -MD5 03be17baafacc3508224d9542c0a61b3 python-fchksum-1.6.tar.gz 36864 -MD5 3f79a00b72d7282ecbbadc4effb00683 python-fchksum_1.6-2.diff.gz 24576 diff --git a/dev-lang/python/files/digest-python-2.2-r4 b/dev-lang/python/files/digest-python-2.2-r4 new file mode 100644 index 000000000000..0d73e1a12a91 --- /dev/null +++ b/dev-lang/python/files/digest-python-2.2-r4 @@ -0,0 +1,3 @@ +MD5 87febf0780c8e18454022d34b2ca70a0 Python-2.2.tgz 6557696 +MD5 03be17baafacc3508224d9542c0a61b3 python-fchksum-1.6.tar.gz 36864 +MD5 3f79a00b72d7282ecbbadc4effb00683 python-fchksum_1.6-2.diff.gz 24576 diff --git a/dev-lang/python/python-2.0-r7.ebuild b/dev-lang/python/python-2.0-r7.ebuild new file mode 100644 index 000000000000..a0f827c52819 --- /dev/null +++ b/dev-lang/python/python-2.0-r7.ebuild @@ -0,0 +1,160 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Daniel Robbins +# Modified Tod M. Neidt +# /home/cvsroot/gentoo-x86/dev-lang/python/python-2.0-r4.ebuild,v 1.1 2001/06/04 19:49:02 drobbins Exp +# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.0-r7.ebuild,v 1.1 2002/01/15 01:27:50 gbevin Exp $ + + +S=${WORKDIR}/Python-2.0 +S2=${WORKDIR}/python-fchksum-1.1 +DESCRIPTION="A really great language" +SRC_URI="http://www.python.org/ftp/python/2.0/BeOpen-Python-2.0.tar.bz2 + http://www.azstarnet.com/~donut/programs/fchksum/python-fchksum-1.1.tar.gz" + +HOMEPAGE="http://www.python.org http://www.azstarnet.com/~donut/programs/fchksum/" + +#tcltk depends is = becasue need to automate tcltk version number below +DEPEND="virtual/glibc >=sys-libs/zlib-1.1.3 + readline? ( >=sys-libs/readline-4.1 >=sys-libs/ncurses-5.2 ) + berkdb? ( >=sys-libs/db-3 ) + tcltk? ( >=dev-lang/tk-8.0 )" + +RDEPEND="$DEPEND" +PROVIDE="virtual/python-2.0" + +src_unpack() { + local mylibs + unpack BeOpen-Python-2.0.tar.bz2 + cd ${S}/Modules + if [ "`use readline`" ] + then + sed -e 's/#readline/readline/' -e 's/-lreadline -ltermcap/-lreadline/' \ + -e 's/#_curses _cursesmodule.c -lcurses -ltermcap/_curses _cursesmodule.c -lncurses/' \ + -e 's/#crypt/crypt/' -e 's/# -lcrypt/-lcrypt/' \ + Setup.in > Setup.new + mv Setup.new Setup.in + mylibs="-lreadline -lncurses -lcrypt" + fi + +#Added check for tcltk USE variable, if set build _tkinter +#Need to automate tk and tcl version determination + if [ "`use tcltk`" ] + then + +#Determine tcl version by greping tcl.h +#Probably don't need same for tk, but play it safe + local tcl_version + local tk_version + + tcl_version=$(grep TCL_VERSION /usr/include/tcl.h | \ + sed -e 's/.*\([0-9]\.[0-9]\).*/\1/') + + tk_version=$(grep TK_VERSION /usr/include/tk.h | \ + sed -e 's/.*\([0-9]\.[0-9]\).*/\1/') + + sed -e 's:# _tkinter:_tkinter:' \ + -e 's:#[[:blank:]]*-I/usr/local/include:-I/usr/include:' \ + -e 's:#[[:blank:]]*-I/usr/X11R6/include:-I/usr/X11R6/include:' \ + -e 's:#[[:blank:]]*-L/usr/local/lib:-L/usr/lib:' \ + -e 's:#[[:blank:]]*-ltk8.0 -ltcl8.0:-ltk'${tk_version}' -ltcl'${tcl_version}':' \ + -e 's:#[[:blank:]]*-L/usr/X11R6/lib:-L/usr/X11R6/lib:' \ + -e 's:#[[:blank:]]-lX11:-lX11:' \ + Setup.in > Setup.new + mv Setup.new Setup.in + mylibs="$mylibs -ltk${tk_version} -ltcl${tcl_version} -L/usr/X11R6/lib -lX11" + fi + + if [ "`use berkdb`" ] + then + sed -e 's:#dbm.*:dbm dbmmodule.c -I/usr/include/db3 -ldb-3.2:' \ + Setup.in > Setup.new + mv Setup.new Setup.in + mylibs="$mylibs -ldb-3.2" + fi + +#Removed the commenting out of TKPATH + sed -e 's/#_locale/_locale/' \ + -e 's/#syslog/syslog/' \ + -e 's:#zlib zlibmodule.c -I$(prefix)/include -L$(exec_prefix)/lib -lz:zlib zlibmodule.c -lz:' \ + -e 's:^#termios:termios:' -e 's:^#resource:resource:' \ + Setup.in > Setup + echo "fchksum fchksum.c md5_2.c" >> Setup + mylibs="-lpython2.0 $mylibs -lz -lutil" + cd ${S}/Modules + + if [ "`use berkdb`" ] + then + #patch the dbmmodule to use db3's dbm compatibility code. That way, we're depending on db3 rather than + #old db1. We'll link with db3, of course. + cp dbmmodule.c dbmmodule.c.orig + sed -e '10,25d' -e '26i\' -e '#define DB_DBM_HSEARCH 1\' -e 'static char *which_dbm = "BSD db";\' -e '#include ' dbmmodule.c.orig > dbmmodule.c + fi + + cp ${FILESDIR}/pfconfig.h . + unpack python-fchksum-1.1.tar.gz + + cd python-fchksum-1.1 + mv md5.h ../md5_2.h + sed -e 's:"md5.h":"md5_2.h":' md5.c > ../md5_2.c + sed -e 's:"md5.h":"md5_2.h":' fchksum.c > ../fchksum.c + + #for some reason, python 2.0 can't find /usr/lib/python2.0 without this fix to the source code. + cd ${S}/Python + cp pythonrun.c pythonrun.c.orig + sed -e 's:static char \*default_home = NULL:static char \*default_home = "/usr":' pythonrun.c.orig > pythonrun.c + + cat < ${S}/python-config +#!/bin/sh +echo -lm $mylibs +END + +} + + +src_compile() { + cd ${S} + try ./configure --prefix=/usr --without-libdb + #libdb3 support is available from http://pybsddb.sourceforge.net/; the one + #included with python is for db 1.85 only. + cp Makefile Makefile.orig + sed -e "s/-g -O2/${CFLAGS}/" Makefile.orig > Makefile + cd ${S}/Modules + cp Makefile.pre Makefile.orig + sed -e "s:MODOBJS=:MODOBJS=fchksum.o md5_2.o:" \ + Makefile.orig > Makefile.pre + + # Parallel make does not work + cd ${S} + try make +} + +src_install() { + dodir /usr + try make install prefix=${D}/usr + rm ${D}/usr/bin/python + dosym python2.0 /usr/bin/python + exeinto /usr/bin + doexe python-config + dodoc README + +#Change OPT setting in /usr/lib/python2.0/config/Makefile +#to CFLAG from /etc/make.conf so optimaization is set for +#subsequent module installs using distutil. +#There is probably a better way :) + cd ${D}/usr/lib/python2.0/config + sed -e "s/OPT=[[:blank:]]*-g -O2 -Wall -Wstrict-prototypes/OPT= ${CFLAGS}/" \ Makefile > Makefile.new + mv Makefile.new Makefile + +#If USE tcltk lets install idle +#Need to script the python version in the path + if [ "`use tcltk`" ] + then + mkdir ${D}/usr/lib/python2.0/tools + cd ${S} + mv Tools/idle ${D}/usr/lib/python2.0/tools/ +#don't quit understand dosym; put idle in PATH + ln -s /usr/lib/python2.0/tools/idle/idle.py ${D}/usr/bin/idle.py + fi +} + diff --git a/dev-lang/python/python-2.1.1-r4.ebuild b/dev-lang/python/python-2.1.1-r4.ebuild new file mode 100644 index 000000000000..ccdf39ee3cdd --- /dev/null +++ b/dev-lang/python/python-2.1.1-r4.ebuild @@ -0,0 +1,124 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Maintainer: Daniel Robbins +# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.1.1-r4.ebuild,v 1.1 2002/01/15 01:27:50 gbevin Exp $ + +S=${WORKDIR}/Python-${PV} +FCHKSUM="python-fchksum-1.6" +DESCRIPTION="A really great language" +SRC_URI="http://www.python.org/ftp/python/${PV}/Python-${PV}.tgz + http://www.azstarnet.com/~donut/programs/fchksum/${FCHKSUM}.tar.gz" + +HOMEPAGE="http://www.python.org http://www.azstarnet.com/~donut/programs/fchksum/" + +DEPEND="virtual/glibc >=sys-libs/zlib-1.1.3 + readline? ( >=sys-libs/readline-4.1 >=sys-libs/ncurses-5.2 ) + berkdb? ( >=sys-libs/db-3 ) + tcltk? ( >=dev-lang/tk-8.0 )" + +RDEPEND="$DEPEND" +PROVIDE="virtual/python-2.1" + +src_unpack() { + # unpack python + unpack Python-${PV}.tgz + # unpack fchksum and move pieces into Modules subdir + cd ${S}/Modules + unpack ${FCHKSUM}.tar.gz + cd ${FCHKSUM} + cp md5.h ../md5_2.h + cp cksum.[ch] sum.[ch] fchksum.h .. + sed 's:"md5.h":"md5_2.h":' md5.c > ../md5_2.c + sed 's:"md5.h":"md5_2.h":' fchksum.c > ../fchksum.c + # add fchksum configuration to Setup + cd ${S} + echo "fchksum fchksum.c md5_2.c cksum.c sum.c" >> Modules/Setup.dist + + # adjust makefile to install pydoc into ${D} correctly + t=${S}/Makefile.pre.in + cp $t $t.orig || die + sed 's:install-platlib.*:& --install-scripts=$(BINDIR):' $t.orig > $t +} + +src_compile() { + # python's config seems to ignore CFLAGS + export OPT=$CFLAGS + + # configure fchksum + cd ${S}/Modules/${FCHKSUM} + ./configure + cp pfconfig.h .. + + # adjust Setup to include the various modules we need + cd ${S} + scmd="" + # adjust for USE readline + if use readline; then + scmd="$scmd s:#\(readline .*\) -ltermcap:\1:;" + scmd="$scmd s:#\(_curses .*\) -lcurses -ltermcap:\1 -lncurses:;" + fi + # adjust for USE tcltk + if use tcltk; then + # Find the version of tcl/tk that has headers installed. + # This will be the most recently merged, not necessarily the highest + # version number. + tclv=$(grep TCL_VER /usr/include/tcl.h | sed 's/^.*"\(.*\)".*/\1/') + tkv=$( grep TK_VER /usr/include/tk.h | sed 's/^.*"\(.*\)".*/\1/') + # adjust Setup to match + scmd="$scmd s:# \(_tkinter \):\1:;" + scmd="$scmd s:#\(\t-ltk[0-9.]* -ltcl[0-9.]*\):\t-ltk$tkv -ltcl$tclv:;" + scmd="$scmd s:#\(\t-L/usr/X11R6/lib\):\1:;" + scmd="$scmd s:#\(\t-lX11.*\):\1:;" + fi + # adjust for USE berkdb + if use berkdb; then + # patch the dbmmodule to use db3's dbm compatibility code. That way, + # we're depending on db3 rather than old db1. + t=Modules/dbmmodule.c + cp $t $t.orig || die + sed \ + -e '10,25d' \ + -e '26i\' \ + -e '#define DB_DBM_HSEARCH 1\' \ + -e 'static char *which_dbm = "BSD db";\' \ + -e '#include ' \ + $t.orig > $t + # now fix Setup + scmd="$scmd s:#dbm.*:dbm dbmmodule.c -I/usr/include/db3 -ldb-3.2:;" + fi + # no USE vars to switch off these adjustments: + scmd="$scmd s:#\(_locale .*\):\1:;" # access to ISO C locale support + scmd="$scmd s:#\(syslog .*\):\1:;" # syslog daemon interface + scmd="$scmd s:#\(zlib .*\):\1:;" # This require zlib 1.1.3 (or later). + scmd="$scmd s:#\(termios .*\):\1:;" # Steen Lumholt's termios module + scmd="$scmd s:#\(resource .*\):\1:;" # Jeremy Hylton's rlimit interface + sed "$scmd" Modules/Setup.dist > Modules/Setup + + ./configure \ + --prefix=/usr \ + --without-libdb \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man + assert "Configure failed" + emake || die "Parallel make failed" +} + +src_install() { + dodir /usr + make install prefix=${D}/usr || die + rm "${D}/usr/bin/python" + dosym python2.1 /usr/bin/python + dodoc README + + # install our own custom python-config + exeinto /usr/bin + doexe ${FILESDIR}/python-config + + # If USE tcltk lets install idle + # Need to script the python version in the path + if use tcltk; then + mkdir "${D}/usr/lib/python2.1/tools" + mv "${S}/Tools/idle" "${D}/usr/lib/python2.1/tools/" + dosym /usr/lib/python2.1/tools/idle/idle.py /usr/bin/idle.py + fi +} diff --git a/dev-lang/python/python-2.2-r3.ebuild b/dev-lang/python/python-2.2-r3.ebuild deleted file mode 100644 index cf09963e7d85..000000000000 --- a/dev-lang/python/python-2.2-r3.ebuild +++ /dev/null @@ -1,136 +0,0 @@ -# Copyright 1999-2002 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# Maintainer: Daniel Robbins -# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.2-r3.ebuild,v 1.2 2002/01/15 00:32:54 gbevin Exp $ - -PYVER="`echo ${PV} | cut -d '.' -f 1,2`" -S=${WORKDIR}/Python-${PV} -FCHKSUM="python-fchksum-1.6" -FCHKSUMP="python-fchksum_1.6-2" -DESCRIPTION="A really great language" -SRC_URI="http://www.python.org/ftp/python/${PV}/Python-${PV}.tgz - http://www.azstarnet.com/~donut/programs/fchksum/${FCHKSUM}.tar.gz - http://www.azstarnet.com/~donut/programs/fchksum/${FCHKSUMP}.diff.gz" - -HOMEPAGE="http://www.python.org http://www.azstarnet.com/~donut/programs/fchksum/" - -DEPEND="virtual/glibc >=sys-libs/zlib-1.1.3 - readline? ( >=sys-libs/readline-4.1 >=sys-libs/ncurses-5.2 ) - berkdb? ( >=sys-libs/db-3 ) - tcltk? ( >=dev-lang/tk-8.0 )" - -RDEPEND="$DEPEND" -PROVIDE="virtual/python-${PYVER}" - -src_unpack() { - # unpack python - unpack Python-${PV}.tgz - # unpack fchksum and move pieces into Modules subdir - cd ${S}/Modules - unpack ${FCHKSUM}.tar.gz - zcat ${DISTDIR}/${FCHKSUMP}.diff.gz | patch -p0 - cd ${FCHKSUM} - cp md5.h ../md5_2.h - cp cksum.[ch] sum.[ch] fchksum.h .. - sed 's:"md5.h":"md5_2.h":' md5.c > ../md5_2.c - sed 's:"md5.h":"md5_2.h":' fchksum.c > ../fchksum.c - # add fchksum configuration to Setup - cd ${S} - echo "fchksum fchksum.c md5_2.c cksum.c sum.c" >> Modules/Setup.dist - - # adjust makefile to install pydoc into ${D} correctly - t=${S}/Makefile.pre.in - cp $t $t.orig || die - sed 's:install-platlib.*:& --install-scripts=$(BINDIR):' $t.orig > $t -} - -src_compile() { - # python's config seems to ignore CFLAGS - export OPT=$CFLAGS - - # configure fchksum - cd ${S}/Modules/${FCHKSUM} - ./configure - cp pfconfig.h .. - - # adjust Setup to include the various modules we need - cd ${S} - scmd="" - # adjust for USE readline - if use readline; then - scmd="$scmd s:#\(readline .*\) -ltermcap:\1:;" - scmd="$scmd s:#\(_curses .*\) -lcurses -ltermcap:\1 -lncurses:;" - fi - # adjust for USE tcltk - if use tcltk; then - # Find the version of tcl/tk that has headers installed. - # This will be the most recently merged, not necessarily the highest - # version number. - tclv=$(grep TCL_VER /usr/include/tcl.h | sed 's/^.*"\(.*\)".*/\1/') - tkv=$( grep TK_VER /usr/include/tk.h | sed 's/^.*"\(.*\)".*/\1/') - # adjust Setup to match - scmd="$scmd s:# \(_tkinter \):\1:;" - scmd="$scmd s:#\(\t-ltk[0-9.]* -ltcl[0-9.]*\):\t-ltk$tkv -ltcl$tclv:;" - scmd="$scmd s:#\(\t-L/usr/X11R6/lib\):\1:;" - scmd="$scmd s:#\(\t-lX11.*\):\1:;" - fi - # adjust for USE berkdb - if use berkdb; then - # patch the dbmmodule to use db3's dbm compatibility code. That way, - # we're depending on db3 rather than old db1. - t=Modules/dbmmodule.c - cp $t $t.orig || die - sed \ - -e '10,25d' \ - -e '26i\' \ - -e '#define DB_DBM_HSEARCH 1\' \ - -e 'static char *which_dbm = "BSD db";\' \ - -e '#include ' \ - $t.orig > $t - # now fix Setup - scmd="$scmd s:#dbm.*:dbm dbmmodule.c -I/usr/include/db3 -ldb-3.2:;" - fi - # no USE vars to switch off these adjustments: - scmd="$scmd s:#\(_locale .*\):\1:;" # access to ISO C locale support - scmd="$scmd s:#\(syslog .*\):\1:;" # syslog daemon interface - scmd="$scmd s:#\(zlib .*\):\1:;" # This require zlib 1.1.3 (or later). - scmd="$scmd s:#\(termios .*\):\1:;" # Steen Lumholt's termios module - scmd="$scmd s:#\(resource .*\):\1:;" # Jeremy Hylton's rlimit interface - sed "$scmd" Modules/Setup.dist > Modules/Setup - - ./configure \ - --prefix=/usr \ - --without-libdb \ - --infodir='${prefix}'/share/info \ - --mandir='${prefix}'/share/man - assert "Configure failed" - # kill the -DHAVE_CONFIG_H flag - mv Makefile Makefile.orig - sed -e 's/-DHAVE_CONFIG_H//' Makefile.orig > Makefile - #emake || die "Parallel make failed" - make || die "Parallel make failed" -} - -src_install() { - dodir /usr - make install prefix=${D}/usr || die - rm "${D}/usr/bin/python" - dosym python${PYVER} /usr/bin/python - dodoc README - - # install our own custom python-config - exeinto /usr/bin - newexe ${FILESDIR}/python-config-${PYVER} python-config - - # seems like the build do not install Makefile.pre.in anymore - insinto /usr/lib/python${PYVER}/config - doins ${S}/Makefile.pre.in - - # If USE tcltk lets install idle - # Need to script the python version in the path - if use tcltk; then - mkdir "${D}/usr/lib/python${PYVER}/tools" - mv "${S}/Tools/idle" "${D}/usr/lib/python${PYVER}/tools/" - dosym /usr/lib/python${PYVER}/tools/idle/idle.py /usr/bin/idle.py - fi -} diff --git a/dev-lang/python/python-2.2-r4.ebuild b/dev-lang/python/python-2.2-r4.ebuild new file mode 100644 index 000000000000..0f4fd2b6c01a --- /dev/null +++ b/dev-lang/python/python-2.2-r4.ebuild @@ -0,0 +1,136 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Maintainer: Daniel Robbins +# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.2-r4.ebuild,v 1.1 2002/01/15 01:27:50 gbevin Exp $ + +PYVER="`echo ${PV} | cut -d '.' -f 1,2`" +S=${WORKDIR}/Python-${PV} +FCHKSUM="python-fchksum-1.6" +FCHKSUMP="python-fchksum_1.6-2" +DESCRIPTION="A really great language" +SRC_URI="http://www.python.org/ftp/python/${PV}/Python-${PV}.tgz + http://www.azstarnet.com/~donut/programs/fchksum/${FCHKSUM}.tar.gz + http://www.azstarnet.com/~donut/programs/fchksum/${FCHKSUMP}.diff.gz" + +HOMEPAGE="http://www.python.org http://www.azstarnet.com/~donut/programs/fchksum/" + +DEPEND="virtual/glibc >=sys-libs/zlib-1.1.3 + readline? ( >=sys-libs/readline-4.1 >=sys-libs/ncurses-5.2 ) + berkdb? ( >=sys-libs/db-3 ) + tcltk? ( >=dev-lang/tk-8.0 )" + +RDEPEND="$DEPEND" +PROVIDE="virtual/python-${PYVER}" + +src_unpack() { + # unpack python + unpack Python-${PV}.tgz + # unpack fchksum and move pieces into Modules subdir + cd ${S}/Modules + unpack ${FCHKSUM}.tar.gz + zcat ${DISTDIR}/${FCHKSUMP}.diff.gz | patch -p0 + cd ${FCHKSUM} + cp md5.h ../md5_2.h + cp cksum.[ch] sum.[ch] fchksum.h .. + sed 's:"md5.h":"md5_2.h":' md5.c > ../md5_2.c + sed 's:"md5.h":"md5_2.h":' fchksum.c > ../fchksum.c + # add fchksum configuration to Setup + cd ${S} + echo "fchksum fchksum.c md5_2.c cksum.c sum.c" >> Modules/Setup.dist + + # adjust makefile to install pydoc into ${D} correctly + t=${S}/Makefile.pre.in + cp $t $t.orig || die + sed 's:install-platlib.*:& --install-scripts=$(BINDIR):' $t.orig > $t +} + +src_compile() { + # python's config seems to ignore CFLAGS + export OPT=$CFLAGS + + # configure fchksum + cd ${S}/Modules/${FCHKSUM} + ./configure + cp pfconfig.h .. + + # adjust Setup to include the various modules we need + cd ${S} + scmd="" + # adjust for USE readline + if use readline; then + scmd="$scmd s:#\(readline .*\) -ltermcap:\1:;" + scmd="$scmd s:#\(_curses .*\) -lcurses -ltermcap:\1 -lncurses:;" + fi + # adjust for USE tcltk + if use tcltk; then + # Find the version of tcl/tk that has headers installed. + # This will be the most recently merged, not necessarily the highest + # version number. + tclv=$(grep TCL_VER /usr/include/tcl.h | sed 's/^.*"\(.*\)".*/\1/') + tkv=$( grep TK_VER /usr/include/tk.h | sed 's/^.*"\(.*\)".*/\1/') + # adjust Setup to match + scmd="$scmd s:# \(_tkinter \):\1:;" + scmd="$scmd s:#\(\t-ltk[0-9.]* -ltcl[0-9.]*\):\t-ltk$tkv -ltcl$tclv:;" + scmd="$scmd s:#\(\t-L/usr/X11R6/lib\):\1:;" + scmd="$scmd s:#\(\t-lX11.*\):\1:;" + fi + # adjust for USE berkdb + if use berkdb; then + # patch the dbmmodule to use db3's dbm compatibility code. That way, + # we're depending on db3 rather than old db1. + t=Modules/dbmmodule.c + cp $t $t.orig || die + sed \ + -e '10,25d' \ + -e '26i\' \ + -e '#define DB_DBM_HSEARCH 1\' \ + -e 'static char *which_dbm = "BSD db";\' \ + -e '#include ' \ + $t.orig > $t + # now fix Setup + scmd="$scmd s:#dbm.*:dbm dbmmodule.c -I/usr/include/db3 -ldb-3.2:;" + fi + # no USE vars to switch off these adjustments: + scmd="$scmd s:#\(_locale .*\):\1:;" # access to ISO C locale support + scmd="$scmd s:#\(syslog .*\):\1:;" # syslog daemon interface + scmd="$scmd s:#\(zlib .*\):\1:;" # This require zlib 1.1.3 (or later). + scmd="$scmd s:#\(termios .*\):\1:;" # Steen Lumholt's termios module + scmd="$scmd s:#\(resource .*\):\1:;" # Jeremy Hylton's rlimit interface + sed "$scmd" Modules/Setup.dist > Modules/Setup + + ./configure \ + --prefix=/usr \ + --without-libdb \ + --infodir='${prefix}'/share/info \ + --mandir='${prefix}'/share/man + assert "Configure failed" + # kill the -DHAVE_CONFIG_H flag + mv Makefile Makefile.orig + sed -e 's/-DHAVE_CONFIG_H//' Makefile.orig > Makefile + #emake || die "Parallel make failed" + make || die "Parallel make failed" +} + +src_install() { + dodir /usr + make install prefix=${D}/usr || die + rm "${D}/usr/bin/python" + dosym python${PYVER} /usr/bin/python + dodoc README + + # install our own custom python-config + exeinto /usr/bin + newexe ${FILESDIR}/python-config-${PYVER} python-config + + # seems like the build do not install Makefile.pre.in anymore + insinto /usr/lib/python${PYVER}/config + doins ${S}/Makefile.pre.in + + # If USE tcltk lets install idle + # Need to script the python version in the path + if use tcltk; then + mkdir "${D}/usr/lib/python${PYVER}/tools" + mv "${S}/Tools/idle" "${D}/usr/lib/python${PYVER}/tools/" + dosym /usr/lib/python${PYVER}/tools/idle/idle.py /usr/bin/idle.py + fi +} diff --git a/dev-lang/swig/files/digest-swig-1.3.10 b/dev-lang/swig/files/digest-swig-1.3.10 deleted file mode 100644 index 8737067d2f52..000000000000 --- a/dev-lang/swig/files/digest-swig-1.3.10 +++ /dev/null @@ -1 +0,0 @@ -MD5 0579f2c5c77813cc23199fd2b85c6670 swig-1.3.10.tar.gz 1191936 diff --git a/dev-lang/swig/files/digest-swig-1.3.10-r1 b/dev-lang/swig/files/digest-swig-1.3.10-r1 new file mode 100644 index 000000000000..8737067d2f52 --- /dev/null +++ b/dev-lang/swig/files/digest-swig-1.3.10-r1 @@ -0,0 +1 @@ +MD5 0579f2c5c77813cc23199fd2b85c6670 swig-1.3.10.tar.gz 1191936 diff --git a/dev-lang/swig/swig-1.3.10-r1.ebuild b/dev-lang/swig/swig-1.3.10-r1.ebuild new file mode 100644 index 000000000000..b7a7cf713336 --- /dev/null +++ b/dev-lang/swig/swig-1.3.10-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2001 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Maintainer: Tools Team +# Author: Karl Trygve Kalleberg +# $Header: /var/cvsroot/gentoo-x86/dev-lang/swig/swig-1.3.10-r1.ebuild,v 1.1 2002/01/15 01:27:50 gbevin Exp $ + +S=${WORKDIR}/SWIG-${PV} +DESCRIPTION="Simplied Wrapper and Interface Generator" +SRC_URI="http://telia.dl.sourceforge.net/swig/swig-${PV}.tar.gz" +HOMEPAGE="http://www.swig.org" + +DEPEND="virtual/glibc + >=sys-devel/gcc-2.95.2 + python? ( >=dev-lang/python-2.0 ) + java? ( virtual/jdk ) + ruby? ( >=dev-lang/ruby-1.6.1 ) + guile? ( >=dev-util/guile-1.4 ) + tcltk? ( >=dev-lang/tk-8.3 ) + perl? ( >=sys-devel/perl-5.6.1 )" + +RDEPEND="" + +src_compile() { + local myc + + use python && myc="$myc --with-py" || myc="$myc --without-py" + use java && myc="$myc --with-java=$JAVA_HOME" || myc="$myc --without-java" + use ruby && myc="$myc --with-ruby" || myc="$myc --without-ruby" + use guile && myc="$myc --with-guile" || myc="$myc --without-guile" + use tcltk && myc="$myc --with-tcl" || myc="$myc --without-tcl" + use perl && myc="$myc --with-perl" || myc="$myc --without-perl" + + unset CXXFLAGS + unset CFLAGS + ./configure \ + --host=${CHOST} \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + $myconf || die "./configure failed" + + make || die +} + +src_install () { + make prefix=${D}/usr install || die +} diff --git a/dev-lang/swig/swig-1.3.10.ebuild b/dev-lang/swig/swig-1.3.10.ebuild deleted file mode 100644 index 3bbfb7c54bf9..000000000000 --- a/dev-lang/swig/swig-1.3.10.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2001 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# Maintainer: Tools Team -# Author: Karl Trygve Kalleberg -# $Header: /var/cvsroot/gentoo-x86/dev-lang/swig/swig-1.3.10.ebuild,v 1.2 2002/01/15 00:32:54 gbevin Exp $ - -S=${WORKDIR}/SWIG-${PV} -DESCRIPTION="Simplied Wrapper and Interface Generator" -SRC_URI="http://telia.dl.sourceforge.net/swig/swig-${PV}.tar.gz" -HOMEPAGE="http://www.swig.org" - -DEPEND="virtual/glibc - >=sys-devel/gcc-2.95.2 - python? ( >=dev-lang/python-2.0 ) - java? ( virtual/jdk ) - ruby? ( >=dev-lang/ruby-1.6.1 ) - guile? ( >=dev-util/guile-1.4 ) - tcltk? ( >=dev-lang/tk-8.3 ) - perl? ( >=sys-devel/perl-5.6.1 )" - -RDEPEND="" - -src_compile() { - local myc - - use python && myc="$myc --with-py" || myc="$myc --without-py" - use java && myc="$myc --with-java=$JAVA_HOME" || myc="$myc --without-java" - use ruby && myc="$myc --with-ruby" || myc="$myc --without-ruby" - use guile && myc="$myc --with-guile" || myc="$myc --without-guile" - use tcltk && myc="$myc --with-tcl" || myc="$myc --without-tcl" - use perl && myc="$myc --with-perl" || myc="$myc --without-perl" - - unset CXXFLAGS - unset CFLAGS - ./configure \ - --host=${CHOST} \ - --prefix=/usr \ - --infodir=/usr/share/info \ - --mandir=/usr/share/man \ - $myconf || die "./configure failed" - - make || die -} - -src_install () { - make prefix=${D}/usr install || die -} diff --git a/dev-python/Imaging/Imaging-1.1.2-r1.ebuild b/dev-python/Imaging/Imaging-1.1.2-r1.ebuild deleted file mode 100644 index 880f44c42436..000000000000 --- a/dev-python/Imaging/Imaging-1.1.2-r1.ebuild +++ /dev/null @@ -1,105 +0,0 @@ -# Copyright 1999-2001 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# Author Tod Neidt -# /home/cvsroot/gentoo-x86/skel.build,v 1.7 2001/08/25 21:15:08 chadh Exp - -S=${WORKDIR}/${P} - -DESCRIPTION="Python Imaging Library (PIL)." - -SRC_URI="http://www.pythonware.com/downloads/${P}.tar.gz" - -HOMEPAGE="http://www.pythonware.com/downloads/#pil" - -DEPEND=">=dev-lang/python-2.0 - >=media-libs/jpeg-6a - >=sys-libs/zlib-0.95 - tcltk? ( dev-lang/tk )" - -RDEPEND="${DEPEND}" - -src_compile() { - - #This is a goofy build. - - #Build the core imaging library (libImaging.a) - cd ${S}/libImaging - - ./configure --prefix=/usr \ - --host=${CHOST} || die - cp Makefile Makefile.orig - - #Not configured by configure - sed \ - -e "s:\(JPEGINCLUDE=[[:blank:]]*/usr/\)local/\(include\).*:\1\2:" \ - -e "s:\(OPT=[[:blank:]]*\).*:\1${CFLAGS}:" \ - Makefile.orig > Makefile - - emake || die - - #Build loadable python modules - cd ${S} - - local scmd="" - - #First change all the "/usr/local" to "/usr" - scmd="$scmd s:/usr/local:/usr:g;" - - # adjust for USE tcltk - if use tcltk; then - # Find the version of tcl/tk that has headers installed. - # This will be the most recently merged, not necessarily the highest - # version number. - tclv=$(grep TCL_VER /usr/include/tcl.h | sed 's/^.*"\(.*\)".*/\1/') - tkv=$( grep TK_VER /usr/include/tk.h | sed 's/^.*"\(.*\)".*/\1/') - # adjust Setup to match - scmd="$scmd s/-ltcl[0-9.]* -ltk[0-9.]*/-ltcl$tclv -ltk$tkv/;" - else - scmd="$scmd s:\(^_imagingtk\):#\1:;" - fi - - sed "$scmd" Setup.in > Setup - - #No configure (#$%@!%%) - scmd="" - cp Makefile.pre.in Makefile.pre.in.orig - #change all the "/usr/local" to "/usr" (haven't we been here before) - scmd="$scmd s:/usr/local:/usr:g;" - #fix man paths - scmd="$scmd "'s:^\(MANDIR=.*/\)\(man\):\1share/\2:;' - #Insert make.conf CFLAGS settings - scmd="$scmd "'s:$(OPT)'":${CFLAGS}:;" - - sed "$scmd" Makefile.pre.in.orig > Makefile.pre.in - - #Now generate a top level Makefile - make -f Makefile.pre.in boot || die - - emake || die - -} - -src_install () { - - #grab python verision so ebuild doesn't depend on it - local pv - pv=$(python -V 2>&1 | sed -e 's:Python \([0-9].[0-9]\).*:\1:') - - - insinto /usr/lib/python$pv/site-packages - doins PIL.pth - - insinto /usr/lib/python$pv/site-packages/PIL - doins _imaging.so PIL/* - use tcltk && doins _imagingtk.so - - # install headers required by media-gfx/sketch - insinto /usr/include/python$pv - doins libImaging/Imaging.h - doins libImaging/ImPlatform.h - doins libImaging/ImConfig.h - - dodoc CHANGES CONTENTS FORMATS README - -} - diff --git a/dev-python/Imaging/Imaging-1.1.2-r2.ebuild b/dev-python/Imaging/Imaging-1.1.2-r2.ebuild new file mode 100644 index 000000000000..880f44c42436 --- /dev/null +++ b/dev-python/Imaging/Imaging-1.1.2-r2.ebuild @@ -0,0 +1,105 @@ +# Copyright 1999-2001 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Tod Neidt +# /home/cvsroot/gentoo-x86/skel.build,v 1.7 2001/08/25 21:15:08 chadh Exp + +S=${WORKDIR}/${P} + +DESCRIPTION="Python Imaging Library (PIL)." + +SRC_URI="http://www.pythonware.com/downloads/${P}.tar.gz" + +HOMEPAGE="http://www.pythonware.com/downloads/#pil" + +DEPEND=">=dev-lang/python-2.0 + >=media-libs/jpeg-6a + >=sys-libs/zlib-0.95 + tcltk? ( dev-lang/tk )" + +RDEPEND="${DEPEND}" + +src_compile() { + + #This is a goofy build. + + #Build the core imaging library (libImaging.a) + cd ${S}/libImaging + + ./configure --prefix=/usr \ + --host=${CHOST} || die + cp Makefile Makefile.orig + + #Not configured by configure + sed \ + -e "s:\(JPEGINCLUDE=[[:blank:]]*/usr/\)local/\(include\).*:\1\2:" \ + -e "s:\(OPT=[[:blank:]]*\).*:\1${CFLAGS}:" \ + Makefile.orig > Makefile + + emake || die + + #Build loadable python modules + cd ${S} + + local scmd="" + + #First change all the "/usr/local" to "/usr" + scmd="$scmd s:/usr/local:/usr:g;" + + # adjust for USE tcltk + if use tcltk; then + # Find the version of tcl/tk that has headers installed. + # This will be the most recently merged, not necessarily the highest + # version number. + tclv=$(grep TCL_VER /usr/include/tcl.h | sed 's/^.*"\(.*\)".*/\1/') + tkv=$( grep TK_VER /usr/include/tk.h | sed 's/^.*"\(.*\)".*/\1/') + # adjust Setup to match + scmd="$scmd s/-ltcl[0-9.]* -ltk[0-9.]*/-ltcl$tclv -ltk$tkv/;" + else + scmd="$scmd s:\(^_imagingtk\):#\1:;" + fi + + sed "$scmd" Setup.in > Setup + + #No configure (#$%@!%%) + scmd="" + cp Makefile.pre.in Makefile.pre.in.orig + #change all the "/usr/local" to "/usr" (haven't we been here before) + scmd="$scmd s:/usr/local:/usr:g;" + #fix man paths + scmd="$scmd "'s:^\(MANDIR=.*/\)\(man\):\1share/\2:;' + #Insert make.conf CFLAGS settings + scmd="$scmd "'s:$(OPT)'":${CFLAGS}:;" + + sed "$scmd" Makefile.pre.in.orig > Makefile.pre.in + + #Now generate a top level Makefile + make -f Makefile.pre.in boot || die + + emake || die + +} + +src_install () { + + #grab python verision so ebuild doesn't depend on it + local pv + pv=$(python -V 2>&1 | sed -e 's:Python \([0-9].[0-9]\).*:\1:') + + + insinto /usr/lib/python$pv/site-packages + doins PIL.pth + + insinto /usr/lib/python$pv/site-packages/PIL + doins _imaging.so PIL/* + use tcltk && doins _imagingtk.so + + # install headers required by media-gfx/sketch + insinto /usr/include/python$pv + doins libImaging/Imaging.h + doins libImaging/ImPlatform.h + doins libImaging/ImConfig.h + + dodoc CHANGES CONTENTS FORMATS README + +} + diff --git a/dev-python/Imaging/files/digest-Imaging-1.1.2 b/dev-python/Imaging/files/digest-Imaging-1.1.2 deleted file mode 100644 index 859dddd5c3e6..000000000000 --- a/dev-python/Imaging/files/digest-Imaging-1.1.2 +++ /dev/null @@ -1 +0,0 @@ -MD5 a17e1a769c7cfbd0ca0b358aa96ecd05 Imaging-1.1.2.tar.gz 339968 diff --git a/dev-python/Imaging/files/digest-Imaging-1.1.2-r1 b/dev-python/Imaging/files/digest-Imaging-1.1.2-r1 deleted file mode 100644 index 859dddd5c3e6..000000000000 --- a/dev-python/Imaging/files/digest-Imaging-1.1.2-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 a17e1a769c7cfbd0ca0b358aa96ecd05 Imaging-1.1.2.tar.gz 339968 diff --git a/dev-python/Imaging/files/digest-Imaging-1.1.2-r2 b/dev-python/Imaging/files/digest-Imaging-1.1.2-r2 new file mode 100644 index 000000000000..859dddd5c3e6 --- /dev/null +++ b/dev-python/Imaging/files/digest-Imaging-1.1.2-r2 @@ -0,0 +1 @@ +MD5 a17e1a769c7cfbd0ca0b358aa96ecd05 Imaging-1.1.2.tar.gz 339968 diff --git a/dev-python/anygui/anygui-0.1_beta1-r1.ebuild b/dev-python/anygui/anygui-0.1_beta1-r1.ebuild new file mode 100644 index 000000000000..7cbd0856acf7 --- /dev/null +++ b/dev-python/anygui/anygui-0.1_beta1-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Tod Neidt +#$Header $ + +pv="0.1b1" +S=${WORKDIR}/${PN}-${pv} +DESCRIPTION="Generic GUI Module for Python" +SRC_URI="http://prdownloads.sourceforge.net/anygui/${PN}-${pv}.tar.gz" +HOMEPAGE="http://anygui.sourceforge.net/" + +DEPEND=">=dev-lang/python-2.0 + sys-libs/ncurses + qt? ( dev-python/PyQt ) + gtk? ( dev-python/pygtk ) + tcltk? ( dev-lang/tk-8.3.3 )" +#future: +# might need a wxw use variable for wxGTK for wxw? ( dev-python/wxPython ) +# also use variable fltk for fltk? ( dev-python/PyFLTK ) no ebuild for PyFLTK yet +# java? ( dev-python/jython ) Java Swing (javagui) http://www.jython.org + +src_compile() { + + python setup.py build || die + +} + +src_install() { + + python setup.py install --prefix=${D}/usr || die + + dodoc CHANGELOG.txt INSTALL.txt KNOWN_BUGS.txt LICENSE.txt \ + MAINTAINERS.txt PKG-INFO README.txt TODO.txt VERSION.txt + +} diff --git a/dev-python/anygui/anygui-0.1_beta1.ebuild b/dev-python/anygui/anygui-0.1_beta1.ebuild deleted file mode 100644 index 7cbd0856acf7..000000000000 --- a/dev-python/anygui/anygui-0.1_beta1.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2002 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# Author Tod Neidt -#$Header $ - -pv="0.1b1" -S=${WORKDIR}/${PN}-${pv} -DESCRIPTION="Generic GUI Module for Python" -SRC_URI="http://prdownloads.sourceforge.net/anygui/${PN}-${pv}.tar.gz" -HOMEPAGE="http://anygui.sourceforge.net/" - -DEPEND=">=dev-lang/python-2.0 - sys-libs/ncurses - qt? ( dev-python/PyQt ) - gtk? ( dev-python/pygtk ) - tcltk? ( dev-lang/tk-8.3.3 )" -#future: -# might need a wxw use variable for wxGTK for wxw? ( dev-python/wxPython ) -# also use variable fltk for fltk? ( dev-python/PyFLTK ) no ebuild for PyFLTK yet -# java? ( dev-python/jython ) Java Swing (javagui) http://www.jython.org - -src_compile() { - - python setup.py build || die - -} - -src_install() { - - python setup.py install --prefix=${D}/usr || die - - dodoc CHANGELOG.txt INSTALL.txt KNOWN_BUGS.txt LICENSE.txt \ - MAINTAINERS.txt PKG-INFO README.txt TODO.txt VERSION.txt - -} diff --git a/dev-python/anygui/files/digest-anygui-0.1_beta1 b/dev-python/anygui/files/digest-anygui-0.1_beta1 deleted file mode 100644 index 5c097a361ec4..000000000000 --- a/dev-python/anygui/files/digest-anygui-0.1_beta1 +++ /dev/null @@ -1 +0,0 @@ -MD5 120aad818247265e36e48e4413772bab anygui-0.1b1.tar.gz 716800 diff --git a/dev-python/anygui/files/digest-anygui-0.1_beta1-r1 b/dev-python/anygui/files/digest-anygui-0.1_beta1-r1 new file mode 100644 index 000000000000..5c097a361ec4 --- /dev/null +++ b/dev-python/anygui/files/digest-anygui-0.1_beta1-r1 @@ -0,0 +1 @@ +MD5 120aad818247265e36e48e4413772bab anygui-0.1b1.tar.gz 716800 diff --git a/dev-tcltk/itcl/files/digest-itcl-3.2-r1 b/dev-tcltk/itcl/files/digest-itcl-3.2-r1 new file mode 100644 index 000000000000..9e62103bda12 --- /dev/null +++ b/dev-tcltk/itcl/files/digest-itcl-3.2-r1 @@ -0,0 +1 @@ +MD5 b41ed909969eaa5f0a06ab698393760f itcl3.2.tar.gz 1499136 diff --git a/dev-tcltk/itcl/itcl-3.2-r1.ebuild b/dev-tcltk/itcl/itcl-3.2-r1.ebuild new file mode 100644 index 000000000000..68926d45dff5 --- /dev/null +++ b/dev-tcltk/itcl/itcl-3.2-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Your Name +# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/itcl/itcl-3.2-r1.ebuild,v 1.1 2002/01/15 01:27:50 gbevin Exp $ + +S=${WORKDIR}/itcl${PV} +DESCRIPTION="Object Oriented Enhancements for Tcl/Tk" +SRC_URI="http://dev.scriptics.com/ftp/itcl/itcl${PV}.tar.gz" +HOMEPAGE="http://dev.scriptics.com/ftp/itcl/" + +DEPEND=">=dev-lang/tk-8.4.2" + +src_unpack() { + unpack ${A} + cd ${S} + try patch -p1 < ${FILESDIR}/${PF}-gentoo.diff +} + +src_compile() { + ./configure --prefix=/usr --host=${CHOST} || die + make CFLAGS_DEFAULT="${CFLAGS}" || die +} + +src_install () { + make prefix=${D}/usr install || die + + rm ${D}/usr/lib/iwidgets + ln -s iwidgets3.0.1 ${D}/usr/lib/iwidgets + dodoc CHANGES INCOMPATIBLE README TODO + cd ${S}/doc ; docinto doc + dodoc README +} diff --git a/dev-util/tkcvs/files/digest-tkcvs-6.4-r2 b/dev-util/tkcvs/files/digest-tkcvs-6.4-r2 new file mode 100644 index 000000000000..37539be74637 --- /dev/null +++ b/dev-util/tkcvs/files/digest-tkcvs-6.4-r2 @@ -0,0 +1 @@ +MD5 dec18bb61e49a4b3eceacfd83ca07a36 tkcvs-6.4.tar.gz 192512 diff --git a/dev-util/tkcvs/tkcvs-6.4-r2.ebuild b/dev-util/tkcvs/tkcvs-6.4-r2.ebuild new file mode 100644 index 000000000000..d09698c63b89 --- /dev/null +++ b/dev-util/tkcvs/tkcvs-6.4-r2.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author AJ Lewis +# $Header: /var/cvsroot/gentoo-x86/dev-util/tkcvs/tkcvs-6.4-r2.ebuild,v 1.1 2002/01/15 01:27:50 gbevin Exp $ + + +S=${WORKDIR}/${P} +DESCRIPTION="TkCVS" +SRC_URI="http://www.twobarleycorns.net/${P}.tar.gz" +HOMEPAGE="http://www.twobarleycorns.net/tkcvs.html" + +RDEPEND="virtual/glibc + >=dev-lang/tk-8.1.1" + +src_compile() { + echo "It's tcl, you don't need to compile. ;)" +} + +src_install() { + dodir /usr/lib /usr/bin /usr/lib/tkcvs/ /usr/lib/tkcvs/bitmaps + + # We need to do this 'cause the tcl install requires X to be running + # and the user that runs emerge to have DISPLAY set and working + cat tkcvs/tkcvs.blank | sed -e {s/_TCDIR_/"\/usr\/lib"/} \ + > ${D}/usr/bin/tkcvs + chmod 755 ${D}/usr/bin/tkcvs + chmod 755 ${S}/tkdiff/tkdiff + dobin tkdiff/tkdiff + + insinto /usr/lib/tkcvs + doins tkcvs/modtree.tcl tkcvs/cvs.tcl tkcvs/reports.tcl \ + tkcvs/tooltips.tcl tkcvs/tkcvs_def.tcl \ + tkcvs/gen_log.tcl tkcvs/logcanvas.tcl tkcvs/dialog.tcl \ + tkcvs/import.tcl tkcvs/merge.tcl tkcvs/errors.tcl \ + tkcvs/static.tcl tkcvs/search.tcl tkcvs/filebrowse.tcl \ + tkcvs/modules.tcl tkcvs/commit.tcl tkcvs/modbrowse.tcl \ + tkcvs/workdir.tcl tkcvs/help.tcl tkcvs/tclIndex + + insinto /usr/lib/tkcvs/bitmaps + doins bitmaps/edit.gif bitmaps/files.gif \ + bitmaps/loop-glasses.gif bitmaps/clean.gif \ + bitmaps/clear.gif bitmaps/tclfish.gif bitmaps/diff.gif \ + bitmaps/fileview.gif bitmaps/dir.gif \ + bitmaps/loop-half.gif bitmaps/conflict.gif \ + bitmaps/patches.gif bitmaps/fileedit.gif \ + bitmaps/arrow_hl_up.gif bitmaps/branchtag.gif \ + bitmaps/branch.gif bitmaps/checkin.gif bitmaps/tag.gif \ + bitmaps/logfile.gif bitmaps/refresh.gif \ + bitmaps/arrow_dn.gif bitmaps/remove.gif bitmaps/mod.gif \ + bitmaps/import.gif bitmaps/patchfile.gif \ + bitmaps/checkout.gif bitmaps/add.gif \ + bitmaps/mergebranch.gif bitmaps/tags.gif \ + bitmaps/adir.gif bitmaps/arrow_up.gif bitmaps/arrow.gif \ + bitmaps/unedit.gif bitmaps/delete.gif bitmaps/mdir.gif \ + bitmaps/modules.gif bitmaps/ball.gif bitmaps/who.gif \ + bitmaps/export.gif bitmaps/loop.gif \ + bitmaps/modbrowse.gif bitmaps/mergediff.gif \ + bitmaps/arrow_hl_dn.gif bitmaps/amod.gif \ + bitmaps/tclfish.xbm bitmaps/tkcvs32.xbm \ + bitmaps/tkcvs48.xbm bitmaps/tkcvs32_mask.xbm \ + bitmaps/tclfish_fly.xbm bitmaps/modbrowse.xbm \ + bitmaps/trace.xbm + + newman tkcvs/tkcvs.n tkcvs.1 + + # Add docs...this is important + dodoc CHANGELOG COPYING FAQ README.tkcvs README.windows + + docinto tkdiff + dodoc tkdiff/PATCHES tkdiff/COPYING + + docinto tkcvs + dodoc tkcvs/vendor.readme +} diff --git a/media-gfx/graphviz/files/digest-graphviz-1.7.15 b/media-gfx/graphviz/files/digest-graphviz-1.7.15 deleted file mode 100644 index 83930f74fc2c..000000000000 --- a/media-gfx/graphviz/files/digest-graphviz-1.7.15 +++ /dev/null @@ -1 +0,0 @@ -MD5 067848c829d159be81cbca8607ac7f30 graphviz-1.7.15.tgz 6033408 diff --git a/media-gfx/graphviz/files/digest-graphviz-1.7.15-r1 b/media-gfx/graphviz/files/digest-graphviz-1.7.15-r1 new file mode 100644 index 000000000000..83930f74fc2c --- /dev/null +++ b/media-gfx/graphviz/files/digest-graphviz-1.7.15-r1 @@ -0,0 +1 @@ +MD5 067848c829d159be81cbca8607ac7f30 graphviz-1.7.15.tgz 6033408 diff --git a/media-gfx/graphviz/graphviz-1.7.15-r1.ebuild b/media-gfx/graphviz/graphviz-1.7.15-r1.ebuild new file mode 100644 index 000000000000..f2619b828a0d --- /dev/null +++ b/media-gfx/graphviz/graphviz-1.7.15-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2001 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author: Aron Griffis +# /space/gentoo/cvsroot/gentoo-x86/media-gfx/graphviz/graphviz-1.7.7.ebuild,v 1.1 2001/10/19 17:03:38 agriffis Exp + +S=${WORKDIR}/${P} +DESCRIPTION="open source graph drawing software" +SRC_URI="http://www.research.att.com/sw/tools/graphviz/dist/$P.tgz" +HOMEPAGE="http://www.research.att.com/sw/tools/graphviz/" + +#Can use freetype-1.3 or 2.0, but not both +DEPEND=">=sys-libs/zlib-1.1.3 + >=media-libs/libpng-1.0.6 + >=media-libs/jpeg-6b + media-libs/freetype + tcltk? ( =dev-lang/tk-8.3* )" + +src_compile() { + + local myconf + #if no tcltk, this will generate configure warnings, but will + #compile without tcltk support + use tcltk || myconf="$myconf --without-tcl --without-tk" + + #They seem to have forgot configure when packaging 1.7.15 + ./autogen.sh --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + --prefix=/usr \ + --host=${CHOST} \ + ${myconf} || die + + make || die + +} + +src_install () { + + make DESTDIR=${D} install || die + + dodoc AUTHORS ChangeLog FAQ.txt INSTALL MINTERMS.txt \ + NEWS README + + insinto /usr/share/doc/${P}/html + doins LICENSE.html doc/*.html + + + insinto /usr/share/doc/${P}/pdf + doins doc/*.pdf + +} diff --git a/media-gfx/graphviz/graphviz-1.7.15.ebuild b/media-gfx/graphviz/graphviz-1.7.15.ebuild deleted file mode 100644 index f2619b828a0d..000000000000 --- a/media-gfx/graphviz/graphviz-1.7.15.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2001 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# Author: Aron Griffis -# /space/gentoo/cvsroot/gentoo-x86/media-gfx/graphviz/graphviz-1.7.7.ebuild,v 1.1 2001/10/19 17:03:38 agriffis Exp - -S=${WORKDIR}/${P} -DESCRIPTION="open source graph drawing software" -SRC_URI="http://www.research.att.com/sw/tools/graphviz/dist/$P.tgz" -HOMEPAGE="http://www.research.att.com/sw/tools/graphviz/" - -#Can use freetype-1.3 or 2.0, but not both -DEPEND=">=sys-libs/zlib-1.1.3 - >=media-libs/libpng-1.0.6 - >=media-libs/jpeg-6b - media-libs/freetype - tcltk? ( =dev-lang/tk-8.3* )" - -src_compile() { - - local myconf - #if no tcltk, this will generate configure warnings, but will - #compile without tcltk support - use tcltk || myconf="$myconf --without-tcl --without-tk" - - #They seem to have forgot configure when packaging 1.7.15 - ./autogen.sh --infodir=/usr/share/info \ - --mandir=/usr/share/man \ - --prefix=/usr \ - --host=${CHOST} \ - ${myconf} || die - - make || die - -} - -src_install () { - - make DESTDIR=${D} install || die - - dodoc AUTHORS ChangeLog FAQ.txt INSTALL MINTERMS.txt \ - NEWS README - - insinto /usr/share/doc/${P}/html - doins LICENSE.html doc/*.html - - - insinto /usr/share/doc/${P}/pdf - doins doc/*.pdf - -} diff --git a/media-gfx/sketch/files/digest-sketch-0.6.12 b/media-gfx/sketch/files/digest-sketch-0.6.12 deleted file mode 100644 index 2cfca4d363ba..000000000000 --- a/media-gfx/sketch/files/digest-sketch-0.6.12 +++ /dev/null @@ -1 +0,0 @@ -MD5 4803e2ce7e2bcd01896471b4a4ba5ed4 sketch-0.6.12.tar.gz 856064 diff --git a/media-gfx/sketch/files/digest-sketch-0.6.12-r1 b/media-gfx/sketch/files/digest-sketch-0.6.12-r1 new file mode 100644 index 000000000000..2cfca4d363ba --- /dev/null +++ b/media-gfx/sketch/files/digest-sketch-0.6.12-r1 @@ -0,0 +1 @@ +MD5 4803e2ce7e2bcd01896471b4a4ba5ed4 sketch-0.6.12.tar.gz 856064 diff --git a/media-gfx/sketch/sketch-0.6.12-r1.ebuild b/media-gfx/sketch/sketch-0.6.12-r1.ebuild new file mode 100644 index 000000000000..dbcd5b228682 --- /dev/null +++ b/media-gfx/sketch/sketch-0.6.12-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2001 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Maintainer: Chouser +# $Header: /var/cvsroot/gentoo-x86/media-gfx/sketch/sketch-0.6.12-r1.ebuild,v 1.1 2002/01/15 01:27:50 gbevin Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="interactive X11 vector drawing program" +SRC_URI="http://prdownloads.sourceforge.net/${PN}/${P}.tar.gz" +HOMEPAGE="http://sketch.sourceforge.net/" + +DEPEND=">=dev-python/Imaging-1.1.2-r1 + dev-lang/tk + nls? ( sys-devel/gettext )" + +src_unpack() { + unpack ${A} + cd ${S} + + # patch setup to find more recent tcl/tk + # note that if this doesn't find a dynamic lib, sketch may fail to run with + # a X symbol error when loading paxtkinter + t=setup.py + cp $t $t.orig + sed 's/for version in \[/for version in ["8.4",/' $t.orig > $t +} + +src_compile() { + use nls && useopts="${useopts} --with-nls" + ./setup.py configure ${useopts} || die "setup.py configure failed" + ./setup.py build || die "setup.py build failed" +} + +src_install () { + ./setup.py install --prefix=/usr --dest-dir=${D} + assert "setup.py install failed" + + # docs + newdoc Pax/README README.pax + newdoc Pax/COPYING COPYING.pax + newdoc Filter/COPYING COPYING.filter + newdoc Filter/README README.filter + dodoc Examples Doc Misc + dodoc README INSTALL BUGS CREDITS COPYING TODO PROJECTS FAQ NEWS +} diff --git a/media-gfx/sketch/sketch-0.6.12.ebuild b/media-gfx/sketch/sketch-0.6.12.ebuild deleted file mode 100644 index 25ce9ed83c84..000000000000 --- a/media-gfx/sketch/sketch-0.6.12.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2001 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# Maintainer: Chouser -# $Header: /var/cvsroot/gentoo-x86/media-gfx/sketch/sketch-0.6.12.ebuild,v 1.3 2002/01/15 00:32:54 gbevin Exp $ - -S=${WORKDIR}/${P} -DESCRIPTION="interactive X11 vector drawing program" -SRC_URI="http://prdownloads.sourceforge.net/${PN}/${P}.tar.gz" -HOMEPAGE="http://sketch.sourceforge.net/" - -DEPEND=">=dev-python/Imaging-1.1.2-r1 - dev-lang/tk - nls? ( sys-devel/gettext )" - -src_unpack() { - unpack ${A} - cd ${S} - - # patch setup to find more recent tcl/tk - # note that if this doesn't find a dynamic lib, sketch may fail to run with - # a X symbol error when loading paxtkinter - t=setup.py - cp $t $t.orig - sed 's/for version in \[/for version in ["8.4",/' $t.orig > $t -} - -src_compile() { - use nls && useopts="${useopts} --with-nls" - ./setup.py configure ${useopts} || die "setup.py configure failed" - ./setup.py build || die "setup.py build failed" -} - -src_install () { - ./setup.py install --prefix=/usr --dest-dir=${D} - assert "setup.py install failed" - - # docs - newdoc Pax/README README.pax - newdoc Pax/COPYING COPYING.pax - newdoc Filter/COPYING COPYING.filter - newdoc Filter/README README.filter - dodoc Examples Doc Misc - dodoc README INSTALL BUGS CREDITS COPYING TODO PROJECTS FAQ NEWS -} diff --git a/media-libs/pdflib/files/digest-pdflib-4.0.1-r1 b/media-libs/pdflib/files/digest-pdflib-4.0.1-r1 deleted file mode 100644 index dbc368198c09..000000000000 --- a/media-libs/pdflib/files/digest-pdflib-4.0.1-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 92cb24075945c2151b7524bc7e8ef8c3 pdflib-4.0.1.tar.gz 2719744 diff --git a/media-libs/pdflib/files/digest-pdflib-4.0.1-r2 b/media-libs/pdflib/files/digest-pdflib-4.0.1-r2 new file mode 100644 index 000000000000..dbc368198c09 --- /dev/null +++ b/media-libs/pdflib/files/digest-pdflib-4.0.1-r2 @@ -0,0 +1 @@ +MD5 92cb24075945c2151b7524bc7e8ef8c3 pdflib-4.0.1.tar.gz 2719744 diff --git a/media-libs/pdflib/pdflib-4.0.1-r1.ebuild b/media-libs/pdflib/pdflib-4.0.1-r1.ebuild deleted file mode 100644 index fe79bd95184d..000000000000 --- a/media-libs/pdflib/pdflib-4.0.1-r1.ebuild +++ /dev/null @@ -1,122 +0,0 @@ -# Copyright 1999-2002 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# Maintainer: Grant Goodyear -# $Header: /var/cvsroot/gentoo-x86/media-libs/pdflib/pdflib-4.0.1-r1.ebuild,v 1.3 2002/01/15 00:32:54 gbevin Exp $ - -S=${WORKDIR}/${P} -DESCRIPTION="A library for generating PDF on the fly" -SRC_URI="http://www.pdflib.com/pdflib/download/${P}.tar.gz" -HOMEPAGE="http://www.pdflib.com" - -DEPEND="tcltk? ( =dev-lang/tk-8.2 ) - perl? ( >=sys-devel/perl-5.1 ) - python? ( >=dev-lang/python-2.0 ) - java? ( >=virtual/jdk-1.3 )" - - -[ -n "`use java`" ] && PATH=${PATH}:${JAVA_HOME}/bin - -src_compile() { - - # fix sandbox violations - # NOTE: the basic theory is to not compile pdflib.java during - # src_compile() or src_install(), but rather in pkg_postinstall(), - # and then install it where it can be found. - cp ${S}/bind/java/Makefile.in ${S}/bind/java/Makefile.in.orig - sed -e "s/all:\t\$(SWIG_LIB) pdflib.jar/all:\t\$(SWIG_LIB)/" \ - -e "s/install: \$(SWIG_LIB) pdflib.jar/install: \$(SWIG_LIB)/" \ - ${S}/bind/java/Makefile.in.orig > ${S}/bind/java/Makefile.in - - local myconf - if [ -z "`use tcltk`" ] ; then - myconf="--with-tcl=no" - fi - if [ -z "`use perl`" ] ; then - myconf="$myconf --with-perl=no" - fi - if [ -z "`use python`" ] ; then - myconf="$myconf --with-py=no" - elif [ -x /usr/bin/python ] ; then - - local pyver="`/usr/bin/python -V 2>&1 \ - |cut -d ' ' -f 2 |cut -d '.' -f 1,2`" - myconf="$myconf --with-pyincl=/usr/include/python${pyver}" - fi - if [ "`use java`" ] ; then - myconf="$myconf --with-java=/opt/java" - else - myconf="$myconf --with-java=no" - fi - - ./configure --prefix=/usr \ - --host=${CHOST} \ - --enable-cxx \ - --disable-php \ - $myconf || die - - emake || die -} - -src_install() { - - # fix sandbox violations - # NB: do this *after* build, otherwise we will get linker problems. - # all we basically do here is modify the install path for Makefiles that - # needs it. - cp ${S}/bind/java/Makefile ${S}/bind/java/Makefile.orig - sed -e "s:LANG_LIBDIR \t\= :LANG_LIBDIR\t\= ${D}:" \ - ${S}/bind/java/Makefile.orig > ${S}/bind/java/Makefile - cp ${S}/bind/perl/Makefile ${S}/bind/perl/Makefile.orig - sed -e "s:LANG_LIBDIR \t\= :LANG_LIBDIR\t\= ${D}:" \ - ${S}/bind/perl/Makefile.orig > ${S}/bind/perl/Makefile - cp ${S}/bind/python/Makefile ${S}/bind/python/Makefile.orig - sed -e "s:LANG_LIBDIR \t\= :LANG_LIBDIR\t\= ${D}:" \ - ${S}/bind/python/Makefile.orig > ${S}/bind/python/Makefile - cp ${S}/bind/tcl/Makefile ${S}/bind/tcl/Makefile.orig - sed -e "s:LANG_LIBDIR \t\= :LANG_LIBDIR\t\= ${D}:" \ - ${S}/bind/tcl/Makefile.orig > ${S}/bind/tcl/Makefile - - # ok, this should create the correct lib dirs for perl and python. - # yes, i know it is messy, but as i see it, a ebuild should be generic - # ... ie. you should be able to just use cp to update it - if [ -n "`use perl`" ] && [ -x /usr/bin/perl ] ; then - local perlmajver="`/usr/bin/perl -v |grep 'This is perl' \ - |cut -d ' ' -f 4 |cut -d '.' -f 1`" - local perlver="`/usr/bin/perl -v |grep 'This is perl' \ - |cut -d ' ' -f 4`" - local perlarch="`/usr/bin/perl -v |grep 'This is perl' \ - |cut -d ' ' -f 7`" - dodir /usr/lib/perl${perlmajver/v/}/site_perl/${perlver/v/}/${perlarch} - fi - if [ -n "`use python`" ] && [ -x /usr/bin/python ] ; then - local pyver="`/usr/bin/python -V 2>&1 \ - |cut -d ' ' -f 2 |cut -d '.' -f 1,2`" - dodir /usr/lib/python${pyver}/lib-dynload - fi - - make prefix=${D}/usr \ - install || die - - dodoc readme.txt doc/* - - # we need this to create pdflib.jar (we will not have the source when - # this is a binary package ...) - insinto /usr/share/pdflib - doins ${S}/bind/java/pdflib.java -} - -pkg_postinst() { - - # now compile and install the pdflib.jar - cd ${T} - jar cvf /usr/share/pdflib/pdflib.jar /usr/share/pdflib/pdflib.class - rm -rf /usr/share/pdflib/pdflib.class - - echo - echo "******************************************************" - echo "* Add /usr/share/pdflib to you \$CLASSPATH, or copy *" - echo "* /usr/share/pdflib/pdflib.jar to a directory in *" - echo "* your \$CLASSPATH. *" - echo "******************************************************" - echo -} diff --git a/media-libs/pdflib/pdflib-4.0.1-r2.ebuild b/media-libs/pdflib/pdflib-4.0.1-r2.ebuild new file mode 100644 index 000000000000..e4d9f5fa9266 --- /dev/null +++ b/media-libs/pdflib/pdflib-4.0.1-r2.ebuild @@ -0,0 +1,122 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Maintainer: Grant Goodyear +# $Header: /var/cvsroot/gentoo-x86/media-libs/pdflib/pdflib-4.0.1-r2.ebuild,v 1.1 2002/01/15 01:27:50 gbevin Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="A library for generating PDF on the fly" +SRC_URI="http://www.pdflib.com/pdflib/download/${P}.tar.gz" +HOMEPAGE="http://www.pdflib.com" + +DEPEND="tcltk? ( =dev-lang/tk-8.2 ) + perl? ( >=sys-devel/perl-5.1 ) + python? ( >=dev-lang/python-2.0 ) + java? ( >=virtual/jdk-1.3 )" + + +[ -n "`use java`" ] && PATH=${PATH}:${JAVA_HOME}/bin + +src_compile() { + + # fix sandbox violations + # NOTE: the basic theory is to not compile pdflib.java during + # src_compile() or src_install(), but rather in pkg_postinstall(), + # and then install it where it can be found. + cp ${S}/bind/java/Makefile.in ${S}/bind/java/Makefile.in.orig + sed -e "s/all:\t\$(SWIG_LIB) pdflib.jar/all:\t\$(SWIG_LIB)/" \ + -e "s/install: \$(SWIG_LIB) pdflib.jar/install: \$(SWIG_LIB)/" \ + ${S}/bind/java/Makefile.in.orig > ${S}/bind/java/Makefile.in + + local myconf + if [ -z "`use tcltk`" ] ; then + myconf="--with-tcl=no" + fi + if [ -z "`use perl`" ] ; then + myconf="$myconf --with-perl=no" + fi + if [ -z "`use python`" ] ; then + myconf="$myconf --with-py=no" + elif [ -x /usr/bin/python ] ; then + + local pyver="`/usr/bin/python -V 2>&1 \ + |cut -d ' ' -f 2 |cut -d '.' -f 1,2`" + myconf="$myconf --with-pyincl=/usr/include/python${pyver}" + fi + if [ "`use java`" ] ; then + myconf="$myconf --with-java=/opt/java" + else + myconf="$myconf --with-java=no" + fi + + ./configure --prefix=/usr \ + --host=${CHOST} \ + --enable-cxx \ + --disable-php \ + $myconf || die + + emake || die +} + +src_install() { + + # fix sandbox violations + # NB: do this *after* build, otherwise we will get linker problems. + # all we basically do here is modify the install path for Makefiles that + # needs it. + cp ${S}/bind/java/Makefile ${S}/bind/java/Makefile.orig + sed -e "s:LANG_LIBDIR \t\= :LANG_LIBDIR\t\= ${D}:" \ + ${S}/bind/java/Makefile.orig > ${S}/bind/java/Makefile + cp ${S}/bind/perl/Makefile ${S}/bind/perl/Makefile.orig + sed -e "s:LANG_LIBDIR \t\= :LANG_LIBDIR\t\= ${D}:" \ + ${S}/bind/perl/Makefile.orig > ${S}/bind/perl/Makefile + cp ${S}/bind/python/Makefile ${S}/bind/python/Makefile.orig + sed -e "s:LANG_LIBDIR \t\= :LANG_LIBDIR\t\= ${D}:" \ + ${S}/bind/python/Makefile.orig > ${S}/bind/python/Makefile + cp ${S}/bind/tcl/Makefile ${S}/bind/tcl/Makefile.orig + sed -e "s:LANG_LIBDIR \t\= :LANG_LIBDIR\t\= ${D}:" \ + ${S}/bind/tcl/Makefile.orig > ${S}/bind/tcl/Makefile + + # ok, this should create the correct lib dirs for perl and python. + # yes, i know it is messy, but as i see it, a ebuild should be generic + # ... ie. you should be able to just use cp to update it + if [ -n "`use perl`" ] && [ -x /usr/bin/perl ] ; then + local perlmajver="`/usr/bin/perl -v |grep 'This is perl' \ + |cut -d ' ' -f 4 |cut -d '.' -f 1`" + local perlver="`/usr/bin/perl -v |grep 'This is perl' \ + |cut -d ' ' -f 4`" + local perlarch="`/usr/bin/perl -v |grep 'This is perl' \ + |cut -d ' ' -f 7`" + dodir /usr/lib/perl${perlmajver/v/}/site_perl/${perlver/v/}/${perlarch} + fi + if [ -n "`use python`" ] && [ -x /usr/bin/python ] ; then + local pyver="`/usr/bin/python -V 2>&1 \ + |cut -d ' ' -f 2 |cut -d '.' -f 1,2`" + dodir /usr/lib/python${pyver}/lib-dynload + fi + + make prefix=${D}/usr \ + install || die + + dodoc readme.txt doc/* + + # we need this to create pdflib.jar (we will not have the source when + # this is a binary package ...) + insinto /usr/share/pdflib + doins ${S}/bind/java/pdflib.java +} + +pkg_postinst() { + + # now compile and install the pdflib.jar + cd ${T} + jar cvf /usr/share/pdflib/pdflib.jar /usr/share/pdflib/pdflib.class + rm -rf /usr/share/pdflib/pdflib.class + + echo + echo "******************************************************" + echo "* Add /usr/share/pdflib to you \$CLASSPATH, or copy *" + echo "* /usr/share/pdflib/pdflib.jar to a directory in *" + echo "* your \$CLASSPATH. *" + echo "******************************************************" + echo +} diff --git a/media-sound/timidity++/files/digest-timidity++-2.11.1 b/media-sound/timidity++/files/digest-timidity++-2.11.1 deleted file mode 100644 index 5444a437829f..000000000000 --- a/media-sound/timidity++/files/digest-timidity++-2.11.1 +++ /dev/null @@ -1 +0,0 @@ -MD5 42a4281bf4dbcc3cafe24adc416225f5 TiMidity++-2.11.1.tar.bz2 962560 diff --git a/media-sound/timidity++/files/digest-timidity++-2.11.1-r1 b/media-sound/timidity++/files/digest-timidity++-2.11.1-r1 new file mode 100644 index 000000000000..5444a437829f --- /dev/null +++ b/media-sound/timidity++/files/digest-timidity++-2.11.1-r1 @@ -0,0 +1 @@ +MD5 42a4281bf4dbcc3cafe24adc416225f5 TiMidity++-2.11.1.tar.bz2 962560 diff --git a/media-sound/timidity++/timidity++-2.11.1-r1.ebuild b/media-sound/timidity++/timidity++-2.11.1-r1.ebuild new file mode 100644 index 000000000000..3930dd72c762 --- /dev/null +++ b/media-sound/timidity++/timidity++-2.11.1-r1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Maintainer: Daniel Robbins +# $Header: /var/cvsroot/gentoo-x86/media-sound/timidity++/timidity++-2.11.1-r1.ebuild,v 1.1 2002/01/15 01:27:50 gbevin Exp $ + +PN=TiMidity++-${PV} +S=${WORKDIR}/${PN} +DESCRIPTION="A handy MIDI to WAV converter with OSS and ALSA output support" +SRC_URI="http://www.goice.co.jp/member/mo/timidity/dist/${PN}.tar.bz2" +HOMEPAGE="http://www.goice.co.jp/member/mo/timidity/" + +DEPEND=">=sys-libs/ncurses-5.0 + X? ( >=x11-base/xfree-4.0 ) + motif? ( >=x11-libs/openmotif-2.1 ) + tcltk? ( >=dev-lang/tk-8.1 ) + nas? ( >=media-libs/nas-1.4 ) + alsa? ( >=media-libs/alsa-lib-0.5.10 ) + esd? ( >=media-sound/esound-0.2.22 ) + gtk? ( >=x11-libs/gtk+-1.2.10-r4 ) + slang? ( >=sys-libs/slang-1.4 ) + vorbis? ( >=media-libs/libvorbis-1.0_beta4 )" + +src_compile() { + local myconf + local audios + local interfaces + + interfaces="dynamic,ncurses,emacs,vt100" + audios="oss" + + if [ "`use X`" ] + then + myconf="${myconf} --with-x" + interfaces="${interfaces},xskin,xaw" + else + myconf="${myconf} --without-x" + fi + [ "`use slang`" ] && interfaces="${interfaces},slang" + [ "`use gtk`" ] && interfaces="${interfaces},gtk" + [ "`use motif`" ] && interfaces="${interfaces},motif" + if [ "`use alsa`" ] + then + audios="${audios},alsa" + interfaces="${interfaces},alsaseq" + myconf="${myconf} --with-default-output=alsa" + fi + [ "`use esd`" ] && audios="${audios},esd" + [ "`use vorbis`" ] && audios="${audios},vorbis" + [ "`use nas`" ] && audios="${audios},nas" + + ./configure --prefix=/usr --host=${CHOST} --mandir=/usr/share/man\ + --with-elf \ + --enable-audio=${audios} \ + --enable-interface=${interfaces} \ + --enable-server --enable-network \ + --enable-spectrogram --enable-wrd \ + ${myconf} || die + emake || die +} + +src_install () { + make DESTDIR=${D} install || die + dodoc AUTHORS COPYING ChangeLog* INSTALL* + dodoc NEWS README* +} diff --git a/media-sound/timidity++/timidity++-2.11.1.ebuild b/media-sound/timidity++/timidity++-2.11.1.ebuild deleted file mode 100644 index 71ba9250bfaa..000000000000 --- a/media-sound/timidity++/timidity++-2.11.1.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2002 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# Maintainer: Daniel Robbins -# $Header: /var/cvsroot/gentoo-x86/media-sound/timidity++/timidity++-2.11.1.ebuild,v 1.2 2002/01/15 00:32:54 gbevin Exp $ - -PN=TiMidity++-${PV} -S=${WORKDIR}/${PN} -DESCRIPTION="A handy MIDI to WAV converter with OSS and ALSA output support" -SRC_URI="http://www.goice.co.jp/member/mo/timidity/dist/${PN}.tar.bz2" -HOMEPAGE="http://www.goice.co.jp/member/mo/timidity/" - -DEPEND=">=sys-libs/ncurses-5.0 - X? ( >=x11-base/xfree-4.0 ) - motif? ( >=x11-libs/openmotif-2.1 ) - tcltk? ( >=dev-lang/tk-8.1 ) - nas? ( >=media-libs/nas-1.4 ) - alsa? ( >=media-libs/alsa-lib-0.5.10 ) - esd? ( >=media-sound/esound-0.2.22 ) - gtk? ( >=x11-libs/gtk+-1.2.10-r4 ) - slang? ( >=sys-libs/slang-1.4 ) - vorbis? ( >=media-libs/libvorbis-1.0_beta4 )" - -src_compile() { - local myconf - local audios - local interfaces - - interfaces="dynamic,ncurses,emacs,vt100" - audios="oss" - - if [ "`use X`" ] - then - myconf="${myconf} --with-x" - interfaces="${interfaces},xskin,xaw" - else - myconf="${myconf} --without-x" - fi - [ "`use slang`" ] && interfaces="${interfaces},slang" - [ "`use gtk`" ] && interfaces="${interfaces},gtk" - [ "`use motif`" ] && interfaces="${interfaces},motif" - if [ "`use alsa`" ] - then - audios="${audios},alsa" - interfaces="${interfaces},alsaseq" - myconf="${myconf} --with-default-output=alsa" - fi - [ "`use esd`" ] && audios="${audios},esd" - [ "`use vorbis`" ] && audios="${audios},vorbis" - [ "`use nas`" ] && audios="${audios},nas" - - ./configure --prefix=/usr --host=${CHOST} --mandir=/usr/share/man\ - --with-elf \ - --enable-audio=${audios} \ - --enable-interface=${interfaces} \ - --enable-server --enable-network \ - --enable-spectrogram --enable-wrd \ - ${myconf} || die - emake || die -} - -src_install () { - make DESTDIR=${D} install || die - dodoc AUTHORS COPYING ChangeLog* INSTALL* - dodoc NEWS README* -} diff --git a/net-dialup/isdn4k-utils/files/digest-isdn4k-utils-3.1_p1-r3 b/net-dialup/isdn4k-utils/files/digest-isdn4k-utils-3.1_p1-r3 new file mode 100644 index 000000000000..f2aa4caf8ecb --- /dev/null +++ b/net-dialup/isdn4k-utils/files/digest-isdn4k-utils-3.1_p1-r3 @@ -0,0 +1 @@ +MD5 0cf8322d50f6775e64bbd465aec4a8b2 isdn4k-utils.v3.1pre1.tar.gz 5373952 diff --git a/net-dialup/isdn4k-utils/isdn4k-utils-3.1_p1-r3.ebuild b/net-dialup/isdn4k-utils/isdn4k-utils-3.1_p1-r3.ebuild new file mode 100644 index 000000000000..219d17a4e371 --- /dev/null +++ b/net-dialup/isdn4k-utils/isdn4k-utils-3.1_p1-r3.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger +# $Header: /var/cvsroot/gentoo-x86/net-dialup/isdn4k-utils/isdn4k-utils-3.1_p1-r3.ebuild,v 1.1 2002/01/15 01:27:50 gbevin Exp $ + +A=isdn4k-utils.v3.1pre1.tar.gz +S=${WORKDIR}/isdn4k-utils +DESCRIPTION="ISDN-4-Linux Utils" +SRC_URI="ftp://ftp.isdn4linux.de/pub/isdn4linux/utils/"${A} +HOMEPAGE="http://www.isdn4linux.de/" + +DEPEND="virtual/glibc + >=sys-kernel/linux-sources-2.4 + >=sys-libs/ncurses-5.1 + >=sys-libs/gdbm-1.8.0 + mysql? ( >=dev-db/mysql-3.23.26 ) + >=dev-lang/tk-8.1" + +src_unpack() { + unpack ${A} + cd ${S} + # sed -e "s:CONFIG_KERNELDIR=.*:CONFIG_KERNELDIR='${WORKDIR}/../../linux-2\.4\.0_rc103/work/linux':" ${O}/files/${P}.config > .config + cp ${FILESDIR}/${P}.config .config +} + +src_compile() { + cd ${S} + try make subconfig + try make +} + +src_install() { + cd ${S} + dodir /dev + dodir /usr/sbin + dodir /usr/bin + try make install DESTDIR=${D} + + dodoc COPYING NEWS README Mini-FAQ/isdn-faq.txt + mv ${D}/usr/doc/vbox ${D}/usr/doc/isdn4k-utils-3.1_p1-r1 + + +} + + + + + + + + + + + -- cgit v1.2.3-65-gdbad