-
Notifications
You must be signed in to change notification settings - Fork 14
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
Create a PPA for Ubuntu #22
Comments
Does this even run on Ubuntu? I think that there is a folder relating to Debian packaging, is that helpful for a ppa? |
Yes, if it works on debian, it will work on Ubuntu. I have started importing code to my branch (not realizing reddit is a different project) here: https://code.launchpad.net/~khurshid-alam/reddit/something-for-reddit As of now, its building. If it compiles properly, I would like to propose few things:
|
As of now it gives me following error (https://launchpadlibrarian.net/261349321/buildlog_ubuntu-xenial-i386.reddit-is-gtk_0.1.0+201605240812~ubuntu16.04.1_BUILDING.txt.gz)
It seems I must tell debian/rules to run ./autogen.sh first. |
Sounds correct. The autogen.sh script creates the authors file automatically. Please just create the ppa under your account. If you need me to set up any web hooks I can do so, just post the url or email them to me [email protected]. |
I added it under /debian/rules like this: #!/usr/bin/make -f
%:
dh $@ --with autoreconf
override_dh_autoreconf:
dh_autoreconf -- ./autogen.sh which calls autogen.sh first and it works....But then, I am getting error like this:
Any idea? Full log is available here: https://launchpadlibrarian.net/261372206/buildlog_ubuntu-xenial-amd64.reddit-is-gtk_0.1.0+201605241044~ubuntu16.04.1_BUILDING.txt.gz |
Update:
So I manually copied
|
Maybe we can just revert it back to not using autogen.sh? Then, just |
Yes That's what am I doing. And its working. But it failed to find mdx_urlize module for python3 which belongs to marky package. In
|
I'll actually roll that into this repository - I need to make some changes to it anyway so we can support /r/subreddit urls. It is under a 2 clause BSD licence. Can I copy it and change it to GPLv3, or can I have 2 licences in a package? BTW it has a repo here: https://github.com/r0wb0t/markdown-urlize/blob/master/mdx_urlize.py |
It seems that project has been abandoned. There was a request to make this as a part of python-markdown. But the author is not interested (Python-Markdown/markdown#37) . So there are two options:
No. Not really (perhaps If only the author permits.)
Yes that's possible: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
But this isn't mandatory. Nowdays nobody bother with this anymore. |
Ok, so I will write a new peice of code that is unrelated to mdx_urlize. It will do a similar function though. This new code will be GPLv3 and included in this repo. Is that a good solution? |
Yes. That seems good solution. You can also file an RFP (Request For Package) in debian. If it geets into debian, it automatically gets into Ubuntu. |
Ok, I just pushed a commit to remove the mdx_urlize dep. Is is good now? |
Also, how should I file a RFP? Should I install debian and test it first before I file an RFP, or is it ok? |
Sorry for late reply. Finally I compiled it successfully on local machine by running ./configure manually. However dhbuild shows eroor when it tries to run ./configure. I will fix it tomorrow. |
A Snap package would be faster and easier than a PPA, I've filed a new issue requesting that: #52 |
A ppa for Ubuntu would be nice.
The text was updated successfully, but these errors were encountered: