0 Members and 1 Guest are viewing this topic.
Since repackaging and distribution doesn't involve installation or usage, the EULA may not apply. But I don't think that is an intended loophole.
I would generally recommend having a PKGBUILD for the official AIMP package in the AUR
My understanding is that the AIMP EULA applies to the AIMP application itself and does not automatically determine the licensing terms of separately distributed plugins. Each plugin should therefore be considered under its own licence.
I would appreciate it if AIMP plugin packages could include a LICENSE or LICENSE.txt file containing the actual licence text, rather than only a link to an external webpage.
The Linux AIMP wrapper dynamically uses AIMP's libbass-aimp.so; the plugin archive does not appear to include the BASS library itself.
Are both basszxtune.so and basszxtune_core.so distributed under GPLv3, or does either component have a separate licence?
A question about InputDTSThe InputDTS plugin documentation says that it is released under GNU GPL terms and is based on libdca by VideoLAN. The plugin's GitHub repository also contains libdca source code directly in its libdca directory.VideoLAN identifies libdca as GPL-2.0-or-later, but the plugin itself does not specify a GPL version.Could you clarify which GPL version applies to the complete InputDTS plugin? In particular, is it intended to be distributed under GPL-2.0-or-later, or under another GPL version?
How I can do that? As I can see, registration of new users is unavailable.
How is this better than the current implementation?
In any case, the plugin author decides for themselves what and how to format within the plugin package. We have no requirements for this.
aimp_test ├─ Langs │ └─ *.lng - plugin's localization files ├─ x64 │ ├─ aimp_test.so - general 64-bit library (Linux) │ ├─ aimp_test.dll - general 64-bit library (Windows) │ └─ *.* - all other 64-bit binaries ├─ aimp_test.dll - general 32-bit library (Windows) ├─ *.* - all other 32-bit binaries ├─ LICENSE.txt └─ *.* - all other platform-independent files (README.txt, etc.)
I believe the best approach would be to contact badcast once you have an AUR account. The AUR provides a Manage Co-Maintainers option, which allows the current maintainer to add you as a co-maintainer. This would let you work on the package together, without having to create a competing submission.
If a PKGBUILD retrieves the licence text from an external webpage, its output depends on the current state of that page. The page may disappear, its content may change, or even just its HTML structure or text presentation may be modified. As a result, the same PKGBUILD, building the same plugin version, may produce a different package or fail altogether.
The PKGBUILD must therefore have access to the actual licence text when building the package.
package under /usr/share/licenses/$pkgname/
Including the licence text in the plugin archive avoids relying on the changing contents of an external webpage. It also allows package maintainers to preserve the exact licensing terms, including copyright notices, additional clauses and exceptions.
I also think the .aimppack format is a good solution. The AIMP Addon Package.rtf document, located at aimp_sdk_600/AIMP Addon Package.rtf in the AIMP SDK, describes a standardised package structure, including a place for platform-independent files such as ReadMe.txt and License.pdf.
For example, Arch Linux requires licence files that are not provided by its licenses package to be included in the resulting package under /usr/share/licenses/$pkgname/. This includes custom licences, as well as licences such as MIT or BSD that require individual copyright notices. The PKGBUILD must therefore have access to the actual licence text when building the package.
# Maintainer: badcast <lmecomposer@gmail.com># Contributor: Artem Izmaylov <support@aimp.ru>pkgname=aimp-binpkgver=6.00.3094beta7pkgrel=1pkgdesc='Audio player, converter and tag editor (v6.00 Beta)'arch=('x86_64')url="https://www.aimp.ru/"license=('LicenseRef-AIMP-EULA')provides=( "aimp=${pkgver}" 'libavcodec-aimp.so' 'libavfilter-aimp.so' 'libavutil-aimp.so' 'libbass-aimp.so' 'libswresample-aimp.so')conflicts=('aimp')depends=( 'at-spi2-core' 'cairo' 'fontconfig' 'freetype2' 'gdk-pixbuf2' 'glib2' 'gtk3' 'harfbuzz' 'hicolor-icon-theme' 'libgcc' 'libogg' 'libstdc++' 'libx11' 'pango' 'sqlite' 'zlib')optdepends=( 'xorg-xwayland: X11 compatibility layer for Wayland sessions' 'libappindicator: system tray icon support' 'libayatana-appindicator: system tray icon support | alternative' 'opus-tools: Opus encoding support')source=( "source-do-not-install.pkg.tar.zst::https://aimp.ru/files/desktop/builds/aimp-${pkgver}-1-x86_64.pkg.tar.zst")sha256sums=( 'd23c8a0f565696129b119d538d7c6207e7347def81ce6eee65ebeffdd35d2c69')package() { rm --preserve-root=all -rf "${srcdir}/usr/share/lintian" rm --preserve-root=all -rf "${srcdir}/usr/src" cp -a "${srcdir}/opt" "${pkgdir}/" cp -a "${srcdir}/usr" "${pkgdir}/" install -Dm644 "${srcdir}/opt/aimp/license.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" find "${pkgdir}" -type d -exec chmod 755 {} \; find "${pkgdir}" -type f -exec chmod 644 {} \; chmod 755 "${pkgdir}/opt/aimp/AIMP" chmod 755 "${pkgdir}/opt/aimp/AIMPate" chmod 755 "${pkgdir}/opt/aimp/AIMPac" chmod 755 "${pkgdir}/opt/aimp/CrashReporter" chmod 755 "${pkgdir}/opt/aimp/Plugins/enc_mpc/mpcenc" chmod 755 "${pkgdir}/opt/aimp/Plugins/enc_tta/ttaenc"}
I understand that this won't be particularly easy, especially after all these years.
license=('LicenseRef-AIMP-EULA')
It correctly installs the licence and all the other files. Only programmes that are executed directly need the execute permission bit, which is why they have 755
What that's mean? How it will interpreted by package manager? Will the license been displayed for user before installation?
print -r -- 'Package information:'LC_ALL=C pacman -Qip aimp-bin-6.00.3094beta7-1-x86_64.pkg.tar.zstprint -r -- ''print -r -- 'Licence files:'bsdtar -tf aimp-bin-6.00.3094beta7-1-x86_64.pkg.tar.zst | grep -iE 'license|copying|copyright'print -r -- ''print -r -- 'Licence text:'bsdtar -xOf aimp-bin-6.00.3094beta7-1-x86_64.pkg.tar.zst usr/share/licenses/aimp-bin/LICENSE
I don’t really understand why this should be here? After all, all the rights and rules are spelled out in the source package. Moreover, there are scripts there that perform the initial setup.
xdg-mime uninstall --mode system '/opt/aimp/System/FileFormats.xml'
xdg-desktop-icon uninstall --novendor "/usr/share/applications/aimp.desktop"
sha256sums=( 'd23c8a0f565696129b119d538d7c6207e7347def81ce6eee65ebeffdd35d2c69')install="${pkgname}.install"package() {
aimp_close() { if pgrep -f '/opt/aimp/AIMP' > /dev/null; then printf '%s\n' 'Terminating app instance...' pkill -f '/opt/aimp/AIMP' || true sleep 1s fi}aimp_create_config() { local config='/opt/aimp/AIMP.ini' if [[ ! -f "${config}" ]]; then { printf '%s\n' '[Systpt]' printf '%s\n' 'UserMode=1' printf 'ID={%s}\n' "$(cat /proc/sys/kernel/random/uuid)" } >> "${config}" fi}pre_install() { printf '%s\n' 'pre_install' aimp_close}pre_remove() { printf '%s\n' 'pre_remove' aimp_close if [[ -f '/opt/aimp/System/FileFormats.xml' ]]; then xdg-mime uninstall --mode system '/opt/aimp/System/FileFormats.xml' fi}pre_upgrade() { printf '%s\n' 'pre_upgrade' aimp_close}post_install() { printf '%s\n' 'post_install' aimp_create_config xdg-mime install --mode system --novendor '/opt/aimp/System/FileFormats.xml'}post_remove() { printf '%s\n' 'post_remove' printf '%s\n' '> removing...' rm --preserve-root=all -f '/opt/aimp/AIMP.ini'}post_upgrade() { printf '%s\n' 'post_upgrade' aimp_create_config xdg-mime install --mode system --novendor '/opt/aimp/System/FileFormats.xml'}
It indicates to the person installing the package that they should check the actual licence terms themselves
Package installation does not have to be an automatic process. Users can download the PKGBUILD from the AUR, review it, inspect the source files, build the package and examine its contents before installing it. For example, here is how the package information and licence file can be inspected without installing the package:
Explicitly specify the mode for xdg-mime:
The default is to use system mode when called by root and to use user mode when called by a non-root user.
A minor one: --novendor is not a valid option for uninstall.
A more significant one: the file belongs to the package, and pacman automatically removes files belonging to a package when it is uninstalled.
-rw-r--r-- 1 root root 329 11-06 12:08 aimpac.desktop-rw-r--r-- 1 root root 375 11-06 12:08 aimpate.desktop-rw-r--r-- 1 root root 2037 11-06 12:08 aimp.desktop
post_remove() { printf '%s\n' 'post_remove' printf '%s\n' '> removing...' rm --preserve-root=all --force '/opt/aimp/AIMP.ini' rmdir '/opt/aimp' || { printf '%s %d\n' '> removing: /opt/aimp -> failure with status code:' "${?}" }}
Changes to the file structure could leave pacman unable to fully remove the package during uninstallation,
As a temporary workaround, the latest pkg.tar.zst package is made available on the project website as soon as a new version is released.
I'd like to outline two benefits of also having an up-to-date PKGBUILD in the AUR:
I therefore added a condition to remove the directory only if it is empty: