diff --git a/app-emacs/imaxima/ChangeLog b/app-emacs/imaxima/ChangeLog new file mode 100644 --- /dev/null +++ b/app-emacs/imaxima/ChangeLog @@ -0,0 +1,99 @@ +# ChangeLog for app-emacs/imaxima +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-emacs/imaxima/ChangeLog,v 1.22 2009/03/18 16:09:18 ulm Exp $ + + 18 Mar 2009; Ulrich Mueller imaxima-0.99.ebuild, + imaxima-1.0_rc2.ebuild: + Remove breqn from list of alternative dependencies. + + 28 Feb 2009; Ulrich Mueller imaxima-0.99.ebuild, + imaxima-1.0_rc2.ebuild: + Remove version restriction from maxima dependency. + +*imaxima-1.0_rc2 (23 Feb 2009) + + 23 Feb 2009; Ulrich Mueller files/50imaxima-gentoo.el, + +imaxima-1.0_rc2.ebuild: + Version bump. Add examples USE flag. + + 04 Sep 2008; Ulrich Mueller imaxima-0.99.ebuild: + Fix texlive dependency, thanks aballier. + + 04 May 2008; Ulrich Mueller -imaxima-0.98-r1.ebuild: + Remove old. + + 29 Apr 2008; Sébastien Fabbro + imaxima-0.98-r1.ebuild, imaxima-0.99.ebuild: + Added dependency blocking to maxima version >= 5.15, since imaxima is + included in these later versions + +*imaxima-0.99 (22 Feb 2008) + + 22 Feb 2008; Ulrich Mueller -imaxima-0.97a.ebuild, + imaxima-0.98-r1.ebuild, +imaxima-0.99.ebuild: + Version bump. Change TeX dependency to virtual/latex-base. Remove old. + +*imaxima-0.98-r1 (23 Nov 2007) + + 23 Nov 2007; Ulrich Mueller files/50imaxima-gentoo.el, + imaxima-0.97a.ebuild, -imaxima-0.98.ebuild, +imaxima-0.98-r1.ebuild: + Install Emacs Lisp files in a subdirectory of site-lisp. + + 03 Nov 2007; Ulrich Mueller imaxima-0.98.ebuild: + Inherit elisp instead of elisp-common; restore src_compile. + +*imaxima-0.98 (03 Nov 2007) + + 03 Nov 2007; Sébastien Fabbro +imaxima-0.98.ebuild: + Version bump + + 06 Oct 2007; Ulrich Mueller imaxima-0.94b.ebuild, + imaxima-0.97.ebuild, imaxima-0.97a.ebuild: + Remove redundant virtual/emacs dependency. Add some quotes. + +*imaxima-0.97a (31 Jul 2007) + + 31 Jul 2007; Sébastien Fabbro + +imaxima-0.97a.ebuild: + Version bump + + 23 Feb 2007; Sébastien Fabbro metadata.xml: + added longdescription in metadata.xml from gentooscience overlay. + +*imaxima-0.97 (23 Feb 2007) + + 23 Feb 2007; Christian Faulhammer + -files/imaxima-imaxima.el.patch, metadata.xml, -imaxima-0.9.ebuild, + +imaxima-0.97.ebuild: + version bump, fixes bug 157133; remove old version and an unused patch; + added emacs team to metadata.xml + + 21 Feb 2007; Piotr Jaroszyński ChangeLog: + Transition to Manifest2. + + 31 Oct 2006; Jeff Gardner + +files/imaxima-0.94b-imaxima.el.patch: + Added imaxima-0.94b-imaxima.el.patch + +*imaxima-0.94b (31 Oct 2006) + + 31 Oct 2006; Jeff Gardner + +files/imaxima-imaxima.el.patch, +imaxima-0.94b.ebuild: + Update to address bug #136289. + + 24 Aug 2005; Matthew Kennedy imaxima-0.9.ebuild: + Removing ~amd64. + + 01 Jul 2005; Matthew Kennedy imaxima-0.9.ebuild: + Keywording ~amd64 + + 28 Nov 2004; Joseph Jezak imaxima-0.9.ebuild: + Marked ~ppc for bug #72351. + +*imaxima-0.9 (09 Oct 2004) + + 09 Oct 2004; Mamoru KOMACHI +metadata.xml, + +files/50imaxima-gentoo.el, +imaxima-0.9.ebuild: + Initial import. Ebuild submitted by Cliff Yapp and + P.L.Hayes , closing bug #60148. + diff --git a/app-emacs/imaxima/Manifest b/app-emacs/imaxima/Manifest new file mode 100644 --- /dev/null +++ b/app-emacs/imaxima/Manifest @@ -0,0 +1,7 @@ +AUX 50imaxima-gentoo.el 200 RMD160 864328bcbe3063e492ceb9c278aca3b4e2a10b34 SHA1 a07868de6a36dd525c04119b9b177d7c53d764eb SHA256 c899d2497215a0e98275dc20e052e361b4f77f0e977be3568e95ca57e8a8791a +DIST imaxima-imath-0.99.tar.gz 176070 RMD160 6b807043815625758dde51fefd61a4bddedb9505 SHA1 ca66cf449aeb9a83d687c1e131b4b611dd3ed123 SHA256 72a172448f1848f023e3e84154df8d1f9d234fd5a2d551d1f26c070896b4d282 +DIST imaxima-imath-1.0rc2.tar.gz 399982 RMD160 17e4895416ba4485584b3c855a4a164e8b324fb1 SHA1 2124012990cacca057b48351b3de08087f0e94f0 SHA256 ce86692e035bb8a5e546e6761709caea6ce3e0ad12f10e97de2474483a14b842 +EBUILD imaxima-0.99.ebuild 1135 RMD160 0ff0f0ef4c253c88fc86fbd99cc7ceb29cad2b65 SHA1 d43b0a945ea2230f2dbe3706f5beef6779f87bd2 SHA256 969214f285d59ca1e697a9267cd2153980588f8caafbf3577c09ec571ffe43c0 +EBUILD imaxima-1.0_rc2.ebuild 1176 RMD160 e3fe6f506f0861b31a9eb59e990330d163c05425 SHA1 0d568b55c53e09941accc8e0c40a5190bc495d6d SHA256 74eb3c78ea3ac389c6d6e904936fc472d3a745f015b292737cb20f053349a1c4 +MISC ChangeLog 3478 RMD160 0b2a8bc897b3f242a1726d30eca237534ec3d51d SHA1 c7091e376e6be5ad5635719a1d1ea511068302fc SHA256 27359b0fc80c55ba01fa1fd8ae9d38efa1fc33a0339cba8a154faec62756a22f +MISC metadata.xml 709 RMD160 67388418aa6d6c63178d7434cb3cb8a99dfc04b0 SHA1 6f18f91f69d8e650398673ded5cdf8f25a31ce61 SHA256 44e217de8c5f40e329de8f4b32f620aca544791358329f8a9717c9d68f089c2a diff --git a/app-emacs/imaxima/files/50imaxima-gentoo.el b/app-emacs/imaxima/files/50imaxima-gentoo.el new file mode 100644 --- /dev/null +++ b/app-emacs/imaxima/files/50imaxima-gentoo.el @@ -0,0 +1,6 @@ + +;;; imaxima site-lisp configuration + +(add-to-list 'load-path "@SITELISP@") +(autoload 'imaxima "imaxima" "Image support for Maxima." t) +(autoload 'imath-mode "imath" "Interactive Math minor mode." t) diff --git a/app-emacs/imaxima/imaxima-0.99.ebuild b/app-emacs/imaxima/imaxima-0.99.ebuild new file mode 100644 --- /dev/null +++ b/app-emacs/imaxima/imaxima-0.99.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emacs/imaxima/imaxima-0.99.ebuild,v 1.5 2009/03/18 16:09:18 ulm Exp $ + +inherit elisp + +MY_P="${PN}-imath-${PV}" +DESCRIPTION="Imaxima enables graphical output in Maxima sessions with emacs" +HOMEPAGE="http://members3.jcom.home.ne.jp/imaxima/Site/Welcome.html" +SRC_URI="http://members3.jcom.home.ne.jp/imaxima/Site/Download_and_Install_files/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~ppc" +IUSE="" + +DEPEND="" +RDEPEND="virtual/latex-base + virtual/ghostscript + || ( dev-tex/mh =dev-texlive/texlive-mathextra-2007* ) + sci-mathematics/maxima" + +SITEFILE="50${PN}-gentoo.el" +S="${WORKDIR}/${MY_P}" + +src_compile() { + econf --with-lispdir="${SITELISP}/${PN}" || die "econf failed" + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + elisp-site-file-install "${FILESDIR}/${SITEFILE}" \ + || die "elisp-site-file-install failed" + dodoc ChangeLog NEWS README || die + docinto imath-example + dodoc imath-example/*.txt || die +} diff --git a/app-emacs/imaxima/imaxima-1.0_rc2.ebuild b/app-emacs/imaxima/imaxima-1.0_rc2.ebuild new file mode 100644 --- /dev/null +++ b/app-emacs/imaxima/imaxima-1.0_rc2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emacs/imaxima/imaxima-1.0_rc2.ebuild,v 1.3 2009/03/18 16:09:18 ulm Exp $ + +inherit elisp + +MY_P="${PN}-imath-${PV/_}" +DESCRIPTION="Imaxima enables graphical output in Maxima sessions with emacs" +HOMEPAGE="http://members3.jcom.home.ne.jp/imaxima/Site/Welcome.html" +SRC_URI="http://members3.jcom.home.ne.jp/imaxima/Site/Download_and_Install_files/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="examples" + +DEPEND="" +RDEPEND="virtual/latex-base + virtual/ghostscript + || ( dev-tex/mh =dev-texlive/texlive-mathextra-2007* ) + sci-mathematics/maxima" + +SITEFILE="50${PN}-gentoo.el" +S="${WORKDIR}/${MY_P}" + +src_compile() { + econf --with-lispdir="${SITELISP}/${PN}" || die "econf failed" + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die + dodoc ChangeLog NEWS README || die + + if use examples; then + docinto imath-example + dodoc imath-example/*.txt || die + dohtml -r imath-example/. || die + fi +} diff --git a/app-emacs/imaxima/metadata.xml b/app-emacs/imaxima/metadata.xml new file mode 100644 --- /dev/null +++ b/app-emacs/imaxima/metadata.xml @@ -0,0 +1,15 @@ + + + +sci-mathematics +emacs + + Imaxima provides support for interacting with the computer algebra system + Maxima in an Emacs buffer. Imaxima processes the output from Maxima with TeX + and inserts the resulting image in the buffer. The command imaxima provides + a simple comint derived CLI mode. The command imaxima-latex prepares a LaTeX + version of the Maxima buffer. Imaxima can also be hooked in to the Emacs + mode included with Maxima, which provides more key bindings and other + conveniences. + + diff --git a/dev-util/mercurial/files/mercurial-1.1.2-wsgi.patch b/dev-util/mercurial/files/mercurial-1.1.2-wsgi.patch new file mode 100644 --- /dev/null +++ b/dev-util/mercurial/files/mercurial-1.1.2-wsgi.patch @@ -0,0 +1,21 @@ +From http://www.selenic.com/mercurial/bts/file636/modwsgi.diff, http://www.selenic.com/mercurial/bts/issue1095, by chmullig 2008/06/08 +diff -r d90d83ebea9e mercurial/ui.py +--- a/mercurial/ui.py Tue Jun 03 12:10:14 2008 +0200 ++++ b/mercurial/ui.py Sat Jun 07 22:58:36 2008 -0400 +@@ -385,12 +385,14 @@ + + def write_err(self, *args): + try: +- if not sys.stdout.closed: sys.stdout.flush() ++ try: sys.stdout.flush() ++ except: pass + for a in args: + sys.stderr.write(str(a)) + # stderr may be buffered under win32 when redirected to files, + # including stdout. +- if not sys.stderr.closed: sys.stderr.flush() ++ try: sys.stderr.flush() ++ except: pass + except IOError, inst: + if inst.errno != errno.EPIPE: + raise diff --git a/dev-util/mercurial/files/mercurial-1.1.2-wsgi.patch~ b/dev-util/mercurial/files/mercurial-1.1.2-wsgi.patch~ new file mode 100644 --- /dev/null +++ b/dev-util/mercurial/files/mercurial-1.1.2-wsgi.patch~ @@ -0,0 +1,20 @@ +diff -r d90d83ebea9e mercurial/ui.py +--- a/mercurial/ui.py Tue Jun 03 12:10:14 2008 +0200 ++++ b/mercurial/ui.py Sat Jun 07 22:58:36 2008 -0400 +@@ -385,12 +385,14 @@ + + def write_err(self, *args): + try: +- if not sys.stdout.closed: sys.stdout.flush() ++ try: sys.stdout.flush() ++ except: pass + for a in args: + sys.stderr.write(str(a)) + # stderr may be buffered under win32 when redirected to files, + # including stdout. +- if not sys.stderr.closed: sys.stderr.flush() ++ try: sys.stderr.flush() ++ except: pass + except IOError, inst: + if inst.errno != errno.EPIPE: + raise diff --git a/dev-util/mercurial/mercurial-1.1.2.ebuild b/dev-util/mercurial/mercurial-1.1.2.ebuild new file mode 100644 --- /dev/null +++ b/dev-util/mercurial/mercurial-1.1.2.ebuild @@ -0,0 +1,125 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/mercurial/mercurial-1.0.2.ebuild,v 1.7 2008/10/17 08:04:41 aballier Exp $ + +inherit bash-completion elisp-common flag-o-matic eutils distutils + +DESCRIPTION="Scalable distributed SCM" +HOMEPAGE="http://www.selenic.com/mercurial/" +SRC_URI="http://www.selenic.com/mercurial/release/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="bugzilla emacs gpg test tk zsh-completion" + +CDEPEND=">=dev-lang/python-2.3" +RDEPEND="${CDEPEND} + bugzilla? ( dev-python/mysql-python ) + gpg? ( app-crypt/gnupg ) + tk? ( dev-lang/tk ) + zsh-completion? ( app-shells/zsh )" +DEPEND="${CDEPEND} + emacs? ( virtual/emacs ) + test? ( app-arch/unzip + dev-python/pygments )" + +PYTHON_MODNAME="${PN} hgext" +SITEFILE="70${PN}-gentoo.el" + +src_unpack() { + distutils_src_unpack + cd "${S}" + epatch "${FILESDIR}/${P}-wsgi.patch" +} + +src_compile() { + filter-flags -ftracer -ftree-vectorize + + distutils_src_compile + + if use emacs; then + cd "${S}"/contrib + elisp-compile mercurial.el || die "elisp-compile failed!" + fi + + rm -rf contrib/{win32,macosx} +} + +src_install() { + distutils_src_install + + dobashcompletion contrib/bash_completion ${PN} + + if use zsh-completion ; then + insinto /usr/share/zsh/site-functions + newins contrib/zsh_completion _hg + fi + + rm -f doc/*.?.txt + dodoc CONTRIBUTORS PKG-INFO README doc/*.txt + cp hgweb*.cgi "${D}"/usr/share/doc/${PF}/ + + dobin contrib/hgk + dobin contrib/hg-relink + dobin contrib/hg-ssh + + rm -f contrib/hgk contrib/hg-relink contrib/hg-ssh + + rm -f contrib/bash_completion + cp -r contrib "${D}"/usr/share/doc/${PF}/ + doman doc/*.? + + cat > "${T}/80mercurial" <<-EOF +HG=/usr/bin/hg +EOF + doenvd "${T}/80mercurial" + + if use emacs; then + elisp-install ${PN} contrib/mercurial.el* || die "elisp-install failed!" + elisp-site-file-install "${FILESDIR}"/${SITEFILE} + fi +} + +src_test() { + local testdir="${T}/tests" + mkdir -p -m1777 "${testdir}" || die + cd "${S}/tests/" + rm -f *svn* # Subversion tests fail with 1.5 + rm -f test-convert-baz* # GNU Arch baz + rm -f test-convert-cvs* # CVS + rm -f test-convert-darcs* # Darcs + rm -f test-convert-git* # git + rm -f test-convert-mtn* # monotone + rm -f test-convert-tla* # GNU Arch tla + rm -f test-doctest* # doctest always fails with python 2.5.x + if ! has userpriv ${FEATURES}; then + einfo "Removing tests which require user privileges to succeed" + rm -f test-command-template # Test is broken when run as root + rm -f test-convert # Test is broken when run as root + rm -f test-lock-badness # Test is broken when run as root + rm -f test-permissions # Test is broken when run as root + rm -f test-pull-permission # Test is broken when run as root + fi + einfo "Running Mercurial tests ..." + python run-tests.py --tmpdir="${testdir}" || die "test failed" +} + +pkg_postinst() { + distutils_pkg_postinst + use emacs && elisp-site-regen + bash-completion_pkg_postinst + + elog "If you want to convert repositories from other tools using convert" + elog "extension please install correct tool:" + elog " dev-util/cvs" + elog " dev-util/darcs" + elog " dev-util/git" + elog " dev-util/monotone" + elog " dev-util/subversion" +} + +pkg_postrm() { + distutils_pkg_postrm + use emacs && elisp-site-regen +} diff --git a/net-irc/unrealircd/unrealircd-3.2.8.ebuild b/net-irc/unrealircd/unrealircd-3.2.8.ebuild new file mode 100644 --- /dev/null +++ b/net-irc/unrealircd/unrealircd-3.2.8.ebuild @@ -0,0 +1,155 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-irc/unrealircd/unrealircd-3.2.7-r2.ebuild,v 1.4 2008/08/11 21:31:36 ricmm Exp $ + +inherit eutils autotools ssl-cert versionator multilib + +MY_P=Unreal${PV} + +DESCRIPTION="aimed to be an advanced (not easy) IRCd" +HOMEPAGE="http://www.unrealircd.com/" +SRC_URI="http://unreal.brueggisite.de/${MY_P}.tar.gz + http://www.blurryfox.com/unreal/${MY_P}.tar.gz + mirror://gentoo/${MY_P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~mips ppc sparc x86 ~x86-fbsd" +IUSE="hub ipv6 ssl zlib curl prefixaq showlistmodes" + +RDEPEND="ssl? ( dev-libs/openssl ) + zlib? ( sys-libs/zlib ) + curl? ( net-misc/curl ) + dev-libs/tre + >=net-dns/c-ares-1.5.3-r1" +DEPEND="${RDEPEND} + >=sys-apps/sed-4" + +S="${WORKDIR}/Unreal$(get_version_component_range 1-2)" + +pkg_setup() { + if use curl && ( ! built_with_use net-misc/curl ares || built_with_use net-misc/curl ipv6 ) + then + eerror "You need net-misc/curl compiled with the ares USE flag to be able to use" + eerror "net-irc/unrealircd with the curl USE flag. Please note that ares support" + eerror "for net-misc/curl is incompatible with the ipv6 USE flag." + die "need net-misc/curl with ares support" + fi + + enewuser unrealircd +} + +src_unpack() { + unpack ${A} + cd "${S}" + +#QA check against bundled pkgs: + rm extras/*.gz + + sed -i \ + -e "s:ircd\.pid:/var/run/unrealircd/ircd.pid:" \ + -e "s:ircd\.log:/var/log/unrealircd/ircd.log:" \ + -e "s:debug\.log:/var/log/unrealircd/debug.log:" \ + -e "s:ircd\.tune:/var/lib/unrealircd/ircd.tune:" \ + include/config.h + + epatch "${FILESDIR}"/unrealircd-system-tre_2.patch || die "epatch failed" +# && epatch "${FILESDIR}"/unrealircd-system-cares.patch || die "epatch failed" + + mv autoconf/configure.in ./ + mv autoconf/aclocal.m4 ./acinclude.m4 + #can't call eautoreconf because aclocal's source files aren't even in unearlircd's svn! + eaclocal || die "eaclocal failed" + eautoconf || die "eautoconf failed" +} + +src_compile() { + local myconf="" + use curl && myconf="${myconf} --enable-libcurl=/usr" + use ipv6 && myconf="${myconf} --enable-inet6" + use zlib && myconf="${myconf} --enable-ziplinks" + use hub && myconf="${myconf} --enable-hub" + use ssl && myconf="${myconf} --enable-ssl" + use prefixaq && myconf="${myconf} --enable-prefixaq" + use showlistmodes && myconf="${myconf} --with-showlistmodes" + + econf \ + --with-listen=5 \ + --with-dpath="${D}"/etc/unrealircd \ + --with-spath=/usr/bin/unrealircd \ + --with-nick-history=2000 \ + --with-sendq=3000000 \ + --with-bufferpool=18 \ + --with-hostname=$(hostname -f) \ + --with-permissions=0600 \ + --with-fd-setsize=1024 \ + --enable-dynamic-linking \ + ${myconf} \ + || die "econf failed" + + sed -i \ + -e "s:${D}::" \ + include/setup.h \ + ircdcron/ircdchk + + emake MAKE=make IRCDDIR=/etc/unrealircd || die "emake failed" +} + +src_install() { + keepdir /var/{lib,log,run}/unrealircd + + newbin src/ircd unrealircd + + exeinto /usr/$(get_libdir)/unrealircd/modules + doexe src/modules/*.so + + dodir /etc/unrealircd + dosym /var/lib/unrealircd /etc/unrealircd/tmp + + insinto /etc/unrealircd + doins {badwords.*,help,spamfilter,dccallow}.conf + newins doc/example.conf unrealircd.conf + + insinto /etc/unrealircd/aliases + doins aliases/*.conf + insinto /etc/unrealircd/networks + doins networks/*.network + + sed -i \ + -e s:src/modules:/usr/$(get_libdir)/unrealircd/modules: \ + -e s:ircd\\.log:/var/log/unrealircd/ircd.log: \ + "${D}"/etc/unrealircd/unrealircd.conf + + dodoc \ + Changes Donation Unreal.nfo networks/makenet \ + ircdcron/{ircd.cron,ircdchk} \ + || die "dodoc failed" + dohtml doc/*.html + + newinitd "${FILESDIR}"/unrealircd.rc unrealircd + newconfd "${FILESDIR}"/unrealircd.confd unrealircd + + fperms 700 /etc/unrealircd + chown -R unrealircd "${D}"/{etc,var/{lib,log,run}}/unrealircd +} + +pkg_postinst() { + # Move docert call from scr_install() to install_cert in pkg_postinst for + # bug #201682 + use ssl && \ + if [[ ! -f "${ROOT}"/etc/unrealircd/server.cert.key ]]; then + install_cert /etc/unrealircd/server.cert + chown unrealircd "${ROOT}"/etc/unrealircd/server.cert.* + ln -snf server.cert.key "${ROOT}"/etc/unrealircd/server.key.pem + fi + + elog + elog "UnrealIRCd will not run until you've set up /etc/unrealircd/unrealircd.conf" + elog + elog "You can find example cron scripts here:" + elog " /usr/share/doc/${PF}/ircd.cron.gz" + elog " /usr/share/doc/${PF}/ircdchk.gz" + elog + elog "You can also use /etc/init.d/unrealircd to start at boot" + elog +}