* [gentoo-commits] repo/proj/dotnet:master commit in: dev-dotnet/ikvm-bin/files/, /, dev-dotnet/ikvm-bin/, dev-dotnet/ikvm/files/, ...
@ 2022-05-11 5:50 Arsen Shnurkov
0 siblings, 0 replies; only message in thread
From: Arsen Shnurkov @ 2022-05-11 5:50 UTC (permalink / raw
To: gentoo-commits
commit: 79b95c4f839396323d4dbd3033be3de3fb7cbaa8
Author: ArsenShnurkov <ArsenShnurkov <AT> users <DOT> noreply <DOT> github <DOT> com>
AuthorDate: Wed May 11 05:38:48 2022 +0000
Commit: Arsen Shnurkov <Arsen.Shnurkov <AT> gmail <DOT> com>
CommitDate: Wed May 11 05:49:13 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/dotnet.git/commit/?id=79b95c4f
remove some old ebuilds of year 2010
Closes: https://bugs.gentoo.org/797043
Signed-off-by: ArsenShnurkov <ArsenShnurkov <AT> users.noreply.github.com>
.gitignore | 3 +
dev-dotnet/ikvm-bin/files/ikvm-0.36.0.5.pc.in | 9 --
dev-dotnet/ikvm-bin/ikvm-bin-7.2.4630.5.ebuild | 50 ---------
dev-dotnet/ikvm-bin/metadata.xml | 8 --
dev-dotnet/ikvm/files/ikvm-7.1.4532.2-key.patch | 61 -----------
dev-dotnet/ikvm/files/ikvm.build.patch | 23 ----
dev-dotnet/ikvm/files/mono.snk.uu | 20 ----
dev-dotnet/ikvm/ikvm-7.2.4630.5.ebuild | 100 ------------------
dev-dotnet/ikvm/ikvm-7.2.4630.5_p201602270.ebuild | 101 ------------------
dev-dotnet/ikvm/metadata.xml | 8 --
dev-util/fsharpbinding/fsharpbinding-9999.ebuild | 122 ----------------------
dev-util/fsharpbinding/metadata.xml | 17 ---
12 files changed, 3 insertions(+), 519 deletions(-)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..b17678a
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+profiles/use.local.desc
+metadata/pkg_desc_index
+metadata/md5-cache/*
diff --git a/dev-dotnet/ikvm-bin/files/ikvm-0.36.0.5.pc.in b/dev-dotnet/ikvm-bin/files/ikvm-0.36.0.5.pc.in
deleted file mode 100644
index aaf131f..0000000
--- a/dev-dotnet/ikvm-bin/files/ikvm-0.36.0.5.pc.in
+++ /dev/null
@@ -1,9 +0,0 @@
-prefix=/usr
-exec_prefix=${prefix}
-libdir=${prefix}/@LIBDIR@
-
-
-Name: IKVM.NET
-Description: An implementation of Java for Mono and the Microsoft .NET Framework.
-Version: @VERSION@
-Libs: -r:${libdir}/ikvm/IKVM.Runtime.dll -r:${libdir}/ikvm/IKVM.OpenJDK.ClassLibrary.dll -r:${libdir}/ikvm/IKVM.AWT.WinForms.dll
diff --git a/dev-dotnet/ikvm-bin/ikvm-bin-7.2.4630.5.ebuild b/dev-dotnet/ikvm-bin/ikvm-bin-7.2.4630.5.ebuild
deleted file mode 100644
index 3b99a0b..0000000
--- a/dev-dotnet/ikvm-bin/ikvm-bin-7.2.4630.5.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="4"
-
-inherit eutils dotnet multilib
-
-MY_P=${P/-bin/}
-MY_PN=${PN/-bin/}
-
-DESCRIPTION="Java VM for .NET"
-HOMEPAGE="https://www.ikvm.net/ http://weblog.ikvm.net/"
-SRC_URI="https://www.frijters.net/${MY_PN}bin-${PV}.zip"
-LICENSE="ZLIB GPL-2-with-linking-exception"
-
-SLOT="0"
-S=${WORKDIR}/${MY_P}
-
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND=">=dev-lang/mono-1.1
- !dev-dotnet/ikvm
- app-arch/unzip"
-RDEPEND="${DEPEND}"
-
-src_install() {
- insinto /usr/$(get_libdir)/${MY_PN}
- doins bin/*
-
- for exe in ikvm ikvmc ikvmstub;
- do
- make_wrapper ${exe} "mono /usr/$(get_libdir)/${MY_PN}/${exe}.exe" || die
- done
-
- dodir /usr/$(get_libdir)/pkgconfig
- sed -e "s:@VERSION@:${PV}:" \
- -e "s:@LIBDIR@:$(get_libdir):" \
- "${FILESDIR}"/ikvm-0.36.0.5.pc.in > "${D}"/usr/$(get_libdir)/pkgconfig/${MY_PN}.pc \
- || die "sed failed"
-
- for dll in bin/IKVM*.dll
- do
- dllbase=${dll##*/}
- ebegin "Installing and registering ${dllbase}"
- gacutil -i bin/${dllbase} -root "${D}"/usr/$(get_libdir) \
- -gacdir /usr/$(get_libdir) -package IKVM &>/dev/null
- eend $? || die "Failed installing ${dllbase}"
- done
-}
diff --git a/dev-dotnet/ikvm-bin/metadata.xml b/dev-dotnet/ikvm-bin/metadata.xml
deleted file mode 100644
index b1262f1..0000000
--- a/dev-dotnet/ikvm-bin/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>dotnet@gentoo.org</email>
- <description>Gentoo Dotnet Project</description>
- </maintainer>
-</pkgmetadata>
diff --git a/dev-dotnet/ikvm/files/ikvm-7.1.4532.2-key.patch b/dev-dotnet/ikvm/files/ikvm-7.1.4532.2-key.patch
deleted file mode 100644
index 34ce79d..0000000
--- a/dev-dotnet/ikvm/files/ikvm-7.1.4532.2-key.patch
+++ /dev/null
@@ -1,61 +0,0 @@
-Author: Jo Shields
-Description: This patch ensures that rather than trying to use the Mono Crypto
-Description: Service Provider to retrieve a signing key (CSP is not safe to
-Description: run with fakeroot), we simply hard-code the path to a bundled key
-Description: file
-Index: ikvm/ikvm-7.0.4335.0/CommonAssemblyInfo.cs.in
-===================================================================
---- ikvm.orig/ikvm-7.0.4335.0/CommonAssemblyInfo.cs.in 2012-02-07 01:29:25.080047165 +0000
-+++ ikvm/ikvm-7.0.4335.0/CommonAssemblyInfo.cs.in 2012-02-07 01:30:58.092593303 +0000
-@@ -33,5 +33,6 @@
-
- #if SIGNCODE
- #pragma warning disable 1699
-- [assembly: AssemblyKeyName("ikvm-key")]
-+ [assembly: AssemblyDelaySign(false)]
-+ [assembly: AssemblyKeyFile("../../debian/mono.snk")]
- #endif
-Index: ikvm/ikvm-7.0.4335.0/ikvm.build
-===================================================================
---- ikvm.orig/ikvm-7.0.4335.0/ikvm.build 2012-02-07 01:29:57.152235493 +0000
-+++ ikvm/ikvm-7.0.4335.0/ikvm.build 2012-02-07 01:30:48.348536094 +0000
-@@ -6,8 +6,8 @@
- </target>
- <target name="signed">
- <property name="signed" value="SIGNCODE" />
-- <property name="signoption" value="-key:ikvm-key" />
-- <property name="ilasm_signoption" value="/key:@ikvm-key" />
-+ <property name="signoption" value="-keyfile:../../debian/mono.snk" />
-+ <property name="ilasm_signoption" value="/key:../../debian/mono.snk" />
- <call target="managed" />
- </target>
- <target name="managed" depends="clean-managed CommonAssemblyInfo">
-Index: ikvm/ikvm-7.0.4335.0/runtime/runtime.build
-===================================================================
---- ikvm.orig/ikvm-7.0.4335.0/runtime/runtime.build 2012-02-07 01:31:20.084722420 +0000
-+++ ikvm/ikvm-7.0.4335.0/runtime/runtime.build 2012-02-07 01:31:47.120881144 +0000
-@@ -19,8 +19,8 @@
-
- <target name="signed">
- <property name="signed" value="SIGNCODE" />
-- <property name="signoption" value="-key:ikvm-key" />
-- <property name="ilasm_signoption" value="/key:@ikvm-key" />
-+ <property name="signoption" value="-keyfile:../../../debian/mono.snk" />
-+ <property name="ilasm_signoption" value="/key:../../../debian/mono.snk" />
- <call target="full" />
- </target>
-
-Index: ikvm/ikvm-7.0.4335.0/tools/pubkey.cs
-===================================================================
---- ikvm.orig/ikvm-7.0.4335.0/tools/pubkey.cs 2012-02-07 01:28:30.479726527 +0000
-+++ ikvm/ikvm-7.0.4335.0/tools/pubkey.cs 2012-02-07 01:28:58.927893592 +0000
-@@ -29,7 +29,8 @@
-
- #if SIGNCODE
- #pragma warning disable 1699
-- [assembly: AssemblyKeyName("ikvm-key")]
-+ [assembly: AssemblyDelaySign(false)]
-+ [assembly: AssemblyKeyFile("../../debian/mono.snk")]
- #endif
-
- class PublicKey
diff --git a/dev-dotnet/ikvm/files/ikvm.build.patch b/dev-dotnet/ikvm/files/ikvm.build.patch
deleted file mode 100644
index 8c342d0..0000000
--- a/dev-dotnet/ikvm/files/ikvm.build.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-diff --git a/ikvm.build b/ikvm.build
-index 5ba38cc..1b2869a 100644
---- a/ikvm.build
-+++ b/ikvm.build
-@@ -11,18 +11,7 @@
- <call target="managed" />
- </target>
- <target name="managed" depends="clean-managed CommonAssemblyInfo">
-- <nant buildfile="tools/tools.build" />
- <nant buildfile="reflect/reflect.build" />
-- <nant buildfile="ikvmstub/ikvmstub.build" />
-- <nant buildfile="runtime/runtime.build" target="first-pass" />
-- <nant buildfile="awt/awt.build" target="first-pass" />
-- <nant buildfile="ikvmc/ikvmc.build" />
-- <nant buildfile="openjdk/openjdk.build" />
-- <nant buildfile="runtime/runtime.build" />
-- <nant buildfile="openjdk/openjdk.build" target="tools" />
-- <nant buildfile="ikvm/ikvm.build" />
-- <nant buildfile="awt/awt.build" />
-- <nant buildfile="jvm/jvm.build" />
- </target>
- <target name="CommonAssemblyInfo">
- <copy file="CommonAssemblyInfo.cs.in" tofile="CommonAssemblyInfo.cs" overwrite="true">
diff --git a/dev-dotnet/ikvm/files/mono.snk.uu b/dev-dotnet/ikvm/files/mono.snk.uu
deleted file mode 100644
index ae4f04a..0000000
--- a/dev-dotnet/ikvm/files/mono.snk.uu
+++ /dev/null
@@ -1,20 +0,0 @@
-
-++ ikvm-0.40.0.1+dfsg/debian/mono.snk.uu
-
-begin 644 mono.snk
-M!P(````D``!24T$R``0```$``0!Y%9EWTM`ZCFOJ>BYTZ-&OS)/HA1ETE2NT
-M@*$LD31'300&)$?#?@YHP(!3;\\\/[XO^<EYSIF$=>4&Z,Z"W5L/-0W!#I._
-M+N[/ATLD=PQ0@=OJ=$?]VOHG>R+>1];_ZD26=*3Y_,^$T5!I").`*$V]TU]&
-MS?\2H;UXY.\`9=`6WTW&V[S-/V")DAN)G[17F@RI:B)C5#D%RJ56:#^3AH,C
-M]@&$<!=,R%8*<F"H`S/!I(,;/V3OE6!0!Z`&H,SN[/;=^?:,:CB8!<'N2$.%
-M7H%/2X3=?@$W-)2"1)`'WV\2@53=A6JBUHW;N?U!-S]<EJ/Y6HW9F4=Z::0K
-MC=$/H4GG7;O3OP\,QS/*+(.1##JVL!^\0:S9KUORVJ*OY?23U1C</20JL+MN
-MY*-:I&QG!TAKRN5Z7%,_D!Y@^\S6+41[9`GU8FWBY@M+$ZS&#K(\<<GX`1GJ
-MQT-7=!]>W>!$Z8GJN;LFRG+&@,&'^&J!2YL4]D*X*;XW'`$9-D,ZEH"`T-L\
-MPU"47K=X!%N$=E*!_.5#/%'9DL*<%>?&(60?[(CZ_.8[1Y0B%U'\GL:UQF`P
-M\@6'"3BB@G]:IBH-9]TTGER_$0GG'@?>3)<Z'^>B^*J&Y5W-W,A=.\\4*>\+
-M*L(^3D9>^G_9U9<N]IZ?;39PJI<OLPD/L8E-C/%(BQS6L2^W1E])]Z#[M2YD
-MR\0O7F0E1BOXBHJE$K'XC#U1H="B6>7:7^IZ$+.NG,][`/4*::QS_SFM!W[`
-+"5R_0#E/%?%_J<\`
-`
-end
diff --git a/dev-dotnet/ikvm/ikvm-7.2.4630.5.ebuild b/dev-dotnet/ikvm/ikvm-7.2.4630.5.ebuild
deleted file mode 100644
index 30a59a9..0000000
--- a/dev-dotnet/ikvm/ikvm-7.2.4630.5.ebuild
+++ /dev/null
@@ -1,100 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="4"
-
-inherit eutils dotnet multilib java-pkg-2
-
-DESCRIPTION="Java VM for .NET"
-HOMEPAGE="https://www.ikvm.net/ http://weblog.ikvm.net/"
-SRC_URI="https://www.frijters.net/openjdk-7u4-stripped.zip
- https://www.frijters.net/${PN}src-${PV}.zip"
-LICENSE="ZLIB GPL-2-with-linking-exception"
-
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND=">=dev-lang/mono-2
- dev-libs/glib"
-DEPEND="${RDEPEND}
- !dev-dotnet/ikvm-bin
- >=dev-dotnet/nant-0.85
- virtual/jdk:1.7
- app-arch/unzip
- virtual/pkgconfig
- app-arch/sharutils"
-
-src_prepare() {
- # We cannot rely on Mono Crypto Service Provider as it doesn't work inside
- # sandbox, we simply hard-code the path to a bundled key like Debian does.
- epatch "${FILESDIR}"/${PN}-7.1.4532.2-key.patch
- mkdir -p ../debian/ || die
- uudecode < "${FILESDIR}"/mono.snk.uu -o ../debian/mono.snk || die
-
- # Ensures that we use Mono's bundled copy of SharpZipLib instead of relying
- # on ikvm-bin one
- sed -i -e 's:../bin/ICSharpCode.SharpZipLib.dll:ICSharpCode.SharpZipLib.dll:' \
- ikvmc/ikvmc.build ikvmstub/ikvmstub.build || die
-
- sed -i -e 's:pkg-config --cflags:pkg-config --cflags --libs:' \
- native/native.build || die
-
- mkdir -p "${T}"/home/test
- java-pkg-2_src_prepare
-}
-
-src_configure() {
- :;
-}
-
-src_compile() {
- XDG_CONFIG_HOME="${T}/home/test" nant -t:mono-2.0 signed || die "ikvm build failed"
-}
-
-generate_pkgconfig() {
- ebegin "Generating .pc file"
- local dll LSTRING="Libs:"
- dodir "/usr/$(get_libdir)/pkgconfig"
- cat <<- EOF -> "${D}/usr/$(get_libdir)/pkgconfig/${PN}.pc"
- prefix=/usr
- exec_prefix=\${prefix}
- libdir=\${prefix}/$(get_libdir)
- Name: IKVM.NET
- Description: An implementation of Java for Mono and the Microsoft .NET Framework.
- Version: ${PV}
- EOF
- for dll in "${S}"/bin/IKVM.*.dll
- do
- LSTRING="${LSTRING} -r:"'${libdir}'"/mono/IKVM/${dll##*/}"
- done
- printf "${LSTRING}" >> "${D}/usr/$(get_libdir)/pkgconfig/${PN}.pc"
- PKG_CONFIG_PATH="${D}/usr/$(get_libdir)/pkgconfig/" pkg-config --silence-errors --libs ikvm &> /dev/null
- eend $?
-}
-
-src_install() {
- local dll dllbase exe
- insinto /usr/$(get_libdir)/${PN}
- doins bin/*.exe
-
- dodir /bin
- for exe in bin/*.exe
- do
- exebase=${exe##*/}
- ebegin "Generating wrapper for ${exebase} -> ${exebase%.exe}"
- make_wrapper ${exebase%.exe} "mono /usr/$(get_libdir)/${PN}/${exebase}"
- eend $? || die "Failed generating wrapper for ${exebase}"
- done
-
- generate_pkgconfig || die "generating .pc failed"
-
- for dll in bin/IKVM.*.dll
- do
- dllbase=${dll##*/}
- ebegin "Installing and registering ${dllbase}"
- gacutil -i bin/${dllbase} -root "${D}"/usr/$(get_libdir) \
- -gacdir /usr/$(get_libdir) -package IKVM &>/dev/null
- eend $? || die "Failed installing ${dllbase}"
- done
-}
diff --git a/dev-dotnet/ikvm/ikvm-7.2.4630.5_p201602270.ebuild b/dev-dotnet/ikvm/ikvm-7.2.4630.5_p201602270.ebuild
deleted file mode 100644
index bff303d..0000000
--- a/dev-dotnet/ikvm/ikvm-7.2.4630.5_p201602270.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-inherit eutils dotnet multilib java-pkg-2
-
-DESCRIPTION="Java VM for .NET"
-HOMEPAGE="https://www.ikvm.net/ http://weblog.ikvm.net/"
-LICENSE="ZLIB GPL-2-with-linking-exception"
-
-GITHUBNAME="mono/ikvm-fork"
-EGIT_BRANCH="master"
-EGIT_COMMIT="00252c18fc0a4a206e45461736a890acb785a9d8"
-GITHUBACC=${GITHUBNAME%/*}
-GITHUBREPO=${GITHUBNAME#*/}
-GITFILENAME=${GITHUBREPO}-${GITHUBACC}-${PV}-${EGIT_COMMIT}
-GITHUB_ZIP="https://api.github.com/repos/${GITHUBACC}/${GITHUBREPO}/zipball/${EGIT_COMMIT} -> ${GITFILENAME}.zip"
-S="${WORKDIR}/${GITFILENAME}"
-
-SRC_URI="https://www.frijters.net/openjdk-7u4-stripped.zip
- mirror://gentoo/mono.snk.bz2
- ${GITHUB_ZIP}"
-
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+net45"
-USE_DOTNET="net45"
-
-RDEPEND=">=dev-lang/mono-2
- dev-libs/glib:*"
-DEPEND="${RDEPEND}
- !dev-dotnet/ikvm-bin
- dev-util/nant
- >=virtual/jdk-1.7
- app-arch/unzip
- virtual/pkgconfig
- app-arch/sharutils"
-
-src_unpack() {
- default_src_unpack
- einfo '"'${WORKDIR}/${GITHUBACC}-${GITHUBREPO}-'"'*
- mv "${WORKDIR}/${GITHUBACC}-${GITHUBREPO}-"* "${WORKDIR}/${GITFILENAME}" || die
-}
-
-src_prepare() {
- eapply "${FILESDIR}/ikvm.build.patch"
- #cp "${FILESDIR}/ikvm.build" "${S}/ikvm.build" || die
-
- # We cannot rely on Mono Crypto Service Provider as it doesn't work inside
- # sandbox, we simply hard-code the path to a bundled key like Debian does.
- #epatch "${FILESDIR}"/${PN}-7.1.4532.2-key.patch
- #mkdir -p ../debian/ || die
- #uudecode < "${FILESDIR}"/mono.snk.uu -o ../debian/mono.snk || die
-
- # Ensures that we use Mono's bundled copy of SharpZipLib instead of relying
- # on ikvm-bin one
- #sed -i -e 's:../bin/ICSharpCode.SharpZipLib.dll:ICSharpCode.SharpZipLib.dll:' \
- # ikvmc/ikvmc.build ikvmstub/ikvmstub.build || die
-
- #sed -i -e 's:pkg-config --cflags:pkg-config --cflags --libs:' \
- # native/native.build || die
-
- mkdir -p "${T}"/home/test
- java-pkg-2_src_prepare
- eapply_user
-}
-
-src_configure() {
- :;
-}
-
-src_compile() {
- XDG_CONFIG_HOME="${T}/home/test" nant -t:mono-4.5 signed || die "ikvm build failed"
-}
-
-src_install() {
- local dll dllbase exe
- insinto /usr/$(get_libdir)/${PN}
-# doins bin/*.exe
-
- dodir /bin
- for exe in bin/*.exe
- do
- exebase=${exe##*/}
- ebegin "Generating wrapper for ${exebase} -> ${exebase%.exe}"
- make_wrapper ${exebase%.exe} "mono /usr/$(get_libdir)/${PN}/${exebase}"
- eend $? || die "Failed generating wrapper for ${exebase}"
- done
-
- for dll in bin/IKVM.*.dll
- do
- dllbase=${dll##*/}
- ebegin "Installing and registering ${dllbase}"
- gacutil -i bin/${dllbase} -root "${D}"/usr/$(get_libdir) \
- -gacdir /usr/$(get_libdir) -package IKVM &>/dev/null
- eend $? || die "Failed installing ${dllbase}"
- done
-
- #einstall_pc_file "${PN}" "7.2" ...
-}
diff --git a/dev-dotnet/ikvm/metadata.xml b/dev-dotnet/ikvm/metadata.xml
deleted file mode 100644
index b1262f1..0000000
--- a/dev-dotnet/ikvm/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>dotnet@gentoo.org</email>
- <description>Gentoo Dotnet Project</description>
- </maintainer>
-</pkgmetadata>
diff --git a/dev-util/fsharpbinding/fsharpbinding-9999.ebuild b/dev-util/fsharpbinding/fsharpbinding-9999.ebuild
deleted file mode 100644
index 5692c13..0000000
--- a/dev-util/fsharpbinding/fsharpbinding-9999.ebuild
+++ /dev/null
@@ -1,122 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-inherit git-r3 elisp-common autotools dotnet eutils
-
-EGIT_REPO_URI="https://github.com/fsharp/fsharpbinding"
-
-DESCRIPTION="The F# Compiler"
-HOMEPAGE="https://github.com/fsharp/fsharpbinding"
-SRC_URI=""
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS=""
-IUSE="-emacs +monodevelop"
-
-MAKEOPTS="-j1" #nowarn
-DEPEND="dev-lang/fsharp
- monodevelop? ( dev-util/monodevelop )
- emacs? ( >=app-editors/emacs-${NEED_EMACS:-21} app-emacs/s app-emacs/dash app-emacs/auto-complete )"
-RDEPEND="${DEPEND}"
-
-pkg_setup() {
- dotnet_pkg_setup
- if use emacs; then
- elisp-need-emacs "${NEED_EMACS:-21}"
- case $? in
- 0) ;;
- 1) die "Emacs version too low" ;;
- *) die "Could not determine Emacs version" ;;
- esac
- fi
-}
-
-src_unpack() {
- git-r3_src_unpack
- if use emacs; then
- cd "${S}/emacs"
- if [[ -f ${P}.el ]]; then
- # the "simple elisp" case with a single *.el file in WORKDIR
- mv ${P}.el ${PN}.el || die
- [[ -d ${S} ]] || S=${WORKDIR}
- fi
- fi
-}
-
-src_configure() {
- if use monodevelop; then
- cd "${S}/monodevelop"
- addpredict "/etc/mono/registry"
- ./configure.sh || die "configure failed"
- fi
-}
-src_compile() {
- if use emacs; then
- cd "${S}/emacs"
- elisp-compile *.el
- if [[ -n ${ELISP_TEXINFO} ]]; then
- makeinfo ${ELISP_TEXINFO} || die
- fi
- fi
- #TODO: mdtool fails to setup...
- if use monodevelop; then
- cd "${S}/monodevelop"
- emake pack
- #PACKVERSION=`cat Makefile | head -n 7 | tail -n 1 | grep -o "[0-9]\+.[0-9]\+.[0-9]\+\(.[0-9]\+\)\?"`
- #mdtool setup pack bin/mac-linux/Debug/FSharpBinding.dll -d:pack/${PACKVERSION}/mac-linux/Debug
- fi
-}
-src_install() {
- if use monodevelop; then
- dodir /usr/lib/monodevelop/Packs
- insinto /usr/lib/monodevelop/Packs
- PACKVERSION=`cat monodevelop/Makefile | head -n 7 | tail -n 1 | grep -o "[0-9]\+.[0-9]\+.[0-9]\+\(.[0-9]\+\)\?"`
- elog "Using Packversion: ${PACKVERSION}"
- newins "monodevelop/pack/${PACKVERSION}/mac-linux/Debug/MonoDevelop.FSharpBinding_${PACKVERSION}.mpack" "Monodevelop.FSharpBinding_${PVR}.mpack"
- fi
- if use emacs; then
- cd "${S}/emacs"
- elisp-install ${PN} *.el *.elc
- if [[ -n ${SITEFILE} ]]; then
- elisp-site-file-install "${FILESDIR}/${SITEFILE}"
- fi
- if [[ -n ${ELISP_TEXINFO} ]]; then
- set -- ${ELISP_TEXINFO}
- set -- ${@##*/}
- doinfo ${@/%.*/.info*}
- fi
- #AutoComplete:
- xbuild "${S}/FSharp.AutoComplete/FSharp.AutoComplete.fsproj" /property:OutputPath="${D}/usr/share/emacs/site-lisp/${PN}/bin/"
- fi
-
- # They try to install in the user directory
- #if use monodevelop; then
- # cd "${S}/monodevelop"
- # emake install
- #fi
-}
-
-pkg_postinst() {
- if use emacs; then
- elisp-site-regen
- if declare -f readme.gentoo_print_elog >/dev/null; then
- readme.gentoo_print_elog
- fi
- ewarn "To install fsharpbindings in emacs add the following lines to your init.el and read https://github.com/fsharp/fsharpbinding/tree/master/emacs"
- ewarn "(autoload 'fsharp-mode \"fsharp-mode\" \"Major mode for editing F# code.\" t)"
- ewarn "(add-to-list 'auto-mode-alist '(\"\\.fs[iylx]?$\" . fsharp-mode))"
- fi
- if use monodevelop; then
- ewarn "To install fsharpbinding to monodevelop for your current user execute"
- ewarn "mdtool setup install -y /usr/lib/monodevelop/Packs/Monodevelop.FSharpBinding_${PVR}.mpack"
- ewarn "Please make sure to manually deinstall all old fsharpbinding versions before using the above command"
- ewarn "If you still have problems use:"
- ewarn "rm -r ~/.config/MonoDevelop/addins"
- ewarn "rm -r ~/.local/share/MonoDevelop-3.0/LocalInstall/Addins"
- ewarn "rm -r ~/.local/share/MonoDevelop-4.0/LocalInstall/Addins"
- ewarn "Note that this will remove all Addins of the current user."
- fi
-}
diff --git a/dev-util/fsharpbinding/metadata.xml b/dev-util/fsharpbinding/metadata.xml
deleted file mode 100644
index b9906da..0000000
--- a/dev-util/fsharpbinding/metadata.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>dotnet@gentoo.org</email>
- <description>Gentoo Dotnet Project</description>
- </maintainer>
- <use>
- <flag name='monodevelop'>Install monodevelop binding</flag>
- </use>
- <longdescription lang="en">
- Monodevelop / emacs F# bindings
- </longdescription>
- <longdescription lang="ru">
- Monodevelop / привязки для emacs с F#
- </longdescription>
-</pkgmetadata>
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-05-11 5:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-11 5:50 [gentoo-commits] repo/proj/dotnet:master commit in: dev-dotnet/ikvm-bin/files/, /, dev-dotnet/ikvm-bin/, dev-dotnet/ikvm/files/, Arsen Shnurkov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox