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

* initial Debian packaging using CMake #25

Merged
merged 1 commit into from Nov 1, 2015

Conversation

ebruck
Copy link
Contributor

@ebruck ebruck commented Oct 31, 2015

I've created a Debian package for issue #22:

  1. cd Flatabulous
  2. mkdir builld
  3. cd build
  4. cmake ../debian/
  5. make package
  6. sudo dpkg -i ./flatabulous-theme-0.0.1-noarch.deb

@anmoljagetia
Copy link
Owner

Oh wow! This is great. Thanks a lot! 👍

Now, we just need to put it up on launchpad to get the apt-get install working?

@ebruck
Copy link
Contributor Author

ebruck commented Oct 31, 2015

Sorry, I've never created a PPA & packaging in Launchpad. You could for now continue to use the releases feature on github?

@anmoljagetia
Copy link
Owner

Most .deb packages uplink to a PPA (like Google Chrome). Can that be done here somehow? I registered for a Launchpad account and created a package fro theme. That way it would be much easier to distribute the theme based on the installation.

anmoljagetia added a commit that referenced this pull request Nov 1, 2015
Initial Debian packaging using CMake
@anmoljagetia anmoljagetia merged commit 9ba3926 into anmoljagetia:master Nov 1, 2015
@anmoljagetia
Copy link
Owner

I am also getting 'bad package' error if I install it via Ubuntu Software Center (by double clicking). The error message is :

Lintian check results for /home/anmol/.themes/Flatabulous/build/flatabulous-theme-0.0.1-noarch.deb:
E: flatabulous-theme: control-file-has-bad-permissions md5sums 0664 != 0644

How can we fix this? It looks like a minor issue?

@anmoljagetia
Copy link
Owner

image
Is there a way that we can make this an un-install button? Like it comes with Google Chrome? In Ubuntu Software Center?

image

@ebruck
Copy link
Contributor Author

ebruck commented Nov 1, 2015

@anmoljagetia It looks like that is a bug in older versions of cmake. Just checked and I get an error as well. I mostly run dpkg at the command line which doesn't complain. I'll look into cleaning up the packaging if possbile.

http://stackoverflow.com/questions/17796670/cpack-deb-generator-control-file-has-bad-permissions-mdsums-0644-0644

@ebruck
Copy link
Contributor Author

ebruck commented Nov 1, 2015

@anmoljagetia I'll look into this:

From stackoverflow:

This is fixed in the develop branch of CMake, upcoming version 3.3.

@anmoljagetia
Copy link
Owner

Yeah, I think it is because of a few missing files in the package. I tried running lintian and got a lot of errors and warning, but I can't make much sense of them (all are related to missing files, which I can fix, or file permission issue).

The errors are (posting just in case it is helpful) :

E: flatabulous-theme: changelog-file-missing-in-native-package
E: flatabulous-theme: control-file-has-bad-permissions md5sums 0664 != 0644
E: flatabulous-theme: no-copyright-file
E: flatabulous-theme: description-is-pkg-name Flatabulous theme
E: flatabulous-theme: extended-description-is-empty
W: flatabulous-theme: non-standard-dir-perm usr/ 0775 != 0755
W: flatabulous-theme: non-standard-dir-perm usr/share/ 0775 != 0755
W: flatabulous-theme: non-standard-dir-perm usr/share/themes/ 0775 != 0755
W: flatabulous-theme: non-standard-dir-perm usr/share/themes/Flatabulous/ 0775 != 0755
W: flatabulous-theme: extra-license-file usr/share/themes/Flatabulous/LICENSE

Also, do you know how can we generate the remove option, like in the screenshot above for chromium ?

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

Successfully merging this pull request may close these issues.

None yet

2 participants