You are not logged in.
when I try to upload a newly built src package to the aur, it tells me:
413 Request Entity Too Large
This usually means there's a limit set on uploads with nginx, but in my case the file is only 2.3mb; that seems low for a limit on install packages. Anyone know what the actual limit is?
Offline
What is in your src archive? It should just be a PKGBUILD and associated (small) files like an install scriptlet and patches.
Please post the PKGBUILD here.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
You may want to read this article
Basically, the AUR is for PKGBUILDs, patch files and install files only. The actual source is not hosted on the AUR and must reside elsewhere. The PKGBUILD defines where where that 'elsewhere' is.
Edit: Also, see this
Last edited by ewaller (2015-03-09 21:20:30)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
when I try to upload a newly built src package to the aur, it tells me:
413 Request Entity Too Large
This usually means there's a limit set on uploads with nginx, but in my case the file is only 2.3mb; that seems low for a limit on install packages. Anyone know what the actual limit is?
2.3mb is HUGE for a text file or two, which is all that you should be uploading.
Offline
Fair enough, I'll find an external host for the binary bit. I know in the past I've gotten binary-inclusive AUR packages, though it may have been quite a while back.
Offline
... and to repeat the question, what's the "binary bit" you're including?
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline
It's a repack of a .deb package for barco clickshare presentation software. My work has been using their stuff for a while in conference rooms but there's been no linux client. They released one last month, but only for ubuntu and fedora. It's a library file, a pair of pre-compiled executables, with a couple of icons. Feel free to look for yourself, it's in the AUR now:
Offline
Can you not just download the deb/rpm they provide, then repackage it in the package function? Are you sure you're not violating their license by repackaging and redistributing it as you currently are?
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Something like this should do it. The libresample in AUR is only static, so you'd have to add the debian patches to the PKGBUILD.
source=("barco.tar.gz::http://www.barco.com/tde/(0190171972002340)/R33050056/001007000029/Barco_ApplicationSoftware_R33050056_v01.07.00.29__ClickShare-Launcher-and-Client-for-Linux-Ubuntu-1404-LTS-64-.gz")
# barco.tar.gz gets autoextract
# in prepare
bsdtar -xf clickshare_01.07.00-29_amd64.deb
# in prepare, build or package:
bsdtar -C "$pkgdir" -xf data.tar.gzlibresample stuff:
https://tracker.debian.org/pkg/libresample
https://sources.debian.net/data/main/libr/libresample/0.1.3-4/debian/patches/1001_shlib-cmake.patch
*prepare:
patch -p1 <$pkgdir/1001_shlib-cmake.patch
sed -i '/add_subdirectory(tests)/d' CMakeLists.txt
*build:
cmake CMAKE_INSTALL_PREFIX=/usr .
make
*package:
make DESTDIR=... installLast edited by progandy (2015-03-10 16:00:42)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
No, I'm not sure I'm not breaking their license. Their EULA still displays whenever it runs for the first time, and the software itself is based on a number of other FOSS applications so I doubt they'd have any huge issues. If it's a legal issue for the AUR then I'll take it down.
As for how to best prepare this, I'm sure everyone has their 'best way' and progandy's example may well be a better way than mine. I spent half a day, took the way I manually made it work, and made it reproduce-able for others that might want to use this display client on their Arch systems (admittedly probably very few). If you don't like the way I did it, don't use it; build your own, or if you really care that much I'll let whoever wants to take over the package.
I've used Arch exclusively for personal systems for close to 5 years, Linux exclusively for far longer. People always say 'contribute if you can', and I was just trying to contribute in the best way I know how. I got two screens worth of 'you did this wrong' for my trouble, so my incentive to contribute further at this point is quite low.
Last edited by willruss1 (2015-03-10 19:17:44)
Offline
willruss1,
Speaking in moderator mode, I think you are misinterpreting what is going on. At the beginning of the thread it was clear that there was a disconnect in your understanding of the AUR. I, and others, pointed you in the correct direction and you figured out what we were trying to say. After that, the thread turned into a critical analysis of what you were doing. That is best practice in engineering circles. As in the world of engineering, don't take critical reviews personally. Consider them a chance to defend your design and (perhaps) have someone find a weakness that can be improved upon. And thank you for contributing.
Last edited by ewaller (2015-03-10 20:07:16)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Part of the Arch Way is to search for the most elegant solution. If you take offense to people trying to improve your work, instead of a compliment, then perhaps Arch is not for you.
edit: ninja'd
Last edited by Alad (2015-03-10 20:09:37)
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline
Arch is for me, and anyone else that wants to use it. That's what open source really means, use it, modify it, give back if you feel you've done something worthwhile. I take no offense to actual constructive criticism, and when I have time will probably work on bettering this, with the one or two actually useful responses.
Things like 'perhaps arch is not for you' is hardly constructive, in my eyes; but I really didn't want to start arguments with people I don't know anything about. I just wanted to give back to something that has made my job and life easier. I guess I'll just keep my contributions quieter next time.
Last edited by willruss1 (2015-03-10 20:30:38)
Offline