raw2dng on homebrew

Started by alfo, June 03, 2013, 08:01:05 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

alfo

Homebrew (http://mxcl.github.io/homebrew/) is an easy package management system for OSX, and seems like the best way to distribute raw2dng.

I'd be happy to maintain a homebrew package for raw2dng.

Any thoughts?
5D mkIII 1.2.3 w/ ML || 600D w/ ML || Atomos Ninja 2 || 50mm f1.4 || 85mm f1.8 || 20-40mm f2.8

scrax

why not, I like homebrew more than macport and fink

is it hard to do, or can you point me to some tutorials?
I'm using ML2.3 for photography with:
EOS 600DML | EOS 400Dplus | EOS 5D MLbeta5- EF 100mm f/2.8 USM Macro  - EF-S 17-85mm f4-5.6 IS USM - EF 70-200mm f/4 L USM - 580EXII - OsX, PS, LR, RawTherapee, LightZone -no video experience-

alfo

It involves writing some Ruby, so if you're competent then go for it:

brew create https://bitbucket.org/600dplus/magic-lantern-things/downloads/raw2dngOSX.zip

Otherwise I'll do it and send a pull request to mxcl who maintains it.
5D mkIII 1.2.3 w/ ML || 600D w/ ML || Atomos Ninja 2 || 50mm f1.4 || 85mm f1.8 || 20-40mm f2.8

scrax

Quote from: alfo on June 03, 2013, 08:07:06 PM
It involves writing some Ruby, so if you're competent then go for it:

brew create https://bitbucket.org/600dplus/magic-lantern-things/downloads/raw2dngOSX.zip

Otherwise I'll do it and send a pull request to mxcl who maintains it.

I have none in ruby, but go for it, it will be nice to have it in homebrew. Good idea.
I'm using ML2.3 for photography with:
EOS 600DML | EOS 400Dplus | EOS 5D MLbeta5- EF 100mm f/2.8 USM Macro  - EF-S 17-85mm f4-5.6 IS USM - EF 70-200mm f/4 L USM - 580EXII - OsX, PS, LR, RawTherapee, LightZone -no video experience-

alfo

How do I compile raw2dng from the ML source?

Homebrew doesn't allow precompiled binaries, so I need the command that compiled raw2dng without compiling the whole of ML as well. I've been using gcc but to no effect.
5D mkIII 1.2.3 w/ ML || 600D w/ ML || Atomos Ninja 2 || 50mm f1.4 || 85mm f1.8 || 20-40mm f2.8

scrax

Quote from: alfo on June 03, 2013, 08:43:09 PM
How do I compile raw2dng from the ML source?

Homebrew doesn't allow precompiled binaries, so I need the command that compiled raw2dng without compiling the whole of ML as well. I've been using gcc but to no effect.
With make but from the module folder, not from main ML folder


raw_rec scrax$ make
~/arm-cs-tools/bin/arm-none-eabi-gcc-4.6.3 -Wp,-MMD,./raw_rec.d -Wp,-MT,raw_rec.o -nostdlib -fomit-frame-pointer -fno-strict-aliasing -DCONFIG_MAGICLANTERN=1 -DCONFIG_=1 -DRESTARTSTART= -DROMBASEADDR= -DVERSION=\"v2.3.NEXT.2013Jun03..C-Modes.scrax\" -DCONFIG_DEBUGMSG=0  -Os -Wall -W -Wno-unused-parameter -Wno-implicit-function-declaration -Wno-unused-function -Wno-missing-field-initializers -Wno-format -Wdouble-promotion -ffast-math -fno-trapping-math -fsingle-precision-constant -fshort-double -std=gnu99 -D__ARM__ -I../../platform/all -I../../src -I../../picoc -mthumb-interwork  -DMODULE -DMODULE_NAME=raw_rec    -c -o raw_rec.o raw_rec.c
[ MODULE   ]   raw_rec.mo
[ GCC      ]   raw2dng
[ GCC      ]   raw2dng
../lv_rec/raw2dng.c: In function 'main':
../lv_rec/raw2dng.c:36: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int'
../lv_rec/raw2dng.c:36: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int'
[ GCC      ]   raw2dng
I'm using ML2.3 for photography with:
EOS 600DML | EOS 400Dplus | EOS 5D MLbeta5- EF 100mm f/2.8 USM Macro  - EF-S 17-85mm f4-5.6 IS USM - EF 70-200mm f/4 L USM - 580EXII - OsX, PS, LR, RawTherapee, LightZone -no video experience-

ebeigarts

I have created homebrew tap for Mac OS X users, so that it is easier to build cr2hdr and raw2dng.
https://github.com/ebeigarts/homebrew-magic-lantern