Skip to content
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

Make a ppa with all depencencies #35

Open
mehdisadeghi opened this issue May 8, 2014 · 5 comments
Open

Make a ppa with all depencencies #35

mehdisadeghi opened this issue May 8, 2014 · 5 comments

Comments

@mehdisadeghi
Copy link
Contributor

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.

@aidin36
Copy link
Owner

aidin36 commented May 9, 2014

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?

@mehdisadeghi
Copy link
Contributor Author

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.

@mehdisadeghi
Copy link
Contributor Author

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.

@mehdisadeghi
Copy link
Contributor Author

mehdisadeghi commented Apr 17, 2016

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.

@aidin36
Copy link
Owner

aidin36 commented Apr 19, 2016

Hey Mehdi!

Wow! That's great! Thanks for all the work (:
I am looking forward for the future progress.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants