Release preparations

classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

Release preparations

kintel
Administrator
Hi all,

I think we're close to a release.
I just uploaded new Mac Binaries: http://www.kintel.net/public/OpenSCAD-2012.10.30.dmg

Unless I hear strong protests, let's consider the current master branch a release candidate.
I'd love to see binaries for Linux & Windows for people to test if anyone is up for building them.

Reports of showstopper bugs are also welcome :)

Cheers,

 -Marius


Reply | Threaded
Open this post in threaded view
|

Re: Release preparations

Brad Pitcher
Great!
I'll work on a Windows binary, and I'll look at Linux binaries after that if nobody has done it yet.
For the record, is this the commit for the release?
https://github.com/openscad/openscad/commit/467f8968434c9a46c17edae1bfdba5eb1c756eff

---------
Brad Pitcher
Software Developer
(702)723-8255


On Tue, Oct 30, 2012 at 5:59 PM, Marius Kintel <[hidden email]> wrote:
Hi all,

I think we're close to a release.
I just uploaded new Mac Binaries: http://www.kintel.net/public/OpenSCAD-2012.10.30.dmg

Unless I hear strong protests, let's consider the current master branch a release candidate.
I'd love to see binaries for Linux & Windows for people to test if anyone is up for building them.

Reports of showstopper bugs are also welcome :)

Cheers,

 -Marius

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566

Reply | Threaded
Open this post in threaded view
|

Re: Release preparations

kintel
Administrator
On 2012-10-30, at 22:57 , Brad Pitcher wrote:
> I'll work on a Windows binary, and I'll look at Linux binaries after that if nobody has done it yet.
> For the record, is this the commit for the release?
> https://github.com/openscad/openscad/commit/467f8968434c9a46c17edae1bfdba5eb1c756eff
>
Excellent!
I know that Don has been doing some work on both Linux and Windows, especially on the build scripts, but I keep forgetting who does what - just sync so you don't have to duplicate any work.

Yes, that's the commit I used for the current Mac binaries. It would be safe to assume though, that any new commits to master from now on will be objective improvements in terms of releasability :)

 -Marius


Reply | Threaded
Open this post in threaded view
|

Re: Release preparations

Torsten Wagner
In reply to this post by kintel
I can just claim that the recent git compiles under Arch Linux 64bit without any trouble. There are some compiler warnings but it seems nothing critical. 

src/handle_dep.cc: In function ‘void handle_dep(const string&)’:
src/handle_dep.cc:27:28: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]

src/value.cc: In member function ‘Value bracket_visitor::operator()(const string&, const double&) const’:
src/value.cc:599:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
src/value.cc: In member function ‘Value bracket_visitor::operator()(const VectorType&, const double&) const’:
src/value.cc:608:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

src/traverser.cc: In member function ‘Response Traverser::traverse(const AbstractNode&, const State&)’:
src/traverser.cc:36:2: warning: ‘response’ may be used uninitialized in this function [-Wmaybe-uninitialized]

src/renderer.cc: In member function ‘virtual void Renderer::setColor(Renderer::ColorMode, GLint*) const’:
src/renderer.cc:22:10: warning: ‘col’ may be used uninitialized in this function [-Wuninitialized]
src/renderer.cc:22:10: warning: ‘*((void*)& col +4)’ may be used uninitialized in this function [-Wuninitialized]
src/renderer.cc:22:10: warning: ‘*((void*)& col +8)’ may be used uninitialized in this function [-Wuninitialized]
src/renderer.cc:22:10: warning: ‘*((void*)& col +12)’ may be used uninitialized in this function [-Wuninitialized]

lex.lexer.c: In function ‘int lexerlex()’:
lex.lexer.c:938:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
lex.lexer.c: In function ‘yy_buffer_state* lexer_scan_bytes(const char*, yy_size_t)’:
lex.lexer.c:1980:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

No show stopper in view. Openscad works as usual. Rendering and output seems ok.
There seems to be a problem with rendering on certain graphic cards (clipping of shades). However, that is not a problem from openscad.

Torwag


