Git Product home page Git Product logo

Comments (7)

kornelski avatar kornelski commented on August 24, 2024

Sorry about that. You'll find libpng and Sparkle project in ImageOptim. The
rest create as cli tool and just add all C files.

regards, Kornel

On 8 June 2013 12:28:29 James Stout [email protected] wrote:

How do yuo build this? I'm getting missing deps for the linked
binaries/frameworks, pngquant, pngnq, posterizer and sparkle. And probably
liblibpng. Could they be added as git sub-modules?

Just out of interest, why did you decide to use PyObjC?

thanks


Reply to this email directly or view it on GitHub:
#5

from imagealpha.

kornelski avatar kornelski commented on August 24, 2024

Have you managed to build it?

from imagealpha.

jamesstout avatar jamesstout commented on August 24, 2024

Not yet - not had time.

On 25 Jun, 2013, at 10:35 PM, porneL [email protected] wrote:

Have you managed to build it?


Reply to this email directly or view it on GitHub.

from imagealpha.

jamesstout avatar jamesstout commented on August 24, 2024

Somehow - I got it building...

ia

from imagealpha.

kornelski avatar kornelski commented on August 24, 2024

Great. I suppose you had to change project file or some other bits? Is that something you could contribute to the project?

What steps need to be documented?

from imagealpha.

kornelski avatar kornelski commented on August 24, 2024

why did you decide to use PyObjC?

Just an excuse to learn Python :)

It thought it'd be easier to work in higher-level language than ObjC (only 1.0, no GC when I started), but PyObjC wasn't as fun as I hoped:

  • lousy runtime error reporting with no Xcode integration.
  • no compile-time error checking, and regular python linters I've tried didn't like objc imports.
  • there was a time when users were installing custom Python version that wasn't PyObjC-compatible, so I had crash reports that I couldn't do anything about.
  • type conversions and memory management require knowledge of both pythonisms and Cocoa patterns, to the point I couldn't get layer-backed patterns to work in PyObjC without crashes (I'm still not sure if that's bug/missing bridge in PyObjC or I missed something. Same code in plain ObjC works fine.)
  • in addition to forgetting explicit self in method declarations I keep forgetting trailing underscore in method names that PyObjC requires. Python's syntax can't handle Cocoa's method names well.

In the meantime ObjC went a long way with GC, ARC, properties, iterators, blocks, etc. so I probably won't write another PyObjC app.

from imagealpha.

jamesstout avatar jamesstout commented on August 24, 2024

It was a lot of trial and error. Not sure I can remember the steps.

I'll start afresh and document....

I made some (private) changes to sabnzb and CouchPotato to learn Python :-)

from imagealpha.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.