@askan The package should work again now. Could you withdraw the deletion request please?
Search Criteria
Package Details: xamarin-android 12.0.0.0.55118-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/xamarin-android.git (read-only, click to copy) |
---|---|
Package Base: | xamarin-android |
Description: | Provides open-source bindings of the Android SDK for use with .NET managed languages |
Upstream URL: | https://github.com/xamarin/xamarin-android |
Keywords: | android xamarin |
Licenses: | MIT |
Conflicts: | xamarin-android, xamarin-android-git |
Provides: | xamarin-android |
Submitter: | indjera |
Maintainer: | TheAirBlow (C_Schmidpeter) |
Last Packager: | C_Schmidpeter |
Votes: | 9 |
Popularity: | 0.000000 |
First Submitted: | 2018-07-20 16:03 (UTC) |
Last Updated: | 2022-09-30 19:13 (UTC) |
Dependencies (11)
- libzip (libzip-gitAUR)
- mono (mono-gitAUR)
- curl (curl-quiche-gitAUR, curl-http3-ngtcp2AUR, curl-gitAUR, curl-c-aresAUR) (make)
- findutils (findutils-gitAUR, busybox-coreutilsAUR, findutils-selinuxAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- jq (jq-gitAUR, jaq-binAUR) (make)
- tar (tar-gitAUR, busybox-coreutilsAUR) (make)
- unzip (unzip-natspecAUR, unzip-zstdAUR) (make)
- jdk8-openjdk (optional) – For building Xamarin.Android Apps
- riderAUR (riderAUR) (optional) – .NET IDE supporting Android app development via Xamarin.Forms / Xamarin.Native.
- rider-eapAUR (optional) – .NET IDE supporting Android app development via Xamarin.Forms / Xamarin.Native.
Required by (0)
Sources (0)
C_Schmidpeter commented on 2022-09-30 19:16 (UTC)
C_Schmidpeter commented on 2022-09-30 19:14 (UTC)
Updated the package to the newest available build.
C_Schmidpeter commented on 2022-09-30 18:47 (UTC)
Sorry, didn't see the last messages somehow. I have applied @js6pak patch and now it should build again.
@js6pak: Thanks for the great patch!
cryptozio commented on 2022-08-04 21:34 (UTC)
Is this supposed to be working as of now? I'm getting that errored occured in Prepare() or something like that
6pak commented on 2022-05-30 16:11 (UTC) (edited on 2022-05-30 16:12 (UTC) by 6pak)
Patch replacing node with jq and making this actually work by removing _cleanup (removed the hash comments as there is no actual hashing done?): https://gist.github.com/js6pak/a3ff27b90e2c220557726eeadf89e441
goremukin commented on 2021-12-12 01:05 (UTC)
Also depends on npm and unzip. And there is an error on line 63 (_cleanup)
philipborg commented on 2021-11-28 14:45 (UTC)
Undocumented dependency on pv
.
TheAirBlow commented on 2021-11-06 09:53 (UTC) (edited on 2021-11-06 10:04 (UTC) by TheAirBlow)
@C_Schmidpeter
Using non-Arch packages for packaging Arch Linux packages is generally discouraged and should only be resorted to if there is no other alternative. (Requires special tools, is more brittle because distro packages assume distro specific stuff (which could also change) etc.)
bsdtar is enough to extract it. Also I tested it with a MonoGame Xamarin project, and it compiles successfully. It is wrong (common sense), but it works fine as it packages .deb without distro-specific stuff (script is here)
C_Schmidpeter commented on 2021-11-06 09:42 (UTC) (edited on 2021-11-06 09:43 (UTC) by C_Schmidpeter)
@TheAirBlow:
- This is why I chose .deb package - it already has everything that we need and we don't need to do anything with files, just copy them into ${pkgdir}
Using non-Arch packages for packaging Arch Linux packages is generally discouraged and should only be resorted to if there is no other alternative. (Requires special tools, is more brittle because distro packages assume distro specific stuff (which could also change) etc.)
TheAirBlow commented on 2021-11-06 09:04 (UTC) (edited on 2021-11-06 09:13 (UTC) by TheAirBlow)
@C_Schmidpeter
- It already adds symlinks properly to mono which the reverted lacks
This is why I chose .deb package - it already has everything that we need and we don't need to do anything with files, just copy them into ${pkgdir}
- Why remove the architecture libs like "usr/lib/xamarin.android/xbuild/Xamarin/Android/lib/arm64-v8a" ? They are needed for cross-compiling
Forgot about that.
- The automatic determination of the download url results in: "npm ERR! enoent ENOENT: no such file or directory, open '/ZfsRoot/temp/builddir/xamarin-android/package.json'" Needs to be added to 'sources' I assume. It is a great idea though. Once the url detection works properly, the url detection can be merged back into.
Works on my setup - AUR helper is yay. Maybe i'll do that
- The reverted code was very non-KISS/verbose/non-idiomatic in comparison (e.g. use makepkg's built-in unpacking via 'source', the 3x nested unpack can be done in one line, use makepgk's msgX functions instead of custom echo-functions etc.)
Sources cannot be dynamic, links change smh (P.S. They do not change, but using only the Build ID requires minimum changes to PKGBUILD). I didn't know that msgX functions exist, so this is good.
Pinned Comments
TheAirBlow commented on 2021-11-05 11:35 (UTC)
C_Schmidpeter, added you as a maintainer. I'll change PKGBUILD to mention you
C_Schmidpeter commented on 2021-11-05 08:43 (UTC) (edited on 2021-11-05 08:56 (UTC) by C_Schmidpeter)
@TheAirBlow: Had no chance to respond to the orphan request. I had already written an update locally. But I was still waiting for upstream to resolve the blocking issue (https://github.com/MicrosoftDocs/azure-devops-docs/issues/2966) of not having a static download link to proper releases and not just non-release commits in order to avoid relying on non-releases. Could you make me maintainer again please?