[Sugar-devel] Sugar bundleBuilder

Alan Jhonn Aguiar Schwyn alanjas at hotmail.com
Mon Mar 4 23:18:14 EST 2013


Hi,
I make this patch for gtk2 and gtk3 version of sugar-toolkit.Please try them and apply.
Regards!
Alan

Date: Mon, 4 Mar 2013 12:01:18 -0600
From: nicestep at gmail.com
To: alanjas at hotmail.com
CC: dwnarvaez at gmail.com; sugar-devel at lists.sugarlabs.org
Subject: Re: [Sugar-devel] Sugar bundleBuilder

Alan,

I'll do that at home this evening, about 6 hours from now.

James Simmons

On Mon, Mar 4, 2013 at 11:51 AM, Alan Jhonn Aguiar Schwyn <alanjas at hotmail.com> wrote:




You try remove the folder from GIT (and make a commit) and make the .xo again?

Date: Mon, 4 Mar 2013 11:48:43 -0600

From: nicestep at gmail.com
To: alanjas at hotmail.com
CC: dwnarvaez at gmail.com; sugar-devel at lists.sugarlabs.org

Subject: Re: [Sugar-devel] Sugar bundleBuilder

Yes, my problem was that my locale directory is in Git.  Back when we were using MANIFEST that might have been normal.


Daniel has given me enough info to update my book, and since FLOSS Manuals are made with a Wiki I probably will be able to make a Diff.


James Simmons


On Mon, Mar 4, 2013 at 11:19 AM, Alan Jhonn Aguiar Schwyn <alanjas at hotmail.com> wrote:




> On 2 March 2013 04:04, Alan Jhonn Aguiar Schwyn <alanjas at hotmail.com> wrote:

> > Hi,
> >
> > I found a problem with bundlebuilder (sugar-toolkit) when use "dist_xo" out
> > of git. The locale folder adds twice times the same .mo and the same .linfo.


> > The problem is easy solved, but exist some ways.
> > Basically: when execute the command, the .po are compiled. After, when
> > no git -> use list_files function (that returns all files including the


> > locale
> > folder files).
> > In the package function, the files of get_files_in_git are add to the .zip
> 
> Where is the duplication? get_files_in_git should not include anything


> inside locale/, list_files should include only stuff in locale/...

The problem seems appears in the case that you have locale folder include in git

(james problem?)
and when you execute the ./setup.py dist_xo outisde of the git folder (for example, you have

a makefile or script that creates a folder tmp and build inside of it) 		 	   		  

_______________________________________________

Sugar-devel mailing list

Sugar-devel at lists.sugarlabs.org

http://lists.sugarlabs.org/listinfo/sugar-devel





_______________________________________________
Sugar-devel mailing list
Sugar-devel at lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel 		 	   		  

_______________________________________________

Sugar-devel mailing list

Sugar-devel at lists.sugarlabs.org

http://lists.sugarlabs.org/listinfo/sugar-devel





_______________________________________________
Sugar-devel mailing list
Sugar-devel at lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20130305/e54b645a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-fix-duplicated-.mo-files-outside-git-folder-gtk2.patch
Type: application/octet-stream
Size: 1293 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20130305/e54b645a/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-fix-duplicated-.mo-files-outside-git-folder-gtk3.patch
Type: application/octet-stream
Size: 1300 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20130305/e54b645a/attachment-0001.obj>


More information about the Sugar-devel mailing list