| 13 | | ==== Making a debian package ==== |
| | 13 | === Making a debian package === |
| | 14 | |
| | 15 | First of all, I refer to branch "qt4" that was once available on gitorious.org. The commit hash of the HEAD is fdad0d7f39dfbc883372628fcc58c1194ab0b782. |
| | 16 | |
| | 17 | Then, I had to make the following changes (see patch file in attachments): |
| | 18 | * I removed libqt4-declarative from the ..Depends in debian/control |
| | 19 | * I added lots of folders and files to install-desktops target in debian/rules |
| | 20 | |
| | 21 | With these changes (already contained in the archive file found in the attachments) you can build the packages as follows, |
| | 22 | {{{ |
| | 23 | debuild -us -uc |
| | 24 | }}} |
| | 25 | Note that adding something like "-j4" will speed up compilations. But it doesn't take too long anyway (compared to MoleCuilder). |
| | 26 | |
| | 27 | Note that the dependencies should be fulfilled beforehand. I compiled the packages in the attachments on a virtual machine with a freshly installed Ubuntu 12.04.5 with minimum requirements. |
| | 28 | |
| | 29 | Note finally that I am not in any way affiliated with digia (the company owning Qt) and all my modifications are covered by the LGPL license (go that from wikipedia.org). The only reason I make Qt3D available as debian package is for you to be able to use molecuilder with the GUI. |
| | 30 | |
| | 31 | === What you need === |
| | 32 | |
| | 33 | [=#download Downloading] the package: Just pick '''libqt4-3d_1.0-tp2_amd64.deb''' and install as |
| | 34 | {{{ |
| | 35 | sudo dpkg -i libqt4-3d_1.0-tp2_amd64.deb |
| | 36 | }}} |
| | 37 | |
| | 38 | The other packages then do the following: |
| | 39 | * '''libqt4-3d-dbg_1.0-tp2_amd64.deb''' contains debugging symbols for the Qt3D library. In case molecuildergui crashes and you want to take a look yourself, download and install. |
| | 40 | * '''libqt4-3d-dev_1.0-tp2_amd64.deb''' contains the header files required if you want to build the molecuilder debian package yourself. |
| | 41 | * '''libqt4-3d-examples_1.0-tp2_amd64.deb''' contains the examples from the Qt3D package, e.g. ''teapot'' |