ANN: reproducible build & test virtual machine
Hi Inkscape list!
I've worked on a Vagrantfile* over the past few months, that is able to bring up a virtual build- and test machine for Inkscape. The VM is running on Lubuntu linux (lightweight Ubuntu) so you can actually run the inkscape binary produced by the build. You can, of course, modify the Inkscape source code within the VM, and rebuild.
So if you got Vagrant and VirtualBox up and running, creating a development environment for Inkscape is just a "vagrant up" away. Because of this, it is relatively simple to develop Inkscape regardless on what OS&machine you are on, be it Windows, Mac or Linux - as long as you can install VirtualBox and Vagrant you are good to go.
I'd love feedback and/or pull requests.
https://github.com/objarni/inkup/
/Olof
* The Vagrantfile is the "recipe" used to build a VM using Vagrant. Vagrant automates the creation and management of virtual machines on a computer. It supports VM ware, VirtualBox and more.
Excellent idea! Nice work Olof!
-C
On Wed, Mar 23, 2016 at 7:45 AM, Olof Bjarnason <olof.bjarnason@...400...> wrote:
Hi Inkscape list!
I've worked on a Vagrantfile* over the past few months, that is able to bring up a virtual build- and test machine for Inkscape. The VM is running on Lubuntu linux (lightweight Ubuntu) so you can actually run the inkscape binary produced by the build. You can, of course, modify the Inkscape source code within the VM, and rebuild.
So if you got Vagrant and VirtualBox up and running, creating a development environment for Inkscape is just a "vagrant up" away. Because of this, it is relatively simple to develop Inkscape regardless on what OS&machine you are on, be it Windows, Mac or Linux - as long as you can install VirtualBox and Vagrant you are good to go.
I'd love feedback and/or pull requests.
https://github.com/objarni/inkup/
/Olof
- The Vagrantfile is the "recipe" used to build a VM using Vagrant.
Vagrant automates the creation and management of virtual machines on a computer. It supports VM ware, VirtualBox and more.
Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140 _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
Thanks C R!
Mvh
/Olof ----------------- Är du systemutvecklare? Spana in https://cilamp.se
On 23 March 2016 at 09:03, C R <cajhne@...400...> wrote:
Excellent idea! Nice work Olof!
-C
On Wed, Mar 23, 2016 at 7:45 AM, Olof Bjarnason <olof.bjarnason@...400...> wrote:
Hi Inkscape list!
I've worked on a Vagrantfile* over the past few months, that is able to bring up a virtual build- and test machine for Inkscape. The VM is running on Lubuntu linux (lightweight Ubuntu) so you can actually run the inkscape binary produced by the build. You can, of course, modify the Inkscape source code within the VM, and rebuild.
So if you got Vagrant and VirtualBox up and running, creating a development environment for Inkscape is just a "vagrant up" away. Because of this, it is relatively simple to develop Inkscape regardless on what OS&machine you are on, be it Windows, Mac or Linux - as long as you can install VirtualBox and Vagrant you are good to go.
I'd love feedback and/or pull requests.
https://github.com/objarni/inkup/
/Olof
- The Vagrantfile is the "recipe" used to build a VM using Vagrant.
Vagrant automates the creation and management of virtual machines on a computer. It supports VM ware, VirtualBox and more.
Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140 _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
Very cool project! I'll try this out on my Windows computer.
Now if only we could make something like this for Windows VMs :)
2016-03-23 0:45 GMT-07:00 Olof Bjarnason <olof.bjarnason@...400...>:
Hi Inkscape list!
I've worked on a Vagrantfile* over the past few months, that is able to bring up a virtual build- and test machine for Inkscape. The VM is running on Lubuntu linux (lightweight Ubuntu) so you can actually run the inkscape binary produced by the build. You can, of course, modify the Inkscape source code within the VM, and rebuild.
So if you got Vagrant and VirtualBox up and running, creating a development environment for Inkscape is just a "vagrant up" away. Because of this, it is relatively simple to develop Inkscape regardless on what OS&machine you are on, be it Windows, Mac or Linux - as long as you can install VirtualBox and Vagrant you are good to go.
I'd love feedback and/or pull requests.
https://github.com/objarni/inkup/
/Olof
- The Vagrantfile is the "recipe" used to build a VM using Vagrant. Vagrant
automates the creation and management of virtual machines on a computer. It supports VM ware, VirtualBox and more.
Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140 _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
On 23 March 2016 at 09:14, Krzysztof Kosiński <tweenk.pl@...400...> wrote:
Very cool project! I'll try this out on my Windows computer.
Thanks :)
Now if only we could make something like this for Windows VMs :)
Yeah, it just looked a lot harder to build Inkscape on Windows so I aimed for Linux :)
But in theory, to make it happen, you would modify two sections of the Vagrantfile:
1. the "box" property: config.vm.box = "janihur/ubuntu-1404-desktop" ... to point to some Win7 image or similar.
2. The "SHELL" script. This would be re-written to be a .bat file which does similar to what the bash script is doing now. Have no idea how though, and I would guess it's *a lot* harder, as you cannot even install a compiler simply in Windows, and there is no packaging support, and the list goes on...
2016-03-23 0:45 GMT-07:00 Olof Bjarnason <olof.bjarnason@...400...>:
Hi Inkscape list!
I've worked on a Vagrantfile* over the past few months, that is able to bring up a virtual build- and test machine for Inkscape. The VM is
running
on Lubuntu linux (lightweight Ubuntu) so you can actually run the
inkscape
binary produced by the build. You can, of course, modify the Inkscape
source
code within the VM, and rebuild.
So if you got Vagrant and VirtualBox up and running, creating a
development
environment for Inkscape is just a "vagrant up" away. Because of this,
it is
relatively simple to develop Inkscape regardless on what OS&machine you
are
on, be it Windows, Mac or Linux - as long as you can install VirtualBox
and
Vagrant you are good to go.
I'd love feedback and/or pull requests.
https://github.com/objarni/inkup/
/Olof
- The Vagrantfile is the "recipe" used to build a VM using Vagrant.
Vagrant
automates the creation and management of virtual machines on a computer.
It
supports VM ware, VirtualBox and more.
Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140 _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
2016-03-23 1:20 GMT-07:00 Olof Bjarnason <olof.bjarnason@...400...>:
- The "SHELL" script. This would be re-written to be a .bat file which does
similar to what the bash script is doing now. Have no idea how though, and I would guess it's *a lot* harder, as you cannot even install a compiler simply in Windows, and there is no packaging support, and the list goes on...
Theoretically there's Nuget, which is like a package manager for Visual Studio, and there should be a way to download and run installers from PowerShell. But I agree, this is far more complicated.
Best regards, Krzysztof
On 23 March 2016 at 09:24, Krzysztof Kosiński <tweenk.pl@...400...> wrote:
2016-03-23 1:20 GMT-07:00 Olof Bjarnason <olof.bjarnason@...400...>:
- The "SHELL" script. This would be re-written to be a .bat file which
does
similar to what the bash script is doing now. Have no idea how though,
and I
would guess it's *a lot* harder, as you cannot even install a compiler simply in Windows, and there is no packaging support, and the list goes on...
Theoretically there's Nuget, which is like a package manager for Visual Studio, and there should be a way to download and run installers from PowerShell. But I agree, this is far more complicated.
True, PowerShell+nuget should be a lot simpler than .bat, however still very hard :)
Found this blog post on building a Windows Server 8 VM using Vagrant if someone is up for the challenge. I just remembered Visual Studio Community edition is actually free for this kind of use nowadays, so then it's just the OS ISO that is a tough point from a license/legal point of view:
https://dennypc.wordpress.com/2014/06/09/creating-a-windows-box-with-vagrant...
Best regards, Krzysztof
More complicated and unlike Ubuntu, it isn't free. Glad Linux was picked for this. It doesn't require buying (or stealing) a proprietary OS for it to work for everyone.
-C
On Wed, Mar 23, 2016 at 8:24 AM, Krzysztof Kosiński <tweenk.pl@...972.....> wrote:
2016-03-23 1:20 GMT-07:00 Olof Bjarnason <olof.bjarnason@...400...>:
- The "SHELL" script. This would be re-written to be a .bat file which
does
similar to what the bash script is doing now. Have no idea how though,
and I
would guess it's *a lot* harder, as you cannot even install a compiler simply in Windows, and there is no packaging support, and the list goes on...
Theoretically there's Nuget, which is like a package manager for Visual Studio, and there should be a way to download and run installers from PowerShell. But I agree, this is far more complicated.
Best regards, Krzysztof
Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140 _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
On 23 March 2016 at 09:28, C R <cajhne@...400...> wrote:
More complicated and unlike Ubuntu, it isn't free. Glad Linux was picked for this. It doesn't require buying (or stealing) a proprietary OS for it to work for everyone.
Yes, but I guess it would be viable for someone that actually has a valid Windows license + ISO for development...
Also, I think Microsoft does have some development-and-testing license models, but it might very well mean you have to get a personal license / contact Microsoft to get, which is quite a threshold.
Oh well, I'm quite OK with the status quo - it will move developers to open source platforms, which I love :)
-C
On Wed, Mar 23, 2016 at 8:24 AM, Krzysztof Kosiński <tweenk.pl@...847...0...> wrote:
2016-03-23 1:20 GMT-07:00 Olof Bjarnason <olof.bjarnason@...400...>:
- The "SHELL" script. This would be re-written to be a .bat file which
does
similar to what the bash script is doing now. Have no idea how though,
and I
would guess it's *a lot* harder, as you cannot even install a compiler simply in Windows, and there is no packaging support, and the list goes on...
Theoretically there's Nuget, which is like a package manager for Visual Studio, and there should be a way to download and run installers from PowerShell. But I agree, this is far more complicated.
Best regards, Krzysztof
Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140 _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
Agreed. :) Once you experience the freedom of an OS like Ubuntu, it's hard to go back. And once you get your head around things, there is very little reason to. :)
Nice work. -C
On Wed, Mar 23, 2016 at 8:34 AM, Olof Bjarnason <olof.bjarnason@...400...> wrote:
On 23 March 2016 at 09:28, C R <cajhne@...400...> wrote:
More complicated and unlike Ubuntu, it isn't free. Glad Linux was picked for this. It doesn't require buying (or stealing) a proprietary OS for it to work for everyone.
Yes, but I guess it would be viable for someone that actually has a valid Windows license + ISO for development...
Also, I think Microsoft does have some development-and-testing license models, but it might very well mean you have to get a personal license / contact Microsoft to get, which is quite a threshold.
Oh well, I'm quite OK with the status quo - it will move developers to open source platforms, which I love :)
-C
On Wed, Mar 23, 2016 at 8:24 AM, Krzysztof Kosiński <tweenk.pl@...1857...00...> wrote:
2016-03-23 1:20 GMT-07:00 Olof Bjarnason <olof.bjarnason@...400...>:
- The "SHELL" script. This would be re-written to be a .bat file
which does
similar to what the bash script is doing now. Have no idea how though,
and I
would guess it's *a lot* harder, as you cannot even install a compiler simply in Windows, and there is no packaging support, and the list goes on...
Theoretically there's Nuget, which is like a package manager for Visual Studio, and there should be a way to download and run installers from PowerShell. But I agree, this is far more complicated.
Best regards, Krzysztof
Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140 _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
Microsoft actually prepares some machines for testing different browsers/websites. It might be possible to install Inkscape in one of those.
https://dev.windows.com/en-us/microsoft-edge/tools/vms/linux/
2016-03-23 11:59 GMT+01:00 C R <cajhne@...400...>:
Agreed. :) Once you experience the freedom of an OS like Ubuntu, it's hard to go back. And once you get your head around things, there is very little reason to. :)
Nice work. -C
On Wed, Mar 23, 2016 at 8:34 AM, Olof Bjarnason <olof.bjarnason@...400...> wrote:
On 23 March 2016 at 09:28, C R <cajhne@...400...> wrote:
More complicated and unlike Ubuntu, it isn't free. Glad Linux was picked for this. It doesn't require buying (or stealing) a proprietary OS for it to work for everyone.
Yes, but I guess it would be viable for someone that actually has a valid Windows license + ISO for development...
Also, I think Microsoft does have some development-and-testing license models, but it might very well mean you have to get a personal license / contact Microsoft to get, which is quite a threshold.
Oh well, I'm quite OK with the status quo - it will move developers to open source platforms, which I love :)
-C
On Wed, Mar 23, 2016 at 8:24 AM, Krzysztof Kosiński <tweenk.pl@...360...400...
wrote:
2016-03-23 1:20 GMT-07:00 Olof Bjarnason <olof.bjarnason@...400...>:
- The "SHELL" script. This would be re-written to be a .bat file
which does
similar to what the bash script is doing now. Have no idea how
though, and I
would guess it's *a lot* harder, as you cannot even install a compiler simply in Windows, and there is no packaging support, and the list
goes
on...
Theoretically there's Nuget, which is like a package manager for Visual Studio, and there should be a way to download and run installers from PowerShell. But I agree, this is far more complicated.
Best regards, Krzysztof
Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140 _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140 _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
participants (4)
-
C R
-
Christoffer Holmstedt
-
Krzysztof Kosiński
-
Olof Bjarnason