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

ricochet: init at 1.1.1 #11979

Closed
wants to merge 1 commit into from
Closed

ricochet: init at 1.1.1 #11979

wants to merge 1 commit into from

Conversation

codsl
Copy link
Contributor

@codsl codsl commented Dec 27, 2015

Please DO NOT MERGE until #11974 has been merged as this PR depends on my entry in maintainers.nix that comes with #11974.

That being said, ricochet does seem to work fine.

@codsl
Copy link
Contributor Author

codsl commented Dec 27, 2015

/cc @ttuegel as I don't have much experience with the Qt infrastructure and would appreciate a code review.

export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE $(pkg-config --cflags openssl)"
'';

configurePhase = ''
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of setting configurePhase, I would recommend doing this instead:

configureScript = "qmake";
dontAddPrefix = true;
configureFlags = [ "PREFIX=$(out)" "DEFINES+=RICOCHET_NO_PORTABLE" ];

This way, you don't need to worry about invoking the preConfigure hook. Setting the PREFIX should also make it the mkdir ...; cp ... steps in installPhase unnecessary, but you should double-check that by building it yourself because every QMake project is a little different.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! This works fine. However, the mkdir ...; cp... steps still seem to be necessary as the ricochet binary is in the root directory of the project.

@jgillich
Copy link
Member

jgillich commented Jan 7, 2016

I have tested it and can confirm it works. Only thing that would be nice is a .desktop file.

@jgillich
Copy link
Member

jgillich commented Jan 7, 2016

One thing I've noticed is that the memory usage of this thing is insane. I'm getting 340 MB right after startup, almost 500MB after some usage. Is this normal?

@jgillich jgillich mentioned this pull request Jan 15, 2016
@fpletz fpletz closed this in 6a24c20 Jan 18, 2016
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.

3 participants