parent
b7a5621dec
commit
64ef05993f
@ -1,2 +1,3 @@
|
||||
DIST eselect-1.3.8.tar.xz 168040 SHA256 d0c50bfe0faaddc54fc184f698ee74a6029a21f5155c4670a2bea3ead954c138 SHA512 159bf3ddb05b1966318eaf62d09e454a024f8be7ead2300392abbcbaa54ef748a1c4db1b2f96162994bcab43071396eb96a0b47268f04cb8557f8804818da18e WHIRLPOOL 9c4da0bde2ae2b53e8949d59b13498f55ef2c849dcc8cac503a7d0dda2511311d94dfc7aa27a97432f13aa0b430fec0ab280594dc165bbb40e573dce8c8a74b0
|
||||
DIST eselect-1.4.4.tar.xz 177536 SHA256 120c123eae4a1d03515e94f9efd51af6ff2f09340daf1ada4dc21079df7a937f SHA512 1ed01cf00e3f13aad3e5f844c7086c3dd48398efd76e68cd91cf13b9939f4b48eef8915c5f3926954d158023115ad66ee67c0bc8fc4c9570900a37207674fc8f WHIRLPOOL e56c3ea3e54bdbcfffba3fbbe85b3c824cab796a0bae2680fac962356a2f707783571a9f73e0ea8299098838e593bea77b14edbeaadc372f186c2da2928e9ab5
|
||||
DIST eselect-1.4.5.tar.xz 175992 SHA256 15beabb4c2afab4f833ceb2a66859849a5c20b8f8d61366ffe4b556a200d5f12 SHA512 d561b66386ac90335041e8fb88dd85cbe98ea32a98eab309a5fb07de1b9fe10c50dcdd03f93632d4bc938c1729ddb0954fa37482eb7856a87c24f41a7bc29a35 WHIRLPOOL e18839e9ff0ea1af03c6246533e72d39f9f7eb61f28d6cec3ff1a571374f23f7d55751c1f20bfb99c40fb44a81b5754b6c92d62c98f6b1b45dc8bf388b54db40
|
||||
|
@ -0,0 +1,60 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils bash-completion-r1
|
||||
|
||||
DESCRIPTION="Gentoo's multi-purpose configuration and management tool"
|
||||
HOMEPAGE="http://wiki.gentoo.org/wiki/Project:Eselect"
|
||||
SRC_URI="http://dev.gentoo.org/~ulm/eselect/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2+ || ( GPL-2+ CC-BY-SA-3.0 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc emacs vim-syntax"
|
||||
|
||||
RDEPEND="sys-apps/sed
|
||||
|| (
|
||||
sys-apps/coreutils
|
||||
sys-freebsd/freebsd-bin
|
||||
app-misc/realpath
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/xz-utils
|
||||
doc? ( dev-python/docutils )"
|
||||
RDEPEND="${RDEPEND}
|
||||
sys-apps/file
|
||||
sys-libs/ncurses"
|
||||
|
||||
PDEPEND="emacs? ( app-emacs/eselect-mode )
|
||||
vim-syntax? ( app-vim/eselect-syntax )"
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
use doc && emake html
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
newbashcomp misc/${PN}.bashcomp ${PN}
|
||||
dodoc AUTHORS ChangeLog NEWS README TODO doc/*.txt
|
||||
use doc && dohtml *.html doc/*
|
||||
|
||||
# needed by news module
|
||||
keepdir /var/lib/gentoo/news
|
||||
if ! use prefix; then
|
||||
fowners root:portage /var/lib/gentoo/news
|
||||
fperms g+w /var/lib/gentoo/news
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# fowners in src_install doesn't work for the portage group:
|
||||
# merging changes the group back to root
|
||||
if ! use prefix; then
|
||||
chgrp portage "${EROOT}/var/lib/gentoo/news" \
|
||||
&& chmod g+w "${EROOT}/var/lib/gentoo/news"
|
||||
fi
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST install-mask-0.0.2.tar.bz2 4247 SHA256 7d43c980fdbcecb11d500af9cd091f5e26f3d8c54f6044d63e378bafdc67c9d8 SHA512 3f0686c720d26448cf76742ebee22f5413973b8cab7122373f4122576991497bbe72fa0fddef01e83c8148dac749e3a5c2d865fdf917794a5fea0e6823f2743e WHIRLPOOL 157b40ea394e7d25a79b8f63b1f2118c4a8abbd45d6825ba67187412870812ec0c582fbdef96fb0c34e33524dc594eb904de72676608b5842c3958ab252183b9
|
||||
DIST install-mask-0.1.1.tar.bz2 4241 SHA256 e81cfccc1b382816911598fb432a85ac9242fd2bc50203b12dcbcae3ee956203 SHA512 461f58b4e6fc41bfbe60d713a6d02eec8fe0a4e9ed8a19f8e155174b27f8e3d93c739e2ccce8ab34488ba31649ee585d7b23033dc94f19aa2e3b2033f21f5e79 WHIRLPOOL 4d229ae5c2d01a78daf002565a2699213e98eeed1e0e22d3240b4bc4fcacf147e9ab0a63d3b6e191e474c2869c112a8ad2bf7e4945263cdf43f44b4a568cd3e8
|
||||
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_3} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Handle INSTALL_MASK setting in make.conf"
|
||||
HOMEPAGE="https://bitbucket.org/mgorny/install-mask/"
|
||||
SRC_URI="https://www.bitbucket.org/mgorny/${PN}/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~mips ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="app-portage/flaggie[${PYTHON_USEDEP}]
|
||||
dev-python/lxml[${PYTHON_USEDEP}]"
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
insinto /usr/share/portage/config/sets
|
||||
doins "${FILESDIR}"/${PN}.conf
|
||||
}
|
@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit autotools-utils
|
||||
|
||||
DESCRIPTION="A repository commit helper"
|
||||
HOMEPAGE="https://bitbucket.org/gentoo/repo-commit/"
|
||||
SRC_URI="https://www.bitbucket.org/gentoo/${PN}/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
|| (
|
||||
>=sys-apps/portage-2.2.0_alpha86
|
||||
( >=sys-apps/portage-2.1.10.30
|
||||
<sys-apps/portage-2.2.0_alpha )
|
||||
app-portage/gentoolkit-dev
|
||||
)
|
||||
sys-apps/portage"
|
@ -0,0 +1,136 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
# Old ebuild to help with people doing live upgrades w/old portage versions.
|
||||
# We use the bundled versions of readline & termcap to avoid external deps
|
||||
# (which in turn would require those packages to keep an old EAPI version).
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs
|
||||
|
||||
# Official patchlevel
|
||||
# See ftp://ftp.cwru.edu/pub/bash/bash-4.3-patches/
|
||||
PLEVEL=${PV##*_p}
|
||||
MY_PV=${PV/_p*}
|
||||
MY_PV=${MY_PV/_/-}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
[[ ${PV} != *_p* ]] && PLEVEL=0
|
||||
patches() {
|
||||
local opt=$1 plevel=${2:-${PLEVEL}} pn=${3:-${PN}} pv=${4:-${MY_PV}}
|
||||
[[ ${plevel} -eq 0 ]] && return 1
|
||||
eval set -- {1..${plevel}}
|
||||
set -- $(printf "${pn}${pv/\.}-%03d " "$@")
|
||||
if [[ ${opt} == -s ]] ; then
|
||||
echo "${@/#/${DISTDIR}/}"
|
||||
else
|
||||
local u
|
||||
for u in ftp://ftp.cwru.edu/pub/bash mirror://gnu/${pn} ; do
|
||||
printf "${u}/${pn}-${pv}-patches/%s " "$@"
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
DESCRIPTION="The standard GNU Bourne again shell"
|
||||
HOMEPAGE="http://tiswww.case.edu/php/chet/bash/bashtop.html"
|
||||
SRC_URI="mirror://gnu/bash/${MY_P}.tar.gz $(patches)"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86"
|
||||
# Note: We export this because portage wants it enabled.
|
||||
IUSE="+readline"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${MY_P}.tar.gz
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Include official patches
|
||||
[[ ${PLEVEL} -gt 0 ]] && epatch $(patches -s)
|
||||
|
||||
# Avoid regenerating docs after patches #407985
|
||||
sed -i -r '/^(HS|RL)USER/s:=.*:=:' doc/Makefile.in || die
|
||||
touch -r . doc/*
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-4.3-compat-lvl.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.3-append-process-segfault.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.3-mapfile-improper-array-name-validation.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.3-arrayfunc.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=()
|
||||
|
||||
# For descriptions of these, see config-top.h
|
||||
# bashrc/#26952 bash_logout/#90488 ssh/#24762
|
||||
append-cppflags \
|
||||
-DDEFAULT_PATH_VALUE=\'\"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"\' \
|
||||
-DSTANDARD_UTILS_PATH=\'\"/bin:/usr/bin:/sbin:/usr/sbin\"\' \
|
||||
-DSYS_BASHRC=\'\"/etc/bash/bashrc\"\' \
|
||||
-DSYS_BASH_LOGOUT=\'\"/etc/bash/bash_logout\"\' \
|
||||
-DNON_INTERACTIVE_LOGIN_SHELLS \
|
||||
-DSSH_SOURCE_BASHRC
|
||||
|
||||
# Force internal copy of termcap to be used (to avoid ncurses dep).
|
||||
export bash_cv_termcap_lib=gnutermcap
|
||||
|
||||
# Disable the plugins logic by hand since bash doesn't
|
||||
# provide a way of doing it.
|
||||
export ac_cv_func_dl{close,open,sym}=no \
|
||||
ac_cv_lib_dl_dlopen=no ac_cv_header_dlfcn_h=no
|
||||
sed -i \
|
||||
-e '/LOCAL_LDFLAGS=/s:-rdynamic::' \
|
||||
configure || die
|
||||
|
||||
tc-export AR #444070
|
||||
econf \
|
||||
--docdir='$(datarootdir)'/doc/${PF} \
|
||||
--htmldir='$(docdir)/html' \
|
||||
--disable-nls \
|
||||
--without-curses \
|
||||
--without-afs \
|
||||
--disable-net-redirections \
|
||||
--disable-profiling \
|
||||
--disable-mem-scramble \
|
||||
--without-bash-malloc \
|
||||
--enable-readline \
|
||||
--enable-history \
|
||||
--enable-bang-history \
|
||||
"${myconf[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local f
|
||||
|
||||
emake DESTDIR="${D}" install || die
|
||||
|
||||
dodir /bin
|
||||
mv "${D}"/usr/bin/bash "${D}"/bin/ || die
|
||||
dosym bash /bin/rbash
|
||||
|
||||
insinto /etc/bash
|
||||
doins "${FILESDIR}"/bash_logout
|
||||
newins "${FILESDIR}"/bashrc-r2 bashrc
|
||||
keepdir /etc/bash/bashrc.d
|
||||
insinto /etc/skel
|
||||
for f in bash{_logout,_profile,rc} ; do
|
||||
newins "${FILESDIR}"/dot-${f} .${f}
|
||||
done
|
||||
|
||||
local sed_args=(
|
||||
-e "s:#${USERLAND}#@::"
|
||||
-e '/#@/d'
|
||||
)
|
||||
sed -i \
|
||||
"${sed_args[@]}" \
|
||||
"${D}"/etc/skel/.bashrc \
|
||||
"${D}"/etc/bash/bashrc || die
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST rnv-1.7.11.tar.xz 140904 SHA256 4ab920f1e4d60841bdc17dbed72ae735bf825af8a9d9eda99165a13be7cc9de6 SHA512 e706ae6cc9b55032b23c0ce4ce728f426727c20d0291f9ea4369221c5b3d59f29ad477c6da4992a9bda7c583078498faabc06a9865081517aeac81b2d2fec212 WHIRLPOOL fb6ea2d27917557dcee74316114a80ea644b09ab499f294ae080356f774a321f0e83491842fe4c1591f105d51eda618f741ee4c61bd82632566a24413b23de6d
|
||||
DIST rnv-1.7.11.zip 211316 SHA256 39ed53271f20517a55aa74ad5e393dca407e14512a31ecac4c223378bdd4a6ac SHA512 0d9457015e35177144eb88f6d6234e8d94c3a5a45f26f961b4aaba892bf92c0ddcaf0e037cf3fbbeecf110399760e182c20973e6ba32d1223d2f82600582a28e WHIRLPOOL fe82f65b68e55a7f607d7fb0cc200e83e6882c71226095894615822e68d06e20aebb85e80028edd3c5d4881f47779e42a26947d03757c1391ff8a1dc1a5ab175
|
||||
|
@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit unpacker toolchain-funcs
|
||||
|
||||
DESCRIPTION="A lightweight Relax NG Compact Syntax validator"
|
||||
HOMEPAGE="http://www.davidashen.net/rnv.html"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="scheme"
|
||||
|
||||
RDEPEND="dev-libs/expat
|
||||
scheme? ( dev-scheme/scm[libscm] )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e "/^AR/s/ar/$(tc-getAR)/" Makefile.in || die 'sed on Makefile.in failed'
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
LIBS="-ldl -lm" \
|
||||
econf $(use_with scheme scm /usr)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dodoc readme.txt
|
||||
}
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit dotnet autotools base
|
||||
|
||||
SLOT="2"
|
||||
DESCRIPTION="gnome bindings for mono"
|
||||
HOMEPAGE="http://www.mono-project.com/GtkSharp"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~x86 ~ppc ~x86-fbsd"
|
||||
SRC_URI="mirror://gnome/sources/gnome-sharp/2.24/${P}.tar.bz2"
|
||||
IUSE="debug"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-dotnet/gtk-sharp-2.12.21:2
|
||||
gnome-base/gconf
|
||||
gnome-base/libgnomecanvas
|
||||
gnome-base/libgnomeui
|
||||
media-libs/libart_lgpl
|
||||
!dev-dotnet/gnomevfs-sharp
|
||||
!dev-dotnet/gconf-sharp
|
||||
!dev-dotnet/art-sharp
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/automake:1.11"
|
||||
|
||||
src_prepare() {
|
||||
base_src_prepare
|
||||
eautoreconf
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable debug)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dotnet_multilib_comply
|
||||
}
|
@ -0,0 +1,60 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit dotnet autotools base
|
||||
|
||||
SLOT="2"
|
||||
DESCRIPTION="gtk bindings for mono"
|
||||
LICENSE="GPL-2"
|
||||
HOMEPAGE="http://www.mono-project.com/GtkSharp"
|
||||
KEYWORDS="~amd64 ~x86 ~ppc"
|
||||
SRC_URI="http://download.mono-project.com/sources/gtk-sharp212/${P}.tar.gz"
|
||||
IUSE="debug"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-lang/mono-3.0
|
||||
x11-libs/pango
|
||||
>=dev-libs/glib-2.31
|
||||
dev-libs/atk
|
||||
x11-libs/gtk+:2
|
||||
gnome-base/libglade
|
||||
dev-perl/XML-LibXML
|
||||
!dev-dotnet/gtk-sharp-gapi
|
||||
!dev-dotnet/gtk-sharp-docs
|
||||
!dev-dotnet/gtk-dotnet-sharp
|
||||
!dev-dotnet/gdk-sharp
|
||||
!dev-dotnet/glib-sharp
|
||||
!dev-dotnet/glade-sharp
|
||||
!dev-dotnet/pango-sharp
|
||||
!dev-dotnet/atk-sharp"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
sys-devel/automake:1.11"
|
||||
|
||||
src_prepare() {
|
||||
base_src_prepare
|
||||
eautoreconf
|
||||
libtoolize
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf --disable-static \
|
||||
--disable-dependency-tracking \
|
||||
--disable-maintainer-mode \
|
||||
$(use_enable debug)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dotnet_multilib_comply
|
||||
sed -i "s/\\r//g" "${D}"/usr/bin/* || die "sed failed"
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST nuget-2.8.3.tar.gz 14240757 SHA256 8ca0cc2e3ec753338472011c8591c2e4d924e81bd12d9fab1c24d5a4903c61ec SHA512 a1447042f77fdb0d63caaf49d64208ac0ab072ab1caf7f5edaeb936f3e26fac7ad80c3af51b12086cb2b9bb63df32e8da244894c4cd4946373ff86cb7a4e130d WHIRLPOOL cc4cb8fb7f8e92f756c5aa05022e6cca843cace591cfe3f8ea585f286d4002eb8b255cf8946cd9c3e3b3945480ddfe30868b4ad1e069329bb59f8b37051cf990
|
@ -0,0 +1,11 @@
|
||||
--- work.orig/nuget-Release-2.8.1-MonoDevelop/src/Core/Core.csproj 2014-10-29 13:28:28.000000000 +0300
|
||||
+++ work/nuget-Release-2.8.1-MonoDevelop/src/Core/Core.csproj 2015-03-06 10:55:17.783762949 +0300
|
||||
@@ -12,6 +12,8 @@
|
||||
<TargetFrameworkProfile Condition=" '$(MonoBuild)' == '' And '$(TargetFrameworkVersion)' == 'v4.0' "></TargetFrameworkProfile>
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
+ <SignAssembly>true</SignAssembly>
|
||||
+ <AssemblyOriginatorKeyFile>rsa-4096.snk</AssemblyOriginatorKeyFile>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="..\..\Common\CommonResources.resx">
|
Binary file not shown.
@ -0,0 +1,34 @@
|
||||
--- work.unpacked/nuget-Release-2.8.1-MonoDevelop/src/Core/Core.csproj 2015-03-06 18:32:27.255819553 +0300
|
||||
+++ work/nuget-Release-2.8.1-MonoDevelop/src/Core/Core.csproj 2015-03-06 18:51:33.240779088 +0300
|
||||
@@ -221,9 +221,7 @@
|
||||
<Compile Include="Utility\VersionSpec.cs" />
|
||||
<Compile Include="Utility\WebRequestEventArgs.cs" />
|
||||
<Compile Include="FileModifiers\XdtTransformer.cs" />
|
||||
- <Reference Include="Microsoft.Web.XmlTransform">
|
||||
- <HintPath>..\..\lib\Microsoft.Web.XmlTransform.dll</HintPath>
|
||||
- </Reference>
|
||||
+ <Reference Include="Microsoft.Web.XmlTransform, Version=2.8.1.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" />
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.ComponentModel.DataAnnotations" />
|
||||
<Reference Include="System.Core" />
|
||||
--- work.unpacked/nuget-Release-2.8.1-MonoDevelop/src/CommandLine/CommandLine.csproj 2015-03-06 18:32:27.265819553 +0300
|
||||
+++ work/nuget-Release-2.8.1-MonoDevelop/src/CommandLine/CommandLine.csproj 2015-03-06 18:52:00.471778127 +0300
|
||||
@@ -30,10 +35,6 @@
|
||||
<Reference Include="Microsoft.Build.Engine" />
|
||||
<Reference Include="Microsoft.Build.Framework" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
- <Reference Include="Microsoft.Web.XmlTransform, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
- <SpecificVersion>False</SpecificVersion>
|
||||
- <HintPath>..\..\lib\Microsoft.Web.XmlTransform.dll</HintPath>
|
||||
- </Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.ComponentModel.Composition" />
|
||||
<Reference Include="System.ComponentModel.DataAnnotations" />
|
||||
@@ -41,6 +42,7 @@
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="WindowsBase" />
|
||||
+ <Reference Include="Microsoft.Web.XmlTransform, Version=2.8.1.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="..\..\Common\MsBuildProjectUtility.cs">
|
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>dotnet</herd>
|
||||
<use>
|
||||
</use>
|
||||
</pkgmetadata>
|
@ -0,0 +1,61 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit dotnet eutils
|
||||
|
||||
DESCRIPTION="Nuget - .NET Package Manager"
|
||||
HOMEPAGE="http://nuget.codeplex.com"
|
||||
SRC_URI="https://github.com/mrward/nuget/archive/Release-${PV}-MonoDevelop.tar.gz -> ${P}.tar.gz"
|
||||
S=${WORKDIR}/nuget-Release-${PV}-MonoDevelop
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE=""
|
||||
|
||||
# Mask 3.2.0 because of mcs compiler bug : http://stackoverflow.com/a/17926731/238232
|
||||
# it fixed in 3.2.3
|
||||
DEPEND=">=dev-lang/mono-3.2.3
|
||||
<=dev-dotnet/xdt-for-monodevelop-2.8.2"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
# note about blocking nuget:
|
||||
# there are at least two versions of it - on from mono, one from mrward
|
||||
# see https://bugzilla.xamarin.com/show_bug.cgi?id=27693
|
||||
# i think version from mrward is enough for now,
|
||||
# that is why there is no slotted install or two different names/locations
|
||||
|
||||
pkg_setup() {
|
||||
dotnet_pkg_setup
|
||||
mozroots --import --sync --machine
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's@RunTests@ @g' "${S}/Build/Build.proj" || die
|
||||
cp "${FILESDIR}/rsa-4096.snk" "${S}/src/Core/" || die
|
||||
epatch "${FILESDIR}/add-keyfile-option-to-csproj.patch"
|
||||
sed -i -E -e "s#(\[assembly: InternalsVisibleTo(.*)\])#/* \1 */#g" "src/Core/Properties/AssemblyInfo.cs" || die
|
||||
epatch "${FILESDIR}/strongnames-for-ebuild-2.8.1.patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
export EnableNuGetPackageRestore="true"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# xbuild Build/Build.proj /p:Configuration=Release /p:TreatWarningsAsErrors=false /tv:4.0 /p:TargetFrameworkVersion="v${FRAMEWORK}" /p:Configuration="Mono Release" /t:GoMono || die
|
||||
source ./build.sh || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
elog "Installing NuGet.Core.dll into GAC"
|
||||
egacinstall "src/Core/obj/Mono Release/NuGet.Core.dll"
|
||||
elog "Installing NuGet console application"
|
||||
insinto /usr/lib/mono/NuGet/"${FRAMEWORK}"/
|
||||
doins src/CommandLine/obj/Mono\ Release/NuGet.exe
|
||||
make_wrapper nuget "mono /usr/lib/mono/NuGet/${FRAMEWORK}/NuGet.exe"
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST xdt-for-monodevelop-2.8.3.tar.gz 50974 SHA256 fb1a92dd745ca564d7179113bef6ca4e719d75583b33ca2bc65b74ce89c5d3c4 SHA512 3770b1ad8aab9c85e0b93bbf42415130b83eccf766fee5a2d08fe276af01cbf31ff4ab4cac661df982587e5b83b8efc8cd733a79bc387d666526aeb146f79f02 WHIRLPOOL 75fcc1b9054de7c8f6ed0e99ea3cb40e1d60fbaa4a077c86ed018ed462ceb2194111133e6a66a46e503eb5cd6230e3d1c96d97ed0c2572e0571c872b501eb099
|
@ -0,0 +1,13 @@
|
||||
--- work.unpacked/xdt-Release-NuGet-2.8.1-Mono/XmlTransform/Microsoft.Web.XmlTransform.csproj 2014-10-26 21:16:30.000000000 +0300
|
||||
+++ work/xdt-Release-NuGet-2.8.1-Mono/XmlTransform/Microsoft.Web.XmlTransform.csproj 2015-03-06 16:51:31.859038709 +0300
|
||||
@@ -16,7 +16,9 @@
|
||||
<PropertyGroup Condition="!$(ExtensionsCommonTargetsExists)">
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
- </PropertyGroup>
|
||||
+ <SignAssembly>true</SignAssembly>
|
||||
+ <AssemblyOriginatorKeyFile>rsa-4096.snk</AssemblyOriginatorKeyFile>
|
||||
+ </PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU' AND !$(ExtensionsCommonTargetsExists)">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
@ -0,0 +1,12 @@
|
||||
--- work.unpacked/xdt-Release-NuGet-2.8.1-Mono/Microsoft.Web.XmlTransform.sln 2014-10-26 21:16:30.000000000 +0300
|
||||
+++ work/xdt-Release-NuGet-2.8.1-Mono/Microsoft.Web.XmlTransform.sln 2015-03-06 16:29:38.736085076 +0300
|
||||
@@ -12,9 +12,7 @@
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{22AC988D-26C0-43A9-8EB1-102DA31F0F8F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
- {22AC988D-26C0-43A9-8EB1-102DA31F0F8F}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{22AC988D-26C0-43A9-8EB1-102DA31F0F8F}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
- {22AC988D-26C0-43A9-8EB1-102DA31F0F8F}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{0684EE2A-6F30-4BC7-B5E7-8CBA15534E06}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{0684EE2A-6F30-4BC7-B5E7-8CBA15534E06}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{0684EE2A-6F30-4BC7-B5E7-8CBA15534E06}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
Binary file not shown.
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>dotnet</herd>
|
||||
<use>
|
||||
</use>
|
||||
</pkgmetadata>
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit dotnet eutils
|
||||
|
||||
DESCRIPTION="Microsoft's Xml Document Transformation library"
|
||||
HOMEPAGE="https://github.com/mrward/xdt"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
|
||||
SRC_URI="https://github.com/mrward/xdt/archive/Release-NuGet-${PV}-Mono.tar.gz -> xdt-for-monodevelop-${PV}.tar.gz"
|
||||
S=${WORKDIR}/xdt-Release-NuGet-${PV}-Mono
|
||||
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="|| ( dev-lang/mono )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
dotnet_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/disable-testproject-build-in-sln.patch"
|
||||
cp "${FILESDIR}/rsa-4096.snk" "${S}/XmlTransform" || die
|
||||
epatch "${FILESDIR}/add-keyfile-option-to-csproj.patch"
|
||||
sed -i -e "s/1.0.0/${PV}/g" "${S}/XmlTransform/Properties/AssemblyInfo.cs" || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
export EnableNuGetPackageRestore="true"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
exbuild Microsoft.Web.XmlTransform.sln
|
||||
}
|
||||
|
||||
src_install() {
|
||||
elog "Installing Microsoft.Web.XmlTransform.dll to GAC"
|
||||
egacinstall XmlTransform/bin/Release/Microsoft.Web.XmlTransform.dll
|
||||
}
|
@ -1,55 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
JAVA_PKG_IUSE="doc source examples"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="A generic, reliable, fast & flexible logging framework for Java"
|
||||
HOMEPAGE="http://logback.qos.ch/"
|
||||
SRC_URI="http://logback.qos.ch/dist/${PN}-${PV}.tar.gz
|
||||
http://dev.gentoo.org/~ercpe/distfiles/${CATEGORY}/${PN}/${P}-build.tar.bz2"
|
||||
|
||||
LICENSE="|| ( EPL-1.0 LGPL-2.1 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="tomcat"
|
||||
|
||||
CDEPEND="dev-java/janino:0
|
||||
dev-java/jansi:0
|
||||
java-virtuals/javamail:0
|
||||
java-virtuals/servlet-api:2.5
|
||||
dev-java/slf4j-api:0
|
||||
tomcat? ( www-servers/tomcat:7 )
|
||||
"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
>=virtual/jre-1.5"
|
||||
DEPEND="${CDEPEND}
|
||||
>=virtual/jdk-1.5"
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="true"
|
||||
EANT_GENTOO_CLASSPATH="janino,jansi,javamail,servlet-api-2.5,slf4j-api"
|
||||
EANT_GENTOO_CLASSPATH_EXTRA="${S}/${PN}-core/target/${PN}-core.jar"
|
||||
|
||||
java_prepare() {
|
||||
find "${S}" -name "*.jar" -delete || die
|
||||
|
||||
use tomcat || rm -r "${S}"/${PN}-access/src/main/java/ch/qos/logback/access/tomcat/ || die
|
||||
# remove the next line when we have jetty in the tree
|
||||
rm -r "${S}"/${PN}-access/src/main/java/ch/qos/logback/access/jetty/ || die
|
||||
|
||||
use tomcat && EANT_GENTOO_CLASSPATH+=",tomcat-7"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar "${S}"/${PN}-core/target/${PN}-core.jar
|
||||
java-pkg_dojar "${S}"/${PN}-access/target/${PN}-access.jar
|
||||
|
||||
use source && java-pkg_dosrc "${S}"/${PN}-core/src/main/java "${S}"/${PN}-access/src/main/java
|
||||
use doc && java-pkg_dojavadoc "${S}"/${PN}-core/target/site/apidocs
|
||||
use examples && java-pkg_doexamples "${S}"/${PN}-examples/src/main/java/chapters/*
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
--- src/relaxngcc/builder/SwitchBlockInfo.java.orig 2015-08-13 01:20:52.344000000 +0000
|
||||
+++ src/relaxngcc/builder/SwitchBlockInfo.java 2015-08-13 01:21:27.424000000 +0000
|
||||
@@ -66,8 +66,6 @@
|
||||
|
||||
if(prologue!=null) sv.add(prologue);
|
||||
|
||||
- //elsecode, nullならerrorHandleMethodで閉じる
|
||||
-
|
||||
CDBlock terminal = elsecode;
|
||||
if(terminal==null && errorHandleMethod!=null)
|
||||
terminal = new CDBlock(errorHandleMethod);
|
@ -0,0 +1,71 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="doc examples source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
MY_DATE="20031218"
|
||||
|
||||
DESCRIPTION="RELAX NG Compiler Compiler"
|
||||
HOMEPAGE="http://relaxngcc.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}-${MY_DATE}.zip"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=virtual/jre-1.6
|
||||
dev-java/msv:0
|
||||
dev-java/xsdlib:0
|
||||
dev-java/ant-core:0
|
||||
dev-java/iso-relax:0
|
||||
dev-java/relaxng-datatype:0"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.6
|
||||
app-arch/unzip"
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_DATE}"
|
||||
|
||||
java_prepare() {
|
||||
mv relaxngcc.jar relaxngcc.orig.zip || die
|
||||
|
||||
rm -v *.jar || die
|
||||
rm -v sample/*/*.class || die
|
||||
|
||||
mkdir lib || die
|
||||
cd lib || die
|
||||
|
||||
java-pkg_jarfrom msv
|
||||
java-pkg_jarfrom xsdlib
|
||||
java-pkg_jarfrom ant-core
|
||||
java-pkg_jarfrom iso-relax
|
||||
java-pkg_jarfrom relaxng-datatype
|
||||
|
||||
cd "${S}" || die
|
||||
|
||||
cp "${FILESDIR}/build.xml-1.12-r1" build.xml || die "cp failed"
|
||||
|
||||
epatch \
|
||||
"${FILESDIR}"/${PV}-*.patch \
|
||||
"${FILESDIR}"/"${P}"-SwitchBlockInfo.java.patch
|
||||
|
||||
rm -rf "src/relaxngcc/maven"
|
||||
java-pkg_filter-compiler jikes
|
||||
}
|
||||
|
||||
EANT_DOC_TARGET=""
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar "${PN}".jar
|
||||
|
||||
use source && java-pkg_dosrc src/*
|
||||
use examples && java-pkg_doexamples sample
|
||||
|
||||
dodoc readme.txt
|
||||
use doc && dohtml -r doc/en/*
|
||||
}
|
@ -1,4 +1,2 @@
|
||||
DIST ekopath-2015-06-29-installer.run 61567050 SHA256 b98b2b686a7a9624b81838a37b64d8bbfc450b40c7fdfd9957c8a1690a68d4a8 SHA512 e56a9436f837df8d7acd3b9789d50316002ff42b0139b9aa7025f63ad27d98c586715277f3818a10a443d28653a1afd52f69b7101b36afd40beb4594ecbd8f91 WHIRLPOOL 42fe5fc00e83990bcf7c05a76e861d86626d54249da58608d6925323a522f7f2dc5806807aa56deceacce701386163eb34d96344fda4c49bd9b71bedc029ae3b
|
||||
DIST ekopath-2015-07-07-installer.run 59012713 SHA256 7e0026405b38f46932fc5b11ebef4c828bc9c0cf05e85f365d314949a091bdd0 SHA512 c68a4b986e9f48ae70c891535a71238a43ba5afa5dcf36c900798292096abf245cc434b03dee8c9ad87e35d7ac1f27c361edcec41dae9989fee6092dd98f5fd3 WHIRLPOOL d32c2564d0c5240fa9c112224c52b38ec2a96062c69d6e4264e610e531258fc3bf8205c4c338890ece3cecf857ffa32cced2d20339f69f098e064bf96306c51e
|
||||
DIST ekopath-2015-08-03-installer.run 59079587 SHA256 21e2f3339321e0de09a3e5df250c2dc52aa2ad9c95534a19539c342817f14c2b SHA512 1628f9bfbbce19d666a7ea6158c0abf6a159ef7680854456cfa811fe2a55b9228b34105ce97894af6d714fe23d2d3f0b3f0829c6dec67dd1318b52b3bc541b09 WHIRLPOOL 0978ecb39a8ef3291f05730b17c4df86538a540d5b8f01da699ed821f2aab8da8578a7a0b19a5af74fa560b1ae7c4d6ac06d178aff49aa1fd4b3440b8aa5d0e5
|
||||
DIST ekopath-2015-08-09-installer.run 58521154 SHA256 7ecd2a03012e36851f69ab35f18905793212e2feae5c242f48d8f26722c5c1ca SHA512 f7da95fa987b262aafa434487cfb64340b2be754b8e119729de998c0ccddde3bbea4f3994ecd1643dbf5e49f3a48e6173be9d0102f7eb29e41d14f0914893a5b WHIRLPOOL d9cabf4787229ff2027569f7f73095a37b40c654ed0e201478a0e100cfa091ff82f3478c6b41c992288c4711823690bb0958cb1a9209ac595bb4930aaa99af4b
|
||||
DIST ekopath-2015-08-11-installer.run 59150939 SHA256 31f491e3744257ae87b735be418287ac4530bf525cd4c61fdb0f2438f0600e4b SHA512 ada2dc774247e5ea76f35f6f9311d58d99ec599e41befc0820650affae88be6916a2dd50bf9e67e4920db2ab16fc185fb088e523c1abc75ed7bfc5ec261e0eb1 WHIRLPOOL 721deca6bb973bf64219709cd0fc95907a2c5cfb447a295e45410939f700244197fd2a382ae537a847c10368af44fcbc538ddc9529769cfa4613eab118362df7
|
||||
|
@ -1,74 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit versionator multilib pax-utils
|
||||
|
||||
MY_PV=$(get_version_component_range 1-3)
|
||||
DATE=$(get_version_component_range 4)
|
||||
DATE=${DATE#p}
|
||||
DATE=${DATE:0:4}-${DATE:4:2}-${DATE:6}
|
||||
INSTALLER=${PN}-${DATE}-installer.run
|
||||
|
||||
DESCRIPTION="PathScale EKOPath Compiler Suite"
|
||||
HOMEPAGE="http://www.pathscale.com/ekopath-compiler-suite"
|
||||
SRC_URI="http://c591116.r16.cf2.rackcdn.com/${PN}/nightly/Linux/${INSTALLER}"
|
||||
|
||||
LICENSE="all-rights-reserved"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="!!app-arch/rpm"
|
||||
RDEPEND=""
|
||||
|
||||
RESTRICT="bindist mirror"
|
||||
|
||||
QA_PREBUILT="
|
||||
opt/${PN}/lib/${MY_PV}/x8664/*
|
||||
opt/${PN}/bin/*"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_unpack() {
|
||||
cp "${DISTDIR}/${INSTALLER}" "${S}/" || die
|
||||
chmod +x "${S}/${INSTALLER}" || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cat > 99${PN} <<-EOF
|
||||
PATH=${EROOT%/}/opt/${PN}/bin
|
||||
ROOTPATH=${EROOT%/}/opt/${PN}/bin
|
||||
LDPATH=${EROOT%/}/opt/${PN}/lib:${EROOT%/}/opt/${PN}/lib/${MY_PV}/x8664/64
|
||||
MANPATH=${EROOT%/}/opt/${PN}/docs/man
|
||||
EOF
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# EI_PAX marking is obsolete and PT_PAX breaks the binary.
|
||||
# We must use XT_PAX to run the installer.
|
||||
if [[ ${PAX_MARKINGS} == "XT" ]]; then
|
||||
pax-mark m "${INSTALLER}"
|
||||
fi
|
||||
|
||||
./"${INSTALLER}" \
|
||||
--prefix "${ED%/}/opt/${PN}" \
|
||||
--mode unattended || die
|
||||
|
||||
if [[ ! -d ${ED%/}/opt/${PN}/lib/${MY_PV} ]]; then
|
||||
local guess
|
||||
cd "${ED%/}/opt/${PN}/lib" && guess=( * )
|
||||
|
||||
if [[ ${guess[@]} ]]; then
|
||||
die "Incorrect release version in PV, guessing it should be: ${guess[*]}"
|
||||
else
|
||||
die "No libdir installed"
|
||||
fi
|
||||
fi
|
||||
[[ -x ${ED%}/opt/${PN}/bin/pathcc ]] || die "No pathcc executable was installed, your hardware is unsupported most likely"
|
||||
|
||||
rm -r "${ED}/opt/${PN}"/uninstall* || die
|
||||
doenvd 99${PN}
|
||||
}
|
@ -1,74 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit versionator multilib pax-utils
|
||||
|
||||
MY_PV=$(get_version_component_range 1-3)
|
||||
DATE=$(get_version_component_range 4)
|
||||
DATE=${DATE#p}
|
||||
DATE=${DATE:0:4}-${DATE:4:2}-${DATE:6}
|
||||
INSTALLER=${PN}-${DATE}-installer.run
|
||||
|
||||
DESCRIPTION="PathScale EKOPath Compiler Suite"
|
||||
HOMEPAGE="http://www.pathscale.com/ekopath-compiler-suite"
|
||||
SRC_URI="http://c591116.r16.cf2.rackcdn.com/${PN}/nightly/Linux/${INSTALLER}"
|
||||
|
||||
LICENSE="all-rights-reserved"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="!!app-arch/rpm"
|
||||
RDEPEND=""
|
||||
|
||||
RESTRICT="bindist mirror"
|
||||
|
||||
QA_PREBUILT="
|
||||
opt/${PN}/lib/${MY_PV}/x8664/*
|
||||
opt/${PN}/bin/*"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_unpack() {
|
||||
cp "${DISTDIR}/${INSTALLER}" "${S}/" || die
|
||||
chmod +x "${S}/${INSTALLER}" || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cat > 99${PN} <<-EOF
|
||||
PATH=${EROOT%/}/opt/${PN}/bin
|
||||
ROOTPATH=${EROOT%/}/opt/${PN}/bin
|
||||
LDPATH=${EROOT%/}/opt/${PN}/lib:${EROOT%/}/opt/${PN}/lib/${MY_PV}/x8664/64
|
||||
MANPATH=${EROOT%/}/opt/${PN}/docs/man
|
||||
EOF
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# EI_PAX marking is obsolete and PT_PAX breaks the binary.
|
||||
# We must use XT_PAX to run the installer.
|
||||
if [[ ${PAX_MARKINGS} == "XT" ]]; then
|
||||
pax-mark m "${INSTALLER}"
|
||||
fi
|
||||
|
||||
./"${INSTALLER}" \
|
||||
--prefix "${ED%/}/opt/${PN}" \
|
||||
--mode unattended || die
|
||||
|
||||
if [[ ! -d ${ED%/}/opt/${PN}/lib/${MY_PV} ]]; then
|
||||
local guess
|
||||
cd "${ED%/}/opt/${PN}/lib" && guess=( * )
|
||||
|
||||
if [[ ${guess[@]} ]]; then
|
||||
die "Incorrect release version in PV, guessing it should be: ${guess[*]}"
|
||||
else
|
||||
die "No libdir installed"
|
||||
fi
|
||||
fi
|
||||
[[ -x ${ED%}/opt/${PN}/bin/pathcc ]] || die "No pathcc executable was installed, your hardware is unsupported most likely"
|
||||
|
||||
rm -r "${ED}/opt/${PN}"/uninstall* || die
|
||||
doenvd 99${PN}
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST mono-2.10.9.tar.bz2 34038017 SHA256 541038cd4edd4a1c485638d49697d45015ef7483bcb21bb6165e4d7eb770c9a5 SHA512 426881873e7f9aaf01e1306bed7b3ac220082ca40dce91fa4f4f331944e8d91453b3cdcc4918882ab039ed694ae8819eeb787edf6a2ad42cc661614076725c01 WHIRLPOOL 93f54fbbf032fb60467fd4317630588d349c3dfb50158bad478bd3e2650fd3e8f12d45be372873b57626d4ac48f798646c3650590bbf731dc2f005ee618b8548
|
||||
DIST mono-3.12.1.tar.bz2 73487974 SHA256 5d8cf153af2948c06bc9fbf5088f6834868e4db8e5f41c7cff76da173732b60d SHA512 7ff87d95c347186347dc7a9ffb767112717de2b808f8f1b612c56c9eb70fdcc0c8f586989be44444509a2768e71854d8195567196c992cc2c5b184ecbe5ac190 WHIRLPOOL fe3a6cdb8bf4602ad1d1e43099b2a552005c315a232a7d2bddf0081a68e882228712af5301f18d3a890f454041c4a34d6f0926aaba34401ecfa702eecd9415c8
|
||||
DIST mono-4.0.3.20.tar.bz2 95987018 SHA256 976c0be3ab9b66361f48e8133c60b1b2942b88c44a7a11a19cd98f5ff64313fc SHA512 bbf65abb4d91aa65fd467a59dcc7c290f779ab9f8df9d82b56957893556ad8d13dc3cc85f3128145e0dd15aaa8b0ea872c4b66af4fd211243d368514f10a07cd WHIRLPOOL 9e7730c234dbf34a81637789a3ffee4ce37a1eaef6748f28a79875411d3c1d97cfbdce6146abfa7dde245e821fe52b2766bb7240637a8b8272788dffc5fd21ae
|
||||
|
@ -0,0 +1,265 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit linux-info mono eutils flag-o-matic multilib go-mono pax-utils
|
||||
|
||||
DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter"
|
||||
HOMEPAGE="http://www.mono-project.com/Main_Page"
|
||||
|
||||
LICENSE="MIT LGPL-2.1 GPL-2 BSD-4 NPL-1.1 Ms-PL GPL-2-with-linking-exception IDPL"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc ~ppc64 x86"
|
||||
|
||||
IUSE="minimal pax_kernel xen"
|
||||
|
||||
#Bash requirement is for += operator
|
||||
COMMONDEPEND="!dev-util/monodoc
|
||||
!minimal? ( =dev-dotnet/libgdiplus-${GO_MONO_REL_PV}* )
|
||||
ia64? ( sys-libs/libunwind )"
|
||||
RDEPEND="${COMMONDEPEND}
|
||||
|| ( www-client/links www-client/lynx )"
|
||||
|
||||
DEPEND="${COMMONDEPEND}
|
||||
sys-devel/bc
|
||||
virtual/yacc
|
||||
>=app-shells/bash-3.2
|
||||
pax_kernel? ( sys-apps/elfix )"
|
||||
|
||||
MAKEOPTS="${MAKEOPTS} -j1"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
pkg_setup() {
|
||||
if use kernel_linux
|
||||
then
|
||||
get_version
|
||||
if linux_config_exists
|
||||
then
|
||||
if linux_chkconfig_present SYSVIPC
|
||||
then
|
||||
einfo "CONFIG_SYSVIPC is set, looking good."
|
||||
else
|
||||
eerror "If CONFIG_SYSVIPC is not set in your kernel .config, mono will hang while compiling."
|
||||
eerror "See http://bugs.gentoo.org/261869 for more info."
|
||||
eerror "Please set CONFIG_SYSVIPC in your kernel .config if build fails."
|
||||
fi
|
||||
else
|
||||
ewarn "Was unable to determine your kernel .config"
|
||||
ewarn "Please note that if CONFIG_SYSVIPC is not set in your kernel .config, mono will hang while compiling."
|
||||
ewarn "See http://bugs.gentoo.org/261869 for more info."
|
||||
fi
|
||||
fi
|
||||
PATCHES=( "${FILESDIR}/${PN}-2.10.2-threads-access.patch"
|
||||
"${FILESDIR}/${PN}-2.10.9-CVE-2012-3382.patch"
|
||||
"${FILESDIR}/${PN}-2.10.9-CVE-2012-3543.patch"
|
||||
"${FILESDIR}/${PN}-2.10.9-CVE-2012-3543_2.patch" )
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
go-mono_src_prepare
|
||||
|
||||
# we need to sed in the paxctl-ng -mr in the runtime/mono-wrapper.in so it doesn't
|
||||
# get killed in the build process when MPROTECT is enabled. #286280
|
||||
# RANDMMAP kills the build process to #347365
|
||||
if use pax_kernel ; then
|
||||
ewarn "We are disabling MPROTECT on the mono binary."
|
||||
sed '/exec "/ i\paxctl-ng -mr "$r/@mono_runtime@"' -i "${S}"/runtime/mono-wrapper.in || die "Failed to sed mono-wrapper.in"
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# mono's build system is finiky, strip the flags
|
||||
strip-flags
|
||||
|
||||
# Remove this at your own peril. Mono will barf in unexpected ways.
|
||||
append-flags -fno-strict-aliasing
|
||||
|
||||
# NOTE: We need the static libs for now so mono-debugger works.
|
||||
# See http://bugs.gentoo.org/show_bug.cgi?id=256264 for details
|
||||
#
|
||||
# --without-moonlight since www-plugins/moonlight is not the only one
|
||||
# using mono: https://bugzilla.novell.com/show_bug.cgi?id=641005#c3
|
||||
#
|
||||
# --with-profile4 needs to be always enabled since it's used by default
|
||||
# and, otherwise, problems like bug #340641 appear.
|
||||
#
|
||||
# sgen fails on ppc, bug #359515
|
||||
|
||||
local myconf=""
|
||||
use ppc && myconf="${myconf} --with-sgen=no"
|
||||
go-mono_src_configure \
|
||||
--enable-static \
|
||||
--disable-quiet-build \
|
||||
--without-moonlight \
|
||||
--with-libgdiplus=$(use minimal && printf "no" || printf "installed" ) \
|
||||
$(use_with xen xen_opt) \
|
||||
--without-ikvm-native \
|
||||
--with-jit \
|
||||
--disable-dtrace \
|
||||
--with-profile4 \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_test() {
|
||||
echo ">>> Test phase [check]: ${CATEGORY}/${PF}"
|
||||
|
||||
export MONO_REGISTRY_PATH="${T}/registry"
|
||||
export XDG_DATA_HOME="${T}/data"
|
||||
export MONO_SHARED_DIR="${T}/shared"
|
||||
export XDG_CONFIG_HOME="${T}/config"
|
||||
export HOME="${T}/home"
|
||||
|
||||
emake -j1 check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
go-mono_src_install
|
||||
|
||||
# Remove files not respecting LDFLAGS and that we are not supposed to provide, see Fedora
|
||||
# mono.spec and http://www.mail-archive.com/mono-devel-list@lists.ximian.com/msg24870.html
|
||||
# for reference.
|
||||
rm -f "${ED}"/usr/$(get_libdir)/mono/2.0/mscorlib.dll.so
|
||||
rm -f "${ED}"/usr/$(get_libdir)/mono/2.0/mcs.exe.so
|
||||
}
|
||||
|
||||
#THINK!!!! Before touching postrm and postinst
|
||||
#Reference phase order:
|
||||
#pkg_preinst
|
||||
#pkg_prerm
|
||||
#pkg_postrm
|
||||
#pkg_postinst
|
||||
|
||||
pkg_preinst() {
|
||||
local symlink
|
||||
local NUNIT_DIR="/usr/$(get_libdir)/mono/nunit"
|
||||
local pv_atom
|
||||
if [[ "$(readlink "${ROOT}"/${NUNIT_DIR})" == *"mono-nunit"* ]]
|
||||
then
|
||||
for pv_atom in 2.2{,-r1,-r2,-r3,-r4} '2.4_pre*' '2.4_rc*' 2.4
|
||||
do
|
||||
if has_version "=dev-lang/mono-${pv_atom}"
|
||||
then
|
||||
einfo "If you just received a file collision warning message,"
|
||||
einfo "be advised that this is a known problem, which will now be fixed:"
|
||||
ebegin "Found broken symlinks created by $(best_version dev-lang/mono), fixing"
|
||||
for symlink in \
|
||||
"${ROOT}/${NUNIT_DIR}" \
|
||||
"${ROOT}/usr/$(get_libdir)/pkgconfig/nunit.pc" \
|
||||
"${ROOT}/usr/bin/nunit-console" \
|
||||
"${ROOT}/usr/bin/nunit-console2"
|
||||
do
|
||||
if [[ -L "${symlink}" ]]
|
||||
then
|
||||
rm -f "${symlink}" &> /dev/null
|
||||
fi
|
||||
done
|
||||
eend 0
|
||||
break
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
#pkg_postinst() {
|
||||
# elog "PLEASE TAKE NOTE!"
|
||||
# elog ""
|
||||
# elog "Some of the namespaces supported by Mono require extra packages to be installed."
|
||||
# elog "Below is a list of namespaces and the corresponding package you must install:"
|
||||
# elog ""
|
||||
# elog ">=x11-libs/cairo-1.6.4"
|
||||
# elog " Mono.Cairo"
|
||||
# elog "Also read:"
|
||||
# elog "http://www.mono-project.com/Mono.Cairo"
|
||||
# elog ""
|
||||
# elog ">=dev-db/firebird-2.0.4.13130.1"
|
||||
# elog " FirebirdSql.Data.Firebird"
|
||||
# elog "Also read:"
|
||||
# elog "http://www.mono-project.com/Firebird_Interbase"
|
||||
# elog ""
|
||||
# elog "dev-db/sqlite:3"
|
||||
# elog " Mono.Data.Sqlite"
|
||||
# elog "Also read:"
|
||||
# elog "http://www.mono-project.com/SQLite"
|
||||
# elog ""
|
||||
# elog ">=dev-db/oracle-instantclient-basic-10.2"
|
||||
# elog " System.Data.OracleClient"
|
||||
# elog "Also read:"
|
||||
# elog "http://www.mono-project.com/Oracle"
|
||||
# elog ""
|
||||
# elog "Mono also has support for packages that are not included in portage:"
|
||||
# elog ""
|
||||
# elog "No ebuild available:"
|
||||
# elog " IBM.Data.DB2"
|
||||
# elog "Also read: http://www.mono-project.com/IBM_DB2"
|
||||
# elog ""
|
||||
# elog "No ebuild needed:"
|
||||
# elog " Mono.Data.SybaseClient"
|
||||
# elog "Also read: http://www.mono-project.com/Sybase"
|
||||
#}
|
||||
|
||||
# NOTICE: THE COPYRIGHT FILES IN THE TARBALL ARE UNCLEAR!
|
||||
# WHENEVER YOU THINK SOMETHING IS GPL-2+, IT'S ONLY GPL-2
|
||||
# UNLESS MIGUEL DE ICAZA HIMSELF SAYS OTHERWISE.
|
||||
|
||||
# mono
|
||||
# The code we use is LGPL, but contributions must be made under the MIT/X11
|
||||
# license, so Novell can serve its paying customers. Exception is mono/man.
|
||||
# LICENSE="LGPL-2.1"
|
||||
|
||||
# mono/man
|
||||
# LICENSE="MIT"
|
||||
|
||||
# mcs/mcs
|
||||
# mcs/gmcs
|
||||
# LICENSE="GPL-2 MIT"
|
||||
|
||||
# tests
|
||||
# LICENSE="MIT"
|
||||
|
||||
# mcs/class
|
||||
# Except the listed exceptions:
|
||||
# LICENSE="MIT"
|
||||
|
||||
# mcs/class/ByteFX.Data
|
||||
# mcs/class/Npgsql
|
||||
# LICENSE="LGPL-2.1"
|
||||
|
||||
# mcs/class/FirebirdSql.Data.Firebird
|
||||
# LICENSE="IDPL"
|
||||
|
||||
# mcs/class/ICSharpCode.SharpZipLib
|
||||
# LICENSE="GPL-2-with-linking-exception"
|
||||
|
||||
# mcs/class/MicrosoftAjaxLibrary
|
||||
# LICENSE="Ms-Pl"
|
||||
|
||||
# mcs/class/Microsoft.JScript/Microsoft.JScript/TokenStream.cs
|
||||
# mcs/class/Microsoft.JScript/Microsoft.JScript/Token.cs
|
||||
# mcs/class/Microsoft.JScript/Microsoft.JScript/Parser.cs
|
||||
# mcs/class/Microsoft.JScript/Microsoft.JScript/Decompiler.cs
|
||||
# LICENSE="|| ( NPL-1.1 GPL-2 )"
|
||||
|
||||
# mcs/jay
|
||||
# LICENSE="BSD-4"
|
||||
|
||||
# mcs/tools
|
||||
# Except the listed exceptions:
|
||||
# LICENSE="MIT"
|
||||
|
||||
# mcs/tools/mdoc/Mono.Documentation/monodocs2html.cs
|
||||
# LICENSE="GPL-2"
|
||||
|
||||
# mcs/tools/sqlsharp/SqlSharpCli.cs
|
||||
# LICENSE="GPL-2"
|
||||
|
||||
# mcs/tools/csharp/repl.cs
|
||||
# LICENSE="|| ( MIT GPL-2 )"
|
||||
|
||||
# mcs/tools/mono-win32-setup.nsi
|
||||
# LICENSE="GPL-2"
|
||||
|
||||
# samples
|
||||
# LICENSE="MIT"
|
@ -1,2 +1,3 @@
|
||||
DIST bandit-0.12.0.tar.gz 65558 SHA256 3c147b507696f3a74a5cf3581cc3bb65a63df454fcf24db28c3d1baa765a3b04 SHA512 ef1d80f2ca09d427e6d48f983d696fb92eb12184fbdc13dfb170a73c5935f56f7e6bf3b4cf4d211598f884592e6fe2ca33f6d33732cf12e740f74d43ffe78457 WHIRLPOOL 1defd5dcb9d120585b10e72c51501373572e7d56c0e379ec587592fd53a381baf262a970956cd9fa4c2ad007697a1b7db9068d130b6cb3a33a00c40bb9c6a13c
|
||||
DIST bandit-0.13.0.tar.gz 73142 SHA256 4593957b236564599dec7c8b2da5b084f9b257213688a3a97b2643c04721eb66 SHA512 1605fb2e3e43a85ccf89a0b18c517082543d20b55149383d3704d71854817cfef3fd5e1095dd58e24efe0324ca9430fc8d7ab9f3e4f1db1ca0ffe7c4f8e17577 WHIRLPOOL 3becc739b966c2ff550988f04b1dbb03b285b120ff1f2bf4822a0b2277bdd2dc23f7e5c4d5ce6ea98dc45211d9ee7ed52f37e602f2d18558eacce356b81f79a5
|
||||
DIST bandit-0.13.1.tar.gz 68706 SHA256 e8383d751d0eacd0491e6821c6a176e317316ba3afd7005d11690467a091dd0c SHA512 c3d439f17c02b3ef24c52aa8044c414ffccb2e5e60b7d744d1ec20ff9aff40e6254626c032230da59ec2bf4d923bc16ef9f777b34a09b73cccb782b4f536d869 WHIRLPOOL c9f5ff8410f28fb361d50854b5e8750f3f71ce951e91d50570438282559c9fb92aadc38efb5b87b8d262a589ca5bcb2d8f410443a7d431c51729f310e64d217d
|
||||
|
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 python3_4 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A security linter from OpenStack Security"
|
||||
HOMEPAGE="https://openstack.org"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
CDEPEND="
|
||||
>=dev-python/pbr-1.3.0[${PYTHON_USEDEP}]
|
||||
<dev-python/pbr-2.0.0[${PYTHON_USEDEP}]"
|
||||
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
${CDEPEND}
|
||||
test? (
|
||||
>=dev-python/coverage-3.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}]
|
||||
>=dev-python/hacking-0.9.2[${PYTHON_USEDEP}]
|
||||
<dev-python/hacking-0.10[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/subunit-0.0.18[${PYTHON_USEDEP}]
|
||||
>=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
|
||||
>=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/testtools-0.9.36[${PYTHON_USEDEP}]
|
||||
!~dev-python/testtools-1.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
|
||||
!~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}]
|
||||
<dev-python/sphinx-1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-sphinx-2.5.0[${PYTHON_USEDEP}]
|
||||
)"
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
>=dev-python/appdirs-1.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-3.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.9.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/stevedore-1.5.0[${PYTHON_USEDEP}]"
|
||||
|
||||
python_test() {
|
||||
testr init
|
||||
testr run || die
|
||||
}
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{3,4} pypy pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN=${PN/-/_}
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
DESCRIPTION="Test vectors for the cryptography package"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/cryptography-vectors/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( Apache-2.0 BSD )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND=""
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
# only works with >=pypy-2.6
|
||||
PYTHON_COMPAT=( python2_7 python3_{3,4} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Library providing cryptographic recipes and primitives"
|
||||
HOMEPAGE="https://github.com/pyca/cryptography/ https://pypi.python.org/pypi/cryptography/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( Apache-2.0 BSD )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/openssl:0
|
||||
$(python_gen_cond_dep '>=dev-python/cffi-1.1.0:=[${PYTHON_USEDEP}]' 'python*')
|
||||
$(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' python2_7 python3_3 pypy)
|
||||
>=dev-python/idna-2.0[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep 'dev-python/ipaddress[${PYTHON_USEDEP}]' python2_7 pypy)
|
||||
>=dev-python/pyasn1-0.1.8[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.4.1[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
~dev-python/cryptography-vectors-${PV}[${PYTHON_USEDEP}]
|
||||
dev-python/iso8601[${PYTHON_USEDEP}]
|
||||
dev-python/pretend[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-2.4.2[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
DOCS=( AUTHORS.rst CONTRIBUTING.rst README.rst )
|
||||
|
||||
python_test() {
|
||||
py.test -v || die "Tests fail with ${EPYTHON}"
|
||||
}
|
@ -1,7 +1,6 @@
|
||||
DIST minitest-4.7.5.gem 57856 SHA256 3e0ac720a6d0787b4c822514739319493e187400e993fba96397bd64d58ae60e SHA512 7ea0a52d37f4631fb8b11d4389da2123e4207093f7b34c497fced8729c9086faaa35e997debdb53b694e05eb52b16e843960f0b54515c32207f87161a76c3851 WHIRLPOOL 49bbc557d62053b58208e6aef13dba085f393dbecd731b2915a0b885393ba2b4f1a612b46a018442d2f4fcfda9dfbe3025ae72d2946106a589623748fa4b382d
|
||||
DIST minitest-5.3.3.gem 67072 SHA256 b17c560235e6ab96ed243d7a821e4370af1316ad7a845188d22c56d7d71302d4 SHA512 e1ea2cea5b61231b3074aea1dfb15b104a4e8a6b361d274194b6876401c29f839be618eb7c0448a42bc51ce57f0c2fcd84a72d1b0e0ba034ec5ffe6fbf2ae509 WHIRLPOOL 66c72352b2cdeeeec494be4b2b0aac49153bce9d37c0dbcc9bb0eec4f4759d3f61fd12bbbda0a2a7f26bb75741033a4208da02f1f1a892ff3819bb597218d45f
|
||||
DIST minitest-5.4.3.gem 68608 SHA256 a41b54b1c6e64b102fe78bf265045896845c38177a10bdb32d04caf4e06542f3 SHA512 2a2df1502e449732d39da377c262d8c481e5b6399b39781c5d55fb0c3065f3dc4cdd326794a16731b2dbc970c40b4dc1399929913fcc2dd1f8ffb1f78df81a9f WHIRLPOOL c58bcc6ed3ead20ac4c6a8782a77686b2df13954b3a3a849730f40f150c21ba6052bcd2d78e9ce5f8f593c37a69f3502cceb0398bd58dcc87c99639bba854335
|
||||
DIST minitest-5.5.0.gem 68608 SHA256 0277c07738303b7184410a561cafb0252c66cb28f3784ea17e5640876811f8cf SHA512 fca7b6a01694a6bae3ce91a5c1eaae2bed9edf9c7bcfd0e923511005b333085c0dcbc0754369f8dd329814441275d51b70934782c16b46e55807d11f6a745831 WHIRLPOOL 5915b38151f109b4a9ab384e3540f5ff96fb4bee009393126569a0b8d04f3f9031d95ac3fbaba9cf82fbc52ea8f10e165b150c52366bcac6734575cefc9f8d6c
|
||||
DIST minitest-5.5.1.gem 68608 SHA256 d63b3136cc48295a1e80b6a3fb3638c3024e632ce53107ad3cc3f3fa32b012c1 SHA512 20763183a6170758705a9110c5e963e6baa210fb449335e529cefa5325f3fa8abdb30cb3e47eec051c4cc72b8f581e6e729748f5c0e28dedfad8f80e21cbc1ae WHIRLPOOL b0f88bc0151fea3eda5cc68c1eacaac3cfaa9001e4cd40ae9de88e3aa434e99653bbac94b0f6dac3cb7f2204460da04439aaed340f3b897a105ecd3e992418e0
|
||||
DIST minitest-5.6.1.gem 70656 SHA256 c293d497049aa663dc6332b940bdac9dd3052b62ccfe943c4fb5b130154f86b1 SHA512 4c4938e47e9af54938d27efc45629fb397670e826c50b3727f914d1cc8c39273b334ed77d4536315fcd8b4fe1db75dc65845856a09aaa77f4f9fb85c3b31702b WHIRLPOOL 2de8f9d9ae468925b4c13cb5ed85e6343b07b73486fb768f3ffdf67b467bd97c6244d8d72a0ad8849dc0db05a8a47c31ce7e67bab5ea35a9167b1aa023719ea9
|
||||
DIST minitest-5.7.0.gem 71680 SHA256 08ef10d1e6314fd0dc9a71ea697fd196d153d6bbffa8c6f7b8350973a772b867 SHA512 22eb2a37bb2f00e1798939d88bdeb8929e6ebd514ba3397e76b78873da7a2d3a5ad6b2889b8d21cb3f75d0211c485e87703396b9d038c05c2b52ff18557552de WHIRLPOOL a864cd94d9c5481498f7b153178a5295337c898597bd6fac12e3776c104cb8a296117f9b5916e1b7956fc156481d96bdd01cb2ed71c097f7ca9ed526dac3a37f
|
||||
DIST minitest-5.8.0.gem 71680 SHA256 875de2784b97b710da76c682e725095ca6c5142093a07474114e52cd6dea0953 SHA512 07ce4cff755ed1ec15f3f927793cca11468a714ae5ab2848ea97ce9b0d9c533dfdc2867df6f66609c7658ded4b1bd4012594356c0f253d1d977c707d4d54f5ee WHIRLPOOL 7ebd286097c5ca98729fc74e53618d4b83106d7ec440b0cffffb0d9d3856c514f6dab7b5671fd2ddf64f13576f82621cba8f49d52cab14fa0c252f0738ae4204
|
||||
|
@ -1,37 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21 ruby22"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="History.txt Manifest.txt README.txt"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="minitest/unit is a small and fast replacement for ruby's huge and slow test/unit"
|
||||
HOMEPAGE="https://github.com/seattlerb/minitest"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="5"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc test"
|
||||
|
||||
each_ruby_prepare() {
|
||||
case ${RUBY} in
|
||||
*rbx)
|
||||
# Avoid a single failing test for rbx while we are testing
|
||||
# and bootstrapping it.
|
||||
sed -i -e '/test_mock_args_does_not_raise/,/^ end/ s:^:#:' test/minitest/test_minitest_mock.rb || die
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -Ilib:test:. -e "Dir['**/test_*.rb'].each{|f| require f}" || die "Tests failed"
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST slib-3b1.zip 1063227 SHA256 8e3ec24d51be03ebb7357ad9a2f3554056b86dafbc9e48d1d491aeda1efa566f
|
||||
DIST slib-3b2.zip 1067021 SHA256 b1cb9c1b7c888e32918ebdd8fca80d9c875024b064bc6989e4700905873bcae8
|
||||
DIST slib3a5.zip 1055491 SHA256 3c4fbfc08de9220f456ed1cd58ca0fb49b4a8cdd4d03697fbea11d9407a16e30
|
||||
DIST slib-3b1.zip 1063227 SHA256 8e3ec24d51be03ebb7357ad9a2f3554056b86dafbc9e48d1d491aeda1efa566f SHA512 28eb997a094cfb0a97eb924ed7bd965bb094db773343529f1593446b507908ccdec3086c6ce0b6b938a9742ed84bd8f5f36b14911296549660cc4b301f84c977 WHIRLPOOL 5c5a20fca0ad605d3ade593449071ca3afdc47522b1158c3e013477811a3720e82ed742873de7b75c0354fa456725090357c214c7b638110b2438e874b3e242d
|
||||
DIST slib-3b2.zip 1067021 SHA256 b1cb9c1b7c888e32918ebdd8fca80d9c875024b064bc6989e4700905873bcae8 SHA512 199b5ddaffd1213dd144dc7f60de020029586babc83f702830d95a0d387c4f1aad9fcbe1603c0f8d4351e0ec1650fad745fd463a56c3bb86394e81eadae6afd5 WHIRLPOOL d31902c7780d528a1a130d5d8f3f77692b033a7227d6cf398a67829dcc8ad20976f55d7ac60b3ba7376ff4fd246b042f842674d05f10287799e24413d783da10
|
||||
DIST slib3a5.zip 1055491 SHA256 3c4fbfc08de9220f456ed1cd58ca0fb49b4a8cdd4d03697fbea11d9407a16e30 SHA512 62462f3ac308e8133801f77a1ee72d907639a5e9bb1c33d474afc58ee9272c59dcd4524f1a40cd99ad84b0bc5fb81d35ffacc7dfb4423b122244a7a7916071a9 WHIRLPOOL b27a1f0ede3e83ed3ae52e3f22a38074f8534e8f55fbb7e89f578e2f6ccb9ec879f2e75b511a8c55f2f40d8cd11ea6d52d2016745332ba25b80702d17330aba5
|
||||
|
@ -0,0 +1,123 @@
|
||||
# Fixes Texinfo input to compile with Texinfo 5 or later
|
||||
#
|
||||
# Written by Sebastian Pipping <sebastian@pipping.org>
|
||||
# Licensed under CC0 1.0 Universal Public Domain Dedication
|
||||
# https://creativecommons.org/publicdomain/zero/1.0/
|
||||
#
|
||||
# Version 0_p20150813_p0418
|
||||
|
||||
BEGIN {
|
||||
inside_deffn = 0
|
||||
inside_defmac = 0
|
||||
inside_defop = 0
|
||||
inside_deftp = 0
|
||||
inside_defun = 0
|
||||
}
|
||||
|
||||
/^@deffn / {
|
||||
if (inside_deffn) {
|
||||
print "@end deffn"
|
||||
}
|
||||
inside_deffn = 1
|
||||
}
|
||||
|
||||
/^@deffnx / {
|
||||
if (inside_deffn) {
|
||||
print "@end deffn"
|
||||
}
|
||||
sub(/^@deffnx/, "@deffn")
|
||||
inside_deffn = 1
|
||||
}
|
||||
|
||||
/^@defmac / {
|
||||
if (inside_defmac) {
|
||||
print "@end defmac"
|
||||
}
|
||||
inside_defmac = 1
|
||||
}
|
||||
|
||||
/^@defmacx / {
|
||||
if (inside_defmac) {
|
||||
print "@end defmac"
|
||||
}
|
||||
sub(/^@defmacx/, "@defmac")
|
||||
inside_defmac = 1
|
||||
}
|
||||
|
||||
/^@defop / {
|
||||
if (inside_defop) {
|
||||
print "@end defop"
|
||||
}
|
||||
inside_defop = 1
|
||||
}
|
||||
|
||||
/^@defopx / {
|
||||
if (inside_defop) {
|
||||
print "@end defop"
|
||||
}
|
||||
sub(/^@defopx/, "@defop")
|
||||
inside_defop = 1
|
||||
}
|
||||
|
||||
/^@deftp / {
|
||||
if (inside_deftp) {
|
||||
print "@end deftp"
|
||||
}
|
||||
inside_deftp = 1
|
||||
}
|
||||
|
||||
/^@deftpx / {
|
||||
if (inside_deftp) {
|
||||
print "@end deftp"
|
||||
}
|
||||
sub(/^@deftpx/, "@deftp")
|
||||
inside_deftp = 1
|
||||
}
|
||||
|
||||
/^@defun / {
|
||||
if (inside_defun) {
|
||||
print "@end defun"
|
||||
}
|
||||
inside_defun = 1
|
||||
}
|
||||
|
||||
/^@defunx / {
|
||||
if (inside_defun) {
|
||||
print "@end defun"
|
||||
}
|
||||
sub(/^@defunx/, "@defun")
|
||||
inside_defun = 1
|
||||
}
|
||||
|
||||
/^@end deffn/ {
|
||||
inside_deffn = 0
|
||||
}
|
||||
|
||||
/^@end defmac/ {
|
||||
inside_defmac = 0
|
||||
}
|
||||
|
||||
/^@end defop/ {
|
||||
inside_defop = 0
|
||||
}
|
||||
|
||||
/^@end deftp/ {
|
||||
inside_deftp = 0
|
||||
}
|
||||
|
||||
/^@end defun/ {
|
||||
inside_defun = 0
|
||||
}
|
||||
|
||||
/^@subsubsection/ {
|
||||
if (inside_deffn) {
|
||||
print "@end deffn"
|
||||
print $0
|
||||
print "@deffn {Dummy} Dummy"
|
||||
next
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
print
|
||||
}
|
@ -1 +1,9 @@
|
||||
DIST Microsoft.AspNet.Mvc.5.2.2.zip 298098 SHA256 4bd8c48bd03b9258781daa85f391369d13e6c880e23e285e585ef029c8af8ecb SHA512 567b1f9f9e5d355e3a128f028fae3d630c2cfd85a009433a4a08aa9893091c97f60f220665d4246529f1ec94f25c4a81a5708c0a1efd320d40a40f2cb16fead0 WHIRLPOOL daa7789ddef73c57357c7ea7acaef75f7d6d955c5e540849f11aa28a311f9b6cc288152ac9e4bfcd2b4634bf102a1f2c5fb027ba445e87109321d7ed8cba1062
|
||||
DIST Microsoft.AspNet.Razor.3.2.2.zip 149304 SHA256 adab42fed10e5a0c0c5ff8abd74b023f37d0bd35dbbb824d5fe1ff4dec5563b5 SHA512 7a75bbfd87bb17ee594061338f4010172c1e497863a4683b4139f24c316624bdfd48fe93aa5fffe12af9b4566400d2f13158e7913486bb8ba724723c5fe78032 WHIRLPOOL 28162c893f13ed7fac079c3d69d27286c6de5f2f8c89a86a92af7c0565a2989e2c2c87dbe16f679f36223fa9fe92d0918d30e3b3387bc30adc4f309fb5684d2d
|
||||
DIST Microsoft.AspNet.WebPages.3.2.2.zip 229034 SHA256 b4449201b141a17b7e4580fceb9125f9816a658eff900810c5ba98207d59dc9d SHA512 d48ac57c40b444196c26f3e044090a63b4cf736d2963e29de698da0980f46b09f3c862ec311140e1376bf635561fda7b0af7e868e543def727f7b71790619407 WHIRLPOOL 85f4f9e64fe4e38a7b3f7268dad818f53195c41d6fc82cef8e90718f9f806f2622d34ed263351c0905398711130d466d77e203cbd809209007312845a83dbedd
|
||||
DIST Microsoft.Web.Infrastructure.1.0.0.0.zip 24921 SHA256 d6a9d4e32222036aa0633f07aeccfa9d38ec22bef311442568499c12734bb4d7 SHA512 14d9af2e7e66d8b4d4fd1b36296568d1220887d124f94d288dec7bc5e0da487c3fce010fefb03cbd8e5c556814b41192f0c25f0c6367f2ba5725610841a3f04e WHIRLPOOL 4d8ebcb2888bc9fe06c1d4afd844465a4698cc8a94c838cf211212906745dda719aff0fe806f30278b1b08997e70edcb94c808ed001f1ca8846980244c5cd4c3
|
||||
DIST NUnit-2.5.10.11092.zip 2465370 SHA256 cc728a0b1747af90512233a6acd17d5fb3d9f65d775e083868638b1bfe2ab04c SHA512 dae192c1b83c5fdc7a13156c9289718996ff3a8dcfb6daacf9258c837b1c54c046ba7df8523e3afe0c9ceca7ba7a33ec45ce1050b65b5e58d57ae85c66969876 WHIRLPOOL 1b5f98b48a7721cfac17e2148fc3bd1000be207ae250c46327bee8b76e99bee07fb43a07f828e3b1f89bf388161fbe9e30453d7550978eb596181d7f010debf3
|
||||
DIST NUnit.2.6.3.zip 98508 SHA256 f05ac5c83d5ce27a171f0b74bfe0c79891001c2f8840dd2717e3f3f74834612d SHA512 cc6616fcde14f07d58e97afa68641981a0ed7e94494a56f1ec0f4583758d515dc428451ed4bc239c7c3d347f35195598cca94e04b666169feaf74609c13dafcd WHIRLPOOL 2b91bf793a1752b74ed19d5b857123393f6abbbfc3521cead57edcb9cdd1c97ea7f4a39c062e74d873d0f7b27872872888f0230a3de082dd29dbe28e1c1ce633
|
||||
DIST NUnit.Runners.2.6.3.zip 572556 SHA256 6ba804daa96487ab2456b9cf676128e657a5dfff4c2f2165bce9ce4e530c9d63 SHA512 d124c804bd2112cb289283570df3738e276d112004b888a3a09f2d3ee62899fbcedb926f051b455911262a028abc9b91739159395b5d8e316851c73c4cce1afc WHIRLPOOL 1750e3b6a78dbac77c2b2c90ca8a4ac6e74e38d1d2d44303678a8b18f4e7773d4f34f23f58fac4a2977bb14ad53e0a179d83448a86c7a748d830658b99b996a9
|
||||
DIST System.Web.Mvc.Extensions.Mvc.4.1.0.9.zip 30309 SHA256 d274189ec21dd01e510eae823f4eadde5460ca44dbc55fe3ad315f54853191a7 SHA512 8d06cacf5e6c4872c387a38b1d1b59a33073f9b74fe769bab3bfff06a5d3acafd9aff03034a77512263a9055a876a26b77472b306e6beee5ececf8cab43935e2 WHIRLPOOL 0240b7b2726ae86f3ab261dddec2336b1dbde6cbb59816fd291ab20fab64863da9b11eec91288e6b6340abc406e7fdfbae6b06c93739bb64b5f817fa0f37ffb5
|
||||
DIST monodevelop-3.0.2.tar.bz2 17499208 SHA256 e214f5170c3d57a5ce1a9d9000b043f257d0b5f0bba985875010fc8217e27ff5 SHA512 e2bb19b1968dec96e0dcca0370bcda6666bad6e45ae8749ec2b65b96d7e7312e63c551c3fc7a508ea08c44e5bb3ee06d5c91123c3b74936eb50504263581f12f WHIRLPOOL 64d94a9506a5c6bacfa569a0bd896f85b134d585a6f54fa896da163fe384712432d02ad60c2b56518a44139fef53f47dc61728e84b181bb3d44d558ff69682f3
|
||||
|
@ -0,0 +1,47 @@
|
||||
Index: xamarin-pkg-monodevelop/src/addins/AspNet/Properties/MonoDevelop.AspNet.addin.xml
|
||||
===================================================================
|
||||
--- xamarin-pkg-monodevelop.orig/src/addins/AspNet/Properties/MonoDevelop.AspNet.addin.xml 2015-01-15 19:43:29.994850405 +0000
|
||||
+++ xamarin-pkg-monodevelop/src/addins/AspNet/Properties/MonoDevelop.AspNet.addin.xml 2015-01-15 19:51:12.746841738 +0000
|
||||
@@ -1,13 +1,13 @@
|
||||
<ExtensionModel>
|
||||
|
||||
<Runtime>
|
||||
- <Import assembly = "System.Web.Helpers.dll" />
|
||||
- <Import assembly = "System.Web.Mvc.dll" />
|
||||
- <Import assembly = "System.Web.Razor.dll" />
|
||||
- <Import assembly = "System.Web.WebPages.Deployment.dll" />
|
||||
- <Import assembly = "System.Web.WebPages.dll" />
|
||||
- <Import assembly = "System.Web.WebPages.Razor.dll" />
|
||||
-
|
||||
+<!-- <Import assembly = "System.Web.Helpers.dll" />
|
||||
+ <Import assembly = "System.Web.Mvc.dll" />
|
||||
+ <Import assembly = "System.Web.Razor.dll" />
|
||||
+ <Import assembly = "System.Web.WebPages.Deployment.dll" />
|
||||
+ <Import assembly = "System.Web.WebPages.dll" />
|
||||
+ <Import assembly = "System.Web.WebPages.Razor.dll" /> -->
|
||||
+
|
||||
<Import file = "Html/Schemas/xhtml1-strict.xsd" />
|
||||
<Import file = "Html/Schemas/xhtml1-transitional.xsd" />
|
||||
<Import file = "Html/Schemas/xhtml1-frameset.xsd" />
|
||||
@@ -202,10 +202,10 @@
|
||||
guid="{E53F8FEA-EAE0-44A6-8774-FFD645390401}"
|
||||
type="MonoDevelop.AspNet.Projects.AspMvc3Project"
|
||||
useXBuild="true" />
|
||||
- <DotNetProjectSubtype
|
||||
+<!-- <DotNetProjectSubtype
|
||||
guid="{E3E379DF-F4C6-4180-9B81-6769533ABE47}"
|
||||
type="MonoDevelop.AspNet.Projects.AspMvc4Project"
|
||||
- useXBuild="true" />
|
||||
+ useXBuild="true" /> -->
|
||||
<DotNetProjectSubtype
|
||||
id="MonoDevelop.AspNet.Projects.AspNetAppProject"
|
||||
guid="{349C5851-65DF-11DA-9384-00065B846F21}"
|
||||
@@ -216,7 +216,7 @@
|
||||
<Extension path = "/MonoDevelop/TypeSystem/Parser">
|
||||
<Parser class = "MonoDevelop.AspNet.WebForms.WebFormsParser" mimeType="application/x-aspx, application/x-ascx, application/x-master-page" />
|
||||
<Parser class = "MonoDevelop.AspNet.Html.HtmlParser" mimeType="text/html, application/x-spark" />
|
||||
- <Parser class = "MonoDevelop.AspNet.Razor.RazorCSharpParser" mimeType="text/x-cshtml" />
|
||||
+ <Parser class = "MonoDevelop.AspNet.Razor.RazorCSharpParser" mimeType="text/x-cshtml" />
|
||||
</Extension>
|
||||
|
||||
<Extension path = "/MonoDevelop/ProjectModel/SerializableClasses">
|
@ -0,0 +1,153 @@
|
||||
diff -rupN main.original/configure.in main/configure.in
|
||||
--- main.original/configure.in 2015-07-18 14:09:27.934561734 +0200
|
||||
+++ main/configure.in 2015-07-18 14:11:02.182316682 +0200
|
||||
@@ -133,13 +133,6 @@ PKG_CHECK_MODULES(MONODOC, monodoc >= $M
|
||||
AC_SUBST(MONODOC_LIBS)
|
||||
|
||||
dnl soft dependencies
|
||||
-PKG_CHECK_MODULES(GNOME_SHARP, gnome-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION, [gnome_sharp=yes], [gnome_sharp=no])
|
||||
-AC_SUBST(GNOME_SHARP_LIBS)
|
||||
-PKG_CHECK_MODULES(GNOME_VFS_SHARP, gnome-vfs-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION, [gnome_vfs_sharp=yes], [gnome_vfs_sharp=no])
|
||||
-AC_SUBST(GNOME_VFS_SHARP_LIBS)
|
||||
-PKG_CHECK_MODULES(GCONF_SHARP, gconf-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION, [gconf_sharp=yes], [gconf_sharp=no])
|
||||
-AC_SUBST(GCONF_SHARP_LIBS)
|
||||
-
|
||||
gtksharp_prefix="`$PKG_CONFIG --variable=prefix gtk-sharp-2.0`"
|
||||
AC_SUBST(gtksharp_prefix)
|
||||
|
||||
diff -rupN main.original/src/addins/GnomePlatform/GnomePlatform.cs main/src/addins/GnomePlatform/GnomePlatform.cs
|
||||
--- main.original/src/addins/GnomePlatform/GnomePlatform.cs 2015-07-18 18:40:15.946222126 +0200
|
||||
+++ main/src/addins/GnomePlatform/GnomePlatform.cs 2015-07-18 19:56:35.272686234 +0200
|
||||
@@ -26,7 +26,6 @@
|
||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
//
|
||||
|
||||
-using Gnome;
|
||||
using MonoDevelop.Ide.Desktop;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
@@ -40,44 +39,13 @@ namespace MonoDevelop.Platform
|
||||
{
|
||||
public class GnomePlatform : PlatformService
|
||||
{
|
||||
- static bool useGio;
|
||||
-
|
||||
- Gnome.ThumbnailFactory thumbnailFactory = new Gnome.ThumbnailFactory (Gnome.ThumbnailSize.Normal);
|
||||
-
|
||||
static GnomePlatform ()
|
||||
{
|
||||
try {
|
||||
Gio.GetDefaultForType ("text/plain");
|
||||
- useGio = true;
|
||||
} catch (Exception ex) {
|
||||
Console.WriteLine (ex);
|
||||
}
|
||||
- //apparently Gnome.Icon needs GnomeVFS initialized even when we're using GIO.
|
||||
- Gnome.Vfs.Vfs.Initialize ();
|
||||
- }
|
||||
-
|
||||
- DesktopApplication GetGnomeVfsDefaultApplication (string mimeType)
|
||||
- {
|
||||
- var app = Gnome.Vfs.Mime.GetDefaultApplication (mimeType);
|
||||
- if (app != null)
|
||||
- return (DesktopApplication) Marshal.PtrToStructure (app.Handle, typeof(DesktopApplication));
|
||||
- else
|
||||
- return null;
|
||||
- }
|
||||
-
|
||||
- IEnumerable<DesktopApplication> GetGnomeVfsApplications (string mimeType)
|
||||
- {
|
||||
- var def = GetGnomeVfsDefaultApplication (mimeType);
|
||||
- var list = new List<DesktopApplication> ();
|
||||
- var apps = Gnome.Vfs.Mime.GetAllApplications (mimeType);
|
||||
- foreach (var app in apps) {
|
||||
- var dap = (GnomeVfsApp) Marshal.PtrToStructure (app.Handle, typeof(GnomeVfsApp));
|
||||
- if (!string.IsNullOrEmpty (dap.Command) && !string.IsNullOrEmpty (dap.DisplayName) && !dap.Command.Contains ("monodevelop ")) {
|
||||
- var isDefault = def != null && def.Id == dap.Command;
|
||||
- list.Add (new GnomeDesktopApplication (dap.Command, dap.DisplayName, isDefault));
|
||||
- }
|
||||
- }
|
||||
- return list;
|
||||
}
|
||||
|
||||
public override IEnumerable<DesktopApplication> GetApplications (string filename)
|
||||
@@ -88,10 +56,7 @@ namespace MonoDevelop.Platform
|
||||
|
||||
IEnumerable<DesktopApplication> GetApplicationsForMimeType (string mimeType)
|
||||
{
|
||||
- if (useGio)
|
||||
- return Gio.GetAllForType (mimeType);
|
||||
- else
|
||||
- return GetGnomeVfsApplications (mimeType);
|
||||
+ return Gio.GetAllForType (mimeType);
|
||||
}
|
||||
|
||||
struct GnomeVfsApp {
|
||||
@@ -100,23 +65,15 @@ namespace MonoDevelop.Platform
|
||||
|
||||
protected override string OnGetMimeTypeDescription (string mt)
|
||||
{
|
||||
- if (useGio)
|
||||
- return Gio.GetMimeTypeDescription (mt);
|
||||
- else
|
||||
- return Gnome.Vfs.Mime.GetDescription (mt);
|
||||
+ return Gio.GetMimeTypeDescription (mt);
|
||||
}
|
||||
|
||||
protected override string OnGetMimeTypeForUri (string uri)
|
||||
{
|
||||
if (uri == null)
|
||||
return null;
|
||||
-
|
||||
- if (useGio) {
|
||||
- string mt = Gio.GetMimeTypeForUri (uri);
|
||||
- if (mt != null)
|
||||
- return mt;
|
||||
- }
|
||||
- return Gnome.Vfs.MimeType.GetMimeTypeForUri (ConvertFileNameToVFS (uri));
|
||||
+
|
||||
+ return Gio.GetMimeTypeForUri (uri);
|
||||
}
|
||||
|
||||
protected override bool OnGetMimeTypeIsText (string mimeType)
|
||||
@@ -128,19 +85,9 @@ namespace MonoDevelop.Platform
|
||||
return base.OnGetMimeTypeIsText (mimeType);
|
||||
}
|
||||
|
||||
-
|
||||
- public override void ShowUrl (string url)
|
||||
- {
|
||||
- Gnome.Url.Show (url);
|
||||
- }
|
||||
-
|
||||
public override string DefaultMonospaceFont {
|
||||
get {
|
||||
- try {
|
||||
- return (string) (new GConf.Client ().Get ("/desktop/gnome/interface/monospace_font_name"));
|
||||
- } catch (Exception) {
|
||||
- return "Monospace 11";
|
||||
- }
|
||||
+ return "Monospace 11";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -159,18 +106,8 @@ namespace MonoDevelop.Platform
|
||||
filename = EscapeFileName (filename);
|
||||
if (filename == null)
|
||||
return "gnome-fs-regular";
|
||||
-
|
||||
- string icon = null;
|
||||
- Gnome.IconLookupResultFlags result;
|
||||
- try {
|
||||
- icon = Gnome.Icon.LookupSync (IconTheme.Default, thumbnailFactory, filename, null,
|
||||
- Gnome.IconLookupFlags.None, out result);
|
||||
- } catch {}
|
||||
- if (icon != null && icon.Length > 0)
|
||||
- return icon;
|
||||
- }
|
||||
+ }
|
||||
return "gnome-fs-regular";
|
||||
-
|
||||
}
|
||||
|
||||
protected override Xwt.Drawing.Image OnGetIconForFile (string filename)
|
@ -0,0 +1,11 @@
|
||||
--- monodevelop-5.9.5.5.orig/Makefile 2015-07-18 18:40:15.414229154 +0200
|
||||
+++ monodevelop-5.9.5.5/Makefile 2015-07-18 19:39:03.782576863 +0200
|
||||
@@ -87,8 +87,6 @@ dist: update_submodules remove-stale-tar
|
||||
-name \*.dll -o \
|
||||
-name \*.mdb \) \
|
||||
-delete
|
||||
- @cd tarballs && tar -cjf monodevelop-$(PACKAGE_VERSION).tar.bz2 monodevelop-$(PACKAGE_VERSION)
|
||||
- @cd tarballs && rm -rf monodevelop-$(PACKAGE_VERSION)
|
||||
|
||||
aot:
|
||||
@for i in main/build/bin/*.dll; do ($(MONO_AOT) $$i &> /dev/null && echo AOT successful: $$i) || (echo AOT failed: $$i); done
|
@ -0,0 +1,73 @@
|
||||
diff -u -r work.unpacked/monodevelop-5.7/src/addins/AspNet/Templates/Projects/EmptyMvcProject.xpt.xml work/monodevelop-5.7/src/addins/AspNet/Templates/Projects/EmptyMvcProject.xpt.xml
|
||||
--- work.unpacked/monodevelop-5.7/src/addins/AspNet/Templates/Projects/EmptyMvcProject.xpt.xml 2015-03-07 11:16:24.869736145 +0300
|
||||
+++ work/monodevelop-5.7/src/addins/AspNet/Templates/Projects/EmptyMvcProject.xpt.xml 2015-03-07 11:17:12.990734446 +0300
|
||||
@@ -27,6 +27,7 @@
|
||||
<References>
|
||||
<Reference type="Package" refto="System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<Reference type="Package" refto="System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
+ <Reference type="Package" refto="System.Web.Mvc" />
|
||||
<Reference type="Package" refto="System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<Reference type="Package" refto="System.Core" />
|
||||
<Reference type="Package" refto="System.Web.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
diff -u -r work.unpacked/monodevelop-5.7/src/addins/AspNet/Templates/Projects/MvcProject.xpt.xml work/monodevelop-5.7/src/addins/AspNet/Templates/Projects/MvcProject.xpt.xml
|
||||
--- work.unpacked/monodevelop-5.7/src/addins/AspNet/Templates/Projects/MvcProject.xpt.xml 2015-03-07 11:16:24.869736145 +0300
|
||||
+++ work/monodevelop-5.7/src/addins/AspNet/Templates/Projects/MvcProject.xpt.xml 2015-03-07 11:18:08.101732500 +0300
|
||||
@@ -29,6 +29,7 @@
|
||||
<References>
|
||||
<Reference type="Package" refto="System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<Reference type="Package" refto="System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
+ <Reference type="Package" refto="System.Web.Mvc" />
|
||||
<Reference type="Package" refto="System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<Reference type="Package" refto="System.Core" />
|
||||
<Reference type="Package" refto="System.Web.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
diff -u -r work.unpacked/monodevelop-5.7/src/addins/AspNet/Templates/Projects/MvcProjectWithUnitTest.xpt.xml work/monodevelop-5.7/src/addins/AspNet/Templates/Projects/MvcProjectWithUnitTest.xpt.xml
|
||||
--- work.unpacked/monodevelop-5.7/src/addins/AspNet/Templates/Projects/MvcProjectWithUnitTest.xpt.xml 2015-03-07 11:16:24.869736145 +0300
|
||||
+++ work/monodevelop-5.7/src/addins/AspNet/Templates/Projects/MvcProjectWithUnitTest.xpt.xml 2015-03-07 11:18:31.693731667 +0300
|
||||
@@ -29,6 +29,7 @@
|
||||
<References>
|
||||
<Reference type="Package" refto="System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<Reference type="Package" refto="System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
+ <Reference type="Package" refto="System.Web.Mvc" />
|
||||
<Reference type="Package" refto="System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<Reference type="Package" refto="System.Core" />
|
||||
<Reference type="Package" refto="System.Web.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
@@ -93,6 +93,8 @@
|
||||
<References>
|
||||
<Reference type="Package" refto="System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<Reference type="Package" refto="System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
+ <Reference type="Package" refto="System.Web.Mvc" />
|
||||
+ <Reference type="Package" refto="NUnit.Framework" />
|
||||
<Reference type="Package" refto="System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<Reference type="Package" refto="System.Core" />
|
||||
<Reference type="Package" refto="System.Web.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
diff -u -r work.unpacked/monodevelop-5.7/src/addins/AspNet/Templates/Projects/MvcRazorProject.xpt.xml work/monodevelop-5.7/src/addins/AspNet/Templates/Projects/MvcRazorProject.xpt.xml
|
||||
--- work.unpacked/monodevelop-5.7/src/addins/AspNet/Templates/Projects/MvcRazorProject.xpt.xml 2015-03-07 11:16:24.869736145 +0300
|
||||
+++ work/monodevelop-5.7/src/addins/AspNet/Templates/Projects/MvcRazorProject.xpt.xml 2015-03-07 11:18:48.517731073 +0300
|
||||
@@ -29,6 +29,7 @@
|
||||
<References>
|
||||
<Reference type="Package" refto="System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<Reference type="Package" refto="System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
+ <Reference type="Package" refto="System.Web.Mvc" />
|
||||
<Reference type="Package" refto="System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<Reference type="Package" refto="System.Core" />
|
||||
<Reference type="Package" refto="System.Web.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
diff -u -r work.unpacked/monodevelop-5.7/src/addins/AspNet/Templates/Projects/MvcRazorProjectWithUnitTest.xpt.xml work/monodevelop-5.7/src/addins/AspNet/Templates/Projects/MvcRazorProjectWithUnitTest.xpt.xml
|
||||
--- work.unpacked/monodevelop-5.7/src/addins/AspNet/Templates/Projects/MvcRazorProjectWithUnitTest.xpt.xml 2015-03-07 11:16:24.869736145 +0300
|
||||
+++ work/monodevelop-5.7/src/addins/AspNet/Templates/Projects/MvcRazorProjectWithUnitTest.xpt.xml 2015-03-07 11:19:12.373730231 +0300
|
||||
@@ -29,6 +29,7 @@
|
||||
<References>
|
||||
<Reference type="Package" refto="System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<Reference type="Package" refto="System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
+ <Reference type="Package" refto="System.Web.Mvc" />
|
||||
<Reference type="Package" refto="System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<Reference type="Package" refto="System.Core" />
|
||||
<Reference type="Package" refto="System.Web.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
@@ -71,6 +71,8 @@
|
||||
<References>
|
||||
<Reference type="Package" refto="System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<Reference type="Package" refto="System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
+ <Reference type="Package" refto="System.Web.Mvc" />
|
||||
+ <Reference type="Package" refto="NUnit.Framework" />
|
||||
<Reference type="Package" refto="System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<Reference type="Package" refto="System.Core" />
|
||||
<Reference type="Package" refto="System.Web.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
@ -0,0 +1,369 @@
|
||||
diff -rupN monodevelop/configure monodevelop.nognome/configure
|
||||
--- monodevelop/configure 2015-04-28 11:55:36.000000000 +0300
|
||||
+++ monodevelop.nognome/configure 2015-05-27 12:40:15.073411758 +0300
|
||||
@@ -3711,224 +3711,6 @@ $as_echo "yes" >&6; }
|
||||
|
||||
fi
|
||||
|
||||
-
|
||||
-
|
||||
-pkg_failed=no
|
||||
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOME_SHARP" >&5
|
||||
-$as_echo_n "checking for GNOME_SHARP... " >&6; }
|
||||
-
|
||||
-if test -n "$GNOME_SHARP_CFLAGS"; then
|
||||
- pkg_cv_GNOME_SHARP_CFLAGS="$GNOME_SHARP_CFLAGS"
|
||||
- elif test -n "$PKG_CONFIG"; then
|
||||
- if test -n "$PKG_CONFIG" && \
|
||||
- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-sharp-2.0 >= \$GTKSHARP_REQUIRED_VERSION\""; } >&5
|
||||
- ($PKG_CONFIG --exists --print-errors "gnome-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION") 2>&5
|
||||
- ac_status=$?
|
||||
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
||||
- test $ac_status = 0; }; then
|
||||
- pkg_cv_GNOME_SHARP_CFLAGS=`$PKG_CONFIG --cflags "gnome-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION" 2>/dev/null`
|
||||
- test "x$?" != "x0" && pkg_failed=yes
|
||||
-else
|
||||
- pkg_failed=yes
|
||||
-fi
|
||||
- else
|
||||
- pkg_failed=untried
|
||||
-fi
|
||||
-if test -n "$GNOME_SHARP_LIBS"; then
|
||||
- pkg_cv_GNOME_SHARP_LIBS="$GNOME_SHARP_LIBS"
|
||||
- elif test -n "$PKG_CONFIG"; then
|
||||
- if test -n "$PKG_CONFIG" && \
|
||||
- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-sharp-2.0 >= \$GTKSHARP_REQUIRED_VERSION\""; } >&5
|
||||
- ($PKG_CONFIG --exists --print-errors "gnome-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION") 2>&5
|
||||
- ac_status=$?
|
||||
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
||||
- test $ac_status = 0; }; then
|
||||
- pkg_cv_GNOME_SHARP_LIBS=`$PKG_CONFIG --libs "gnome-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION" 2>/dev/null`
|
||||
- test "x$?" != "x0" && pkg_failed=yes
|
||||
-else
|
||||
- pkg_failed=yes
|
||||
-fi
|
||||
- else
|
||||
- pkg_failed=untried
|
||||
-fi
|
||||
-
|
||||
-
|
||||
-
|
||||
-if test $pkg_failed = yes; then
|
||||
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||
-$as_echo "no" >&6; }
|
||||
-
|
||||
-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
|
||||
- _pkg_short_errors_supported=yes
|
||||
-else
|
||||
- _pkg_short_errors_supported=no
|
||||
-fi
|
||||
- if test $_pkg_short_errors_supported = yes; then
|
||||
- GNOME_SHARP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gnome-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION" 2>&1`
|
||||
- else
|
||||
- GNOME_SHARP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gnome-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION" 2>&1`
|
||||
- fi
|
||||
- # Put the nasty error message in config.log where it belongs
|
||||
- echo "$GNOME_SHARP_PKG_ERRORS" >&5
|
||||
-
|
||||
- gnome_sharp=no
|
||||
-elif test $pkg_failed = untried; then
|
||||
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||
-$as_echo "no" >&6; }
|
||||
- gnome_sharp=no
|
||||
-else
|
||||
- GNOME_SHARP_CFLAGS=$pkg_cv_GNOME_SHARP_CFLAGS
|
||||
- GNOME_SHARP_LIBS=$pkg_cv_GNOME_SHARP_LIBS
|
||||
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||
-$as_echo "yes" >&6; }
|
||||
- gnome_sharp=yes
|
||||
-fi
|
||||
-
|
||||
-
|
||||
-pkg_failed=no
|
||||
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOME_VFS_SHARP" >&5
|
||||
-$as_echo_n "checking for GNOME_VFS_SHARP... " >&6; }
|
||||
-
|
||||
-if test -n "$GNOME_VFS_SHARP_CFLAGS"; then
|
||||
- pkg_cv_GNOME_VFS_SHARP_CFLAGS="$GNOME_VFS_SHARP_CFLAGS"
|
||||
- elif test -n "$PKG_CONFIG"; then
|
||||
- if test -n "$PKG_CONFIG" && \
|
||||
- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-sharp-2.0 >= \$GTKSHARP_REQUIRED_VERSION\""; } >&5
|
||||
- ($PKG_CONFIG --exists --print-errors "gnome-vfs-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION") 2>&5
|
||||
- ac_status=$?
|
||||
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
||||
- test $ac_status = 0; }; then
|
||||
- pkg_cv_GNOME_VFS_SHARP_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION" 2>/dev/null`
|
||||
- test "x$?" != "x0" && pkg_failed=yes
|
||||
-else
|
||||
- pkg_failed=yes
|
||||
-fi
|
||||
- else
|
||||
- pkg_failed=untried
|
||||
-fi
|
||||
-if test -n "$GNOME_VFS_SHARP_LIBS"; then
|
||||
- pkg_cv_GNOME_VFS_SHARP_LIBS="$GNOME_VFS_SHARP_LIBS"
|
||||
- elif test -n "$PKG_CONFIG"; then
|
||||
- if test -n "$PKG_CONFIG" && \
|
||||
- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-sharp-2.0 >= \$GTKSHARP_REQUIRED_VERSION\""; } >&5
|
||||
- ($PKG_CONFIG --exists --print-errors "gnome-vfs-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION") 2>&5
|
||||
- ac_status=$?
|
||||
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
||||
- test $ac_status = 0; }; then
|
||||
- pkg_cv_GNOME_VFS_SHARP_LIBS=`$PKG_CONFIG --libs "gnome-vfs-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION" 2>/dev/null`
|
||||
- test "x$?" != "x0" && pkg_failed=yes
|
||||
-else
|
||||
- pkg_failed=yes
|
||||
-fi
|
||||
- else
|
||||
- pkg_failed=untried
|
||||
-fi
|
||||
-
|
||||
-
|
||||
-
|
||||
-if test $pkg_failed = yes; then
|
||||
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||
-$as_echo "no" >&6; }
|
||||
-
|
||||
-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
|
||||
- _pkg_short_errors_supported=yes
|
||||
-else
|
||||
- _pkg_short_errors_supported=no
|
||||
-fi
|
||||
- if test $_pkg_short_errors_supported = yes; then
|
||||
- GNOME_VFS_SHARP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gnome-vfs-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION" 2>&1`
|
||||
- else
|
||||
- GNOME_VFS_SHARP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gnome-vfs-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION" 2>&1`
|
||||
- fi
|
||||
- # Put the nasty error message in config.log where it belongs
|
||||
- echo "$GNOME_VFS_SHARP_PKG_ERRORS" >&5
|
||||
-
|
||||
- gnome_vfs_sharp=no
|
||||
-elif test $pkg_failed = untried; then
|
||||
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||
-$as_echo "no" >&6; }
|
||||
- gnome_vfs_sharp=no
|
||||
-else
|
||||
- GNOME_VFS_SHARP_CFLAGS=$pkg_cv_GNOME_VFS_SHARP_CFLAGS
|
||||
- GNOME_VFS_SHARP_LIBS=$pkg_cv_GNOME_VFS_SHARP_LIBS
|
||||
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||
-$as_echo "yes" >&6; }
|
||||
- gnome_vfs_sharp=yes
|
||||
-fi
|
||||
-
|
||||
-
|
||||
-pkg_failed=no
|
||||
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCONF_SHARP" >&5
|
||||
-$as_echo_n "checking for GCONF_SHARP... " >&6; }
|
||||
-
|
||||
-if test -n "$GCONF_SHARP_CFLAGS"; then
|
||||
- pkg_cv_GCONF_SHARP_CFLAGS="$GCONF_SHARP_CFLAGS"
|
||||
- elif test -n "$PKG_CONFIG"; then
|
||||
- if test -n "$PKG_CONFIG" && \
|
||||
- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-sharp-2.0 >= \$GTKSHARP_REQUIRED_VERSION\""; } >&5
|
||||
- ($PKG_CONFIG --exists --print-errors "gconf-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION") 2>&5
|
||||
- ac_status=$?
|
||||
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
||||
- test $ac_status = 0; }; then
|
||||
- pkg_cv_GCONF_SHARP_CFLAGS=`$PKG_CONFIG --cflags "gconf-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION" 2>/dev/null`
|
||||
- test "x$?" != "x0" && pkg_failed=yes
|
||||
-else
|
||||
- pkg_failed=yes
|
||||
-fi
|
||||
- else
|
||||
- pkg_failed=untried
|
||||
-fi
|
||||
-if test -n "$GCONF_SHARP_LIBS"; then
|
||||
- pkg_cv_GCONF_SHARP_LIBS="$GCONF_SHARP_LIBS"
|
||||
- elif test -n "$PKG_CONFIG"; then
|
||||
- if test -n "$PKG_CONFIG" && \
|
||||
- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-sharp-2.0 >= \$GTKSHARP_REQUIRED_VERSION\""; } >&5
|
||||
- ($PKG_CONFIG --exists --print-errors "gconf-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION") 2>&5
|
||||
- ac_status=$?
|
||||
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
||||
- test $ac_status = 0; }; then
|
||||
- pkg_cv_GCONF_SHARP_LIBS=`$PKG_CONFIG --libs "gconf-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION" 2>/dev/null`
|
||||
- test "x$?" != "x0" && pkg_failed=yes
|
||||
-else
|
||||
- pkg_failed=yes
|
||||
-fi
|
||||
- else
|
||||
- pkg_failed=untried
|
||||
-fi
|
||||
-
|
||||
-
|
||||
-
|
||||
-if test $pkg_failed = yes; then
|
||||
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||
-$as_echo "no" >&6; }
|
||||
-
|
||||
-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
|
||||
- _pkg_short_errors_supported=yes
|
||||
-else
|
||||
- _pkg_short_errors_supported=no
|
||||
-fi
|
||||
- if test $_pkg_short_errors_supported = yes; then
|
||||
- GCONF_SHARP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gconf-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION" 2>&1`
|
||||
- else
|
||||
- GCONF_SHARP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gconf-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION" 2>&1`
|
||||
- fi
|
||||
- # Put the nasty error message in config.log where it belongs
|
||||
- echo "$GCONF_SHARP_PKG_ERRORS" >&5
|
||||
-
|
||||
- gconf_sharp=no
|
||||
-elif test $pkg_failed = untried; then
|
||||
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||
-$as_echo "no" >&6; }
|
||||
- gconf_sharp=no
|
||||
-else
|
||||
- GCONF_SHARP_CFLAGS=$pkg_cv_GCONF_SHARP_CFLAGS
|
||||
- GCONF_SHARP_LIBS=$pkg_cv_GCONF_SHARP_LIBS
|
||||
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||
-$as_echo "yes" >&6; }
|
||||
- gconf_sharp=yes
|
||||
-fi
|
||||
-
|
||||
-
|
||||
gtksharp_prefix="`$PKG_CONFIG --variable=prefix gtk-sharp-2.0`"
|
||||
|
||||
|
||||
diff -rupN monodevelop/src/addins/GnomePlatform/GnomePlatform.cs monodevelop.nognome/src/addins/GnomePlatform/GnomePlatform.cs
|
||||
--- monodevelop/src/addins/GnomePlatform/GnomePlatform.cs 2014-09-22 16:28:49.000000000 +0300
|
||||
+++ monodevelop.nognome/src/addins/GnomePlatform/GnomePlatform.cs 2015-05-27 12:40:15.073411758 +0300
|
||||
@@ -26,7 +26,6 @@
|
||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
//
|
||||
|
||||
-using Gnome;
|
||||
using MonoDevelop.Ide.Desktop;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
@@ -40,46 +39,15 @@ namespace MonoDevelop.Platform
|
||||
{
|
||||
public class GnomePlatform : PlatformService
|
||||
{
|
||||
- static bool useGio;
|
||||
-
|
||||
- Gnome.ThumbnailFactory thumbnailFactory = new Gnome.ThumbnailFactory (Gnome.ThumbnailSize.Normal);
|
||||
-
|
||||
static GnomePlatform ()
|
||||
{
|
||||
try {
|
||||
Gio.GetDefaultForType ("text/plain");
|
||||
- useGio = true;
|
||||
} catch (Exception ex) {
|
||||
Console.WriteLine (ex);
|
||||
}
|
||||
- //apparently Gnome.Icon needs GnomeVFS initialized even when we're using GIO.
|
||||
- Gnome.Vfs.Vfs.Initialize ();
|
||||
- }
|
||||
-
|
||||
- DesktopApplication GetGnomeVfsDefaultApplication (string mimeType)
|
||||
- {
|
||||
- var app = Gnome.Vfs.Mime.GetDefaultApplication (mimeType);
|
||||
- if (app != null)
|
||||
- return (DesktopApplication) Marshal.PtrToStructure (app.Handle, typeof(DesktopApplication));
|
||||
- else
|
||||
- return null;
|
||||
- }
|
||||
-
|
||||
- IEnumerable<DesktopApplication> GetGnomeVfsApplications (string mimeType)
|
||||
- {
|
||||
- var def = GetGnomeVfsDefaultApplication (mimeType);
|
||||
- var list = new List<DesktopApplication> ();
|
||||
- var apps = Gnome.Vfs.Mime.GetAllApplications (mimeType);
|
||||
- foreach (var app in apps) {
|
||||
- var dap = (GnomeVfsApp) Marshal.PtrToStructure (app.Handle, typeof(GnomeVfsApp));
|
||||
- if (!string.IsNullOrEmpty (dap.Command) && !string.IsNullOrEmpty (dap.DisplayName) && !dap.Command.Contains ("monodevelop ")) {
|
||||
- var isDefault = def != null && def.Id == dap.Command;
|
||||
- list.Add (new GnomeDesktopApplication (dap.Command, dap.DisplayName, isDefault));
|
||||
- }
|
||||
- }
|
||||
- return list;
|
||||
}
|
||||
-
|
||||
+
|
||||
public override IEnumerable<DesktopApplication> GetApplications (string filename)
|
||||
{
|
||||
var mimeType = GetMimeTypeForUri (filename);
|
||||
@@ -88,10 +56,7 @@ namespace MonoDevelop.Platform
|
||||
|
||||
IEnumerable<DesktopApplication> GetApplicationsForMimeType (string mimeType)
|
||||
{
|
||||
- if (useGio)
|
||||
- return Gio.GetAllForType (mimeType);
|
||||
- else
|
||||
- return GetGnomeVfsApplications (mimeType);
|
||||
+ return Gio.GetAllForType (mimeType);
|
||||
}
|
||||
|
||||
struct GnomeVfsApp {
|
||||
@@ -100,10 +65,7 @@ namespace MonoDevelop.Platform
|
||||
|
||||
protected override string OnGetMimeTypeDescription (string mt)
|
||||
{
|
||||
- if (useGio)
|
||||
- return Gio.GetMimeTypeDescription (mt);
|
||||
- else
|
||||
- return Gnome.Vfs.Mime.GetDescription (mt);
|
||||
+ return Gio.GetMimeTypeDescription (mt);
|
||||
}
|
||||
|
||||
protected override string OnGetMimeTypeForUri (string uri)
|
||||
@@ -111,12 +73,7 @@ namespace MonoDevelop.Platform
|
||||
if (uri == null)
|
||||
return null;
|
||||
|
||||
- if (useGio) {
|
||||
- string mt = Gio.GetMimeTypeForUri (uri);
|
||||
- if (mt != null)
|
||||
- return mt;
|
||||
- }
|
||||
- return Gnome.Vfs.MimeType.GetMimeTypeForUri (ConvertFileNameToVFS (uri));
|
||||
+ return Gio.GetMimeTypeForUri (uri);
|
||||
}
|
||||
|
||||
protected override bool OnGetMimeTypeIsText (string mimeType)
|
||||
@@ -127,20 +84,10 @@ namespace MonoDevelop.Platform
|
||||
return true;
|
||||
return base.OnGetMimeTypeIsText (mimeType);
|
||||
}
|
||||
-
|
||||
-
|
||||
- public override void ShowUrl (string url)
|
||||
- {
|
||||
- Gnome.Url.Show (url);
|
||||
- }
|
||||
|
||||
public override string DefaultMonospaceFont {
|
||||
get {
|
||||
- try {
|
||||
- return (string) (new GConf.Client ().Get ("/desktop/gnome/interface/monospace_font_name"));
|
||||
- } catch (Exception) {
|
||||
- return "Monospace 11";
|
||||
- }
|
||||
+ return "Monospace 11";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -158,19 +105,9 @@ namespace MonoDevelop.Platform
|
||||
} else if (System.IO.File.Exists (filename)) {
|
||||
filename = EscapeFileName (filename);
|
||||
if (filename == null)
|
||||
- return "gnome-fs-regular";
|
||||
-
|
||||
- string icon = null;
|
||||
- Gnome.IconLookupResultFlags result;
|
||||
- try {
|
||||
- icon = Gnome.Icon.LookupSync (IconTheme.Default, thumbnailFactory, filename, null,
|
||||
- Gnome.IconLookupFlags.None, out result);
|
||||
- } catch {}
|
||||
- if (icon != null && icon.Length > 0)
|
||||
- return icon;
|
||||
+ return "gnome-fs-regular";
|
||||
}
|
||||
- return "gnome-fs-regular";
|
||||
-
|
||||
+ return "gnome-fs-regular";
|
||||
}
|
||||
|
||||
protected override Xwt.Drawing.Image OnGetIconForFile (string filename)
|
@ -0,0 +1,12 @@
|
||||
diff -Naur monodevelop-5.0.1.org/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.OptionPanels/IDEStyleOptionsPanel.cs monodevelop-5.0.1/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.OptionPanels/IDEStyleOptionsPanel.cs
|
||||
--- monodevelop-5.0.1.org/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.OptionPanels/IDEStyleOptionsPanel.cs 2014-06-04 19:10:44.000000000 +0300
|
||||
+++ monodevelop-5.0.1/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.OptionPanels/IDEStyleOptionsPanel.cs 2014-12-29 15:28:43.590834768 +0200
|
||||
@@ -127,8 +127,6 @@
|
||||
|
||||
internal static bool IsBadGtkTheme (string theme)
|
||||
{
|
||||
- if (string.Equals ("QtCurve", theme, StringComparison.OrdinalIgnoreCase))
|
||||
- return true;
|
||||
if (string.Equals ("oxygen-gtk", theme, StringComparison.OrdinalIgnoreCase))
|
||||
return Environment.GetEnvironmentVariable ("OXYGEN_DISABLE_INNER_SHADOWS_HACK") != "1";
|
||||
return false;
|
@ -0,0 +1,35 @@
|
||||
--- work/monodevelop-5.7/src/addins/MonoDevelop.PackageManagement/MonoDevelop.PackageManagement.addin.xml 2015-01-12 22:19:13.000000000 +0300
|
||||
+++ work.new/monodevelop-5.7/src/addins/MonoDevelop.PackageManagement/MonoDevelop.PackageManagement.addin.xml 2015-03-06 07:45:39.278552461 +0300
|
||||
@@ -2,8 +2,6 @@
|
||||
|
||||
<Runtime>
|
||||
<Import assembly="MonoDevelop.PackageManagement.dll" />
|
||||
- <Import assembly="Microsoft.Web.XmlTransform.dll" />
|
||||
- <Import assembly="NuGet.Core.dll" />
|
||||
</Runtime>
|
||||
|
||||
<Extension path = "/MonoDevelop/Ide/Commands">
|
||||
--- work/monodevelop-5.7/Main.sln 2015-01-12 22:19:13.000000000 +0300
|
||||
+++ work.new/monodevelop-5.7/Main.sln 2015-03-06 08:00:52.860939203 +0300
|
||||
@@ -555,21 +555,13 @@
|
||||
{252117CA-0ABB-4F36-BFC8-DE23A8089BB9}.ReleaseWin32|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{252117CA-0ABB-4F36-BFC8-DE23A8089BB9}.ReleaseWin32|Any CPU.Build.0 = Release|Any CPU
|
||||
{2645C9F3-9ED5-4806-AB09-DAD9BE90C67B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
- {2645C9F3-9ED5-4806-AB09-DAD9BE90C67B}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{2645C9F3-9ED5-4806-AB09-DAD9BE90C67B}.DebugGnome|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
- {2645C9F3-9ED5-4806-AB09-DAD9BE90C67B}.DebugGnome|Any CPU.Build.0 = Debug|Any CPU
|
||||
{2645C9F3-9ED5-4806-AB09-DAD9BE90C67B}.DebugMac|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
- {2645C9F3-9ED5-4806-AB09-DAD9BE90C67B}.DebugMac|Any CPU.Build.0 = Debug|Any CPU
|
||||
{2645C9F3-9ED5-4806-AB09-DAD9BE90C67B}.DebugWin32|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
- {2645C9F3-9ED5-4806-AB09-DAD9BE90C67B}.DebugWin32|Any CPU.Build.0 = Debug|Any CPU
|
||||
{2645C9F3-9ED5-4806-AB09-DAD9BE90C67B}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
- {2645C9F3-9ED5-4806-AB09-DAD9BE90C67B}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{2645C9F3-9ED5-4806-AB09-DAD9BE90C67B}.ReleaseGnome|Any CPU.ActiveCfg = Release|Any CPU
|
||||
- {2645C9F3-9ED5-4806-AB09-DAD9BE90C67B}.ReleaseGnome|Any CPU.Build.0 = Release|Any CPU
|
||||
{2645C9F3-9ED5-4806-AB09-DAD9BE90C67B}.ReleaseMac|Any CPU.ActiveCfg = Release|Any CPU
|
||||
- {2645C9F3-9ED5-4806-AB09-DAD9BE90C67B}.ReleaseMac|Any CPU.Build.0 = Release|Any CPU
|
||||
{2645C9F3-9ED5-4806-AB09-DAD9BE90C67B}.ReleaseWin32|Any CPU.ActiveCfg = Release|Any CPU
|
||||
- {2645C9F3-9ED5-4806-AB09-DAD9BE90C67B}.ReleaseWin32|Any CPU.Build.0 = Release|Any CPU
|
||||
{27096E7F-C91C-4AC6-B289-6897A701DF21}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{27096E7F-C91C-4AC6-B289-6897A701DF21}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{27096E7F-C91C-4AC6-B289-6897A701DF21}.DebugGnome|Any CPU.ActiveCfg = Debug|Any CPU
|
@ -0,0 +1,140 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit fdo-mime gnome2-utils dotnet versionator eutils git-r3
|
||||
|
||||
DESCRIPTION="Integrated Development Environment for .NET"
|
||||
HOMEPAGE="http://www.monodevelop.com/"
|
||||
SRC_URI="https://launchpadlibrarian.net/68057829/NUnit-2.5.10.11092.zip
|
||||
https://www.nuget.org/api/v2/package/NUnit/2.6.3 -> NUnit.2.6.3.zip
|
||||
https://www.nuget.org/api/v2/package/NUnit.Runners/2.6.3 -> NUnit.Runners.2.6.3.zip
|
||||
https://www.nuget.org/api/v2/package/System.Web.Mvc.Extensions.Mvc.4/1.0.9 -> System.Web.Mvc.Extensions.Mvc.4.1.0.9.zip
|
||||
https://www.nuget.org/api/v2/package/Microsoft.AspNet.Mvc/5.2.2 -> Microsoft.AspNet.Mvc.5.2.2.zip
|
||||
https://www.nuget.org/api/v2/package/Microsoft.AspNet.Razor/3.2.2 -> Microsoft.AspNet.Razor.3.2.2.zip
|
||||
https://www.nuget.org/api/v2/package/Microsoft.AspNet.WebPages/3.2.2 -> Microsoft.AspNet.WebPages.3.2.2.zip
|
||||
https://www.nuget.org/api/v2/package/Microsoft.Web.Infrastructure/1.0.0.0 -> Microsoft.Web.Infrastructure.1.0.0.0.zip"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+subversion +git doc +gnome qtcurve"
|
||||
|
||||
RDEPEND=">=dev-lang/mono-3.2.8
|
||||
>=dev-dotnet/nuget-2.8.3
|
||||
gnome? ( >=dev-dotnet/gnome-sharp-2.24.2-r1 )
|
||||
>=dev-dotnet/gtk-sharp-2.12.21:2
|
||||
doc? ( dev-util/mono-docbrowser )
|
||||
>=dev-dotnet/xsp-2
|
||||
dev-util/ctags
|
||||
sys-apps/dbus[X]
|
||||
subversion? ( dev-vcs/subversion )
|
||||
!<dev-util/monodevelop-boo-$(get_version_component_range 1-2)
|
||||
!<dev-util/monodevelop-java-$(get_version_component_range 1-2)
|
||||
!<dev-util/monodevelop-database-$(get_version_component_range 1-2)
|
||||
!<dev-util/monodevelop-debugger-gdb-$(get_version_component_range 1-2)
|
||||
!<dev-util/monodevelop-debugger-mdb-$(get_version_component_range 1-2)
|
||||
!<dev-util/monodevelop-vala-$(get_version_component_range 1-2)"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/intltool
|
||||
virtual/pkgconfig
|
||||
sys-devel/gettext
|
||||
x11-misc/shared-mime-info
|
||||
x11-terms/xterm
|
||||
app-arch/unzip"
|
||||
MAKEOPTS="${MAKEOPTS} -j1" #nowarn
|
||||
S="${WORKDIR}"/${P}
|
||||
EGIT_REPO_URI="https://github.com/mono/monodevelop.git"
|
||||
EGIT_COMMIT="${P}"
|
||||
|
||||
src_unpack() {
|
||||
cd "${T}"
|
||||
unpack NUnit-2.5.10.11092.zip
|
||||
|
||||
#clone from git
|
||||
git-r3_fetch
|
||||
git-r3_checkout "${EGIT_REPO_URI}" "${T}/${P}"
|
||||
|
||||
#extract packages
|
||||
mkdir -p "${T}"/packages || die
|
||||
cd "${T}"/packages || die
|
||||
|
||||
for pkg in NUnit.2.6.3 \
|
||||
NUnit.Runners.2.6.3 \
|
||||
System.Web.Mvc.Extensions.Mvc.4.1.0.9 \
|
||||
Microsoft.AspNet.Mvc.5.2.2 \
|
||||
Microsoft.AspNet.Razor.3.2.2 \
|
||||
Microsoft.AspNet.WebPages.3.2.2 \
|
||||
Microsoft.Web.Infrastructure.1.0.0.0
|
||||
do
|
||||
mkdir $pkg || die
|
||||
cd $pkg || die
|
||||
unpack $pkg.zip
|
||||
cd .. || die
|
||||
done
|
||||
mkdir -p "${S}"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Remove the git rev-parse (changelog?)
|
||||
sed -i '/<Exec.*rev-parse/ d' "${T}/${P}/main/src/core/MonoDevelop.Core/MonoDevelop.Core.csproj" || die
|
||||
# Set specific_version to prevent binding problem
|
||||
# when gtk#-3 is installed alongside gtk#-2
|
||||
find "${T}/${P}" -name '*.csproj' -exec sed -i 's#<SpecificVersion>.*</SpecificVersion>#<SpecificVersion>True</SpecificVersion>#' {} + || die
|
||||
|
||||
#fix ASP.Net
|
||||
cd "${T}/${P}/main"
|
||||
epatch "${FILESDIR}/5.7-downgrade_to_mvc3.patch"
|
||||
|
||||
# fix for https://github.com/gentoo/dotnet/issues/42
|
||||
epatch "${FILESDIR}/aspnet-template-references-fix.patch"
|
||||
use gnome || epatch "${FILESDIR}/5.9.5-kill-gnome.patch"
|
||||
use qtcurve && epatch "${FILESDIR}/kill-qtcurve-warning.patch"
|
||||
|
||||
#prepare dist package
|
||||
cd "${T}/${P}"
|
||||
epatch "${FILESDIR}/5.9.5-skip_merged_tar.patch"
|
||||
./configure --profile=default || die
|
||||
make dist || die
|
||||
|
||||
#move it
|
||||
mv -f "${T}/${P}/tarballs/"monodevelop-*/* "${S}" || die
|
||||
|
||||
#copy missing binaries
|
||||
mkdir -p "${S}"/external/cecil/Test/libs/nunit-2.5.10/ || die
|
||||
cp -fR "${T}"/NUnit-2.5.10.11092/bin/net-2.0/framework/* "${S}"/external/cecil/Test/libs/nunit-2.5.10/ || die
|
||||
mv -f "${T}/packages" "${S}"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# env vars are added as the fix for https://github.com/gentoo/dotnet/issues/29
|
||||
MCS=/usr/bin/dmcs CSC=/usr/bin/dmcs GMCS=/usr/bin/dmcs econf \
|
||||
--disable-update-mimedb \
|
||||
--disable-update-desktopdb \
|
||||
--enable-monoextensions \
|
||||
--enable-gnomeplatform \
|
||||
$(use_enable subversion) \
|
||||
$(use_enable git)
|
||||
# https://github.com/mrward/xdt/issues/4
|
||||
# Main.sln file is created on the fly during econf
|
||||
epatch -p2 "${FILESDIR}/mrward-xdt-issue-4.patch"
|
||||
# fix of https://github.com/gentoo/dotnet/issues/38
|
||||
sed -i -E -e 's#(EXE_PATH=")(.*)(/lib/monodevelop/bin/MonoDevelop.exe")#\1'${EPREFIX}'/usr\3#g' "${S}/monodevelop" || die
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
fdo-mime_mime_database_update
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
fdo-mime_mime_database_update
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
@ -0,0 +1,139 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
# @ECLASS: dotnet.eclass
|
||||
# @MAINTAINER: cynede@gentoo.org
|
||||
# @BLURB: common settings and functions for mono and dotnet related packages
|
||||
# @DESCRIPTION:
|
||||
# The dotnet eclass contains common environment settings that are useful for
|
||||
# dotnet packages. Currently, it provides no functions, just exports
|
||||
# MONO_SHARED_DIR and sets LC_ALL in order to prevent errors during compilation
|
||||
# of dotnet packages.
|
||||
|
||||
case ${EAPI:-0} in
|
||||
0) die "this eclass doesn't support EAPI 0" ;;
|
||||
1|2|3) ;;
|
||||
*) ;; #if [[ ${USE_DOTNET} ]]; then REQUIRED_USE="|| (${USE_DOTNET})"; fi;;
|
||||
esac
|
||||
|
||||
inherit eutils versionator mono-env
|
||||
|
||||
# @ECLASS-VARIABLE: USE_DOTNET
|
||||
# @DESCRIPTION:
|
||||
# Use flags added to IUSE
|
||||
|
||||
DEPEND+=" dev-lang/mono"
|
||||
|
||||
# SET default use flags according on DOTNET_TARGETS
|
||||
for x in ${USE_DOTNET}; do
|
||||
case ${x} in
|
||||
net45) if [[ ${DOTNET_TARGETS} == *net45* ]]; then IUSE+=" +net45"; else IUSE+=" net45"; fi;;
|
||||
net40) if [[ ${DOTNET_TARGETS} == *net40* ]]; then IUSE+=" +net40"; else IUSE+=" net40"; fi;;
|
||||
net35) if [[ ${DOTNET_TARGETS} == *net35* ]]; then IUSE+=" +net35"; else IUSE+=" net35"; fi;;
|
||||
net20) if [[ ${DOTNET_TARGETS} == *net20* ]]; then IUSE+=" +net20"; else IUSE+=" net20"; fi;;
|
||||
esac
|
||||
done
|
||||
|
||||
# @FUNCTION: dotnet_pkg_setup
|
||||
# @DESCRIPTION: This function set FRAMEWORK
|
||||
dotnet_pkg_setup() {
|
||||
for x in ${USE_DOTNET} ; do
|
||||
case ${x} in
|
||||
net45) if use net45; then F="4.5"; fi;;
|
||||
net40) if use net40; then F="4.0"; fi;;
|
||||
net35) if use net35; then F="3.5"; fi;;
|
||||
net20) if use net20; then F="2.0"; fi;;
|
||||
esac
|
||||
if [[ -z ${FRAMEWORK} ]]; then
|
||||
if [[ ${F} ]]; then
|
||||
FRAMEWORK="${F}";
|
||||
fi
|
||||
else
|
||||
version_is_at_least "${F}" "${FRAMEWORK}" || FRAMEWORK="${F}"
|
||||
fi
|
||||
done
|
||||
if [[ -z ${FRAMEWORK} ]]; then
|
||||
FRAMEWORK="4.0"
|
||||
fi
|
||||
einfo " -- USING .NET ${FRAMEWORK} FRAMEWORK -- "
|
||||
}
|
||||
|
||||
# >=mono-0.92 versions using mcs -pkg:foo-sharp require shared memory, so we set the
|
||||
# shared dir to ${T} so that ${T}/.wapi can be used during the install process.
|
||||
export MONO_SHARED_DIR="${T}"
|
||||
|
||||
# Building mono, nant and many other dotnet packages is known to fail if LC_ALL
|
||||
# variable is not set to C. To prevent this all mono related packages will be
|
||||
# build with LC_ALL=C (see bugs #146424, #149817)
|
||||
export LC_ALL=C
|
||||
|
||||
# Monodevelop-using applications need this to be set or they will try to create config
|
||||
# files in the user's ~ dir.
|
||||
|
||||
export XDG_CONFIG_HOME="${T}"
|
||||
|
||||
# Fix bug 83020:
|
||||
# "Access Violations Arise When Emerging Mono-Related Packages with MONO_AOT_CACHE"
|
||||
|
||||
unset MONO_AOT_CACHE
|
||||
|
||||
# @FUNCTION: exbuild
|
||||
# @DESCRIPTION: run xbuild with Release configuration and configurated FRAMEWORK
|
||||
exbuild() {
|
||||
elog "xbuild ""$@"" /p:Configuration=Release /tv:4.0 /p:TargetFrameworkVersion=v""${FRAMEWORK}"" || die"
|
||||
xbuild "$@" /p:Configuration=Release /tv:4.0 /p:TargetFrameworkVersion=v"${FRAMEWORK}" || die
|
||||
}
|
||||
|
||||
# @FUNCTION: egacinstall
|
||||
# @DESCRIPTION: install package to GAC
|
||||
egacinstall() {
|
||||
use !prefix && has "${EAPI:-0}" 0 1 2 && ED="${D}"
|
||||
gacutil -i "${1}" \
|
||||
-root "${ED}"/usr/$(get_libdir) \
|
||||
-gacdir /usr/$(get_libdir) \
|
||||
-package ${2:-${GACPN:-${PN}}} \
|
||||
|| die "installing ${1} into the Global Assembly Cache failed"
|
||||
}
|
||||
|
||||
# @FUNCTION: dotnet_multilib_comply
|
||||
# @DESCRIPTION: multilib comply
|
||||
dotnet_multilib_comply() {
|
||||
use !prefix && has "${EAPI:-0}" 0 1 2 && ED="${D}"
|
||||
local dir finddirs=() mv_command=${mv_command:-mv}
|
||||
if [[ -d "${ED}/usr/lib" && "$(get_libdir)" != "lib" ]]
|
||||
then
|
||||
if ! [[ -d "${ED}"/usr/"$(get_libdir)" ]]
|
||||
then
|
||||
mkdir "${ED}"/usr/"$(get_libdir)" || die "Couldn't mkdir ${ED}/usr/$(get_libdir)"
|
||||
fi
|
||||
${mv_command} "${ED}"/usr/lib/* "${ED}"/usr/"$(get_libdir)"/ || die "Moving files into correct libdir failed"
|
||||
rm -rf "${ED}"/usr/lib
|
||||
for dir in "${ED}"/usr/"$(get_libdir)"/pkgconfig "${ED}"/usr/share/pkgconfig
|
||||
do
|
||||
|
||||
if [[ -d "${dir}" && "$(find "${dir}" -name '*.pc')" != "" ]]
|
||||
then
|
||||
pushd "${dir}" &> /dev/null
|
||||
sed -i -r -e 's:/(lib)([^a-zA-Z0-9]|$):/'"$(get_libdir)"'\2:g' \
|
||||
*.pc \
|
||||
|| die "Sedding some sense into pkgconfig files failed."
|
||||
popd "${dir}" &> /dev/null
|
||||
fi
|
||||
done
|
||||
if [[ -d "${ED}/usr/bin" ]]
|
||||
then
|
||||
for exe in "${ED}/usr/bin"/*
|
||||
do
|
||||
if [[ "$(file "${exe}")" == *"shell script text"* ]]
|
||||
then
|
||||
sed -r -i -e ":/lib(/|$): s:/lib(/|$):/$(get_libdir)\1:" \
|
||||
"${exe}" || die "Sedding some sense into ${exe} failed"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
fi
|
||||
}
|
||||
|
||||
EXPORT_FUNCTIONS pkg_setup
|
@ -1,8 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>kde</herd>
|
||||
<use>
|
||||
<flag name="csharp">Enable C# language bindings for KDE and Qt</flag>
|
||||
</use>
|
||||
<herd>kde</herd>
|
||||
</pkgmetadata>
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue