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

Linux hack #41

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

runesoeknudsen
Copy link

I have successful used this version on linux.
The commit ec33378 should probably be remade with visual studio as I have manually edited in the resource files

Great tool :-)

@ulidtko
Copy link

ulidtko commented Aug 4, 2018

TL;DR:

$ git remote add StijnKuipersIsAsshole https://github.com/runesoeknudsen/GerberTools
$ git fetch StijnKuipersIsAsshole
remote: Counting objects: 29, done.
remote: Total 29 (delta 24), reused 24 (delta 24), pack-reused 5
Unpacking objects: 100% (29/29), done.
From https://github.com/runesoeknudsen/GerberTools
 * [new branch]      linuxHAck  -> StijnKuipersIsAsshole/linuxHAck
 * [new branch]      master     -> StijnKuipersIsAsshole/master
$ git checkout linuxHAck
Branch 'linuxHAck' set up to track remote branch 'linuxHAck' from 'StijnKuipersIsAsshole' by rebasing.
Switched to a new branch 'linuxHAck'
$ xbuild
…

Also, Codeplex RIP; hence a reputable source of the DotNetZip.dll and other deps WANTED.

@deece
Copy link
Contributor

deece commented Nov 28, 2018

There's a few other resources in the project where the icon needs to be extracted. Would you be able to look at the errors from running build.sh from here please?
https://github.com/InfernoEmbedded/GerberTools

Once that's done, I can start working on getting Travis CI to build this

@deece deece mentioned this pull request Nov 28, 2018
@runesoeknudsen
Copy link
Author

I would love to support the project, however I am very busy at the moment.

But to help out as much I can now, here is the way I extract the icons as fare as I recall it:
1: Local the embedded images by searching for "System.Drawing.Bitmap"
2: Extract and decode the base64 image, e.g. by using an online tool like: https://www.motobit.com/util/base64-decoder-encoder.asp
3: Open it in GIMP and save it again in order to make Mone be happy (That part to some time to realise)
4: Use the file instead of the embedded code

Suggestion:
Maybe it is enough to extract and decode the image and re-save it in GIMP and afterwards encode it to base64 again and replace the existing one. It is worth a try.

@deece
Copy link
Contributor

deece commented Nov 28, 2018

Thanks for the suggestion, I'll give it a try

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