Hi! I hope it’s fine now :-)
— namcap used to define dependencies, as well as improve packaging a bit;
— removed dependency on imake just to have `lndir`…;
— launch-time choice between gl1 and gl2 version (using zenity);
— two launchers: one for the GUI, one for the text-only server.
Please tell me if something is wrong. In particular, I’m very doubtful about namcap making me remove the dependencies on libpulse and mesa…
Search Criteria
Package Details: ysflight 20150523-2
Package Actions
| Package Base: | ysflight |
|---|---|
| Description: | A portable flight simulator |
| Upstream URL: | http://wwwe.ysflight.com/ |
| Category: | games |
| Licenses: | |
| Submitter: | theYinYeti |
| Maintainer: | theYinYeti |
| Last Packager: | theYinYeti |
| Votes: | 1 |
| First Submitted: | 2012-07-08 10:21 |
| Last Updated: | 2015-06-01 21:47 |
Dependencies (3)
Required by (0)
Sources
- http://ysflight.in.coocan.jp/download/YsflightForLinux.zip
- ysflight-server.desktop
- ysflight.desktop
- ysflight.png
- ysflight.sh
Latest Comments
Comment by theYinYeti
Comment by theYinYeti
Sorry catlover2. I was busy with an OS reinstall so I did not pay close attention. I'll look better, and make another update sometime in the week.
Comment by catlover2
Thanks for updating!
20130805 has a new version of the executable, "ysflight2", that uses OpenGL 2. Another /usr/bin script that calls it is in order, and perhaps one for "ysflight-consvr" (the network multiplayer server) is too.
Comment by catlover2
Version 20130805 is out; would you please update the PKGBUILD?
I confirm that version 20120701-2 of your PKGBUILD works fine on i686.
Also, about namcap, all you have to do is install it and then run "namcap something.pkg.tar.xz". See https://wiki.archlinux.org/index.php/Namcap too.
Comment by theYinYeti
I did not find how to “run namcap on the binary package”. Anyway, using pactree, I could trim the dependencies to a list much like that of gborzi :-) It should be better this way. I hope…
Comment by theYinYeti
@gborzi
Thank you :-) I’m really busy these days (construction work on the appartment), but as soon as I find some time to run the PC, I’ll take your comments into account.
Comment by gborzi
@theYinYeti
the correct method is to run namcap on the binary package. The depends line should be depends=('mesa' 'libpulse'). Also, you can use the CARCH variable differentiate between 32 and 64 bit, e.g.
md5sums=('d7ba5e36f22be950bfb75c936e5bf887'
...
if [[ "$CARCH" == "i686" ]]; then
md5sums[0]='ce88e3c72af8c989c3f85789405e2668'
fi
Comment by theYinYeti
I’m not on my PC right now. I suppose your problem stems from the multilib repository I have enabled; surely you have not. I guess plain “gcc” or “gcc-libs” would satisfy the dependency…
I defined the dependencies by running “ldd” on all included binaries and libraries included… I don’t know if there is a better method.
Comment by KinG-InFeT
trying to find the package and replace the dependence with the correct
Comment by KinG-InFeT
other error: Dependency `gcc-libs-multilib' of `ysflight' does not exist.
Comment by theYinYeti
New version 20120701. I hope your problem disapeared. I have no experience with package creation. I may have forgotten something…
Comment by KinG-InFeT
and fails build:
Dependency `lib32-gcc-libs' of `ysflight' does not exist.
Comment by KinG-InFeT
please upgrade this package