Windows Builds without Windows
by Martin Owens
Hey Devs,
Is there any place that has up to date windows builds with installers?
Or, is it possible to build the windows installer on linux?
Thanks!
Martin,
9 years, 10 months
2geom update
by Johan Engelen
Hi all,
I updated our copy of 2geom to its trunk version.
Not much has changed, so you should not notice it really. There were
some bug fixes, warning fixes and file/class rename (SVG path parsing).
I hope I correctly modified the Makefile so it does not cause build
failures.
regards,
Johan
9 years, 10 months
Inkscape with Vagrant - Test Inkscape with only 3 commands
by Christoffer Holmstedt
I'm not sure of how many of you use Vagrant so this post will be a bit long
to describe the basics and the reasoning behind what I've done.
So last year when I got involved in Inkscape development it took way too
much time to set up my development environment and all those packages that
were needed cluttered up my system. During the fall of 2013 I got
suggestions from several other non Inkscape developers to try out Vagrant
when I develop PHP/Wordpress applications. This weekend I finally had the
time to try out Vagrant and I'm now curious what others think about using
Vagrant for easier testing of Inkscape.
### Installation of Virtualbox and Vagrant
Virtualbox 4.3.2_Ubuntu r90405 (from repository in Xubuntu 14.04)
Vagrant 1.4.3 .deb file from http://www.vagrantup.com/downloads.html
### Only three commands needed
After installing Virtualbox and Vagrant this is all you need to do:
bzr branch lp:~inkscape.dev/inkscape/vagrant inkscape-vagrant
cd inkscape-vagrant
vagrant up
The above three commands will first branch the Inkscape branch with the
three required Vagrant files and then launch a virtual machine with
Inkscape 0.48 from the Ubuntu 12.04 repository pre-installed AND compile
the current checked out Inkscape branch. (BE AWARE, download of 2GB vagrant
box will be done the first time you run "vagrant up").
### What to expect
When Vagrant has set up the Virtualbox VM it will boot it up and run a
custom compile script within the VM. You can login to your VM with
"vagrant" as password. In the Unity bar you'll have two Inkscape icons, the
first one will launch repository version of Inkscape and the second will
launch the dev version currently checked out...though you'll have to wait
until the compilation is done before it works.
The following image is what to expect when the compilation is done.
http://www.christofferholmstedt.se/wp-content/uploads/2014/01/ubuntu-vagr...
### Hint for faster compilation of Inkscape
The default settings in the Vagrantfile is now 1 processor and 512 MiB ram,
this is not the best options when you want to compile stuff. The reason for
the low default settings is that if someone with really low-spec computer
tries it out, it will at least boot up and run and not crash due to
demanding more memory than available on the host. Recommended settings are
as many processors as you have and at least 2 GiB of ram for the guest
system. If you edit the "Vagrantfile" you'll see two lines commented out
with recommended settings.
In one line: after branching the Inkscape repository and before running
"vagrant up" edit the Vagrantfile to configure the virtual machine to use
optimal settings with regard to your host's capabilities. I run with 4 CPUs
and 2048 RAM.
### A detailed description of what is going on
When you run "vagrant up" the Vagrantfile in the repository directory of
inkscape repository will be read. It will first try to find what is called
a "box" in Vagrant terminology...basically an ISO that is specific to the
vm provider you're using, in this case Virtualbox. Each box includes a
basic OS with all the pre-installed software you need. If you run the above
command you'll start by downloading a box I have manually set up during the
weekend. This file is 2.0GB so it will probably take some time to download
(but you only need to download it ones).
The next step is that Vagrant will make a copy of this "box" to be used as
the new virtual machine. After copying the box, Vagrant will start
configuring basic settings such as networking and shared folders for the
VM. In the supplied Vagrantfile I've configured so the inkscape repository
on the host machine will be mapped to /home/vagrant/inkscape.
After that is complete the new virtual machine will start compiling
Inkscape and installing it to /home/vagrant/opt/inkscape-dev/inkscape and
an icon should already be in place in the unity bar.
When you're done you can shutdown the VM and on your host run "vagrant
destroy" to remove all data about the newly created VM, no mess left behind
on your host such as build-essential packages.
### Rationale behind a large "golden image"
Most other developers that use Vagrant use it for server environments
without desktop packages. Installing "ubuntu-desktop" with apt-get
downloads around 1000 packages and installs them, having to do this each
time you want to test a new branch is not a viable solution. It's therefore
better download a 2.0GB file ones instead of re-installing ubuntu-desktop
several times. At least that is the trade-off I've made during my first
tries this weekend.
### The possibilities
The main possibility is that it easier for new testers/developers (and
existing) to test the latest Inkscape in a specific environment (VM guest)
that doesn't mess with their own host system.
The suggestion I present here in this email is with the goal to make GUI
testing easier. For those that are mostly concerned with development and
just want to make sure Inkscape compiles properly another Vagrant
environment could be set up which would be a lot smaller. I did a small
test of this which is available on launchpad in a separate branch [1].
### What has to be done.
2.0GB "golden image" is really big, way too big. The process of creating
this image was done manually by me during the last weekend, this process
should be automated with "Packer" [2] and start with the Ubuntu desktop
image instead of the server image. If the Ubuntu ISO can be as small as
800MB so should this "box" be (or can it be that small?).
When the creation of the "golden image" is automated I would look in to the
possiblity of creating several different versions of it for different
operating systems such as Mac OS X and Windows guests. As Virtualbox is
cross-platform testing could with this approach be done in a many-to-many
relation. Those with Windows host could test Mac OS version in a VM and Mac
OS hosts could test Windows version in VM (with the restriction that I
assume everyone would need a separate license key for OS X and Windows). An
important point to make is that no matter which OS the guest is running no
custom commands must be run on the guest by the user, it's all automated so
someone that hasn't used Ubuntu can test Inkscape on that platform anyway.
### Questions
With many possibilities even more questions arise. The main question I have
is if this looks like a valid approach to testing new features? Is it worth
it? Does it make it easier for anyone else? Are there better/easier
approaches to testing new Inkscape versions out there?
### What is Vagrant
I would say that Vagrant is a frontend for several different virtualization
technologies and the official one-line is "Create and configure
lightweight, reproducible, and portable development environments" [3].
[1] https://code.launchpad.net/~inkscape.dev/inkscape/vagrant-no-desktop
[2] http://www.packer.io/
[3] http://www.vagrantup.com/
--
Christoffer Holmstedt
9 years, 10 months
inkscape-head `make` fail with graphicsmagick-head prereq @ "error: can’t convert between vector values of different size"
by unknown@example.com
hi,
fyi, with a graphicsmagick prereq of
cd /usr/local/src/graphicsmagick
hg log | head
changeset: 14019:61b608086763
tag: tip
user: Bob Friesenhahn
<bfriesen@...3078...>
date: Sun Jan 05 19:38:40 2014 -0600
summary: Added Magick++ Image::thumbnail() method
for fast resize.
changeset: 14018:e5a1a28a8e2a
user: Bob Friesenhahn
<bfriesen@...3078...>
date: Sun Jan 05 17:27:02 2014 -0600
summary: GIF: Log when Netscape loop extension
iterations are read or written.
pkg-config --libs --cflags GraphicsMagick++
-I/usr/local/graphicsmagick/include/GraphicsMagick
-L/usr/local/graphicsmagick/lib64 -lGraphicsMagick++
-lGraphicsMagick
building inkscape head
cd /usr/local/src/inkscape
bzr log | head
------------------------------------------------------------
revno: 12917
committer: Kris <Kris.De.Gussem@...19...>
branch nick: inkscape
timestamp: Sun 2014-01-12 11:53:01 +0100
message:
pass class variables by reference for performance
------------------------------------------------------------
revno: 12916
committer: Kris <Kris.De.Gussem@...19...>
./autogen.sh
./configure \
--prefix=/usr/local/inkscape-trunk \
--enable-shared --disable-static \
--enable-poppler-cairo \
--enable-dbusapi \
--disable-gtk3-experimental \
--with-gnu-ld
...
Configuration:
Source code location: .
Destination path prefix: /usr/local/inkscape-trunk
Compiler: /usr/bin/g++-4.8
CPPFLAGS: -DG_DISABLE_DEPRECATED
-DGLIBMM_DISABLE_DEPRECATED -DGDKMM_DISABLE_DEPRECATED
-DGTK_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_DEPRECATED
-DGTKMM_DISABLE_DEPRECATED -Werror=format-security
-DGSEAL_ENABLE -DG_DISABLE_SINGLE_INCLUDES -Wall
-Wformat -Wformat-security -W -D_FORTIFY_SOURCE=2 -O2
-fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector
-march=amdfam10 -mtune=amdfam10
CXXFLAGS: -Wpointer-arith -Wcast-align
-Wsign-compare -Woverloaded-virtual -Wswitch
-Wno-unused-parameter -O2 -fmessage-length=0
-D_FORTIFY_SOURCE=2 -fstack-protector -march=amdfam10
-mtune=amdfam10 -std=c++11 -fopenmp
CFLAGS: -Wno-pointer-sign -O2
-fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector
-march=amdfam10 -mtune=amdfam10
LDFLAGS: -Wl,-z,relro
Use gnome-vfs: yes
Use openoffice files: yes
Use relocation support: no
Enable LittleCms: yes
Enable DBUS: yes
Enable Poppler-Cairo: yes
ImageMagick Magick++: yes
Libwpg: no
Libvisio: no
Libcdr: no
Doing Local Install: no
fails at make
make
...
make[3]: Entering directory
`/usr/local/src/inkscape/src'
CXX extension/internal/bitmap/adaptiveThreshold.o
In file included from
/usr/lib64/gcc/x86_64-suse-linux/4.8/include/x86intrin.h:30:0,
from
/usr/include/c++/4.8/x86_64-suse-linux/bits/opt_random.h:33,
from /usr/include/c++/4.8/random:51,
from
/usr/include/c++/4.8/bits/stl_algo.h:65,
from /usr/include/c++/4.8/algorithm:62,
from
/usr/local/graphicsmagick/include/GraphicsMagick/Magick++/STL.h:13,
from
/usr/local/graphicsmagick/include/GraphicsMagick/Magick++.h:12,
from
extension/internal/bitmap/adaptiveThreshold.cpp:13:
/usr/lib64/gcc/x86_64-suse-linux/4.8/include/mmintrin.h:
In function ‘__m64 _mm_cvtsi32_si64(int)’:
/usr/lib64/gcc/x86_64-suse-linux/4.8/include/mmintrin.h:61:54:
error: can’t convert between vector values of different
size
return (__m64) __builtin_ia32_vec_init_v2si (__i, 0);
^
/usr/lib64/gcc/x86_64-suse-linux/4.8/include/mmintrin.h:
In function ‘int _mm_cvtsi64_si32(__m64)’:
/usr/lib64/gcc/x86_64-suse-linux/4.8/include/mmintrin.h:104:53:
error: cannot convert ‘__m64 {aka int}’ to ‘__vector(2)
int’ for argument ‘1’ to ‘int
__builtin_ia32_vec_ext_v2si(__vector(2) int, int)’
return __builtin_ia32_vec_ext_v2si ((__v2si)__i, 0);
^
/usr/lib64/gcc/x86_64-suse-linux/4.8/include/mmintrin.h:
In function ‘__m64 _mm_packs_pi16(__m64, __m64)’:
/usr/lib64/gcc/x86_64-suse-linux/4.8/include/mmintrin.h:143:69:
error: cannot convert ‘__v4hi {aka short int}’ to
‘__vector(4) short int’ for argument ‘1’ to ‘__vector(8)
char __builtin_ia32_packsswb(__vector(4) short int,
__vector(4) short int)’
return (__m64) __builtin_ia32_packsswb ((__v4hi)__m1,
(__v4hi)__m2);
^
/usr/lib64/gcc/x86_64-suse-linux/4.8/include/mmintrin.h:
In function ‘__m64 _mm_packs_pi32(__m64, __m64)’:
/usr/lib64/gcc/x86_64-suse-linux/4.8/include/mmintrin.h:158:69:
error: cannot convert ‘__m64 {aka int}’ to ‘__vector(2)
int’ for argument ‘1’ to ‘__vector(4) short int
__builtin_ia32_packssdw(__vector(2) int, __vector(2)
int)’
return (__m64) __builtin_ia32_packssdw ((__v2si)__m1,
(__v2si)__m2);
^
...
make[3]: Leaving directory `/usr/local/src/inkscape/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/src/inkscape/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/inkscape'
make: *** [all] Error 2
--darx
9 years, 10 months
Timeline for updating extensions for 0.91
by Nikita Kitaev
How long do I have if I want to update the Synfig Studio (*.sif)
exporter extension in time for 0.91?
I understand that there are some freezes being planned.
My tests cover mostly everything except platform and python version
compatibility.
9 years, 10 months
Blending mode in layers
by Jabiertxo Arraiza Cenoz
Hi to all.
I have two branch compiled ind two computers with Tavmjong Bah code
about blending and compositing enabled.
Here is my configure line:
CFLAGS='-g -O0 -Wall' CPPFLAGS=' -DWITH_MESH -DLPE_ENABLE_TEST_EFFECTS
-DWITH_CSSBLEND -DWITH_CSSCOMPOSITE' CC='ccache
gcc' ../jabiertxof/configure --prefix=/home/jtx/inkscape/jabiertxof
One computer has the extra "--disable-strict-build" necesary to aboid
compiling problems due a bug
https://bugs.launchpad.net/inkscape/+bug/1239969
This computer show all new blend modes in the layers blending modes and
the other computer show only the previous 5 blend modes.
Anybody know whats happens?
Regards, Jabier.
9 years, 10 months
New to Community
by Kartik Kohli
Hello,
I'm new to inkscape and would like to contribute. I'm really interested to
work with css and vector graphics. So how should I start?
I'm also looking up to GSOC 2014 and perhaps do a project. Where should I
get the latest news regarding it like the list of projects, mentors etc.?
Regards,
Kartik Kohli
9 years, 10 months
Initial text font not the same for root and regular users
by mathog
On my Ubuntu system, if inkscape is run by root, after wiping out the
~/.config/inkscape directory, it comes up with "sans-serif" as the
default font, and that is what is stored in
~/.config/inkscape/preferences.xml. When the same thing is done from a
regular user account it comes up as "Sans", and that goes into
preferences.xml instead. For the life of me I can't see why this
happens, since unless I'm missing something the protections on all of
the font directories are set world readable, and the results for both
accounts for
fc-list | grep -i sans
and
fc-list | grep -i serif
and
fc-match 'sans-serif'
are identical.
Sans is also strange because it isn't present elsewhere in the font
list, only at the top, above the divider line. I understand that means
there isn't actually a "Sans" font on the machine, and that fontconfig
is picking something else to fill in that space, but still looks odd.
Anyway, this also makes me wonder if when Inkscape hits a font like
"sans-serif", which on my system only shows the "normal" type, the pull
down list should look like:
normal (black)
italics (grayed out and not selectable)
bold (grayed out and not selectable)
bold-italics (grayed out and not selectable)
Other special types that are present in some fonts (condensed) can be
added, and the end user probably will never notice when they are
missing, but a font format list that does not include the standard ones
looks strange to me.
Regards,
David Mathog
mathog@...1176...
Manager, Sequence Analysis Facility, Biology Division, Caltech
9 years, 10 months