Ok, I got it working !! :) Thanks to all who were so patient to help me in all my newbie questions!
I applied Martin's patches and now there is no crash, but the offset problem is obvious, and also the no pressure present problem (B and C). I think the offset problem is more important first, so I will focus on that one. It looks like it draws with an offset but sometimes (at regular intervals, depending on the drawing speed) it will draw lines between the offset point and the correct point (where the cursor is). I guess it draws a lot of those, since it takes some times for the stroke to be rendered, as opposed to mouse drawing where it is drawn instantly. That is why I think this is the most important issue, the second one being the pressure sensitivity one, once you can draw at least as good as you are drawing with a mouse. Thanks again, Mihai On Fri, Oct 14, 2011 at 1:49 PM, Mihai Cozma <[email protected]> wrote: > Hmm, I've tracked it down to this: > > (in http://git.gnome.org/browse/gtk+/tree/demos/Makefile.am?h=gtk-2-24) > > test-inline-pixbufs.h: apple-red.png gnome-foot.png > $(GDK_PIXBUF_CSOURCE) --raw --build-list \ > apple_red $(srcdir)/apple-red.png \ > > So it looks $(GDK_PIXBUF_CSOURCE) returns "no", and then of course it > complains it cannot find the no command. Any idea where should I set > that environment variable and which value should I put in? > > Or maybe I should comment out this part? > > Thanks. > Mihai > > On Fri, Oct 14, 2011 at 10:42 AM, Martin Renold <[email protected]> wrote: >> I don't think I had this problem, but try to: >> - remove the "demos" subdir from Makefile.am >> - install a newer version of automake/autoconf maybe >> >> Regards >> Martin >> >> On Fri, Oct 14, 2011 at 10:25:21AM +0300, Mihai Cozma wrote: >>> Ok, it looks like some gtk demons don't build and I get some >>> impossible error (might be a typo in the Makefile?): >>> >>> make[2]: Entering directory >>> `/home/meeshoo/dev/gnome/jhbuild.mingw.gtk-2.24/checkout.dbg/gtk+/demos' >>> no --raw --build-list \ >>> apple_red ./apple-red.png \ >>> gnome_foot ./gnome-foot.png \ >>> > test-inline-pixbufs.h \ >>> || (rm -f test-inline-pixbufs.h && false) >>> /bin/bash: no: command not found >>> make[2]: *** [test-inline-pixbufs.h] Error 1 >>> >>> Any tips? (couldn't find a "no" application). >>> >>> On Fri, Oct 14, 2011 at 3:01 AM, Mihai Cozma <[email protected]> wrote: >>> > Looks like it worked with 2.22.1, thanks for the tip. Glade (was also >>> > on the build list but failed, but I guess it is not a requirement so I >>> > ignored it). >>> > >>> > Haven't tested on windows yet hope it works :) >>> > >>> > On Fri, Oct 14, 2011 at 2:08 AM, Jon Nordby <[email protected]> wrote: >>> >> On 13 October 2011 23:27, Mihai Cozma <[email protected]> wrote: >>> >>> OK, managed to get glib compiled, but now on gdk-pixbuf I get >>> >>> >>> >>> "configure: error: Package requirements (glib-2.0 >= 2.31.0) were not >>> >>> met: >>> >> >>> >> Use an older version of gdk-pixbuf, not master. Like a stable release >>> >> a couple versions back. >>> >> >>> >>> Requested 'glib-2.0 >= 2.31.0' but version of GLib is 2.28.1 >>> >>> >>> >>> Consider adjusting the PKG_CONFIG_PATH environment variable if you >>> >>> installed software in a non-standard prefix. >>> >>> >>> >>> Alternatively, you may set the environment variables >>> >>> BASE_DEPENDENCIES_CFLAGS >>> >>> and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config. >>> >>> See the pkg-config man page for more details. >>> >>> make: *** [config.status] Error 1" >>> >>> >>> >>> I did try to ignore the issue but in the end it didn't build correctly >>> >>> something and failed on make install. I first tried with gdk-pixbuf >>> >>> master alone, then after it didn't work I checked out the version you >>> >>> said in your notes and applied the patch, but the 2.31.0 requirements >>> >>> still stands, so blocked here. >>> >>> >>> >>> After ignoring the above I got an error on gtk+ (probably related to >>> >>> gdk-pixbuf): >>> >>> "gdk/tests/Makefile.am:16: variable `check_gdk_cairo_SOURCES' is >>> >>> defined but no program or >>> >>> gdk/tests/Makefile.am:16: library has `check_gdk_cairo' as canonical >>> >>> name (possible typo) >>> >>> gdk/tests/Makefile.am:19: variable `check_gdk_cairo_LDADD' is defined >>> >>> but no program or >>> >>> gdk/tests/Makefile.am:19: library has `check_gdk_cairo' as canonical >>> >>> name (possible typo) >>> >>> gtk/tests/Makefile.am:60: variable `crossingevents_SOURCES' is defined >>> >>> but no program or >>> >>> gtk/tests/Makefile.am:60: library has `crossingevents' as canonical >>> >>> name (possible typo) >>> >>> gtk/tests/Makefile.am:66: variable `filechooser_SOURCES' is defined >>> >>> but no program or >>> >>> gtk/tests/Makefile.am:66: library has `filechooser' as canonical name >>> >>> (possible typo) >>> >>> gtk/tests/Makefile.am:67: variable `filechooser_LDADD' is defined but >>> >>> no program or >>> >>> gtk/tests/Makefile.am:67: library has `filechooser' as canonical name >>> >>> (possible typo) >>> >>> gtk/tests/Makefile.am:61: variable `crossingevents_LDADD' is defined >>> >>> but no program or >>> >>> gtk/tests/Makefile.am:61: library has `crossingevents' as canonical >>> >>> name (possible typo)" >>> >>> >>> >>> Hopefully you can make some sense of it. >>> >>> >>> >>> Thanks, >>> >>> Mihai >>> >>> >>> >>> >>> >>> On Thu, Oct 13, 2011 at 11:37 AM, Mihai Cozma <[email protected]> >>> >>> wrote: >>> >>>> Thanks. >>> >>>> >>> >>>> Indeed, I did only what was in the notes, I have applied patch but >>> >>>> that is all. In the meantime I skipped the glib and everything built >>> >>>> OK except the other libs that depend on glib themselves. >>> >>>> >>> >>>> So giving another try tonight, I'll keep you updated, >>> >>>> Mihai >>> >>>> >>> >>>> PS: Steep learning curve, but not impossible :) >>> >>>> >>> >>>> On Thu, Oct 13, 2011 at 9:44 AM, Martin Renold <[email protected]> >>> >>>> wrote: >>> >>>>> On Thu, Oct 13, 2011 at 02:25:50AM +0300, Mihai Cozma wrote: >>> >>>>>> No matter what I do I get this: >>> >>>>>> >>> >>>>>> *** Checking out glib *** [4/17] >>> >>>>>> git show-ref --quiet --verify refs/heads/win32-2.28.1 >>> >>>>>> git checkout --track -b win32-2.28.1 origin/win32-2.28.1 >>> >>>>>> fatal: git checkout: updating paths is incompatible with switching >>> >>>>>> branches. >>> >>>>>> Did you intend to checkout 'origin/win32-2.28.1' which can not be >>> >>>>>> resolved as commit? >>> >>>>> >>> >>>>> That's because I named my local git branch "win32-2.28.1" and I didn't >>> >>>>> really expect to publish my build environment. >>> >>>>> See >>> >>>>> http://maxy.homeip.net/misc/jhbuild.mingw.gtk-2.24_maxy_notes/notes.txt >>> >>>>> >>> >>>>> After running the commands there in the glib directory: >>> >>>>> git checkout 2.28.1 >>> >>>>> git am < 0001-hack-disable-dbus.patch >>> >>>>> (You need to download >>> >>>>> http://maxy.homeip.net/misc/jhbuild.mingw.gtk-2.24_maxy_notes/0001-hack-disable-dbus.patch) >>> >>>>> You can create a branch with the same name with: >>> >>>>> git checkout -b win32-2.28.1 >>> >>>>> >>> >>>>> -- >>> >>>>> Martin Renold >>> >>>>> >>> >>>> >>> >>> >>> >>> _______________________________________________ >>> >>> Mypaint-discuss mailing list >>> >>> [email protected] >>> >>> https://mail.gna.org/listinfo/mypaint-discuss >>> >>> >>> >> >>> >> >>> >> >>> >> -- >>> >> Jon Nordby - www.jonnor.com >>> >> >>> > >>> >>> _______________________________________________ >>> Mypaint-discuss mailing list >>> [email protected] >>> https://mail.gna.org/listinfo/mypaint-discuss >>> >> >> -- >> Martin Renold >> > _______________________________________________ Mypaint-discuss mailing list [email protected] https://mail.gna.org/listinfo/mypaint-discuss
