Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package Request: Trebleshot-Desktop #28258

Open
Boebbele opened this issue Jan 27, 2021 · 6 comments
Open

Package Request: Trebleshot-Desktop #28258

Boebbele opened this issue Jan 27, 2021 · 6 comments
Labels
request Package request

Comments

@Boebbele
Copy link

Boebbele commented Jan 27, 2021

TrebleShot is an open-source application that allows you to send and receive files without an internet connection.
The Trebleshot-Android-App ist also stored in F-Droid-Store.

I tried with this template file:

# Template file for 'trebleshot'
pkgname=trebleshot
version=0.1.0alpha2
revision=1
archs="x86_64"
wrksrc="desktop-0.1.0-alpha2"
build_style=gnu-configure
hostmakedepends="pkg-config intltool"
makedepends="cmake"
depends="qt5 kdnssd"
short_desc="A multi-platform file-sharing tool"
maintainer=""
license="GPL-2"
homepage="https://github.com/trebleshot"
distfiles="https://github.com/trebleshot/desktop/archive/0.1.0-alpha2.tar.gz"
checksum=8343658d59f183078ab0a706689c1d8362e7ea924f3f0ee4a981c5cc6f55aaa7

But it ending with this Error:

=> ERROR: trebleshot-0.1.0alpha2_1: do_configure: '${configure_script} ${configure_args}' exited with 127
=> ERROR:   in do_configure() at common/build-style/gnu-configure.sh:7

Please, can someone fix it?

@astralchan
Copy link
Contributor

astralchan commented Jan 28, 2021

There, ugh, are many things wrong with that template. Plus, you just gave the last two lines of xbps-src error, and left out any useful information regarding the actual build errors. I'll try making a template when I get home.

Looking at upstream's releases, there are only alpha pre-releases, it might not be released yet.

@Boebbele
Copy link
Author

Boebbele commented Jan 28, 2021

that's very nice of you. Sorry, I'm completely new to void Linux. I have a lot to learn.
I use the package on Arch Linux. it works very well.

@astralchan
Copy link
Contributor

Here is the template if you want to maintain it:

# Template file for 'trebleshot-desktop'
pkgname=trebleshot-desktop
version=0.1.0
_version=${version}-alpha2
revision=1
wrksrc=desktop-${_version}
build_style=cmake
makedepends="qt5-devel kdnssd-devel qt5-plugin-mysql qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds"
short_desc="Open-Source file sharing software for Linux"
maintainer=""
license="GPL-2.0-only"
homepage="https://github.com/trebleshot/desktop"
distfiles="${homepage}/archive/${_version}.tar.gz"
checksum=8343658d59f183078ab0a706689c1d8362e7ea924f3f0ee4a981c5cc6f55aaa7

if [ "${CROSS_BUILD}" ]; then
	hostmakedepends="qt5-qmake qt5-host-tools"
fi

It passes xbps-src on x86_64-musl and aarch64-musl. I haven't tested the resulting build binary package. In maintainer, put your information that you can be reached at: name/alias <youremail>.

@Boebbele
Copy link
Author

Thank you so much! I will Test it when I get Home.

@Boebbele
Copy link
Author

It works perfektly! Thank you so much!
I think I'am too stupid at the moment to maintain it.
But I will learn!

@astralchan
Copy link
Contributor

It works perfektly! Thank you so much!
I think I'am too stupid at the moment to maintain it.
But I will learn!

Nah, you can do it :) , Just make a PR to merge your template. Have the commit message be "New package: trebleshot-desktop-0.1.0" from a seperate branch on your fork.

@ericonr ericonr added the request Package request label Feb 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
request Package request
Projects
None yet
Development

No branches or pull requests

3 participants