-
Notifications
You must be signed in to change notification settings - Fork 12
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
Support "make install" for AppImage and upload to PPA debian package with shared libs for all ubuntu versions compatibility #2
Comments
I'll keep that in mind. When it's done, I'll let you know. |
I need external help for do it. Can you help me? I suppose I need a debian directory and with this I had problems in the past (no PPA for now for it). So, with your issue I'm on stand by. |
No, you don't need deb packaging to support "make install". You can do it in the |
Thanks for help, can you modify ubunsys.pro to be compatible with AppImage deploy? I need specific steps.
|
Hi @adgellida if you can get "make install" to work (without anything specific to AppImage), I can then do the AppImage-specific steps. |
I don't know how get "make install" to work with your instruccions. |
I'm on holidays, when I returned I'll see it. |
target.path = /usr/bin icon.path = /usr/share/pixmaps desktop.path = /usr/share/applications INSTALLS += target desktop icon
The app is installed What I need to complete now? Thanks for help. Almost there |
Does it also install the icon and desktop file? |
Of course, but I get 2 errors for icon and desktop, not file format recognized, but works ok. |
Looks like a |
Done. |
AppImage: Made with: Issues: |
We finally got it! Cool, what have you done? How did you make the final step to create the AppImage file? This way, I won't bother you each time I take out a new realease. Yes this app has a lot of bugs. On next releases I'll fix a lot of things, add functionalities and redesign anothers. Now is on alpha status and I don't have almost experience. We are in touch. Thanks for help. |
https://github.com/probonopd/ubunsys/blob/patch-1/.travis.yml |
I'll revisit this issue, I don't know when, very busy. Right now bugfixes, enhancements and other personal priorities needed before. Thanks for help and comprension. |
Sure, no hurries. |
I'm here. 1.PPA operative. Only 16.04 and 17.04. Can you help me in step 2 (your recommendation steps) and 3 (I don't now how, like your fpm example in your issue 9?). I executed linuxdeployqt, and I can execute binary with libraries generated on any ubuntu, but if I try to package it manually permissions and linkage errors appear. With files separately ok, packaging on a deb error. Thanks. |
Can you make Ubunsys compile on Ubuntu 14.04? 17.04 is much too new, if you build on that it will never run on older systems. |
Yes. I need help for 2 and 3 yet. |
If we put binaries that were compiled on 14.04 into an AppImage, then the AppImage will run on 14.04 and all later versions.
I can do this, once the application builds correctly on 14.04 - either as a ppa or (preferred) on Travis CI. See https://github.com/probonopd/linuxdeployqt/blob/master/README.md#using-linuxdeployqt-with-travis-ci for an example. |
Thanks another time! Incredible. |
It already does it. But it creates an AppImage, not a deb. |
And stacer and redtimer how created it? I asked them but no answer yet. They also have AppImage. |
@fathomssen and/or @oguzhaninan can you help me with this issue? debuild with shared libraries as in your debs. Integrate inside the deb the qt libraries |
Hi, |
Hi
Sorry, did not see your question - which issue are you referring to? My approach, in general, works like this:
Step 3 includes additional files that linuxdeployqt is missing (at least in the version that I used). Step 4 uses the binaries created by linuxdeployqt which are also found in the AppImage package. Then the Debian and RedHat packages are created using FPM. Best regards |
@fathomssen I sended you a message to an incorrect e-mail in your web. With your steps I don't see clear to do it in my case. Can you put the exact steps for my app? I'm very lost. Thanks 4 help on the same day! Is this that you need? On lib plugins/imageformats plugins/platforms Now I have an AppImage and a deb done manual way and uploaded to a PPA, but I need to integrate libs to use the same deb on all ubuntu versions as I say above, not version specific seeing the version of qt on official repositories like now. @probonopd this way we'll learn the 2. |
debs created like that are hardly ever compliant with the distributions' rules. I'd say, either do "real" packages in the way distributions want them, or use the bundling approach and do, e.g., an AppImage. |
@probonopd You're right, but it's that much easier for beginners. |
@oguzhaninan thanks brother. I did it hours ago. With debreate ok, on another machine without qt works ok, but with debian rules I'm trying to push to my PPA and not done by now. Error finding plugins folder. No errors with lib folder. Hours trying... I suspect I need a modification on debian rules file, but which? dh_install: Cannot find (any matches for) "plugins/imageformats/libqgif.so" (tried in "." and "debian/tmp") dh_install: ubunsys missing files: plugins/imageformats/libqgif.so dh_install: Cannot find (any matches for) "plugins/imageformats/libqicns.so" (tried in "." and "debian/tmp") dh_install: ubunsys missing files: plugins/imageformats/libqicns.so dh_install: Cannot find (any matches for) "plugins/imageformats/libqico.so" (tried in "." and "debian/tmp") dh_install: ubunsys missing files: plugins/imageformats/libqico.so dh_install: Cannot find (any matches for) "plugins/imageformats/libqjp2.so" (tried in "." and "debian/tmp") dh_install: ubunsys missing files: plugins/imageformats/libqjp2.so dh_install: Cannot find (any matches for) "plugins/imageformats/libqjpeg.so" (tried in "." and "debian/tmp") dh_install: ubunsys missing files: plugins/imageformats/libqjpeg.so dh_install: Cannot find (any matches for) "plugins/imageformats/libqtga.so" (tried in "." and "debian/tmp") dh_install: ubunsys missing files: plugins/imageformats/libqtga.so dh_install: Cannot find (any matches for) "plugins/imageformats/libqtiff.so" (tried in "." and "debian/tmp") dh_install: ubunsys missing files: plugins/imageformats/libqtiff.so dh_install: Cannot find (any matches for) "plugins/imageformats/libqwbmp.so" (tried in "." and "debian/tmp") dh_install: ubunsys missing files: plugins/imageformats/libqwbmp.so dh_install: Cannot find (any matches for) "plugins/imageformats/libqwebp.so" (tried in "." and "debian/tmp") dh_install: ubunsys missing files: plugins/imageformats/libqwebp.so dh_install: Cannot find (any matches for) "plugins/platforms/libqxcb.so" (tried in "." and "debian/tmp") dh_install: ubunsys missing files: plugins/platforms/libqxcb.so dh_install: missing files, aborting debian/rules:20: recipe for target 'binary' failed make: *** [binary] Error 2 dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2 -------------------------------------------------------------------------------- Build finished at 20170909-0858 Finished -------- E: Build failure (dpkg-buildpackage died) |
Can you send me the Debian file? with transfer.sh |
debian folder? |
deb package |
This night I'll send all necessary. Can also stacer have a PPA with shared libs? Thanks. |
@fathomssen @probonopd @oguzhaninan all necessary is on the code:
|
@fathomssen @probonopd @oguzhaninan, this is the status, last commit is the latest code:
|
For now always using Qt 5.2.1 libs from official sources for maximun compatibility and less work for packaging. |
I was trying to make an AppImage, but for this I need "make install" to work. It should install the application, the desktop file, and the icon. Can you please enable this? Then I can continue making the AppImage.
Here is the failed build log:
https://travis-ci.org/probonopd/ubunsys/builds/239783115#L990
The text was updated successfully, but these errors were encountered: