[Gimp-user] Making Source Code Available
I am writing a user book on GIMP, and in conjunction with making available several excerpts (tutorials), I put GIMP 2.6.8 for windows on my site, along with the users manual, and related Python files.I would like to comply with the GPL (I spent several hours just trying to figure out which license requirements apply to GIMP, and I am still not sure). It appears that I must make available the source code. I have no problem with that, but there is no single zipped file of the many hundreds of files for GIMP. Each file must be downloaded then put into a directory . . . recreating the entire directory tree. That would take many days, days of not writing, and I would make mistakes--omissions or duplications--with no practical way of knowing correcting them.Can someone help? Is there an easier way to comply? Or, am I reading the wrong license terms? Walton ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] Making Source Code Available
On Fri, Jul 23, 2010 at 4:21 PM walton wrote: sure). It appears that I must make available the source code. I have no problem with that, but there is no single zipped file of the many hundreds of files for GIMP. Each file must be downloaded then put into a directory . . . recreating the entire directory tree. You have me at lost :) What files? Are you talking about source code of GIMP? If so, what is exactly the problem of uploading an archive of GIMP's source code or even linking to it? And by the way, why do you need to distribute source code? Did you apply changes to it? Alexandre Prokoudine http://libregraphicsworld.org ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] Making Source Code Available
On Fri, 23 Jul 2010 16:31:33 +0400, Alexandre Prokoudine wrote: And by the way, why do you need to distribute source code? Did you apply changes to it? The GPL requires that the source code is available together with the binary (or that you give a written notice to provide the source code on request). This is further clarified in the FAQ: http://www.gnu.org/licenses/old-licenses/gpl-2.0-faq.html#SourceAndBinaryOnDifferentSites -- Jernej Simončič http://eternallybored.org/ ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] Making Source Code Available
On Fri, Jul 23, 2010 at 2:31 PM, Alexandre Prokoudine alexandre.prokoud...@gmail.com wrote: And by the way, why do you need to distribute source code? Did you apply changes to it? You need to. In fact, the sources are supposed to be available to the end user for 3 years after the user obtains the binary. And you must ensure they are available, which is taken to mean You must put it somewhere where you can reasonably control the availability or something along those lines. -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog: http://www.brankovukelic.com/ Check out my portfolio: http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http://counter.li.org/) I hang out on identi.ca: http://identi.ca/foxbunny Gimp Brushmakers Guild http://bit.ly/gbg-group ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] Making Source Code Available
On Fri, Jul 23, 2010 at 5:44 PM, Branko Vukelic wrote: You need to. In fact, the sources are supposed to be available to the end user for 3 years after the user obtains the binary. And you must ensure they are available, which is taken to mean You must put it somewhere where you can reasonably control the availability or something along those lines. Okay :) So what is the problem of uploading an archive? :) Alexandre Prokoudine http://libregraphicsworld.org ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] Making Source Code Available
On Friday, July 23, 2010 10:18:21 am wal...@12on14.com did opine: htmlbodyspan style=font-family:Verdana; color:#00; font-size:10pt;divI am writing a user book on GIMP, and in conjunction with making available several excerpts (tutorials), I put GIMP 2.6.8 for windows on my site, along with the users manual, and related Python files./divdivbr/divdivI would like to comply with the GPL (I spent several hours just trying to figure out which license requirements apply to GIMP, and I am still not sure).nbsp; It appears that I must make available the source code. I have no problem with that, but there is no single zipped file of the many hundreds of files for GIMP. Each file must be downloaded then put into a directory . . . recreating the entire directory tree.nbsp; That would take many days, days of not writing, and I would make mistakes--omissions or duplications--with no practical way of knowing correcting them.br/divdivbr/divdivCan someone help? Is there an easier way to comply? Or, am I reading the wrong license terms? /divdivbr/divdivWaltonbr/div/span/body/html Pleased do not post with html enabled. For those of us, who for security reasons, do not enable html rendering in our email agents, all the html coding does is expand the message, sometimes to hundreds of times its size in straight text and makes it very hard to locate your actual message in all that folderol. This is std netiquette. -- Cheers, Gene There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order. -Ed Howdershelt (Author) Marxist Law of Distribution of Wealth: Shortages will be divided equally among the peasants. ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] Making Source Code Available
On Fri, Jul 23, 2010 at 3:51 PM, Alexandre Prokoudine alexandre.prokoud...@gmail.com wrote: Okay :) So what is the problem of uploading an archive? :) Usually it's either forgetfulness or lack of knowledge as to GPL requirements. Also, nobody says you have to distribute source on the server (but it's easy). You can also give your users a written promise that you will send them the CD with the source _on request_ and if you _pay_ for the CD and related costs. -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog: http://www.brankovukelic.com/ Check out my portfolio: http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http://counter.li.org/) I hang out on identi.ca: http://identi.ca/foxbunny Gimp Brushmakers Guild http://bit.ly/gbg-group ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] Making Source Code Available
On Friday 23 July 2010, wal...@12on14.com wrote: I am writing a user book on GIMP, and in conjunction with making available several excerpts (tutorials), I put GIMP 2.6.8 for windows on my site, along with the users manual, and related Python files. I would like to comply with the GPL snip-- Can someone help? Is there an easier way to comply? Or, am I reading the wrong license terms? OK I've read your mail and the other responses so far. If I understand it you are writing a book and you want to distribute the GIMP program with it (probably on CD). I am not a lawyer but what is wrong with just supplying the source archives (.tar.gz, .bz, etc) on the same CD. As far as I can see this would alleviate your need to maintain a web server to provide the source code. You would need to include the source archive for each version of GIMP included on the CD (Windows, BSD, Mac, Linux, QNX, etc) as well as source for any other GPL programs you include. These archives are available wherever it is that YOU get the programs from. (Assuming the sites are in compliance w/ the GPL). The GPL also requires the use of the COPYING file, you may want to include this in the root directory of the CD/DVD My understanding is that, while the GPL does stipulate making the source code available, there is some leeway in how you make it available. I believe you could even publish the actual code in your book if you desired,and be in compliance with the license. (Of course this would probably require more pages than your whole book) If you are distributing tutorial files and examples then you need to comply with the associated licenses for those files as well (CC, Artistic, BSD, etc) If I am wrong about any of this then I am sure a more knowledgeable source than I will jump in and correct me. see ya dh ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] Making Source Code Available
On Fri, 23 Jul 2010 11:27:00 -0700, David Herman wrote: You would need to include the source archive for each version of GIMP included on the CD (Windows, BSD, Mac, Linux, QNX, etc) Since GIMP for these systems compiles from the same source, it's enough to include a single copy of it on the CD. -- Jernej Simončič http://eternallybored.org/ ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] Making Source Code Available
On Friday, July 23, 2010 03:49:57 pm wal...@12on14.com did opine: Please accept my apologies. I am new to this forum. walton NP Walton, I really wasn't trying to be a list enforcer, just reminding. 1. Welcome to the list, enjoy. There are some pretty smart folks here. It doesn't seem to be a high traffic list. 2. Now, please ask your question again so that those who can answer it authoritatively, might do so. 3. Please try to keep your replies to the list so that others might be able to search the list archives and possibly find the answer. -- Cheers, Gene There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order. -Ed Howdershelt (Author) It pays in England to be a revolutionary and a bible-smacker most of one's life and then come round. -- Lord Alfred Douglas ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] Script-Fu for batch image conversion
As soon as I add in either of these lines: (set! num-layers (car (gimp-image-get-layers newimage))) (set! layerIDs (cadr (gimp-image-get-layers newimage))) I get batch command execution errors. The full script is: (define (batch-save-as-xcf pattern) (let* ( (filelist (cadr (file-glob pattern 1))) (fileparts) (xcfname) (filename) (image) (newimage) (drawable) ) (gimp-message-set-handler 2) (gimp-message Preparing to act on the following files) (gimp-message pattern) (while (pair? filelist) ; set filename to the name of the current file in the glob (set! filename (car filelist)) (gimp-message The current file is: ) (gimp-message filename) ; set xcfname by tokenizing on . and taking everything but the last part (set! fileparts (strbreakup filename .)) (set! fileparts (butlast fileparts)) (set! xcfname (string-append (unbreakupstr fileparts .) .xcf)) (gimp-message The new filename will be: ) (gimp-message xcfname) ; set image from the file, and then get the first layer and set it to newimage (gimp-message Loading File.) (set! newimage (car (gimp-file-load RUN-NONINTERACTIVE filename filename))) (set! num-layers (car (gimp-image-get-layers newimage))) (set! layerIDs (cadr (gimp-image-get-layers newimage))) ; set drawable to the newimage (gimp-message Setting the Drawable.) (set! drawable (car (gimp-image-flatten newimage))) ; save the drawable from newimage as xcfname (gimp-message Saving the new file.) (gimp-file-save RUN-NONINTERACTIVE newimage drawable xcfname xcfname) (set! filelist (cdr filelist)) ) ) ) Date: Sun, 06 Jun 2010 17:46:15 -0400 From: saulgo...@flashingtwelve.brickfilms.com Subject: Re: [Gimp-user] Script-Fu for batch image conversion To: gimp-user@lists.XCF.Berkeley.EDU Message-ID: 20100606174615.awibbw09xk44k...@flashingtwelve.brickfilms.com Content-Type: text/plain; charset=ISO-8859-1; DelSp=Yes; format=flowed Quoting Dillon dillonontheco...@gmail.com: The reason I'm writing my own script-fu, rather than using Daves Batch Processor, is that my TIF files are multi-page, and when I load the image and flatten it to a drawable, I end up with both pages flattened into one drawable. I only want one of the pages (I think the first). I need to find a way to select that page (which I assume is turned into a layer when the TIF is loaded), and just set that layer to be my drawable. In that case, you were on the right track originally with using 'gimp-image-get-layers' (I am also assuming multi-page TIFFs load as separate layers). However, you had incorrectly handled the value returned by the function. 'gimp-image-get-layers' returns returns a list containing two elements: the number of layers in the image and an array of the layerIDs of those layers: (set! num-layers (car (gimp-image-get-layers image))) (set! layerIDs (cadr (gimp-image-get-layers image))) You can obtain the layerID of the top layer with: (set! top-layer (vector-ref layerIDs 0)) The next down with: (set! next-layer (vector-ref layerIDs 1)) And so on: (set! bottom-layer (vector-ref layerIDs (- num-layers 1))) If you know the position of the layer you wish to keep (the TIFF page), you can then remove all of the other layers from the image with: (set! pos 0) (while ( pos num-layers) (unless (= pos TIFFpage) (gimp-image-remove-layer image (vector-ref layerIDs pos)) ) (set! i (+ i 1)) ) ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user