tocc
tocc copied to clipboard
Make a ppa with all depencencies
I suggest to have a ppa repository on launchpad along with dependencies, in this case unqlite, which lets ppa users to install the software and newer versions easily.
Good suggestion!
The first problem for releasing a .deb package is: UnQlite don't have any released binary package yet. I don't know if it's a good idea to contain a third-party dependency in a our .deb package?
Checkout launchpad documentations, I think you upload your code along with it's dependencies and launchpad takes care of building and making packages for you.
Hey Aidin! I was reviewing issues I'm involved in and I saw this one. I decided to make this ppa.
I don't know if it's a good idea to contain a third-party dependency in a our .deb package
You are definitely right! tocc's deb package must contain only tocc and nothing else. To emphasize this even more, I would say tocc needs three different .dep packages, one for libtocc, one for toccfs and one for tocc-cli. Unqlite will have it is own dep package which lives inside the same ppa and will be installed as a dependency when one tries to install tocc.
I just finished adding unqlite to a ppa called tocc on launchpad, one can install unsqlite using that:
add-apt-repository ppa:mehdix/tocc
apt-get update
apt-get install unqlite-unofficial
Please let me know if you have any comments, I will add tocc in the next step.
Just a little update on this issue. First of all, properly packaging debian source code proved to be a tough task, at least for me.
I played more with the above ppa and the corresponding debian packaging instructions. Now, instead of unqlite-unofficial, there are two packages inside the above repository: libunqlite-dev and libunqlite1. And libunqlite-dev depends on libunqlite1 of course:
root@09a004669cbc:/# apt-cache search unqlite
libunqlite-dev - header files and static library for libunqlite
libunqlite1 - Embeddable NoSQL Database Engine
I will try to build libtocc on top of this dependency. I would need to break tocc's source tree into three different source packages, in order to build them separately as one shared library and two binary packages.
Hey Mehdi!
Wow! That's great! Thanks for all the work (: I am looking forward for the future progress.