diff --git a/multimedia/graphics/inkscape/actions.py b/multimedia/graphics/inkscape/actions.py new file mode 100644 index 0000000000..e38bec0b62 --- /dev/null +++ b/multimedia/graphics/inkscape/actions.py @@ -0,0 +1,31 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import get + +def setup(): + autotools.configure(" \ + --enable-lcms \ + --disable-static \ + --enable-poppler-cairo \ + --disable-dependency-tracking \ + --without-gnome-vfs \ + --without-inkjar \ + --enable-dbusapi \ + --enable-nls") + + pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ") + + +def build(): + autotools.make() + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + pisitools.dodoc("AUTHORS", "COPYING", "COPYING.LIB", "ChangeLog", "NEWS", "README") diff --git a/multimedia/graphics/inkscape/files/ime-placement.patch b/multimedia/graphics/inkscape/files/ime-placement.patch new file mode 100644 index 0000000000..7f2e13a5ef --- /dev/null +++ b/multimedia/graphics/inkscape/files/ime-placement.patch @@ -0,0 +1,62 @@ +diff -aur old/src/text-context.cpp new/src/text-context.cpp +--- old/src/text-context.cpp 2011-07-08 08:25:09.468790000 -1000 ++++ new/src/text-context.cpp 2014-04-21 14:48:22.668759004 -1000 +@@ -684,6 +684,17 @@ + // articifically here, for the text object does not exist yet: + double cursor_height = sp_desktop_get_font_size_tool(desktop); + sp_ctrlline_set_coords(SP_CTRLLINE(tc->cursor), dtp, dtp + Geom::Point(0, cursor_height)); ++ if (tc->imc) { ++ GdkRectangle im_cursor; ++ Geom::Point const top_left = SP_EVENT_CONTEXT(tc)->desktop->get_display_area().corner(3); ++ Geom::Point const cursor_size(0, cursor_height); ++ Geom::Point const im_position = SP_EVENT_CONTEXT(tc)->desktop->d2w(dtp + cursor_size - top_left); ++ im_cursor.x = (int) floor(im_position[Geom::X]); ++ im_cursor.y = (int) floor(im_position[Geom::Y]); ++ im_cursor.width = 0; ++ im_cursor.height = (int) -floor(SP_EVENT_CONTEXT(tc)->desktop->d2w(cursor_size)[Geom::Y]); ++ gtk_im_context_set_cursor_location(tc->imc, &im_cursor); ++ } + event_context->_message_context->set(Inkscape::NORMAL_MESSAGE, _("Type text; Enter to start new line.")); // FIXME:: this is a copy of a string from _update_cursor below, do not desync + + event_context->within_tolerance = false; +@@ -1560,8 +1571,6 @@ + static void + sp_text_context_update_cursor(SPTextContext *tc, bool scroll_to_see) + { +- GdkRectangle im_cursor = { 0, 0, 1, 1 }; +- + // due to interruptible display, tc may already be destroyed during a display update before + // the cursor update (can't do both atomically, alas) + if (!tc->desktop) return; +@@ -1586,10 +1595,17 @@ + sp_ctrlline_set_coords(SP_CTRLLINE(tc->cursor), d0, d1); + + /* fixme: ... need another transformation to get canvas widget coordinate space? */ +- im_cursor.x = (int) floor(d0[Geom::X]); +- im_cursor.y = (int) floor(d0[Geom::Y]); +- im_cursor.width = (int) floor(d1[Geom::X]) - im_cursor.x; +- im_cursor.height = (int) floor(d1[Geom::Y]) - im_cursor.y; ++ if (tc->imc) { ++ GdkRectangle im_cursor = { 0, 0, 1, 1 }; ++ Geom::Point const top_left = SP_EVENT_CONTEXT(tc)->desktop->get_display_area().corner(3); ++ Geom::Point const im_d0 = SP_EVENT_CONTEXT(tc)->desktop->d2w(d0 - top_left); ++ Geom::Point const im_d1 = SP_EVENT_CONTEXT(tc)->desktop->d2w(d1 - top_left); ++ im_cursor.x = (int) floor(im_d0[Geom::X]); ++ im_cursor.y = (int) floor(im_d1[Geom::Y]); ++ im_cursor.width = (int) floor(im_d1[Geom::X]) - im_cursor.x; ++ im_cursor.height = (int) floor(im_d0[Geom::Y]) - im_cursor.y; ++ gtk_im_context_set_cursor_location(tc->imc, &im_cursor); ++ } + + tc->show = TRUE; + tc->phase = 1; +@@ -1631,9 +1647,6 @@ + } + } + +- if (tc->imc) { +- gtk_im_context_set_cursor_location(tc->imc, &im_cursor); +- } + SP_EVENT_CONTEXT(tc)->desktop->emitToolSubselectionChanged((gpointer)tc); + } + diff --git a/multimedia/graphics/inkscape/pspec.xml b/multimedia/graphics/inkscape/pspec.xml new file mode 100644 index 0000000000..14d4535986 --- /dev/null +++ b/multimedia/graphics/inkscape/pspec.xml @@ -0,0 +1,224 @@ + + + + + inkscape + http://www.inkscape.org + + PisiLinux Community + admins@pisilinux.org + + GPLv2 + LGPLv2.1 + app:gui + SVG vector graphics application + Inkscape is an application to create, edit, and convert SVG vector graphics images that can also import from and export to bitmap image files. + https://inkscape.global.ssl.fastly.net/media/resources/file/inkscape-0.91.tar.bz2 + + gtk2-devel + gtkmm-devel + atkmm-devel + cairo-devel + lcms2-devel + boost-devel + atk-devel + gc-devel + perl-XML-Parser + pango-devel + popt-devel + poppler-glib-devel + poppler-devel + aspell-devel + glibc-devel + gsl-devel + libwpg-devel + libwpd-devel + imagemagick-devel + glibmm-devel + libXft-devel + aalib-devel + libart_lgpl-devel + fontconfig-devel + libsigc++-devel + liblqr-devel + cairomm-devel + gdk-pixbuf-devel + libxslt-devel + pangomm-devel + libcdr-devel + libvisio-devel + librevenge-devel + libjpeg-turbo-devel + gtkspell-devel + dbus-glib-devel + zlib-devel + glib2-devel + libX11-devel + libgcc + libpng-devel + libxml2-devel + freetype + libgomp + libxslt-devel + intltool + gettext-devel + pkgconfig + libX11-devel + + + + + + inkscape + + freetype + libxml2 + libpng + libgcc + libX11 + glib2 + zlib + dbus-glib + popt + gtk2 + pango + lcms2 + cairo + poppler-glib + gsl + aspell + libwpg + imagemagick + glibmm + gtkmm + fontconfig + libsigc++ + gtkspell + cairomm + gdk-pixbuf + libxslt + pangomm + libwpd + atkmm + poppler + libcdr + libvisio + librevenge + libjpeg-turbo + libgomp + + + /usr/bin + /usr/lib + /usr/share/locale + /usr/share/man + /usr/share/doc + /usr/share/icons + /usr/share/dbus-1 + /usr/share/inkscape + /usr/share/applications + + + + inkscape-devel + Development files for Inkscape + + inkscape + glib2-devel + dbus-glib-devel + + + /usr/include + /usr/lib/pkgconfig + + + + + + 2015-11-27 + 0.91 + Rebuild for 2.0. + Stefan Gronewold (groni) + groni@pisilinux.org + + + 2015-04-09 + 0.91 + fixed problems. + Hakan Yıldız + hknyldz93@gmail.com + + + 2015-03-07 + 0.91 + rebuild for poppler. + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + 2015-02-09 + 0.91 + Version bump. + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2014-10-25 + 0.48.5 + Rebuild. + Vedat Demir + vedat@pisilinux.org + + + 2014-09-14 + 0.48.5 + Version bump. + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-05-30 + 0.48.4 + Rebuild, cleanup. + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-01-28 + 0.48.4 + New patch and some fixes + Alihan Öztürk + alihan@pisilinux.org + + + 2013-10-10 + 0.48.4 + Rebuil for new poppler. + Serdar Soytetir + kaptan@pisilinux.org + + + 2013-07-01 + 0.48.4 + Rebuild for poppler-0.22.5 + Marcin Bojara + marcin@pisilinux.org + + + 2013-03-26 + 0.48.4 + bump + Erdinç Gültekin + erdincgultekin@pisilinux.org + + + 2012-11-14 + 0.48.3.1 + First release + Serdar Soytetir + kaptan@pisilinux.org + + + diff --git a/multimedia/graphics/inkscape/translations.xml b/multimedia/graphics/inkscape/translations.xml new file mode 100644 index 0000000000..60d927c5a8 --- /dev/null +++ b/multimedia/graphics/inkscape/translations.xml @@ -0,0 +1,13 @@ + + + + inkscape + Vektörel çizim programı + SVG tabanlı, çok kapsamlı ve gelişmiş bir vektörel çizim programıdır. + + + + inkscape-devel + Inkscape için geliştirme dosyaları + + diff --git a/pisi-index.xml b/pisi-index.xml index 94bae0840e..c7c2b255b6 100644 --- a/pisi-index.xml +++ b/pisi-index.xml @@ -101299,6 +101299,228 @@ uses SIMD instructions (MMX, SSE2, etc.) to accelerate baseline JPEG compression + + + inkscape + http://www.inkscape.org + + PisiLinux Community + admins@pisilinux.org + + GPLv2 + LGPLv2.1 + app:gui + multimedia.graphics + SVG vector graphics application + Vektörel çizim programı + Inkscape is an application to create, edit, and convert SVG vector graphics images that can also import from and export to bitmap image files. + SVG tabanlı, çok kapsamlı ve gelişmiş bir vektörel çizim programıdır. + https://inkscape.global.ssl.fastly.net/media/resources/file/inkscape-0.91.tar.bz2 + + gtk2-devel + gtkmm-devel + atkmm-devel + cairo-devel + lcms2-devel + boost-devel + atk-devel + gc-devel + perl-XML-Parser + pango-devel + popt-devel + poppler-glib-devel + poppler-devel + aspell-devel + glibc-devel + gsl-devel + libwpg-devel + libwpd-devel + imagemagick-devel + glibmm-devel + libXft-devel + aalib-devel + libart_lgpl-devel + fontconfig-devel + libsigc++-devel + liblqr-devel + cairomm-devel + gdk-pixbuf-devel + libxslt-devel + pangomm-devel + libcdr-devel + libvisio-devel + librevenge-devel + libjpeg-turbo-devel + gtkspell-devel + dbus-glib-devel + zlib-devel + glib2-devel + libX11-devel + libgcc + libpng-devel + libxml2-devel + freetype + libgomp + libxslt-devel + intltool + gettext-devel + pkgconfig + libX11-devel + + multimedia/graphics/inkscape/pspec.xml + + + inkscape + + freetype + libxml2 + libpng + libgcc + libX11 + glib2 + zlib + dbus-glib + popt + gtk2 + pango + lcms2 + cairo + poppler-glib + gsl + aspell + libwpg + imagemagick + glibmm + gtkmm + fontconfig + libsigc++ + gtkspell + cairomm + gdk-pixbuf + libxslt + pangomm + libwpd + atkmm + poppler + libcdr + libvisio + librevenge + libjpeg-turbo + libgomp + + + /usr/bin + /usr/lib + /usr/share/locale + /usr/share/man + /usr/share/doc + /usr/share/icons + /usr/share/dbus-1 + /usr/share/inkscape + /usr/share/applications + + + + inkscape-devel + Development files for Inkscape + Inkscape için geliştirme dosyaları + + inkscape + glib2-devel + dbus-glib-devel + + + /usr/include + /usr/lib/pkgconfig + + + + + 2015-11-27 + 0.91 + Rebuild for 2.0. + Stefan Gronewold (groni) + groni@pisilinux.org + + + 2015-04-09 + 0.91 + fixed problems. + Hakan Yıldız + hknyldz93@gmail.com + + + 2015-03-07 + 0.91 + rebuild for poppler. + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + 2015-02-09 + 0.91 + Version bump. + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2014-10-25 + 0.48.5 + Rebuild. + Vedat Demir + vedat@pisilinux.org + + + 2014-09-14 + 0.48.5 + Version bump. + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-05-30 + 0.48.4 + Rebuild, cleanup. + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-01-28 + 0.48.4 + New patch and some fixes + Alihan Öztürk + alihan@pisilinux.org + + + 2013-10-10 + 0.48.4 + Rebuil for new poppler. + Serdar Soytetir + kaptan@pisilinux.org + + + 2013-07-01 + 0.48.4 + Rebuild for poppler-0.22.5 + Marcin Bojara + marcin@pisilinux.org + + + 2013-03-26 + 0.48.4 + bump + Erdinç Gültekin + erdincgultekin@pisilinux.org + + + 2012-11-14 + 0.48.3.1 + First release + Serdar Soytetir + kaptan@pisilinux.org + + + aalib diff --git a/pisi-index.xml.sha1sum b/pisi-index.xml.sha1sum index 97548de113..680bbd47d1 100644 --- a/pisi-index.xml.sha1sum +++ b/pisi-index.xml.sha1sum @@ -1 +1 @@ -3c6dc9a0ea415895e790a9f3a9e2b824e14cd5c8 \ No newline at end of file +83fa75cc5e31d6347a29842ce448f4c66d424f75 \ No newline at end of file diff --git a/pisi-index.xml.xz b/pisi-index.xml.xz index 2636c8597d..af23e1fd54 100644 Binary files a/pisi-index.xml.xz and b/pisi-index.xml.xz differ diff --git a/pisi-index.xml.xz.sha1sum b/pisi-index.xml.xz.sha1sum index 4c82aa3255..8aaf4329a3 100644 --- a/pisi-index.xml.xz.sha1sum +++ b/pisi-index.xml.xz.sha1sum @@ -1 +1 @@ -ca8c6b7b0b17a3010a3260c5cc10a8f015bc58c8 \ No newline at end of file +da7eb68bc29c434e63b11c61c6b7a035969082c5 \ No newline at end of file