On 31 October 2012 09:59, Marius Kintel <[hidden email]> wrote:
Hi all,

I think we're close to a release.
I just uploaded new Mac Binaries: http://www.kintel.net/public/OpenSCAD-2012.10.30.dmg

Unless I hear strong protests, let's consider the current master branch a release candidate.
I'd love to see binaries for Linux & Windows for people to test if anyone is up for building them.

Reports of showstopper bugs are also welcome :)

Cheers,

 -Marius

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566

Reply | Threaded
Open this post in threaded view
|

Re: Release preparations

kintel
Administrator
On 2012-10-31, at 11:17 , Torsten Wagner wrote:

> src/traverser.cc: In member function ‘Response Traverser::traverse(const AbstractNode&, const State&)’:
> src/traverser.cc:36:2: warning: ‘response’ may be used uninitialized in this function [-Wmaybe-uninitialized]
>
> src/renderer.cc: In member function ‘virtual void Renderer::setColor(Renderer::ColorMode, GLint*) const’:
> src/renderer.cc:22:10: warning: ‘col’ may be used uninitialized in this function [-Wuninitialized]

These look like bugs which happen not to be triggered by the current codebase. Should be fixed in master now.

 -Marius


Reply | Threaded
Open this post in threaded view
|

Re: Release preparations

donbright
In reply to this post by kintel
Cross building an installer for windows should be a trivial 4-line
bash command on any linux system, building on Brad's and others
earlier work, https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Cross-compiling_for_Windows_on_Linux_or_Mac_OS_X

I have not tried to build a linux-binary, as i dont really understand
how the previous scripts worked (shared library modification stuff).

Mostly ive worked on detecting and building dependencies ( in the
build_better branch ). The main thing I'd like to do before release is
to replace the "install dependencies to /usr/local/lib" instructions i
wrote, since it goes against Redhat/Fedora philosophy, I can probably
fix that this weekend....

-DB

Reply | Threaded
Open this post in threaded view
|

Re: Release preparations

Brad Pitcher
Hmm. I haven't done this a while and mxe won't build for me. It gets to "binutils" and runs into an error:

ranlib: './libiberty.a': No such file

Honestly I have no idea. Don, maybe you could take a look, does it work for you? Trying to decide if I need to file a bug or if it's my problem.

Regarding Linux builds, there was a script in the repository (not sure if it's there anymore) that I had used successfully. It gathered up some .so files and packaged them with the openscad binary. The user could just unarchive to any directory and run it. Is that different from what you want to do?

---------
Brad Pitcher
Software Developer
(702)723-8255


On Wed, Oct 31, 2012 at 5:28 PM, Don Bright <[hidden email]> wrote:
Cross building an installer for windows should be a trivial 4-line
bash command on any linux system, building on Brad's and others
earlier work, https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Cross-compiling_for_Windows_on_Linux_or_Mac_OS_X

I have not tried to build a linux-binary, as i dont really understand
how the previous scripts worked (shared library modification stuff).

Mostly ive worked on detecting and building dependencies ( in the
build_better branch ). The main thing I'd like to do before release is
to replace the "install dependencies to /usr/local/lib" instructions i
wrote, since it goes against Redhat/Fedora philosophy, I can probably
fix that this weekend....

-DB
_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566

Reply | Threaded
Open this post in threaded view
|

Re: Release preparations

Torsten Wagner
Hmmm I do not exactly understand where is the problem in building openscad under Linux.

I wrote a while back this PKGBUILD for arch-linux 


Given that the package management system resolves the dependencies, which might be the hardest part, the only thing I had to tweak was the installation location for the make file due to Arch Linux policies.
Everything else is just calling qmake, make and make install. The PKGBUILD still worked fine yesterday...

Maybe I overlooked something?

Torwag




On 2 November 2012 05:38, Brad Pitcher <[hidden email]> wrote:
Hmm. I haven't done this a while and mxe won't build for me. It gets to "binutils" and runs into an error:

ranlib: './libiberty.a': No such file

Honestly I have no idea. Don, maybe you could take a look, does it work for you? Trying to decide if I need to file a bug or if it's my problem.

Regarding Linux builds, there was a script in the repository (not sure if it's there anymore) that I had used successfully. It gathered up some .so files and packaged them with the openscad binary. The user could just unarchive to any directory and run it. Is that different from what you want to do?

---------
Brad Pitcher
Software Developer
(702)723-8255


On Wed, Oct 31, 2012 at 5:28 PM, Don Bright <[hidden email]> wrote:
Cross building an installer for windows should be a trivial 4-line
bash command on any linux system, building on Brad's and others
earlier work, https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Cross-compiling_for_Windows_on_Linux_or_Mac_OS_X

I have not tried to build a linux-binary, as i dont really understand
how the previous scripts worked (shared library modification stuff).

Mostly ive worked on detecting and building dependencies ( in the
build_better branch ). The main thing I'd like to do before release is
to replace the "install dependencies to /usr/local/lib" instructions i
wrote, since it goes against Redhat/Fedora philosophy, I can probably
fix that this weekend....

-DB
_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566

Reply | Threaded
Open this post in threaded view
|

Re: Release preparations

donbright
In reply to this post by Brad Pitcher
Sorry for the delay in my response.

Brad - I just built MXE and then Windows OpenSCAD on a 64 bit machine, it worked OK. I built MXE from a completely clean path, no previous mxe installation was involved. (There's a slight bug in the build script if $MXEDIR doesnt exist).

For the linux build, I just tried the following and it seems to create a workable archive file with a bunch of .so files copied into openscad-$VERSION/lib  (& examples and MCAD). I think the old script was called 'release-linux.sh' but it has been integrated into 'release-common.sh' now:

OSTYPE=linux-gnu ./scripts/release-common.sh

--> openscad-2012.12.03.x86-64.tar.gz

-DB


On Thu, Nov 1, 2012 at 3:38 PM, Brad Pitcher <[hidden email]> wrote:
Hmm. I haven't done this a while and mxe won't build for me. It gets to "binutils" and runs into an error:

ranlib: './libiberty.a': No such file

Honestly I have no idea. Don, maybe you could take a look, does it work for you? Trying to decide if I need to file a bug or if it's my problem.

Regarding Linux builds, there was a script in the repository (not sure if it's there anymore) that I had used successfully. It gathered up some .so files and packaged them with the openscad binary. The user could just unarchive to any directory and run it. Is that different from what you want to do?

---------
Brad Pitcher
Software Developer
<a href="tel:%28702%29723-8255" value="+17027238255" target="_blank">(702)723-8255


On Wed, Oct 31, 2012 at 5:28 PM, Don Bright <[hidden email]> wrote:
Cross building an installer for windows should be a trivial 4-line
bash command on any linux system, building on Brad's and others
earlier work, https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Cross-compiling_for_Windows_on_Linux_or_Mac_OS_X

I have not tried to build a linux-binary, as i dont really understand
how the previous scripts worked (shared library modification stuff).

Mostly ive worked on detecting and building dependencies ( in the
build_better branch ). The main thing I'd like to do before release is
to replace the "install dependencies to /usr/local/lib" instructions i
wrote, since it goes against Redhat/Fedora philosophy, I can probably
fix that this weekend....

-DB
_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566


Reply | Threaded
Open this post in threaded view
|

Re: Release preparations

Brad Pitcher
Thanks Don. I did manage to get windows binaries built finally, and updated the snapshots on the website.

---------
Brad Pitcher
Software Developer
(702)723-8255



On Sun, Dec 2, 2012 at 9:43 PM, Don Bright <[hidden email]> wrote:
Sorry for the delay in my response.

Brad - I just built MXE and then Windows OpenSCAD on a 64 bit machine, it worked OK. I built MXE from a completely clean path, no previous mxe installation was involved. (There's a slight bug in the build script if $MXEDIR doesnt exist).

For the linux build, I just tried the following and it seems to create a workable archive file with a bunch of .so files copied into openscad-$VERSION/lib  (& examples and MCAD). I think the old script was called 'release-linux.sh' but it has been integrated into 'release-common.sh' now:

OSTYPE=linux-gnu ./scripts/release-common.sh

--> openscad-2012.12.03.x86-64.tar.gz

-DB



On Thu, Nov 1, 2012 at 3:38 PM, Brad Pitcher <[hidden email]> wrote:
Hmm. I haven't done this a while and mxe won't build for me. It gets to "binutils" and runs into an error:

ranlib: './libiberty.a': No such file

Honestly I have no idea. Don, maybe you could take a look, does it work for you? Trying to decide if I need to file a bug or if it's my problem.

Regarding Linux builds, there was a script in the repository (not sure if it's there anymore) that I had used successfully. It gathered up some .so files and packaged them with the openscad binary. The user could just unarchive to any directory and run it. Is that different from what you want to do?

---------
Brad Pitcher
Software Developer
<a href="tel:%28702%29723-8255" value="+17027238255" target="_blank">(702)723-8255


On Wed, Oct 31, 2012 at 5:28 PM, Don Bright <[hidden email]> wrote:
Cross building an installer for windows should be a trivial 4-line
bash command on any linux system, building on Brad's and others
earlier work, https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Cross-compiling_for_Windows_on_Linux_or_Mac_OS_X

I have not tried to build a linux-binary, as i dont really understand
how the previous scripts worked (shared library modification stuff).

Mostly ive worked on detecting and building dependencies ( in the
build_better branch ). The main thing I'd like to do before release is
to replace the "install dependencies to /usr/local/lib" instructions i
wrote, since it goes against Redhat/Fedora philosophy, I can probably
fix that this weekend....

-DB
_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566



_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566

Reply | Threaded
Open this post in threaded view
|

Re: Release preparations

Brad Pitcher
BTW, I noticed the windows installer from the last release has been downloaded nearly 18,000 times. w00t!!

---------
Brad Pitcher
Software Developer
(702)723-8255



On Wed, Dec 5, 2012 at 10:30 PM, Brad Pitcher <[hidden email]> wrote:
Thanks Don. I did manage to get windows binaries built finally, and updated the snapshots on the website.

---------
Brad Pitcher
Software Developer
<a href="tel:%28702%29723-8255" value="+17027238255" target="_blank">(702)723-8255



On Sun, Dec 2, 2012 at 9:43 PM, Don Bright <[hidden email]> wrote:
Sorry for the delay in my response.

Brad - I just built MXE and then Windows OpenSCAD on a 64 bit machine, it worked OK. I built MXE from a completely clean path, no previous mxe installation was involved. (There's a slight bug in the build script if $MXEDIR doesnt exist).

For the linux build, I just tried the following and it seems to create a workable archive file with a bunch of .so files copied into openscad-$VERSION/lib  (& examples and MCAD). I think the old script was called 'release-linux.sh' but it has been integrated into 'release-common.sh' now:

OSTYPE=linux-gnu ./scripts/release-common.sh

--> openscad-2012.12.03.x86-64.tar.gz

-DB



On Thu, Nov 1, 2012 at 3:38 PM, Brad Pitcher <[hidden email]> wrote:
Hmm. I haven't done this a while and mxe won't build for me. It gets to "binutils" and runs into an error:

ranlib: './libiberty.a': No such file

Honestly I have no idea. Don, maybe you could take a look, does it work for you? Trying to decide if I need to file a bug or if it's my problem.

Regarding Linux builds, there was a script in the repository (not sure if it's there anymore) that I had used successfully. It gathered up some .so files and packaged them with the openscad binary. The user could just unarchive to any directory and run it. Is that different from what you want to do?

---------
Brad Pitcher
Software Developer
<a href="tel:%28702%29723-8255" value="+17027238255" target="_blank">(702)723-8255


On Wed, Oct 31, 2012 at 5:28 PM, Don Bright <[hidden email]> wrote:
Cross building an installer for windows should be a trivial 4-line
bash command on any linux system, building on Brad's and others
earlier work, https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Cross-compiling_for_Windows_on_Linux_or_Mac_OS_X

I have not tried to build a linux-binary, as i dont really understand
how the previous scripts worked (shared library modification stuff).

Mostly ive worked on detecting and building dependencies ( in the
build_better branch ). The main thing I'd like to do before release is
to replace the "install dependencies to /usr/local/lib" instructions i
wrote, since it goes against Redhat/Fedora philosophy, I can probably
fix that this weekend....

-DB
_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566



_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566


Reply | Threaded
Open this post in threaded view
|

Re: Release preparations

Peter Falke
In reply to this post by Brad Pitcher
Hi Brad,

thank you for the windows binaries.
I'm so happy that I just have to run the installer and don't have to worry about compiling the code.

One thing I noticed is that I could not find a list of all the changes in this new version. Is there some readme that I missed?

It tried some old programs and everything seems to work fine.

Ohhh!! And than I made some changes and produced a syntax error.
It markers the line in red and jumps to it. How nice.
Thanks guys.

One miner thing: If you have a syntax error and load a new program file it will still mark one line in red.
I think, marking a line in red should be reset/cancelled after a new file is loaded.

Thanks for all your good work,

TakeItAndRun

On 6 December 2012 07:30, Brad Pitcher <[hidden email]> wrote:
Thanks Don. I did manage to get windows binaries built finally, and updated the snapshots on the website.

---------
Brad Pitcher
Software Developer
<a href="tel:%28702%29723-8255" value="+17027238255" target="_blank">(702)723-8255



On Sun, Dec 2, 2012 at 9:43 PM, Don Bright <[hidden email]> wrote:
Sorry for the delay in my response.

Brad - I just built MXE and then Windows OpenSCAD on a 64 bit machine, it worked OK. I built MXE from a completely clean path, no previous mxe installation was involved. (There's a slight bug in the build script if $MXEDIR doesnt exist).

For the linux build, I just tried the following and it seems to create a workable archive file with a bunch of .so files copied into openscad-$VERSION/lib  (& examples and MCAD). I think the old script was called 'release-linux.sh' but it has been integrated into 'release-common.sh' now:

OSTYPE=linux-gnu ./scripts/release-common.sh

--> openscad-2012.12.03.x86-64.tar.gz

-DB



On Thu, Nov 1, 2012 at 3:38 PM, Brad Pitcher <[hidden email]> wrote:
Hmm. I haven't done this a while and mxe won't build for me. It gets to "binutils" and runs into an error:

ranlib: './libiberty.a': No such file

Honestly I have no idea. Don, maybe you could take a look, does it work for you? Trying to decide if I need to file a bug or if it's my problem.

Regarding Linux builds, there was a script in the repository (not sure if it's there anymore) that I had used successfully. It gathered up some .so files and packaged them with the openscad binary. The user could just unarchive to any directory and run it. Is that different from what you want to do?

---------
Brad Pitcher
Software Developer
<a href="tel:%28702%29723-8255" value="+17027238255" target="_blank">(702)723-8255


On Wed, Oct 31, 2012 at 5:28 PM, Don Bright <[hidden email]> wrote:
Cross building an installer for windows should be a trivial 4-line
bash command on any linux system, building on Brad's and others
earlier work, https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Cross-compiling_for_Windows_on_Linux_or_Mac_OS_X

I have not tried to build a linux-binary, as i dont really understand
how the previous scripts worked (shared library modification stuff).

Mostly ive worked on detecting and building dependencies ( in the
build_better branch ). The main thing I'd like to do before release is
to replace the "install dependencies to /usr/local/lib" instructions i
wrote, since it goes against Redhat/Fedora philosophy, I can probably
fix that this weekend....

-DB
_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566



_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566



--
[hidden email]

P.S. Falls meine E-Mail kürzer ausfällt als Dir angenehm ist:
Ich probiere gerade aus kurze Antworten statt gar keine Antworten zu schreiben.
Wenn Du gerne mehr lesen möchtest, dann lass es mich bitte wissen.

P.S. In case my e-mail is shorter than you enjoy:
I am currently trying short replies instead of no replies at all.
Please let me know, if you like to read more.

Enjoy!