Enormous thanks for this Darrell.  I have some really good 'sea of purple' 
images which I wanted to test out but instead spent the day struggling with git 
and still no defringe module.

Rgds,
Rob.

-----Original Message-----
From: Bruce Albert [mailto:doctordruid...@yahoo.com]
Sent: 03 November 2013 14:31
To: darktable-devel
Subject: Re: [darktable-devel] Help with git branches

As you have already discovered, the git environment is extremely hostile to 
those not expert in its use.
In fairness, developers work hard on their projects, and don't want to waste 
their time on software housekeeping, which is what git does for them. But it 
makes it very difficult for those who are not developers to participate in the 
evaluation of, and experimentation with, new software. It seems a bit unfair to 
advertise all the new and great features available, and then cloak them inside 
an unapproachable access system like git. There are other revision systems 
besides git, but they all share the same characteristics of being useful to 
those who use them all the time, and unintelligible to those who do not.

Nonetheless, I fought the fight, and managed to get it working. But it took a 
lot of searching and experimenting; purists will say it's probably not the 
"right" way to do it, and it isn't, but it works.

BEFORE YOU DO ANY OF THE FOLLOWING, heed well the advice already given, that 
for critical work, you probably don't want to use this; you want to use a more 
stable version. Also, be sure to backup your ~/.config/darktable directory -- 
really do that, because a test version of the program may change your data in 
such a way as to make it unusable by the regular program.

I'm not sure what you mean by the "LCA branch", but if you mean the 
purple-defringe module, here's how I got it working:

1. Make a directory somewhere to put this, I use /opt/darktable. chown that 
directory to your username, so you don't have to fight permissions all the time.

3. Inside /opt/darktable, run:

git clone git://github.com/darktable-org/darktable.git purple-defringe

This will take some time; it downloads the main branch of darktable into a 
directory called defringe.

4. cd into the defringe directory, and run:

curl https://github.com/darktable-org/darktable/pull/326.patch | git am

This will download the purple-defringe module, and apply the patch. You will 
see an output that looks something like this:
-----
   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                  Dload  Upload   Total   Spent    Left  Speed
100 61098  100 61098    0     0  55013      0  0:00:01  0:00:01 --:--:-- 55043
Applying: defringe: Module for removing fringes (e.g. most common purple 
fringing, caused by longitudinal CA) - it can however also work to remove 
traditional CA
/opt/darktable-devel/darktable/.git/rebase-apply/patch:549: trailing whitespace.

warning: 1 line adds whitespace errors.
Applying: defringe: ran the iop dependencies script
-----

5. Since I am using ubuntu with the https://launchpad.net/~dhor/+archive/myway 
ppa enabled, I get the latest regular build of darktable installed 
automatically, so I put the test versions in /usr/local.
To do this,
from your defringe directory run
./build.sh --prefix /usr/local --buildtype release Once that runs successfully, 
you will need to cd ./build and run sudo make install, as usual.
Then you run it with "/usr/local/bin/darktable"

That's it, and for me, it works.

Sorry for the long post, but I literally spent two whole days figuring this 
out, and I think it's fair to share it with others who have been frustrated by 
git.


On 11/03/2013 04:38 AM, Darrell Eifert wrote:
> Hello Dimitrios --
>
> Thank you for the link, although is seems to be oriented more towards
> potential developers.  As a basic user of darktable, I would
> appreciate a specific list of commands similar to what is on the
> "Install" page for whatever it takes to download the LCA removal branch, 
> compile it into darktable for testing, and then re-set my local git copy to 
> master without any experimental branches.
>
> Best,
> -- Darrell
>
>
> On Sunday, November 3, 2013 5:41 AM, Dimitrios Psychogios 
> <dpsychog...@gmail.com> wrote:
> Have you already seen 
> http://darktable.org/redmine/projects/darktable/wiki/Hacking_on_darktable ?
>
>
> On Sat, Nov 2, 2013 at 11:28 PM, Darrell Eifert
> <darrelleif...@yahoo.com <mailto:darrelleif...@yahoo.com>> wrote:
>
>     Hello --
>
>     I (and possibly many others who are compiling darktable from git) would 
> be grateful for a short
>     tutorial on how to change from master to a branch of interest, compile 
> DT, and then change back
>     again to a "good" version if something goes wrong.  I am interested in 
> testing out the LCA removal
>     module, but am hesitant to play with the various git commands for fear of 
> losing my working copy.
>
>     I began using git by following the very clear instructions on 
> http://www.darktable.org/install/,
>     but got lost trying to sort out various gereric git tutorials from around 
> the 'net.
>
>     Thanks in advance.
>
>     -- Darrell
>

------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that 
developers love is also attractive to malware creators. Download this white 
paper to learn more about secure code signing practices that can help keep 
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
darktable-devel mailing list
darktable-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-devel

This email is confidential and is intended for the addressee only. If you are 
not the addressee, please delete the email and do not use it in any way. Please 
note that any views or opinions presented in this email are solely those of the 
author and do not necessarily represent those of the company. NHBC reserves the 
right to monitor all email communications. The recipient should check this 
email and any attachments for the presence of viruses. The company accepts no 
liability for any damage caused by any virus transmitted by this email. NHBC, 
the National House-Building Council, is limited by guarantee in England, No 
320784. Registered address: NHBC House, Davy Avenue, Knowlhill, Milton Keynes 
MK5 8FP. NHBC is authorised by the Prudential Regulation Authority and 
regulated by the Financial Conduct Authority and Prudential Regulation 
Authority. NHBC Building Control Services Ltd, registered by guarantee in 
England with Company No. 01952969. Registered address: NHBC House, Davy Avenue,
  Knowlhill, Milton Keynes MK5 8FP. NHBC Services Ltd registered by guarantee 
in England, No 03067703. Registered address: NHBC House, Davy Avenue, 
Knowlhill, Milton Keynes MK5 8FP. If you make a claim under a Buildmark policy 
your personal details will be stored and processed in accordance with the Data 
Protection Act. Your personal details may be passed to others involved with 
your claim such as the original builder, or a consultant or remedial works 
contractor that we may employ in connection with your claim(s) and matter 
ancillary to your claim(s). Other than disclosure provided for in this 
statement, we will not pass any data about you to any other party without your 
permission unless we are required to do so by law.

------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
darktable-devel mailing list
darktable-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-devel

Reply via email to