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

Binary packages #1

Open
Kedrigern opened this issue Nov 9, 2013 · 3 comments
Open

Binary packages #1

Kedrigern opened this issue Nov 9, 2013 · 3 comments

Comments

@Kedrigern
Copy link

Hi,

I really like this app (include things like clear code) and I find it very useful. I was thinking about some binary packages for easier distribution.

I tried to write cpack into cmake yesterday... and its works! For example for Linux RPM everything necessary is to append these lines to CmakeLists.txt:

#
# Generate a distributin package
#

INCLUDE(CPack)

install(TARGETS
      youtube-dl-gui
      RUNTIME DESTINATION bin
      PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE SETUID
)

# General
SET( CPACK_PACKAGE_NAME "youtube-dl-gui" )
SET( CPACK_PACKAGE_VERSION "0.9" )
SET( CPACK_PACKAGE_CONTACT "[email protected]" )
SET( CPACK_PACKAGE_DESCRIPTION_SUMMARY "QT frontend to youtube-dl." )

# RPM
SET( CPACK_RPM_PACKAGE_REQUIRES "youtube-dl" )
SET( CPACK_RPM_PACKAGE_GROUP "Applications/Internet" )

Then you run cpack -G RPM instead make, see Cpack doc.

With DEB package I have some issue yet.

Are you interested in implementing these features? I can prepare
pull request if you are interested. Or we can work on it together. There are questions like where to upload packages (see). Maybe the way is github pages.

@keelerm84
Copy link
Owner

Thank you for your interest in this project! I'm so pleased to hear you have found it useful.

I would definitely be interested in this sort of feature. Please feel free to submit a pull request for this.

Hosting this project on github pages would be an excellent idea. I also like the releases feature discussed in the SO question you linked to. I think this would be a good way to go.

If you have any questions or want to chat with me about anything, I'm typically on IRC (freenode) most of the day as keelerm. You can also find me on Twitter as keelerm84. Thank you again.

@Kedrigern
Copy link
Author

  1. Release version. It is realy easy. Its just git tag.note 1
  2. Prepare gh-pages. I think gh-pages should be simple. Only few sentces, one screenshot, links to binary packages.note 2 Can you create new branch via github project setting?
  3. Prepare packages
    1. RPM - I can handle this (for both architecture)
    2. DEB - I can handle this (for both architecture)
    3. EXE - ? (I am realy not sure about dependency - Qt, youtube-dl itself)
    4. MAC - ?

note 1: But this is help for developers. I think target group are commons users - and they need packages.
note 2: Info for developers (how to compile etc.) should be in readme.md (as is now). Unfortunately there aren't easy way to sync readme a gh-pages.

@keelerm84
Copy link
Owner

My apologies for the delay. I have created the gh-pages branch as requested.

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