FastQt icon indicating copy to clipboard operation
FastQt copied to clipboard

Create a binary and/or easy to install packages (.deb, .rpm)

Open StuntsPT opened this issue 7 years ago • 39 comments

Not having to pull in Java is already a great advantage of FastQT over FastQC, but dealing with dependencies manually can be a hassle. A binary release or a package would be A+.

Thanks!

StuntsPT avatar Jan 17 '17 22:01 StuntsPT

Binary package, rpm, deb, conda maybe windows and mac is plan for 0.2.

natir avatar Jan 17 '17 22:01 natir

I create a AppImage for Linux x86_64 https://github.com/labsquare/fastQt/releases/download/0.1/fastqt-0.1-linux-x86_64.AppImage

@StuntsPT Could you test it and tell me if it works ?

chmod +x fastqt-0.1-linux-x86_64.AppImage
./fastqt-0.1-linux-x86_64.AppImage

dridk avatar Jan 17 '17 22:01 dridk

Just tried it:

francisco@VoidCaster [23:19:40] [~/Desktop] 
-> $ ./fastqt-0.1-linux-x86_64.AppImage 
This application failed to start because it could not find or load the Qt platform plugin "xcb"
in "".

Available platform plugins are: xcb.

Reinstalling the application may fix this problem.
[1]    3962 abort (core dumped)  ./fastqt-0.1-linux-x86_64.AppImage

I can't find any packages related to Qt and "xcb" on the Archlinux repositories. I'll try to compile from source and try to figure it out tomorrow.

StuntsPT avatar Jan 17 '17 23:01 StuntsPT

@StuntsPT Humm.. This should fix the problem:

  sudo apt-get install libx11-xcb1 

What's your distribution and version :

   lsb_release -a 

dridk avatar Jan 17 '17 23:01 dridk

@natir Binary package, rpm, deb, conda maybe windows and mac is plan for 0.2. Hi, working on it soon...

ysard avatar Jan 17 '17 23:01 ysard

apt-get will not save me here, since I'm on Archlinux.

francisco@VoidCaster [23:46:56] [~] 
-> $ lsb_release -a
LSB Version:	1.4
Distributor ID:	Arch
Description:	Arch Linux
Release:	rolling
Codename:	n/a

I have managed to work around the problem like this:

francisco@VoidCaster [23:54:50] [~/Desktop] 
-> $ export QT_QPA_PLATFORM_PLUGIN_PATH=/usr/lib/qt/plugins/platforms/          
francisco@VoidCaster [23:55:20] [~/Desktop] 
-> $ ./fastqt-0.1-linux-x86_64.AppImage
add font
Cannot mix incompatible Qt library (version 0x50701) with this library (version 0x50700)
[1]    7540 abort (core dumped)  ./fastqt-0.1-linux-x86_64.AppImage

But unfortunately, now I'm mixing different lib versions (my system libs are on a different version from yours) and Qt doesn't like that. I'll compile from source and let you know how it went until you have a complete, statically linked binary ready (or maybe even consider using a SNAP on 0.2).

StuntsPT avatar Jan 17 '17 23:01 StuntsPT

As promised, I have compiled from source and everything works on Archlinux. I have also created a PKGBUILD and fastqt is now available on the AUR.

StuntsPT avatar Jan 18 '17 10:01 StuntsPT

Thank for this work.

Please make PR in branch master.

natir avatar Jan 18 '17 11:01 natir

I already merge his pull request

Le 18 janv. 2017 12:52, "Pierre Marijon" [email protected] a écrit :

Thank for this work.

Please make PR in branch master.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/labsquare/fastQt/issues/24#issuecomment-273456382, or mute the thread https://github.com/notifications/unsubscribe-auth/AB0pF9ME-ixJhCHaZDp-3if2gycht9Ubks5rTf0FgaJpZM4LmQXJ .

dridk avatar Jan 18 '17 11:01 dridk

You're welcome! Glad I could help.

StuntsPT avatar Jan 18 '17 11:01 StuntsPT

@StuntsPT Hi , Could you please update the arch repository with the version 0.2 ?

dridk avatar Feb 26 '17 17:02 dridk

Hi @dridk where is the code you used to generate the AppImage? Wouldn't it make sense to do in .travis.yml?

probonopd avatar Feb 26 '17 17:02 probonopd

I didn't publish the code. I just ran the following line.

    linuxdeployqt fastqt --appimage 

Yes, make it avaible on travis would be greate. Actually, appimage doesn't work on Archlinux. There is something wrong with libxcb. It returns :

This application failed to start because it could not find or load the
Qt platform plugin "xcb"
in "".
Available platform plugins are: xcb.
Reinstalling the application may fix this problem.

dridk avatar Feb 26 '17 17:02 dridk

Please test the AppImage linked in https://github.com/labsquare/fastQt/pull/50.

probonopd avatar Feb 26 '17 18:02 probonopd

@StuntsPT Thanks for your PR. How can I be notify for the link on transfert.sh ?

dridk avatar Feb 26 '17 18:02 dridk

@dridk instead of storing AppImage builds temporarily for 14 days each on transfer.sh, you could use GitHub Releases to store the binaries permanently. This way, they would be visible on the Releases page of your project. This is what I recommend. See https://docs.travis-ci.com/user/deployment/releases/. If you want to do this for continuous builds, also see https://github.com/probonopd/uploadtool.

probonopd avatar Feb 26 '17 18:02 probonopd

I want to manage release page manually, because I have to play with windows binary too. But Now I m looking how to make a travis notification with transfer.sh url ..

dridk avatar Feb 26 '17 19:02 dridk

Not sure how to do that, but would be interested in it too :+1:

probonopd avatar Feb 26 '17 19:02 probonopd

After testing on arch linux, the new appImage works !! @StuntsPT could you confirm it ? https://github.com/labsquare/fastQt/releases/download/0.2/fastqt-0.2-linux-x86_64.appimage

dridk avatar Feb 26 '17 19:02 dridk

@dridk - confirming that the appimage now work on archlinux. I will also update the PKGBUILD for version 0.2 and report back once it's done.

StuntsPT avatar Feb 27 '17 10:02 StuntsPT

Archlinux PKGBUILD updated to v0.2.

StuntsPT avatar Feb 27 '17 11:02 StuntsPT

@StuntsPT Could you package 0.2.3 for arch ? Just released few minutes ago

dridk avatar Mar 14 '17 22:03 dridk

Haha, funny you should ask. Just saw the release tweet and I was already making it! Cheers! And here it is: https://aur.archlinux.org/packages/fastqt/

StuntsPT avatar Mar 14 '17 23:03 StuntsPT

I can help with creating ppa for ubuntu, and windows installer with inno setup.

Just to make sure that those are needed and missing features.

Dridk, what's your thoughts on this?

bokic avatar Apr 07 '17 07:04 bokic

For the windows installer we use inno setup on appveyor plateform.

ubuntu ppa is a missing feature, if you can make this it's a very good news.

Thanks for your interest on this project.

natir avatar Apr 07 '17 07:04 natir

I will create ppa in the following days.

One question. What git branch I should use?

And be aware that ppa packages will automatically update on a daily basis, when new stuff will be pushed to git.

bokic avatar Apr 07 '17 09:04 bokic

Master branch is the release branch. We are working on devel. So, for the ppa, use the master branch.

dridk avatar Apr 07 '17 09:04 dridk

@bokic By the way, we have a linux server with labsquare.org domain. And I think @Arkanosis register labsquare into Launchpad. If you need something ask us

Here it is : https://launchpad.net/~labsquare

dridk avatar Apr 07 '17 09:04 dridk

My plan was to build the ppa on my personal launchpad account, after which you can clone the ppa to your official launchpad ppa account.

No need for Linux server, since all the process of building and hosting the packages(.deb) will be on launchpad.net, but if you want you can use one.

bokic avatar Apr 07 '17 09:04 bokic

You can join the team and do it as a labsquare member. @Arkanosis Could you add us in launchpad ?

I never used launchpad before. I don't know how it works exactly.

dridk avatar Apr 07 '17 09:04 dridk