Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge branch 'master' of github.com:eyolfson/overlay-eyolfson

  • Loading branch information...
commit 78d5af4d74215b20366286d86ebeac38d743a529 2 parents a786141 + 4c98ed0
Jon Eyolfson authored
3  app-emacs/rcodetools-emacs/Manifest
... ... @@ -0,0 +1,3 @@
  1 +AUX 70rcodetools-emacs-gentoo.el 173 RMD160 a37550926dd5bdc733ea02d449e85e048944748c SHA1 35c20ee48b3ee93275129b78039867f08ed7291e SHA256 04f2edbd27bf08bd94a9d90f4c8ca321c353cb082d8cda7ebdadbbaa7b5cc5c8
  2 +DIST rcodetools-0.8.1.0.tar.gz 103324 RMD160 97da33ea19f2ff62eca30408908d276bf3961c5f SHA1 f13275575a2977daeaa13be33aa4101345063f50 SHA256 34a1a232c8e18707081fccdda4e192e161af56a39f8c5f909ada37ce94803b72
  3 +EBUILD rcodetools-emacs-0.8.1.0.ebuild 436 RMD160 d259c7bfbe89584a82c5919cc25eb294a7f173d0 SHA1 47499a18fedfe36b94aa6a98a87f7160769a1121 SHA256 e56d528139212e2a58646297cb48da65bc01e6864ab5bccf5dd47885d890b83f
6 app-emacs/rcodetools-emacs/files/70rcodetools-emacs-gentoo.el
... ... @@ -0,0 +1,6 @@
  1 +(add-to-list 'load-path "@SITELISP@")
  2 +
  3 +;; (require 'rcodetools)
  4 +;; (describe-function 'xmp)
  5 +;; (describe-function 'comment-dwim)
  6 +;; (describe-function 'rct-complete-symbol)
18 app-emacs/rcodetools-emacs/rcodetools-emacs-0.8.1.0.ebuild
... ... @@ -0,0 +1,18 @@
  1 +# Copyright 1999-2010 Gentoo Foundation
  2 +# Distributed under the terms of the GNU General Public License v2
  3 +# $Header: $
  4 +
  5 +inherit elisp
  6 +
  7 +DESCRIPTION="Emacs portion of rcodetools."
  8 +HOMEPAGE="http://www.emacswiki.org/cgi-bin/wiki/ClojureMode"
  9 +SRC_URI="http://rubyforge.org/frs/download.php/41362/rcodetools-${PV}.tar.gz"
  10 +
  11 +LICENSE="GPL-2"
  12 +SLOT="0"
  13 +KEYWORDS="~amd64 ~x86"
  14 +IUSE=""
  15 +
  16 +SITEFILE="70${PN}-gentoo.el"
  17 +
  18 +S=${WORKDIR}/rcodetools-${PV}
1  dev-lisp/gsd/Manifest
... ... @@ -0,0 +1 @@
  1 +EBUILD gsd-999.ebuild 940 RMD160 c990642af3f9b3c45420fac8bc2ba4ac0d1fb77d SHA1 adf30c976a2034d7f7574a6549fd9b2aff51c463 SHA256 0715bfa68d1abc1f21db2b05d587d199ff2d18b83de1ef298fe5a7d908ab8ecf
34 dev-lisp/gsd/gsd-999.ebuild
... ... @@ -0,0 +1,34 @@
  1 +# Copyright 1999-2010 Gentoo Foundation
  2 +# Distributed under the terms of the GNU General Public License v2
  3 +# $Header: $
  4 +
  5 +EAPI="2"
  6 +inherit common-lisp-2 git
  7 +
  8 +DESCRIPTION="Grid Structured Data library."
  9 +HOMEPAGE="http://common-lisp.net/project/gsll/"
  10 +EGIT_REPO_URI="git://repo.or.cz/gsd.git"
  11 +
  12 +LICENSE="GPL-3"
  13 +SLOT="0"
  14 +KEYWORDS="~amd64 ~ppc ~sparc ~x86"
  15 +IUSE="doc"
  16 +
  17 +RDEPEND=">=dev-lisp/cffi-0.10.5
  18 + dev-lisp/trivial-garbage
  19 + dev-lisp/fsbv
  20 + dev-lisp/asdf-system-connections
  21 + dev-lisp/iterate
  22 + dev-lisp/alexandria
  23 + dev-lisp/lisp-unit
  24 + dev-lisp/cl-utilities"
  25 +
  26 +CLSYSTEMS="foreign-array/foreign-array grid/grid grid/grid-tests"
  27 +
  28 +src_install() {
  29 + find -name "*.asd" -exec sed 's/split-sequence/cl-utilities/' -i {} \;
  30 + find -name "*.lisp" -exec sed 's/split-sequence:split-sequence/cl-utilities:split-sequence/' -i {} \;
  31 + common-lisp-install foreign-array grid
  32 + common-lisp-symlink-asdf
  33 + use doc && dohtml -r documentation/grid
  34 +}
2  dev-ruby/cake/Manifest
... ... @@ -0,0 +1,2 @@
  1 +DIST cake-0.4.18.gem 6860288 RMD160 fea74c1ccf98cd64e051fc55c7ac2adb39275641 SHA1 26cc2ba5aadb8200da02492a41dc0b1423abc6a2 SHA256 8b0609fb5bb5e8e22ca6fc2d241c903c926aa8ad307cb7eaf9d248735d8642f5
  2 +EBUILD cake-0.4.18.ebuild 438 RMD160 ae6867cf9100a2d44cd2aaba4f47d46403a3759b SHA1 36316e9d0d7edff4d10906158dd4437b2f2ae4c2 SHA256 60551564ae71f51baa49698e33ea11e50314e6af0b6352d686d81341dff758a4
24 dev-ruby/cake/cake-0.4.18.ebuild
... ... @@ -0,0 +1,24 @@
  1 +# Copyright 1999-2010 Gentoo Foundation
  2 +# Distributed under the terms of the GNU General Public License v2
  3 +# $Header: $
  4 +
  5 +EAPI=2
  6 +
  7 +USE_RUBY="ruby18 ree18 jruby"
  8 +
  9 +RUBY_FAKEGEM_TASK_TEST="-f rakefile.rb test"
  10 +
  11 +RUBY_FAKEGEM_TASK_DOC="-f rakefile.rb rdoc"
  12 +
  13 +RUBY_FAKEGEM_DOCDIR="docs"
  14 +#RUBY_FAKEGEM_EXTRADOC="README"
  15 +
  16 +inherit ruby-fakegem
  17 +
  18 +DESCRIPTION="CAKE!!! its a lie."
  19 +HOMEPAGE="blank"
  20 +
  21 +LICENSE="MIT"
  22 +SLOT="0"
  23 +KEYWORDS="~amd64 ~x86"
  24 +IUSE=""
2  dev-ruby/rcodetools/Manifest
... ... @@ -0,0 +1,2 @@
  1 +DIST rcodetools-0.8.1.0.gem 104448 RMD160 47b23cd4d64920d0bfb52afd3e067c42ede108c1 SHA1 160646932bf3c59d9b54b4a9048733ca7b4f9a10 SHA256 98bd2bdc44ca6a123498fc4c28d9125864c3208318267f4cc4e0fd017f2ca2a3
  2 +EBUILD rcodetools-0.8.1.0.ebuild 459 RMD160 15d519af2d14dedb9f0062c99c8e2994b05c3121 SHA1 4b07f4654f5e4ec9003629a1210fe237acf17d3c SHA256 6f2c3c734fb48774da0c39179c2a4f7997b9446fd3fc2d3c70d60c76429db99d
24 dev-ruby/rcodetools/rcodetools-0.8.1.0.ebuild
... ... @@ -0,0 +1,24 @@
  1 +# Copyright 1999-2010 Gentoo Foundation
  2 +# Distributed under the terms of the GNU General Public License v2
  3 +# $Header: $
  4 +
  5 +EAPI=2
  6 +
  7 +USE_RUBY="ruby18 ree18 jruby"
  8 +
  9 +RUBY_FAKEGEM_TASK_TEST="-f rakefile.rb test"
  10 +
  11 +RUBY_FAKEGEM_TASK_DOC="-f rakefile.rb rdoc"
  12 +
  13 +RUBY_FAKEGEM_DOCDIR="docs"
  14 +RUBY_FAKEGEM_EXTRADOC="README"
  15 +
  16 +inherit ruby-fakegem
  17 +
  18 +DESCRIPTION="This is the rcodetools package for ruby."
  19 +HOMEPAGE="blank"
  20 +
  21 +LICENSE="MIT"
  22 +SLOT="0"
  23 +KEYWORDS="~amd64 ~x86"
  24 +IUSE=""
4 dev-scheme/racket/Manifest
... ... @@ -0,0 +1,4 @@
  1 +AUX racket-5.0.1-hack_makefile_in_temp01.patch 1496 RMD160 2df57dd0df6c6322cf8beb06e57bd34f3214594e SHA1 cbf9dce59a4abe286edd01d20999c3523a750732 SHA256 e84c7dd9c2dbd8b934bf7fa6a5ce2fded5378d4f848b42681d0563d4d9d427cc
  2 +AUX racket-5.0.1-libpng14.patch 603 RMD160 bc4aab23dcd4fffecaadefbeda138080ddeb4f8d SHA1 2cf4b73023b58e452439e676916ad94b67daddcf SHA256 542538613d34fdfc2339f963646a8e06c5f67bf7c0f4fc3a78c85deec511e9b7
  3 +DIST racket-5.0.1-src-unix.tgz 17272590 RMD160 002d70134b7c7fe2121cc854c9a08a9b9b92a21a SHA1 3109294115184c96d260fef4458a866975a7c847 SHA256 763b5d6615b66c088d00b789e729cfdae75770d5f13d7e2d4508e5ddd7ff7fa1
  4 +EBUILD racket-5.0.1.ebuild 3943 RMD160 1d3913bb518f34bfa29c5bebf4e6ad1738b8cb0b SHA1 27c4df2c55961559e33c723f0560a20dafead177 SHA256 0672cc99a217e93474c2a5812231eb1c46e162fb6d63e46825222d1213efd394
37 dev-scheme/racket/files/racket-5.0.1-hack_makefile_in_temp01.patch
... ... @@ -0,0 +1,37 @@
  1 +diff -u -r a/Makefile.in b/Makefile.in
  2 +--- a/Makefile.in 2010-03-17 20:22:06.000000000 +0200
  3 ++++ b/Makefile.in 2010-04-18 22:23:49.000000000 +0300
  4 +@@ -60,9 +60,6 @@
  5 + $(MAKE) install-@MAIN_VARIANT@
  6 +
  7 + plain-install:
  8 +- if [ "$(DESTDIR)" != "" ]; then \
  9 +- echo "cannot use plain-install with DESTDIR=$(DESTDIR)"; exit 1; \
  10 +- fi
  11 + $(MAKE) plain-install-@MAIN_VARIANT@
  12 +
  13 + install-common-first:
  14 +diff -u -r a/gracket/Makefile.in b/gracket/Makefile.in
  15 +--- a/gracket/Makefile.in 2010-03-17 20:22:01.000000000 +0200
  16 ++++ b/gracket/Makefile.in 2010-04-19 14:50:10.000000000 +0300
  17 +@@ -280,8 +280,6 @@
  18 + $(MAKE) install-@WXVARIANT@-post-collects
  19 +
  20 + install-common:
  21 +- cd ..; rm -f "$(DESTDIR)$(bindir)/gracket@CGC_INSTALLED@"
  22 +- cd ..; rm -f "$(DESTDIR)$(bindir)/gracket@MMM_INSTALLED@"
  23 + cd ..; echo 'CXX=@CXX@' >> $(BUILDINFO)
  24 + cd ..; echo 'CXXFLAGS=@CXXFLAGS@ @PREFLAGS@ @COMPFLAGS@' >> $(BUILDINFO)
  25 + cd ..; echo 'MROPTIONS=@MROPTIONS@' >> $(BUILDINFO)
  26 +diff -u -r a/racket/Makefile.in b/racket/Makefile.in
  27 +--- a/racket/Makefile.in 2010-03-17 20:22:06.000000000 +0200
  28 ++++ b/racket/Makefile.in 2010-04-19 14:49:49.000000000 +0300
  29 +@@ -277,8 +277,6 @@
  30 + # have to go up and install things from there.
  31 +
  32 + unix-install:
  33 +- cd ..; rm -f "$(DESTDIR)$(bindir)/racket@CGC_INSTALLED@"
  34 +- cd ..; rm -f "$(DESTDIR)$(bindir)/racket@MMM_INSTALLED@"
  35 + cd ..; cp racket/starter "$(DESTDIR)$(libpltdir)/starter"
  36 + cd ..; $(STRIP_DEBUG) "$(DESTDIR)$(libpltdir)/starter"
  37 + cd ..; echo 'CC=@CC@' > "$(BUILDINFO)"
15 dev-scheme/racket/files/racket-5.0.1-libpng14.patch
... ... @@ -0,0 +1,15 @@
  1 +diff -u -r a/plt-4.2.5/src/wxcommon/wxJPEG.cxx b/plt-4.2.5/src/wxcommon/wxJPEG.cxx
  2 +--- a/plt-4.2.5/src/wxcommon/wxJPEG.cxx 2010-03-17 20:22:03.000000000 +0200
  3 ++++ b/plt-4.2.5/src/wxcommon/wxJPEG.cxx 2010-05-11 18:16:06.000000000 +0300
  4 +@@ -726,7 +726,11 @@
  5 + png_set_strip_16(png_ptr);
  6 +
  7 + /* Expand grayscale images to the full 8 bits from 1, 2, or 4 bits/pixel */
  8 ++ #if PNG_LIBPNG_VER < 10400
  9 + png_set_gray_1_2_4_to_8(png_ptr);
  10 ++ #else
  11 ++ png_set_expand_gray_1_2_4_to_8(png_ptr);
  12 ++ #endif
  13 + }
  14 +
  15 + /* Set the background color to draw transparent and alpha images over.
141 dev-scheme/racket/racket-5.0.1.ebuild
... ... @@ -0,0 +1,141 @@
  1 +# Copyright 1999-2010 Gentoo Foundation
  2 +# Distributed under the terms of the GNU General Public License v2
  3 +# $Header: $
  4 +
  5 +EAPI="3"
  6 +inherit eutils
  7 +SRC_URI="http://download.racket-lang.org/installers/${PV}/${PN}/${P}-src-unix.tgz"
  8 +DESCRIPTION="Programming environment based on Scheme."
  9 +HOMEPAGE="http://www.racket-lang.org"
  10 +LICENSE="LGPL-2.1"
  11 +SLOT="0"
  12 +KEYWORDS="~x86 ~amd64"
  13 +#KEYWORDS="~amd64"
  14 +IUSE="-backtrace cairo cgc doc opengl profile X slatex sgc -futures -places +foreign static -plain"
  15 +# jit
  16 +RDEPEND="X? ( x11-libs/libX11
  17 + x11-libs/libXaw
  18 + x11-libs/libXft
  19 + x11-libs/libXrender
  20 + media-libs/jpeg
  21 + media-libs/libpng
  22 + opengl? ( virtual/opengl )
  23 + cairo? ( x11-libs/cairo[X] ) )
  24 + slatex? ( virtual/latex-base )"
  25 +DEPEND="${RDEPEND}"
  26 +S="${WORKDIR}/plt-${PV}/src/build"
  27 +ECONF_SOURCE="${S}/.."
  28 +MY_PNUM="01"
  29 +
  30 +pkg_setup() {
  31 + if use cgc && use sgc ; then
  32 + die "You cannot use both cgc and sgc USE flags, you have to choose one of them"
  33 + fi
  34 + for my_flag in backtrace futures places
  35 + do
  36 + if use "${my_flag}" ; then
  37 + ewarn "${my_flag} USE flag is known that may make ${P} compilation"
  38 + ewarn "to fail. Please remove it, if the ebuild fails for you. "
  39 + fi
  40 + done
  41 + if use cairo || use opengl ; then
  42 + if ! use X ; then
  43 + ewarn "cairo and opengl USE flags support features that are disabled"
  44 + ewarn "by ${P} build system when you haven't enabled the X USE flag."
  45 + fi
  46 + fi
  47 +}
  48 +
  49 +src_unpack() {
  50 + unpack ${A}
  51 + mkdir -v "${S}" || die "failed to create build dir"
  52 +}
  53 +
  54 +src_prepare() {
  55 + #( cd .. && rm -Rv wxcommon && rm -Rv foreign ) \
  56 + #|| die "failed to remove dir of bundled libraries"
  57 + #rm -Rv ../wxcommon/{jpeg,libpng,zlib} ../../collects \
  58 + #|| die "failed to remove dir of bundled libraries"
  59 + #rm -Rv ../wxcommon/{jpeg,libpng,zlib} ../wxxt \
  60 + rm -Rv ../wxcommon/{jpeg,libpng,zlib} \
  61 + || die "failed to remove dir of bundled libraries"
  62 + sed -i -e "s/docdir=\"\${datadir}\/racket\/doc\"/docdir=\"\${datadir}\/doc\/${PF}\"/" ../configure || die "sed failed"
  63 + pushd ..
  64 + epatch "${FILESDIR}/${P}-hack_makefile_in_temp${MY_PNUM}.patch"
  65 + epatch "${FILESDIR}/${P}-libpng14.patch"
  66 + popd
  67 + #sed -i -e 's/#! \/bin\/sh/#! \/bin\/sh -x/g' ../configure \
  68 + #|| die "sed failed"
  69 +}
  70 +
  71 +src_configure() {
  72 + local myconf=""
  73 + if use static; then
  74 + myconf="--disable-shared"
  75 + else
  76 + myconf="--enable-shared"
  77 + fi
  78 + econf \
  79 + $(use_enable doc docs) \
  80 + $(use_enable X gracket) \
  81 + $(use_enable X xrender) \
  82 + $(use_enable X xft) \
  83 + $(use_enable opengl gl) \
  84 + $(use_enable cairo) \
  85 + $(use_enable profile gprof) \
  86 + $(use_enable backtrace) \
  87 + $(use_enable sgc) \
  88 + $(use_enable futures) \
  89 + $(use_enable places) \
  90 + $(use_enable foreign) \
  91 + --enable-jit \
  92 + --enable-libpng \
  93 + --enable-libjpeg \
  94 + --enable-pthread \
  95 + --enable-account \
  96 + --disable-sgcdebug \
  97 + --disable-compact \
  98 + --disable-smalloskit \
  99 + --disable-oskit \
  100 + --disable-wbuild \
  101 + --disable-perl \
  102 + $(use_with X x) \
  103 + ${myconf} \
  104 + || die "Configure script failed"
  105 +}
  106 +
  107 +src_compile() {
  108 + emake || die "emake default target(3m) failed"
  109 + if use cgc || use sgc ; then
  110 + time emake cgc || die "emake cgc-install target failed"
  111 + fi
  112 +}
  113 +
  114 +src_install() {
  115 + local pla1n=""
  116 + if use plain; then
  117 + pla1n="plain-"
  118 + fi
  119 + time emake DESTDIR="${D}" "${pla1n}"install || die "emake install failed"
  120 + if use cgc || use sgc ; then
  121 + time emake DESTDIR="${D}" "${pla1n}"install-cgc || die "emake cgc target failed"
  122 + fi
  123 + if use X; then
  124 + newicon ../../collects/icons/PLT-206.png drscheme.png
  125 + make_desktop_entry drscheme "DrScheme" drscheme "Development"
  126 + fi
  127 + # deal with slatex
  128 + if use slatex; then
  129 + if ! use plain; then
  130 + pushd "${D}"/usr/bin
  131 + { rename slatex plt-slatex slatex* && rename pdf-slatex plt-pdf-slatex pdf-slatex* ; } || die "Failed to rename slatex* to plt-slatex*"
  132 + popd
  133 + fi
  134 + insinto /usr/share/texmf/tex/latex/slatex/
  135 + newins ../../collects/slatex/slatex.sty plt-slatex.sty
  136 + else
  137 + if ! use plain; then
  138 + rm -Rfv "${D}"/usr/bin/*slatex* || die "Failed to delete slatex files"
  139 + fi
  140 + fi
  141 +}

0 comments on commit 78d5af4

Please sign in to comment.
Something went wrong with that request. Please try again.