-
Notifications
You must be signed in to change notification settings - Fork 282
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
Created a script for automatic creation of .deb packages from source Resolve #43 #117
Conversation
👏 😍 this is awesome @pallavagarwal07. Did you see my comment about the man pages? we could use the output of Im installing |
@pcottle Yes, I saw the comment. The format of the man pages is usually fixed. I don't think the same page can be used. I'll have to read up a bit more before I can say for sure. |
hrm im getting one error:
so i cant try it out. curious what you think about the man page but if we dont go that direction ill merge this PR just so we have somewhere to start for the linux packages |
Try this: I have used debuild command to create packages. It runs both dpkg and some verify script internally. But this works perfectly on mine. Will try directly by dpkg and report back |
Yeah. Getting the same errors when running dpkg manually although dpkg-buildpackage command works perfectly. |
The more I am trying dpkg, the more I'm convinced that the method I followed was debhelper specific. Run using the script in makeDist. It also rewrites one of the file to have the correct version number and timestamp. So package won't be build directly anyway. EDIT:I don't know if this is possible to do in Mac OS. It seems like Mac only has support for dpkg, while all the new documents on debian packaging are based on the dh tools. |
@pcottle |
@pcottle Note: file should be executed from inside the debian directory, fakeroot should be installed. Please review |
Works for me on Ubuntu 15.04:
|
@pcottle |
Thanks @tpalsulich for the check. I'm trying this out right now and I think a few things are broken if there's a space in the name:
Which is yet again a reason why Dropbox shouldn't have introduced spaces in their enterprise product 😠 😡 but I digress... let me try to patch in some quotes and fix this up |
I'm mobile right now. But, from what I remember, you'll need some quotes around {}. |
My |
There we go, finally got it to work and made the script much more idempotent:
@pallavagarwal07 something to consider also is that since |
Created a script for automatic creation of .deb packages from source Resolve #43
Ahhh now its so clean 😍
One thing is that logspew from the packager:
thats ok right? |
Thanks, I'll keep that in mind. Should I do the rpm packages next? |
Thanks a bunch @pallavagarwal07 I definitely couldn't have done this on my own. Now that we have debian packages, I assume just including them with the next release so they can be downloaded is sufficient right? Is there any easy command we should list in the README for installation? |
Seems fine, although I would be more relieved if I tested the deb built on your system by installing it on mine |
Installation usually is done by double clicking. On worst cases it can be installed by dpkg -i command. Although I haven't met a debian system where double clicking the downloaded file didn't work |
Seems to install and work fine 😄 But Lintian is giving some errors. Lintian checks for .deb packages for best practices. The deb produced on my system isn't giving any 😦 |
Anyway, those are only warnings. Shouldn't cause any trouble. |
Alright great! I'll be sure to include the debian package in the next release and update the README with the link |
Oh wait you can edit releases, let me put this up now... |
Awesome! |
Alright readme updated! |
If you feel particularly compelled @pallavagarwal07 go ahead! But I'm not sure how "bad" it is to not have a manpage -- if its not a huge deal then maybe its not worth your time. However if its a huge debian "faux pa" then maybe we should |
Please break up the Linux section into parts. AUR is for Arch ONLY. |
@pallavagarwal07 mind sending a PR for the README? you know what you're talking about haha |
Will do. |
As mentioned by @pcottle , I have made the necessary additions to makeDist.py and created all necessary files in debian directory which would facilitate the creation of the debian package.
Please review.
I have already accepted Facebook's Contributor License Agreement (CLA).