=== modified file 'Info.plist' --- Info.plist 2011-07-10 11:35:30 +0000 +++ Info.plist 2012-02-16 12:59:31 +0000 @@ -7,7 +7,7 @@ CFBundleExecutable Inkscape CFBundleGetInfoString - 0.48.2, Copyright 2003-2009 Inkscape Developers + 0.48.3, Copyright 2003-2009 Inkscape Developers CFBundleIconFile Inkscape.icns CFBundleIdentifier @@ -323,11 +323,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - 0.48.2 + 0.48.3 CFBundleSignature Inks CFBundleVersion - 0.48.2 + 0.48.3 NSHumanReadableCopyright Copyright 2009 Inkscape Developers, GNU General Public License. LSMinimumSystemVersion === modified file 'Makefile.am' --- Makefile.am 2011-02-20 12:07:30 +0000 +++ Makefile.am 2012-02-16 12:59:31 +0000 @@ -16,9 +16,16 @@ ## cp $(srcdir)/AUTHORS $(distdir) ## cp $(srcdir)/NEWS $(distdir) +DISTCHECK_CONFIGURE_FLAGS = --enable-localinstall -man_MANS = inkscape.1 \ - inkview.1 +man_MANS = \ + inkscape.1 \ + inkscape.el.1 \ + inkscape.fr.1 \ + inkscape.ja.1 \ + inkscape.sk.1 \ + inkscape.zh_TW.1 \ + inkview.1 EXTRA_DIST = \ acinclude.m4 \ @@ -31,9 +38,16 @@ po/check-markup \ utf8-to-roff \ inkscape.1 \ + inkscape.el.1 \ inkscape.fr.1 \ + inkscape.ja.1 \ + inkscape.sk.1 \ + inkscape.zh_TW.1 \ inkscape.pod \ + inkscape.el.pod \ inkscape.fr.pod \ + inkscape.sk.pod \ + inkscape.zh_TW.pod \ inkscape.spec.in \ inkscape.spec \ Info.plist.in \ @@ -224,25 +238,37 @@ #ACLOCAL_AMFLAGS = -I m4 SUFFIXES = .pod .1 -inkscape.1 inkscape.fr.1: fix-roff-punct Makefile.am AUTHORS utf8-to-roff +inkscape.1 inkscape.el.1 inkscape.fr.1 inkscape.ja.1 inkscape.sk.1 inkscape.zh_TW.1 : fix-roff-punct Makefile.am AUTHORS .pod.1: set -e; \ d=`sed -n 's,/,-,g;s,.*\$$[D]ate: \(..........\).*,\1,p' $<`; \ - pod2man $< \ + pod2man --utf8 $< \ | sed 's/^\.TH .*/.TH INKSCAPE 1 "'"$$d"'" "Inkscape-$(VERSION)" "Inkscape"/' \ | perl -pe 'if (/^\[\% .*INCLUDE.*AUTHORS.* \%\]/) { open(FOO, "$(srcdir)/AUTHORS");$$_ = join(",\n", map { chomp; $$_ } ) . "\n"; }' \ | perl $(srcdir)/fix-roff-punct \ - | perl -CI $(srcdir)/utf8-to-roff \ > tmp.$$$$ \ && mv -f tmp.$$$$ $@ +# ut8-to-roff removed (groff now supports utf8). +# | perl -CI $(srcdir)/utf8-to-roff \ # man 7 groff_char for further remarks on charset encoding for man pages. po/inkscape.pot: (cd $(srcdir)/po ; intltool-update --pot --output-file=$(distdir)/po/inkscape.pot) -install-data-local: inkscape.fr.1 - $(mkinstalldirs) $(DESTDIR)$(mandir)/fr/man1 - $(INSTALL_DATA) `if [ -f inkscape.fr.1 ]; then :; else echo $(srcdir)/;fi`inkscape.fr.1 $(DESTDIR)$(mandir)/fr/man1/inkscape.1 +manel_DATA = inkscape.el.1 +maneldir = $(mandir)/el/man1 + +manfr_DATA = inkscape.fr.1 +manfrdir = $(mandir)/fr/man1 + +manja_DATA = inkscape.ja.1 +manjadir = $(mandir)/ja/man1 + +mansk_DATA = inkscape.ja.1 +manskdir = $(mandir)/sk/man1 + +manzhtw_DATA = inkscape.zh_TW.1 +manzhtwdir = $(mandir)/zh_TW/man1 #.PHONY: warn_markup noinst_DATA = warn_markup === modified file 'Makefile.in' --- Makefile.in 2011-07-10 11:35:30 +0000 +++ Makefile.in 2012-02-16 12:59:31 +0000 @@ -1,9 +1,9 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. +# Makefile.in generated by automake 1.11.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software +# Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -105,11 +105,11 @@ packaging/autopackage/default.apspec inkscape.spec Info.plist \ inkview.1 CONFIG_CLEAN_VPATH_FILES = -AM_V_GEN = $(am__v_GEN_$(V)) -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; -AM_V_at = $(am__v_at_$(V)) -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ SOURCES = DIST_SOURCES = @@ -141,11 +141,21 @@ am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } man1dir = $(mandir)/man1 -am__installdirs = "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(Graphicsdir)" +am__installdirs = "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(Graphicsdir)" \ + "$(DESTDIR)$(maneldir)" "$(DESTDIR)$(manfrdir)" \ + "$(DESTDIR)$(manjadir)" "$(DESTDIR)$(manskdir)" \ + "$(DESTDIR)$(manzhtwdir)" NROFF = nroff MANS = $(man_MANS) -DATA = $(Graphics_DATA) $(noinst_DATA) +DATA = $(Graphics_DATA) $(manel_DATA) $(manfr_DATA) $(manja_DATA) \ + $(mansk_DATA) $(manzhtw_DATA) $(noinst_DATA) RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ @@ -158,9 +168,11 @@ distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) am__remove_distdir = \ - { test ! -d "$(distdir)" \ - || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ - && rm -fr "$(distdir)"; }; } + if test -d "$(distdir)"; then \ + find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ + && rm -rf "$(distdir)" \ + || { sleep 5 && rm -rf "$(distdir)"; }; \ + else :; fi am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ @@ -189,6 +201,8 @@ DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2 $(distdir).zip GZIP_ENV = --best distuninstallcheck_listfiles = find . -type f -print +am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ + | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' distcleancheck_listfiles = find . -type f -print ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ @@ -236,6 +250,10 @@ GNOME_VFS_CFLAGS = @GNOME_VFS_CFLAGS@ GNOME_VFS_LIBS = @GNOME_VFS_LIBS@ GREP = @GREP@ +GTKMM_2_22_CFLAGS = @GTKMM_2_22_CFLAGS@ +GTKMM_2_22_LIBS = @GTKMM_2_22_LIBS@ +GTKMM_2_24_CFLAGS = @GTKMM_2_24_CFLAGS@ +GTKMM_2_24_LIBS = @GTKMM_2_24_LIBS@ IMAGEMAGICK_CFLAGS = @IMAGEMAGICK_CFLAGS@ IMAGEMAGICK_LIBS = @IMAGEMAGICK_LIBS@ INKBOARD_CFLAGS = @INKBOARD_CFLAGS@ @@ -254,6 +272,12 @@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +LCMS2_CFLAGS = @LCMS2_CFLAGS@ +LCMS2_LIBS = @LCMS2_LIBS@ LCMS_CFLAGS = @LCMS_CFLAGS@ LCMS_LIBS = @LCMS_LIBS@ LDFLAGS = @LDFLAGS@ @@ -281,8 +305,6 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ -PANGOFT2_CFLAGS = @PANGOFT2_CFLAGS@ -PANGOFT2_LIBS = @PANGOFT2_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL_CFLAGS = @PERL_CFLAGS@ PERL_LIBS = @PERL_LIBS@ @@ -311,8 +333,6 @@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WIN32_CFLAGS = @WIN32_CFLAGS@ -XFT_CFLAGS = @XFT_CFLAGS@ -XFT_LIBS = @XFT_LIBS@ XGETTEXT = @XGETTEXT@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ @@ -346,6 +366,8 @@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ @@ -370,8 +392,15 @@ Graphicsdir = $(datadir)/applications Graphics_in_files = inkscape.desktop.in Graphics_DATA = $(Graphics_in_files:.desktop.in=.desktop) -man_MANS = inkscape.1 \ - inkview.1 +DISTCHECK_CONFIGURE_FLAGS = --enable-localinstall +man_MANS = \ + inkscape.1 \ + inkscape.el.1 \ + inkscape.fr.1 \ + inkscape.ja.1 \ + inkscape.sk.1 \ + inkscape.zh_TW.1 \ + inkview.1 EXTRA_DIST = \ acinclude.m4 \ @@ -384,9 +413,16 @@ po/check-markup \ utf8-to-roff \ inkscape.1 \ + inkscape.el.1 \ inkscape.fr.1 \ + inkscape.ja.1 \ + inkscape.sk.1 \ + inkscape.zh_TW.1 \ inkscape.pod \ + inkscape.el.pod \ inkscape.fr.pod \ + inkscape.sk.pod \ + inkscape.zh_TW.pod \ inkscape.spec.in \ inkscape.spec \ Info.plist.in \ @@ -577,6 +613,16 @@ #ACLOCAL_AMFLAGS = -I m4 SUFFIXES = .pod .1 +manel_DATA = inkscape.el.1 +maneldir = $(mandir)/el/man1 +manfr_DATA = inkscape.fr.1 +manfrdir = $(mandir)/fr/man1 +manja_DATA = inkscape.ja.1 +manjadir = $(mandir)/ja/man1 +mansk_DATA = inkscape.ja.1 +manskdir = $(mandir)/sk/man1 +manzhtw_DATA = inkscape.zh_TW.1 +manzhtwdir = $(mandir)/zh_TW/man1 #.PHONY: warn_markup noinst_DATA = warn_markup @@ -586,7 +632,7 @@ .SUFFIXES: .SUFFIXES: .pod .1 -am--refresh: +am--refresh: Makefile @: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ @@ -622,10 +668,8 @@ $(am__aclocal_m4_deps): config.h: stamp-h1 - @if test ! -f $@; then \ - rm -f stamp-h1; \ - $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \ - else :; fi + @if test ! -f $@; then rm -f stamp-h1; else :; fi + @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status @rm -f stamp-h1 @@ -748,9 +792,7 @@ sed -n '/\.1[a-z]*$$/p'; \ } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ - test -z "$$files" || { \ - echo " ( cd '$(DESTDIR)$(man1dir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(man1dir)" && rm -f $$files; } + dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir) install-GraphicsDATA: $(Graphics_DATA) @$(NORMAL_INSTALL) test -z "$(Graphicsdir)" || $(MKDIR_P) "$(DESTDIR)$(Graphicsdir)" @@ -768,9 +810,97 @@ @$(NORMAL_UNINSTALL) @list='$(Graphics_DATA)'; test -n "$(Graphicsdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - test -n "$$files" || exit 0; \ - echo " ( cd '$(DESTDIR)$(Graphicsdir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(Graphicsdir)" && rm -f $$files + dir='$(DESTDIR)$(Graphicsdir)'; $(am__uninstall_files_from_dir) +install-manelDATA: $(manel_DATA) + @$(NORMAL_INSTALL) + test -z "$(maneldir)" || $(MKDIR_P) "$(DESTDIR)$(maneldir)" + @list='$(manel_DATA)'; test -n "$(maneldir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(maneldir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(maneldir)" || exit $$?; \ + done + +uninstall-manelDATA: + @$(NORMAL_UNINSTALL) + @list='$(manel_DATA)'; test -n "$(maneldir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(maneldir)'; $(am__uninstall_files_from_dir) +install-manfrDATA: $(manfr_DATA) + @$(NORMAL_INSTALL) + test -z "$(manfrdir)" || $(MKDIR_P) "$(DESTDIR)$(manfrdir)" + @list='$(manfr_DATA)'; test -n "$(manfrdir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(manfrdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(manfrdir)" || exit $$?; \ + done + +uninstall-manfrDATA: + @$(NORMAL_UNINSTALL) + @list='$(manfr_DATA)'; test -n "$(manfrdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(manfrdir)'; $(am__uninstall_files_from_dir) +install-manjaDATA: $(manja_DATA) + @$(NORMAL_INSTALL) + test -z "$(manjadir)" || $(MKDIR_P) "$(DESTDIR)$(manjadir)" + @list='$(manja_DATA)'; test -n "$(manjadir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(manjadir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(manjadir)" || exit $$?; \ + done + +uninstall-manjaDATA: + @$(NORMAL_UNINSTALL) + @list='$(manja_DATA)'; test -n "$(manjadir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(manjadir)'; $(am__uninstall_files_from_dir) +install-manskDATA: $(mansk_DATA) + @$(NORMAL_INSTALL) + test -z "$(manskdir)" || $(MKDIR_P) "$(DESTDIR)$(manskdir)" + @list='$(mansk_DATA)'; test -n "$(manskdir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(manskdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(manskdir)" || exit $$?; \ + done + +uninstall-manskDATA: + @$(NORMAL_UNINSTALL) + @list='$(mansk_DATA)'; test -n "$(manskdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(manskdir)'; $(am__uninstall_files_from_dir) +install-manzhtwDATA: $(manzhtw_DATA) + @$(NORMAL_INSTALL) + test -z "$(manzhtwdir)" || $(MKDIR_P) "$(DESTDIR)$(manzhtwdir)" + @list='$(manzhtw_DATA)'; test -n "$(manzhtwdir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(manzhtwdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(manzhtwdir)" || exit $$?; \ + done + +uninstall-manzhtwDATA: + @$(NORMAL_UNINSTALL) + @list='$(manzhtw_DATA)'; test -n "$(manzhtwdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(manzhtwdir)'; $(am__uninstall_files_from_dir) # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. @@ -991,7 +1121,11 @@ tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz $(am__remove_distdir) dist-bzip2: distdir - tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 + tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 + $(am__remove_distdir) + +dist-lzip: distdir + tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz $(am__remove_distdir) dist-lzma: distdir @@ -999,7 +1133,7 @@ $(am__remove_distdir) dist-xz: distdir - tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz + tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz $(am__remove_distdir) dist-tarZ: distdir @@ -1016,7 +1150,7 @@ dist dist-all: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz - tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 + tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 -rm -f $(distdir).zip zip -rq $(distdir).zip $(distdir) $(am__remove_distdir) @@ -1032,6 +1166,8 @@ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ *.tar.lzma*) \ lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ + *.tar.lz*) \ + lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ *.tar.xz*) \ xz -dc $(distdir).tar.xz | $(am__untar) ;;\ *.tar.Z*) \ @@ -1052,6 +1188,7 @@ && am__cwd=`pwd` \ && $(am__cd) $(distdir)/_build \ && ../configure --srcdir=.. --prefix="$$dc_install_base" \ + $(AM_DISTCHECK_CONFIGURE_FLAGS) \ $(DISTCHECK_CONFIGURE_FLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) dvi \ @@ -1080,8 +1217,16 @@ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' distuninstallcheck: - @$(am__cd) '$(distuninstallcheck_dir)' \ - && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ + @test -n '$(distuninstallcheck_dir)' || { \ + echo 'ERROR: trying to run $@ with an empty' \ + '$$(distuninstallcheck_dir)' >&2; \ + exit 1; \ + }; \ + $(am__cd) '$(distuninstallcheck_dir)' || { \ + echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \ + exit 1; \ + }; \ + test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left after uninstall:" ; \ if test -n "$(DESTDIR)"; then \ echo " (check DESTDIR support)"; \ @@ -1103,7 +1248,7 @@ all-am: Makefile $(MANS) $(DATA) config.h installdirs: installdirs-recursive installdirs-am: - for dir in "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(Graphicsdir)"; do \ + for dir in "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(Graphicsdir)" "$(DESTDIR)$(maneldir)" "$(DESTDIR)$(manfrdir)" "$(DESTDIR)$(manjadir)" "$(DESTDIR)$(manskdir)" "$(DESTDIR)$(manzhtwdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-recursive @@ -1116,10 +1261,15 @@ installcheck: installcheck-recursive install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi mostlyclean-generic: clean-generic: @@ -1153,7 +1303,9 @@ info-am: -install-data-am: install-GraphicsDATA install-data-local install-man +install-data-am: install-GraphicsDATA install-man install-manelDATA \ + install-manfrDATA install-manjaDATA install-manskDATA \ + install-manzhtwDATA install-dvi: install-dvi-recursive @@ -1199,7 +1351,9 @@ ps-am: -uninstall-am: uninstall-GraphicsDATA uninstall-man +uninstall-am: uninstall-GraphicsDATA uninstall-man uninstall-manelDATA \ + uninstall-manfrDATA uninstall-manjaDATA uninstall-manskDATA \ + uninstall-manzhtwDATA uninstall-man: uninstall-man1 @@ -1209,41 +1363,41 @@ .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ all all-am am--refresh check check-am clean clean-generic \ ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \ - dist-lzma dist-shar dist-tarZ dist-xz dist-zip distcheck \ - distclean distclean-generic distclean-hdr distclean-tags \ - distcleancheck distdir distuninstallcheck dvi dvi-am html \ - html-am info info-am install install-GraphicsDATA install-am \ - install-data install-data-am install-data-local install-dvi \ + dist-lzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \ + distcheck distclean distclean-generic distclean-hdr \ + distclean-tags distcleancheck distdir distuninstallcheck dvi \ + dvi-am html html-am info info-am install install-GraphicsDATA \ + install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ - install-man1 install-pdf install-pdf-am install-ps \ - install-ps-am install-strip installcheck installcheck-am \ - installdirs installdirs-am maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ - pdf-am ps ps-am tags tags-recursive uninstall \ - uninstall-GraphicsDATA uninstall-am uninstall-man \ - uninstall-man1 + install-man1 install-manelDATA install-manfrDATA \ + install-manjaDATA install-manskDATA install-manzhtwDATA \ + install-pdf install-pdf-am install-ps install-ps-am \ + install-strip installcheck installcheck-am installdirs \ + installdirs-am maintainer-clean maintainer-clean-generic \ + mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags \ + tags-recursive uninstall uninstall-GraphicsDATA uninstall-am \ + uninstall-man uninstall-man1 uninstall-manelDATA \ + uninstall-manfrDATA uninstall-manjaDATA uninstall-manskDATA \ + uninstall-manzhtwDATA @INTLTOOL_DESKTOP_RULE@ -inkscape.1 inkscape.fr.1: fix-roff-punct Makefile.am AUTHORS utf8-to-roff +inkscape.1 inkscape.el.1 inkscape.fr.1 inkscape.ja.1 inkscape.sk.1 inkscape.zh_TW.1 : fix-roff-punct Makefile.am AUTHORS .pod.1: set -e; \ d=`sed -n 's,/,-,g;s,.*\$$[D]ate: \(..........\).*,\1,p' $<`; \ - pod2man $< \ + pod2man --utf8 $< \ | sed 's/^\.TH .*/.TH INKSCAPE 1 "'"$$d"'" "Inkscape-$(VERSION)" "Inkscape"/' \ | perl -pe 'if (/^\[\% .*INCLUDE.*AUTHORS.* \%\]/) { open(FOO, "$(srcdir)/AUTHORS");$$_ = join(",\n", map { chomp; $$_ } ) . "\n"; }' \ | perl $(srcdir)/fix-roff-punct \ - | perl -CI $(srcdir)/utf8-to-roff \ > tmp.$$$$ \ && mv -f tmp.$$$$ $@ +# ut8-to-roff removed (groff now supports utf8). +# | perl -CI $(srcdir)/utf8-to-roff \ # man 7 groff_char for further remarks on charset encoding for man pages. po/inkscape.pot: (cd $(srcdir)/po ; intltool-update --pot --output-file=$(distdir)/po/inkscape.pot) - -install-data-local: inkscape.fr.1 - $(mkinstalldirs) $(DESTDIR)$(mandir)/fr/man1 - $(INSTALL_DATA) `if [ -f inkscape.fr.1 ]; then :; else echo $(srcdir)/;fi`inkscape.fr.1 $(DESTDIR)$(mandir)/fr/man1/inkscape.1 warn_markup: @if perl $(srcdir)/po/check-markup $(srcdir)/po/*.po; [ $$? = 1 ]; then \ echo "WARNING: Bad markup found in translations. Please consider fixing the above problems." >&2; \ === modified file 'aclocal.m4' --- aclocal.m4 2011-07-10 11:35:30 +0000 +++ aclocal.m4 2012-02-16 12:59:31 +0000 @@ -1,7 +1,8 @@ -# generated automatically by aclocal 1.11.1 -*- Autoconf -*- +# generated automatically by aclocal 1.11.3 -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. +# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, +# Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -260,6 +261,10 @@ [CATOBJEXT=.mo DATADIRNAME=lib]) ;; + *-*-openbsd*) + CATOBJEXT=.mo + DATADIRNAME=share + ;; *) CATOBJEXT=.mo DATADIRNAME=lib @@ -454,7 +459,7 @@ dnl IT_PROG_INTLTOOL([MINIMUM-VERSION], [no-xml]) -# serial 40 IT_PROG_INTLTOOL +# serial 41 IT_PROG_INTLTOOL AC_DEFUN([IT_PROG_INTLTOOL], [ AC_PREREQ([2.50])dnl AC_REQUIRE([AM_NLS])dnl @@ -486,25 +491,44 @@ AC_MSG_ERROR([The intltool scripts were not found. Please install intltool.]) fi - INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' -INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' - INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' - INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' - INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< [$]@' - INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' - INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' - INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' -INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' - INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' - INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' - INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< [$]@' - INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' - INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' - INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' - INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' - INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' - INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' - INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' +if test -z "$AM_DEFAULT_VERBOSITY"; then + AM_DEFAULT_VERBOSITY=1 +fi +AC_SUBST([AM_DEFAULT_VERBOSITY]) + +INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))' +INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))' +INTLTOOL__v_MERGE_0='@echo " ITMRG " [$]@;' +AC_SUBST(INTLTOOL_V_MERGE) +AC_SUBST(INTLTOOL__v_MERGE_) +AC_SUBST(INTLTOOL__v_MERGE_0) + +INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))' +intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))' +intltool__v_merge_options_0='-q' +AC_SUBST(INTLTOOL_V_MERGE_OPTIONS) +AC_SUBST(intltool__v_merge_options_) +AC_SUBST(intltool__v_merge_options_0) + + INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' +INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< [$]@' + INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' +INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< [$]@' + INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' _IT_SUBST(INTLTOOL_DESKTOP_RULE) _IT_SUBST(INTLTOOL_DIRECTORY_RULE) @@ -550,7 +574,7 @@ if test $? -ne 0; then AC_MSG_ERROR([perl 5.8.1 is required for intltool]) else - IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`" + IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"` AC_MSG_RESULT([$IT_PERL_VERSION]) fi if test "x$2" != "xno-xml"; then @@ -839,12 +863,15 @@ fi[]dnl ])# PKG_CHECK_MODULES -# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. +# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software +# Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. +# serial 1 + # AM_AUTOMAKE_VERSION(VERSION) # ---------------------------- # Automake X.Y traces this macro to ensure aclocal.m4 has been @@ -854,7 +881,7 @@ [am__api_version='1.11' dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to dnl require some minimum version. Point them to the right macro. -m4_if([$1], [1.11.1], [], +m4_if([$1], [1.11.3], [], [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl ]) @@ -870,7 +897,7 @@ # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], -[AM_AUTOMAKE_VERSION([1.11.1])dnl +[AM_AUTOMAKE_VERSION([1.11.3])dnl m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) @@ -899,12 +926,14 @@ # AM_AUX_DIR_EXPAND -*- Autoconf -*- -# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. +# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. +# serial 1 + # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to # `$srcdir', `$srcdir/..', or `$srcdir/../..'. @@ -1009,14 +1038,14 @@ Usually this means the macro was only invoked conditionally.]]) fi])]) -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009 -# Free Software Foundation, Inc. +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009, +# 2010, 2011 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 10 +# serial 12 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be # written in clear, in which case automake, when reading aclocal.m4, @@ -1056,6 +1085,7 @@ # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named `D' -- because `-MD' means `put the output # in D'. + rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. @@ -1120,7 +1150,7 @@ break fi ;; - msvisualcpp | msvcmsys) + msvc7 | msvc7msys | msvisualcpp | msvcmsys) # This compiler won't grok `-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. @@ -1185,10 +1215,13 @@ if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' + am__nodep='_no' fi AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) AC_SUBST([AMDEPBACKSLASH])dnl _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl +AC_SUBST([am__nodep])dnl +_AM_SUBST_NOTMAKE([am__nodep])dnl ]) # Generate code to set up dependency tracking. -*- Autoconf -*- @@ -1422,12 +1455,15 @@ done echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) -# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc. +# Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation, +# Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. +# serial 1 + # AM_PROG_INSTALL_SH # ------------------ # Define $install_sh. @@ -1594,12 +1630,15 @@ fi ]) -# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. +# Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation, +# Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. +# serial 1 + # AM_PROG_MKDIR_P # --------------- # Check for `mkdir -p'. @@ -1622,13 +1661,14 @@ # Helper functions for option handling. -*- Autoconf -*- -# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc. +# Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software +# Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 4 +# serial 5 # _AM_MANGLE_OPTION(NAME) # ----------------------- @@ -1636,13 +1676,13 @@ [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) # _AM_SET_OPTION(NAME) -# ------------------------------ +# -------------------- # Set option NAME. Presently that only means defining a flag for this option. AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) # _AM_SET_OPTIONS(OPTIONS) -# ---------------------------------- +# ------------------------ # OPTIONS is a space-separated list of Automake options. AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) @@ -1653,12 +1693,14 @@ AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) -# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. +# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. +# serial 1 + # AM_RUN_LOG(COMMAND) # ------------------- # Run COMMAND, save the exit status in ac_status, and log it. @@ -1735,13 +1777,13 @@ fi AC_MSG_RESULT(yes)]) -# Copyright (C) 2009 Free Software Foundation, Inc. +# Copyright (C) 2009, 2011 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 1 +# serial 2 # AM_SILENT_RULES([DEFAULT]) # -------------------------- @@ -1756,18 +1798,50 @@ no) AM_DEFAULT_VERBOSITY=1;; *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; esac +dnl +dnl A few `make' implementations (e.g., NonStop OS and NextStep) +dnl do not support nested variable expansions. +dnl See automake bug#9928 and bug#10237. +am_make=${MAKE-make} +AC_CACHE_CHECK([whether $am_make supports nested variables], + [am_cv_make_support_nested_variables], + [if AS_ECHO([['TRUE=$(BAR$(V)) +BAR0=false +BAR1=true +V=1 +am__doit: + @$(TRUE) +.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then + am_cv_make_support_nested_variables=yes +else + am_cv_make_support_nested_variables=no +fi]) +if test $am_cv_make_support_nested_variables = yes; then + dnl Using `$V' instead of `$(V)' breaks IRIX make. + AM_V='$(V)' + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' +else + AM_V=$AM_DEFAULT_VERBOSITY + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY +fi +AC_SUBST([AM_V])dnl +AM_SUBST_NOTMAKE([AM_V])dnl +AC_SUBST([AM_DEFAULT_V])dnl +AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl AC_SUBST([AM_DEFAULT_VERBOSITY])dnl AM_BACKSLASH='\' AC_SUBST([AM_BACKSLASH])dnl _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl ]) -# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. +# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. +# serial 1 + # AM_PROG_INSTALL_STRIP # --------------------- # One issue with vendor `install' (even GNU) is that you can't @@ -1790,13 +1864,13 @@ INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) -# Copyright (C) 2006, 2008 Free Software Foundation, Inc. +# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 2 +# serial 3 # _AM_SUBST_NOTMAKE(VARIABLE) # --------------------------- @@ -1805,13 +1879,13 @@ AC_DEFUN([_AM_SUBST_NOTMAKE]) # AM_SUBST_NOTMAKE(VARIABLE) -# --------------------------- +# -------------------------- # Public sister of _AM_SUBST_NOTMAKE. AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) # Check how to create a tarball. -*- Autoconf -*- -# Copyright (C) 2004, 2005 Free Software Foundation, Inc. +# Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1833,10 +1907,11 @@ # a tarball read from stdin. # $(am__untar) < result.tar AC_DEFUN([_AM_PROG_TAR], -[# Always define AMTAR for backward compatibility. -AM_MISSING_PROG([AMTAR], [tar]) +[# Always define AMTAR for backward compatibility. Yes, it's still used +# in the wild :-( We should find a proper way to deprecate it ... +AC_SUBST([AMTAR], ['$${TAR-tar}']) m4_if([$1], [v7], - [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], + [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], [m4_case([$1], [ustar],, [pax],, [m4_fatal([Unknown tar format])]) AC_MSG_CHECKING([how to create a $1 tar archive]) === modified file 'build.xml' --- build.xml 2011-07-10 11:35:30 +0000 +++ build.xml 2012-02-16 12:59:31 +0000 @@ -42,7 +42,7 @@ - + @@ -673,6 +673,7 @@ + @@ -705,7 +706,7 @@ - + === modified file 'compile' --- compile 2011-02-20 12:07:30 +0000 +++ compile 2012-02-16 12:59:31 +0000 @@ -1,10 +1,10 @@ #! /bin/sh -# Wrapper for compilers which do not understand `-c -o'. - -scriptversion=2009-10-06.20; # UTC - -# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009 Free Software -# Foundation, Inc. +# Wrapper for compilers which do not understand '-c -o'. + +scriptversion=2012-01-04.17; # UTC + +# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009, 2010, 2012 Free +# Software Foundation, Inc. # Written by Tom Tromey . # # This program is free software; you can redistribute it and/or modify @@ -29,21 +29,186 @@ # bugs to or send patches to # . +nl=' +' + +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent tools from complaining about whitespace usage. +IFS=" "" $nl" + +file_conv= + +# func_file_conv build_file lazy +# Convert a $build file to $host form and store it in $file +# Currently only supports Windows hosts. If the determined conversion +# type is listed in (the comma separated) LAZY, no conversion will +# take place. +func_file_conv () +{ + file=$1 + case $file in + / | /[!/]*) # absolute file, and not a UNC file + if test -z "$file_conv"; then + # lazily determine how to convert abs files + case `uname -s` in + MINGW*) + file_conv=mingw + ;; + CYGWIN*) + file_conv=cygwin + ;; + *) + file_conv=wine + ;; + esac + fi + case $file_conv/,$2, in + *,$file_conv,*) + ;; + mingw/*) + file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` + ;; + cygwin/*) + file=`cygpath -m "$file" || echo "$file"` + ;; + wine/*) + file=`winepath -w "$file" || echo "$file"` + ;; + esac + ;; + esac +} + +# func_cl_wrapper cl arg... +# Adjust compile command to suit cl +func_cl_wrapper () +{ + # Assume a capable shell + lib_path= + shared=: + linker_opts= + for arg + do + if test -n "$eat"; then + eat= + else + case $1 in + -o) + # configure might choose to run compile as 'compile cc -o foo foo.c'. + eat=1 + case $2 in + *.o | *.[oO][bB][jJ]) + func_file_conv "$2" + set x "$@" -Fo"$file" + shift + ;; + *) + func_file_conv "$2" + set x "$@" -Fe"$file" + shift + ;; + esac + ;; + -I*) + func_file_conv "${1#-I}" mingw + set x "$@" -I"$file" + shift + ;; + -l*) + lib=${1#-l} + found=no + save_IFS=$IFS + IFS=';' + for dir in $lib_path $LIB + do + IFS=$save_IFS + if $shared && test -f "$dir/$lib.dll.lib"; then + found=yes + set x "$@" "$dir/$lib.dll.lib" + break + fi + if test -f "$dir/$lib.lib"; then + found=yes + set x "$@" "$dir/$lib.lib" + break + fi + done + IFS=$save_IFS + + test "$found" != yes && set x "$@" "$lib.lib" + shift + ;; + -L*) + func_file_conv "${1#-L}" + if test -z "$lib_path"; then + lib_path=$file + else + lib_path="$lib_path;$file" + fi + linker_opts="$linker_opts -LIBPATH:$file" + ;; + -static) + shared=false + ;; + -Wl,*) + arg=${1#-Wl,} + save_ifs="$IFS"; IFS=',' + for flag in $arg; do + IFS="$save_ifs" + linker_opts="$linker_opts $flag" + done + IFS="$save_ifs" + ;; + -Xlinker) + eat=1 + linker_opts="$linker_opts $2" + ;; + -*) + set x "$@" "$1" + shift + ;; + *.cc | *.CC | *.cxx | *.CXX | *.[cC]++) + func_file_conv "$1" + set x "$@" -Tp"$file" + shift + ;; + *.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO]) + func_file_conv "$1" mingw + set x "$@" "$file" + shift + ;; + *) + set x "$@" "$1" + shift + ;; + esac + fi + shift + done + if test -n "$linker_opts"; then + linker_opts="-link$linker_opts" + fi + exec "$@" $linker_opts + exit 1 +} + +eat= + case $1 in '') - echo "$0: No command. Try \`$0 --help' for more information." 1>&2 + echo "$0: No command. Try '$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: compile [--help] [--version] PROGRAM [ARGS] -Wrapper for compilers which do not understand `-c -o'. -Remove `-o dest.o' from ARGS, run PROGRAM with the remaining +Wrapper for compilers which do not understand '-c -o'. +Remove '-o dest.o' from ARGS, run PROGRAM with the remaining arguments, and rename the output as expected. If you are trying to build a whole package this is not the -right script to run: please start by reading the file `INSTALL'. +right script to run: please start by reading the file 'INSTALL'. Report bugs to . EOF @@ -53,11 +218,13 @@ echo "compile $scriptversion" exit $? ;; + cl | *[/\\]cl | cl.exe | *[/\\]cl.exe ) + func_cl_wrapper "$@" # Doesn't return... + ;; esac ofile= cfile= -eat= for arg do @@ -66,8 +233,8 @@ else case $1 in -o) - # configure might choose to run compile as `compile cc -o foo foo.c'. - # So we strip `-o arg' only if arg is an object. + # configure might choose to run compile as 'compile cc -o foo foo.c'. + # So we strip '-o arg' only if arg is an object. eat=1 case $2 in *.o | *.obj) @@ -94,10 +261,10 @@ done if test -z "$ofile" || test -z "$cfile"; then - # If no `-o' option was seen then we might have been invoked from a + # If no '-o' option was seen then we might have been invoked from a # pattern rule where we don't need one. That is ok -- this is a # normal compilation that the losing compiler can handle. If no - # `.c' file was seen then we are probably linking. That is also + # '.c' file was seen then we are probably linking. That is also # ok. exec "$@" fi @@ -106,7 +273,7 @@ cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'` # Create the lock directory. -# Note: use `[/\\:.-]' here to ensure that we don't use the same name +# Note: use '[/\\:.-]' here to ensure that we don't use the same name # that we are using for the .o file. Also, base the name on the expected # object file name, since that is what matters with a parallel build. lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d === modified file 'config.h.in' --- config.h.in 2011-07-10 11:35:30 +0000 +++ config.h.in 2012-02-16 12:59:31 +0000 @@ -9,9 +9,6 @@ /* Use AutoPackage? */ #undef ENABLE_BINRELOC -/* Use LittleCms color management */ -#undef ENABLE_LCMS - /* always defined to indicate that i18n is enabled */ #undef ENABLE_NLS @@ -91,6 +88,12 @@ /* Define to 1 if you have the header file. */ #undef HAVE_LIBINTL_H +/* define to 1 if you have lcms version 1.x */ +#undef HAVE_LIBLCMS1 + +/* define to 1 if you have lcms version 2.x */ +#undef HAVE_LIBLCMS2 + /* Define to 1 if you have the `m' library (-lm). */ #undef HAVE_LIBM @@ -273,6 +276,12 @@ /* Use gnome vfs file load functionality */ #undef WITH_GNOME_VFS +/* Build with Gtkmm 2.22.x */ +#undef WITH_GTKMM_2_22 + +/* Build with Gtkmm 2.24.x */ +#undef WITH_GTKMM_2_24 + /* enable gtk spelling widget */ #undef WITH_GTKSPELL @@ -297,9 +306,6 @@ /* use Python for embedded scripting */ #undef WITH_PYTHON -/* Use Xft font database */ -#undef WITH_XFT - /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most significant byte first (like Motorola and SPARC, unlike Intel). */ #if defined AC_APPLE_UNIVERSAL_BUILD === modified file 'configure' --- configure 2011-07-10 11:35:30 +0000 +++ configure 2012-02-16 12:59:31 +0000 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.68 for inkscape 0.48.2. +# Generated by GNU Autoconf 2.68 for inkscape 0.48.3. # # # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, @@ -557,8 +557,8 @@ # Identity of this package. PACKAGE_NAME='inkscape' PACKAGE_TARNAME='inkscape' -PACKAGE_VERSION='0.48.2' -PACKAGE_STRING='inkscape 0.48.2' +PACKAGE_VERSION='0.48.3' +PACKAGE_STRING='inkscape 0.48.3' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -611,6 +611,10 @@ HAVE_CARBON_FALSE HAVE_CARBON_TRUE CARBON_LDFLAGS +GTKMM_2_22_LIBS +GTKMM_2_22_CFLAGS +GTKMM_2_24_LIBS +GTKMM_2_24_CFLAGS INKSCAPE_LIBS INKSCAPE_CFLAGS CAIRO_USER_FONTS_LIBS @@ -645,6 +649,8 @@ POPPLER_CFLAGS LCMS_LIBS LCMS_CFLAGS +LCMS2_LIBS +LCMS2_CFLAGS PYTHON_LIBS PYTHON_CFLAGS WITH_PYTHON_FALSE @@ -659,12 +665,6 @@ USE_GNOME_VFS_TRUE GNOME_VFS_LIBS GNOME_VFS_CFLAGS -PANGOFT2_LIBS -PANGOFT2_CFLAGS -USE_XFT_FALSE -USE_XFT_TRUE -XFT_LIBS -XFT_CFLAGS PKG_CONFIG_LIBDIR PKG_CONFIG_PATH PLATFORM_SOLARIS_FALSE @@ -691,7 +691,8 @@ MSGFMT_OPTS GETTEXT_PACKAGE AM_BACKSLASH -AM_DEFAULT_VERBOSITY +AM_DEFAULT_V +AM_V USE_BZR_VERSION_FALSE USE_BZR_VERSION_TRUE EGREP @@ -723,6 +724,13 @@ INTLTOOL_KEYS_RULE INTLTOOL_DIRECTORY_RULE INTLTOOL_DESKTOP_RULE +intltool__v_merge_options_0 +intltool__v_merge_options_ +INTLTOOL_V_MERGE_OPTIONS +INTLTOOL__v_MERGE_0 +INTLTOOL__v_MERGE_ +INTLTOOL_V_MERGE +AM_DEFAULT_VERBOSITY INTLTOOL_EXTRACT INTLTOOL_MERGE INTLTOOL_UPDATE @@ -742,6 +750,7 @@ am__fastdepCXX_FALSE am__fastdepCXX_TRUE CXXDEPMODE +am__nodep AMDEPBACKSLASH AMDEP_FALSE AMDEP_TRUE @@ -831,7 +840,6 @@ enable_dependency_tracking enable_nls enable_silent_rules -with_xft with_gnome_vfs with_inkjar with_perl @@ -858,12 +866,10 @@ PKG_CONFIG PKG_CONFIG_PATH PKG_CONFIG_LIBDIR -XFT_CFLAGS -XFT_LIBS -PANGOFT2_CFLAGS -PANGOFT2_LIBS GNOME_VFS_CFLAGS GNOME_VFS_LIBS +LCMS2_CFLAGS +LCMS2_LIBS LCMS_CFLAGS LCMS_LIBS POPPLER_CFLAGS @@ -886,6 +892,10 @@ CAIRO_USER_FONTS_LIBS INKSCAPE_CFLAGS INKSCAPE_LIBS +GTKMM_2_24_CFLAGS +GTKMM_2_24_LIBS +GTKMM_2_22_CFLAGS +GTKMM_2_22_LIBS CAIRO_PDF_CFLAGS CAIRO_PDF_LIBS' @@ -1430,7 +1440,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures inkscape 0.48.2 to adapt to many kinds of systems. +\`configure' configures inkscape 0.48.3 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1500,7 +1510,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of inkscape 0.48.2:";; + short | recursive ) echo "Configuration of inkscape 0.48.3:";; esac cat <<\_ACEOF @@ -1522,7 +1532,6 @@ Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) - --with-xft use xft scalable font database (default is auto) --with-gnome-vfs use gnome vfs for loading files --without-inkjar disable openoffice files (SVG jars) --with-perl use Perl for embedded scripting (EXPERIMENTAL) @@ -1546,16 +1555,13 @@ directories to add to pkg-config's search path PKG_CONFIG_LIBDIR path overriding pkg-config's built-in search path - XFT_CFLAGS C compiler flags for XFT, overriding pkg-config - XFT_LIBS linker flags for XFT, overriding pkg-config - PANGOFT2_CFLAGS - C compiler flags for PANGOFT2, overriding pkg-config - PANGOFT2_LIBS - linker flags for PANGOFT2, overriding pkg-config GNOME_VFS_CFLAGS C compiler flags for GNOME_VFS, overriding pkg-config GNOME_VFS_LIBS linker flags for GNOME_VFS, overriding pkg-config + LCMS2_CFLAGS + C compiler flags for LCMS2, overriding pkg-config + LCMS2_LIBS linker flags for LCMS2, overriding pkg-config LCMS_CFLAGS C compiler flags for LCMS, overriding pkg-config LCMS_LIBS linker flags for LCMS, overriding pkg-config POPPLER_CFLAGS @@ -1598,6 +1604,14 @@ C compiler flags for INKSCAPE, overriding pkg-config INKSCAPE_LIBS linker flags for INKSCAPE, overriding pkg-config + GTKMM_2_24_CFLAGS + C compiler flags for GTKMM_2_24, overriding pkg-config + GTKMM_2_24_LIBS + linker flags for GTKMM_2_24, overriding pkg-config + GTKMM_2_22_CFLAGS + C compiler flags for GTKMM_2_22, overriding pkg-config + GTKMM_2_22_LIBS + linker flags for GTKMM_2_22, overriding pkg-config CAIRO_PDF_CFLAGS C compiler flags for CAIRO_PDF, overriding pkg-config CAIRO_PDF_LIBS @@ -1669,7 +1683,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -inkscape configure 0.48.2 +inkscape configure 0.48.3 generated by GNU Autoconf 2.68 Copyright (C) 2010 Free Software Foundation, Inc. @@ -2229,7 +2243,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by inkscape $as_me 0.48.2, which was +It was created by inkscape $as_me 0.48.3, which was generated by GNU Autoconf 2.68. Invocation command line was $ $0 $@ @@ -3117,7 +3131,7 @@ # Define the identity of the package. PACKAGE='inkscape' - VERSION='0.48.2' + VERSION='0.48.3' cat >>confdefs.h <<_ACEOF @@ -3147,9 +3161,9 @@ # We need awk for the "check" target. The system "awk" is bad on # some platforms. -# Always define AMTAR for backward compatibility. - -AMTAR=${AMTAR-"${am_missing_run}tar"} +# Always define AMTAR for backward compatibility. Yes, it's still used +# in the wild :-( We should find a proper way to deprecate it ... +AMTAR='$${TAR-tar}' { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5 @@ -3312,6 +3326,7 @@ if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' + am__nodep='_no' fi if test "x$enable_dependency_tracking" != xno; then AMDEP_TRUE= @@ -3842,6 +3857,7 @@ # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named `D' -- because `-MD' means `put the output # in D'. + rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. @@ -3901,7 +3917,7 @@ break fi ;; - msvisualcpp | msvcmsys) + msvc7 | msvc7msys | msvisualcpp | msvcmsys) # This compiler won't grok `-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. @@ -4283,6 +4299,7 @@ # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named `D' -- because `-MD' means `put the output # in D'. + rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. @@ -4342,7 +4359,7 @@ break fi ;; - msvisualcpp | msvcmsys) + msvc7 | msvc7msys | msvisualcpp | msvcmsys) # This compiler won't grok `-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. @@ -4950,6 +4967,7 @@ # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named `D' -- because `-MD' means `put the output # in D'. + rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. @@ -5009,7 +5027,7 @@ break fi ;; - msvisualcpp | msvcmsys) + msvc7 | msvc7msys | msvisualcpp | msvcmsys) # This compiler won't grok `-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. @@ -5087,6 +5105,7 @@ # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named `D' -- because `-MD' means `put the output # in D'. + rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. @@ -5144,7 +5163,7 @@ break fi ;; - msvisualcpp | msvcmsys) + msvc7 | msvc7msys | msvisualcpp | msvcmsys) # This compiler won't grok `-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. @@ -5453,25 +5472,44 @@ as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5 fi - INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' -INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' - INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' - INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' - INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@' - INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' - INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' - INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' -INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' - INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' - INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' - INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@' - INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' - INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' - INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' - INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' - INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' - INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' - INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' +if test -z "$AM_DEFAULT_VERBOSITY"; then + AM_DEFAULT_VERBOSITY=1 +fi + + +INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))' +INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))' +INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;' + + + + +INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))' +intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))' +intltool__v_merge_options_0='-q' + + + + + INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' +INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@' + INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' +INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@' + INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' @@ -5790,7 +5828,7 @@ if test $? -ne 0; then as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5 else - IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`" + IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"` { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5 $as_echo "$IT_PERL_VERSION" >&6; } fi @@ -6259,6 +6297,33 @@ no) AM_DEFAULT_VERBOSITY=1;; *) AM_DEFAULT_VERBOSITY=0;; esac +am_make=${MAKE-make} +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 +$as_echo_n "checking whether $am_make supports nested variables... " >&6; } +if ${am_cv_make_support_nested_variables+:} false; then : + $as_echo_n "(cached) " >&6 +else + if $as_echo 'TRUE=$(BAR$(V)) +BAR0=false +BAR1=true +V=1 +am__doit: + @$(TRUE) +.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then + am_cv_make_support_nested_variables=yes +else + am_cv_make_support_nested_variables=no +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 +$as_echo "$am_cv_make_support_nested_variables" >&6; } +if test $am_cv_make_support_nested_variables = yes; then + AM_V='$(V)' + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' +else + AM_V=$AM_DEFAULT_VERBOSITY + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY +fi AM_BACKSLASH='\' @@ -6815,6 +6880,7 @@ # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named `D' -- because `-MD' means `put the output # in D'. + rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. @@ -6874,7 +6940,7 @@ break fi ;; - msvisualcpp | msvcmsys) + msvc7 | msvc7msys | msvisualcpp | msvcmsys) # This compiler won't grok `-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. @@ -7074,6 +7140,8 @@ CPPFLAGS="-Wformat -Wformat-security $CPPFLAGS" # Enable all default warnings CPPFLAGS="-Wall $CPPFLAGS" + # Enforce including only (required since 2.31) + CPPFLAGS="-DG_DISABLE_SINGLE_INCLUDES $CPPFLAGS" # Test for -Werror=... (introduced some time post-4.0) # If we hit a format error -- it should be fatal. @@ -7895,6 +7963,10 @@ fi ;; + *-*-openbsd*) + CATOBJEXT=.mo + DATADIRNAME=share + ;; *) CATOBJEXT=.mo DATADIRNAME=lib @@ -8891,15 +8963,17 @@ -# Check whether --with-xft was given. -if test "${with_xft+set}" = set; then : - withval=$with_xft; with_xft=$withval +# Check whether --with-gnome-vfs was given. +if test "${with_gnome_vfs+set}" = set; then : + withval=$with_gnome_vfs; with_gnome_vfs=$withval else - with_xft=auto + with_gnome_vfs=auto fi -if test "x$with_xft" != "xno" ; then +if test "x$with_gnome_vfs" = "xno"; then + gnome_vfs=no +else @@ -9022,280 +9096,6 @@ fi pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XFT" >&5 -$as_echo_n "checking for XFT... " >&6; } - -if test -n "$XFT_CFLAGS"; then - pkg_cv_XFT_CFLAGS="$XFT_CFLAGS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig\""; } >&5 - ($PKG_CONFIG --exists --print-errors "fontconfig") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - pkg_cv_XFT_CFLAGS=`$PKG_CONFIG --cflags "fontconfig" 2>/dev/null` - test "x$?" != "x0" && pkg_failed=yes -else - pkg_failed=yes -fi - else - pkg_failed=untried -fi -if test -n "$XFT_LIBS"; then - pkg_cv_XFT_LIBS="$XFT_LIBS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig\""; } >&5 - ($PKG_CONFIG --exists --print-errors "fontconfig") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - pkg_cv_XFT_LIBS=`$PKG_CONFIG --libs "fontconfig" 2>/dev/null` - test "x$?" != "x0" && pkg_failed=yes -else - pkg_failed=yes -fi - else - pkg_failed=untried -fi - - - -if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then - _pkg_short_errors_supported=yes -else - _pkg_short_errors_supported=no -fi - if test $_pkg_short_errors_supported = yes; then - XFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "fontconfig" 2>&1` - else - XFT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "fontconfig" 2>&1` - fi - # Put the nasty error message in config.log where it belongs - echo "$XFT_PKG_ERRORS" >&5 - - xft_ok=no -elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - xft_ok=no -else - XFT_CFLAGS=$pkg_cv_XFT_CFLAGS - XFT_LIBS=$pkg_cv_XFT_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - xft_ok=yes -fi - if test "x$xft_ok" != "xyes"; then - -pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XFT" >&5 -$as_echo_n "checking for XFT... " >&6; } - -if test -n "$XFT_CFLAGS"; then - pkg_cv_XFT_CFLAGS="$XFT_CFLAGS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xft\""; } >&5 - ($PKG_CONFIG --exists --print-errors "xft") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - pkg_cv_XFT_CFLAGS=`$PKG_CONFIG --cflags "xft" 2>/dev/null` - test "x$?" != "x0" && pkg_failed=yes -else - pkg_failed=yes -fi - else - pkg_failed=untried -fi -if test -n "$XFT_LIBS"; then - pkg_cv_XFT_LIBS="$XFT_LIBS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xft\""; } >&5 - ($PKG_CONFIG --exists --print-errors "xft") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - pkg_cv_XFT_LIBS=`$PKG_CONFIG --libs "xft" 2>/dev/null` - test "x$?" != "x0" && pkg_failed=yes -else - pkg_failed=yes -fi - else - pkg_failed=untried -fi - - - -if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then - _pkg_short_errors_supported=yes -else - _pkg_short_errors_supported=no -fi - if test $_pkg_short_errors_supported = yes; then - XFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xft" 2>&1` - else - XFT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xft" 2>&1` - fi - # Put the nasty error message in config.log where it belongs - echo "$XFT_PKG_ERRORS" >&5 - - xft_ok=no -elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - xft_ok=no -else - XFT_CFLAGS=$pkg_cv_XFT_CFLAGS - XFT_LIBS=$pkg_cv_XFT_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - xft_ok=yes -fi - if test "x$xft_ok" != "xyes"; then - ac_fn_cxx_check_header_mongrel "$LINENO" "X11/Xft/Xft.h" "ac_cv_header_X11_Xft_Xft_h" "$ac_includes_default" -if test "x$ac_cv_header_X11_Xft_Xft_h" = xyes; then : - xft_ok=yes -else - xft_ok=no -fi - - - if test "x$xft_ok" != "xyes"; then - if test "x$with_xft" = "xyes"; then - as_fn_error $? "--with-xft was specified, but appropriate development packages could not be found" "$LINENO" 5 - fi - else - XFT_LIBS="-L/usr/X11R6/lib -lXft " - fi - fi - fi -else - xft_ok=no -fi - - - - - if test "x$xft_ok" = "xyes"; then - USE_XFT_TRUE= - USE_XFT_FALSE='#' -else - USE_XFT_TRUE='#' - USE_XFT_FALSE= -fi - -if test "x$xft_ok" = "xyes"; then - -$as_echo "#define WITH_XFT 1" >>confdefs.h - -fi - - -if test "x$xft_ok" = "xyes"; then - -pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOFT2" >&5 -$as_echo_n "checking for PANGOFT2... " >&6; } - -if test -n "$PANGOFT2_CFLAGS"; then - pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5 - ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null` - test "x$?" != "x0" && pkg_failed=yes -else - pkg_failed=yes -fi - else - pkg_failed=untried -fi -if test -n "$PANGOFT2_LIBS"; then - pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5 - ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null` - test "x$?" != "x0" && pkg_failed=yes -else - pkg_failed=yes -fi - else - pkg_failed=untried -fi - - - -if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then - _pkg_short_errors_supported=yes -else - _pkg_short_errors_supported=no -fi - if test $_pkg_short_errors_supported = yes; then - PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pangoft2" 2>&1` - else - PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pangoft2" 2>&1` - fi - # Put the nasty error message in config.log where it belongs - echo "$PANGOFT2_PKG_ERRORS" >&5 - - pango_ok=no -elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - pango_ok=no -else - PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS - PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - pango_ok=yes -fi - if test "x$pango_ok" = "xyes"; then - XFT_LIBS="$XFT_LIBS $PANGOFT2_LIBS" - fi -fi - - - - -# Check whether --with-gnome-vfs was given. -if test "${with_gnome_vfs+set}" = set; then : - withval=$with_gnome_vfs; with_gnome_vfs=$withval -else - with_gnome_vfs=auto -fi - - -if test "x$with_gnome_vfs" = "xno"; then - gnome_vfs=no -else - -pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOME_VFS" >&5 $as_echo_n "checking for GNOME_VFS... " >&6; } @@ -9798,8 +9598,94 @@ if test "x$enable_lcms" = "xno"; then - lcms=no -else + # Asked to ignore LittleCms + lcms=no + have_lcms2=no +else + # Have to test LittleCms presence + if test "x${platform_osx}" != "xyes"; then + # lcms 2.2 & 2.3 have problems on OSX + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LCMS2" >&5 +$as_echo_n "checking for LCMS2... " >&6; } + +if test -n "$LCMS2_CFLAGS"; then + pkg_cv_LCMS2_CFLAGS="$LCMS2_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lcms2\""; } >&5 + ($PKG_CONFIG --exists --print-errors "lcms2") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_LCMS2_CFLAGS=`$PKG_CONFIG --cflags "lcms2" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$LCMS2_LIBS"; then + pkg_cv_LCMS2_LIBS="$LCMS2_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lcms2\""; } >&5 + ($PKG_CONFIG --exists --print-errors "lcms2") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_LCMS2_LIBS=`$PKG_CONFIG --libs "lcms2" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + LCMS2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lcms2" 2>&1` + else + LCMS2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lcms2" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$LCMS2_PKG_ERRORS" >&5 + + have_lcms2="no" +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + have_lcms2="no" +else + LCMS2_CFLAGS=$pkg_cv_LCMS2_CFLAGS + LCMS2_LIBS=$pkg_cv_LCMS2_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + have_lcms2="yes" +fi + fi + + if test "x${have_lcms2}" = "xyes"; then + LIBS="$LIBS $LCMS2_LIBS" + +$as_echo "#define HAVE_LIBLCMS2 1" >>confdefs.h + + + + else pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LCMS" >&5 @@ -9871,26 +9757,21 @@ $as_echo "yes" >&6; } lcms=yes fi - if test "x$lcms" != "xyes"; then - if test "x$enable_lcms" = "xyes"; then - as_fn_error $? "--enable-lcms was specified, but appropriate LittleCms development packages could not be found" "$LINENO" 5 - else - # lcms is no, tell us for the log file - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lcms" >&5 -$as_echo "$lcms" >&6; } - fi - else - LIBS="$LIBS $LCMS_LIBS" - -$as_echo "#define ENABLE_LCMS 1" >>confdefs.h - - fi + if test "x$lcms" = "xyes"; then + LIBS="$LIBS $LCMS_LIBS" + +$as_echo "#define HAVE_LIBLCMS1 1" >>confdefs.h + + + + else + # No lcms found. LittleCms was explicitly asked for, so stop + as_fn_error $? "--enable-lcms was specified, but appropriate LittleCms development packages could not be found" "$LINENO" 5 + fi + fi fi - - - # Check whether --enable-poppler-cairo was given. if test "${enable_poppler_cairo+set}" = set; then : enableval=$enable_poppler_cairo; enable_poppler_cairo=$enableval @@ -10841,6 +10722,172 @@ fi + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKMM_2_24" >&5 +$as_echo_n "checking for GTKMM_2_24... " >&6; } + +if test -n "$GTKMM_2_24_CFLAGS"; then + pkg_cv_GTKMM_2_24_CFLAGS="$GTKMM_2_24_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtkmm-2.4 >= 2.24\""; } >&5 + ($PKG_CONFIG --exists --print-errors "gtkmm-2.4 >= 2.24") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_GTKMM_2_24_CFLAGS=`$PKG_CONFIG --cflags "gtkmm-2.4 >= 2.24" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$GTKMM_2_24_LIBS"; then + pkg_cv_GTKMM_2_24_LIBS="$GTKMM_2_24_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtkmm-2.4 >= 2.24\""; } >&5 + ($PKG_CONFIG --exists --print-errors "gtkmm-2.4 >= 2.24") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_GTKMM_2_24_LIBS=`$PKG_CONFIG --libs "gtkmm-2.4 >= 2.24" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + GTKMM_2_24_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtkmm-2.4 >= 2.24" 2>&1` + else + GTKMM_2_24_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtkmm-2.4 >= 2.24" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$GTKMM_2_24_PKG_ERRORS" >&5 + + with_gtkmm_2_24=no +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + with_gtkmm_2_24=no +else + GTKMM_2_24_CFLAGS=$pkg_cv_GTKMM_2_24_CFLAGS + GTKMM_2_24_LIBS=$pkg_cv_GTKMM_2_24_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + with_gtkmm_2_24=yes +fi +if test "x$with_gtkmm_2_24" = "xyes"; then + +$as_echo "#define WITH_GTKMM_2_24 1" >>confdefs.h + +fi + + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKMM_2_22" >&5 +$as_echo_n "checking for GTKMM_2_22... " >&6; } + +if test -n "$GTKMM_2_22_CFLAGS"; then + pkg_cv_GTKMM_2_22_CFLAGS="$GTKMM_2_22_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtkmm-2.4 >= 2.22\""; } >&5 + ($PKG_CONFIG --exists --print-errors "gtkmm-2.4 >= 2.22") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_GTKMM_2_22_CFLAGS=`$PKG_CONFIG --cflags "gtkmm-2.4 >= 2.22" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$GTKMM_2_22_LIBS"; then + pkg_cv_GTKMM_2_22_LIBS="$GTKMM_2_22_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtkmm-2.4 >= 2.22\""; } >&5 + ($PKG_CONFIG --exists --print-errors "gtkmm-2.4 >= 2.22") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_GTKMM_2_22_LIBS=`$PKG_CONFIG --libs "gtkmm-2.4 >= 2.22" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + GTKMM_2_22_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtkmm-2.4 >= 2.22" 2>&1` + else + GTKMM_2_22_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtkmm-2.4 >= 2.22" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$GTKMM_2_22_PKG_ERRORS" >&5 + + with_gtkmm_2_22=no +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + with_gtkmm_2_22=no +else + GTKMM_2_22_CFLAGS=$pkg_cv_GTKMM_2_22_CFLAGS + GTKMM_2_22_LIBS=$pkg_cv_GTKMM_2_22_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + with_gtkmm_2_22=yes +fi +if test "x$with_gtkmm_2_22" = "xyes"; then + +$as_echo "#define WITH_GTKMM_2_22 1" >>confdefs.h + +fi + +# Check for GTK+ backend target +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ backend target" >&5 +$as_echo_n "checking for GTK+ backend target... " >&6; } +gtk_backend_target=`pkg-config --variable=target gtk+-2.0` +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gtk_backend_target" >&5 +$as_echo "$gtk_backend_target" >&6; } + +# Add X11 library if needed +if test "x$gtk_backend_target" = "xx11"; then + INKSCAPE_LIBS="$INKSCAPE_LIBS -lX11" +fi + # Check for Apple Mac OS X Carbon framework carbon_ok=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Mac OS X Carbon support" >&5 @@ -10967,7 +11014,7 @@ fi -INKSCAPE_LIBS="$INKSCAPE_LIBS -lpng -lz -lX11 -lxml2 -ldl" +INKSCAPE_LIBS="$INKSCAPE_LIBS -lpng -lz -lxml2 -ldl" if test "x$openmp_ok" = "xyes"; then INKSCAPE_LIBS="$INKSCAPE_LIBS -lgomp" fi @@ -12119,10 +12166,6 @@ as_fn_error $? "conditional \"PLATFORM_SOLARIS\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi -if test -z "${USE_XFT_TRUE}" && test -z "${USE_XFT_FALSE}"; then - as_fn_error $? "conditional \"USE_XFT\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi if test -z "${USE_GNOME_VFS_TRUE}" && test -z "${USE_GNOME_VFS_FALSE}"; then as_fn_error $? "conditional \"USE_GNOME_VFS\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 @@ -12569,7 +12612,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by inkscape $as_me 0.48.2, which was +This file was extended by inkscape $as_me 0.48.3, which was generated by GNU Autoconf 2.68. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -12635,7 +12678,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -inkscape config.status 0.48.2 +inkscape config.status 0.48.3 configured by $0, generated by GNU Autoconf 2.68, with options \\"\$ac_cs_config\\" @@ -13603,7 +13646,6 @@ CFLAGS: ${CFLAGS} LDFLAGS: ${LDFLAGS} - Use Xft font database: ${xft_ok} Use gnome-vfs: ${gnome_vfs} Use openoffice files: ${ij} Use relocation support: ${enable_binreloc} @@ -13613,4 +13655,5 @@ Enable Poppler-Cairo: ${enable_poppler_cairo} ImageMagick Magick++: ${magick_ok} Libwpg: ${with_libwpg} + GTK+ backend target: ${gtk_backend_target} " === modified file 'configure.ac' --- configure.ac 2011-07-10 11:35:30 +0000 +++ configure.ac 2012-02-16 12:59:31 +0000 @@ -7,7 +7,7 @@ # `dpkg --compare-versions'. (ii) We don't always know what the next # version is going to be called until about the time we release it # (whereas we always know what the previous version was called). -AC_INIT(inkscape, 0.48.2) +AC_INIT(inkscape, 0.48.3) AC_CANONICAL_HOST AC_CONFIG_SRCDIR([src/main.cpp]) @@ -53,6 +53,8 @@ CPPFLAGS="-Wformat -Wformat-security $CPPFLAGS" # Enable all default warnings CPPFLAGS="-Wall $CPPFLAGS" + # Enforce including only (required since 2.31) + CPPFLAGS="-DG_DISABLE_SINGLE_INCLUDES $CPPFLAGS" # Test for -Werror=... (introduced some time post-4.0) # If we hit a format error -- it should be fatal. @@ -341,60 +343,6 @@ AM_CONDITIONAL(PLATFORM_SOLARIS, test "$platform_solaris" = "yes") dnl ****************************** -dnl Xft checking -dnl ****************************** - -AC_ARG_WITH(xft, - AC_HELP_STRING([--with-xft], [use xft scalable font database (default is auto)]), - [with_xft=$withval], [with_xft=auto]) - -if test "x$with_xft" != "xno" ; then - dnl Test fontconfig package - PKG_CHECK_MODULES(XFT, fontconfig, xft_ok=yes, xft_ok=no) - if test "x$xft_ok" != "xyes"; then - dnl test xft package - PKG_CHECK_MODULES(XFT, xft, xft_ok=yes, xft_ok=no) - if test "x$xft_ok" != "xyes"; then - dnl Have to test xft presence - AC_CHECK_HEADER(X11/Xft/Xft.h, xft_ok=yes, xft_ok=no) - if test "x$xft_ok" != "xyes"; then - dnl No xft found - if test "x$with_xft" = "xyes"; then - dnl Xft was explicitly asked, so stop - AC_MSG_ERROR([--with-xft was specified, but appropriate development packages could not be found]) - fi - else - dnl Working Xft1 - XFT_LIBS="-L/usr/X11R6/lib -lXft " - fi - fi - fi -else - dnl Asked to ignore xft - xft_ok=no -fi - -AC_SUBST(XFT_CFLAGS) -AC_SUBST(XFT_LIBS) - -AM_CONDITIONAL(USE_XFT, test "x$xft_ok" = "xyes") -if test "x$xft_ok" = "xyes"; then - AC_DEFINE(WITH_XFT, 1, [Use Xft font database]) -fi - -dnl ****************************** -dnl pangoft2 for xft -dnl ****************************** - -if test "x$xft_ok" = "xyes"; then - PKG_CHECK_MODULES(PANGOFT2, pangoft2, pango_ok=yes, pango_ok=no) - if test "x$pango_ok" = "xyes"; then - XFT_LIBS="$XFT_LIBS $PANGOFT2_LIBS" - fi -fi - - -dnl ****************************** dnl gnome vfs checking dnl ****************************** @@ -546,30 +494,35 @@ [enable_lcms=$enableval], [enable_lcms=yes]) if test "x$enable_lcms" = "xno"; then - dnl Asked to ignore LittleCms - lcms=no + # Asked to ignore LittleCms + lcms=no + have_lcms2=no else - dnl Have to test LittleCms presence - PKG_CHECK_MODULES(LCMS, lcms >= 1.13, lcms=yes, lcms=no) - if test "x$lcms" != "xyes"; then - dnl No lcms found - if test "x$enable_lcms" = "xyes"; then - dnl LittleCms was explicitly asked for, so stop - AC_MSG_ERROR([--enable-lcms was specified, but appropriate LittleCms development packages could not be found]) - else - # lcms is no, tell us for the log file - AC_MSG_RESULT($lcms) - fi - else - dnl Working lcms - LIBS="$LIBS $LCMS_LIBS" - AC_DEFINE(ENABLE_LCMS, 1, [Use LittleCms color management]) - fi + # Have to test LittleCms presence + if test "x${platform_osx}" != "xyes"; then + # lcms 2.2 & 2.3 have problems on OSX + PKG_CHECK_MODULES(LCMS2, lcms2, have_lcms2="yes", have_lcms2="no") + fi + + if test "x${have_lcms2}" = "xyes"; then + LIBS="$LIBS $LCMS2_LIBS" + AC_DEFINE(HAVE_LIBLCMS2, 1, [define to 1 if you have lcms version 2.x]) + AC_SUBST(LCMS2_CFLAGS) + AC_SUBST(LCMS2_LIBS) + else + PKG_CHECK_MODULES(LCMS, lcms >= 1.13, lcms=yes, lcms=no) + if test "x$lcms" = "xyes"; then + LIBS="$LIBS $LCMS_LIBS" + AC_DEFINE(HAVE_LIBLCMS1, 1, [define to 1 if you have lcms version 1.x]) + AC_SUBST(LCMS_CFLAGS) + AC_SUBST(LCMS_LIBS) + else + # No lcms found. LittleCms was explicitly asked for, so stop + AC_MSG_ERROR([--enable-lcms was specified, but appropriate LittleCms development packages could not be found]) + fi + fi fi -AC_SUBST(LCMS_CFLAGS) -AC_SUBST(LCMS_LIBS) - dnl ****************************** dnl Libpoppler checking dnl ****************************** @@ -771,6 +724,28 @@ fi PKG_CHECK_MODULES(INKSCAPE, gdkmm-2.4 glibmm-2.4 giomm-2.4 gtkmm-2.4 >= 2.10.0 gtk+-2.0 libxml-2.0 >= 2.6.11 libxslt >= 1.0.15 cairo sigc++-2.0 >= $min_sigc_version $ink_spell_pkg gthread-2.0 >= 2.0 libpng >= 1.2 gsl) +dnl gtkmm provides no preprocessor macros for easily checking versions. This check is used +dnl to figure out if we are working with the newer 2.24 series or not. +PKG_CHECK_MODULES(GTKMM_2_24, gtkmm-2.4 >= 2.24, with_gtkmm_2_24=yes, with_gtkmm_2_24=no) +if test "x$with_gtkmm_2_24" = "xyes"; then + AC_DEFINE(WITH_GTKMM_2_24,1,[Build with Gtkmm 2.24.x]) +fi + +PKG_CHECK_MODULES(GTKMM_2_22, gtkmm-2.4 >= 2.22, with_gtkmm_2_22=yes, with_gtkmm_2_22=no) +if test "x$with_gtkmm_2_22" = "xyes"; then + AC_DEFINE(WITH_GTKMM_2_22,1,[Build with Gtkmm 2.22.x]) +fi + +# Check for GTK+ backend target +AC_MSG_CHECKING([for GTK+ backend target]) +gtk_backend_target=`pkg-config --variable=target gtk+-2.0` +AC_MSG_RESULT($gtk_backend_target) + +# Add X11 library if needed +if test "x$gtk_backend_target" = "xx11"; then + INKSCAPE_LIBS="$INKSCAPE_LIBS -lX11" +fi + # Check for Apple Mac OS X Carbon framework carbon_ok=no AC_MSG_CHECKING([for Mac OS X Carbon support]) @@ -795,7 +770,7 @@ fi dnl Shouldn't we test for libpng and libz? -INKSCAPE_LIBS="$INKSCAPE_LIBS -lpng -lz -lX11 -lxml2 -ldl" +INKSCAPE_LIBS="$INKSCAPE_LIBS -lpng -lz -lxml2 -ldl" if test "x$openmp_ok" = "xyes"; then INKSCAPE_LIBS="$INKSCAPE_LIBS -lgomp" fi @@ -1067,7 +1042,6 @@ CFLAGS: ${CFLAGS} LDFLAGS: ${LDFLAGS} - Use Xft font database: ${xft_ok} Use gnome-vfs: ${gnome_vfs} Use openoffice files: ${ij} Use relocation support: ${enable_binreloc} @@ -1077,4 +1051,5 @@ Enable Poppler-Cairo: ${enable_poppler_cairo} ImageMagick Magick++: ${magick_ok} Libwpg: ${with_libwpg} + GTK+ backend target: ${gtk_backend_target} " === modified file 'debian/changelog' --- debian/changelog 2011-12-06 09:12:37 +0000 +++ debian/changelog 2012-02-16 14:35:03 +0000 @@ -1,3 +1,24 @@ +inkscape (0.48.3-0ubuntu1) precise; urgency=low + + * New upstream release (LP: #933188). Fixes several Ubuntu bugs: + - inkscape fails to build with glib 2.31 (LP: #898538) + - ctrl c ctrl v of text in edit mode crashes inkscape (LP: #496793) + - Completely replace lcms1 by lcms2 in Ubuntu (LP: #885324) + - parameters ending with '\' causes python to bomb (LP: #168417) + - Extensions with tags fail to load (LP: #668895) + - ESC doesn't cancel move when using the Node Tool (LP: #788560) + - unable to edit attributes in Inkscape XML Editor (LP: #884368) + - Some layers should be visible by default in Layers dialog (LP: #902054) + - Path Effect List is hidden (LP: #909958) + - Input Devices > Hardware > Tree of devices is hidden (LP: #910467) + - Glyphs Font styles are hidden (LP: #911079) + - Error messages from Extensions hidden (LP: #911079) + - Messages dialog doesn't work (LP: #911123) + * Drop 02-add-shebangs-and-fix-permissions.dpatch: Applied upstream. + * Drop build-dependency on specific libwpd/libwpg version. + + -- Alex Valavanis Thu, 16 Feb 2012 14:33:40 +0000 + inkscape (0.48.2-0ubuntu4) precise; urgency=low * No-change rebuild against libpoppler19. === modified file 'debian/control' --- debian/control 2011-05-30 17:02:03 +0000 +++ debian/control 2012-02-16 14:31:50 +0000 @@ -30,8 +30,8 @@ libpopt-dev, libsigc++-2.0-dev (>= 2.0.16-2), libtool, - libwpd-dev (>= 0.9.0), - libwpg-dev (>= 0.2.0), + libwpd-dev, + libwpg-dev, libxml-parser-perl, libxml2-dev (>= 2-2.4.24), libxslt1-dev, === modified file 'debian/patches/00list' --- debian/patches/00list 2011-07-10 11:35:30 +0000 +++ debian/patches/00list 2012-02-16 12:59:31 +0000 @@ -1,3 +1,2 @@ -02-add-shebangs-and-fix-permissions 01_add_unity_quicklist_support.patch fix-datamatrix-ui.dpatch === removed file 'debian/patches/02-add-shebangs-and-fix-permissions.dpatch' --- debian/patches/02-add-shebangs-and-fix-permissions.dpatch 2011-06-01 18:05:51 +0000 +++ debian/patches/02-add-shebangs-and-fix-permissions.dpatch 1970-01-01 00:00:00 +0000 @@ -1,478 +0,0 @@ -#! /bin/sh /usr/share/dpatch/dpatch-run -## 02-add-shebangs-and-fix-permissions.dpatch by -## -## All lines beginning with `## DP:' are a description of the patch. -## DP: Patch to fix permissions and add missing shebang-lines in scripts. -## DP: Taken from upstream's Bug tracker at -## DP: https://bugs.launchpad.net/inkscape/+bug/602005 -## DP: original patch by Leo Jackson -## DP: 2011-05-30: Modified by Alex Valavanis : -## DP: * Do not add shebangs to JavaScript files. They cannot be run as -## DP: standalone scripts. -## DP: * Install JavaScript files using _DATA rule rather than _SCRIPTS -## DP: rule to avoid making them executable. - -@DPATCH@ -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' inkscape_0.48.1-2ubuntu5~/share/extensions/Barcode/Base.py inkscape_0.48.1-2ubuntu5/share/extensions/Barcode/Base.py ---- inkscape_0.48.1-2ubuntu5~/share/extensions/Barcode/Base.py 2011-05-30 17:38:10.000000000 +0100 -+++ inkscape_0.48.1-2ubuntu5/share/extensions/Barcode/Base.py 2011-05-30 17:43:57.893386425 +0100 -@@ -1,3 +1,4 @@ -+#!/usr/bin/env python - ''' - Copyright (C) 2007 Martin Owens - -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' inkscape_0.48.1-2ubuntu5~/share/extensions/Barcode/Code128.py inkscape_0.48.1-2ubuntu5/share/extensions/Barcode/Code128.py ---- inkscape_0.48.1-2ubuntu5~/share/extensions/Barcode/Code128.py 2011-05-30 17:38:10.000000000 +0100 -+++ inkscape_0.48.1-2ubuntu5/share/extensions/Barcode/Code128.py 2011-05-30 17:43:57.893386425 +0100 -@@ -1,3 +1,4 @@ -+#!/usr/bin/env python - ''' - Copyright (C) 2007 Martin Owens - -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' inkscape_0.48.1-2ubuntu5~/share/extensions/Barcode/Code39.py inkscape_0.48.1-2ubuntu5/share/extensions/Barcode/Code39.py ---- inkscape_0.48.1-2ubuntu5~/share/extensions/Barcode/Code39.py 2011-05-30 17:38:10.000000000 +0100 -+++ inkscape_0.48.1-2ubuntu5/share/extensions/Barcode/Code39.py 2011-05-30 17:43:57.893386425 +0100 -@@ -1,3 +1,4 @@ -+#!/usr/bin/env python - ''' - Copyright (C) 2007 Martin Owens - -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' inkscape_0.48.1-2ubuntu5~/share/extensions/Barcode/Code39Ext.py inkscape_0.48.1-2ubuntu5/share/extensions/Barcode/Code39Ext.py ---- inkscape_0.48.1-2ubuntu5~/share/extensions/Barcode/Code39Ext.py 2011-05-30 17:38:10.000000000 +0100 -+++ inkscape_0.48.1-2ubuntu5/share/extensions/Barcode/Code39Ext.py 2011-05-30 17:43:57.893386425 +0100 -@@ -1,3 +1,4 @@ -+#!/usr/bin/env python - ''' - Copyright (C) 2007 Martin Owens - -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' inkscape_0.48.1-2ubuntu5~/share/extensions/Barcode/Code93.py inkscape_0.48.1-2ubuntu5/share/extensions/Barcode/Code93.py ---- inkscape_0.48.1-2ubuntu5~/share/extensions/Barcode/Code93.py 2011-05-30 17:38:10.000000000 +0100 -+++ inkscape_0.48.1-2ubuntu5/share/extensions/Barcode/Code93.py 2011-05-30 17:43:57.893386425 +0100 -@@ -1,3 +1,4 @@ -+#!/usr/bin/env python - ''' - Copyright (C) 2007 Martin Owens - -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' inkscape_0.48.1-2ubuntu5~/share/extensions/Barcode/EAN13.py inkscape_0.48.1-2ubuntu5/share/extensions/Barcode/EAN13.py ---- inkscape_0.48.1-2ubuntu5~/share/extensions/Barcode/EAN13.py 2011-05-30 17:38:10.000000000 +0100 -+++ inkscape_0.48.1-2ubuntu5/share/extensions/Barcode/EAN13.py 2011-05-30 17:43:57.893386425 +0100 -@@ -1,3 +1,4 @@ -+#!/usr/bin/env python - ''' - Copyright (C) 2007 Martin Owens - -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' inkscape_0.48.1-2ubuntu5~/share/extensions/Barcode/EAN5.py inkscape_0.48.1-2ubuntu5/share/extensions/Barcode/EAN5.py ---- inkscape_0.48.1-2ubuntu5~/share/extensions/Barcode/EAN5.py 2011-05-30 17:38:10.000000000 +0100 -+++ inkscape_0.48.1-2ubuntu5/share/extensions/Barcode/EAN5.py 2011-05-30 17:43:57.893386425 +0100 -@@ -1,3 +1,4 @@ -+#!/usr/bin/env python - ''' - Copyright (C) 2007 Martin Owens - Copyright (C) 2009 Aaron C Spike -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' inkscape_0.48.1-2ubuntu5~/share/extensions/Barcode/EAN8.py inkscape_0.48.1-2ubuntu5/share/extensions/Barcode/EAN8.py ---- inkscape_0.48.1-2ubuntu5~/share/extensions/Barcode/EAN8.py 2011-05-30 17:38:10.000000000 +0100 -+++ inkscape_0.48.1-2ubuntu5/share/extensions/Barcode/EAN8.py 2011-05-30 17:43:57.893386425 +0100 -@@ -1,3 +1,4 @@ -+#!/usr/bin/env python - ''' - Copyright (C) 2007 Martin Owens - -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' inkscape_0.48.1-2ubuntu5~/share/extensions/Barcode/RM4CC.py inkscape_0.48.1-2ubuntu5/share/extensions/Barcode/RM4CC.py ---- inkscape_0.48.1-2ubuntu5~/share/extensions/Barcode/RM4CC.py 2011-05-30 17:38:10.000000000 +0100 -+++ inkscape_0.48.1-2ubuntu5/share/extensions/Barcode/RM4CC.py 2011-05-30 17:43:57.893386425 +0100 -@@ -1,3 +1,4 @@ -+#!/usr/bin/env python - ''' - Copyright (C) 2007 Martin Owens - -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' inkscape_0.48.1-2ubuntu5~/share/extensions/Barcode/UPCA.py inkscape_0.48.1-2ubuntu5/share/extensions/Barcode/UPCA.py ---- inkscape_0.48.1-2ubuntu5~/share/extensions/Barcode/UPCA.py 2011-05-30 17:38:10.000000000 +0100 -+++ inkscape_0.48.1-2ubuntu5/share/extensions/Barcode/UPCA.py 2011-05-30 17:43:57.893386425 +0100 -@@ -1,3 +1,4 @@ -+#!/usr/bin/env python - ''' - Copyright (C) 2007 Martin Owens - -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' inkscape_0.48.1-2ubuntu5~/share/extensions/Barcode/UPCE.py inkscape_0.48.1-2ubuntu5/share/extensions/Barcode/UPCE.py ---- inkscape_0.48.1-2ubuntu5~/share/extensions/Barcode/UPCE.py 2011-05-30 17:38:10.000000000 +0100 -+++ inkscape_0.48.1-2ubuntu5/share/extensions/Barcode/UPCE.py 2011-05-30 17:43:57.893386425 +0100 -@@ -1,3 +1,4 @@ -+#!/usr/bin/env python - ''' - Copyright (C) 2007 Martin Owens - -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' inkscape_0.48.1-2ubuntu5~/share/extensions/Barcode/__init__.py inkscape_0.48.1-2ubuntu5/share/extensions/Barcode/__init__.py ---- inkscape_0.48.1-2ubuntu5~/share/extensions/Barcode/__init__.py 2011-05-30 17:38:10.000000000 +0100 -+++ inkscape_0.48.1-2ubuntu5/share/extensions/Barcode/__init__.py 2011-05-30 17:43:57.893386425 +0100 -@@ -1,4 +1,4 @@ -- -+#!/usr/bin/env python - ''' - Barcodes SVG Extention - -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' inkscape_0.48.1-2ubuntu5~/share/extensions/Makefile.am inkscape_0.48.1-2ubuntu5/share/extensions/Makefile.am ---- inkscape_0.48.1-2ubuntu5~/share/extensions/Makefile.am 2011-05-30 17:38:10.000000000 +0100 -+++ inkscape_0.48.1-2ubuntu5/share/extensions/Makefile.am 2011-05-30 17:46:40.853386475 +0100 -@@ -73,13 +73,9 @@ - inkex.py \ - Inkscape.pm \ - inkwebeffect.py \ -- inkweb.js \ - interp.py \ - interp_att_g.py \ -- jessyInk.js \ - jessyInk_autoTexts.py \ -- jessyInk_core_mouseHandler_noclick.js \ -- jessyInk_core_mouseHandler_zoomControl.js \ - jessyInk_effects.py \ - jessyInk_export.py \ - jessyInk_install.py \ -@@ -161,6 +157,10 @@ - yocto_css.py - - otherstuff = \ -+ inkweb.js \ -+ jessyInk.js \ -+ jessyInk_core_mouseHandler_noclick.js \ -+ jessyInk_core_mouseHandler_zoomControl.js \ - aisvg.xslt \ - colors.xml \ - jessyInk_video.svg \ -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' inkscape_0.48.1-2ubuntu5~/share/extensions/SpSVG.pm inkscape_0.48.1-2ubuntu5/share/extensions/SpSVG.pm ---- inkscape_0.48.1-2ubuntu5~/share/extensions/SpSVG.pm 2011-05-30 17:38:10.000000000 +0100 -+++ inkscape_0.48.1-2ubuntu5/share/extensions/SpSVG.pm 2011-05-30 17:43:57.893386425 +0100 -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -w -+#!/usr/bin/env perl -w - # - # SpSVG - # -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' inkscape_0.48.1-2ubuntu5~/share/extensions/color_blackandwhite.py inkscape_0.48.1-2ubuntu5/share/extensions/color_blackandwhite.py ---- inkscape_0.48.1-2ubuntu5~/share/extensions/color_blackandwhite.py 2011-05-30 17:38:10.000000000 +0100 -+++ inkscape_0.48.1-2ubuntu5/share/extensions/color_blackandwhite.py 2011-05-30 17:43:57.893386425 +0100 -@@ -1,3 +1,4 @@ -+#!/usr/bin/env python - import coloreffect,sys - - class C(coloreffect.ColorEffect): -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' inkscape_0.48.1-2ubuntu5~/share/extensions/color_brighter.py inkscape_0.48.1-2ubuntu5/share/extensions/color_brighter.py ---- inkscape_0.48.1-2ubuntu5~/share/extensions/color_brighter.py 2011-05-30 17:38:10.000000000 +0100 -+++ inkscape_0.48.1-2ubuntu5/share/extensions/color_brighter.py 2011-05-30 17:43:57.893386425 +0100 -@@ -1,3 +1,4 @@ -+#!/usr/bin/env python - import coloreffect - - class C(coloreffect.ColorEffect): -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' inkscape_0.48.1-2ubuntu5~/share/extensions/color_custom.py inkscape_0.48.1-2ubuntu5/share/extensions/color_custom.py ---- inkscape_0.48.1-2ubuntu5~/share/extensions/color_custom.py 2011-05-30 17:38:10.000000000 +0100 -+++ inkscape_0.48.1-2ubuntu5/share/extensions/color_custom.py 2011-05-30 17:43:57.893386425 +0100 -@@ -1,3 +1,4 @@ -+#!/usr/bin/env python - import coloreffect - - class C(coloreffect.ColorEffect): -@@ -22,4 +23,4 @@ - return '%02x%02x%02x' % (int(round(r2*255)),int(round(g2*255)),int(round(b2*255))) - - c = C() --c.affect() -\ No newline at end of file -+c.affect() -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' inkscape_0.48.1-2ubuntu5~/share/extensions/color_darker.py inkscape_0.48.1-2ubuntu5/share/extensions/color_darker.py ---- inkscape_0.48.1-2ubuntu5~/share/extensions/color_darker.py 2011-05-30 17:38:10.000000000 +0100 -+++ inkscape_0.48.1-2ubuntu5/share/extensions/color_darker.py 2011-05-30 17:43:57.893386425 +0100 -@@ -1,3 +1,4 @@ -+#!/usr/bin/env python - import coloreffect - - class C(coloreffect.ColorEffect): -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' inkscape_0.48.1-2ubuntu5~/share/extensions/color_desaturate.py inkscape_0.48.1-2ubuntu5/share/extensions/color_desaturate.py ---- inkscape_0.48.1-2ubuntu5~/share/extensions/color_desaturate.py 2011-05-30 17:38:10.000000000 +0100 -+++ inkscape_0.48.1-2ubuntu5/share/extensions/color_desaturate.py 2011-05-30 17:43:57.893386425 +0100 -@@ -1,3 +1,4 @@ -+#!/usr/bin/env python - import coloreffect - - class C(coloreffect.ColorEffect): -@@ -7,4 +8,4 @@ - return '%02x%02x%02x' % (ig,ig,ig) - - c = C() --c.affect() -\ No newline at end of file -+c.affect() -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' inkscape_0.48.1-2ubuntu5~/share/extensions/color_grayscale.py inkscape_0.48.1-2ubuntu5/share/extensions/color_grayscale.py ---- inkscape_0.48.1-2ubuntu5~/share/extensions/color_grayscale.py 2011-05-30 17:38:10.000000000 +0100 -+++ inkscape_0.48.1-2ubuntu5/share/extensions/color_grayscale.py 2011-05-30 17:43:57.893386425 +0100 -@@ -1,3 +1,4 @@ -+#!/usr/bin/env python - import coloreffect - - class C(coloreffect.ColorEffect): -@@ -11,4 +12,4 @@ - return '%02x%02x%02x' % (ig,ig,ig) - - c = C() --c.affect() -\ No newline at end of file -+c.affect() -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' inkscape_0.48.1-2ubuntu5~/share/extensions/color_lesshue.py inkscape_0.48.1-2ubuntu5/share/extensions/color_lesshue.py ---- inkscape_0.48.1-2ubuntu5~/share/extensions/color_lesshue.py 2011-05-30 17:38:10.000000000 +0100 -+++ inkscape_0.48.1-2ubuntu5/share/extensions/color_lesshue.py 2011-05-30 17:43:57.903386425 +0100 -@@ -1,3 +1,4 @@ -+#!/usr/bin/env python - import coloreffect, inkex - - class C(coloreffect.ColorEffect): -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' inkscape_0.48.1-2ubuntu5~/share/extensions/color_lesslight.py inkscape_0.48.1-2ubuntu5/share/extensions/color_lesslight.py ---- inkscape_0.48.1-2ubuntu5~/share/extensions/color_lesslight.py 2011-05-30 17:38:10.000000000 +0100 -+++ inkscape_0.48.1-2ubuntu5/share/extensions/color_lesslight.py 2011-05-30 17:43:57.903386425 +0100 -@@ -1,3 +1,4 @@ -+#!/usr/bin/env python - import coloreffect, inkex - - class C(coloreffect.ColorEffect): -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' inkscape_0.48.1-2ubuntu5~/share/extensions/color_lesssaturation.py inkscape_0.48.1-2ubuntu5/share/extensions/color_lesssaturation.py ---- inkscape_0.48.1-2ubuntu5~/share/extensions/color_lesssaturation.py 2011-05-30 17:38:10.000000000 +0100 -+++ inkscape_0.48.1-2ubuntu5/share/extensions/color_lesssaturation.py 2011-05-30 17:43:57.903386425 +0100 -@@ -1,3 +1,4 @@ -+#!/usr/bin/env python - import coloreffect, inkex - - class C(coloreffect.ColorEffect): -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' inkscape_0.48.1-2ubuntu5~/share/extensions/color_morehue.py inkscape_0.48.1-2ubuntu5/share/extensions/color_morehue.py ---- inkscape_0.48.1-2ubuntu5~/share/extensions/color_morehue.py 2011-05-30 17:38:10.000000000 +0100 -+++ inkscape_0.48.1-2ubuntu5/share/extensions/color_morehue.py 2011-05-30 17:43:57.903386425 +0100 -@@ -1,3 +1,4 @@ -+#!/usr/bin/env python - import coloreffect, inkex - - class C(coloreffect.ColorEffect): -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' inkscape_0.48.1-2ubuntu5~/share/extensions/color_morelight.py inkscape_0.48.1-2ubuntu5/share/extensions/color_morelight.py ---- inkscape_0.48.1-2ubuntu5~/share/extensions/color_morelight.py 2011-05-30 17:38:10.000000000 +0100 -+++ inkscape_0.48.1-2ubuntu5/share/extensions/color_morelight.py 2011-05-30 17:43:57.903386425 +0100 -@@ -1,3 +1,4 @@ -+#!/usr/bin/env python - import coloreffect, inkex - - class C(coloreffect.ColorEffect): -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' inkscape_0.48.1-2ubuntu5~/share/extensions/color_moresaturation.py inkscape_0.48.1-2ubuntu5/share/extensions/color_moresaturation.py ---- inkscape_0.48.1-2ubuntu5~/share/extensions/color_moresaturation.py 2011-05-30 17:38:10.000000000 +0100 -+++ inkscape_0.48.1-2ubuntu5/share/extensions/color_moresaturation.py 2011-05-30 17:43:57.903386425 +0100 -@@ -1,3 +1,4 @@ -+#!/usr/bin/env python - import coloreffect, inkex - - class C(coloreffect.ColorEffect): -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' inkscape_0.48.1-2ubuntu5~/share/extensions/color_negative.py inkscape_0.48.1-2ubuntu5/share/extensions/color_negative.py ---- inkscape_0.48.1-2ubuntu5~/share/extensions/color_negative.py 2011-05-30 17:38:10.000000000 +0100 -+++ inkscape_0.48.1-2ubuntu5/share/extensions/color_negative.py 2011-05-30 17:43:57.903386425 +0100 -@@ -1,3 +1,4 @@ -+#!/usr/bin/env python - import coloreffect - - class C(coloreffect.ColorEffect): -@@ -5,4 +6,4 @@ - return '%02x%02x%02x' % (255-r,255-g,255-b) - - c = C() --c.affect() -\ No newline at end of file -+c.affect() -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' inkscape_0.48.1-2ubuntu5~/share/extensions/color_randomize.py inkscape_0.48.1-2ubuntu5/share/extensions/color_randomize.py ---- inkscape_0.48.1-2ubuntu5~/share/extensions/color_randomize.py 2011-05-30 17:38:10.000000000 +0100 -+++ inkscape_0.48.1-2ubuntu5/share/extensions/color_randomize.py 2011-05-30 17:43:57.903386425 +0100 -@@ -1,3 +1,4 @@ -+#!/usr/bin/env python - import coloreffect,random,inkex - - class C(coloreffect.ColorEffect): -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' inkscape_0.48.1-2ubuntu5~/share/extensions/color_removeblue.py inkscape_0.48.1-2ubuntu5/share/extensions/color_removeblue.py ---- inkscape_0.48.1-2ubuntu5~/share/extensions/color_removeblue.py 2011-05-30 17:38:10.000000000 +0100 -+++ inkscape_0.48.1-2ubuntu5/share/extensions/color_removeblue.py 2011-05-30 17:43:57.903386425 +0100 -@@ -1,3 +1,4 @@ -+#!/usr/bin/env python - import coloreffect - - class C(coloreffect.ColorEffect): -@@ -5,4 +6,4 @@ - return '%02x%02x%02x' % (r,g,0) - - c = C() --c.affect() -\ No newline at end of file -+c.affect() -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' inkscape_0.48.1-2ubuntu5~/share/extensions/color_removegreen.py inkscape_0.48.1-2ubuntu5/share/extensions/color_removegreen.py ---- inkscape_0.48.1-2ubuntu5~/share/extensions/color_removegreen.py 2011-05-30 17:38:10.000000000 +0100 -+++ inkscape_0.48.1-2ubuntu5/share/extensions/color_removegreen.py 2011-05-30 17:43:57.903386425 +0100 -@@ -1,3 +1,4 @@ -+#!/usr/bin/env python - import coloreffect - - class C(coloreffect.ColorEffect): -@@ -5,4 +6,4 @@ - return '%02x%02x%02x' % (r,0,b) - - c = C() --c.affect() -\ No newline at end of file -+c.affect() -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' inkscape_0.48.1-2ubuntu5~/share/extensions/color_removered.py inkscape_0.48.1-2ubuntu5/share/extensions/color_removered.py ---- inkscape_0.48.1-2ubuntu5~/share/extensions/color_removered.py 2011-05-30 17:38:10.000000000 +0100 -+++ inkscape_0.48.1-2ubuntu5/share/extensions/color_removered.py 2011-05-30 17:43:57.903386425 +0100 -@@ -1,3 +1,4 @@ -+#!/usr/bin/env python - import coloreffect - - class C(coloreffect.ColorEffect): -@@ -5,4 +6,4 @@ - return '%02x%02x%02x' % (0,g,b) - - c = C() --c.affect() -\ No newline at end of file -+c.affect() -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' inkscape_0.48.1-2ubuntu5~/share/extensions/color_replace.py inkscape_0.48.1-2ubuntu5/share/extensions/color_replace.py ---- inkscape_0.48.1-2ubuntu5~/share/extensions/color_replace.py 2011-05-30 17:38:10.000000000 +0100 -+++ inkscape_0.48.1-2ubuntu5/share/extensions/color_replace.py 2011-05-30 17:43:57.903386425 +0100 -@@ -1,3 +1,4 @@ -+#!/usr/bin/env python - import coloreffect - - import inkex -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' inkscape_0.48.1-2ubuntu5~/share/extensions/color_rgbbarrel.py inkscape_0.48.1-2ubuntu5/share/extensions/color_rgbbarrel.py ---- inkscape_0.48.1-2ubuntu5~/share/extensions/color_rgbbarrel.py 2011-05-30 17:38:10.000000000 +0100 -+++ inkscape_0.48.1-2ubuntu5/share/extensions/color_rgbbarrel.py 2011-05-30 17:43:57.903386425 +0100 -@@ -1,3 +1,4 @@ -+#!/usr/bin/env python - import coloreffect - - class C(coloreffect.ColorEffect): -@@ -5,4 +6,4 @@ - return '%02x%02x%02x' % (b,r,g) - - c = C() --c.affect() -\ No newline at end of file -+c.affect() -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' inkscape_0.48.1-2ubuntu5~/share/extensions/dxf_templates.py inkscape_0.48.1-2ubuntu5/share/extensions/dxf_templates.py ---- inkscape_0.48.1-2ubuntu5~/share/extensions/dxf_templates.py 2011-05-30 17:38:10.000000000 +0100 -+++ inkscape_0.48.1-2ubuntu5/share/extensions/dxf_templates.py 2011-05-30 17:43:57.903386425 +0100 -@@ -1,3 +1,4 @@ -+#!/usr/bin/env python - r14_header = ''' 0 - SECTION - 2 -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' inkscape_0.48.1-2ubuntu5~/share/extensions/render_alphabetsoup_config.py inkscape_0.48.1-2ubuntu5/share/extensions/render_alphabetsoup_config.py ---- inkscape_0.48.1-2ubuntu5~/share/extensions/render_alphabetsoup_config.py 2011-05-30 17:38:10.000000000 +0100 -+++ inkscape_0.48.1-2ubuntu5/share/extensions/render_alphabetsoup_config.py 2011-05-30 17:43:57.903386425 +0100 -@@ -1,3 +1,4 @@ -+#!/usr/bin/env python - # Syntax format: (raise your hand if you know lisp :-) - # - # 'state0': ("file.svg", ( ( ('state1', dx, dy, T-B, L|R),), -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' inkscape_0.48.1-2ubuntu5~/share/extensions/render_barcode.py inkscape_0.48.1-2ubuntu5/share/extensions/render_barcode.py ---- inkscape_0.48.1-2ubuntu5~/share/extensions/render_barcode.py 2011-05-30 17:38:10.000000000 +0100 -+++ inkscape_0.48.1-2ubuntu5/share/extensions/render_barcode.py 2011-05-30 17:43:57.903386425 +0100 -@@ -1,3 +1,4 @@ -+#!/usr/bin/env python - ''' - Copyright (C) 2007 Martin Owens - -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' inkscape_0.48.1-2ubuntu5~/share/extensions/run_command.py inkscape_0.48.1-2ubuntu5/share/extensions/run_command.py ---- inkscape_0.48.1-2ubuntu5~/share/extensions/run_command.py 2011-05-30 17:38:10.000000000 +0100 -+++ inkscape_0.48.1-2ubuntu5/share/extensions/run_command.py 2011-05-30 17:43:57.903386425 +0100 -@@ -1,3 +1,4 @@ -+#!/usr/bin/env python - import os - import sys - import tempfile -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' inkscape_0.48.1-2ubuntu5~/share/extensions/svg_and_media_zip_output.py inkscape_0.48.1-2ubuntu5/share/extensions/svg_and_media_zip_output.py ---- inkscape_0.48.1-2ubuntu5~/share/extensions/svg_and_media_zip_output.py 2011-05-30 17:38:10.000000000 +0100 -+++ inkscape_0.48.1-2ubuntu5/share/extensions/svg_and_media_zip_output.py 2011-05-30 17:43:57.903386425 +0100 -@@ -1,4 +1,4 @@ --#! /usr/bin/env python -+#!/usr/bin/env python - """ - svg_and_media_zip_output.py - An extention which collects all images to the documents directory and -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' inkscape_0.48.1-2ubuntu5~/share/extensions/svg_regex.py inkscape_0.48.1-2ubuntu5/share/extensions/svg_regex.py ---- inkscape_0.48.1-2ubuntu5~/share/extensions/svg_regex.py 2011-05-30 17:38:10.000000000 +0100 -+++ inkscape_0.48.1-2ubuntu5/share/extensions/svg_regex.py 2011-05-30 17:43:57.903386425 +0100 -@@ -1,3 +1,4 @@ -+#!/usr/bin/env python - # This software is OSI Certified Open Source Software. - # OSI Certified is a certification mark of the Open Source Initiative. - # -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' inkscape_0.48.1-2ubuntu5~/share/extensions/text_braille.py inkscape_0.48.1-2ubuntu5/share/extensions/text_braille.py ---- inkscape_0.48.1-2ubuntu5~/share/extensions/text_braille.py 2011-05-30 17:38:10.000000000 +0100 -+++ inkscape_0.48.1-2ubuntu5/share/extensions/text_braille.py 2011-05-30 17:43:57.903386425 +0100 -@@ -1,3 +1,4 @@ -+#!/usr/bin/env python - #encoding: utf-8 - import chardataeffect, inkex, string - -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' inkscape_0.48.1-2ubuntu5~/share/extensions/text_flipcase.py inkscape_0.48.1-2ubuntu5/share/extensions/text_flipcase.py ---- inkscape_0.48.1-2ubuntu5~/share/extensions/text_flipcase.py 2011-05-30 17:38:10.000000000 +0100 -+++ inkscape_0.48.1-2ubuntu5/share/extensions/text_flipcase.py 2011-05-30 17:43:57.903386425 +0100 -@@ -1,3 +1,4 @@ -+#!/usr/bin/env python - import chardataeffect, inkex, string - - class C(chardataeffect.CharDataEffect): -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' inkscape_0.48.1-2ubuntu5~/share/extensions/text_lowercase.py inkscape_0.48.1-2ubuntu5/share/extensions/text_lowercase.py ---- inkscape_0.48.1-2ubuntu5~/share/extensions/text_lowercase.py 2011-05-30 17:38:10.000000000 +0100 -+++ inkscape_0.48.1-2ubuntu5/share/extensions/text_lowercase.py 2011-05-30 17:43:57.903386425 +0100 -@@ -1,3 +1,4 @@ -+#!/usr/bin/env python - import chardataeffect, inkex, string - - class C(chardataeffect.CharDataEffect): -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' inkscape_0.48.1-2ubuntu5~/share/extensions/text_randomcase.py inkscape_0.48.1-2ubuntu5/share/extensions/text_randomcase.py ---- inkscape_0.48.1-2ubuntu5~/share/extensions/text_randomcase.py 2011-05-30 17:38:10.000000000 +0100 -+++ inkscape_0.48.1-2ubuntu5/share/extensions/text_randomcase.py 2011-05-30 17:43:57.903386425 +0100 -@@ -1,3 +1,4 @@ -+#!/usr/bin/env python - import chardataeffect, inkex, string - - import random -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' inkscape_0.48.1-2ubuntu5~/share/extensions/text_replace.py inkscape_0.48.1-2ubuntu5/share/extensions/text_replace.py ---- inkscape_0.48.1-2ubuntu5~/share/extensions/text_replace.py 2011-05-30 17:38:10.000000000 +0100 -+++ inkscape_0.48.1-2ubuntu5/share/extensions/text_replace.py 2011-05-30 17:43:57.903386425 +0100 -@@ -1,3 +1,4 @@ -+#!/usr/bin/env python - import chardataeffect, inkex, string - - class C(chardataeffect.CharDataEffect): -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' inkscape_0.48.1-2ubuntu5~/share/extensions/text_sentencecase.py inkscape_0.48.1-2ubuntu5/share/extensions/text_sentencecase.py ---- inkscape_0.48.1-2ubuntu5~/share/extensions/text_sentencecase.py 2011-05-30 17:38:10.000000000 +0100 -+++ inkscape_0.48.1-2ubuntu5/share/extensions/text_sentencecase.py 2011-05-30 17:43:57.903386425 +0100 -@@ -1,3 +1,4 @@ -+#!/usr/bin/env python - import chardataeffect, inkex, string - - class C(chardataeffect.CharDataEffect): -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' inkscape_0.48.1-2ubuntu5~/share/extensions/text_titlecase.py inkscape_0.48.1-2ubuntu5/share/extensions/text_titlecase.py ---- inkscape_0.48.1-2ubuntu5~/share/extensions/text_titlecase.py 2011-05-30 17:38:10.000000000 +0100 -+++ inkscape_0.48.1-2ubuntu5/share/extensions/text_titlecase.py 2011-05-30 17:43:57.913386425 +0100 -@@ -1,3 +1,4 @@ -+#!/usr/bin/env python - import chardataeffect, inkex, string - - class C(chardataeffect.CharDataEffect): -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' inkscape_0.48.1-2ubuntu5~/share/extensions/text_uppercase.py inkscape_0.48.1-2ubuntu5/share/extensions/text_uppercase.py ---- inkscape_0.48.1-2ubuntu5~/share/extensions/text_uppercase.py 2011-05-30 17:38:10.000000000 +0100 -+++ inkscape_0.48.1-2ubuntu5/share/extensions/text_uppercase.py 2011-05-30 17:43:57.913386425 +0100 -@@ -1,3 +1,4 @@ -+#!/usr/bin/env python - import chardataeffect, inkex, string - - class C(chardataeffect.CharDataEffect): -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' inkscape_0.48.1-2ubuntu5~/share/extensions/voronoi.py inkscape_0.48.1-2ubuntu5/share/extensions/voronoi.py ---- inkscape_0.48.1-2ubuntu5~/share/extensions/voronoi.py 2011-05-30 17:38:10.000000000 +0100 -+++ inkscape_0.48.1-2ubuntu5/share/extensions/voronoi.py 2011-05-30 17:43:57.913386425 +0100 -@@ -1,3 +1,4 @@ -+#! /usr/bin/env python - ############################################################################# - # - # Voronoi diagram calculator/ Delaunay triangulator === modified file 'depcomp' --- depcomp 2009-12-23 15:38:43 +0000 +++ depcomp 2012-02-16 12:59:31 +0000 @@ -1,10 +1,10 @@ #! /bin/sh # depcomp - compile a program generating dependencies as side-effects -scriptversion=2009-04-28.21; # UTC +scriptversion=2011-12-04.11; # UTC -# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free -# Software Foundation, Inc. +# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009, 2010, +# 2011 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -44,7 +44,7 @@ object Object file output by `PROGRAMS ARGS'. DEPDIR directory where to store dependencies. depfile Dependency file to output. - tmpdepfile Temporary file to use when outputing dependencies. + tmpdepfile Temporary file to use when outputting dependencies. libtool Whether libtool is used (yes/no). Report bugs to . @@ -90,10 +90,18 @@ # This is just like msvisualcpp but w/o cygpath translation. # Just convert the backslash-escaped backslashes to single forward # slashes to satisfy depend.m4 - cygpath_u="sed s,\\\\\\\\,/,g" + cygpath_u='sed s,\\\\,/,g' depmode=msvisualcpp fi +if test "$depmode" = msvc7msys; then + # This is just like msvc7 but w/o cygpath translation. + # Just convert the backslash-escaped backslashes to single forward + # slashes to satisfy depend.m4 + cygpath_u='sed s,\\\\,/,g' + depmode=msvc7 +fi + case "$depmode" in gcc3) ## gcc 3 implements dependency tracking that does exactly what @@ -158,10 +166,12 @@ ' < "$tmpdepfile" | ## Some versions of gcc put a space before the `:'. On the theory ## that the space means something, we add a space to the output as -## well. +## well. hp depmode also adds that space, but also prefixes the VPATH +## to the object. Take care to not repeat it in the output. ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. - sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" + sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \ + | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; @@ -405,6 +415,52 @@ rm -f "$tmpdepfile" ;; +msvc7) + if test "$libtool" = yes; then + showIncludes=-Wc,-showIncludes + else + showIncludes=-showIncludes + fi + "$@" $showIncludes > "$tmpdepfile" + stat=$? + grep -v '^Note: including file: ' "$tmpdepfile" + if test "$stat" = 0; then : + else + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + echo "$object : \\" > "$depfile" + # The first sed program below extracts the file names and escapes + # backslashes for cygpath. The second sed program outputs the file + # name when reading, but also accumulates all include files in the + # hold buffer in order to output them again at the end. This only + # works with sed implementations that can handle large buffers. + sed < "$tmpdepfile" -n ' +/^Note: including file: *\(.*\)/ { + s//\1/ + s/\\/\\\\/g + p +}' | $cygpath_u | sort -u | sed -n ' +s/ /\\ /g +s/\(.*\)/ \1 \\/p +s/.\(.*\) \\/\1:/ +H +$ { + s/.*/ / + G + p +}' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +msvc7msys) + # This case exists only to let depend.m4 do its work. It works by + # looking at the text of this script. This case will never be run, + # since it is checked for above. + exit 1 + ;; + #nosideeffect) # This comment above is used by automake to tell side-effect # dependency tracking mechanisms from slower ones. @@ -503,7 +559,9 @@ touch "$tmpdepfile" ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" rm -f "$depfile" - cat < "$tmpdepfile" > "$depfile" + # makedepend may prepend the VPATH from the source file name to the object. + # No need to regex-escape $object, excess matching of '.' is harmless. + sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile" sed '1,2d' "$tmpdepfile" | tr ' ' ' ' | \ ## Some versions of the HPUX 10.20 sed can't process this invocation === modified file 'doc/Makefile.in' --- doc/Makefile.in 2011-07-10 11:35:30 +0000 +++ doc/Makefile.in 2012-02-16 12:59:31 +0000 @@ -1,9 +1,9 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. +# Makefile.in generated by automake 1.11.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software +# Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -47,11 +47,11 @@ CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = -AM_V_GEN = $(am__v_GEN_$(V)) -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; -AM_V_at = $(am__v_at_$(V)) -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ SOURCES = DIST_SOURCES = @@ -102,6 +102,10 @@ GNOME_VFS_CFLAGS = @GNOME_VFS_CFLAGS@ GNOME_VFS_LIBS = @GNOME_VFS_LIBS@ GREP = @GREP@ +GTKMM_2_22_CFLAGS = @GTKMM_2_22_CFLAGS@ +GTKMM_2_22_LIBS = @GTKMM_2_22_LIBS@ +GTKMM_2_24_CFLAGS = @GTKMM_2_24_CFLAGS@ +GTKMM_2_24_LIBS = @GTKMM_2_24_LIBS@ IMAGEMAGICK_CFLAGS = @IMAGEMAGICK_CFLAGS@ IMAGEMAGICK_LIBS = @IMAGEMAGICK_LIBS@ INKBOARD_CFLAGS = @INKBOARD_CFLAGS@ @@ -120,6 +124,12 @@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +LCMS2_CFLAGS = @LCMS2_CFLAGS@ +LCMS2_LIBS = @LCMS2_LIBS@ LCMS_CFLAGS = @LCMS_CFLAGS@ LCMS_LIBS = @LCMS_LIBS@ LDFLAGS = @LDFLAGS@ @@ -147,8 +157,6 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ -PANGOFT2_CFLAGS = @PANGOFT2_CFLAGS@ -PANGOFT2_LIBS = @PANGOFT2_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL_CFLAGS = @PERL_CFLAGS@ PERL_LIBS = @PERL_LIBS@ @@ -177,8 +185,6 @@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WIN32_CFLAGS = @WIN32_CFLAGS@ -XFT_CFLAGS = @XFT_CFLAGS@ -XFT_LIBS = @XFT_LIBS@ XGETTEXT = @XGETTEXT@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ @@ -212,6 +218,8 @@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ @@ -332,10 +340,15 @@ installcheck: installcheck-am install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi mostlyclean-generic: clean-generic: === modified file 'doc/keys.en.html' --- doc/keys.en.html 2011-07-10 11:35:30 +0000 +++ doc/keys.en.html 2012-02-16 12:59:31 +0000 @@ -12,7 +12,7 @@
@@ -53,73 +53,73 @@  | Object  · - Undo/redo · Clipboard · Duplicate · Clone · Bitmaps · Patterns · Group · Z-order -  | - Path -  · - Convert to path · Boolean operations · Offsets · Combine · Simplify -  | - Selector -  · - Select (mouse) · Rubberband, touch selection · Select (keyboard) · Select within group, select under · Move (mouse) · Move (keyboard) · Transform (mouse) · Scale by handles · Scale (keyboard) · Rotate/skew by handles · Rotate (keyboard) · Flip · Rotation center · Cancel -  | - Node tool -  · - Select objects (mouse) · Select nodes (mouse) · Rubberband selection · Select nodes (keyboard) · Grow/shrink node selection · Move nodes (mouse) · Move nodes (keyboard) · Move node handle (mouse) · Scale handle (1 node selected) · Rotate handle (1 node selected) · Handles visibility · Scale nodes (>1 nodes selected) · Rotate nodes (>1 nodes selected) · Flip nodes (>1 nodes selected) · Change segment(s) · Change node type · Join/break · Delete, create, duplicate · Reverse · Edit shapes · Edit fills and path effects · Cancel -  | - Tweak tool -  · - Operation · Modes · Parameters -  | - Zoom tool -  | - Rectangle tool -  · - Draw · Select · Resize by handles · Round corners by handles -  | - 3D box tool -  · - Draw · Select · Edit by handles · Edit perspectives -  | - Ellipse tool -  · - Draw · Select · Edit by handles -  | - Star tool -  · - Draw · Select · Edit by handles -  | - Spiral tool -  · - Draw · Select · Edit by handles -  | - Pencil tool -  · - Create dots -  | - Pen (Bezier) tool -  · - Create nodes · Move last node · Create/modify segments · Create dots · Finish · Cancel -  | - Calligraphy tool -  | - Text tool -  · - Select/create · Navigate in text · Flowed text (internal frame) · Flowed text (external frame) · Text on path · Edit text · Select text · Style selection · Letter spacing · Line spacing · Kerning and shifting · Rotate -  | - Spray tool -  · - Modes · Parameters -  | - Eraser tool -  | - Paint Bucket -  | - Gradient tool -  · - Select objects · Create gradients · Select handles · Create/delete intermediate stops · Move handles/stops · Reverse · Gradient editor -  | - Dropper tool + Undo/redo · Clipboard · Duplicate · Clone · Bitmaps · Patterns · Guides · Group · Z-order +  | + Path +  · + Convert to path · Boolean operations · Offsets · Combine · Simplify +  | + Selector +  · + Select (mouse) · Rubberband, touch selection · Select (keyboard) · Select within group, select under · Move (mouse) · Move (keyboard) · Transform (mouse) · Scale by handles · Scale (keyboard) · Rotate/skew by handles · Rotate (keyboard) · Flip · Rotation center · Cancel +  | + Node tool +  · + Select objects (mouse) · Select nodes (mouse) · Rubberband selection · Select nodes (keyboard) · Grow/shrink node selection · Move nodes (mouse) · Move nodes (keyboard) · Move node handle (mouse) · Scale handle (1 node selected) · Rotate handle (1 node selected) · Handles visibility · Scale nodes (>1 nodes selected) · Rotate nodes (>1 nodes selected) · Flip nodes (>1 nodes selected) · Change segment(s) · Change node type · Join/break · Delete, create, duplicate · Reverse · Edit shapes · Edit fills and path effects · Cancel +  | + Tweak tool +  · + Operation · Modes · Parameters +  | + Zoom tool +  | + Rectangle tool +  · + Draw · Select · Resize by handles · Round corners by handles +  | + 3D box tool +  · + Draw · Select · Edit by handles · Edit perspectives +  | + Ellipse tool +  · + Draw · Select · Edit by handles +  | + Star tool +  · + Draw · Select · Edit by handles +  | + Spiral tool +  · + Draw · Select · Edit by handles +  | + Pencil tool +  · + Create dots +  | + Pen (Bezier) tool +  · + Create nodes · Move last node · Create/modify segments · Create dots · Finish · Cancel +  | + Calligraphy tool +  | + Text tool +  · + Select/create · Navigate in text · Flowed text (internal frame) · Flowed text (external frame) · Text on path · Edit text · Select text · Style selection · Letter spacing · Line spacing · Kerning and shifting · Rotate +  | + Spray tool +  · + Modes · Parameters +  | + Eraser tool +  | + Paint Bucket +  | + Gradient tool +  · + Select objects · Create gradients · Select handles · Create/delete intermediate stops · Move handles/stops · Reverse · Gradient editor +  | + Dropper tool
- +

Node tool

@@ -3719,7 +3740,7 @@ @@ -3766,7 +3787,7 @@ @@ -3838,7 +3859,7 @@ @@ -3886,7 +3907,7 @@ @@ -3999,7 +4020,7 @@ @@ -4071,7 +4092,7 @@ @@ -4204,7 +4225,7 @@ @@ -4270,7 +4291,7 @@ @@ -4351,7 +4372,7 @@ @@ -4445,7 +4466,7 @@ @@ -4527,7 +4548,7 @@ @@ -4547,7 +4568,7 @@ @@ -4635,7 +4656,7 @@ @@ -4693,7 +4714,7 @@ @@ -4733,7 +4754,7 @@ @@ -4771,7 +4792,7 @@ @@ -4855,7 +4876,7 @@ @@ -4916,7 +4937,7 @@ @@ -5051,7 +5072,7 @@ @@ -5072,7 +5093,7 @@ @@ -5094,7 +5115,7 @@ @@ -5110,7 +5131,7 @@ @@ -5134,7 +5155,7 @@

- Select objects (mouse)

+ Select objects (mouse)

- Select nodes (mouse)

+ Select nodes (mouse)

- Rubberband selection

+ Rubberband selection

- Select nodes (keyboard)

+ Select nodes (keyboard)

- Grow/shrink node selection

+ Grow/shrink node selection

- Move nodes (mouse)

+ Move nodes (mouse)

- Move nodes (keyboard)

+ Move nodes (keyboard)

- Move node handle (mouse)

+ Move node handle (mouse)

- Scale handle (1 node selected)

+ Scale handle (1 node selected)

- Rotate handle (1 node selected)

+ Rotate handle (1 node selected)

- Handles visibility

+ Handles visibility

- Scale nodes (>1 nodes selected)

+ Scale nodes (>1 nodes selected)

- Rotate nodes (>1 nodes selected)

+ Rotate nodes (>1 nodes selected)

- Flip nodes (>1 nodes selected)

+ Flip nodes (>1 nodes selected)

- Change segment(s)

+ Change segment(s)

- Change node type

+ Change node type

- Join/break

+ Join/break

- Delete, create, duplicate

+ Delete, create, duplicate

- Reverse

+ Reverse

- Edit shapes

+ Edit shapes

- Edit fills and path effects

+ Edit fills and path effects

- Cancel

+ Cancel
- +

Dropper tool

=== modified file 'doc/keys.fr.html' --- doc/keys.fr.html 2011-07-10 11:35:30 +0000 +++ doc/keys.fr.html 2012-02-16 12:59:31 +0000 @@ -12,7 +12,7 @@
@@ -47,73 +47,73 @@  | Objet  · - Annuler/rétablir · Presse-papiers · Dupliquer · Cloner · Bitmaps · Motifs · Grouper · ordre dans le plan -  | - Chemin -  · - Convertir en chemin · Opérations booléennes · Offsets · Combiner · Simplifier -  | - Sélecteur -  · - Sélectionner (souris) · Sélection par cliquer-glisser, sélection par le toucher · Sélectionner (clavier) · Sélectionner à l'intérieur d'un groupe ou sélectionner en dessous · Déplacer (souris) · Déplacer (clavier) · Transformer (souris) · Redimensionner avec les poignées · Redimensionner (clavier) · Tourner et incliner avec les poignées · Tourner (clavier) · Retourner · Centre de rotation · Annuler -  | - Outil Nœud -  · - Sélectionner les objets (souris) · Sélectionner les nœuds (souris) · Sélection par cliquer-glisser · Sélectionner les nœuds (clavier) · Étendre ou restreindre la sélection de nœuds · Déplacer les nœuds (souris) · Déplacer les nœuds (clavier) · Déplacer une poignée de nœud (souris) · Redimensionner une poignée (un nœud sélectionné) · Tourner la poignée (un nœud sélectionné) · Affichage des poignées · Redimensionner les nœuds (plus d'un nœud dans la sélection) · Tourner les nœud s (plus d'un nœud dans la sélection) · Retourner les nœuds (plus d'un nœud dans la sélection) · Modifier les segments · Modifier le type de nœud · Joindre ou briser · Supprimer, créer, dupliquer · Inverser · Éditer les formes · Éditer les remplissages et les effets de chemin · Annuler -  | - Outil Ajuster -  · - Fonctionnement · Modes · Paramètres -  | - Outil Zoom -  | - Outil Rectangle -  · - Dessiner · Sélectionner · Redimensionner avec les poignées · Arrondir les coins avec les poignées -  | - Outil Boîte 3D -  · - Dessiner · Sélectionner · Éditer avec les poignées · Éditer les perspectives -  | - Outil ellipse -  · - Dessiner · Sélectionner · Éditer avec les poignées -  | - Outil Étoile -  · - Dessiner · Sélectionner · Éditer avec les poignées -  | - Outil Spirale -  · - Dessiner · Sélectionner · Éditer avec les poignées -  | - Outil crayon -  · - Créer des points -  | - Outil Stylo (Bézier) -  · - Créer des nœuds · Déplacer le dernier nœud · Créer ou modifier des segments · Créer des points · Terminer · Annuler -  | - Outil Plume calligraphique -  | - Outil Texte -  · - Sélectionner ou créer · Se déplacer dans le texte · Cadre de texte (interne) · Cadre de texte (externe) · Texte le long d'un chemin · Éditer du texte · Sélectionner du texte · Appliquer un style à la sélection · Interlettrage · Hauteur de ligne · Crénage et décalage · Tourner -  | - Outil Aérographe -  · - Modes · Paramètres -  | - Outil Gomme -  | - Remplissage au seau -  | - Outil Gradient -  · - Sélectionner les objets · Créer des gradients · Sélectionner les poignées · Créer ou supprimer des stops intermédiaires · Déplacer les poignées et les stops · Inverser · Éditeur de gradient -  | - Outil Pipette + Annuler/rétablir · Presse-papiers · Dupliquer · Cloner · Bitmaps · Motifs · Guides · Grouper · ordre dans le plan +  | + Chemin +  · + Convertir en chemin · Opérations booléennes · Offsets · Combiner · Simplifier +  | + Sélecteur +  · + Sélectionner (souris) · Sélection par cliquer-glisser, sélection par le toucher · Sélectionner (clavier) · Sélectionner à l'intérieur d'un groupe ou sélectionner en dessous · Déplacer (souris) · Déplacer (clavier) · Transformer (souris) · Redimensionner avec les poignées · Redimensionner (clavier) · Tourner et incliner avec les poignées · Tourner (clavier) · Retourner · Centre de rotation · Annuler +  | + Outil Nœud +  · + Sélectionner les objets (souris) · Sélectionner les nœuds (souris) · Sélection par cliquer-glisser · Sélectionner les nœuds (clavier) · Étendre ou restreindre la sélection de nœuds · Déplacer les nœuds (souris) · Déplacer les nœuds (clavier) · Déplacer une poignée de nœud (souris) · Redimensionner une poignée (un nœud sélectionné) · Tourner la poignée (un nœud sélectionné) · Affichage des poignées · Redimensionner les nœuds (plus d'un nœud dans la sélection) · Tourner les nœud s (plus d'un nœud dans la sélection) · Retourner les nœuds (plus d'un nœud dans la sélection) · Modifier les segments · Modifier le type de nœud · Joindre ou briser · Supprimer, créer, dupliquer · Inverser · Éditer les formes · Éditer les remplissages et les effets de chemin · Annuler +  | + Outil Ajuster +  · + Fonctionnement · Modes · Paramètres +  | + Outil Zoom +  | + Outil Rectangle +  · + Dessiner · Sélectionner · Redimensionner avec les poignées · Arrondir les coins avec les poignées +  | + Outil Boîte 3D +  · + Dessiner · Sélectionner · Éditer avec les poignées · Éditer les perspectives +  | + Outil ellipse +  · + Dessiner · Sélectionner · Éditer avec les poignées +  | + Outil Étoile +  · + Dessiner · Sélectionner · Éditer avec les poignées +  | + Outil Spirale +  · + Dessiner · Sélectionner · Éditer avec les poignées +  | + Outil crayon +  · + Créer des points +  | + Outil Stylo (Bézier) +  · + Créer des nœuds · Déplacer le dernier nœud · Créer ou modifier des segments · Créer des points · Terminer · Annuler +  | + Outil Plume calligraphique +  | + Outil Texte +  · + Sélectionner ou créer · Se déplacer dans le texte · Cadre de texte (interne) · Cadre de texte (externe) · Texte le long d'un chemin · Éditer du texte · Sélectionner du texte · Appliquer un style à la sélection · Interlettrage · Hauteur de ligne · Crénage et décalage · Tourner +  | + Outil Aérographe +  · + Modes · Paramètres +  | + Outil Gomme +  | + Remplissage au seau +  | + Outil Gradient +  · + Sélectionner les objets · Créer des gradients · Sélectionner les poignées · Créer ou supprimer des stops intermédiaires · Déplacer les poignées et les stops · Inverser · Éditeur de gradient +  | + Outil Pipette
@@ -2137,7 +2137,28 @@
+ + + + + + + + + + + + @@ -2191,7 +2212,7 @@ @@ -2236,7 +2257,7 @@

- Grouper

+ Guides +
+ + Maj + +G + + objets en guides +
+

+ Grouper

- ordre dans le plan

+ ordre dans le plan
- +

Outil Nœud

@@ -3713,7 +3734,7 @@ @@ -3760,7 +3781,7 @@ @@ -3832,7 +3853,7 @@ @@ -3880,7 +3901,7 @@ @@ -3993,7 +4014,7 @@ @@ -4065,7 +4086,7 @@ @@ -4198,7 +4219,7 @@ @@ -4264,7 +4285,7 @@ @@ -4345,7 +4366,7 @@ @@ -4439,7 +4460,7 @@ @@ -4521,7 +4542,7 @@ @@ -4541,7 +4562,7 @@ @@ -4629,7 +4650,7 @@ @@ -4687,7 +4708,7 @@ @@ -4727,7 +4748,7 @@ @@ -4765,7 +4786,7 @@ @@ -4848,7 +4869,7 @@ @@ -4909,7 +4930,7 @@ @@ -5044,7 +5065,7 @@ @@ -5065,7 +5086,7 @@ @@ -5087,7 +5108,7 @@ @@ -5103,7 +5124,7 @@ @@ -5127,7 +5148,7 @@

- Sélectionner les objets (souris)

+ Sélectionner les objets (souris)

- Sélectionner les nœuds (souris)

+ Sélectionner les nœuds (souris)

- Sélection par cliquer-glisser

+ Sélection par cliquer-glisser

- Sélectionner les nœuds (clavier)

+ Sélectionner les nœuds (clavier)

- Étendre ou restreindre la sélection de nœuds

+ Étendre ou restreindre la sélection de nœuds

- Déplacer les nœuds (souris)

+ Déplacer les nœuds (souris)

- Déplacer les nœuds (clavier)

+ Déplacer les nœuds (clavier)

- Déplacer une poignée de nœud (souris)

+ Déplacer une poignée de nœud (souris)

- Redimensionner une poignée (un nœud sélectionné)

+ Redimensionner une poignée (un nœud sélectionné)

- Tourner la poignée (un nœud sélectionné)

+ Tourner la poignée (un nœud sélectionné)

- Affichage des poignées

+ Affichage des poignées

- Redimensionner les nœuds (plus d'un nœud dans la sélection)

+ Redimensionner les nœuds (plus d'un nœud dans la sélection)

- Tourner les nœud s (plus d'un nœud dans la sélection)

+ Tourner les nœud s (plus d'un nœud dans la sélection)

- Retourner les nœuds (plus d'un nœud dans la sélection)

+ Retourner les nœuds (plus d'un nœud dans la sélection)

- Modifier les segments

+ Modifier les segments

- Modifier le type de nœud

+ Modifier le type de nœud

- Joindre ou briser

+ Joindre ou briser

- Supprimer, créer, dupliquer

+ Supprimer, créer, dupliquer

- Inverser

+ Inverser

- Éditer les formes

+ Éditer les formes

- Éditer les remplissages et les effets de chemin

+ Éditer les remplissages et les effets de chemin

- Annuler

+ Annuler
- +

Outil Pipette

=== modified file 'doc/keys.ja.html' --- doc/keys.ja.html 2011-07-10 11:35:30 +0000 +++ doc/keys.ja.html 2012-02-16 12:59:31 +0000 @@ -12,7 +12,7 @@
@@ -47,73 +47,73 @@  | オブジェクト  · - 元に戻す/やり直し · クリップボード · 複製 · クローン · ビットマップ · パターン · グループ · Z 軸順序 -  | - パス -  · - パスへ変換 · ブーリアン演算 · オフセット · 結合 · パスの簡略化 -  | - 選択ツール -  · - 選択 (マウス) · ラバーバンド、タッチ選択 · 選択 (キーボード) · グループ内の選択、下にあるものの選択 · 移動 (マウス) · 移動 (キーボード) · 変形 (マウス) · ハンドルによる拡大縮小 · 拡大縮小 (キーボード) · ハンドルによる回転/傾斜 · 回転 (キーボード) · 反転 · 回転中心 · キャンセル -  | - ノードツール -  · - オブジェクトの選択 (マウス) · ノードの選択 (マウス) · ラバーバンド選択 · ノードの選択 (キーボード) · 選択ノードの拡大/縮小 · ノードの移動 (マウス) · ノードの移動 (キーボード) · ノードハンドルの移動 (マウス) · ハンドルの伸縮 (1 ノード選択時) · ハンドルの回転 (1 ノード選択時) · Handles visibility · ノード群の拡大縮小 (複数ノード選択時) · ノード群の回転 (複数ノード選択時) · ノード群の反転 (複数ノード選択時) · セグメントの変更 · ノード種類の変更 · 連結/切断 · 削除、作成、複製 · 方向を逆に · シェイプの編集 · フィルとパスエフェクトの編集 · キャンセル -  | - 微調整ツール -  · - 操作 · モード · パラメータ -  | - ズームツール -  | - 矩形ツール -  · - 描画 · 選択 · ハンドルによるサイズ変更 · ハンドルによる角の丸め -  | - 3D ボックスツール -  · - 描画 · 選択 · ハンドルによる編集 · 遠近法の編集 -  | - 円/弧ツール -  · - 描画 · 選択 · ハンドルによる編集 -  | - 星形ツール -  · - 描画 · 選択 · ハンドルによる編集 -  | - らせんツール -  · - 描画 · 選択 · ハンドルによる編集 -  | - 鉛筆ツール -  · - ドットの作成 -  | - ペン (ベジエ) ツール -  · - ノードの作製 · 最後のノードの移動 · セグメントの作成/修正 · ドットの作成 · 仕上げ · キャンセル -  | - カリグラフィツール -  | - テキストツール -  · - 選択/作成 · テキスト内のナビゲート · 流し込みテキスト (内部フレーム) · 流し込みテキスト (外部フレーム) · パス上テキスト · テキストの編集 · テキストの選択 · スタイルの選択 · 文字間隔 · 行間隔 · カーニングとシフティング · 回転 -  | - スプレーツール -  · - モード · パラメータ -  | - 消しゴムツール -  | - バケツ (塗りつぶし) ツール -  | - グラデーションツール -  · - オブジェクトの選択 · グラデーションの作成 · ハンドルの選択 · 色フェーズの作成/削除 · ハンドル/色フェーズの移動 · 方向を逆に · グラデーションエディタ -  | - スポイトツール + 元に戻す/やり直し · クリップボード · 複製 · クローン · ビットマップ · パターン · Guides · グループ · Z 軸順序 +  | + パス +  · + パスへ変換 · ブーリアン演算 · オフセット · 結合 · パスの簡略化 +  | + 選択ツール +  · + 選択 (マウス) · ラバーバンド、タッチ選択 · 選択 (キーボード) · グループ内の選択、下にあるものの選択 · 移動 (マウス) · 移動 (キーボード) · 変形 (マウス) · ハンドルによる拡大縮小 · 拡大縮小 (キーボード) · ハンドルによる回転/傾斜 · 回転 (キーボード) · 反転 · 回転中心 · キャンセル +  | + ノードツール +  · + オブジェクトの選択 (マウス) · ノードの選択 (マウス) · ラバーバンド選択 · ノードの選択 (キーボード) · 選択ノードの拡大/縮小 · ノードの移動 (マウス) · ノードの移動 (キーボード) · ノードハンドルの移動 (マウス) · ハンドルの伸縮 (1 ノード選択時) · ハンドルの回転 (1 ノード選択時) · ハンドルの表示 · ノード群の拡大縮小 (複数ノード選択時) · ノード群の回転 (複数ノード選択時) · ノード群の反転 (複数ノード選択時) · セグメントの変更 · ノード種類の変更 · 連結/切断 · 削除、作成、複製 · 方向を逆に · シェイプの編集 · フィルとパスエフェクトの編集 · キャンセル +  | + 微調整ツール +  · + 操作 · モード · パラメータ +  | + ズームツール +  | + 矩形ツール +  · + 描画 · 選択 · ハンドルによるサイズ変更 · ハンドルによる角の丸め +  | + 3D ボックスツール +  · + 描画 · 選択 · ハンドルによる編集 · 遠近法の編集 +  | + 円/弧ツール +  · + 描画 · 選択 · ハンドルによる編集 +  | + 星形ツール +  · + 描画 · 選択 · ハンドルによる編集 +  | + らせんツール +  · + 描画 · 選択 · ハンドルによる編集 +  | + 鉛筆ツール +  · + ドットの作成 +  | + ペン (ベジエ) ツール +  · + ノードの作製 · 最後のノードの移動 · セグメントの作成/修正 · ドットの作成 · 仕上げ · キャンセル +  | + カリグラフィツール +  | + テキストツール +  · + 選択/作成 · テキスト内のナビゲート · 流し込みテキスト (内部フレーム) · 流し込みテキスト (外部フレーム) · パス上テキスト · テキストの編集 · テキストの選択 · スタイルの選択 · 文字間隔 · 行間隔 · カーニングとシフティング · 回転 +  | + スプレーツール +  · + モード · パラメータ +  | + 消しゴムツール +  | + バケツ (塗りつぶし) ツール +  | + グラデーションツール +  · + オブジェクトの選択 · グラデーションの作成 · ハンドルの選択 · 色フェーズの作成/削除 · ハンドル/色フェーズの移動 · 方向を逆に · グラデーションエディタ +  | + スポイトツール
@@ -2137,7 +2137,28 @@
+ + + + + + + + + + + + @@ -2191,7 +2212,7 @@ @@ -2236,7 +2257,7 @@

- グループ

+ Guides +
+ + Shift + +G + + object(s) to guide(s) +
+

+ グループ

- Z 軸順序

+ Z 軸順序
- +

ノードツール

@@ -3713,7 +3734,7 @@ @@ -3760,7 +3781,7 @@ @@ -3832,7 +3853,7 @@ @@ -3880,7 +3901,7 @@ @@ -3993,7 +4014,7 @@ @@ -4065,7 +4086,7 @@ @@ -4198,7 +4219,7 @@ @@ -4264,7 +4285,7 @@ @@ -4345,7 +4366,7 @@ @@ -4439,7 +4460,7 @@ @@ -4521,7 +4542,7 @@ @@ -4532,7 +4553,7 @@ +H @@ -4541,7 +4562,7 @@ @@ -4629,7 +4650,7 @@ @@ -4687,7 +4708,7 @@ @@ -4727,7 +4748,7 @@ @@ -4765,7 +4786,7 @@ @@ -4848,7 +4869,7 @@ @@ -4882,7 +4903,7 @@ +J @@ -4909,7 +4930,7 @@ @@ -4956,7 +4977,7 @@ +Del @@ -5044,7 +5065,7 @@ @@ -5065,7 +5086,7 @@ @@ -5087,7 +5108,7 @@ @@ -5103,7 +5124,7 @@ @@ -5127,7 +5148,7 @@

- オブジェクトの選択 (マウス)

+ オブジェクトの選択 (マウス)

- ノードの選択 (マウス)

+ ノードの選択 (マウス)

- ラバーバンド選択

+ ラバーバンド選択

- ノードの選択 (キーボード)

+ ノードの選択 (キーボード)

- 選択ノードの拡大/縮小

+ 選択ノードの拡大/縮小

- ノードの移動 (マウス)

+ ノードの移動 (マウス)

- ノードの移動 (キーボード)

+ ノードの移動 (キーボード)

- ノードハンドルの移動 (マウス)

+ ノードハンドルの移動 (マウス)

- ハンドルの伸縮 (1 ノード選択時)

+ ハンドルの伸縮 (1 ノード選択時)

- ハンドルの回転 (1 ノード選択時)

+ ハンドルの回転 (1 ノード選択時)

- Handles visibility

+ ハンドルの表示
- toggle handles + ハンドルの表示/非表示を切り替え

- ノード群の拡大縮小 (複数ノード選択時)

+ ノード群の拡大縮小 (複数ノード選択時)

- ノード群の回転 (複数ノード選択時)

+ ノード群の回転 (複数ノード選択時)

- ノード群の反転 (複数ノード選択時)

+ ノード群の反転 (複数ノード選択時)

- セグメントの変更

+ セグメントの変更

- ノード種類の変更

+ ノード種類の変更

- 連結/切断

+ 連結/切断
- join selected end nodes with new segment + 選択した 2 つの端点ノード間を新しいセグメントで連結

- 削除、作成、複製

+ 削除、作成、複製
- delete segment between two non-endpoint nodes + 端点ではない 2 つのノード間のセグメントを削除

- 方向を逆に

+ 方向を逆に

- シェイプの編集

+ シェイプの編集

- フィルとパスエフェクトの編集

+ フィルとパスエフェクトの編集

- キャンセル

+ キャンセル
- +

スポイトツール

=== modified file 'inkscape.1' --- inkscape.1 2011-07-10 11:35:30 +0000 +++ inkscape.1 2012-02-16 12:59:31 +0000 @@ -1,4 +1,4 @@ -.\" Automatically generated by Pod::Man 2.23 (Pod::Simple 3.14) +.\" Automatically generated by Pod::Man 2.25 (Pod::Simple 3.16) .\" .\" Standard preamble: .\" ======================================================================== @@ -59,68 +59,6 @@ . de IX .. .\} -.\" -.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). -.\" Fear. Run. Save yourself. No user-serviceable parts. -. \" fudge factors for nroff and troff -.if n \{\ -. ds #H 0 -. ds #V .8m -. ds #F .3m -. ds #[ \f1 -. ds #] \fP -.\} -.if t \{\ -. ds #H ((1u-(\\\\n(.fu%2u))*.13m) -. ds #V .6m -. ds #F 0 -. ds #[ \& -. ds #] \& -.\} -. \" simple accents for nroff and troff -.if n \{\ -. ds ' \& -. ds ` \& -. ds ^ \& -. ds , \& -. ds ~ ~ -. ds / -.\} -.if t \{\ -. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" -. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' -. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' -. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' -. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' -. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' -.\} -. \" troff and (daisy-wheel) nroff accents -.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' -.ds 8 \h'\*(#H'\(*b\h'-\*(#H' -.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] -.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' -.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' -.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#] -.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] -.ds ae a\h'-(\w'a'u*4/10)'e -.ds Ae A\h'-(\w'A'u*4/10)'E -. \" corrections for vroff -.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' -.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' -. \" for low resolution devices (crt and lpr) -.if \n(.H>23 .if \n(.V>19 \ -\{\ -. ds : e -. ds 8 ss -. ds o a -. ds d- d\h'-1'\(ga -. ds D- D\h'-1'\(hy -. ds th \o'bp' -. ds Th \o'LP' -. ds ae ae -. ds Ae AE -.\} -.rm #[ #] #H #V #F C .\" ======================================================================== .\" .IX Title "INKSCAPE 1" @@ -614,7 +552,7 @@ Josh Andler, Tavmjong Bah, Pierre Barbry-Blot, -Jean-Fran\[,c]ois Barraud, +Jean-François Barraud, Bill Baxter, John Beard, John Bintz, @@ -645,9 +583,9 @@ Ben Cromwell, Robert Crosbie, Jon Cruz, -Aur\['e]lie De-Cooman, +Aurélie De-Cooman, Milosz Derezynski, -Daniel D\['i]az, +Daniel Díaz, Bruno Dilly, Larry Doolittle, Tim Dwyer, @@ -655,7 +593,7 @@ Johan Engelen, Miklos Erdelyi, Ulf Erikson, -No\['e] Falzon, +Noé Falzon, Frank Felfe, Andrew Fitzsimon, Edward Flick, @@ -670,7 +608,7 @@ Michael Grosberg, Bryce Harrington, Dale Harvey, -Aur\['e]lio Heckert, +Aurélio Heckert, Carl Hetherington, Jos Hirth, Hannes Hochreiner, @@ -691,9 +629,9 @@ James Kilfiger, Jason Kivlighn, Adrian Knoth, -Krzysztof Kosin\[aa]ski, +Krzysztof Kosiński, Petr Kovar, -Beno\[^i]t Lavorata, +Benoît Lavorata, Alex Leone, Julien Leray, Raph Levien, @@ -702,7 +640,7 @@ Vitaly Lipatov, Ivan Louette, Pierre-Antoine Marc, -Aurel-Aim\['e] Marmion, +Aurel-Aimé Marmion, Colin Marquardt, Dmitry G. Mastrukov, Matiphas, @@ -714,7 +652,7 @@ Tim Mooney, Derek P. Moore, Peter Moulder, -J\[:o]rg M\[:u]ller, +Jörg Müller, Yukihiro Nakai, Victor Navez, Christian Neumair, @@ -725,21 +663,21 @@ Jon Phillips, Zdenko Podobny, Alexandre Prokoudine, -Jean-Ren\['e] Reinhard, +Jean-René Reinhard, Alexey Remizov, Frederic Rodrigo, Hugo Rodrigues, Juarez Rudsatz, Xavier Conde Rueda, -Felipe Corr\[^e]a da Silva Sanches, -Aur\['e]lio A. Heckert, +Felipe Corrêa da Silva Sanches, +Aurélio A. Heckert, Christian Schaller, Marco Scholten, Tom von Schwerdtner, Shivaken, Michael Sloan, -Danilo \[vS]egan, -Bo\[vs]tjan \[vS]petic\[ah], +Danilo Šegan, +Boštjan Špetič, Aaron Spike, Kaushik Sridharan, Ralf Stephan, @@ -751,7 +689,7 @@ Jonas Termeau, David Turner, Andre Twupack, -Aleksandar Uro\[vs]evic\[aa], +Aleksandar Urošević, Lucas Vieites, Michael Wybrow, Daniel Yacob, === added file 'inkscape.el.1' --- inkscape.el.1 1970-01-01 00:00:00 +0000 +++ inkscape.el.1 2012-02-16 12:59:31 +0000 @@ -0,0 +1,829 @@ +.\" Automatically generated by Pod::Man 2.25 (Pod::Simple 3.16) +.\" +.\" Standard preamble: +.\" ======================================================================== +.de Sp \" Vertical space (when we can't use .PP) +.if t .sp .5v +.if n .sp +.. +.de Vb \" Begin verbatim text +.ft CW +.nf +.ne \\$1 +.. +.de Ve \" End verbatim text +.ft R +.fi +.. +.\" Set up some character translations and predefined strings. \*(-- will +.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left +.\" double quote, and \*(R" will give a right double quote. \*(C+ will +.\" give a nicer C++. Capital omega is used to do unbreakable dashes and +.\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, +.\" nothing in troff, for use with C<>. +.tr \(*W- +.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' +.ie n \{\ +. ds -- \(*W- +. ds PI pi +. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch +. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch +. ds L" "" +. ds R" "" +. ds C` "" +. ds C' "" +'br\} +.el\{\ +. ds -- \|\(em\| +. ds PI \(*p +. ds L" `` +. ds R" '' +'br\} +.\" +.\" Escape single quotes in literal strings from groff's Unicode transform. +.ie \n(.g .ds Aq \(aq +.el .ds Aq ' +.\" +.\" If the F register is turned on, we'll generate index entries on stderr for +.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index +.\" entries marked with X<> in POD. Of course, you'll have to process the +.\" output yourself in some meaningful fashion. +.ie \nF \{\ +. de IX +. tm Index:\\$1\t\\n%\t"\\$2" +.. +. nr % 0 +. rr F +.\} +.el \{\ +. de IX +.. +.\} +.\" ======================================================================== +.\" +.IX Title "INKSCAPE.EL 1" +.TH INKSCAPE 1 "" "Inkscape\-0.48.2" "Inkscape" +.\" For nroff, turn off justification. Always turn off hyphenation; it makes +.\" way too many mistakes in technical documents. +.if n .ad l +.nh +.SH "ΟΝΟΜΑ" +.IX Header "ΟΝΟΜΑ" +Inkscape \- ένα πρόγραμμα επεξεργασίας \s-1SVG\s0 (κλιμακώσιμων γραφικών +διανυσμάτων) +.SH "ΣΥΝΟΨΗ" +.IX Header "ΣΥΝΟΨΗ" +\&\f(CW\*(C`inkscape [επιλογές [όνομα_αρχείου ...]\*(C'\fR +.PP +επιλογές: +.PP +.Vb 3 +\& \-?, \-\-help +\& \-\-usage +\& \-V, \-\-version +\& +\& \-f, \-\-file=FILENAME +\& +\& \-e, \-\-export\-png=FILENAME +\& \-a, \-\-export\-area=x0:y0:x1:y1 +\& \-C, \-\-export\-area\-page +\& \-D, \-\-export\-area\-drawing +\& \-\-export\-area\-snap +\& \-i, \-\-export\-id=ID +\& \-j, \-\-export\-id\-only +\& \-t, \-\-export\-use\-hints +\& \-b, \-\-export\-background=COLOR +\& \-y, \-\-export\-background\-opacity=VALUE +\& \-d, \-\-export\-dpi=DPI +\& \-w, \-\-export\-width=WIDTH +\& \-h, \-\-export\-height=HEIGHT +\& +\& \-P, \-\-export\-ps=FILENAME +\& \-E, \-\-export\-eps=FILENAME +\& \-A, \-\-export\-pdf=FILENAME +\& \-\-export\-latex +\& +\& \-T, \-\-export\-text\-to\-path +\& \-\-export\-ignore\-filters +\& +\& \-l, \-\-export\-plain\-svg=FILENAME +\& +\& \-p, \-\-print=PRINTER +\& +\& \-I, \-\-query\-id=ID +\& \-X, \-\-query\-x +\& \-Y, \-\-query\-y +\& \-W, \-\-query\-width +\& \-H, \-\-query\-height +\& \-S, \-\-query\-all +\& +\& \-x, \-\-extension\-directory +\& +\& \-\-verb\-list +\& \-\-verb=VERB-ID +\& \-\-select=OBJECT-ID +\& +\& \-\-shell +\& +\& \-g, \-\-with\-gui +\& \-z, \-\-without\-gui +\& +\& \-\-vacuum\-defs +\& +\& \-\-g\-fatal\-warnings +.Ve +.SH "ΠΕΡΙΓΡΑΦΗ" +.IX Header "ΠΕΡΙΓΡΑΦΗ" +\&\fBInkscape\fR είναι ένας επεξεργαστής \s-1GUI\s0 για αρχεία σχεδίασης τύπου +\&\fBScalable Vector Graphics (\s-1SVG\s0)\fR, με δυνατότητες παρόμοιες με \fBAdobe +Illustrator\fR, \fBCorelDraw\fR, \fBXara Xtreme\fR, κλ. χαρακτηριστικά Inkscape που +περιλαμβάνουν εύχρηστα σχήματα, μονοπάτια bezier, ελεύθερη σχεδίαση, κείμενο +πολλαπλής γραμμής, κείμενο σε μονοπάτι, ανάμειξη άλφα, μετασχηματισμούς +ελεύθερου συσχετισμού, διαβαθμίσεις και γεμίσματα μοτίβων, επεξεργασία +κόμβου, πολλές μορφές εξαγωγής και εισαγωγής περιλαμβάνοντας \s-1PNG\s0 και \s-1PDF\s0, +ομαδοποίηση, στρώσεις, ζωντανούς κλώνους και πολλά άλλα. Η διεπαφή +σχεδιάστηκε να είναι άνετη και αποτελεσματική για έμπειρους χρήστες, ενώ +παραμένει συμβατή με πρότυπα \fB\s-1GNOME\s0\fR, έτσι ώστε χρήστες εξοικειωμένοι με +άλλες εφαρμογές \s-1GNOME\s0 να μπορούν να μάθουν τη διεπαφή της γρήγορα. +.PP +\&\fB\s-1SVG\s0\fR είναι ένα πρότυπο W3C τύπου \s-1XML\s0 για δισδιάστατη σχεδίαση +διανύσματος. Επιτρέπει ορισμό αντικειμένων στη σχεδίαση χρησιμοποιώντας +σημεία, μονοπάτια και αρχέτυπα σχήματα. Χρώματα, γραμματοσειρές, πλάτη +πινελιάς κ.ο.κ καθορίζονται ως γνωρίσματα `μορφοποίησης' σε αυτά τα +αντικείμενα. Ο σκοπός είναι ότι αφού \s-1SVG\s0 είναι ένα πρότυπο και αφού τα +αρχεία του είναι κείμενο/xml, θα είναι δυνατή η χρήση αρχείων \s-1SVG\s0 σε έναν +αρκετά μεγάλο αριθμό προγραμμάτων και για μεγάλο εύρος χρήσεων. +.PP +Το \fBInkscape\fR χρησιμοποιεί \s-1SVG\s0 ως εγγενή του τύπο αρχείων και έχει το σκοπό +να γίνει το πιο πλήρως συμβατό πρόγραμμα σχεδίασης για αρχεία \s-1SVG\s0 διαθέσιμα +στην κοινότητα ανοικτού κώδικα. +.SH "ΕΠΙΛΟΓΕΣ" +.IX Header "ΕΠΙΛΟΓΕΣ" +.IP "\fB\-?\fR, \fB\-\-help\fR" 8 +.IX Item "-?, --help" +Προβολή μηνύματος βοήθειας +.IP "\fB\-V\fR, \fB\-\-version\fR" 8 +.IX Item "-V, --version" +Προβολή έκδοσης Inkscape και ημερομηνία μεταγλώττισης. +.IP "\fB\-a\fR \fIx0:y0:x1:y1\fR, \fB\-\-export\-area\fR=\fIx0:y0:x1:y1\fR" 8 +.IX Item "-a x0:y0:x1:y1, --export-area=x0:y0:x1:y1" +Στην εξαγωγή \s-1PNG\s0, ορίστε την εξαγόμενη περιοχή σε μονάδες χρήστη \s-1SVG\s0 +(μονάδες ανώνυμου μήκους κανονικά χρησιμοποιούνται στο Inkscape \s-1SVG\s0). Η +προεπιλογή είναι η εξαγωγή της συνολικής σελίδας εγγράφου. Το σημείο (0,0) +είναι η κάτω αριστερή γωνία. +.IP "\fB\-C\fR, \fB\-\-export\-area\-page\fR" 8 +.IX Item "-C, --export-area-page" +Στην εξαγωγή \s-1PNG\s0, \s-1PDF\s0, \s-1PS\s0 και \s-1EPS\s0, η εξαγόμενη περιοχή είναι η σελίδα. Αυτή +είναι η προεπιλογή για \s-1PNG\s0, \s-1PDF\s0 και \s-1PS\s0, έτσι δεν χρειάζεται να το καθορίσετε +εκτός και χρησιμοποιείτε \-\-export\-id για εξαγωγή ενός ειδικού +αντικειμένου. Στο \s-1EPS\s0, όμως, αυτό δεν είναι προεπιλεγμένο. Επιπλέον για \s-1EPS\s0, +η προδιαγραφή του τύπου δεν επιτρέπει το οριακό του πλαίσιο να επεκτείνεται +πέρα από το περιεχόμενο του. Αυτό σημαίνει ότι όταν \-\-export\-area\-page +χρησιμοποιείται με εξαγωγή \s-1EPS\s0, το οριακό πλαίσιο της σελίδας θα περικοπεί +προς τα μέσα του οριακού πλαισίου του περιεχομένου εάν είναι μικρότερο. +.IP "\fB\-D\fR, \fB\-\-export\-area\-drawing\fR" 8 +.IX Item "-D, --export-area-drawing" +Στην εξαγωγή \s-1PNG\s0, \s-1PDF\s0, \s-1PS\s0 και \s-1EPS\s0, εξαγόμενη περιοχή είναι το σχέδιο (όχι η +σελίδα), δηλαδή το οριακό πλαίσιο όλων των αντικειμένων του εγγράφου (ή του +εξαγόμενου αντικειμένου εάν \-\-export\-id χρησιμοποιείται). Με αυτήν την +επιλογή, η εξαγόμενη εικόνα θα εμφανίσει όλα τα ορατά αντικείμενα του +εγγράφου χωρίς περιθώρια ή περικοπή. Αυτή είναι η προεπιλεγμένη περιοχή +εξαγωγής για \s-1EPS\s0. Για \s-1PNG\s0, μπορεί να χρησιμοποιηθεί σε συνδυασμό με +\&\-\-export\-use\-hints. +.IP "\fB\-\-export\-area\-snap\fR" 8 +.IX Item "--export-area-snap" +Για εξαγωγή \s-1PNG\s0, προσαρμογή της περιοχής εξαγωγής προς τα έξω στον +πλησιέστερο ακέραιο \s-1SVG\s0 τιμών μονάδας χρήστη (px). Εάν χρησιμοποιείτε την +προεπιλεγμένη ανάλυση εξαγωγής των 90 dpi και τα γραφικά σας προσαρμόζονται +στα εικονοστοιχεία για ελαχιστοποίηση εξομάλυνσης, αυτός ο διακόπτης σας +επιτρέπει να διατηρήσετε αυτή την ευθυγράμμιση ακόμα κι αν εξάγετε μερικά +οριακά πλαίσια αντικειμένου (με \-\-export\-id ή \-\-export\-area\-drawing) που +είναι το ίδιο μη ευθυγραμμιζόμενο με εικονοστοιχεία. +.IP "\fB\-b\fR \fI\s-1COLOR\s0\fR, \fB\-\-export\-background\fR=\fI\s-1COLOR\s0\fR" 8 +.IX Item "-b COLOR, --export-background=COLOR" +Το χρώμα παρασκηνίου του εξαγόμενου \s-1PNG\s0. Αυτό μπορεί να είναι οποιοδήποτε +αλφαριθμητικό υποστηριζόμενου χρώματος \s-1SVG\s0, π.χ. \*(L"#ff007f\*(R" ή \*(L"rgb(255, 0, +128)\*(R". Εάν δεν οριστεί, τότε το χρώμα της σελίδας που ορίστηκε στο Inkscape +στο διάλογο επιλογών εγγράφου θα χρησιμοποιηθεί (καταχωρημένο στο pagecolor= +attribute of sodipodi:namedview). +.IP "\fB\-d\fR \fI\s-1DPI\s0\fR, \fB\-\-export\-dpi\fR=\fI\s-1DPI\s0\fR" 8 +.IX Item "-d DPI, --export-dpi=DPI" +Η χρησιμοποιούμενη ανάλυση για εξαγωγή \s-1PNG\s0. Χρησιμοποιείται επίσης για τη +στάθμη εικονογραφικοποίησης των φιλτραρισμένων αντικειμένων όταν εξάγονται +σε \s-1PS\s0, \s-1EPS\s0, ή \s-1PDF\s0 (εκτός και καθορίσετε \-\-export\-ignore\-filters για να +καταργήσετε την εικονογραφικοποίηση). Η προεπιλογή είναι 90 dpi, που +αντιστοιχεί σε 1 μονάδα χρήστη \s-1SVG\s0 (px, που λέγεται επίσης \*(L"μονάδα χρήστη\*(R") +εξαγωγής ανά 1 εικονοστοιχείο ψηφιογραφίας. Αυτή η τιμή υπερισχύει της +υπόδειξης \s-1DPI\s0 εάν χρησιμοποιηθεί με \-\-export\-use\-hints. +.IP "\fB\-e\fR \fI\s-1FILENAME\s0\fR, \fB\-\-export\-png\fR=\fI\s-1FILENAME\s0\fR" 8 +.IX Item "-e FILENAME, --export-png=FILENAME" +Καθορισμός του ονόματος αρχείου για εξαγωγή \s-1PNG\s0. Εάν ήδη υπάρχει, το αρχείο +θα αντικατασταθεί χωρίς ερώτηση. +.IP "\fB\-f\fR \fI\s-1FILENAME\s0\fR, \fB\-\-file\fR=\fI\s-1FILENAME\s0\fR" 8 +.IX Item "-f FILENAME, --file=FILENAME" +Άνοιγμα καθορισμένων εγγράφων. Το αλφαριθμητικό επιλογής μπορεί να +παραληφθεί, δηλαδή μπορείτε να καταγράψετε τα ονόματα αρχείου χωρίς \-f. +.IP "\fB\-g\fR, \fB\-\-with\-gui\fR" 8 +.IX Item "-g, --with-gui" +Δοκιμάστε να χρησιμοποιήσετε το \s-1GUI\s0 (σε Unix, χρησιμοποιήστε τον εξυπηρετητή +X ακόμα κι αν το \f(CW$DISPLAY\fR δεν καθορίζεται). +.IP "\fB\-h\fR \fI\s-1HEIGHT\s0\fR, \fB\-\-export\-height\fR=\fI\s-1HEIGHT\s0\fR" 8 +.IX Item "-h HEIGHT, --export-height=HEIGHT" +Το ύψος της δημιουργημένης ψηφιογραφίας σε εικονοστοιχεία. Αυτή η τιμή +υπερισχύει του ορισμού \-\-export\-dpi (ή της υπόδειξης \s-1DPI\s0, εάν +χρησιμοποιείται με \-\-export\-use\-hints). +.IP "\fB\-i\fR \fI\s-1ID\s0\fR, \fB\-\-export\-id\fR=\fI\s-1ID\s0\fR" 8 +.IX Item "-i ID, --export-id=ID" +Για εξαγωγή \s-1PNG\s0, \s-1PS\s0, \s-1EPS\s0 και \s-1PDF\s0, η τιμή γνωρίσματος id του αντικειμένου που +θέλετε να εξάγετε από το έγγραφο. Όλα τα άλλα αντικείμενα δεν εξάγονται. Από +προεπιλογή η εξαγόμενη περιοχή είναι το οριακό πλαίσιο του +αντικειμένου. Μπορείτε να το παρακάμψετε χρησιμοποιώντας \-\-export\-area (μόνο +\&\s-1PNG\s0) ή \-\-export\-area\-page. +.IP "\fB\-j\fR, \fB\-\-export\-id\-only\fR" 8 +.IX Item "-j, --export-id-only" +Εξαγωγή μόνο σε \s-1PNG\s0 του αντικειμένου του οποίου το id δίνεται στο +\&\-\-export\-id. Όλα τα άλλα αντικείμενα κρύβονται και δεν θα εμφανιστούν στην +εξαγωγή ακόμα κι αν επικαλύπτουν το εξαγόμενο αντικείμενο. Χωρίς +\&\-\-export\-id, αυτή η επιλογή αγνοείται. Για εξαγωγή \s-1PDF\s0, αυτό είναι η +προεπιλογή, έτσι αυτή η επιλογή δεν έχει επίδραση. +.IP "\fB\-l\fR, \fB\-\-export\-plain\-svg\fR=\fI\s-1FILENAME\s0\fR" 8 +.IX Item "-l, --export-plain-svg=FILENAME" +Εξαγωγή αντικειμένων σε απλή μορφή \s-1SVG\s0, χωρίς κενά ονόματος sodipodi: ή +inkscape και χωρίς μεταδεδομένα \s-1RDF\s0. +.IP "\fB\-x\fR, \fB\-\-extension\-directory\fR" 8 +.IX Item "-x, --extension-directory" +Καταγράφει τον τρέχοντα κατάλογο επέκτασης που το Inkscape ρύθμισε για χρήση +και εξέρχεται. Αυτό χρησιμοποιείται για εξωτερική επέκταση για να +χρησιμοποιηθεί η ίδια ρύθμιση όπως η αρχική εγκατάσταση του Inkscape. +.IP "\fB\-\-verb\-list\fR" 8 +.IX Item "--verb-list" +Καταγράφει όλα τα διαθέσιμα ρήματα στο Inkscape με ταυτότητα. Αυτή η +ταυτότητα μπορεί να χρησιμοποιηθεί για ορισμό χαρτογράφησης πλήκτρων ή +μενού. Μπορεί επίσης να χρησιμοποιηθεί με την επιλογή γραμμής εντολής +\&\-\-verb. +.IP "\fB\-\-verb\fR=\fIVERB\-ID\fR, \fB\-\-select\fR=\fIOBJECT\-ID\fR" 8 +.IX Item "--verb=VERB-ID, --select=OBJECT-ID" +Αυτές οι δύο επιλογές δουλεύουν μαζί για να δώσουν κάποια βασικά σενάρια για +το Inkscape από τη γραμμή εντολών. Και οι δύο μπορούν να συμβούν όσες φορές +χρειάζονται στη γραμμή εντολών και εκτελούνται με τη σειρά σε κάθε έγγραφο +που καθορίζεται. +.Sp +Η εντολή \-\-verb θα εκτελέσει ένα ειδικό ρήμα σαν να καλέστηκε από ένα μενού +ή κουμπί. Οι διάλογοι θα εμφανιστούν, εάν αυτό είναι τμήμα του ρήματος. Για +λήψη μιας λίστας των διαθέσιμων ταυτοτήτων ρημάτων, χρησιμοποιήστε την +επιλογή γραμμής εντολής \-\-verb\-list. +.Sp +Η εντολή \-\-select θα προκαλέσει τα αντικείμενα που έχουν τις καθορισμένες +ταυτότητες να επιλεγούν. Αυτό επιτρέπει ποικίλα ρήματα να επενεργήσουν σε +αυτά. Για να αφαιρέσετε όλες τις επιλογές χρησιμοποιήστε +\&\-\-verb=EditDeselect. Οι διαθέσιμες ταυτότητες αντικειμένων εξαρτώνται από το +καθοριζόμενο έγγραφο για φόρτωση. +.IP "\fB\-p\fR \fI\s-1PRINTER\s0\fR, \fB\-\-print\fR=\fI\s-1PRINTER\s0\fR" 8 +.IX Item "-p PRINTER, --print=PRINTER" +Εκτύπωση εγγράφων στον καθορισμένο εκτυπωτή χρησιμοποιώντας `lpr \-P +ΕΚΤΥΠΩΤΗΣ'. Εναλλακτικά χρησιμοποιήστε `| \s-1COMMAND\s0' για να καθορίσετε μια +διαφορετική εντολή διοχέτευσης, ή χρησιμοποιήστε `> ΟΝΟΜΑΑΡΧΕΙΟΥ' για να +γράψετε την έξοδο PostScript σε ένα αρχείο αντί για εκτύπωση. Να θυμόσαστε +να βάλετε κατάλληλα εισαγωγικά για το κέλυφος σας, π.χ. +.Sp +inkscape \-\-print='| ps2pdf \- mydoc.pdf' mydoc.svg +.IP "\fB\-t\fR, \fB\-\-export\-use\-hints\fR" 8 +.IX Item "-t, --export-use-hints" +Χρησιμοποιήστε όνομα αρχείου και υποδείξεις \s-1DPI\s0 αποθηκευμένες στο εξαγόμενο +αντικείμενο (μόνο με \-\-export\-id). Αυτές οι υποδείξεις ορίζονται αυτόματα, +όταν εξάγετε επιλογή μες το Inkscape. Έτσι, για παράδειγμα, εάν εξάγετε ένα +σχήμα με id=\*(L"path231\*(R" ως /home/me/shape.png στα 300 dpi από document.svg +χρησιμοποιώντας Inkscape \s-1GUI\s0 και αποθηκεύσετε το έγγραφο, έπειτα αργότερα θα +μπορείτε να το επανεξάγετε αυτό το σχήμα στο ίδιο αρχείο με την ίδια ανάλυση +απλά με +.Sp +inkscape \-i path231 \-t document.svg +.Sp +Εάν χρησιμοποιήσετε \-\-export\-dpi, \-\-export\-width ή \-\-export\-height με αυτήν +την επιλογή, έπειτα η υπόδειξη \s-1DPI\s0 θα αγνοηθεί και η τιμή από τη γραμμή +εντολής θα χρησιμοποιηθεί. Εάν χρησιμοποιήσετε \-\-export\-png με αυτήν την +επιλογή, τότε η υπόδειξη ονόματος αρχείου θα αγνοηθεί και το όνομα αρχείου +από τη γραμμή εντολών θα χρησιμοποιηθεί. +.IP "\fB\-w\fR \fI\s-1WIDTH\s0\fR, \fB\-\-export\-width\fR=\fI\s-1WIDTH\s0\fR" 8 +.IX Item "-w WIDTH, --export-width=WIDTH" +Το πλάτος της δημιουργούμενης ψηφιογραφίας σε εικονοστοιχεία. Αυτή η τιμή +υπερισχύει της ρύθμισης \-\-export\-dpi (ή της υπόδειξης \s-1DPI\s0 εάν +χρησιμοποιείται με \-\-export\-use\-hints). +.IP "\fB\-y\fR \fI\s-1VALUE\s0\fR, \fB\-\-export\-background\-opacity\fR=\fI\s-1VALUE\s0\fR" 8 +.IX Item "-y VALUE, --export-background-opacity=VALUE" +Η αδιαφάνεια του παρασκηνίου του εξαγόμενου \s-1PNG\s0. Αυτό μπορεί να είναι η τιμή +είτε μεταξύ 0 και 1 (0 σημαίνει πλήρη διαφάνεια και 1 πλήρη αδιαφάνεια) ή +μεγαλύτερη από 1 μέχρι 255 (255 σημαίνει πλήρης αδιαφάνεια). Εάν δεν οριστεί +και η επιλογή \-b δεν χρησιμοποιηθεί, τότε η αδιαφάνεια της σελίδας που +ορίζεται στο Inkscape στο διάλογο επιλογών εγγράφου θα χρησιμοποιηθεί +(καταχωρημένη στο γνώρισμα inkscape:pageopacity= attribute του +sodipodi:namedview). Εάν δεν οριστεί αλλά χρησιμοποιηθεί η επιλογή \-b, τότε +η τιμή 255 (πλήρης αδιαφάνεια) θα χρησιμοποιηθεί. +.IP "\fB\-P\fR \fI\s-1FILENAME\s0\fR, \fB\-\-export\-ps\fR=\fI\s-1FILENAME\s0\fR" 8 +.IX Item "-P FILENAME, --export-ps=FILENAME" +Εξαγωγή εγγράφων σε μορφή PostScript. Σημειώστε ότι το PostScript δεν +υποστηρίζει διαφάνεια, έτσι οποιαδήποτε διαφανή αντικείμενα στο αρχικό \s-1SVG\s0 +θα εικονογραφικοποιηθούν αυτόματα. Οι χρησιμοποιούμενες γραμματοσειρές είναι +υποσύνολο και ενσωματωμένες. Η προεπιλεγμένη περιοχή εξαγωγής είναι +σελίδα. Μπορείτε να την ορίσετε στο σχέδιο με +\&\-\-export\-area\-drawing. Μπορείτε να καθορίσετε \-\-export\-id για εξαγωγή ενός +μονού αντικειμένου (όλα τα άλλα κρύβονται). Στην περίπτωση αυτή η περιοχή +εξαγωγής είναι το οριακό πλαίσιο αυτού του αντικειμένου, αλλά μπορεί να +οριστεί σε σελίδα με \-\-export\-area\-page. +.IP "\fB\-E\fR \fI\s-1FILENAME\s0\fR, \fB\-\-export\-eps\fR=\fI\s-1FILENAME\s0\fR" 8 +.IX Item "-E FILENAME, --export-eps=FILENAME" +Εξαγωγή εγγράφων σε μορφή ενσωματωμένου PostScript. Σημειώστε ότι το +PostScript δεν υποστηρίζει διαφάνεια, έτσι οποιαδήποτε διαφανή αντικείμενα +στο αρχικό \s-1SVG\s0 θα εικονογραφικοποιηθούν αυτόματα. Οι χρησιμοποιούμενες +γραμματοσειρές είναι υποσύνολο και ενσωματωμένες. Η προεπιλεγμένη περιοχή +εξαγωγής είναι σχέδιο. Μπορείτε να το ορίσετε στη σελίδα, όμως δείτε +\&\-\-export\-area\-page για εφαρμοζόμενους περιορισμούς. Μπορείτε να καθορίσετε +\&\-\-export\-id για να εξάγετε ένα μονό αντικείμενο (όλα τα άλλα κρύβονται). +.IP "\fB\-A\fR \fI\s-1FILENAME\s0\fR, \fB\-\-export\-pdf\fR=\fI\s-1FILENAME\s0\fR" 8 +.IX Item "-A FILENAME, --export-pdf=FILENAME" +Εξαγωγή εγγράφων σε μορφή \s-1PDF\s0. Αυτή η μορφή διατηρεί τη διαφάνεια στο αρχικό +\&\s-1SVG\s0. Οι χρησιμοποιούμενες γραμματοσειρές είναι υποσύνολο και +ενσωματωμένες. Η προεπιλεγμένη περιοχή εξαγωγής είναι σελίδα. Μπορείτε να το +ορίσετε σε σχέδιο, με \-\-export\-area\-drawing. Μπορείτε να καθορίσετε +\&\-\-export\-id για να εξάγετε ένα μονό αντικείμενο (όλα τα άλλα κρύβονται). Σε +αυτή την περίπτωση περιοχή εξαγωγής είναι αυτή του οριακού πλαισίου +αντικειμένου, αλλά μπορεί να οριστεί σε σελίδα με \-\-export\-area\-page. +.IP "\fB\-\-export\-latex\fR" 8 +.IX Item "--export-latex" +(για εξαγωγή \s-1PS\s0, \s-1EPS\s0 και \s-1PDF\s0) Χρησιμοποιείται για δημιουργία εικόνων για +έγγραφα LaTeX, όπου το κείμενο της εικόνας στοιχειοθετείται από LaTeX. Όταν +εξάγετε σε μορφή \s-1PDF/PS/EPS\s0, αυτή η επιλογή διαιρεί την έξοδο σε ένα αρχείο +\&\s-1PDF/PS/EPS\s0 (π.χ. όπως ορίζεται από \-\-export\-pdf) και ένα αρχείο LaTeX. Το +κείμενο δεν εξάγεται σε αρχείο \s-1PDF/PS/EPS\s0, αλλά αντίθετα θα εμφανιστεί στο +αρχείο LaTeX. Αυτό το αρχείο LaTeX συμπεριλαμβάνει το \s-1PDF/PS/EPS\s0. Είσοδος +του αρχείου LaTeX (\einput{image.tex}) στο έγγραφό σας LaTeX θα εμφανίσει την +εικόνα και όλο το κείμενο θα στοιχειοθετείται από LaTeX. Δείτε το τελικό +αρχείο LaTeX για περισσότερες πληροφορίες. Επίσης δείτε την έξοδο τερματικού +GNUPlot's `epslatex'. +.IP "\fB\-T\fR, \fB\-\-export\-text\-to\-path\fR" 8 +.IX Item "-T, --export-text-to-path" +Μετατροπή αντικειμένων κειμένου σε μονοπάτια στην εξαγωγή, όπου μπορεί να +εφαρμοστεί (για εξαγωγή \s-1PS\s0, \s-1EPS\s0 και \s-1PDF\s0). +.IP "\fB\-\-export\-ignore\-filters\fR" 8 +.IX Item "--export-ignore-filters" +Εξαγωγή φιλτραρισμένων αντικειμένων (π.χ. αυτά με θόλωση) όπως διανύσματα, +αγνοώντας τα φίλτρα (για εξαγωγή \s-1PS\s0, \s-1EPS\s0 και \s-1PDF\s0). Από προεπιλογή, όλα τα +φιλτραρισμένα αντικείμενα εικονογραφικοποιούνται στο \-\-export\-dpi +(προεπιλογή 90 dpi), διατηρώντας την εμφάνιση. +.IP "\fB\-I\fR, \fB\-\-query\-id\fR" 8 +.IX Item "-I, --query-id" +Ορισμός της ταυτότητας του αντικειμένου του οποίου οι διαστάσεις +αναζητούνται. Εάν δεν οριστεί, οι επιλογές ερωτήματος θα επιστρέψουν τις +διαστάσεις του σχεδίου (δηλαδή όλα τα αντικείμενα εγγράφου), όχι τη σελίδα ή +το πλαίσιο θέασης +.IP "\fB\-X\fR, \fB\-\-query\-x\fR" 8 +.IX Item "-X, --query-x" +Ερώτημα της συντεταγμένης Χ του σχεδίου ή, εάν καθοριστεί, του αντικειμένου +με \-\-query\-id. Η επιστρεφόμενη τιμή είναι σε px (μονάδες χρήστη \s-1SVG\s0). +.IP "\fB\-Y\fR, \fB\-\-query\-y\fR" 8 +.IX Item "-Y, --query-y" +Ερώτημα της συντεταγμένης Υ του σχεδίου ή, εάν καθοριστεί, του αντικειμένου +με \-\-query\-id. Η επιστρεφόμενη τιμή είναι σε px (μονάδες χρήστη \s-1SVG\s0). +.IP "\fB\-W\fR, \fB\-\-query\-width\fR" 8 +.IX Item "-W, --query-width" +Ερώτημα του πλάτους του σχεδίου ή, εάν καθοριστεί, του αντικειμένου με +\&\-\-query\-id. Η επιστρεφόμενη τιμή είναι σε px (μονάδες χρήστη \s-1SVG\s0). +.IP "\fB\-H\fR, \fB\-\-query\-height\fR" 8 +.IX Item "-H, --query-height" +Ερώτημα του ύψους Ερώτημα της συντεταγμένης Χ του σχεδίου ή, εάν καθοριστεί, +του αντικειμένου με \-\-query\-id. Η επιστρεφόμενη τιμή είναι σε px (μονάδες +χρήστη \s-1SVG\s0). +.IP "\fB\-S\fR, \fB\-\-query\-all\fR" 8 +.IX Item "-S, --query-all" +Εκτυπώνει μια λίστα όλων των αντικειμένων που είναι οριοθετημένοι με κόμμα +στο έγγραφο \s-1SVG\s0 με καθορισμένες ταυτότητες, μαζί με τις τιμές τους x, y, +πλάτους και ύψους. +.IP "\fB\-\-shell\fR" 8 +.IX Item "--shell" +Με αυτήν την παράμετρο, το Inkscape θα εισάγει μια κατάσταση κελύφους +διαδραστικής γραμμής εντολής. Σε αυτήν την κατάσταση, πληκτρολογήστε εντολές +στην προτροπή και το Inkscape τις εκτελεί, χωρίς να πρέπει να τρέξετε ένα +νέο αντίγραφο του Inkscape για κάθε εντολή. Αυτό το χαρακτηριστικό είναι +ιδιαίτερα χρήσιμο για χρήσεις σεναρίου και εξυπηρετητή: δεν προσθέτει νέες +δυνατότητες, αλλά σας επιτρέπει να βελτιώσετε τις απαιτήσεις ταχύτητας και +μνήμης οποιουδήποτε σεναρίου που καλεί επανειλημμένα το Inkscape να +εκτελέσει εργασίες γραμμής εντολών (όπως εξαγωγή ή συζητήσεις). Κάθε εντολή +σε κατάσταση κελύφους πρέπει να είναι μια πλήρως έγκυρη γραμμή εντολής +Inkscape, αλλά χωρίς το όνομα προγράμματος Inkscape, π.χ. \*(L"file.svg +\&\-\-export\-pdf=file.pdf\*(R". +.IP "\fB\-\-vacuum\-defs\fR" 8 +.IX Item "--vacuum-defs" +Αφαιρεί όλα τα αχρησιμοποίητα στοιχεία από την ενότητα defs του +αρχείου \s-1SVG\s0. Εάν αυτή η επιλογή κληθεί σε συνδυασμό με την +\&\-\-export\-plain\-svg, μόνο το εξαγόμενο αρχείο θα επηρεαστεί. Εάν +χρησιμοποιηθεί μόνη, το καθορισμένο αρχείο θα τροποποιηθεί επιτόπου. +.IP "\fB\-z\fR, \fB\-\-without\-gui\fR" 8 +.IX Item "-z, --without-gui" +Μην ανοίγετε το \s-1GUI\s0 (σε Unix, μην χρησιμοποιείτε εξυπηρετητή X). Μόνο +επεξεργασία των αρχείων από την κονσόλα. Αυτό αναλαμβάνεται για επιλογές \-p, +\&\-e, \-l και \-\-vacuum\-defs. +.IP "\fB\-\-g\-fatal\-warnings\fR" 8 +.IX Item "--g-fatal-warnings" +Αυτή η πρότυπη επιλογή \s-1GTK\s0 εξαναγκάζει οποιεσδήποτε προειδοποιήσεις, συνήθως +αβλαβείς, να προκαλέσουν εγκατάλειψη του Inkscape (χρήσιμο για +αποσφαλμάτωση). +.IP "\fB\-\-usage\fR" 8 +.IX Item "--usage" +Προβολή ενός σύντομου μηνύματος χρήσης. +.SH "ΔΙΑΜΟΡΦΩΣΗ" +.IX Header "ΔΙΑΜΟΡΦΩΣΗ" +Το κυρίως αρχείο διαμόρφωσης είναι τοποθετημένο στο +~/.config/inkscape/preferences.xml. Αποθηκεύει μια ποικιλία ρυθμίσεων +διαμόρφωσης που μπορείτε να αλλάξετε στο Inkscape (συνήθως στο διάλογο +προτιμήσεων του Inkscape). Επίσης στους υποκαταλόγους εκεί, μπορείτε να +τοποθετήσετε το δικό σας: +.PP +\&\fB\f(CB$HOME\fB\fR/.config/inkscape/extensions/ \- εφέ επέκτασης. +.PP +\&\fB\f(CB$HOME\fB\fR/.config/inkscape/icons/ \- εικονίδια. +.PP +\&\fB\f(CB$HOME\fB\fR/.config/inkscape/keys/ \- χάρτες πληκτρολογίου. +.PP +\&\fB\f(CB$HOME\fB\fR/.config/inkscape/templates/ \- πρότυπα νέων αρχείων. +.SH "ΔΙΑΓΝΩΣΤΙΚΑ" +.IX Header "ΔΙΑΓΝΩΣΤΙΚΑ" +Το πρόγραμμα επιστρέφει μηδέν σε επιτυχία ή μη μηδέν σε αποτυχία. +.PP +Μια ποικιλία μηνυμάτων λαθών και προειδοποιήσεων μπορεί να τυπωθεί στο +\&\s-1STDERR\s0 ή \s-1STDOUT\s0. Εάν το πρόγραμμα συμπεριφέρεται ακανόνιστα με ένα +συγκεκριμένο αρχείο \s-1SVG\s0 ή καταρρέει, είναι χρήσιμο να κοιτάξετε σε αυτή την +έξοδο για στοιχεία. +.SH "ΠΑΡΑΔΕΙΓΜΑΤΑ" +.IX Header "ΠΑΡΑΔΕΙΓΜΑΤΑ" +Αν και προφανώς το \fBInkscape\fR σκοπεύει κυρίως ως μια εφαρμογή \s-1GUI\s0, μπορεί +επίσης να χρησιμοποιηθεί για να κάνει επεξεργασία \s-1SVG\s0 στη γραμμή εντολών +επίσης. +.PP +Άνοιγμα ενός αρχείου \s-1SVG\s0 στο \s-1GUI:\s0 +.PP +.Vb 1 +\& inkscape filename.svg +.Ve +.PP +Εκτύπωση ενός αρχείου \s-1SVG\s0 από τη γραμμή εντολών: +.PP +.Vb 1 +\& inkscape filename.svg \-p \*(Aq| lpr\*(Aq +.Ve +.PP +Εξαγωγή ενός αρχείου \s-1SVG\s0 σε \s-1PNG\s0 με την προκαθορισμένη ανάλυση των 90dpi (μια +μονάδα χρήστη \s-1SVG\s0 μεταφράζει σε ένα εικονοστοιχείο ψηφιογραφίας): +.PP +.Vb 1 +\& inkscape filename.svg \-\-export\-png=filename.png +.Ve +.PP +Το ίδιο, αλλά εξαναγκάζει το αρχείο \s-1PNG\s0 να είναι 600x400 εικονοστοιχεία: +.PP +.Vb 1 +\& inkscape filename.svg \-\-export\-png=filename.png \-w600 \-h400 +.Ve +.PP +Το ίδιο, αλλά εξάγει το σχέδιο (οριακά πλαίσια όλων των αντικειμένων), όχι +τη σελίδα: +.PP +.Vb 1 +\& inkscape filename.svg \-\-export\-png=filename.png \-\-export\-area\-drawing +.Ve +.PP +Εξαγωγή σε \s-1PNG\s0 του αντικειμένου με id=\*(L"text1555\*(R", χρησιμοποιώντας το όνομα +αρχείου εξόδου και την ανάλυση που χρησιμοποιήθηκε για αυτό το αντικείμενο +την τελευταία φορά, όταν εξάχθηκε από το \s-1GUI:\s0 +.PP +.Vb 1 +\& inkscape filename.svg \-\-export\-id=text1555 \-\-export\-use\-hints +.Ve +.PP +Το ίδιο, αλλά χρήση της επιλεγμένης ανάλυσης 90 dpi, καθορισμός του ονόματος +αρχείου και προσαρμογή της εξαγόμενης περιοχής προς τα έξω στις πιο κοντινές +ακέραιες τιμές μονάδας χρήστη \s-1SVG\s0 (για να διατηρηθεί η ευθυγράμμιση +εικονοστοιχείου των αντικειμένων και έτσι να ελαχιστοποιηθεί η εξομάλυνση): +.PP +.Vb 1 +\& inkscape filename.svg \-\-export\-id=text1555 \-\-export\-png=text.png \-\-export\-area\-snap +.Ve +.PP +Μετατροπή ενός εγγράφου Inkscape \s-1SVG\s0 σε απλό \s-1SVG:\s0 +.PP +.Vb 1 +\& inkscape filename1.svg \-\-export\-plain\-svg=filename2.svg +.Ve +.PP +Μετατροπή ενός εγγράφου \s-1SVG\s0 σε \s-1EPS\s0, μετατρέποντας όλα τα κείμενα σε +μονοπάτια: +.PP +.Vb 1 +\& inkscape filename.svg \-\-export\-eps=filename.eps \-\-export\-text\-to\-path +.Ve +.PP +Ερώτημα πλάτους του αντικειμένου με id=\*(L"text1555\*(R": +.PP +.Vb 1 +\& inkscape filename.svg \-\-query\-width \-\-query\-id text1555 +.Ve +.PP +Διπλασιασμός του αντικειμένου με id=\*(L"path1555\*(R", περιστροφή του διπλότυπου +κατά 90 μοίρες, αποθήκευση \s-1SVG\s0 και έξοδος: +.PP +.Vb 1 +\& inkscape filename.svg \-\-select=path1555 \-\-verb=EditDuplicate \-\-verb=ObjectRotate90 \-\-verb=FileSave \-\-verb=FileClose +.Ve +.SH "ΠΕΡΙΒΑΛΛΟΝ" +.IX Header "ΠΕΡΙΒΑΛΛΟΝ" +\&\fB\s-1DISPLAY\s0\fR για λήψη του προεπιλεγμένου αριθμού υποδοχής και εμφάνισης. +.PP +\&\fB\s-1TMPDIR\s0\fR για ορισμό του προεπιλεγμένου μονοπατιού του καταλόγου για χρήση +των προσωρινών αρχείων. Ο κατάλογος πρέπει να υπάρχει. +.SH "ΘΕΜΑΤΑ" +.IX Header "ΘΕΜΑΤΑ" +Για φόρτωση διαφορετικών εικονιδίων καθορίζει αντί για το προεπιλεγμένο +αρχείο \fB\f(CB$PREFIX\fB\fR/share/inkscape/icons/icons.svg, χρησιμοποιείται ο +κατάλογος \fB\f(CB$HOME\fB\fR/.config/inkscape/icons/. Τα εικονίδια φορτώνονται κατ' +όνομα (π.χ. \fIfill_none.svg\fR), ή εάν δεν βρεθεί τότε από \fIicons.svg\fR. Εάν +το εικονίδιο δεν φορτωθεί από κάποια από αυτές τις θέσεις, επιστρέφει στην +προεπιλεγμένη θέση του συστήματος. +.PP +Τα απαιτούμενα εικονίδια φορτώνονται από αρχεία \s-1SVG\s0 αναζητώντας για την +ταυτότητα \s-1SVG\s0 με το όνομα εικονιδίου που ταιριάζει. (Π.χ., για φόρτωμα του +εικονιδίου \*(L"fill_none\*(R" από ένα αρχείο, το οριακό πλαίσιο που αναζητήθηκε για +ταυτότητα \s-1SVG\s0 \*(L"fill_none\*(R" αποδίδεται ως εικονίδιο, είτε έρχεται από +\&\fIfill_none.svg\fR ή \fIicons.svg\fR.) +.SH "ΑΛΛΕΣ ΠΛΗΡΟΦΟΡΙΕΣ" +.IX Header "ΑΛΛΕΣ ΠΛΗΡΟΦΟΡΙΕΣ" +Η κανονική θέση για εύρεση των πληροφοριών \fBInkscape\fR είναι στο +http://www.inkscape.org/. Η ιστοσελίδα έχει νέα, τεκμηρίωση, μαθήματα, +παραδείγματα, αρχείο λίστας αλληλογραφίας, την τελευταία έκδοση του +προγράμματος, βάσεις δεδομένων ερωτημάτων για σφάλματα και χαρακτηριστικά +και άλλα. +.SH "ΔΕΙΤΕ ΕΠΙΣΗΣ" +.IX Header "ΔΕΙΤΕ ΕΠΙΣΗΣ" +potrace, cairo, \fIrsvg\fR\|(1), batik, ghostscript, pstoedit. +.PP +πακέτο ελέγχου συμβατότητας \s-1SVG:\s0 http://www.w3.org/Graphics/SVG/Test/ +.PP +Επικυρωτής \s-1SVG:\s0 http://jiggles.w3.org/svgvalidator/ +.PP +\&\fIScalable Vector Graphics (\s-1SVG\s0) 1.1 Specification\fR \fIW3C Recommendation 14 +January 2003\fR +.PP +\&\fIScalable Vector Graphics (\s-1SVG\s0) 1.2 Specification\fR \fIW3C Working Draft 13 +November 2003\fR +.PP +\&\fI\s-1SVG\s0 1.1/1.2/2.0 Requirements\fR \fIW3C Working Draft 22 April 2002\fR + +.PP +\&\fIDocument Object Model (\s-1DOM\s0): Level 2 Core\fR \fIArnaud Le Hors et al editors, +W3C\fR http://www.w3.org/TR/DOM\-Level\-2\-Core/ +.SH "ΣΗΜΕΙΩΣΕΙΣ GUI" +.IX Header "ΣΗΜΕΙΩΣΕΙΣ GUI" +Για να μάθετε για τη λειτουργία Inkscape's \s-1GUI\s0, διαβάστε τα μαθήματα στο +Βοήθεια > Μαθήματα. +.PP +Πέρα από \s-1SVG\s0, το Inkscape μπορεί να εισάγει (Αρχείο > Εισαγωγή) τις +περισσότερες μορφές ψηφιογραφίας (\s-1PNG\s0, \s-1BMP\s0, \s-1JPG\s0, \s-1XPM\s0, \s-1GIF\s0, κλ.), απλό +κείμενο (απαιτεί Perl), \s-1PS\s0 και \s-1EPS\s0 (απαιτεί Ghostscript), \s-1PDF\s0 και μορφή \s-1AI\s0 +(\s-1AI\s0 έκδοση 9.0 ή νεότερη). +.PP +Το Inkscape εξάγει εικόνες \s-1PNG\s0 32\-δυαδικών (Αρχείο > Εξαγωγή) καθώς και \s-1AI\s0, +\&\s-1PS\s0, \s-1EPS\s0, \s-1PDF\s0, \s-1DXF\s0 και πολλές άλλες μορφές μέσα από Αρχείο > Αποθήκευση ως. +.PP +Το Inkscape μπορεί να χρησιμοποιήσει την πίεση και κλίση μιας πένας γραφικής +πινακίδας για πλάτος, γωνία και εξαναγκασμό της επενέργειας πολλών +εργαλείων, συμπεριλαμβανόμενης της καλλιγραφικής πένας. +.PP +Το Inkscape περιλαμβάνει ένα \s-1GUI\s0 σύστημα επικοινωνίας στη μηχανή ανίχνευσης +ψηφιογραφίας Potrace (http://potrace.sf.net) που ενσωματώνεται στο Inkscape. +.PP +Το Inkscape μπορεί να χρησιμοποιήσει εξωτερικά σενάρια (φίλτρα +stdin-to-stdout) που αναπαριστάνονται από εντολές στο μενού επεκτάσεων. Ένα +σενάριο μπορεί να έχει ένα διάλογο \s-1GUI\s0 για ορισμό ποικίλων παραμέτρων και +μπορεί να λάβει τις ταυτότητες των επιλεγμένων αντικειμένων στα οποία δρα +μέσω της γραμμής εντολών. Το Inkscape έρχεται με μια ταξινόμηση εφέ γραμμένη +σε Python. +.SH "ΣΥΝΔΥΑΣΜΟΙ ΠΛΗΚΤΡΩΝ" +.IX Header "ΣΥΝΔΥΑΣΜΟΙ ΠΛΗΚΤΡΩΝ" +Για λήψη μιας πλήρους λίστας των συντομεύσεων πληκτρολογίου και ποντικιού, +δείτε doc/keys.html ή χρησιμοποιήστε την εντολή πλήκτρα και ποντίκι στο +μενού βοήθειας. +.SH "ΣΦΑΛΜΑΤΑ" +.IX Header "ΣΦΑΛΜΑΤΑ" +Πολλά σφάλματα είναι γνωστά. Παρακαλώ κοιτάξτε στον ιστότοπο (inkscape.org) +για να δείτε τα αναφερθέντα σφάλματα και να αναφέρετε νεοευρεθέντα +θέματα. Δείτε επίσης την ενότητα γνωστών θεμάτων στις σημειώσεις έκδοσης για +την έκδοσή σας (αρχείο`\s-1NEWS\s0'). +.SH "ΣΥΓΓΡΑΦΕΙΣ" +.IX Header "ΣΥΓΓΡΑΦΕΙΣ" +Αυτή η βάση κώδικα χρωστάει την ύπαρξη της σε ένα μεγάλο αριθμό συντελεστών +μέσα από τις ποικίλες τους μεταμορφώσεις. Η ακόλουθη λίστα είναι σίγουρα +ατελής, αλλά εξυπηρετεί στην αναγνώριση ότι αυτή η εφαρμογή κάθεται σε +πολλούς ώμους: +.PP +Maximilian Albert, +Josh Andler, +Tavmjong Bah, +Pierre Barbry-Blot, +Jean-François Barraud, +Bill Baxter, +John Beard, +John Bintz, +Arpad Biro, +Nicholas Bishop, +Joshua L. Blocher, +Henrik Bohre, +Boldewyn, +Daniel Borgmann, +Bastien Bouclet, +Gustav Broberg, +Christopher Brown, +Hans Breuer, +Marcus Brubaker, +Luca Bruno, +Nicu Buculei, +Bulia Byak, +Pierre Caclin, +Ian Caldwell, +Gail Carmichael, +Ed Catmur, +Chema Celorio, +Johan Ceuppens, +Zbigniew Chyla, +Alexander Clausen, +John Cliff, +Kees Cook, +Ben Cromwell, +Robert Crosbie, +Jon Cruz, +Aurélie De-Cooman, +Milosz Derezynski, +Daniel Díaz, +Bruno Dilly, +Larry Doolittle, +Tim Dwyer, +Maxim V. Dziumanenko, +Johan Engelen, +Miklos Erdelyi, +Ulf Erikson, +Noé Falzon, +Frank Felfe, +Andrew Fitzsimon, +Edward Flick, +Marcin Floryan, +Fred, +Ben Fowler, +Cedric Gemy, +Steren Giannini, +Olivier Gondouin, +Ted Gould, +Toine de Greef, +Michael Grosberg, +Bryce Harrington, +Dale Harvey, +Aurélio Heckert, +Carl Hetherington, +Jos Hirth, +Hannes Hochreiner, +Thomas Holder, +Joel Holdsworth, +Alan Horkan, +Karl Ove Hufthammer, +Richard Hughes, +Nathan Hurst, +inductiveload, +Thomas Ingham, +Jean-Olivier Irisson, +Bob Jamison, +jEsuSdA, +Lauris Kaplinski, +Lynn Kerby, +Niko Kiirala, +James Kilfiger, +Jason Kivlighn, +Adrian Knoth, +Krzysztof Kosiński, +Petr Kovar, +Benoît Lavorata, +Alex Leone, +Julien Leray, +Raph Levien, +Diederik van Lierop, +Nicklas Lindgren, +Vitaly Lipatov, +Ivan Louette, +Pierre-Antoine Marc, +Aurel-Aimé Marmion, +Colin Marquardt, +Dmitry G. Mastrukov, +Matiphas, +Michael Meeks, +Federico Mena, +MenTaLguY, +Aubanel Monnier, +Vincent Montagne, +Tim Mooney, +Derek P. Moore, +Peter Moulder, +Jörg Müller, +Yukihiro Nakai, +Victor Navez, +Christian Neumair, +Andreas Nilsson, +Mitsuru Oka, +Marten Owens, +Alvin Penner, +Jon Phillips, +Zdenko Podobny, +Alexandre Prokoudine, +Jean-René Reinhard, +Alexey Remizov, +Frederic Rodrigo, +Hugo Rodrigues, +Juarez Rudsatz, +Xavier Conde Rueda, +Felipe Corrêa da Silva Sanches, +Aurélio A. Heckert, +Christian Schaller, +Marco Scholten, +Tom von Schwerdtner, +Shivaken, +Michael Sloan, +Danilo Šegan, +Boštjan Špetič, +Aaron Spike, +Kaushik Sridharan, +Ralf Stephan, +Dariusz Stojek, +Martin Sucha, +Pat Suwalski, +Adib Taraben, +Hugh Tebby, +Jonas Termeau, +David Turner, +Andre Twupack, +Aleksandar Urošević, +Lucas Vieites, +Michael Wybrow, +Daniel Yacob, +David Yip, +Masatake Yamato +.PP +Αυτή η σελίδα του εγχειριδίου έγινε από Bryce Harrington +. +.SH "ΙΣΤΟΡΙΚΟ" +.IX Header "ΙΣΤΟΡΙΚΟ" +Ο βασικός κώδικας που θα γινόταν Inkscape ξεκίνησε τη ζωή της στο 1999 όπως +το πρόγραμμα Gill, η εφαρμογή \s-1GNOME\s0 Illustrator, δημιουργημένη από τον Raph +Levien. Ο δηλωμένος σκοπός για το Gill ήταν να υποστηρίξει τελικά όλο το +\&\s-1SVG\s0. Ο Raph υποστήριξε το πρότυπο εικόνας bezier PostScript, +συμπεριλαμβάνοντας πινελιά και γέμισμα, μορφοποίηση γραμμής τέλους, +μορφοποίηση ενωμένης γραμμής, κειμένου κλ. Η ιστοσελίδα του Raph Gill είναι +στο http://www.levien.com/svg/. Η δουλειά στο Gill φαίνεται να επιβραδύνθηκε +ή να σταμάτησε το 2000. +.PP +Η επόμενη μεταμόρφωση του βασικού κώδικα ήταν να γίνει το πολύ δημοφιλές +πρόγραμμα Sodipodi, καθοδηγούμενο από Lauris Kaplinski. Ο βασικός κώδικας +μετατράπηκε σε ένα ισχυρό πρόγραμμα εικονογράφησης κατά τη διάρκεια πολλών +χρόνων δουλειάς, προσθέτοντας πολλά καινούργια χαρακτηριστικά, πολυγλωσσική +υποστήριξη, μεταφορά σε Windows και άλλα λειτουργικά συστήματα και αφαίρεση +των εξαρτήσεων. +.PP +Το Inkscape σχεδιάστηκε το 2003 από τέσσερις ενεργούς προγραμματιστές του +Sodipodi Bryce Harrington, MenTaLguY, Nathan Hurst και Ted Gould που ήθελαν +να πάρουν μια διαφορετική κατεύθυνση με το βασικό κώδικα σε όρους εστίασης +της συμβατότητας \s-1SVG\s0, εμφάνισης και αίσθησης διεπαφής και μια επιθυμία +ανοίγματος των ευκαιριών ανάπτυξης σε περισσότερους συμμετέχοντες. Το σχέδιο +προόδευσε γρήγορα, κερδίζοντας έναν αριθμό πολύ ενεργών συντελεστών και +χαρακτηριστικών. +.PP +Πολλή δουλειά τον πρώτο καιρό του σχεδίου εστιάστηκε στη σταθεροποίηση του +κώδικα και στην διεθνοποίηση. Η αρχική σχεδίαση που κληρονομήθηκε από το +Sodipodi διανθίστηκε με έναν αριθμό μαθηματικών περιπτώσεων που οδήγησε σε +αναπάντεχες καταρρεύσεις, όταν το πρόγραμμα σπρώχτηκε πέρα από τις χρήσεις +ρουτίνας. Αυτή η σχεδίαση αντικαταστάθηκε από το Livarot που ενώ δεν +τελειοποίησε καμιά από τις δυο, ήταν σημαντικά λιγότερα επιρρεπής σε +σφάλματα. Το σχέδιο υιοθέτησε επίσης μια πρακτική υποβολής κώδικα συχνά και +ενεθάρρυνε τους χρήστες να τρέχουν εξελικτικά στιγμιότυπα του +προγράμματος. Αυτό βοήθησε την ταυτοποίηση νέων σφαλμάτων γρήγορα και +επιβεβαίωσε ότι ήταν εύκολο για χρήστες να επιβεβαιώνουν τις διορθώσεις. Ως +αποτέλεσμα, οι εκδόσεις του Inkscape κέρδισαν γενικά μια φήμη ευρωστίας και +αξιοπιστίας. +.PP +Παρόμοια, έγιναν προσπάθειες για διεθνοποίηση και τοπικοποίηση της διεπαφής, +που βοήθησε το πρόγραμμα να κερδίσει συντελεστές παγκόσμια. +.PP +Το Inkscape είχε μια ευεργετική επίδραση στην οπτική έλξη του ανοιχτού +λογισμικού γενικά, παρέχοντας ένα εργαλείο για δημιουργία και διανομή +εικονιδίων, αρχικών εικόνων, τεχνών ιστότοπων κλ. Κατά κάποιο τρόπο, παρά το +ότι είναι \*(L"μόνο ένα σχεδιαστικό πρόγραμμα\*(R", το Inkscape έχει παίξει ένα +σημαντικό ρόλο στη δημιουργία ανοιχτού κώδικα περισσότερο οπτικά διεγερτικού +σε μεγαλύτερα ακροατήρια. +.SH "ΠΝΕΥΜΑΤΙΚΑ ΔΙΚΑΙΩΜΑΤΑ ΚΑΙ ΑΔΕΙΑ" +.IX Header "ΠΝΕΥΜΑΤΙΚΑ ΔΙΚΑΙΩΜΑΤΑ ΚΑΙ ΑΔΕΙΑ" +\&\fBCopyright (C)\fR 1999\[en]2010 από τους συγγραφείς. +.PP +\&\fBInkscape\fR είναι ελεύθερο λογισμικό. Μπορείτε να το αναδιανείμετε και/ή να +το τροποποιήσετε με τους όρους του \s-1GPL\s0. === added file 'inkscape.el.pod' --- inkscape.el.pod 1970-01-01 00:00:00 +0000 +++ inkscape.el.pod 2012-02-16 12:59:31 +0000 @@ -0,0 +1,677 @@ + + ***************************************************** + * GENERATED FILE, DO NOT EDIT * + * THIS IS NO SOURCE FILE, BUT RESULT OF COMPILATION * + ***************************************************** + +This file was generated by po4a(7). Do not store it (in cvs, for example), +but store the po file used as source file by po4a-translate. + +In fact, consider this as a binary, and the po file as a regular .c file: +If the po get lost, keeping this translation up-to-date will be harder. + +=encoding utf-8 + +=head1 ΟΝΟΜΑ + +Inkscape - ένα πρόγραμμα επεξεργασίας SVG (κλιμακώσιμων γραφικών +διανυσμάτων) + +=head1 ΣΥΝΟΨΗ + +C + +επιλογές: + + -?, --help + --usage + -V, --version + + -f, --file=FILENAME + + -e, --export-png=FILENAME + -a, --export-area=x0:y0:x1:y1 + -C, --export-area-page + -D, --export-area-drawing + --export-area-snap + -i, --export-id=ID + -j, --export-id-only + -t, --export-use-hints + -b, --export-background=COLOR + -y, --export-background-opacity=VALUE + -d, --export-dpi=DPI + -w, --export-width=WIDTH + -h, --export-height=HEIGHT + + -P, --export-ps=FILENAME + -E, --export-eps=FILENAME + -A, --export-pdf=FILENAME + --export-latex + + -T, --export-text-to-path + --export-ignore-filters + + -l, --export-plain-svg=FILENAME + + -p, --print=PRINTER + + -I, --query-id=ID + -X, --query-x + -Y, --query-y + -W, --query-width + -H, --query-height + -S, --query-all + + -x, --extension-directory + + --verb-list + --verb=VERB-ID + --select=OBJECT-ID + + --shell + + -g, --with-gui + -z, --without-gui + + --vacuum-defs + + --g-fatal-warnings + +=head1 ΠΕΡΙΓΡΑΦΗ + +B είναι ένας επεξεργαστής GUI για αρχεία σχεδίασης τύπου +B, με δυνατότητες παρόμοιες με B, B, B, κλ. χαρακτηριστικά Inkscape που +περιλαμβάνουν εύχρηστα σχήματα, μονοπάτια bezier, ελεύθερη σχεδίαση, κείμενο +πολλαπλής γραμμής, κείμενο σε μονοπάτι, ανάμειξη άλφα, μετασχηματισμούς +ελεύθερου συσχετισμού, διαβαθμίσεις και γεμίσματα μοτίβων, επεξεργασία +κόμβου, πολλές μορφές εξαγωγής και εισαγωγής περιλαμβάνοντας PNG και PDF, +ομαδοποίηση, στρώσεις, ζωντανούς κλώνους και πολλά άλλα. Η διεπαφή +σχεδιάστηκε να είναι άνετη και αποτελεσματική για έμπειρους χρήστες, ενώ +παραμένει συμβατή με πρότυπα B, έτσι ώστε χρήστες εξοικειωμένοι με +άλλες εφαρμογές GNOME να μπορούν να μάθουν τη διεπαφή της γρήγορα. + +B είναι ένα πρότυπο W3C τύπου XML για δισδιάστατη σχεδίαση +διανύσματος. Επιτρέπει ορισμό αντικειμένων στη σχεδίαση χρησιμοποιώντας +σημεία, μονοπάτια και αρχέτυπα σχήματα. Χρώματα, γραμματοσειρές, πλάτη +πινελιάς κ.ο.κ καθορίζονται ως γνωρίσματα `μορφοποίησης' σε αυτά τα +αντικείμενα. Ο σκοπός είναι ότι αφού SVG είναι ένα πρότυπο και αφού τα +αρχεία του είναι κείμενο/xml, θα είναι δυνατή η χρήση αρχείων SVG σε έναν +αρκετά μεγάλο αριθμό προγραμμάτων και για μεγάλο εύρος χρήσεων. + +Το B χρησιμοποιεί SVG ως εγγενή του τύπο αρχείων και έχει το σκοπό +να γίνει το πιο πλήρως συμβατό πρόγραμμα σχεδίασης για αρχεία SVG διαθέσιμα +στην κοινότητα ανοικτού κώδικα. + + + +=head1 ΕΠΙΛΟΓΕΣ + +=over 8 + +=item B<-?>, B<--help> + +Προβολή μηνύματος βοήθειας + +=item B<-V>, B<--version> + +Προβολή έκδοσης Inkscape και ημερομηνία μεταγλώττισης. + +=item B<-a> I, B<--export-area>=I + +Στην εξαγωγή PNG, ορίστε την εξαγόμενη περιοχή σε μονάδες χρήστη SVG +(μονάδες ανώνυμου μήκους κανονικά χρησιμοποιούνται στο Inkscape SVG). Η +προεπιλογή είναι η εξαγωγή της συνολικής σελίδας εγγράφου. Το σημείο (0,0) +είναι η κάτω αριστερή γωνία. + +=item B<-C>, B<--export-area-page> + +Στην εξαγωγή PNG, PDF, PS και EPS, η εξαγόμενη περιοχή είναι η σελίδα. Αυτή +είναι η προεπιλογή για PNG, PDF και PS, έτσι δεν χρειάζεται να το καθορίσετε +εκτός και χρησιμοποιείτε --export-id για εξαγωγή ενός ειδικού +αντικειμένου. Στο EPS, όμως, αυτό δεν είναι προεπιλεγμένο. Επιπλέον για EPS, +η προδιαγραφή του τύπου δεν επιτρέπει το οριακό του πλαίσιο να επεκτείνεται +πέρα από το περιεχόμενο του. Αυτό σημαίνει ότι όταν --export-area-page +χρησιμοποιείται με εξαγωγή EPS, το οριακό πλαίσιο της σελίδας θα περικοπεί +προς τα μέσα του οριακού πλαισίου του περιεχομένου εάν είναι μικρότερο. + +=item B<-D>, B<--export-area-drawing> + +Στην εξαγωγή PNG, PDF, PS και EPS, εξαγόμενη περιοχή είναι το σχέδιο (όχι η +σελίδα), δηλαδή το οριακό πλαίσιο όλων των αντικειμένων του εγγράφου (ή του +εξαγόμενου αντικειμένου εάν --export-id χρησιμοποιείται). Με αυτήν την +επιλογή, η εξαγόμενη εικόνα θα εμφανίσει όλα τα ορατά αντικείμενα του +εγγράφου χωρίς περιθώρια ή περικοπή. Αυτή είναι η προεπιλεγμένη περιοχή +εξαγωγής για EPS. Για PNG, μπορεί να χρησιμοποιηθεί σε συνδυασμό με +--export-use-hints. + +=item B<--export-area-snap> + +Για εξαγωγή PNG, προσαρμογή της περιοχής εξαγωγής προς τα έξω στον +πλησιέστερο ακέραιο SVG τιμών μονάδας χρήστη (px). Εάν χρησιμοποιείτε την +προεπιλεγμένη ανάλυση εξαγωγής των 90 dpi και τα γραφικά σας προσαρμόζονται +στα εικονοστοιχεία για ελαχιστοποίηση εξομάλυνσης, αυτός ο διακόπτης σας +επιτρέπει να διατηρήσετε αυτή την ευθυγράμμιση ακόμα κι αν εξάγετε μερικά +οριακά πλαίσια αντικειμένου (με --export-id ή --export-area-drawing) που +είναι το ίδιο μη ευθυγραμμιζόμενο με εικονοστοιχεία. + +=item B<-b> I, B<--export-background>=I + +Το χρώμα παρασκηνίου του εξαγόμενου PNG. Αυτό μπορεί να είναι οποιοδήποτε +αλφαριθμητικό υποστηριζόμενου χρώματος SVG, π.χ. "#ff007f" ή "rgb(255, 0, +128)". Εάν δεν οριστεί, τότε το χρώμα της σελίδας που ορίστηκε στο Inkscape +στο διάλογο επιλογών εγγράφου θα χρησιμοποιηθεί (καταχωρημένο στο pagecolor= +attribute of sodipodi:namedview). + +=item B<-d> I, B<--export-dpi>=I + +Η χρησιμοποιούμενη ανάλυση για εξαγωγή PNG. Χρησιμοποιείται επίσης για τη +στάθμη εικονογραφικοποίησης των φιλτραρισμένων αντικειμένων όταν εξάγονται +σε PS, EPS, ή PDF (εκτός και καθορίσετε --export-ignore-filters για να +καταργήσετε την εικονογραφικοποίηση). Η προεπιλογή είναι 90 dpi, που +αντιστοιχεί σε 1 μονάδα χρήστη SVG (px, που λέγεται επίσης "μονάδα χρήστη") +εξαγωγής ανά 1 εικονοστοιχείο ψηφιογραφίας. Αυτή η τιμή υπερισχύει της +υπόδειξης DPI εάν χρησιμοποιηθεί με --export-use-hints. + +=item B<-e> I, B<--export-png>=I + +Καθορισμός του ονόματος αρχείου για εξαγωγή PNG. Εάν ήδη υπάρχει, το αρχείο +θα αντικατασταθεί χωρίς ερώτηση. + +=item B<-f> I, B<--file>=I + +Άνοιγμα καθορισμένων εγγράφων. Το αλφαριθμητικό επιλογής μπορεί να +παραληφθεί, δηλαδή μπορείτε να καταγράψετε τα ονόματα αρχείου χωρίς -f. + +=item B<-g>, B<--with-gui> + +Δοκιμάστε να χρησιμοποιήσετε το GUI (σε Unix, χρησιμοποιήστε τον εξυπηρετητή +X ακόμα κι αν το $DISPLAY δεν καθορίζεται). + +=item B<-h> I, B<--export-height>=I + +Το ύψος της δημιουργημένης ψηφιογραφίας σε εικονοστοιχεία. Αυτή η τιμή +υπερισχύει του ορισμού --export-dpi (ή της υπόδειξης DPI, εάν +χρησιμοποιείται με --export-use-hints). + +=item B<-i> I, B<--export-id>=I + +Για εξαγωγή PNG, PS, EPS και PDF, η τιμή γνωρίσματος id του αντικειμένου που +θέλετε να εξάγετε από το έγγραφο. Όλα τα άλλα αντικείμενα δεν εξάγονται. Από +προεπιλογή η εξαγόμενη περιοχή είναι το οριακό πλαίσιο του +αντικειμένου. Μπορείτε να το παρακάμψετε χρησιμοποιώντας --export-area (μόνο +PNG) ή --export-area-page. + +=item B<-j>, B<--export-id-only> + +Εξαγωγή μόνο σε PNG του αντικειμένου του οποίου το id δίνεται στο +--export-id. Όλα τα άλλα αντικείμενα κρύβονται και δεν θα εμφανιστούν στην +εξαγωγή ακόμα κι αν επικαλύπτουν το εξαγόμενο αντικείμενο. Χωρίς +--export-id, αυτή η επιλογή αγνοείται. Για εξαγωγή PDF, αυτό είναι η +προεπιλογή, έτσι αυτή η επιλογή δεν έχει επίδραση. + +=item B<-l>, B<--export-plain-svg>=I + +Εξαγωγή αντικειμένων σε απλή μορφή SVG, χωρίς κενά ονόματος sodipodi: ή +inkscape και χωρίς μεταδεδομένα RDF. + +=item B<-x>, B<--extension-directory> + +Καταγράφει τον τρέχοντα κατάλογο επέκτασης που το Inkscape ρύθμισε για χρήση +και εξέρχεται. Αυτό χρησιμοποιείται για εξωτερική επέκταση για να +χρησιμοποιηθεί η ίδια ρύθμιση όπως η αρχική εγκατάσταση του Inkscape. + +=item B<--verb-list> + +Καταγράφει όλα τα διαθέσιμα ρήματα στο Inkscape με ταυτότητα. Αυτή η +ταυτότητα μπορεί να χρησιμοποιηθεί για ορισμό χαρτογράφησης πλήκτρων ή +μενού. Μπορεί επίσης να χρησιμοποιηθεί με την επιλογή γραμμής εντολής +--verb. + +=item B<--verb>=I, B<--select>=I + +Αυτές οι δύο επιλογές δουλεύουν μαζί για να δώσουν κάποια βασικά σενάρια για +το Inkscape από τη γραμμή εντολών. Και οι δύο μπορούν να συμβούν όσες φορές +χρειάζονται στη γραμμή εντολών και εκτελούνται με τη σειρά σε κάθε έγγραφο +που καθορίζεται. + +Η εντολή --verb θα εκτελέσει ένα ειδικό ρήμα σαν να καλέστηκε από ένα μενού +ή κουμπί. Οι διάλογοι θα εμφανιστούν, εάν αυτό είναι τμήμα του ρήματος. Για +λήψη μιας λίστας των διαθέσιμων ταυτοτήτων ρημάτων, χρησιμοποιήστε την +επιλογή γραμμής εντολής --verb-list. + +Η εντολή --select θα προκαλέσει τα αντικείμενα που έχουν τις καθορισμένες +ταυτότητες να επιλεγούν. Αυτό επιτρέπει ποικίλα ρήματα να επενεργήσουν σε +αυτά. Για να αφαιρέσετε όλες τις επιλογές χρησιμοποιήστε +--verb=EditDeselect. Οι διαθέσιμες ταυτότητες αντικειμένων εξαρτώνται από το +καθοριζόμενο έγγραφο για φόρτωση. + +=item B<-p> I, B<--print>=I + +Εκτύπωση εγγράφων στον καθορισμένο εκτυπωτή χρησιμοποιώντας `lpr -P +ΕΚΤΥΠΩΤΗΣ'. Εναλλακτικά χρησιμοποιήστε `| COMMAND' για να καθορίσετε μια +διαφορετική εντολή διοχέτευσης, ή χρησιμοποιήστε `> ΟΝΟΜΑΑΡΧΕΙΟΥ' για να +γράψετε την έξοδο PostScript σε ένα αρχείο αντί για εκτύπωση. Να θυμόσαστε +να βάλετε κατάλληλα εισαγωγικά για το κέλυφος σας, π.χ. + +inkscape --print='| ps2pdf - mydoc.pdf' mydoc.svg + +=item B<-t>, B<--export-use-hints> + +Χρησιμοποιήστε όνομα αρχείου και υποδείξεις DPI αποθηκευμένες στο εξαγόμενο +αντικείμενο (μόνο με --export-id). Αυτές οι υποδείξεις ορίζονται αυτόματα, +όταν εξάγετε επιλογή μες το Inkscape. Έτσι, για παράδειγμα, εάν εξάγετε ένα +σχήμα με id="path231" ως /home/me/shape.png στα 300 dpi από document.svg +χρησιμοποιώντας Inkscape GUI και αποθηκεύσετε το έγγραφο, έπειτα αργότερα θα +μπορείτε να το επανεξάγετε αυτό το σχήμα στο ίδιο αρχείο με την ίδια ανάλυση +απλά με + +inkscape -i path231 -t document.svg + +Εάν χρησιμοποιήσετε --export-dpi, --export-width ή --export-height με αυτήν +την επιλογή, έπειτα η υπόδειξη DPI θα αγνοηθεί και η τιμή από τη γραμμή +εντολής θα χρησιμοποιηθεί. Εάν χρησιμοποιήσετε --export-png με αυτήν την +επιλογή, τότε η υπόδειξη ονόματος αρχείου θα αγνοηθεί και το όνομα αρχείου +από τη γραμμή εντολών θα χρησιμοποιηθεί. + +=item B<-w> I, B<--export-width>=I + +Το πλάτος της δημιουργούμενης ψηφιογραφίας σε εικονοστοιχεία. Αυτή η τιμή +υπερισχύει της ρύθμισης --export-dpi (ή της υπόδειξης DPI εάν +χρησιμοποιείται με --export-use-hints). + +=item B<-y> I, B<--export-background-opacity>=I + +Η αδιαφάνεια του παρασκηνίου του εξαγόμενου PNG. Αυτό μπορεί να είναι η τιμή +είτε μεταξύ 0 και 1 (0 σημαίνει πλήρη διαφάνεια και 1 πλήρη αδιαφάνεια) ή +μεγαλύτερη από 1 μέχρι 255 (255 σημαίνει πλήρης αδιαφάνεια). Εάν δεν οριστεί +και η επιλογή -b δεν χρησιμοποιηθεί, τότε η αδιαφάνεια της σελίδας που +ορίζεται στο Inkscape στο διάλογο επιλογών εγγράφου θα χρησιμοποιηθεί +(καταχωρημένη στο γνώρισμα inkscape:pageopacity= attribute του +sodipodi:namedview). Εάν δεν οριστεί αλλά χρησιμοποιηθεί η επιλογή -b, τότε +η τιμή 255 (πλήρης αδιαφάνεια) θα χρησιμοποιηθεί. + +=item B<-P> I, B<--export-ps>=I + +Εξαγωγή εγγράφων σε μορφή PostScript. Σημειώστε ότι το PostScript δεν +υποστηρίζει διαφάνεια, έτσι οποιαδήποτε διαφανή αντικείμενα στο αρχικό SVG +θα εικονογραφικοποιηθούν αυτόματα. Οι χρησιμοποιούμενες γραμματοσειρές είναι +υποσύνολο και ενσωματωμένες. Η προεπιλεγμένη περιοχή εξαγωγής είναι +σελίδα. Μπορείτε να την ορίσετε στο σχέδιο με +--export-area-drawing. Μπορείτε να καθορίσετε --export-id για εξαγωγή ενός +μονού αντικειμένου (όλα τα άλλα κρύβονται). Στην περίπτωση αυτή η περιοχή +εξαγωγής είναι το οριακό πλαίσιο αυτού του αντικειμένου, αλλά μπορεί να +οριστεί σε σελίδα με --export-area-page. + +=item B<-E> I, B<--export-eps>=I + +Εξαγωγή εγγράφων σε μορφή ενσωματωμένου PostScript. Σημειώστε ότι το +PostScript δεν υποστηρίζει διαφάνεια, έτσι οποιαδήποτε διαφανή αντικείμενα +στο αρχικό SVG θα εικονογραφικοποιηθούν αυτόματα. Οι χρησιμοποιούμενες +γραμματοσειρές είναι υποσύνολο και ενσωματωμένες. Η προεπιλεγμένη περιοχή +εξαγωγής είναι σχέδιο. Μπορείτε να το ορίσετε στη σελίδα, όμως δείτε +--export-area-page για εφαρμοζόμενους περιορισμούς. Μπορείτε να καθορίσετε +--export-id για να εξάγετε ένα μονό αντικείμενο (όλα τα άλλα κρύβονται). + +=item B<-A> I, B<--export-pdf>=I + +Εξαγωγή εγγράφων σε μορφή PDF. Αυτή η μορφή διατηρεί τη διαφάνεια στο αρχικό +SVG. Οι χρησιμοποιούμενες γραμματοσειρές είναι υποσύνολο και +ενσωματωμένες. Η προεπιλεγμένη περιοχή εξαγωγής είναι σελίδα. Μπορείτε να το +ορίσετε σε σχέδιο, με --export-area-drawing. Μπορείτε να καθορίσετε +--export-id για να εξάγετε ένα μονό αντικείμενο (όλα τα άλλα κρύβονται). Σε +αυτή την περίπτωση περιοχή εξαγωγής είναι αυτή του οριακού πλαισίου +αντικειμένου, αλλά μπορεί να οριστεί σε σελίδα με --export-area-page. + +=item B<--export-latex> + +(για εξαγωγή PS, EPS και PDF) Χρησιμοποιείται για δημιουργία εικόνων για +έγγραφα LaTeX, όπου το κείμενο της εικόνας στοιχειοθετείται από LaTeX. Όταν +εξάγετε σε μορφή PDF/PS/EPS, αυτή η επιλογή διαιρεί την έξοδο σε ένα αρχείο +PDF/PS/EPS (π.χ. όπως ορίζεται από --export-pdf) και ένα αρχείο LaTeX. Το +κείμενο δεν εξάγεται σε αρχείο PDF/PS/EPS, αλλά αντίθετα θα εμφανιστεί στο +αρχείο LaTeX. Αυτό το αρχείο LaTeX συμπεριλαμβάνει το PDF/PS/EPS. Είσοδος +του αρχείου LaTeX (\input{image.tex}) στο έγγραφό σας LaTeX θα εμφανίσει την +εικόνα και όλο το κείμενο θα στοιχειοθετείται από LaTeX. Δείτε το τελικό +αρχείο LaTeX για περισσότερες πληροφορίες. Επίσης δείτε την έξοδο τερματικού +GNUPlot's `epslatex'. + +=item B<-T>, B<--export-text-to-path> + +Μετατροπή αντικειμένων κειμένου σε μονοπάτια στην εξαγωγή, όπου μπορεί να +εφαρμοστεί (για εξαγωγή PS, EPS και PDF). + +=item B<--export-ignore-filters> + +Εξαγωγή φιλτραρισμένων αντικειμένων (π.χ. αυτά με θόλωση) όπως διανύσματα, +αγνοώντας τα φίλτρα (για εξαγωγή PS, EPS και PDF). Από προεπιλογή, όλα τα +φιλτραρισμένα αντικείμενα εικονογραφικοποιούνται στο --export-dpi +(προεπιλογή 90 dpi), διατηρώντας την εμφάνιση. + +=item B<-I>, B<--query-id> + +Ορισμός της ταυτότητας του αντικειμένου του οποίου οι διαστάσεις +αναζητούνται. Εάν δεν οριστεί, οι επιλογές ερωτήματος θα επιστρέψουν τις +διαστάσεις του σχεδίου (δηλαδή όλα τα αντικείμενα εγγράφου), όχι τη σελίδα ή +το πλαίσιο θέασης + +=item B<-X>, B<--query-x> + +Ερώτημα της συντεταγμένης Χ του σχεδίου ή, εάν καθοριστεί, του αντικειμένου +με --query-id. Η επιστρεφόμενη τιμή είναι σε px (μονάδες χρήστη SVG). + +=item B<-Y>, B<--query-y> + +Ερώτημα της συντεταγμένης Υ του σχεδίου ή, εάν καθοριστεί, του αντικειμένου +με --query-id. Η επιστρεφόμενη τιμή είναι σε px (μονάδες χρήστη SVG). + +=item B<-W>, B<--query-width> + +Ερώτημα του πλάτους του σχεδίου ή, εάν καθοριστεί, του αντικειμένου με +--query-id. Η επιστρεφόμενη τιμή είναι σε px (μονάδες χρήστη SVG). + +=item B<-H>, B<--query-height> + +Ερώτημα του ύψους Ερώτημα της συντεταγμένης Χ του σχεδίου ή, εάν καθοριστεί, +του αντικειμένου με --query-id. Η επιστρεφόμενη τιμή είναι σε px (μονάδες +χρήστη SVG). + +=item B<-S>, B<--query-all> + +Εκτυπώνει μια λίστα όλων των αντικειμένων που είναι οριοθετημένοι με κόμμα +στο έγγραφο SVG με καθορισμένες ταυτότητες, μαζί με τις τιμές τους x, y, +πλάτους και ύψους. + +=item B<--shell> + +Με αυτήν την παράμετρο, το Inkscape θα εισάγει μια κατάσταση κελύφους +διαδραστικής γραμμής εντολής. Σε αυτήν την κατάσταση, πληκτρολογήστε εντολές +στην προτροπή και το Inkscape τις εκτελεί, χωρίς να πρέπει να τρέξετε ένα +νέο αντίγραφο του Inkscape για κάθε εντολή. Αυτό το χαρακτηριστικό είναι +ιδιαίτερα χρήσιμο για χρήσεις σεναρίου και εξυπηρετητή: δεν προσθέτει νέες +δυνατότητες, αλλά σας επιτρέπει να βελτιώσετε τις απαιτήσεις ταχύτητας και +μνήμης οποιουδήποτε σεναρίου που καλεί επανειλημμένα το Inkscape να +εκτελέσει εργασίες γραμμής εντολών (όπως εξαγωγή ή συζητήσεις). Κάθε εντολή +σε κατάσταση κελύφους πρέπει να είναι μια πλήρως έγκυρη γραμμή εντολής +Inkscape, αλλά χωρίς το όνομα προγράμματος Inkscape, π.χ. "file.svg +--export-pdf=file.pdf". + +=item B<--vacuum-defs> + +Αφαιρεί όλα τα αχρησιμοποίητα στοιχεία από την ενότητα defs του +αρχείου SVG. Εάν αυτή η επιλογή κληθεί σε συνδυασμό με την +--export-plain-svg, μόνο το εξαγόμενο αρχείο θα επηρεαστεί. Εάν +χρησιμοποιηθεί μόνη, το καθορισμένο αρχείο θα τροποποιηθεί επιτόπου. + +=item B<-z>, B<--without-gui> + +Μην ανοίγετε το GUI (σε Unix, μην χρησιμοποιείτε εξυπηρετητή X). Μόνο +επεξεργασία των αρχείων από την κονσόλα. Αυτό αναλαμβάνεται για επιλογές -p, +-e, -l και --vacuum-defs. + +=item B<--g-fatal-warnings> + +Αυτή η πρότυπη επιλογή GTK εξαναγκάζει οποιεσδήποτε προειδοποιήσεις, συνήθως +αβλαβείς, να προκαλέσουν εγκατάλειψη του Inkscape (χρήσιμο για +αποσφαλμάτωση). + +=item B<--usage> + +Προβολή ενός σύντομου μηνύματος χρήσης. + +=back + +=head1 ΔΙΑΜΟΡΦΩΣΗ + +Το κυρίως αρχείο διαμόρφωσης είναι τοποθετημένο στο +~/.config/inkscape/preferences.xml. Αποθηκεύει μια ποικιλία ρυθμίσεων +διαμόρφωσης που μπορείτε να αλλάξετε στο Inkscape (συνήθως στο διάλογο +προτιμήσεων του Inkscape). Επίσης στους υποκαταλόγους εκεί, μπορείτε να +τοποθετήσετε το δικό σας: + +B<$HOME>/.config/inkscape/extensions/ - εφέ επέκτασης. + +B<$HOME>/.config/inkscape/icons/ - εικονίδια. + +B<$HOME>/.config/inkscape/keys/ - χάρτες πληκτρολογίου. + +B<$HOME>/.config/inkscape/templates/ - πρότυπα νέων αρχείων. + +=head1 ΔΙΑΓΝΩΣΤΙΚΑ + +Το πρόγραμμα επιστρέφει μηδέν σε επιτυχία ή μη μηδέν σε αποτυχία. + +Μια ποικιλία μηνυμάτων λαθών και προειδοποιήσεων μπορεί να τυπωθεί στο +STDERR ή STDOUT. Εάν το πρόγραμμα συμπεριφέρεται ακανόνιστα με ένα +συγκεκριμένο αρχείο SVG ή καταρρέει, είναι χρήσιμο να κοιτάξετε σε αυτή την +έξοδο για στοιχεία. + +=head1 ΠΑΡΑΔΕΙΓΜΑΤΑ + +Αν και προφανώς το B σκοπεύει κυρίως ως μια εφαρμογή GUI, μπορεί +επίσης να χρησιμοποιηθεί για να κάνει επεξεργασία SVG στη γραμμή εντολών +επίσης. + +Άνοιγμα ενός αρχείου SVG στο GUI: + + inkscape filename.svg + +Εκτύπωση ενός αρχείου SVG από τη γραμμή εντολών: + + inkscape filename.svg -p '| lpr' + +Εξαγωγή ενός αρχείου SVG σε PNG με την προκαθορισμένη ανάλυση των 90dpi (μια +μονάδα χρήστη SVG μεταφράζει σε ένα εικονοστοιχείο ψηφιογραφίας): + + inkscape filename.svg --export-png=filename.png + +Το ίδιο, αλλά εξαναγκάζει το αρχείο PNG να είναι 600x400 εικονοστοιχεία: + + inkscape filename.svg --export-png=filename.png -w600 -h400 + +Το ίδιο, αλλά εξάγει το σχέδιο (οριακά πλαίσια όλων των αντικειμένων), όχι +τη σελίδα: + + inkscape filename.svg --export-png=filename.png --export-area-drawing + +Εξαγωγή σε PNG του αντικειμένου με id="text1555", χρησιμοποιώντας το όνομα +αρχείου εξόδου και την ανάλυση που χρησιμοποιήθηκε για αυτό το αντικείμενο +την τελευταία φορά, όταν εξάχθηκε από το GUI: + + inkscape filename.svg --export-id=text1555 --export-use-hints + +Το ίδιο, αλλά χρήση της επιλεγμένης ανάλυσης 90 dpi, καθορισμός του ονόματος +αρχείου και προσαρμογή της εξαγόμενης περιοχής προς τα έξω στις πιο κοντινές +ακέραιες τιμές μονάδας χρήστη SVG (για να διατηρηθεί η ευθυγράμμιση +εικονοστοιχείου των αντικειμένων και έτσι να ελαχιστοποιηθεί η εξομάλυνση): + + inkscape filename.svg --export-id=text1555 --export-png=text.png --export-area-snap + +Μετατροπή ενός εγγράφου Inkscape SVG σε απλό SVG: + + inkscape filename1.svg --export-plain-svg=filename2.svg + +Μετατροπή ενός εγγράφου SVG σε EPS, μετατρέποντας όλα τα κείμενα σε +μονοπάτια: + + inkscape filename.svg --export-eps=filename.eps --export-text-to-path + +Ερώτημα πλάτους του αντικειμένου με id="text1555": + + inkscape filename.svg --query-width --query-id text1555 + +Διπλασιασμός του αντικειμένου με id="path1555", περιστροφή του διπλότυπου +κατά 90 μοίρες, αποθήκευση SVG και έξοδος: + + inkscape filename.svg --select=path1555 --verb=EditDuplicate --verb=ObjectRotate90 --verb=FileSave --verb=FileClose + + + +=head1 ΠΕΡΙΒΑΛΛΟΝ + +B για λήψη του προεπιλεγμένου αριθμού υποδοχής και εμφάνισης. + +B για ορισμό του προεπιλεγμένου μονοπατιού του καταλόγου για χρήση +των προσωρινών αρχείων. Ο κατάλογος πρέπει να υπάρχει. + +=head1 ΘΕΜΑΤΑ + +Για φόρτωση διαφορετικών εικονιδίων καθορίζει αντί για το προεπιλεγμένο +αρχείο B<$PREFIX>/share/inkscape/icons/icons.svg, χρησιμοποιείται ο +κατάλογος B<$HOME>/.config/inkscape/icons/. Τα εικονίδια φορτώνονται κατ' +όνομα (π.χ. I), ή εάν δεν βρεθεί τότε από I. Εάν +το εικονίδιο δεν φορτωθεί από κάποια από αυτές τις θέσεις, επιστρέφει στην +προεπιλεγμένη θέση του συστήματος. + +Τα απαιτούμενα εικονίδια φορτώνονται από αρχεία SVG αναζητώντας για την +ταυτότητα SVG με το όνομα εικονιδίου που ταιριάζει. (Π.χ., για φόρτωμα του +εικονιδίου "fill_none" από ένα αρχείο, το οριακό πλαίσιο που αναζητήθηκε για +ταυτότητα SVG "fill_none" αποδίδεται ως εικονίδιο, είτε έρχεται από +I ή I.) + + + + + +=head1 ΑΛΛΕΣ ΠΛΗΡΟΦΟΡΙΕΣ + +Η κανονική θέση για εύρεση των πληροφοριών B είναι στο +http://www.inkscape.org/. Η ιστοσελίδα έχει νέα, τεκμηρίωση, μαθήματα, +παραδείγματα, αρχείο λίστας αλληλογραφίας, την τελευταία έκδοση του +προγράμματος, βάσεις δεδομένων ερωτημάτων για σφάλματα και χαρακτηριστικά +και άλλα. + +=head1 ΔΕΙΤΕ ΕΠΙΣΗΣ + +potrace, cairo, rsvg(1), batik, ghostscript, pstoedit. + +πακέτο ελέγχου συμβατότητας SVG: http://www.w3.org/Graphics/SVG/Test/ + +Επικυρωτής SVG: http://jiggles.w3.org/svgvalidator/ + +I I L + +I I L + +I I +L + +I I L + + + +=head1 ΣΗΜΕΙΩΣΕΙΣ GUI + +Για να μάθετε για τη λειτουργία Inkscape's GUI, διαβάστε τα μαθήματα στο +Βοήθεια > Μαθήματα. + +Πέρα από SVG, το Inkscape μπορεί να εισάγει (Αρχείο > Εισαγωγή) τις +περισσότερες μορφές ψηφιογραφίας (PNG, BMP, JPG, XPM, GIF, κλ.), απλό +κείμενο (απαιτεί Perl), PS και EPS (απαιτεί Ghostscript), PDF και μορφή AI +(AI έκδοση 9.0 ή νεότερη). + +Το Inkscape εξάγει εικόνες PNG 32-δυαδικών (Αρχείο > Εξαγωγή) καθώς και AI, +PS, EPS, PDF, DXF και πολλές άλλες μορφές μέσα από Αρχείο > Αποθήκευση ως. + +Το Inkscape μπορεί να χρησιμοποιήσει την πίεση και κλίση μιας πένας γραφικής +πινακίδας για πλάτος, γωνία και εξαναγκασμό της επενέργειας πολλών +εργαλείων, συμπεριλαμβανόμενης της καλλιγραφικής πένας. + +Το Inkscape περιλαμβάνει ένα GUI σύστημα επικοινωνίας στη μηχανή ανίχνευσης +ψηφιογραφίας Potrace (http://potrace.sf.net) που ενσωματώνεται στο Inkscape. + +Το Inkscape μπορεί να χρησιμοποιήσει εξωτερικά σενάρια (φίλτρα +stdin-to-stdout) που αναπαριστάνονται από εντολές στο μενού επεκτάσεων. Ένα +σενάριο μπορεί να έχει ένα διάλογο GUI για ορισμό ποικίλων παραμέτρων και +μπορεί να λάβει τις ταυτότητες των επιλεγμένων αντικειμένων στα οποία δρα +μέσω της γραμμής εντολών. Το Inkscape έρχεται με μια ταξινόμηση εφέ γραμμένη +σε Python. + +=head1 ΣΥΝΔΥΑΣΜΟΙ ΠΛΗΚΤΡΩΝ + +Για λήψη μιας πλήρους λίστας των συντομεύσεων πληκτρολογίου και ποντικιού, +δείτε doc/keys.html ή χρησιμοποιήστε την εντολή πλήκτρα και ποντίκι στο +μενού βοήθειας. + +=head1 ΣΦΑΛΜΑΤΑ + +Πολλά σφάλματα είναι γνωστά. Παρακαλώ κοιτάξτε στον ιστότοπο (inkscape.org) +για να δείτε τα αναφερθέντα σφάλματα και να αναφέρετε νεοευρεθέντα +θέματα. Δείτε επίσης την ενότητα γνωστών θεμάτων στις σημειώσεις έκδοσης για +την έκδοσή σας (αρχείο`NEWS'). + +=head1 ΣΥΓΓΡΑΦΕΙΣ + +Αυτή η βάση κώδικα χρωστάει την ύπαρξη της σε ένα μεγάλο αριθμό συντελεστών +μέσα από τις ποικίλες τους μεταμορφώσεις. Η ακόλουθη λίστα είναι σίγουρα +ατελής, αλλά εξυπηρετεί στην αναγνώριση ότι αυτή η εφαρμογή κάθεται σε +πολλούς ώμους: + +[% INCLUDE "AUTHORS" %] + +Αυτή η σελίδα του εγχειριδίου έγινε από Bryce Harrington +Ebrycehar@bryceharrington.comE. + +=head1 ΙΣΤΟΡΙΚΟ + +Ο βασικός κώδικας που θα γινόταν Inkscape ξεκίνησε τη ζωή της στο 1999 όπως +το πρόγραμμα Gill, η εφαρμογή GNOME Illustrator, δημιουργημένη από τον Raph +Levien. Ο δηλωμένος σκοπός για το Gill ήταν να υποστηρίξει τελικά όλο το +SVG. Ο Raph υποστήριξε το πρότυπο εικόνας bezier PostScript, +συμπεριλαμβάνοντας πινελιά και γέμισμα, μορφοποίηση γραμμής τέλους, +μορφοποίηση ενωμένης γραμμής, κειμένου κλ. Η ιστοσελίδα του Raph Gill είναι +στο http://www.levien.com/svg/. Η δουλειά στο Gill φαίνεται να επιβραδύνθηκε +ή να σταμάτησε το 2000. + +Η επόμενη μεταμόρφωση του βασικού κώδικα ήταν να γίνει το πολύ δημοφιλές +πρόγραμμα Sodipodi, καθοδηγούμενο από Lauris Kaplinski. Ο βασικός κώδικας +μετατράπηκε σε ένα ισχυρό πρόγραμμα εικονογράφησης κατά τη διάρκεια πολλών +χρόνων δουλειάς, προσθέτοντας πολλά καινούργια χαρακτηριστικά, πολυγλωσσική +υποστήριξη, μεταφορά σε Windows και άλλα λειτουργικά συστήματα και αφαίρεση +των εξαρτήσεων. + +Το Inkscape σχεδιάστηκε το 2003 από τέσσερις ενεργούς προγραμματιστές του +Sodipodi Bryce Harrington, MenTaLguY, Nathan Hurst και Ted Gould που ήθελαν +να πάρουν μια διαφορετική κατεύθυνση με το βασικό κώδικα σε όρους εστίασης +της συμβατότητας SVG, εμφάνισης και αίσθησης διεπαφής και μια επιθυμία +ανοίγματος των ευκαιριών ανάπτυξης σε περισσότερους συμμετέχοντες. Το σχέδιο +προόδευσε γρήγορα, κερδίζοντας έναν αριθμό πολύ ενεργών συντελεστών και +χαρακτηριστικών. + +Πολλή δουλειά τον πρώτο καιρό του σχεδίου εστιάστηκε στη σταθεροποίηση του +κώδικα και στην διεθνοποίηση. Η αρχική σχεδίαση που κληρονομήθηκε από το +Sodipodi διανθίστηκε με έναν αριθμό μαθηματικών περιπτώσεων που οδήγησε σε +αναπάντεχες καταρρεύσεις, όταν το πρόγραμμα σπρώχτηκε πέρα από τις χρήσεις +ρουτίνας. Αυτή η σχεδίαση αντικαταστάθηκε από το Livarot που ενώ δεν +τελειοποίησε καμιά από τις δυο, ήταν σημαντικά λιγότερα επιρρεπής σε +σφάλματα. Το σχέδιο υιοθέτησε επίσης μια πρακτική υποβολής κώδικα συχνά και +ενεθάρρυνε τους χρήστες να τρέχουν εξελικτικά στιγμιότυπα του +προγράμματος. Αυτό βοήθησε την ταυτοποίηση νέων σφαλμάτων γρήγορα και +επιβεβαίωσε ότι ήταν εύκολο για χρήστες να επιβεβαιώνουν τις διορθώσεις. Ως +αποτέλεσμα, οι εκδόσεις του Inkscape κέρδισαν γενικά μια φήμη ευρωστίας και +αξιοπιστίας. + +Παρόμοια, έγιναν προσπάθειες για διεθνοποίηση και τοπικοποίηση της διεπαφής, +που βοήθησε το πρόγραμμα να κερδίσει συντελεστές παγκόσμια. + +Το Inkscape είχε μια ευεργετική επίδραση στην οπτική έλξη του ανοιχτού +λογισμικού γενικά, παρέχοντας ένα εργαλείο για δημιουργία και διανομή +εικονιδίων, αρχικών εικόνων, τεχνών ιστότοπων κλ. Κατά κάποιο τρόπο, παρά το +ότι είναι "μόνο ένα σχεδιαστικό πρόγραμμα", το Inkscape έχει παίξει ένα +σημαντικό ρόλο στη δημιουργία ανοιχτού κώδικα περισσότερο οπτικά διεγερτικού +σε μεγαλύτερα ακροατήρια. + +=head1 ΠΝΕΥΜΑΤΙΚΑ ΔΙΚΑΙΩΜΑΤΑ ΚΑΙ ΑΔΕΙΑ + +B 1999-2010 από τους συγγραφείς. + +B είναι ελεύθερο λογισμικό. Μπορείτε να το αναδιανείμετε και/ή να +το τροποποιήσετε με τους όρους του GPL. + + + +=for comment $Date$ + === modified file 'inkscape.fr.1' --- inkscape.fr.1 2011-07-10 11:35:30 +0000 +++ inkscape.fr.1 2012-02-16 12:59:31 +0000 @@ -1,4 +1,4 @@ -.\" Automatically generated by Pod::Man 2.23 (Pod::Simple 3.14) +.\" Automatically generated by Pod::Man 2.25 (Pod::Simple 3.16) .\" .\" Standard preamble: .\" ======================================================================== @@ -59,68 +59,6 @@ . de IX .. .\} -.\" -.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). -.\" Fear. Run. Save yourself. No user-serviceable parts. -. \" fudge factors for nroff and troff -.if n \{\ -. ds #H 0 -. ds #V .8m -. ds #F .3m -. ds #[ \f1 -. ds #] \fP -.\} -.if t \{\ -. ds #H ((1u-(\\\\n(.fu%2u))*.13m) -. ds #V .6m -. ds #F 0 -. ds #[ \& -. ds #] \& -.\} -. \" simple accents for nroff and troff -.if n \{\ -. ds ' \& -. ds ` \& -. ds ^ \& -. ds , \& -. ds ~ ~ -. ds / -.\} -.if t \{\ -. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" -. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' -. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' -. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' -. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' -. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' -.\} -. \" troff and (daisy-wheel) nroff accents -.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' -.ds 8 \h'\*(#H'\(*b\h'-\*(#H' -.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] -.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' -.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' -.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#] -.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] -.ds ae a\h'-(\w'a'u*4/10)'e -.ds Ae A\h'-(\w'A'u*4/10)'E -. \" corrections for vroff -.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' -.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' -. \" for low resolution devices (crt and lpr) -.if \n(.H>23 .if \n(.V>19 \ -\{\ -. ds : e -. ds 8 ss -. ds o a -. ds d- d\h'-1'\(ga -. ds D- D\h'-1'\(hy -. ds th \o'bp' -. ds Th \o'LP' -. ds ae ae -. ds Ae AE -.\} -.rm #[ #] #H #V #F C .\" ======================================================================== .\" .IX Title "INKSCAPE.FR 1" @@ -131,7 +69,7 @@ .nh .SH "NOM" .IX Header "NOM" -Inkscape \- programme d'A\*~Xdition \s-1SVG\s0 (Scalable Vector Graphics). +Inkscape \- programme d'édition \s-1SVG\s0 (Scalable Vector Graphics). .SH "SYNOPSIS" .IX Header "SYNOPSIS" \&\f(CW\*(C`inkscape [options] [nom_de_fichier ...]\*(C'\fR @@ -139,38 +77,39 @@ options: .PP .Vb 3 -\& \-?, \-\-help -\& \-\-usage +\& \-?, \-\-help +\& \-\-usage \& \-V, \-\-version \& -\& \-f, \-\-file=NOMDEFICHIER +\& \-f, \-\-file=NOMDEFICHIER \& -\& \-e, \-\-export\-png=NOMDEFICHIER -\& \-a, \-\-export\-area=x0:y0:x1:y1 +\& \-e, \-\-export\-png=NOMDEFICHIER +\& \-a, \-\-export\-area=x0:y0:x1:y1 \& \-C, \-\-export\-area\-page \& \-D, \-\-export\-area\-drawing \& \-\-export\-area\-snap -\& \-i, \-\-export\-id=ID -\& \-j, \-\-export\-id\-only +\& \-i, \-\-export\-id=ID +\& \-j, \-\-export\-id\-only \& \-t, \-\-export\-use\-hints -\& \-b, \-\-export\-background=COULEUR -\& \-y, \-\-export\-background\-opacity=VALEUR -\& \-d, \-\-export\-dpi=PPP -\& \-w, \-\-export\-width=LARGEUR -\& \-h, \-\-export\-height=HAUTEUR +\& \-b, \-\-export\-background=COULEUR +\& \-y, \-\-export\-background\-opacity=VALEUR +\& \-d, \-\-export\-dpi=DPI +\& \-w, \-\-export\-width=LARGEUR +\& \-h, \-\-export\-height=HAUTEUR \& \& \-P, \-\-export\-ps=NOMDEFICHIER \& \-E, \-\-export\-eps=NOMDEFICHIER \& \-A, \-\-export\-pdf=NOMDEFICHIER +\& \-\-export\-latex \& \& \-T, \-\-export\-text\-to\-path \& \-\-export\-ignore\-filters \& -\& \-l, \-\-export\-plain\-svg=NOMDEFICHIER +\& \-l, \-\-export\-plain\-svg=NOMDEFICHIER \& \& \-p, \-\-print=IMPRIMANTE \& -\& \-I, \-\-query\-id=ID +\& \-I, \-\-query\-id=ID \& \-X, \-\-query\-x \& \-Y, \-\-query\-y \& \-W, \-\-query\-width @@ -185,8 +124,8 @@ \& \& \-\-shell \& -\& \-g, \-\-with\-gui -\& \-z, \-\-without\-gui +\& \-g, \-\-with\-gui +\& \-z, \-\-without\-gui \& \& \-\-vacuum\-defs \& @@ -194,28 +133,29 @@ .Ve .SH "DESCRIPTION" .IX Header "DESCRIPTION" -\&\fBInkscape\fR est un A\*~Xditeur de dessin au format \fBScalable Vector Graphics (\s-1SVG\s0)\fR -dotA\*~X d'une interface graphique, offrant des possibilitA\*~Xs similaires A\*~\ \fBAdobe -Illustrator\fR, \fBCorelDraw\fR, \fBXara Xtreme\fR, etc. Les fonctionnalitA\*~Xs d'Inkscape -comprennent une gestion versatile des formes, le dessin A\*~\ main levA\*~Xe et les -courbes de BA\*~Xzier, le texte multiligne, le texte suivant un chemin, la -transparence, les transformations affines, les remplissages par motif ou -dA\*~XgradA\*~X, l'A\*~Xdition de nA\*oXuds, l'export \s-1SVG\s0 vers \s-1PNG\s0, le groupement, les calques, -les clones interactifs et bien plus encore. L'interface est conA\*~Xue pour A\*~Xtre -confortable et efficace pour les utilisateurs expA\*~XrimentA\*~Xs tout en restant -conforme aux spA\*~Xcifications de \fB\s-1GNOME\s0\fR permettant ainsi aux utilisateurs -d'applications \s-1GNOME\s0 de s'y habituer rapidement. +\&\fBInkscape\fR est un éditeur de dessin au format \fBScalable Vector Graphics +(\s-1SVG\s0)\fR doté d'une interface graphique, offrant des possibilités similaires à +\&\fBAdobe Illustrator\fR, \fBCorelDraw\fR, \fBXara Xtreme\fR, etc. Les fonctionnalités +d'Inkscape comprennent une gestion versatile des formes, le dessin à main +levée et les courbes de Bézier, le texte multiligne, le texte suivant un +chemin, la transparence, les transformations affines, les remplissages par +motif ou dégradé, l'édition de nœuds, l'export \s-1SVG\s0 vers \s-1PNG\s0, le groupement, +les calques, les clones interactifs et bien plus encore. L'interface est +conçue pour être confortable et efficace pour les utilisateurs expérimentés +tout en restant conforme aux spécifications de \fB\s-1GNOME\s0\fR permettant ainsi aux +utilisateurs d'applications \s-1GNOME\s0 de s'y habituer rapidement. .PP Le format \fB\s-1SVG\s0\fR est un format \s-1XML\s0 standard pour le dessin vectoriel 2D. Il -permet de dA\*~Xfinir des objets sur un dessin par l'utilisation de points, chemins -et formes primitives. Les couleurs, fontes, largeur de contour et autres sont -spA\*~XcifiA\*~Xs en tant qu'attributs de 'style' de ces objets. Le but est de rendre -possible l'utilisation de fichiers \s-1SVG\s0 pour un grand nombre de programmes et -d'utilisation, \s-1SVG\s0 A\*~Xtant un standard et ses fichiers du type texte/xml. +permet de définir des objets sur un dessin par l'utilisation de points, +chemins et formes primitives. Les couleurs, fontes, largeur de contour et +autres sont spécifiés en tant qu'attributs de 'style' de ces objets. Le but +est de rendre possible l'utilisation de fichiers \s-1SVG\s0 pour un grand nombre de +programmes et d'utilisation, \s-1SVG\s0 étant un standard et ses fichiers du type +texte/xml. .PP -\&\fBInkscape\fR utilise le \s-1SVG\s0 comme format natif de ses documents, et a pour but -de devenir le plus conforme des programmes de dessin \s-1SVG\s0, disponible pour la -communautA\*~X du logiciel libre. +\&\fBInkscape\fR utilise le \s-1SVG\s0 comme format natif de ses documents, et a pour +but de devenir le plus conforme des programmes de dessin \s-1SVG\s0, disponible +pour la communauté du logiciel libre. .SH "OPTIONS" .IX Header "OPTIONS" .IP "\fB\-?\fR, \fB\-\-help\fR" 8 @@ -226,428 +166,471 @@ Affiche la version d'Inkscape et la date de compilation. .IP "\fB\-a\fR \fIx0:y0:x1:y1\fR, \fB\-\-export\-area\fR=\fIx0:y0:x1:y1\fR" 8 .IX Item "-a x0:y0:x1:y1, --export-area=x0:y0:x1:y1" -Pour l'export en \s-1PNG\s0, dA\*~Xfinit la zone A\*~\ exporter en pixels \s-1SVG\s0 (unitA\*~X anonyme de -longueur utilisA\*~Xe normalement par le format \s-1SVG\s0 Inkscape). Le comportement par -dA\*~Xfaut est d'exporter la page du document. Le point (0,0) est le coin infA\*~Xrieur -gauche. +Pour l'export en \s-1PNG\s0, définit la zone à exporter en pixels \s-1SVG\s0 (unité +anonyme de longueur utilisée normalement par le format \s-1SVG\s0 Inkscape). Le +comportement par défaut est d'exporter la page du document. Le point (0,0) +est le coin inférieur gauche. .IP "\fB\-C\fR, \fB\-\-export\-area\-page\fR" 8 .IX Item "-C, --export-area-page" -Pour l'export en \s-1PNG\s0, \s-1PDF\s0, \s-1PS\s0 et \s-1EPS\s0, la zone exportA\*~Xe est la page. C'est -habituellement le comportement par dA\*~Xfaut pour les formats \s-1PNG\s0, \s-1PDF\s0 et \s-1PS\s0, aussi -spA\*~Xcifier cette option n'est pas nA\*~Xcessaire pour ces formats sauf si l'option -\&\-\-export\-id est utilisA\*~Xe pour exporter un objet spA\*~Xcifique. En \s-1EPS\s0, cependant, -il ne s'agit pas du comportement par dA\*~Xfaut. De plus, pour l'\s-1EPS\s0, la -spA\*~Xcification du format n'autorise pas sa boA\*~Xte englobante A\*~\ s'A\*~Xtendre au-delA\*~\ -de son contenu, ce qui signifie que lorsque l'option \-\-export\-area\-page est -utilisA\*~Xe pour l'export \s-1EPS\s0, la boA\*~Xte englobante de la page sera redimensionnA\*~Xe -pour s'adapter A\*~\ la boA\*~Xte englobante de son contenu si elle est plus petite. +Pour l'export en \s-1PNG\s0, \s-1PDF\s0, \s-1PS\s0 et \s-1EPS\s0, la zone exportée est la page. C'est +habituellement le comportement par défaut pour les formats \s-1PNG\s0, \s-1PDF\s0 et \s-1PS\s0, +aussi spécifier cette option n'est pas nécessaire pour ces formats sauf si +l'option \-\-export\-id est utilisée pour exporter un objet spécifique. En \s-1EPS\s0, +cependant, il ne s'agit pas du comportement par défaut. De plus, pour l'\s-1EPS\s0, +la spécification du format n'autorise pas sa boîte englobante à s'étendre +au-delà de son contenu, ce qui signifie que lorsque l'option +\&\-\-export\-area\-page est utilisée pour l'export \s-1EPS\s0, la boîte englobante de la +page sera redimensionnée pour s'adapter à la boîte englobante de son contenu +si elle est plus petite. .IP "\fB\-D\fR, \fB\-\-export\-area\-drawing\fR" 8 .IX Item "-D, --export-area-drawing" -Pour l'export en \s-1PNG\s0, \s-1PDF\s0, \s-1PS\s0 et \s-1EPS\s0, la zone A\*~\ exporter est le dessin entier -(pas la page), c'est A\*~\ dire la boA\*~Xte englobante de l'ensemble des objets du -document (ou des objets exportA\*~Xs lorsque l'option \-\-export\-id est utilisA\*~Xe). -Avec cette option, l'image exportA\*~Xe n'affichera que les objets visibles du -document sans marge ni massicotage. Il s'agit de l'option par dA\*~Xfaut pour -l'export au format \s-1EPS\s0. Peut A\*~Xtre combinA\*~X, lors de l'export en \s-1PNG\s0, avec -\&\-\-export\-use\-hints. +Pour l'export en \s-1PNG\s0, \s-1PDF\s0, \s-1PS\s0 et \s-1EPS\s0, la zone à exporter est le dessin +entier (pas la page), c'est à dire la boîte englobante de l'ensemble des +objets du document (ou des objets exportés lorsque l'option \-\-export\-id est +utilisée). Avec cette option, l'image exportée n'affichera que les objets +visibles du document sans marge ni massicotage. Il s'agit de l'option par +défaut pour l'export au format \s-1EPS\s0. Peut être combiné, lors de l'export en +\&\s-1PNG\s0, avec \-\-export\-use\-hints. .IP "\fB\-\-export\-area\-snap\fR" 8 .IX Item "--export-area-snap" -Arrondi les dimensions de la zone A\*~\ exporter aux valeurs entiA\*~Xres supA\*~Xrieures en - unitA\*~Xs \s-1SVG\s0 utilisateur (px). -Si vous utilisez une rA\*~Xsolution d'export de 90ppp et que vos objets sont alignA\*~Xs -aux pixels afin de minimiser l'anti-crA\*~Xnelage, cette option permet de prA\*~Xserver -cet alignement mA\*~Xme si l'export se fait selon des boA\*~Xtes de contour (avec -\&\-\-export\-id ou \-\-export\-area\-drawing) qui ne sont pas correctement alignA\*~Xes sur -les pixels. +Arrondi les dimensions de la zone à exporter aux valeurs entières +supérieures en unités \s-1SVG\s0 utilisateur (px). Si vous utilisez une résolution +d'export de 90 ppp et que vos objets sont alignés aux pixels afin de +minimiser l'anti-crénelage, cette option permet de préserver cet alignement +même si l'export se fait selon des boîtes de contour (avec \-\-export\-id ou +\&\-\-export\-area\-drawing) qui ne sont pas correctement alignées sur les pixels. .IP "\fB\-b\fR \fI\s-1COULEUR\s0\fR, \fB\-\-export\-background\fR=\fI\s-1COULEUR\s0\fR" 8 .IX Item "-b COULEUR, --export-background=COULEUR" -Couleur de fond du \s-1PNG\s0 exportA\*~X. -Cette valeur peut A\*~Xtre n'importe quelle chaA\*~Xne de couleur supportA\*~Xe par le -format \s-1SVG\s0, par exemple \*(L"#ff007f\*(R" ou \*(L"rgb(255, 0, 128)\*(R". -Si cette couleur n'est pas dA\*~Xfinie, la couleur de page dA\*~Xfinie dans Inkscape via -la boA\*~Xte de dialogue PrA\*~XfA\*~Xrences du document sera utilisA\*~Xe (enregistrA\*~Xe dans -l'attribut pagecolor= de sodipodi:namedview). +Couleur de fond du \s-1PNG\s0 exporté. Cette valeur peut être n'importe quelle +chaîne de couleur supportée par le format \s-1SVG\s0, par exemple \*(L"#ff007f\*(R" ou +\&\*(L"rgb(255, 0, 128)\*(R". Si cette couleur n'est pas définie, la couleur de page +définie dans Inkscape via la boîte de dialogue Préférences du document sera +utilisée (enregistrée dans l'attribut pagecolor= de sodipodi:namedview). .IP "\fB\-d\fR \fI\s-1PPP\s0\fR, \fB\-\-export\-dpi\fR=\fI\s-1PPP\s0\fR" 8 .IX Item "-d PPP, --export-dpi=PPP" -La rA\*~Xsolution utilisA\*~Xe pour l'export en \s-1PNG\s0. Elle est A\*~Xgalement utilisA\*~Xe pour -dA\*~Xfinir le niveau de rastA\*~Xrisation des objets filtrA\*~Xs lors de l'export en \s-1PS\s0, -\&\s-1EPS\s0 ou \s-1PDF\s0 (sauf si l'option \-\-export\-ignore\-filters est utilisA\*~Xe). -Elle est de 90 par dA\*~Xfaut, correspondant A\*~\ 1 pixel \s-1SVG\s0 (px, aussi appelA\*~X \*(L"unitA\*~X -utilisateur\*(R") s'exportant vers 1 pixel bitmap. -Cette valeur prA\*~Xempte la \s-1PPP\s0 enregistrA\*~Xe avec le document si la commande est -utilisA\*~Xe avec \-\-export\-use\-hints. +La résolution utilisée pour l'export en \s-1PNG\s0. Elle est également utilisée +pour définir le niveau de rastérisation des objets filtrés lors de l'export +en \s-1PS\s0, \s-1EPS\s0 ou \s-1PDF\s0 (sauf si l'option \-\-export\-ignore\-filters est +utilisée). Elle est de 90 par défaut, correspondant à 1 pixel \s-1SVG\s0 (px, aussi +appelé « unité utilisateur ») s'exportant vers 1 pixel bitmap. Cette valeur +préempte la \s-1PPP\s0 enregistrée avec le document si la commande est utilisée +avec \-\-export\-use\-hints. .IP "\fB\-e\fR \fI\s-1NOMDEFICHIER\s0\fR, \fB\-\-export\-png\fR=\fI\s-1NOMDEFICHIER\s0\fR" 8 .IX Item "-e NOMDEFICHIER, --export-png=NOMDEFICHIER" -SpA\*~Xcifie le nom de fichier pour l'export en \s-1PNG\s0. -S'il existe dA\*~XjA\*~\ , il sera A\*~XcrasA\*~X sans demande de confirmation. +Spécifie le nom de fichier pour l'export en \s-1PNG\s0. S'il existe déjà, il sera +écrasé sans demande de confirmation. .IP "\fB\-f\fR \fI\s-1NOMDEFICHIER\s0\fR, \fB\-\-file\fR=\fI\s-1NOMDEFICHIER\s0\fR" 8 .IX Item "-f NOMDEFICHIER, --file=NOMDEFICHIER" -Ouvre le(s) document(s) spA\*~XcifiA\*~X(s). -La chaA\*~Xne d'option peut A\*~Xtre omise, c'est A\*~\ dire que vous pouvez lister les noms -de fichier sans \-f. +Ouvre le(s) document(s) spécifié(s). La chaîne d'option peut être omise, +c'est à dire que vous pouvez lister les noms de fichier sans \-f. .IP "\fB\-g\fR, \fB\-\-with\-gui\fR" 8 .IX Item "-g, --with-gui" -Tente d'utiliser l'interface graphique (sous Unix, utilise le serveur X, mA\*~Xme si -\&\f(CW$DISPLAY\fR n'est pas dA\*~Xfini). +Tente d'utiliser l'interface graphique (sous Unix, utilise le serveur X, +même si \f(CW$DISPLAY\fR n'est pas défini). .IP "\fB\-h\fR \fI\s-1HAUTEUR\s0\fR, \fB\-\-export\-height\fR=\fI\s-1HAUTEUR\s0\fR" 8 .IX Item "-h HAUTEUR, --export-height=HAUTEUR" -Hauteur du bitmap gA\*~XnA\*~XrA\*~X en pixels. -Cette valeur prA\*~Xempte l'option \-\-export\-dpi (ou la \s-1PPP\s0 enregistrA\*~Xe avec le -document si \-\-export\-use\-hints est aussi utilisA\*~X). +Hauteur du bitmap généré en pixels. Cette valeur préempte l'option +\&\-\-export\-dpi (ou la \s-1PPP\s0 enregistrée avec le document si \-\-export\-use\-hints +est aussi utilisé). .IP "\fB\-i\fR \fI\s-1ID\s0\fR, \fB\-\-export\-id\fR=\fI\s-1ID\s0\fR" 8 .IX Item "-i ID, --export-id=ID" -Lors des exportations \s-1PNG\s0, \s-1PS\s0, \s-1EPS\s0 et \s-1PDF\s0, valeur de l'attribut id de l'objet -que vous voulez exporter depuis le document (aucun autre objet n'est exportA\*~X). -Par dA\*~Xfaut la zone exportA\*~Xe est la boA\*~Xte englobante de l'objet ; vous pouvez -prA\*~Xempter ce comportement en utilisant \-\-export\-area (pour le \s-1PNG\s0 seulement) ou -\&\-\-export\-area\-page. +Lors des exportations \s-1PNG\s0, \s-1PS\s0, \s-1EPS\s0 et \s-1PDF\s0, valeur de l'attribut id de +l'objet que vous voulez exporter depuis le document (aucun autre objet n'est +exporté). Par défaut la zone exportée est la boîte englobante de l'objet ; +vous pouvez préempter ce comportement en utilisant \-\-export\-area (pour le +\&\s-1PNG\s0 seulement) ou \-\-export\-area\-page. .IP "\fB\-j\fR, \fB\-\-export\-id\-only\fR" 8 .IX Item "-j, --export-id-only" -N'exporte que l'objet dont l'id est spA\*~XcifiA\*~Xe avec avec l'option \-\-export\-id. -Tout les autres objets seront cachA\*~Xs et n'apparaA\*~Xtront pas dans le fichier -exportA\*~X mA\*~Xme s'ils chevauchent l'objet effectivement exportA\*~X. Cette option est -ignorA\*~Xe si \-\-export\-id n'est pas aussi utilisA\*~X. +N'exporte que l'objet dont l'id est spécifiée avec avec l'option +\&\-\-export\-id. Tout les autres objets seront cachés et n'apparaîtront pas dans +le fichier exporté même s'ils chevauchent l'objet effectivement +exporté. Cette option est ignorée si \-\-export\-id n'est pas aussi utilisé. .IP "\fB\-l\fR, \fB\-\-export\-plain\-svg\fR=\fI\s-1NOMDEFICHIER\s0\fR" 8 .IX Item "-l, --export-plain-svg=NOMDEFICHIER" -Exporte le(s) document(s) en \s-1SVG\s0 brut, sans espace de nom sodipodi: ou inkscape: et sans mA\*~XtadonnA\*~Xes \s-1RDF\s0. -.IP "\fB\-l\fR, \fB\-\-extension\-directory\fR" 8 -.IX Item "-l, --extension-directory" -Liste le contenu du rA\*~Xpertoire d'extensions configurA\*~X en tant que tel par Inkscape, puis sort. -Cette option est utilisA\*~Xe afin que les extensions externes utilisent la configuration originale gA\*~XnA\*~XrA\*~Xe A\*~\ l'installation d'Inkscape. +Exporte le(s) document(s) en \s-1SVG\s0 brut, sans espace de nom sodipodi: ou +inkscape: et sans métadonnées \s-1RDF\s0. +.IP "\fB\-x\fR, \fB\-\-extension\-directory\fR" 8 +.IX Item "-x, --extension-directory" +Liste le contenu du répertoire d'extensions configuré en tant que tel par +Inkscape, puis sort. Cette option est utilisée afin que les extensions +externes utilisent la configuration originale générée à l'installation +d'Inkscape. +.IP "\fB\-\-verb\-list\fR" 8 +.IX Item "--verb-list" +Liste tous les verbes disponibles dans Inkscape par identifiant. Cet +identifiant peut être utilisé pour définir les actions du clavier ou les +menus. Il peut également être utilisé avec l'option de ligne de commande +\&\-\-verb. .IP "\fB\-\-verb\fR=\fIVERB\-ID\fR, \fB\-\-select\fR=\fIOBJECT\-ID\fR" 8 .IX Item "--verb=VERB-ID, --select=OBJECT-ID" -Ces deux options fonctionnent de concert pour offrir la possibilitA\*~X d'A\*~Xcrire des -scripts simples pour Inkscape depuis la ligne de commande. Il peuvent apparaA\*~Xtre -sur la ligne de commande aussi souvent que nA\*~Xcessaire et sont exA\*~XcutA\*~Xs dans -l'ordre pour tous les documents spA\*~XcifiA\*~Xs. -.Sp -La commande \-\-verb exA\*~Xcute une action spA\*~Xcifique comme si elle A\*~Xtait appelA\*~Xe -depuis un menu ou un bouton. Un boA\*~Xte de dialogue apparaA\*~Xt lorsqu'elle fait -partie de l'action. Utilisez l'option \-\-verb\-list pour lister les identifiants -d'action disponibles. -.Sp -La commande \-\-select sA\*~Xlectionne les objects correspondants A\*~\ l'identifiant -spA\*~XcifiA\*~X. Les actions suivantes ne s'appliquent alors qu'A\*~\ cette sA\*~Xlection. Pour -dA\*~XsA\*~Xlectionner tous les objets, utilisez \-\-verb=EditDeselect. Les identifiants -d'objet disponibles dA\*~Xpendent du document ouvert. +Ces deux options fonctionnent de concert pour offrir la possibilité d'écrire +des scripts simples pour Inkscape depuis la ligne de commande. Il peuvent +apparaître sur la ligne de commande aussi souvent que nécessaire et sont +exécutés dans l'ordre pour tous les documents spécifiés. +.Sp +La commande \-\-verb exécute une action spécifique comme si elle était appelée +depuis un menu ou un bouton. Un boîte de dialogue apparaît lorsqu'elle fait +partie de l'action. Utilisez l'option \-\-verb\-list pour lister les +identifiants d'action disponibles. +.Sp +La commande \-\-select sélectionne les objects correspondants à l'identifiant +spécifié. Les actions suivantes ne s'appliquent alors qu'à cette +sélection. Pour désélectionner tous les objets, utilisez +\&\-\-verb=EditDeselect. Les identifiants d'objet disponibles dépendent du +document ouvert. .IP "\fB\-p\fR \fI\s-1IMPRIMANTE\s0\fR, \fB\-\-print\fR=\fI\s-1IMPRIMANTE\s0\fR" 8 .IX Item "-p IMPRIMANTE, --print=IMPRIMANTE" -Imprime le(s) document(s) vers l'imprimante spA\*~XcifiA\*~Xe en utilisant `lpr \-P \s-1IMPRIMANTE\s0'. -Vous pouvez aussi utiliser `| \s-1COMMANDE\s0' pour spA\*~Xcifier un tube de commande diffA\*~Xrent, ou utiliser `> \s-1NOMDEFICHIER\s0' pour A\*~Xcrire le rA\*~Xsultat PostScript dans un fichier au lieu de l'imprimer. -N'oubliez pas d'utiliser les guillemets appropriA\*~Xs pour votre shell, par exemple +Imprime le(s) document(s) vers l'imprimante spécifiée en utilisant `lpr \-P +\&\s-1IMPRIMANTE\s0'. Vous pouvez aussi utiliser `| \s-1COMMANDE\s0' pour spécifier un tube +de commande différent, ou utiliser `> \s-1NOMDEFICHIER\s0' pour écrire le résultat +PostScript dans un fichier au lieu de l'imprimer. N'oubliez pas d'utiliser +les guillemets appropriés pour votre shell, par exemple : +.Sp inkscape \-\-print='| ps2pdf \- mondoc.pdf' mondoc.svg .IP "\fB\-t\fR, \fB\-\-export\-use\-hints\fR" 8 .IX Item "-t, --export-use-hints" -Utilise le nom de fichier et la \s-1PPP\s0 enregistrA\*~Xs avec l'objet exportA\*~X (uniquement si \-\-export\-id est spA\*~XcifiA\*~X). -Ces valeurs sont automatiquement spA\*~XcifiA\*~Xes si vous exportez la sA\*~Xlection depuis Inkscape. -Donc, si par exemple, vous exportez la forme id=\*(L"path231\*(R" en tant que /home/me/shape.png avec une rA\*~Xsolution de 300 ppp depuis le document.svg en utilisant l'interface graphique d'Inkscape, et sauvez le document, vous pourrez rA\*~Xexporter plus tard cette forme vers le mA\*~Xme fichier et avec la mA\*~Xme rA\*~Xsolution en utilisant simplement la commande : +Utilise le nom de fichier et la \s-1PPP\s0 enregistrés avec l'objet exporté +(uniquement si \-\-export\-id est spécifié). Ces valeurs sont automatiquement +spécifiées si vous exportez la sélection depuis Inkscape. Donc, si par +exemple, vous exportez la forme id=\*(L"path231\*(R" en tant que /home/me/shape.png +avec une résolution de 300 ppp depuis document.svg en utilisant l'interface +graphique d'Inkscape, et sauvez le document, vous pourrez réexporter plus +tard cette forme vers le même fichier et avec la même résolution en +utilisant simplement la commande : +.Sp inkscape \-i path231 \-t document.svg .Sp -Si vous utilisez \-\-export\-dpi, \-\-export\-width, ou \-\-export\-height avec cette option, la \s-1PPP\s0 enregistrA\*~Xe avec le document sera ignorA\*~Xe et la valeur fournie A\*~\ la ligne de commande utilisA\*~Xe. -Si vous utilisez \-\-export\-png avec cette option, le nom de fichier enregistrA\*~X avec le document sera ignorA\*~X et le nom de fichier fourni A\*~\ la ligne de commande utilisA\*~X. +Si vous utilisez \-\-export\-dpi, \-\-export\-width, ou \-\-export\-height avec cette +option, la \s-1PPP\s0 enregistrée avec le document sera ignorée et la valeur +fournie à la ligne de commande utilisée. Si vous utilisez \-\-export\-png avec +cette option, le nom de fichier enregistré avec le document sera ignoré et +le nom de fichier fourni à la ligne de commande utilisé. .IP "\fB\-w\fR \fI\s-1LARGEUR\s0\fR, \fB\-\-export\-width\fR=\fI\s-1LARGEUR\s0\fR" 8 .IX Item "-w LARGEUR, --export-width=LARGEUR" -Largeur du bitmap gA\*~XnA\*~XrA\*~X en pixels. -Cette valeur prA\*~Xempte l'option \-\-export\-dpi setting (ou la \s-1PPP\s0 enregistrA\*~Xe avec -le document si \-\-export\-use\-hints est aussi utilisA\*~X). +Largeur du bitmap généré en pixels. Cette valeur préempte l'option +\&\-\-export\-dpi setting (ou la \s-1PPP\s0 enregistrée avec le document si +\&\-\-export\-use\-hints est aussi utilisé). .IP "\fB\-y\fR \fI\s-1VALEUR\s0\fR, \fB\-\-export\-background\-opacity\fR=\fI\s-1VALEUR\s0\fR" 8 .IX Item "-y VALEUR, --export-background-opacity=VALEUR" -OpacitA\*~X du fond du \s-1PNG\s0 exportA\*~X. -Cela peut A\*~Xtre une valeur entre 0.0 et 1.0 (0.0 : complA\*~Xtement transparent, 1.0 -complA\*~Xtement opaque) ou supA\*~Xrieure A\*~\ 1 et infA\*~Xrieure A\*~\ 255 (255 : complA\*~Xtement -opaque). -Si cette valeur n'est pas spA\*~XcifiA\*~Xe et si l'option \-b n'est pas utilisA\*~Xe, -l'opacitA\*~X de la page enregistrA\*~Xe avec le document (dans l'attribut -inkscape:pageopacity= de sodipodi:namedview) sera utilisA\*~Xe. -Si cette valeur n'est pas spA\*~XcifiA\*~Xe mais que l'option \-b est utilisA\*~Xe, la valeur -255 (opacitA\*~X complA\*~Xte) sera utilisA\*~Xe. +Opacité du fond du \s-1PNG\s0 exporté. Cela peut être une valeur entre 0.0 et 1.0 +(0.0 : complètement transparent, 1.0 complètement opaque) ou supérieure à 1 +et inférieure à 255 (255 : complètement opaque). Si cette valeur n'est pas +spécifiée et si l'option \-b n'est pas utilisée, l'opacité de la page +enregistrée avec le document (dans l'attribut inkscape:pageopacity= de +sodipodi:namedview) sera utilisée. Si cette valeur n'est pas spécifiée mais +que l'option \-b est utilisée, la valeur 255 (opacité complète) sera +utilisée. .IP "\fB\-P\fR \fI\s-1NOMDEFICHIER\s0\fR, \fB\-\-export\-ps\fR=\fI\s-1NOMDEFICHIER\s0\fR" 8 .IX Item "-P NOMDEFICHIER, --export-ps=NOMDEFICHIER" Exporte le ou les documents au format PostScript. Notez que PostScript ne -supporte pas la transparence, et que tout objet transparent dans le \s-1SVG\s0 original -sera automatiquement rastA\*~XrisA\*~X. Les polices utilisA\*~Xs sont incorporA\*~Xes en tant -que sous-ensemble. La zone d'exportation par dA\*~Xfaut est la page, mais vous pouvez -choisir de limiter cette zone au dessin avec l'option \-\-export\-area\-drawing. Il -est A\*~Xgalement possible de n'exporter qu'un objet en spA\*~Xcifiant \-\-export\-id (tous -les autres objets sont cachA\*~Xs) . Dans ce cas, la zone d'exportation correspond A\*~\ -celle de l'objet choisi, A\*~\ moins que vous n'ajoutiez l'option \-\-export\-area\-page -pour que cette zone prenne la taille de la page. +supporte pas la transparence, et que tout objet transparent dans le \s-1SVG\s0 +original sera automatiquement rastérisé. Les polices utilisés sont +incorporées en tant que sous-ensemble. La zone d'exportation par défaut est +la page, mais vous pouvez choisir de limiter cette zone au dessin avec +l'option \-\-export\-area\-drawing. Il est également possible de n'exporter +qu'un objet en spécifiant \-\-export\-id (tous les autres objets sont +cachés). Dans ce cas, la zone d'exportation correspond à celle de l'objet +choisi, à moins que vous n'ajoutiez l'option \-\-export\-area\-page pour que +cette zone prenne la taille de la page. .IP "\fB\-E\fR \fI\s-1NOMDEFICHIER\s0\fR, \fB\-\-export\-eps\fR=\fI\s-1NOMDEFICHIER\s0\fR" 8 .IX Item "-E NOMDEFICHIER, --export-eps=NOMDEFICHIER" -Exporte le ou les documents au format Encapsulated PostScript. Notez que PostScript ne -supporte pas la transparence, et que tout objet transparent dans le \s-1SVG\s0 original -sera automatiquement rastA\*~XrisA\*~X. Les polices utilisA\*~Xs sont incorporA\*~Xes en tant -que sous-ensemble. La zone d'exportation par dA\*~Xfaut est la page, mais vous pouvez -choisir de limiter cette zone au dessin avec l'option \-\-export\-area\-drawing. Il -est A\*~Xgalement possible de n'exporter qu'un objet en spA\*~Xcifiant \-\-export\-id (tous -les autres objets sont cachA\*~Xs) . +Exporte le ou les documents au format Encapsulated PostScript. Notez que +PostScript ne supporte pas la transparence, et que tout objet transparent +dans le \s-1SVG\s0 original sera automatiquement rastérisé. Les polices utilisés +sont incorporées en tant que sous-ensemble. La zone d'exportation par défaut +est la page, mais vous pouvez choisir de limiter cette zone au dessin avec +l'option \-\-export\-area\-drawing. Il est également possible de n'exporter +qu'un objet en spécifiant \-\-export\-id (tous les autres objets sont cachés). .IP "\fB\-A\fR \fI\s-1FILENAME\s0\fR, \fB\-\-export\-pdf\fR=\fI\s-1FILENAME\s0\fR" 8 .IX Item "-A FILENAME, --export-pdf=FILENAME" -Exporte le ou les documents au format \s-1PDF\s0. Ce format prA\*~Xserve la transparence des -objets prA\*~Xsents dans le \s-1SVG\s0 original. Les polices utilisA\*~Xs sont incorporA\*~Xes en tant -que sous-ensemble. La zone d'exportation par dA\*~Xfaut est la page, mais vous pouvez -choisir de limiter cette zone au dessin avec l'option \-\-export\-area\-drawing. Il -est A\*~Xgalement possible de n'exporter qu'un objet en spA\*~Xcifiant \-\-export\-id (tous -les autres objets sont cachA\*~Xs) . Dans ce cas, la zone d'exportation correspond A\*~\ -celle de l'objet choisi, A\*~\ moins que vous n'ajoutiez l'option \-\-export\-area\-page -pour que cette zone prenne la taille de la page. +Exporte le ou les documents au format \s-1PDF\s0. Ce format préserve la +transparence des objets présents dans le \s-1SVG\s0 original. Les polices utilisés +sont incorporées en tant que sous-ensemble. La zone d'exportation par défaut +est la page, mais vous pouvez choisir de limiter cette zone au dessin avec +l'option \-\-export\-area\-drawing. Il est également possible de n'exporter +qu'un objet en spécifiant \-\-export\-id (tous les autres objets sont +cachés). Dans ce cas, la zone d'exportation correspond à celle de l'objet +choisi, à moins que vous n'ajoutiez l'option \-\-export\-area\-page pour que +cette zone prenne la taille de la page. +.IP "\fB\-\-export\-latex\fR" 8 +.IX Item "--export-latex" +(for \s-1PS\s0, \s-1EPS\s0, and \s-1PDF\s0 export) Used for creating images for LaTeX documents, +where the image's text is typeset by LaTeX. When exporting to \s-1PDF/PS/EPS\s0 +format, this option splits the output into a \s-1PDF/PS/EPS\s0 file (e.g. as +specified by \-\-export\-pdf) and a LaTeX file. Text will not be output in the +\&\s-1PDF/PS/EPS\s0 file, but instead will appear in the LaTeX file. This LaTeX file +includes the \s-1PDF/PS/EPS\s0. Inputting (\einput{image.tex}) the LaTeX file in +your LaTeX document will show the image and all text will be typeset by +LaTeX. See the resulting LaTeX file for more information. Also see +GNUPlot's `epslatex' output terminal. .IP "\fB\-T\fR, \fB\-\-export\-text\-to\-path\fR" 8 .IX Item "-T, --export-text-to-path" -Convertit les objets texte en chemins lors de l'export, si applicable (pour l'exportation -en \s-1PS\s0, \s-1EPS\s0 et \s-1PDF\s0). +Convertit les objets texte en chemins lors de l'export, si applicable (pour +l'exportation en \s-1PS\s0, \s-1EPS\s0 ou \s-1PDF\s0). .IP "\fB\-\-export\-ignore\-filters\fR" 8 .IX Item "--export-ignore-filters" -Exporte les objets filtrA\*~Xs (avec du flou, par exemple) comme des vecteurs, en -ignorant les filtres (pour l'exportation en \s-1PS\s0, \s-1EPS\s0 et \s-1PDF\s0). Par dA\*~Xfaut, tous -les objets filtrA\*~Xs sont rastA\*~XrisA\*~Xs A\*~\ une dA\*~Xfinition choisie par \-\-export\-dpi -(par dA\*~Xfaut 90 ppp), en prA\*~Xservant son apparence. +Exporte les objets filtrés (avec du flou, par exemple) comme des vecteurs, +en ignorant les filtres (pour l'exportation en \s-1PS\s0, \s-1EPS\s0 ou \s-1PDF\s0). Par défaut, +tous les objets filtrés sont rastérisés à une définition choisie par +\&\-\-export\-dpi (par défaut 90 ppp), en préservant son apparence. .IP "\fB\-I\fR, \fB\-\-query\-id\fR" 8 .IX Item "-I, --query-id" -\&\s-1ID\s0 de l'objet dont les dimensions sont demandA\*~Xes. Si cette option n'est pas -utilisA\*~Xe, la commande retournera les dimensions du dessin, pas de la page ou de -la zone affichA\*~Xe. +Identifiant de l'objet dont les dimensions sont demandées. Si cette option +n'est pas utilisée, la commande retournera les dimensions du dessin, pas de +la page ou de la zone affichée. .IP "\fB\-X\fR, \fB\-\-query\-x\fR" 8 .IX Item "-X, --query-x" -Demande l'abscisse (coordonnA\*~Xe X) du dessin ou, si spA\*~XcifiA\*~X avec \-\-query\-id, de -l'objet. La valeur retournA\*~Xe est en px (unitA\*~X utilisateur \s-1SVG\s0). +Demande l'abscisse (coordonnée X) du dessin ou, si spécifié avec \-\-query\-id, +de l'objet. La valeur retournée est en pixels (unité utilisateur \s-1SVG\s0). .IP "\fB\-Y\fR, \fB\-\-query\-y\fR" 8 .IX Item "-Y, --query-y" -Demande l'ordonnA\*~Xe (coordonnA\*~Xe Y) du dessin ou, si spA\*~XcifiA\*~X avec \-\-query\-id de -l'objet. La valeur retournA\*~Xe est en px (unitA\*~X utilisateur \s-1SVG\s0). +Demande l'ordonnée (coordonnée Y) du dessin ou, si spécifié avec \-\-query\-id +de l'objet. La valeur retournée est en pixels (unité utilisateur \s-1SVG\s0). .IP "\fB\-W\fR, \fB\-\-query\-width\fR" 8 .IX Item "-W, --query-width" -Demande la largeur du dessin ou, si spA\*~XcifiA\*~X avec \-\-query\-id, de l'objet. La -valeur retournA\*~Xe est en px (unitA\*~X utilisateur \s-1SVG\s0). +Demande la largeur du dessin ou, si spécifié avec \-\-query\-id, de l'objet. La +valeur retournée est en pixels (unité utilisateur \s-1SVG\s0). .IP "\fB\-H\fR, \fB\-\-query\-height\fR" 8 .IX Item "-H, --query-height" -Demande la hauteur du dessin ou, si spA\*~XcifiA\*~X avec \-\-query\-id, de l'objet. La -valeur retournA\*~Xe est en px (unitA\*~X utilisateur \s-1SVG\s0). +Demande la hauteur du dessin ou, si spécifié avec \-\-query\-id, de l'objet. La +valeur retournée est en pixels (unité utilisateur \s-1SVG\s0). .IP "\fB\-S\fR, \fB\-\-query\-all\fR" 8 .IX Item "-S, --query-all" -Affiche un liste dA\*~XlimitA\*~Xe par des virgules des tous les objets du document \s-1SVG\s0 -comprenant leur identifiant, et les valeurs x, y, largeur et hauteur. +Affiche un liste délimitée par des virgules des tous les objets du document +\&\s-1SVG\s0 comprenant leur identifiant, et les valeurs x, y, largeur et hauteur. .IP "\fB\-\-shell\fR" 8 .IX Item "--shell" -Avec ce paramA\*~Xtre, Inkscape entre en mode de ligne de commande interactif. Dans -ce mode, vous pouvez envoyer des commandes A\*~\ Inkscape par le prompt, sans avoir -A\*~\ lancer une nouvelle instance du logiciel A\*~\ chaque commande. -Cette fonctionnalitA\*~X est particuliA\*~Xrement utile pour une utilisation en scripts -et en serveur. Elle permet d'amA\*~Xliorer la vitesse d'exA\*~Xcution et l'occupation en -mA\*~Xmoire des scripts utilisA\*~Xs de faA\*~Xon rA\*~XpA\*~XtA\*~Xe. Chaque commande, dans ce mode, -doit contenir tous les paramA\*~Xtres d'une ligne de commande classique, A\*~\ l'exception -du nom du programme (inkscape), comme dans l'exemple suivant : -\&\*(L"fichier.svg \-\-export\-pdf=fichier.pdf\*(R". +Avec ce paramètre, Inkscape entre en mode de ligne de commande +interactif. Dans ce mode, vous pouvez envoyer des commandes à Inkscape par +le prompt, sans avoir à lancer une nouvelle instance du logiciel à chaque +commande. Cette fonctionnalité est particulièrement utile pour une +utilisation en scripts et en serveur. Elle permet d'améliorer la vitesse +d'exécution et l'occupation en mémoire des scripts utilisés de façon +répétée. Chaque commande, dans ce mode, doit contenir tous les paramètres +d'une ligne de commande classique, à l'exception du nom du programme +(inkscape), comme dans l'exemple suivant : \*(L"fichier.svg +\&\-\-export\-pdf=fichier.pdf\*(R". .IP "\fB\-\-vacuum\-defs\fR" 8 .IX Item "--vacuum-defs" -Supprime tous les A\*~XlA\*~Xments inutilisA\*~Xs de la section defs du fichier \s-1SVG\s0. -Si cette option est utilisA\*~Xe avec \-\-export\-plain\-svg, seul le fichier exportA\*~X sera affectA\*~X. -Si cette option est utilisA\*~Xe seule, le fichier spA\*~XcifiA\*~X sera modifiA\*~X. +Supprime tous les éléments inutilisés de la section defs du fichier +\&\s-1SVG\s0. Si cette option est utilisée avec \-\-export\-plain\-svg, seul le fichier +exporté sera affecté. Si cette option est utilisée seule, le fichier +spécifié sera modifié. .IP "\fB\-z\fR, \fB\-\-without\-gui\fR" 8 .IX Item "-z, --without-gui" -Ne lance pas l'interface graphique (sous Unix, n'utilise pas le server X); ne traite les fichiers que depuis la console. -Ceci est prA\*~XsupposA\*~X pour les options \-p, \-e, \-l et \-\-vacuum\-defs. +Ne lance pas l'interface graphique (sous Unix, n'utilise pas le server X) ; +ne traite les fichiers que depuis la console. Ceci est présupposé pour les +options \-p, \-e, \-l et \-\-vacuum\-defs. .IP "\fB\-\-g\-fatal\-warnings\fR" 8 .IX Item "--g-fatal-warnings" -ElA\*~Xment des options standards \s-1GTK\s0 reconnues. Ceci force Inkscape A\*~\ quitter pour tout avertissement \s-1GTK\s0. Cette option est listA\*~Xe parce qu'elle est utilisA\*~Xe A\*~\ des fins de dA\*~Xbuggage. +Cette option \s-1GTK\s0 standard force l'arrêt d'Inkscape dès qu'un message +d'avertssement (généralement sans gravité) est envoyé (utilisée à des fins +de déboggage). .IP "\fB\-\-usage\fR" 8 .IX Item "--usage" Affiche un bref message sur l'utilisation d'Inkscape. .SH "CONFIGURATION" .IX Header "CONFIGURATION" -Le fichier de configuration principal est placA\*~X dans ~/.config/Inkscape/preferences.xml. -Il contient plusieurs types de paramA\*~Xtrages dont vous pouvez changer la valeur -dans Inkscape (la plupart dans la boA\*~Xte de dialogue PrA\*~XfA\*~Xrences d'Inkscape). -Vous pouvez ajouter des configurations spA\*~Xcifiques dans les sous-rA\*~Xpertoires -suivants : +Le fichier de configuration principal est placé dans +~/.config/Inkscape/preferences.xml. Il contient plusieurs types de +paramétrages dont vous pouvez changer la valeur dans Inkscape (la plupart +dans la boîte de dialogue Préférences d'Inkscape). Vous pouvez ajouter des +configurations spécifiques dans les sous-répertoires suivants : .PP \&\fB\f(CB$HOME\fB\fR/.config/Inkscape/extensions/ \- extensions. .PP -\&\fB\f(CB$HOME\fB\fR/.config/Inkscape/icons/ \- icA\*~Xnes. -.PP -\&\fB\f(CB$HOME\fB\fR/.config/Inkscape/keys/ \- association des touches du clavier aux commandes. -.PP -\&\fB\f(CB$HOME\fB\fR/.config/Inkscape/templates/ \- modA\*~Xles de fichiers. +\&\fB\f(CB$HOME\fB\fR/.config/Inkscape/icons/ \- icônes. +.PP +\&\fB\f(CB$HOME\fB\fR/.config/Inkscape/keys/ \- association des touches du clavier aux +commandes. +.PP +\&\fB\f(CB$HOME\fB\fR/.config/Inkscape/templates/ \- modèles de fichiers. .SH "DIAGNOSTICS" .IX Header "DIAGNOSTICS" -Le programme retourne la valeur zA\*~Xro aprA\*~Xs une utilisation rA\*~Xussie ou diffA\*~Xrente -de zA\*~Xro aprA\*~Xs un problA\*~Xme. +Le programme retourne la valeur zéro après une utilisation réussie ou +différente de zéro après un problème. .PP -Des messages d'erreur et des avertissements divers peuvent A\*~Xtre A\*~Xcrits vers -\&\s-1STDERR\s0 ou \s-1STDOUT\s0. Si le programme se comporte de faA\*~Xon erratique avec un fichier -\&\s-1SVG\s0 particulier, ou se plante, il est parfois utile de chercher des indices dans -ces messages. +Des messages d'erreur et des avertissements divers peuvent être envoyés vers +\&\s-1STDERR\s0 ou \s-1STDOUT\s0. Si le programme se comporte de façon erratique avec un +fichier \s-1SVG\s0 particulier, ou se plante, il est utile de chercher des indices +dans ces messages. .SH "EXEMPLES" .IX Header "EXEMPLES" -Bien qu'\fBInkscape\fR soit principalement conA\*~Xu comme une application graphique, -il peut aussi A\*~Xtre utilisA\*~X depuis la ligne de commande pour certaines opA\*~Xrations \s-1SVG\s0. +Bien qu'\fBInkscape\fR soit principalement conçu comme une application +graphique, il peut aussi être utilisé depuis la ligne de commande pour +certaines opérations \s-1SVG\s0. .PP -Ouvrir un fichier \s-1SVG\s0 avec l'interface graphique : +Ouvrir un fichier \s-1SVG\s0 avec l'interface graphique : .PP .Vb 1 \& inkscape nomdefichier.svg .Ve .PP -Imprimer un fichier \s-1SVG\s0 : +Imprimer un fichier \s-1SVG\s0 : .PP .Vb 1 \& inkscape nomdefichier.svg \-p \*(Aq| lpr\*(Aq .Ve .PP -Exporter un fichier \s-1SVG\s0 en \s-1PNG\s0 avec la rA\*~Xsolution par dA\*~Xfaut de 90 ppp (un pixel -bitmap correspondant A\*~\ une unitA\*~X utilisateur \s-1SVG\s0 [px]) : +Exporter un fichier \s-1SVG\s0 en \s-1PNG\s0 avec la résolution par défaut de 90 ppp (un +pixel bitmap correspondant à une unité utilisateur \s-1SVG\s0) : .PP .Vb 1 \& inkscape nomdefichier.svg \-\-export\-png=nomdefichier.png .Ve .PP -Idem, mais en forA\*~Xant les dimensions du fichier A\*~\ 600x400 pixels : +Idem, mais en forçant les dimensions du fichier à 600x400 pixels : .PP .Vb 1 \& inkscape nomdefichier.svg \-\-export\-png=nomdefichier.png \-w600 \-h400 .Ve .PP -Idem, mais en exportant le dessin (la boA\*~Xte englobante de tous les objets), pas la page : +Idem, mais en exportant le dessin (la boîte englobante de tous les objets), +et pas la page : .PP .Vb 1 \& inkscape nomdefichier.svg \-\-export\-png=nomdefichier.png \-\-export\-area\-drawing .Ve .PP Exporter en \s-1PNG\s0 l'objet id=\*(L"text1555\*(R", en utilisant le nom de fichier et la -rA\*~Xsolution utilisA\*~Xs la derniA\*~Xre fois qu'il a A\*~XtA\*~X exportA\*~X depuis l'interface graphique : +résolution utilisés la dernière fois qu'il a été exporté depuis l'interface +graphique : .PP .Vb 1 \& inkscape nomdefichier.svg \-\-export\-id=text1555 \-\-export\-use\-hints .Ve .PP -Idem, mais en utilisant une rA\*~Xsolution de 90 ppp, en spA\*~Xcifiant un nom de fichier -et en arrondissant la zone A\*~\ exporter aux valeurs entiA\*~Xres juste supA\*~Xrieures en -unitA\*~Xs utilisateur \s-1SVG\s0 (afin de prA\*~Xserver l'alignement des objets sur des pixels -et minimiser l'anti-crA\*~Xnelage) : +Idem, mais en utilisant une résolution de 90 ppp, en spécifiant un nom de +fichier et en arrondissant la zone à exporter aux valeurs entières juste +supérieures en unités utilisateur \s-1SVG\s0 (afin de préserver l'alignement des +objets sur des pixels et minimiser l'anti-crénelage) : .PP .Vb 1 -\& inkscape nomdefichier.svg \-\-export\-id=text1555 \-\-export\-png=texte.png \-\-export\-area\-snap +\& inkscape nomdefichier.svg \-\-export\-id=text1555 \-\-export\-png=text.png \-\-export\-area\-snap .Ve .PP -Convertir un document du format \s-1SVG\s0 Inkscape au format \s-1SVG\s0 brut : +Convertir un document du format \s-1SVG\s0 Inkscape au format \s-1SVG\s0 brut : .PP .Vb 1 \& inkscape nomdefichier1.svg \-\-export\-plain\-svg=nomdefichier2.svg .Ve .PP -Convertir un document \s-1SVG\s0 en \s-1EPS\s0, en convertissant les textes en chemins : +Convertir un document \s-1SVG\s0 en \s-1EPS\s0, en convertissant les textes en chemins : .PP .Vb 1 \& inkscape nomdefichier.svg \-\-export\-eps=nomdefichier.eps \-\-export\-text\-to\-path .Ve .PP -Demander la largeur de l'objet avec un id=\*(L"text1555\*(R": +Demander la largeur de l'objet avec un id=\*(L"text1555\*(R" : .PP .Vb 1 \& inkscape nomdefichier.svg \-\-query\-width \-\-query\-id text1555 .Ve .PP Dupliquer l'objet ayant pour identifiant id=\*(L"path1555\*(R", puis appliquer une -rotation de 90 degrA\*~Xs sur le duplicat, enregistrer le \s-1SVG\s0 et quitter : +rotation de 90 degrés sur le duplicat, enregistrer le \s-1SVG\s0 et quitter : .PP .Vb 1 \& inkscape nomdefichier.svg \-\-select=path1555 \-\-verb=EditDuplicate \-\-verb=ObjectRotate90 \-\-verb=FileSave \-\-verb=FileClose .Ve .SH "ENVIRONEMENT" .IX Header "ENVIRONEMENT" -\&\fB\s-1DISPLAY\s0\fR pour obtenir l'hA\*~Xte par dA\*~Xfaut et le numA\*~Xro d'affichage. -.PP -\&\fB\s-1TMPDIR\s0\fR pour dA\*~Xfinir le chemin par dA\*~Xfaut du rA\*~Xpertoire A\*~\ utiliser pour stocker -les fichier temporaires. Le rA\*~Xpertoire doit exister. -.SH "THEMES" -.IX Header "THEMES" -Vous pouvez remplacer le fichier d'icA\*~Xnes par dA\*~Xfaut \fB\f(CB$PREFIX\fB\fR/share/inkscape/icons/icons.svg -en utilisant le rA\*~Xpertoire \fB\f(CB$HOME\fB\fR/.config/inkscape/icons/. Les icA\*~Xnes sont -chargA\*~Xes par nom (ex. : \fIfill_none.svg\fR) ou, si elles sont introuvables, depuis -le fichier \fIicons.svg\fR. Si une icA\*~Xne n'est pas trouvA\*~Xe dans l'un de ces -emplacements, elle est chargA\*~Xe depuis l'emplacement par dA\*~Xfaut du systA\*~Xme. -.PP -Les icA\*~Xnes nA\*~Xcessaires sont chargA\*~Xes depuis les fichiers \s-1SVG\s0 par recherche de -l'id \s-1SVG\s0 correspondant (Par exemple, pour charger l'icA\*~Xne \*(L"fill_none\*(R" depuis un -fichier, le contenu identifiA\*~X par l'id \s-1SVG\s0 \*(L"fill_none\*(R" est rendu en tant que -cette icA\*~Xne, qu'il vienne du fichier \fIfill_none.svg\fR ou du fichier \fIicons.svg\fR). +\&\fB\s-1DISPLAY\s0\fR pour obtenir l'hôte par défaut et le numéro d'affichage. +.PP +\&\fB\s-1TMPDIR\s0\fR pour définir le chemin par défaut du répertoire à utiliser pour +stocker les fichier temporaires. Le répertoire doit exister. +.SH "THÈMES" +.IX Header "THÈMES" +Vous pouvez remplacer le fichier d'icônes par défaut +\&\fB\f(CB$PREFIX\fB\fR/share/inkscape/icons/icons.svg en utilisant le répertoire +\&\fB\f(CB$HOME\fB\fR/.config/inkscape/icons/. Les icônes sont chargées par nom (ex. : +\&\fIfill_none.svg\fR) ou, si elles sont introuvables, depuis le fichier +\&\fIicons.svg\fR. Si une icône n'est pas trouvée dans l'un de ces emplacements, +elle est chargée depuis l'emplacement par défaut du système. +.PP +Les icônes nécessaires sont chargées depuis les fichiers \s-1SVG\s0 par recherche +de l'id \s-1SVG\s0 correspondant (Par exemple, pour charger l'icône \*(L"fill_none\*(R" +depuis un fichier, le contenu identifié par l'id \s-1SVG\s0 \*(L"fill_none\*(R" est rendu +en tant que cette icône, qu'il vienne du fichier \fIfill_none.svg\fR ou du +fichier \fIicons.svg\fR). .SH "AUTRES INFORMATIONS" .IX Header "AUTRES INFORMATIONS" L'endroit principal pour trouver des informations sur \fBInkscape\fR est -http://www.inkscape.org/. Le site web contient des liens vers d'autres A\*~XlA\*~Xments -pertinents : documentation, didacticiels, manuel de l'utilisateur, exemples, -archives des listes d'e-mail, la derniA\*~Xre version d'Inkscape et bien d'autres choses. +http://www.inkscape.org/. Le site web contient des liens vers d'autres +éléments pertinents : documentation, didacticiels, manuel de l'utilisateur, +exemples, archives des listes de diffusion, la dernière version d'Inkscape, +les bases contenant les défauts et les demandes d'évolution, et bien +d'autres choses. .SH "VOIR AUSSI" .IX Header "VOIR AUSSI" potrace, cairo, \fIrsvg\fR\|(1), batik, ghostscript, pstoedit. .PP -Suite de tests de conformitA\*~X \s-1SVG\s0 : http://www.w3.org/Graphics/SVG/Test/ -.PP -Validation de \s-1SVG\s0 : http://jiggles.w3.org/svgvalidator/ -.PP -\&\fIScalable Vector Graphics (\s-1SVG\s0) 1.1 Specification\fR -\&\fIW3C Recommendation 14 January 2003\fR - -.PP -\&\fIScalable Vector Graphics (\s-1SVG\s0) 1.2 Specification\fR -\&\fIW3C Working Draft 13 November 2003\fR - -.PP -\&\fI\s-1SVG\s0 1.1/1.2/2.0 Requirements\fR -\&\fIW3C Working Draft 22 April 2002\fR +Suite de tests de conformité \s-1SVG\s0 : http://www.w3.org/Graphics/SVG/Test/ +.PP +Validation de \s-1SVG\s0 : http://jiggles.w3.org/svgvalidator/ +.PP +\&\fIScalable Vector Graphics (\s-1SVG\s0) 1.1 Specification\fR \fIW3C Recommendation 14 +January 2003\fR +.PP +\&\fIScalable Vector Graphics (\s-1SVG\s0) 1.2 Specification\fR \fIW3C Working Draft 13 +November 2003\fR +.PP +\&\fI\s-1SVG\s0 1.1/1.2/2.0 Requirements\fR \fIW3C Working Draft 22 April 2002\fR .PP -\&\fIDocument Object Model (\s-1DOM\s0): Level 2 Core\fR -\&\fIArnaud Le Hors et al editors, W3C\fR -http://www.w3.org/TR/DOM\-Level\-2\-Core/ +\&\fIDocument Object Model (\s-1DOM\s0): Level 2 Core\fR \fIArnaud Le Hors et al editors, +W3C\fR http://www.w3.org/TR/DOM\-Level\-2\-Core/ .SH "NOTES SUR L'INTERFACE GRAPHIQUE" .IX Header "NOTES SUR L'INTERFACE GRAPHIQUE" -Pour vous familiariser avec l'utilisation de l'interface graphique d'Inkscape, -consultez les didacticiels dans Aide > Didacticiels +Pour vous familiariser avec l'utilisation de l'interface graphique +d'Inkscape, consultez les didacticiels dans Aide > Didacticiels. .PP -Inkscape permet d'importer (Fichier > Importer) la plupart des formats bitmaps -\&\s-1PNG\s0, \s-1BMP\s0, \s-1JPG\s0, \s-1XPM\s0, \s-1GIF\s0, etc.), du texte brut (nA\*~Xcessite Perl) et le format \s-1AI\s0 -(documents Adobe Illustrator). +Inkscape permet d'importer (Fichier > Importer) la plupart des formats +bitmaps \s-1PNG\s0, \s-1BMP\s0, \s-1JPG\s0, \s-1XPM\s0, \s-1GIF\s0, etc.), du texte brut (nécessite Perl), \s-1PS\s0 +et \s-1EPS\s0 (nécessite Ghostscript) et les formats \s-1PDF\s0 et \s-1AI\s0 (documents Adobe +Illustrato 9.0 ou plus récent). .PP Inkscape permet d'exporter (Fichier > Exporter) des images \s-1PNG\s0 32\-bits, mais -aussi aux formats \s-1AI\s0, \s-1PS\s0, \s-1EPS\s0, \s-1PDF\s0 (nA\*~Xcessite Ghostscript), \s-1DXF\s0 et plusieurs -autres formats (via Fichier > Enregistrer sous). +aussi aux formats \s-1AI\s0, \s-1PS\s0, \s-1EPS\s0, \s-1PDF\s0, \s-1DXF\s0 et plusieurs autres formats (via +Fichier > Enregistrer sous). .PP -Inkscape supporte la pression et l'inclinaison du stylet d'une tablette graphique -pour la largeur et l'angle de l'outil calligraphique. +Inkscape supporte la pression et l'inclinaison du stylet d'une tablette +graphique pour la largeur, la force et l'angle de plusieurs outils dont la +plume calligraphique. .PP Inkscape comporte une interface graphique pour le moteur de vectorisation de bitmaps Potrace (http://potrace.sf.net) qui est inclus dans Inkscape. .PP -Inkscape peut utiliser des scripts externes (filtres depuis stdin vers stdout) -reprA\*~XsentA\*~Xs par des commandes dans le menu Effets. Un script peut avoir une -interface graphique, sous forme de boA\*~Xte de dialogue, permettant de dA\*~Xfinir -diffA\*~Xrents paramA\*~Xtres et peut obtenir les IDs des objets sA\*~XlectionnA\*~Xs sur -lesquels agir depuis la ligne de commande. Inkscape est livrA\*~X avec un -assortiment d'effets A\*~Xcrits en Python dA\*~XdiA\*~Xs principalement A\*~\ la manipulation de -chemin. +Inkscape peut utiliser des scripts externes (filtres de stdin vers stdout) +représentés par des commandes dans le menu Effets. Un script peut avoir une +interface graphique, sous forme de boîte de dialogue, permettant de définir +différents paramètres et peut obtenir les IDs des objets sélectionnés sur +lesquels agir depuis la ligne de commande. Inkscape est livré avec un +assortiment d'effets écrits en Python dédiés principalement à la +manipulation de chemin. .SH "RACCOURCIS CLAVIER" .IX Header "RACCOURCIS CLAVIER" -Pour obtenir une liste complA\*~Xte des raccourcis clavier et souris, consultez le -fichier doc/keys.html, ou utilisez la commande Clavier et souris dans le menu -d'aide de l'interface graphique pour en afficher un tableau \s-1SVG\s0. -.SH "BUGS" -.IX Header "BUGS" -Beaucoup de bugs sont connus; veuillez, svp, consulter le site web pour -consulter ceux qui ont dA\*~XjA\*~\ A\*~XtA\*~X rapportA\*~Xs et pour soumettre de nouveaux -problA\*~Xmes. Consultez aussi la section \*(L"Known Issues\*(R" des notes de votre version -(dans le fichier `\s-1NEWS\s0'). +Pour obtenir une liste complète des raccourcis clavier et souris, consultez +le fichier doc/keys.html, ou utilisez la commande Clavier et souris dans le +menu d'aide de l'interface graphique. +.SH "DÉFAUTS" +.IX Header "DÉFAUTS" +Beaucoup de bugs sont connus ; veuillez s'il vous plaît consulter le site +web pour vérifier ceux qui ont déjà été rapportés et pour soumettre de +nouveaux problèmes. Consultez aussi la section \*(L"Known Issues\*(R" des notes de +votre version (dans le fichier `\s-1NEWS\s0'). .SH "AUTEURS" .IX Header "AUTEURS" -Ce code doit son existence A\*~\ un grand nombre de contributeurs tout au long de -ses diffA\*~Xrentes incarnations. La liste qui suit est certainement incomplA\*~Xte - mais permet de reconnaA\*~Xtre les nombreuses A\*~Xpaules sur lesquelles cette -application s'est appuyA\*~Xe : +Ce code doit son existence à un grand nombre de contributeurs tout au long +de ses différentes incarnations. La liste qui suit est certainement +incomplète mais permet de reconnaître les nombreuses épaules sur lesquelles +cette application s'est appuyée : .PP Maximilian Albert, Josh Andler, Tavmjong Bah, Pierre Barbry-Blot, -Jean-Fran\[,c]ois Barraud, +Jean-François Barraud, Bill Baxter, John Beard, John Bintz, @@ -678,9 +661,9 @@ Ben Cromwell, Robert Crosbie, Jon Cruz, -Aur\['e]lie De-Cooman, +Aurélie De-Cooman, Milosz Derezynski, -Daniel D\['i]az, +Daniel Díaz, Bruno Dilly, Larry Doolittle, Tim Dwyer, @@ -688,7 +671,7 @@ Johan Engelen, Miklos Erdelyi, Ulf Erikson, -No\['e] Falzon, +Noé Falzon, Frank Felfe, Andrew Fitzsimon, Edward Flick, @@ -703,7 +686,7 @@ Michael Grosberg, Bryce Harrington, Dale Harvey, -Aur\['e]lio Heckert, +Aurélio Heckert, Carl Hetherington, Jos Hirth, Hannes Hochreiner, @@ -724,9 +707,9 @@ James Kilfiger, Jason Kivlighn, Adrian Knoth, -Krzysztof Kosin\[aa]ski, +Krzysztof Kosiński, Petr Kovar, -Beno\[^i]t Lavorata, +Benoît Lavorata, Alex Leone, Julien Leray, Raph Levien, @@ -735,7 +718,7 @@ Vitaly Lipatov, Ivan Louette, Pierre-Antoine Marc, -Aurel-Aim\['e] Marmion, +Aurel-Aimé Marmion, Colin Marquardt, Dmitry G. Mastrukov, Matiphas, @@ -747,7 +730,7 @@ Tim Mooney, Derek P. Moore, Peter Moulder, -J\[:o]rg M\[:u]ller, +Jörg Müller, Yukihiro Nakai, Victor Navez, Christian Neumair, @@ -758,21 +741,21 @@ Jon Phillips, Zdenko Podobny, Alexandre Prokoudine, -Jean-Ren\['e] Reinhard, +Jean-René Reinhard, Alexey Remizov, Frederic Rodrigo, Hugo Rodrigues, Juarez Rudsatz, Xavier Conde Rueda, -Felipe Corr\[^e]a da Silva Sanches, -Aur\['e]lio A. Heckert, +Felipe Corrêa da Silva Sanches, +Aurélio A. Heckert, Christian Schaller, Marco Scholten, Tom von Schwerdtner, Shivaken, Michael Sloan, -Danilo \[vS]egan, -Bo\[vs]tjan \[vS]petic\[ah], +Danilo Šegan, +Boštjan Špetič, Aaron Spike, Kaushik Sridharan, Ralf Stephan, @@ -784,59 +767,63 @@ Jonas Termeau, David Turner, Andre Twupack, -Aleksandar Uro\[vs]evic\[aa], +Aleksandar Urošević, Lucas Vieites, Michael Wybrow, Daniel Yacob, David Yip, Masatake Yamato .PP -Cette page de manuel a A\*~XtA\*~X crA\*~XA\*~Xe par Bryce Harrington +Cette page de manuel a été créée par Bryce Harrington . .SH "HISTORIQUE" .IX Header "HISTORIQUE" -Le code qui allait devenir Inkscape est nA\*~X en 1999, avec le programme Gill, -\&\s-1GNOME\s0 Illustrator, crA\*~XA\*~X par Raph Levien. L'objectif dA\*~Xfini pour Gill A\*~Xtait de -supporter complA\*~Xtement le format \s-1SVG\s0. Raph a codA\*~X le modA\*~Xle Postcript de courbes -de BA\*~Xzier, incluant le remplissage et le contour, les coiffes et raccords de -lignes, le texte, etc. La page de Raph consacrA\*~Xe A\*~\ Gill se trouve sur -http://www.levien.com/svg/. Le travail sur Gill semble avoir diminuA\*~X ou s'A\*~Xtre -arrA\*~XtA\*~X en 2000. -.PP -L'incarnation suivante du code allait devenir le trA\*~Xs populaire Sodipodi, menA\*~X -par Lauris Kaplinski. Le code est devenu un outil d'illustration puissant aprA\*~Xs -plusieurs annA\*~Xes de travail, ajoutant plusieurs nouvelles fonctionnalitA\*~Xs, le -support multilingue, le portage sous Windows et d'autres systA\*~Xmes d'exploitation -et A\*~Xliminant certaines dA\*~Xpendances. -.PP -Inkscape a A\*~XtA\*~X lancA\*~X en 2003 par quatre dA\*~Xveloppeurs actifs de Sodipodi (Bryce -Harrington, MenTaLguY, Nathan Hurst et Ted Gould), qui voulaient faire prendre -une orientation diffA\*~Xrente au code en termes de focalisation sur la conformitA\*~X -\&\s-1SVG\s0, aspect et fonctionnement de l'interface, et d'opportunitA\*~Xs de dA\*~Xveloppement -ouvertes A\*~\ plus de participants. -.PP -Beaucoup de travail a A\*~XtA\*~X depuis consacrA\*~X A\*~\ la stabilisation du code et A\*~\ -l'internationalisation. Le moteur de rendu hA\*~XritA\*~X de Sodipodi comportait de -nombreuses spA\*~XcificitA\*~Xs qui entrainaient de plantages lorsque l'utilisation du -programme sortait des sentiers battus. Ce moteur a alors A\*~XtA\*~X remplacA\*~X par Livarot -qui, bien qu'imparfait, gA\*~XnA\*~Xrait moins d'erreurs. Le projet a A\*~Xgalement adoptA\*~X -la bonne habitude de publier son code rA\*~XguliA\*~Xrement, et encouragA\*~X les utilisateurs -A\*~\ tester des versions en dA\*~Xveloppement du logiciel, ce qui a bien aidA\*~X dans -l'identification des nouveaux dA\*~Xfauts, et donnA\*~X les moyens aux utilisateurs -de vA\*~Xrifier que les anciens A\*~Xtaient bien corrigA\*~Xs. Inkscape a ainsi acquis une -rA\*~Xputation de programme robuste et fiable. -.PP -En parallA\*~Xle, des efforts ont A\*~XtA\*~X faits pour amA\*~Xliorer l'internationalisation et -la localisation de l'interface, ce qui a apportA\*~X au projet de nouveaux -contributeurs tout autour du monde. -.PP -Inkscape a eu un impact positif sur l'attractivitA\*~X visuelle de l'Open Source en -gA\*~XnA\*~Xral, en offrant un outil pour crA\*~Xer et partager des icA\*~Xnes, A\*~Xcrans d'accueil, -art pour le web, etc. D'une certaine faA\*~Xon, bien que n'A\*~Xtant qu'un \*(L"simple outil -de dessin\*(R", Inkscape a jouA\*~X un rA\*~Xle important en rendant l'Open Source -plus stimulant visuellement parlant pour un plus large public. +Le code qui allait devenir Inkscape est né en 1999, avec le programme Gill, +\&\s-1GNOME\s0 Illustrator, créé par Raph Levien. L'objectif défini pour Gill était +de supporter complètement le format \s-1SVG\s0. Raph a codé le modèle Postcript de +courbes de Bézier, incluant le remplissage et le contour, les coiffes et +raccords de lignes, le texte, etc. La page de Raph consacrée à Gill se +trouve sur http://www.levien.com/svg/. Le travail sur Gill semble avoir +diminué ou s'être arrêté en 2000. +.PP +L'incarnation suivante du code allait devenir le très populaire Sodipodi, +mené par Lauris Kaplinski. Le code est devenu un outil d'illustration +puissant après plusieurs années de travail, ajoutant plusieurs nouvelles +fonctionnalités, le support multilingue, le portage sous Windows et d'autres +systèmes d'exploitation et éliminant certaines dépendances. +.PP +Inkscape a été lancé en 2003 par quatre développeurs actifs de Sodipodi +(Bryce Harrington, MenTaLguY, Nathan Hurst et Ted Gould), qui voulaient +faire prendre une orientation différente au code en termes de focalisation +sur la conformité \s-1SVG\s0, aspect et fonctionnement de l'interface, et +d'opportunités de développement ouvertes à plus de participants. Le projet a +progressé rapidement, gagnant de nombreux contributeurs et une multitude de +fonctionnalités. +.PP +Beaucoup de travail a été depuis consacré à la stabilisation du code et à +l'internationalisation. Le moteur de rendu hérité de Sodipodi comportait de +nombreuses spécificités qui entrainaient de plantages lorsque l'utilisation +du programme sortait des sentiers battus. Ce moteur a alors été remplacé par +Livarot qui, bien qu'imparfait, générait moins d'erreurs. Le projet a +également adopté la bonne habitude de publier son code régulièrement, et +encouragé les utilisateurs à tester des versions en développement du +logiciel, ce qui a bien aidé dans l'identification des nouveaux défauts, et +donné les moyens aux utilisateurs de vérifier que les anciens étaient bien +corrigés. Inkscape a ainsi acquis une réputation de programme robuste et +fiable. +.PP +En parallèle, des efforts ont été faits pour améliorer +l'internationalisation et la localisation de l'interface, ce qui a apporté +au projet de nouveaux contributeurs tout autour du monde. +.PP +Inkscape a eu un impact positif sur l'attractivité visuelle de l'Open Source +en général, en offrant un outil pour créer et partager des icônes, écrans +d'accueil, art pour le web, etc. D'une certaine façon, bien que n'étant +qu'un \*(L"simple outil de dessin\*(R", Inkscape a joué un rôle important en rendant +l'Open Source plus stimulant visuellement parlant pour un plus large public. .SH "COPYRIGHT ET LICENSE" .IX Header "COPYRIGHT ET LICENSE" -\&\fBCopyright (C)\fR 1999\[en]2010 des auteurs. +\&\fBCopyright (C)\fR 1999\[en]2011 des auteurs. .PP -\&\fBInkscape\fR est un logiciel libre; vous pouvez le redistribuer et/ou le modifier selon les termes de la license \s-1GPL\s0. +\&\fBInkscape\fR est un logiciel libre; vous pouvez le redistribuer et/ou le +modifier selon les termes de la license \s-1GPL\s0. === modified file 'inkscape.fr.pod' --- inkscape.fr.pod 2011-02-20 12:07:30 +0000 +++ inkscape.fr.pod 2012-02-16 12:59:31 +0000 @@ -1,4 +1,17 @@ - + + ***************************************************** + * GENERATED FILE, DO NOT EDIT * + * THIS IS NO SOURCE FILE, BUT RESULT OF COMPILATION * + ***************************************************** + +This file was generated by po4a(7). Do not store it (in cvs, for example), +but store the po file used as source file by po4a-translate. + +In fact, consider this as a binary, and the po file as a regular .c file: +If the po get lost, keeping this translation up-to-date will be harder. + +=encoding UTF-8 + =head1 NOM Inkscape - programme d'édition SVG (Scalable Vector Graphics). @@ -9,38 +22,39 @@ options: - -?, --help - --usage + -?, --help + --usage -V, --version - -f, --file=NOMDEFICHIER + -f, --file=NOMDEFICHIER - -e, --export-png=NOMDEFICHIER - -a, --export-area=x0:y0:x1:y1 + -e, --export-png=NOMDEFICHIER + -a, --export-area=x0:y0:x1:y1 -C, --export-area-page -D, --export-area-drawing --export-area-snap - -i, --export-id=ID - -j, --export-id-only + -i, --export-id=ID + -j, --export-id-only -t, --export-use-hints - -b, --export-background=COULEUR - -y, --export-background-opacity=VALEUR - -d, --export-dpi=PPP - -w, --export-width=LARGEUR - -h, --export-height=HAUTEUR + -b, --export-background=COULEUR + -y, --export-background-opacity=VALEUR + -d, --export-dpi=DPI + -w, --export-width=LARGEUR + -h, --export-height=HAUTEUR -P, --export-ps=NOMDEFICHIER -E, --export-eps=NOMDEFICHIER -A, --export-pdf=NOMDEFICHIER + --export-latex -T, --export-text-to-path --export-ignore-filters - -l, --export-plain-svg=NOMDEFICHIER + -l, --export-plain-svg=NOMDEFICHIER -p, --print=IMPRIMANTE - -I, --query-id=ID + -I, --query-id=ID -X, --query-x -Y, --query-y -W, --query-width @@ -55,8 +69,8 @@ --shell - -g, --with-gui - -z, --without-gui + -g, --with-gui + -z, --without-gui --vacuum-defs @@ -64,28 +78,30 @@ =head1 DESCRIPTION -B est un éditeur de dessin au format B -doté d'une interface graphique, offrant des possibilités similaires à B, B, B, etc. Les fonctionnalités d'Inkscape -comprennent une gestion versatile des formes, le dessin à main levée et les -courbes de Bézier, le texte multiligne, le texte suivant un chemin, la -transparence, les transformations affines, les remplissages par motif ou -dégradé, l'édition de nœuds, l'export SVG vers PNG, le groupement, les calques, -les clones interactifs et bien plus encore. L'interface est conçue pour être -confortable et efficace pour les utilisateurs expérimentés tout en restant -conforme aux spécifications de B permettant ainsi aux utilisateurs -d'applications GNOME de s'y habituer rapidement. +B est un éditeur de dessin au format B doté d'une interface graphique, offrant des possibilités similaires à +B, B, B, etc. Les fonctionnalités +d'Inkscape comprennent une gestion versatile des formes, le dessin à main +levée et les courbes de Bézier, le texte multiligne, le texte suivant un +chemin, la transparence, les transformations affines, les remplissages par +motif ou dégradé, l'édition de nœuds, l'export SVG vers PNG, le groupement, +les calques, les clones interactifs et bien plus encore. L'interface est +conçue pour être confortable et efficace pour les utilisateurs expérimentés +tout en restant conforme aux spécifications de B permettant ainsi aux +utilisateurs d'applications GNOME de s'y habituer rapidement. Le format B est un format XML standard pour le dessin vectoriel 2D. Il -permet de définir des objets sur un dessin par l'utilisation de points, chemins -et formes primitives. Les couleurs, fontes, largeur de contour et autres sont -spécifiés en tant qu'attributs de 'style' de ces objets. Le but est de rendre -possible l'utilisation de fichiers SVG pour un grand nombre de programmes et -d'utilisation, SVG étant un standard et ses fichiers du type texte/xml. - -B utilise le SVG comme format natif de ses documents, et a pour but -de devenir le plus conforme des programmes de dessin SVG, disponible pour la -communauté du logiciel libre. +permet de définir des objets sur un dessin par l'utilisation de points, +chemins et formes primitives. Les couleurs, fontes, largeur de contour et +autres sont spécifiés en tant qu'attributs de 'style' de ces objets. Le but +est de rendre possible l'utilisation de fichiers SVG pour un grand nombre de +programmes et d'utilisation, SVG étant un standard et ses fichiers du type +texte/xml. + +B utilise le SVG comme format natif de ses documents, et a pour +but de devenir le plus conforme des programmes de dessin SVG, disponible +pour la communauté du logiciel libre. + =head1 OPTIONS @@ -102,263 +118,301 @@ =item B<-a> I, B<--export-area>=I -Pour l'export en PNG, définit la zone à exporter en pixels SVG (unité anonyme de -longueur utilisée normalement par le format SVG Inkscape). Le comportement par -défaut est d'exporter la page du document. Le point (0,0) est le coin inférieur -gauche. +Pour l'export en PNG, définit la zone à exporter en pixels SVG (unité +anonyme de longueur utilisée normalement par le format SVG Inkscape). Le +comportement par défaut est d'exporter la page du document. Le point (0,0) +est le coin inférieur gauche. =item B<-C>, B<--export-area-page> Pour l'export en PNG, PDF, PS et EPS, la zone exportée est la page. C'est -habituellement le comportement par défaut pour les formats PNG, PDF et PS, aussi -spécifier cette option n'est pas nécessaire pour ces formats sauf si l'option ---export-id est utilisée pour exporter un objet spécifique. En EPS, cependant, -il ne s'agit pas du comportement par défaut. De plus, pour l'EPS, la -spécification du format n'autorise pas sa boîte englobante à s'étendre au-delà -de son contenu, ce qui signifie que lorsque l'option --export-area-page est -utilisée pour l'export EPS, la boîte englobante de la page sera redimensionnée -pour s'adapter à la boîte englobante de son contenu si elle est plus petite. +habituellement le comportement par défaut pour les formats PNG, PDF et PS, +aussi spécifier cette option n'est pas nécessaire pour ces formats sauf si +l'option --export-id est utilisée pour exporter un objet spécifique. En EPS, +cependant, il ne s'agit pas du comportement par défaut. De plus, pour l'EPS, +la spécification du format n'autorise pas sa boîte englobante à s'étendre +au-delà de son contenu, ce qui signifie que lorsque l'option +--export-area-page est utilisée pour l'export EPS, la boîte englobante de la +page sera redimensionnée pour s'adapter à la boîte englobante de son contenu +si elle est plus petite. =item B<-D>, B<--export-area-drawing> -Pour l'export en PNG, PDF, PS et EPS, la zone à exporter est le dessin entier -(pas la page), c'est à dire la boîte englobante de l'ensemble des objets du -document (ou des objets exportés lorsque l'option --export-id est utilisée). -Avec cette option, l'image exportée n'affichera que les objets visibles du -document sans marge ni massicotage. Il s'agit de l'option par défaut pour -l'export au format EPS. Peut être combiné, lors de l'export en PNG, avec ---export-use-hints. +Pour l'export en PNG, PDF, PS et EPS, la zone à exporter est le dessin +entier (pas la page), c'est à dire la boîte englobante de l'ensemble des +objets du document (ou des objets exportés lorsque l'option --export-id est +utilisée). Avec cette option, l'image exportée n'affichera que les objets +visibles du document sans marge ni massicotage. Il s'agit de l'option par +défaut pour l'export au format EPS. Peut être combiné, lors de l'export en +PNG, avec --export-use-hints. =item B<--export-area-snap> -Arrondi les dimensions de la zone à exporter aux valeurs entières supérieures en - unités SVG utilisateur (px). -Si vous utilisez une résolution d'export de 90ppp et que vos objets sont alignés -aux pixels afin de minimiser l'anti-crénelage, cette option permet de préserver -cet alignement même si l'export se fait selon des boîtes de contour (avec ---export-id ou --export-area-drawing) qui ne sont pas correctement alignées sur -les pixels. +Arrondi les dimensions de la zone à exporter aux valeurs entières +supérieures en unités SVG utilisateur (px). Si vous utilisez une résolution +d'export de 90 ppp et que vos objets sont alignés aux pixels afin de +minimiser l'anti-crénelage, cette option permet de préserver cet alignement +même si l'export se fait selon des boîtes de contour (avec --export-id ou +--export-area-drawing) qui ne sont pas correctement alignées sur les pixels. =item B<-b> I, B<--export-background>=I -Couleur de fond du PNG exporté. -Cette valeur peut être n'importe quelle chaîne de couleur supportée par le -format SVG, par exemple "#ff007f" ou "rgb(255, 0, 128)". -Si cette couleur n'est pas définie, la couleur de page définie dans Inkscape via -la boîte de dialogue Préférences du document sera utilisée (enregistrée dans -l'attribut pagecolor= de sodipodi:namedview). +Couleur de fond du PNG exporté. Cette valeur peut être n'importe quelle +chaîne de couleur supportée par le format SVG, par exemple "#ff007f" ou +"rgb(255, 0, 128)". Si cette couleur n'est pas définie, la couleur de page +définie dans Inkscape via la boîte de dialogue Préférences du document sera +utilisée (enregistrée dans l'attribut pagecolor= de sodipodi:namedview). =item B<-d> I, B<--export-dpi>=I -La résolution utilisée pour l'export en PNG. Elle est également utilisée pour -définir le niveau de rastérisation des objets filtrés lors de l'export en PS, -EPS ou PDF (sauf si l'option --export-ignore-filters est utilisée). -Elle est de 90 par défaut, correspondant à 1 pixel SVG (px, aussi appelé "unité -utilisateur") s'exportant vers 1 pixel bitmap. -Cette valeur préempte la PPP enregistrée avec le document si la commande est -utilisée avec --export-use-hints. +La résolution utilisée pour l'export en PNG. Elle est également utilisée +pour définir le niveau de rastérisation des objets filtrés lors de l'export +en PS, EPS ou PDF (sauf si l'option --export-ignore-filters est +utilisée). Elle est de 90 par défaut, correspondant à 1 pixel SVG (px, aussi +appelé « unité utilisateur ») s'exportant vers 1 pixel bitmap. Cette valeur +préempte la PPP enregistrée avec le document si la commande est utilisée +avec --export-use-hints. =item B<-e> I, B<--export-png>=I -Spécifie le nom de fichier pour l'export en PNG. -S'il existe déjà, il sera écrasé sans demande de confirmation. +Spécifie le nom de fichier pour l'export en PNG. S'il existe déjà, il sera +écrasé sans demande de confirmation. =item B<-f> I, B<--file>=I -Ouvre le(s) document(s) spécifié(s). -La chaîne d'option peut être omise, c'est à dire que vous pouvez lister les noms -de fichier sans -f. +Ouvre le(s) document(s) spécifié(s). La chaîne d'option peut être omise, +c'est à dire que vous pouvez lister les noms de fichier sans -f. =item B<-g>, B<--with-gui> -Tente d'utiliser l'interface graphique (sous Unix, utilise le serveur X, même si -$DISPLAY n'est pas défini). +Tente d'utiliser l'interface graphique (sous Unix, utilise le serveur X, +même si $DISPLAY n'est pas défini). =item B<-h> I, B<--export-height>=I -Hauteur du bitmap généré en pixels. -Cette valeur préempte l'option --export-dpi (ou la PPP enregistrée avec le -document si --export-use-hints est aussi utilisé). +Hauteur du bitmap généré en pixels. Cette valeur préempte l'option +--export-dpi (ou la PPP enregistrée avec le document si --export-use-hints +est aussi utilisé). =item B<-i> I, B<--export-id>=I -Lors des exportations PNG, PS, EPS et PDF, valeur de l'attribut id de l'objet -que vous voulez exporter depuis le document (aucun autre objet n'est exporté). -Par défaut la zone exportée est la boîte englobante de l'objet ; vous pouvez -préempter ce comportement en utilisant --export-area (pour le PNG seulement) ou ---export-area-page. +Lors des exportations PNG, PS, EPS et PDF, valeur de l'attribut id de +l'objet que vous voulez exporter depuis le document (aucun autre objet n'est +exporté). Par défaut la zone exportée est la boîte englobante de l'objet ; +vous pouvez préempter ce comportement en utilisant --export-area (pour le +PNG seulement) ou --export-area-page. =item B<-j>, B<--export-id-only> -N'exporte que l'objet dont l'id est spécifiée avec avec l'option --export-id. -Tout les autres objets seront cachés et n'apparaîtront pas dans le fichier -exporté même s'ils chevauchent l'objet effectivement exporté. Cette option est -ignorée si --export-id n'est pas aussi utilisé. +N'exporte que l'objet dont l'id est spécifiée avec avec l'option +--export-id. Tout les autres objets seront cachés et n'apparaîtront pas dans +le fichier exporté même s'ils chevauchent l'objet effectivement +exporté. Cette option est ignorée si --export-id n'est pas aussi utilisé. =item B<-l>, B<--export-plain-svg>=I -Exporte le(s) document(s) en SVG brut, sans espace de nom sodipodi: ou inkscape: et sans métadonnées RDF. - -=item B<-l>, B<--extension-directory> - -Liste le contenu du répertoire d'extensions configuré en tant que tel par Inkscape, puis sort. -Cette option est utilisée afin que les extensions externes utilisent la configuration originale générée à l'installation d'Inkscape. +Exporte le(s) document(s) en SVG brut, sans espace de nom sodipodi: ou +inkscape: et sans métadonnées RDF. + +=item B<-x>, B<--extension-directory> + +Liste le contenu du répertoire d'extensions configuré en tant que tel par +Inkscape, puis sort. Cette option est utilisée afin que les extensions +externes utilisent la configuration originale générée à l'installation +d'Inkscape. + +=item B<--verb-list> + +Liste tous les verbes disponibles dans Inkscape par identifiant. Cet +identifiant peut être utilisé pour définir les actions du clavier ou les +menus. Il peut également être utilisé avec l'option de ligne de commande +--verb. =item B<--verb>=I, B<--select>=I -Ces deux options fonctionnent de concert pour offrir la possibilité d'écrire des -scripts simples pour Inkscape depuis la ligne de commande. Il peuvent apparaître -sur la ligne de commande aussi souvent que nécessaire et sont exécutés dans -l'ordre pour tous les documents spécifiés. +Ces deux options fonctionnent de concert pour offrir la possibilité d'écrire +des scripts simples pour Inkscape depuis la ligne de commande. Il peuvent +apparaître sur la ligne de commande aussi souvent que nécessaire et sont +exécutés dans l'ordre pour tous les documents spécifiés. La commande --verb exécute une action spécifique comme si elle était appelée depuis un menu ou un bouton. Un boîte de dialogue apparaît lorsqu'elle fait -partie de l'action. Utilisez l'option --verb-list pour lister les identifiants -d'action disponibles. +partie de l'action. Utilisez l'option --verb-list pour lister les +identifiants d'action disponibles. La commande --select sélectionne les objects correspondants à l'identifiant -spécifié. Les actions suivantes ne s'appliquent alors qu'à cette sélection. Pour -désélectionner tous les objets, utilisez --verb=EditDeselect. Les identifiants -d'objet disponibles dépendent du document ouvert. +spécifié. Les actions suivantes ne s'appliquent alors qu'à cette +sélection. Pour désélectionner tous les objets, utilisez +--verb=EditDeselect. Les identifiants d'objet disponibles dépendent du +document ouvert. =item B<-p> I, B<--print>=I -Imprime le(s) document(s) vers l'imprimante spécifiée en utilisant `lpr -P IMPRIMANTE'. -Vous pouvez aussi utiliser `| COMMANDE' pour spécifier un tube de commande différent, ou utiliser `> NOMDEFICHIER' pour écrire le résultat PostScript dans un fichier au lieu de l'imprimer. -N'oubliez pas d'utiliser les guillemets appropriés pour votre shell, par exemple +Imprime le(s) document(s) vers l'imprimante spécifiée en utilisant `lpr -P +IMPRIMANTE'. Vous pouvez aussi utiliser `| COMMANDE' pour spécifier un tube +de commande différent, ou utiliser `> NOMDEFICHIER' pour écrire le résultat +PostScript dans un fichier au lieu de l'imprimer. N'oubliez pas d'utiliser +les guillemets appropriés pour votre shell, par S + inkscape --print='| ps2pdf - mondoc.pdf' mondoc.svg =item B<-t>, B<--export-use-hints> -Utilise le nom de fichier et la PPP enregistrés avec l'objet exporté (uniquement si --export-id est spécifié). -Ces valeurs sont automatiquement spécifiées si vous exportez la sélection depuis Inkscape. -Donc, si par exemple, vous exportez la forme id="path231" en tant que /home/me/shape.png avec une résolution de 300 ppp depuis le document.svg en utilisant l'interface graphique d'Inkscape, et sauvez le document, vous pourrez réexporter plus tard cette forme vers le même fichier et avec la même résolution en utilisant simplement la commande : +Utilise le nom de fichier et la PPP enregistrés avec l'objet exporté +(uniquement si --export-id est spécifié). Ces valeurs sont automatiquement +spécifiées si vous exportez la sélection depuis Inkscape. Donc, si par +exemple, vous exportez la forme id="path231" en tant que /home/me/shape.png +avec une résolution de 300 ppp depuis document.svg en utilisant l'interface +graphique d'Inkscape, et sauvez le document, vous pourrez réexporter plus +tard cette forme vers le même fichier et avec la même résolution en +utilisant simplement la S + inkscape -i path231 -t document.svg -Si vous utilisez --export-dpi, --export-width, ou --export-height avec cette option, la PPP enregistrée avec le document sera ignorée et la valeur fournie à la ligne de commande utilisée. -Si vous utilisez --export-png avec cette option, le nom de fichier enregistré avec le document sera ignoré et le nom de fichier fourni à la ligne de commande utilisé. +Si vous utilisez --export-dpi, --export-width, ou --export-height avec cette +option, la PPP enregistrée avec le document sera ignorée et la valeur +fournie à la ligne de commande utilisée. Si vous utilisez --export-png avec +cette option, le nom de fichier enregistré avec le document sera ignoré et +le nom de fichier fourni à la ligne de commande utilisé. =item B<-w> I, B<--export-width>=I -Largeur du bitmap généré en pixels. -Cette valeur préempte l'option --export-dpi setting (ou la PPP enregistrée avec -le document si --export-use-hints est aussi utilisé). +Largeur du bitmap généré en pixels. Cette valeur préempte l'option +--export-dpi setting (ou la PPP enregistrée avec le document si +--export-use-hints est aussi utilisé). =item B<-y> I, B<--export-background-opacity>=I -Opacité du fond du PNG exporté. -Cela peut être une valeur entre 0.0 et 1.0 (0.0 : complètement transparent, 1.0 -complètement opaque) ou supérieure à 1 et inférieure à 255 (255 : complètement -opaque). -Si cette valeur n'est pas spécifiée et si l'option -b n'est pas utilisée, -l'opacité de la page enregistrée avec le document (dans l'attribut -inkscape:pageopacity= de sodipodi:namedview) sera utilisée. -Si cette valeur n'est pas spécifiée mais que l'option -b est utilisée, la valeur -255 (opacité complète) sera utilisée. +Opacité du fond du PNG exporté. Cela peut être une valeur entre 0.0 et 1.0 +S<(0.0 :> complètement transparent, 1.0 complètement opaque) ou supérieure à 1 +et inférieure à 255 S<(255 :> complètement opaque). Si cette valeur n'est pas +spécifiée et si l'option -b n'est pas utilisée, l'opacité de la page +enregistrée avec le document (dans l'attribut inkscape:pageopacity= de +sodipodi:namedview) sera utilisée. Si cette valeur n'est pas spécifiée mais +que l'option -b est utilisée, la valeur 255 (opacité complète) sera +utilisée. =item B<-P> I, B<--export-ps>=I Exporte le ou les documents au format PostScript. Notez que PostScript ne -supporte pas la transparence, et que tout objet transparent dans le SVG original -sera automatiquement rastérisé. Les polices utilisés sont incorporées en tant -que sous-ensemble. La zone d'exportation par défaut est la page, mais vous pouvez -choisir de limiter cette zone au dessin avec l'option --export-area-drawing. Il -est également possible de n'exporter qu'un objet en spécifiant --export-id (tous -les autres objets sont cachés) . Dans ce cas, la zone d'exportation correspond à -celle de l'objet choisi, à moins que vous n'ajoutiez l'option --export-area-page -pour que cette zone prenne la taille de la page. +supporte pas la transparence, et que tout objet transparent dans le SVG +original sera automatiquement rastérisé. Les polices utilisés sont +incorporées en tant que sous-ensemble. La zone d'exportation par défaut est +la page, mais vous pouvez choisir de limiter cette zone au dessin avec +l'option --export-area-drawing. Il est également possible de n'exporter +qu'un objet en spécifiant --export-id (tous les autres objets sont +cachés). Dans ce cas, la zone d'exportation correspond à celle de l'objet +choisi, à moins que vous n'ajoutiez l'option --export-area-page pour que +cette zone prenne la taille de la page. =item B<-E> I, B<--export-eps>=I - -Exporte le ou les documents au format Encapsulated PostScript. Notez que PostScript ne -supporte pas la transparence, et que tout objet transparent dans le SVG original -sera automatiquement rastérisé. Les polices utilisés sont incorporées en tant -que sous-ensemble. La zone d'exportation par défaut est la page, mais vous pouvez -choisir de limiter cette zone au dessin avec l'option --export-area-drawing. Il -est également possible de n'exporter qu'un objet en spécifiant --export-id (tous -les autres objets sont cachés) . +Exporte le ou les documents au format Encapsulated PostScript. Notez que +PostScript ne supporte pas la transparence, et que tout objet transparent +dans le SVG original sera automatiquement rastérisé. Les polices utilisés +sont incorporées en tant que sous-ensemble. La zone d'exportation par défaut +est la page, mais vous pouvez choisir de limiter cette zone au dessin avec +l'option --export-area-drawing. Il est également possible de n'exporter +qu'un objet en spécifiant --export-id (tous les autres objets sont cachés). =item B<-A> I, B<--export-pdf>=I -Exporte le ou les documents au format PDF. Ce format préserve la transparence des -objets présents dans le SVG original. Les polices utilisés sont incorporées en tant -que sous-ensemble. La zone d'exportation par défaut est la page, mais vous pouvez -choisir de limiter cette zone au dessin avec l'option --export-area-drawing. Il -est également possible de n'exporter qu'un objet en spécifiant --export-id (tous -les autres objets sont cachés) . Dans ce cas, la zone d'exportation correspond à -celle de l'objet choisi, à moins que vous n'ajoutiez l'option --export-area-page -pour que cette zone prenne la taille de la page. +Exporte le ou les documents au format PDF. Ce format préserve la +transparence des objets présents dans le SVG original. Les polices utilisés +sont incorporées en tant que sous-ensemble. La zone d'exportation par défaut +est la page, mais vous pouvez choisir de limiter cette zone au dessin avec +l'option --export-area-drawing. Il est également possible de n'exporter +qu'un objet en spécifiant --export-id (tous les autres objets sont +cachés). Dans ce cas, la zone d'exportation correspond à celle de l'objet +choisi, à moins que vous n'ajoutiez l'option --export-area-page pour que +cette zone prenne la taille de la page. + +=item B<--export-latex> + +(for PS, EPS, and PDF export) Used for creating images for LaTeX documents, +where the image's text is typeset by LaTeX. When exporting to PDF/PS/EPS +format, this option splits the output into a PDF/PS/EPS file (e.g. as +specified by --export-pdf) and a LaTeX file. Text will not be output in the +PDF/PS/EPS file, but instead will appear in the LaTeX file. This LaTeX file +includes the PDF/PS/EPS. Inputting (\input{image.tex}) the LaTeX file in +your LaTeX document will show the image and all text will be typeset by +LaTeX. See the resulting LaTeX file for more information. Also see +GNUPlot's `epslatex' output terminal. =item B<-T>, B<--export-text-to-path> -Convertit les objets texte en chemins lors de l'export, si applicable (pour l'exportation -en PS, EPS et PDF). +Convertit les objets texte en chemins lors de l'export, si applicable (pour +l'exportation en PS, EPS ou PDF). =item B<--export-ignore-filters> -Exporte les objets filtrés (avec du flou, par exemple) comme des vecteurs, en -ignorant les filtres (pour l'exportation en PS, EPS et PDF). Par défaut, tous -les objets filtrés sont rastérisés à une définition choisie par --export-dpi -(par défaut 90 ppp), en préservant son apparence. +Exporte les objets filtrés (avec du flou, par exemple) comme des vecteurs, +en ignorant les filtres (pour l'exportation en PS, EPS ou PDF). Par défaut, +tous les objets filtrés sont rastérisés à une définition choisie par +--export-dpi (par défaut 90 ppp), en préservant son apparence. =item B<-I>, B<--query-id> -ID de l'objet dont les dimensions sont demandées. Si cette option n'est pas -utilisée, la commande retournera les dimensions du dessin, pas de la page ou de -la zone affichée. +Identifiant de l'objet dont les dimensions sont demandées. Si cette option +n'est pas utilisée, la commande retournera les dimensions du dessin, pas de +la page ou de la zone affichée. =item B<-X>, B<--query-x> -Demande l'abscisse (coordonnée X) du dessin ou, si spécifié avec --query-id, de -l'objet. La valeur retournée est en px (unité utilisateur SVG). +Demande l'abscisse (coordonnée X) du dessin ou, si spécifié avec --query-id, +de l'objet. La valeur retournée est en pixels (unité utilisateur SVG). =item B<-Y>, B<--query-y> -Demande l'ordonnée (coordonnée Y) du dessin ou, si spécifié avec --query-id de -l'objet. La valeur retournée est en px (unité utilisateur SVG). +Demande l'ordonnée (coordonnée Y) du dessin ou, si spécifié avec --query-id +de l'objet. La valeur retournée est en pixels (unité utilisateur SVG). =item B<-W>, B<--query-width> Demande la largeur du dessin ou, si spécifié avec --query-id, de l'objet. La -valeur retournée est en px (unité utilisateur SVG). +valeur retournée est en pixels (unité utilisateur SVG). =item B<-H>, B<--query-height> Demande la hauteur du dessin ou, si spécifié avec --query-id, de l'objet. La -valeur retournée est en px (unité utilisateur SVG). +valeur retournée est en pixels (unité utilisateur SVG). =item B<-S>, B<--query-all> -Affiche un liste délimitée par des virgules des tous les objets du document SVG -comprenant leur identifiant, et les valeurs x, y, largeur et hauteur. +Affiche un liste délimitée par des virgules des tous les objets du document +SVG comprenant leur identifiant, et les valeurs x, y, largeur et hauteur. =item B<--shell> -Avec ce paramètre, Inkscape entre en mode de ligne de commande interactif. Dans -ce mode, vous pouvez envoyer des commandes à Inkscape par le prompt, sans avoir -à lancer une nouvelle instance du logiciel à chaque commande. -Cette fonctionnalité est particulièrement utile pour une utilisation en scripts -et en serveur. Elle permet d'améliorer la vitesse d'exécution et l'occupation en -mémoire des scripts utilisés de façon répétée. Chaque commande, dans ce mode, -doit contenir tous les paramètres d'une ligne de commande classique, à l'exception -du nom du programme (inkscape), comme dans l'exemple suivant : -"fichier.svg --export-pdf=fichier.pdf". +Avec ce paramètre, Inkscape entre en mode de ligne de commande +interactif. Dans ce mode, vous pouvez envoyer des commandes à Inkscape par +le prompt, sans avoir à lancer une nouvelle instance du logiciel à chaque +commande. Cette fonctionnalité est particulièrement utile pour une +utilisation en scripts et en serveur. Elle permet d'améliorer la vitesse +d'exécution et l'occupation en mémoire des scripts utilisés de façon +répétée. Chaque commande, dans ce mode, doit contenir tous les paramètres +d'une ligne de commande classique, à l'exception du nom du programme +(inkscape), comme dans l'exemple S "fichier.svg +--export-pdf=fichier.pdf". =item B<--vacuum-defs> -Supprime tous les éléments inutilisés de la section defs du fichier SVG. -Si cette option est utilisée avec --export-plain-svg, seul le fichier exporté sera affecté. -Si cette option est utilisée seule, le fichier spécifié sera modifié. +Supprime tous les éléments inutilisés de la section defs du fichier +SVG. Si cette option est utilisée avec --export-plain-svg, seul le fichier +exporté sera affecté. Si cette option est utilisée seule, le fichier +spécifié sera modifié. =item B<-z>, B<--without-gui> -Ne lance pas l'interface graphique (sous Unix, n'utilise pas le server X); ne traite les fichiers que depuis la console. -Ceci est présupposé pour les options -p, -e, -l et --vacuum-defs. +Ne lance pas l'interface graphique (sous Unix, n'utilise pas le server S +ne traite les fichiers que depuis la console. Ceci est présupposé pour les +options -p, -e, -l et --vacuum-defs. =item B<--g-fatal-warnings> -Elément des options standards GTK reconnues. Ceci force Inkscape à quitter pour tout avertissement GTK. Cette option est listée parce qu'elle est utilisée à des fins de débuggage. +Cette option GTK standard force l'arrêt d'Inkscape dès qu'un message +d'avertssement (généralement sans gravité) est envoyé (utilisée à des fins +de déboggage). =item B<--usage> @@ -368,183 +422,196 @@ =head1 CONFIGURATION -Le fichier de configuration principal est placé dans ~/.config/Inkscape/preferences.xml. -Il contient plusieurs types de paramétrages dont vous pouvez changer la valeur -dans Inkscape (la plupart dans la boîte de dialogue Préférences d'Inkscape). -Vous pouvez ajouter des configurations spécifiques dans les sous-répertoires -suivants : +Le fichier de configuration principal est placé dans +~/.config/Inkscape/preferences.xml. Il contient plusieurs types de +paramétrages dont vous pouvez changer la valeur dans Inkscape (la plupart +dans la boîte de dialogue Préférences d'Inkscape). Vous pouvez ajouter des +configurations spécifiques dans les sous-répertoires S B<$HOME>/.config/Inkscape/extensions/ - extensions. B<$HOME>/.config/Inkscape/icons/ - icônes. -B<$HOME>/.config/Inkscape/keys/ - association des touches du clavier aux commandes. +B<$HOME>/.config/Inkscape/keys/ - association des touches du clavier aux +commandes. B<$HOME>/.config/Inkscape/templates/ - modèles de fichiers. =head1 DIAGNOSTICS -Le programme retourne la valeur zéro après une utilisation réussie ou différente -de zéro après un problème. +Le programme retourne la valeur zéro après une utilisation réussie ou +différente de zéro après un problème. -Des messages d'erreur et des avertissements divers peuvent être écrits vers -STDERR ou STDOUT. Si le programme se comporte de façon erratique avec un fichier -SVG particulier, ou se plante, il est parfois utile de chercher des indices dans -ces messages. +Des messages d'erreur et des avertissements divers peuvent être envoyés vers +STDERR ou STDOUT. Si le programme se comporte de façon erratique avec un +fichier SVG particulier, ou se plante, il est utile de chercher des indices +dans ces messages. =head1 EXEMPLES -Bien qu'B soit principalement conçu comme une application graphique, -il peut aussi être utilisé depuis la ligne de commande pour certaines opérations SVG. +Bien qu'B soit principalement conçu comme une application +graphique, il peut aussi être utilisé depuis la ligne de commande pour +certaines opérations SVG. -Ouvrir un fichier SVG avec l'interface graphique : +Ouvrir un fichier SVG avec l'interface S inkscape nomdefichier.svg -Imprimer un fichier SVG : +Imprimer un fichier S inkscape nomdefichier.svg -p '| lpr' -Exporter un fichier SVG en PNG avec la résolution par défaut de 90 ppp (un pixel -bitmap correspondant à une unité utilisateur SVG [px]) : +Exporter un fichier SVG en PNG avec la résolution par défaut de 90 ppp (un +pixel bitmap correspondant à une unité utilisateur S inkscape nomdefichier.svg --export-png=nomdefichier.png -Idem, mais en forçant les dimensions du fichier à 600x400 pixels : +Idem, mais en forçant les dimensions du fichier à 600x400 S inkscape nomdefichier.svg --export-png=nomdefichier.png -w600 -h400 -Idem, mais en exportant le dessin (la boîte englobante de tous les objets), pas la page : +Idem, mais en exportant le dessin (la boîte englobante de tous les objets), +et pas la S inkscape nomdefichier.svg --export-png=nomdefichier.png --export-area-drawing Exporter en PNG l'objet id="text1555", en utilisant le nom de fichier et la -résolution utilisés la dernière fois qu'il a été exporté depuis l'interface graphique : +résolution utilisés la dernière fois qu'il a été exporté depuis l'interface +S inkscape nomdefichier.svg --export-id=text1555 --export-use-hints -Idem, mais en utilisant une résolution de 90 ppp, en spécifiant un nom de fichier -et en arrondissant la zone à exporter aux valeurs entières juste supérieures en -unités utilisateur SVG (afin de préserver l'alignement des objets sur des pixels -et minimiser l'anti-crénelage) : - - inkscape nomdefichier.svg --export-id=text1555 --export-png=texte.png --export-area-snap - -Convertir un document du format SVG Inkscape au format SVG brut : +Idem, mais en utilisant une résolution de 90 ppp, en spécifiant un nom de +fichier et en arrondissant la zone à exporter aux valeurs entières juste +supérieures en unités utilisateur SVG (afin de préserver l'alignement des +objets sur des pixels et minimiser S + + inkscape nomdefichier.svg --export-id=text1555 --export-png=text.png --export-area-snap + +Convertir un document du format SVG Inkscape au format SVG S inkscape nomdefichier1.svg --export-plain-svg=nomdefichier2.svg -Convertir un document SVG en EPS, en convertissant les textes en chemins : +Convertir un document SVG en EPS, en convertissant les textes en S inkscape nomdefichier.svg --export-eps=nomdefichier.eps --export-text-to-path -Demander la largeur de l'objet avec un id="text1555": +Demander la largeur de l'objet avec un S inkscape nomdefichier.svg --query-width --query-id text1555 Dupliquer l'objet ayant pour identifiant id="path1555", puis appliquer une -rotation de 90 degrés sur le duplicat, enregistrer le SVG et quitter : +rotation de 90 degrés sur le duplicat, enregistrer le SVG et S inkscape nomdefichier.svg --select=path1555 --verb=EditDuplicate --verb=ObjectRotate90 --verb=FileSave --verb=FileClose + + =head1 ENVIRONEMENT B pour obtenir l'hôte par défaut et le numéro d'affichage. -B pour définir le chemin par défaut du répertoire à utiliser pour stocker -les fichier temporaires. Le répertoire doit exister. - -=head1 THEMES - -Vous pouvez remplacer le fichier d'icônes par défaut B<$PREFIX>/share/inkscape/icons/icons.svg -en utilisant le répertoire B<$HOME>/.config/inkscape/icons/. Les icônes sont -chargées par nom (ex. : I) ou, si elles sont introuvables, depuis -le fichier I. Si une icône n'est pas trouvée dans l'un de ces -emplacements, elle est chargée depuis l'emplacement par défaut du système. - -Les icônes nécessaires sont chargées depuis les fichiers SVG par recherche de -l'id SVG correspondant (Par exemple, pour charger l'icône "fill_none" depuis un -fichier, le contenu identifié par l'id SVG "fill_none" est rendu en tant que -cette icône, qu'il vienne du fichier I ou du fichier I). +B pour définir le chemin par défaut du répertoire à utiliser pour +stocker les fichier temporaires. Le répertoire doit exister. + +=head1 THÈMES + +Vous pouvez remplacer le fichier d'icônes par défaut +B<$PREFIX>/share/inkscape/icons/icons.svg en utilisant le répertoire +B<$HOME>/.config/inkscape/icons/. Les icônes sont chargées par nom S<(ex. :> +I) ou, si elles sont introuvables, depuis le fichier +I. Si une icône n'est pas trouvée dans l'un de ces emplacements, +elle est chargée depuis l'emplacement par défaut du système. + +Les icônes nécessaires sont chargées depuis les fichiers SVG par recherche +de l'id SVG correspondant (Par exemple, pour charger l'icône "fill_none" +depuis un fichier, le contenu identifié par l'id SVG "fill_none" est rendu +en tant que cette icône, qu'il vienne du fichier I ou du +fichier I). + + + + =head1 AUTRES INFORMATIONS L'endroit principal pour trouver des informations sur B est -http://www.inkscape.org/. Le site web contient des liens vers d'autres éléments -pertinents : documentation, didacticiels, manuel de l'utilisateur, exemples, -archives des listes d'e-mail, la dernière version d'Inkscape et bien d'autres choses. +http://www.inkscape.org/. Le site web contient des liens vers d'autres +éléments S documentation, didacticiels, manuel de l'utilisateur, +exemples, archives des listes de diffusion, la dernière version d'Inkscape, +les bases contenant les défauts et les demandes d'évolution, et bien +d'autres choses. =head1 VOIR AUSSI potrace, cairo, rsvg(1), batik, ghostscript, pstoedit. -Suite de tests de conformité SVG : http://www.w3.org/Graphics/SVG/Test/ - -Validation de SVG : http://jiggles.w3.org/svgvalidator/ - -I -I -L - -I -I -L - -I -I +Suite de tests de conformité S http://www.w3.org/Graphics/SVG/Test/ + +Validation de S http://jiggles.w3.org/svgvalidator/ + +I I L + +I I L + +I I L -I -I -L +I I L + =head1 NOTES SUR L'INTERFACE GRAPHIQUE -Pour vous familiariser avec l'utilisation de l'interface graphique d'Inkscape, -consultez les didacticiels dans Aide > Didacticiels +Pour vous familiariser avec l'utilisation de l'interface graphique +d'Inkscape, consultez les didacticiels dans Aide > Didacticiels. -Inkscape permet d'importer (Fichier > Importer) la plupart des formats bitmaps -PNG, BMP, JPG, XPM, GIF, etc.), du texte brut (nécessite Perl) et le format AI -(documents Adobe Illustrator). +Inkscape permet d'importer (Fichier > Importer) la plupart des formats +bitmaps PNG, BMP, JPG, XPM, GIF, etc.), du texte brut (nécessite Perl), PS +et EPS (nécessite Ghostscript) et les formats PDF et AI (documents Adobe +Illustrato 9.0 ou plus récent). Inkscape permet d'exporter (Fichier > Exporter) des images PNG 32-bits, mais -aussi aux formats AI, PS, EPS, PDF (nécessite Ghostscript), DXF et plusieurs -autres formats (via Fichier > Enregistrer sous). +aussi aux formats AI, PS, EPS, PDF, DXF et plusieurs autres formats (via +Fichier > Enregistrer sous). -Inkscape supporte la pression et l'inclinaison du stylet d'une tablette graphique -pour la largeur et l'angle de l'outil calligraphique. +Inkscape supporte la pression et l'inclinaison du stylet d'une tablette +graphique pour la largeur, la force et l'angle de plusieurs outils dont la +plume calligraphique. Inkscape comporte une interface graphique pour le moteur de vectorisation de bitmaps Potrace (http://potrace.sf.net) qui est inclus dans Inkscape. -Inkscape peut utiliser des scripts externes (filtres depuis stdin vers stdout) +Inkscape peut utiliser des scripts externes (filtres de stdin vers stdout) représentés par des commandes dans le menu Effets. Un script peut avoir une interface graphique, sous forme de boîte de dialogue, permettant de définir différents paramètres et peut obtenir les IDs des objets sélectionnés sur lesquels agir depuis la ligne de commande. Inkscape est livré avec un -assortiment d'effets écrits en Python dédiés principalement à la manipulation de -chemin. +assortiment d'effets écrits en Python dédiés principalement à la +manipulation de chemin. =head1 RACCOURCIS CLAVIER -Pour obtenir une liste complète des raccourcis clavier et souris, consultez le -fichier doc/keys.html, ou utilisez la commande Clavier et souris dans le menu -d'aide de l'interface graphique pour en afficher un tableau SVG. - -=head1 BUGS - -Beaucoup de bugs sont connus; veuillez, svp, consulter le site web pour -consulter ceux qui ont déjà été rapportés et pour soumettre de nouveaux -problèmes. Consultez aussi la section "Known Issues" des notes de votre version -(dans le fichier `NEWS'). +Pour obtenir une liste complète des raccourcis clavier et souris, consultez +le fichier doc/keys.html, ou utilisez la commande Clavier et souris dans le +menu d'aide de l'interface graphique. + +=head1 DÉFAUTS + +Beaucoup de bugs sont S veuillez s'il vous plaît consulter le site +web pour vérifier ceux qui ont déjà été rapportés et pour soumettre de +nouveaux problèmes. Consultez aussi la section "Known Issues" des notes de +votre version (dans le fichier `NEWS'). =head1 AUTEURS -Ce code doit son existence à un grand nombre de contributeurs tout au long de -ses différentes incarnations. La liste qui suit est certainement incomplète - mais permet de reconnaître les nombreuses épaules sur lesquelles cette -application s'est appuyée : +Ce code doit son existence à un grand nombre de contributeurs tout au long +de ses différentes incarnations. La liste qui suit est certainement +incomplète mais permet de reconnaître les nombreuses épaules sur lesquelles +cette application s'est S [% INCLUDE "AUTHORS" %] @@ -554,52 +621,57 @@ =head1 HISTORIQUE Le code qui allait devenir Inkscape est né en 1999, avec le programme Gill, -GNOME Illustrator, créé par Raph Levien. L'objectif défini pour Gill était de -supporter complètement le format SVG. Raph a codé le modèle Postcript de courbes -de Bézier, incluant le remplissage et le contour, les coiffes et raccords de -lignes, le texte, etc. La page de Raph consacrée à Gill se trouve sur -http://www.levien.com/svg/. Le travail sur Gill semble avoir diminué ou s'être -arrêté en 2000. - -L'incarnation suivante du code allait devenir le très populaire Sodipodi, mené -par Lauris Kaplinski. Le code est devenu un outil d'illustration puissant après -plusieurs années de travail, ajoutant plusieurs nouvelles fonctionnalités, le -support multilingue, le portage sous Windows et d'autres systèmes d'exploitation -et éliminant certaines dépendances. - -Inkscape a été lancé en 2003 par quatre développeurs actifs de Sodipodi (Bryce -Harrington, MenTaLguY, Nathan Hurst et Ted Gould), qui voulaient faire prendre -une orientation différente au code en termes de focalisation sur la conformité -SVG, aspect et fonctionnement de l'interface, et d'opportunités de développement -ouvertes à plus de participants. +GNOME Illustrator, créé par Raph Levien. L'objectif défini pour Gill était +de supporter complètement le format SVG. Raph a codé le modèle Postcript de +courbes de Bézier, incluant le remplissage et le contour, les coiffes et +raccords de lignes, le texte, etc. La page de Raph consacrée à Gill se +trouve sur http://www.levien.com/svg/. Le travail sur Gill semble avoir +diminué ou s'être arrêté en 2000. + +L'incarnation suivante du code allait devenir le très populaire Sodipodi, +mené par Lauris Kaplinski. Le code est devenu un outil d'illustration +puissant après plusieurs années de travail, ajoutant plusieurs nouvelles +fonctionnalités, le support multilingue, le portage sous Windows et d'autres +systèmes d'exploitation et éliminant certaines dépendances. + +Inkscape a été lancé en 2003 par quatre développeurs actifs de Sodipodi +(Bryce Harrington, MenTaLguY, Nathan Hurst et Ted Gould), qui voulaient +faire prendre une orientation différente au code en termes de focalisation +sur la conformité SVG, aspect et fonctionnement de l'interface, et +d'opportunités de développement ouvertes à plus de participants. Le projet a +progressé rapidement, gagnant de nombreux contributeurs et une multitude de +fonctionnalités. Beaucoup de travail a été depuis consacré à la stabilisation du code et à l'internationalisation. Le moteur de rendu hérité de Sodipodi comportait de -nombreuses spécificités qui entrainaient de plantages lorsque l'utilisation du -programme sortait des sentiers battus. Ce moteur a alors été remplacé par Livarot -qui, bien qu'imparfait, générait moins d'erreurs. Le projet a également adopté -la bonne habitude de publier son code régulièrement, et encouragé les utilisateurs -à tester des versions en développement du logiciel, ce qui a bien aidé dans -l'identification des nouveaux défauts, et donné les moyens aux utilisateurs -de vérifier que les anciens étaient bien corrigés. Inkscape a ainsi acquis une -réputation de programme robuste et fiable. - -En parallèle, des efforts ont été faits pour améliorer l'internationalisation et -la localisation de l'interface, ce qui a apporté au projet de nouveaux -contributeurs tout autour du monde. - -Inkscape a eu un impact positif sur l'attractivité visuelle de l'Open Source en -général, en offrant un outil pour créer et partager des icônes, écrans d'accueil, -art pour le web, etc. D'une certaine façon, bien que n'étant qu'un "simple outil -de dessin", Inkscape a joué un rôle important en rendant l'Open Source -plus stimulant visuellement parlant pour un plus large public. +nombreuses spécificités qui entrainaient de plantages lorsque l'utilisation +du programme sortait des sentiers battus. Ce moteur a alors été remplacé par +Livarot qui, bien qu'imparfait, générait moins d'erreurs. Le projet a +également adopté la bonne habitude de publier son code régulièrement, et +encouragé les utilisateurs à tester des versions en développement du +logiciel, ce qui a bien aidé dans l'identification des nouveaux défauts, et +donné les moyens aux utilisateurs de vérifier que les anciens étaient bien +corrigés. Inkscape a ainsi acquis une réputation de programme robuste et +fiable. + +En parallèle, des efforts ont été faits pour améliorer +l'internationalisation et la localisation de l'interface, ce qui a apporté +au projet de nouveaux contributeurs tout autour du monde. + +Inkscape a eu un impact positif sur l'attractivité visuelle de l'Open Source +en général, en offrant un outil pour créer et partager des icônes, écrans +d'accueil, art pour le web, etc. D'une certaine façon, bien que n'étant +qu'un "simple outil de dessin", Inkscape a joué un rôle important en rendant +l'Open Source plus stimulant visuellement parlant pour un plus large public. =head1 COPYRIGHT ET LICENSE -B 1999-2010 des auteurs. - -B est un logiciel libre; vous pouvez le redistribuer et/ou le modifier selon les termes de la license GPL. - - -=for comment -$Date$ +B 1999-2011 des auteurs. + +B est un logiciel libre; vous pouvez le redistribuer et/ou le +modifier selon les termes de la license GPL. + + + +=for comment $Date$ + === added file 'inkscape.ja.1' --- inkscape.ja.1 1970-01-01 00:00:00 +0000 +++ inkscape.ja.1 2012-02-16 12:59:31 +0000 @@ -0,0 +1,695 @@ +.\" Automatically generated by Pod::Man 2.25 (Pod::Simple 3.16) +.\" +.\" Standard preamble: +.\" ======================================================================== +.de Sp \" Vertical space (when we can't use .PP) +.if t .sp .5v +.if n .sp +.. +.de Vb \" Begin verbatim text +.ft CW +.nf +.ne \\$1 +.. +.de Ve \" End verbatim text +.ft R +.fi +.. +.\" Set up some character translations and predefined strings. \*(-- will +.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left +.\" double quote, and \*(R" will give a right double quote. \*(C+ will +.\" give a nicer C++. Capital omega is used to do unbreakable dashes and +.\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, +.\" nothing in troff, for use with C<>. +.tr \(*W- +.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' +.ie n \{\ +. ds -- \(*W- +. ds PI pi +. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch +. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch +. ds L" "" +. ds R" "" +. ds C` "" +. ds C' "" +'br\} +.el\{\ +. ds -- \|\(em\| +. ds PI \(*p +. ds L" `` +. ds R" '' +'br\} +.\" +.\" Escape single quotes in literal strings from groff's Unicode transform. +.ie \n(.g .ds Aq \(aq +.el .ds Aq ' +.\" +.\" If the F register is turned on, we'll generate index entries on stderr for +.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index +.\" entries marked with X<> in POD. Of course, you'll have to process the +.\" output yourself in some meaningful fashion. +.ie \nF \{\ +. de IX +. tm Index:\\$1\t\\n%\t"\\$2" +.. +. nr % 0 +. rr F +.\} +.el \{\ +. de IX +.. +.\} +.\" ======================================================================== +.\" +.IX Title "INKSCAPE.JA 1" +.TH INKSCAPE 1 "" "Inkscape\-0.48.2" "Inkscape" +.\" For nroff, turn off justification. Always turn off hyphenation; it makes +.\" way too many mistakes in technical documents. +.if n .ad l +.nh +.SH "名前" +.IX Header "名前" +Inkscape \- \s-1SVG\s0 (Scalable Vector Graphics) 編集プログラム +.SH "書式" +.IX Header "書式" +\&\f(CW\*(C`inkscape [options] [filename ...]\*(C'\fR +.PP +options: +.PP +.Vb 3 +\& \-?, \-\-help +\& \-\-usage +\& \-V, \-\-version +\& +\& \-f, \-\-file=FILENAME +\& +\& \-e, \-\-export\-png=FILENAME +\& \-a, \-\-export\-area=x0:y0:x1:y1 +\& \-C, \-\-export\-area\-page +\& \-D, \-\-export\-area\-drawing +\& \-\-export\-area\-snap +\& \-i, \-\-export\-id=ID +\& \-j, \-\-export\-id\-only +\& \-t, \-\-export\-use\-hints +\& \-b, \-\-export\-background=COLOR +\& \-y, \-\-export\-background\-opacity=VALUE +\& \-d, \-\-export\-dpi=DPI +\& \-w, \-\-export\-width=WIDTH +\& \-h, \-\-export\-height=HEIGHT +\& +\& \-P, \-\-export\-ps=FILENAME +\& \-E, \-\-export\-eps=FILENAME +\& \-A, \-\-export\-pdf=FILENAME +\& \-\-export\-latex +\& +\& \-T, \-\-export\-text\-to\-path +\& \-\-export\-ignore\-filters +\& +\& \-l, \-\-export\-plain\-svg=FILENAME +\& +\& \-p, \-\-print=PRINTER +\& +\& \-I, \-\-query\-id=ID +\& \-X, \-\-query\-x +\& \-Y, \-\-query\-y +\& \-W, \-\-query\-width +\& \-H, \-\-query\-height +\& \-S, \-\-query\-all +\& +\& \-x, \-\-extension\-directory +\& +\& \-\-verb\-list +\& \-\-verb=VERB-ID +\& \-\-select=OBJECT-ID +\& +\& \-\-shell +\& +\& \-g, \-\-with\-gui +\& \-z, \-\-without\-gui +\& +\& \-\-vacuum\-defs +\& +\& \-\-g\-fatal\-warnings +.Ve +.SH "説明" +.IX Header "説明" +\&\fBInkscape\fR は \fBAdobe Illustrator\fR、\fBCorelDraw\fR、\fBXara Xtreme\fR などと同等の機能を持つ +\&\fBScalable Vector Graphics (\s-1SVG\s0)\fR 形式の描画ファイル用 \s-1GUI\s0 エディタです。Inkscape +は多彩なシェイプ、ベジエパス、フリーハンド描画、複数行テキスト、パス上テキスト、アルファブレンディング、任意のアフィン変換、グラデーションおよびパターンフィル、ノード編集、PNG +や \s-1PDF\s0 +を含む多くのファイル形式に対応するインポートおよびエクスポート、グループ化、レイヤー、ライブクローンなど多くの機能を具備しています。そのインターフェイスは熟練ユーザにとって快適で効率的であるとともに、\fB\s-1GNOME\s0\fR +標準にも準拠するよう設計されてもいるため、他の \s-1GNOME\s0 アプリケーションをよく知るユーザであれば慣れるまでに多くの時間を必要としません。 +.PP +\&\fB\s-1SVG\s0\fR は W3C 標準の 2D ベクターグラフィック用 \s-1XML\s0 +フォーマットです。描画内でポイント、パス、および基本シェイプを使用してオブジェクトを定義できます。配色、フォント、ストローク幅などは `style' +属性としてオブジェクトに指定されます。SVG は、標準であること、そのファイルは text/xml +であることを意図しているため、多くのプログラムと、そして幅広い用途での利用が可能です。 +.PP +\&\fBInkscape\fR は \s-1SVG\s0 をその内部フォーマットとして採用しており、オープンソースコミュニティにおいてもっとも \s-1SVG\s0 +に準拠したドローイングプログラムになることを目標としています。 +.SH "オプション" +.IX Header "オプション" +.IP "\fB\-?\fR, \fB\-\-help\fR" 8 +.IX Item "-?, --help" +ヘルプメッセージを表示します。 +.IP "\fB\-V\fR, \fB\-\-version\fR" 8 +.IX Item "-V, --version" +Inkscape のバージョンとビルド日時を表示します。 +.IP "\fB\-a\fR \fIx0:y0:x1:y1\fR, \fB\-\-export\-area\fR=\fIx0:y0:x1:y1\fR" 8 +.IX Item "-a x0:y0:x1:y1, --export-area=x0:y0:x1:y1" +\&\s-1PNG\s0 エクスポートにおいて、エクスポートする領域を \s-1SVG\s0 ユーザ単位 (通常 Inkscape \s-1SVG\s0 内で使用されている長さの単位) +で指定します。デフォルトではドキュメント全体をエクスポートします。座標 (0,0) は左下の角になります。 +.IP "\fB\-C\fR, \fB\-\-export\-area\-page\fR" 8 +.IX Item "-C, --export-area-page" +PNG、PDF、PS、および \s-1EPS\s0 エクスポートにおいて、エクスポート領域はそのページになります。これは PNG、PDF、および \s-1PS\s0 +ではデフォルトになるため、\-\-export\-id を使用して指定オブジェクトをエクスポートする場合を除き指定する必要はありません。対して \s-1EPS\s0 +ではこれはデフォルトになりません。さらに \s-1EPS\s0 では、形式の指定において境界枠を内容より拡大することができません。これは、EPS エクスポート時に +\&\-\-export\-area\-page を使用した場合、ページの内容が境界枠より小さいと境界枠もそれに合わせて小さくなることを意味します。 +.IP "\fB\-D\fR, \fB\-\-export\-area\-drawing\fR" 8 +.IX Item "-D, --export-area-drawing" +PNG、PDF、PS、および \s-1EPS\s0 +エクスポートにおいて、エクスポートされる領域はページではなく、その描画部分、すなわち、ドキュメント内のすべてのオブジェクト (\-\-export\-id +を使用した場合はエクスポートされるオブジェクト) +全体の境界枠となります。このオプションを指定すると、エクスポートされたイメージにはマージンやクロッピングがなく、ドキュメントのすべての可視オブジェクトが含まれます。EPS +ではこれがデフォルトのエクスポート領域となり、\-\-export\-use\-hints とともに使用することができます。 +.IP "\fB\-\-export\-area\-snap\fR" 8 +.IX Item "--export-area-snap" +\&\s-1PNG\s0 エクスポートにおいて、エクスポート領域を拡大方向に最も近い \s-1SVG\s0 ユーザ単位 (px) 値にスナップします。エクスポート解像度がデフォルトの +90dpi でグラフィックが最小のアンチエイリアスにピクセルスナップされた場合、エクスポートするいくつかのオブジェクトの境界枠 (\-\-export\-id +または \-\-export\-area\-drawing 指定) がピクセルに揃えていない場合であっても、このスイッチで配置を維持できます。 +.IP "\fB\-b\fR \fI\s-1COLOR\s0\fR, \fB\-\-export\-background\fR=\fI\s-1COLOR\s0\fR" 8 +.IX Item "-b COLOR, --export-background=COLOR" +エクスポートした \s-1PNG\s0 の背景色になります。SVG がサポートする色指定文字列 (\*(L"#ff007f\*(R" や \*(L"rgb(255,0,128)\*(R" など) +が使用できます。これを指定しない場合、Inkscape のドキュメントの設定で指定された色 (sodipodi:namedview の +pagecolor= 属性) が使用されます。 +.IP "\fB\-d\fR \fI\s-1DPI\s0\fR, \fB\-\-export\-dpi\fR=\fI\s-1DPI\s0\fR" 8 +.IX Item "-d DPI, --export-dpi=DPI" +\&\s-1PNG\s0 エクスポートで使用される解像度になります。PS、EPS、あるいは \s-1PDF\s0 +へのエクスポート時のフィルタ処理されたオブジェクトにおけるフォールバックラスタライズでも使用されます (\-\-export\-ignore\-filters +でラスタライズを抑止している場合を除く)。 +.IP "\fB\-e\fR \fI\s-1FILENAME\s0\fR, \fB\-\-export\-png\fR=\fI\s-1FILENAME\s0\fR" 8 +.IX Item "-e FILENAME, --export-png=FILENAME" +\&\s-1PNG\s0 エクスポート時のファイル名を指定します。同名のファイルが存在する場合、問い合わせなしに上書きされます。 +.IP "\fB\-f\fR \fI\s-1FILENAME\s0\fR, \fB\-\-file\fR=\fI\s-1FILENAME\s0\fR" 8 +.IX Item "-f FILENAME, --file=FILENAME" +指定されたドキュメントを開きます。オプション文字 (\-f) は省略できます。すなわち、オプション文字が与えられていない場合は \-f +が指定され、パラメータはすべてファイル名とみなされます。 +.IP "\fB\-g\fR, \fB\-\-with\-gui\fR" 8 +.IX Item "-g, --with-gui" +\&\s-1GUI\s0 の使用を試みます (Unix の場合、$DISPLAY が設定されていない場合でも X server を使用します)。 +.IP "\fB\-h\fR \fI\s-1HEIGHT\s0\fR, \fB\-\-export\-height\fR=\fI\s-1HEIGHT\s0\fR" 8 +.IX Item "-h HEIGHT, --export-height=HEIGHT" +生成するビットマップの高さ (ピクセル) になります。この値は \-\-export\-dpi 設定 (または \-\-export\-use\-hints +を指定した場合の \s-1DPI\s0 ヒント) より優先されます。 +.IP "\fB\-i\fR \fI\s-1ID\s0\fR, \fB\-\-export\-id\fR=\fI\s-1ID\s0\fR" 8 +.IX Item "-i ID, --export-id=ID" +PNG、PS、EPS、および \s-1PDF\s0 エクスポートにおいて、ドキュメント内のエクスポートしたいオブジェクトの id +属性値を指定します。その他のオブジェクトはエクスポートされません。デフォルトのエクスポート領域はオブジェクトの境界枠になり、\-\-export\-area +(\s-1PNG\s0 のみ) または \-\-export\-area\-page が指定された場合はその値が優先されます。 +.IP "\fB\-j\fR, \fB\-\-export\-id\-only\fR" 8 +.IX Item "-j, --export-id-only" +\&\-\-export\-id で指定されたオブジェクトのみ \s-1PNG\s0 +にエクスポートします。その他のオブジェクトは、エクスポートするオブジェクト上に重なっているものであってもエクスポート \s-1PNG\s0 +には出力されません。\-\-export\-id が指定されていない場合はこのオプションは無視されます。PDF +エクスポートではこの挙動がデフォルトとなるため、このオプションは意味を持ちません。 +.IP "\fB\-l\fR, \fB\-\-export\-plain\-svg\fR=\fI\s-1FILENAME\s0\fR" 8 +.IX Item "-l, --export-plain-svg=FILENAME" +ドキュメントをプレーン \s-1SVG\s0 形式にエクスポートします。sodipodi: あるいは inkscape: 名前空間や \s-1RDF\s0 +メタデータは破棄されます。 +.IP "\fB\-x\fR, \fB\-\-extension\-directory\fR" 8 +.IX Item "-x, --extension-directory" +Inkscape が使用するよう設定されている現在のエクステンションディレクトリの一覧を表示して終了します。これは外部のエクステンションがオリジナルの +Inkscape インストール場所を取得するために使用されます。 +.IP "\fB\-\-verb\-list\fR" 8 +.IX Item "--verb-list" +Inkscape で利用できる全 \s-1VERB\s0 (内部コマンド) の一覧を \s-1ID\s0 順で表示します。この \s-1ID\s0 +はキーマップやメニューの定義で使用することができる他、\-\-verb コマンドラインオプションでも使用できます。 +.IP "\fB\-\-verb\fR=\fIVERB\-ID\fR, \fB\-\-select\fR=\fIOBJECT\-ID\fR" 8 +.IX Item "--verb=VERB-ID, --select=OBJECT-ID" +これら 2 つのオプションは同時に使用し、コマンドラインから Inkscape +を操作できる基本的なスクリプト機能を提供します。これらはコマンドライン上で、必要であれば何度でも使用でき、指定された各ドキュメント上で順番に実行されます。 +.Sp +\&\-\-verb コマンドは指定された \s-1VERB\s0 をメニューやボタンから呼び出した場合と同様に実行します。VERB +にダイアログがある場合はそれが表示されます。使用できる \s-1VERB\s0 \s-1ID\s0 の一覧は \-\-verb\-list コマンドで確認できます。 +.Sp +\&\-\-select コマンドは指定された \s-1ID\s0 のオブジェクトを選択状態にします。様々な \s-1VERB\s0 +はここで指定されたオブジェクトに対して実行されます。すべての選択を解除するには \-\-verb=EditDeselect +を使用します。使用できるオブジェクト \s-1ID\s0 は読み込まれるドキュメントに依存します。 +.IP "\fB\-p\fR \fI\s-1PRINTER\s0\fR, \fB\-\-print\fR=\fI\s-1PRINTER\s0\fR" 8 +.IX Item "-p PRINTER, --print=PRINTER" +ドキュメントを `lpr \-P \s-1PRINTER\s0' で指定されたプリンタで印刷します。他に、`| \s-1COMMAND\s0' +でさまざまなコマンドへリダイレクトし、`> \s-1FILENAME\s0' で PostScript +出力でファイルに書き出します。使用するシェルに応じた引用符で括ることを忘れないでください。 +.Sp +例: inkscape \-\-print='| ps2pdf \- mydoc.pdf' mydoc.svg +.IP "\fB\-t\fR, \fB\-\-export\-use\-hints\fR" 8 +.IX Item "-t, --export-use-hints" +エクスポートしたオブジェクトに保存されているファイル名および \s-1DPI\s0 ヒントを使用します (\-\-export\-id 使用時のみ)。これらヒントは +Inkscape 内から選択範囲をエクスポートするときに自動的に設定されます。すなわち、例えば Inkscape を使用してドキュメント +document.svg からオブジェクト \s-1ID\s0 \*(L"path231\*(R" を /home/me/shape.png に解像度 300dpi +でエクスポートし、ドキュメントを保存すれば、そのシェイプを同じファイル名で同じ解像度で再度エクスポートする場合は、以下の指定だけで行えます。 +.Sp +inkscape \-i path231 \-t document.svg +.Sp +\&\-\-export\-dpi、\-\-export\-width、あるいは \-\-export\-height をこのオプションと共に指定した場合は、DPI +ヒントは無視され、コマンドラインで指定された値が使用されます。\-\-export\-png +をこのオプションと共に使用した場合は、ファイル名ヒントは無視され、コマンドラインで指定されたファイル名が使用されます。 +.IP "\fB\-w\fR \fI\s-1WIDTH\s0\fR, \fB\-\-export\-width\fR=\fI\s-1WIDTH\s0\fR" 8 +.IX Item "-w WIDTH, --export-width=WIDTH" +生成されるビットマップの幅のピクセル数になります。この値は \-\-export\-dpi 指定 (\-\-export\-use\-hints を使用した場合は +\&\s-1DPI\s0 ヒント) より優先されます。 +.IP "\fB\-y\fR \fI\s-1VALUE\s0\fR, \fB\-\-export\-background\-opacity\fR=\fI\s-1VALUE\s0\fR" 8 +.IX Item "-y VALUE, --export-background-opacity=VALUE" +エクスポートした \s-1PNG\s0 の背景の透明度になります。指定できる値の範囲は 0.0 から 1.0 (0.0 が完全な透明、1.0 +が完全な不透明)、あるいは 1 から 255 (255 が完全な不透明) のどちらかです。このオプションを指定せず \-b +オプションも指定されなかった場合、 Inkscape 内のドキュメントの設定で指定された値 (sodipodi:namedview の +inkscape:pageopacity= 属性)が使用されます。このオプションを指定せずに \-b オプションが指定された場合、255 (完全な不透明) +とみなされます。 +.IP "\fB\-P\fR \fI\s-1FILENAME\s0\fR, \fB\-\-export\-ps\fR=\fI\s-1FILENAME\s0\fR" 8 +.IX Item "-P FILENAME, --export-ps=FILENAME" +ドキュメントを PostScript (\s-1PS\s0) 形式にエクスポートします。PostScript +は透明度をサポートしていない点に留意してください。オリジナルの \s-1SVG\s0 +にあるいかなる透明なオブジェクトも自動的にラスタライズされます。使用しているフォントはサブセット化されて埋め込まれます。デフォルトのエクスポート領域はページになり、\-\-export\-area\-drawing +で描画全体に指定できます。\-\-export\-id でエクスポートするオブジェクトを 1 つ指定でき +(その他はすべてエクスポートされません)、その場合はエクスポート領域はそのオブジェクトの境界枠になりますが、\-\-export\-area\-page +でそのページに指定できます。 +.IP "\fB\-E\fR \fI\s-1FILENAME\s0\fR, \fB\-\-export\-eps\fR=\fI\s-1FILENAME\s0\fR" 8 +.IX Item "-E FILENAME, --export-eps=FILENAME" +ドキュメントを Encapsulated PostScript (\s-1EPS\s0) 形式にエクスポートします。PostScript +は透明度をサポートしていない点に留意してください。オリジナルの \s-1SVG\s0 +にあるいかなる透明オブジェクトも自動的にラスタライズされます。使用しているフォントはサブセット化されて埋め込まれます。デフォルトのエクスポート領域は描画全体になり、ページに指定することも出来ますが、その場合の制限事項については +\&\-\-export\-area\-page を参照してください。\-\-export\-id でエクスポートするオブジェクトを 1 つ指定できます +(その他はすべてエクスポートされません)。 +.IP "\fB\-A\fR \fI\s-1FILENAME\s0\fR, \fB\-\-export\-pdf\fR=\fI\s-1FILENAME\s0\fR" 8 +.IX Item "-A FILENAME, --export-pdf=FILENAME" +ドキュメントを \s-1PDF\s0 形式にエクスポートします。この形式ではオリジナル \s-1SVG\s0 +の透明度は保持されます。使用しているフォントはサブセット化され埋め込まれます。デフォルトのエクスポート領域はページになり、\-\-export\-area\-drawing +で描画全体に指定できます。\-\-export\-id でエクスポートするオブジェクトを 1 つ指定でき +(その他はすべてエクスポートされません)、その場合はエクスポート領域はそのオブジェクトの境界枠になりますが、\-\-export\-area\-page +でそのページに指定できます。" +.IP "\fB\-\-export\-latex\fR" 8 +.IX Item "--export-latex" +(PS、EPS、および \s-1PDF\s0 エクスポート用) LaTeX ドキュメント用のイメージを作成し、イメージ内のテキストは LaTeX +によるタイプセットになります。PDF/PS/EPS 形式へのエクスポート時、このオプションはオリジナルの \s-1SVG\s0 を \s-1PDF/PS/EPS\s0 ファイル +(形式は \-\-export\-pdf などで指定) と LaTeX ファイルに分割します。テキストは \s-1PDF/PS/EPS\s0 +ファイルには出力されず、LaTeX ファイルに出力されます。この LaTeX ファイルには \s-1PDF/PS/EPS\s0 も含まれます。LaTex でこの +LaTeX ファイルを入力 (\einput{image.tex}) すると、イメージと共に LaTeX +によってタイプセットされたテキストが表示されます。より詳しい情報は出力された実際の LaTeX ファイルを参照してください。また、GNUPlot の +`epslatex' 出力ターミナルも参照してください。 +.IP "\fB\-T\fR, \fB\-\-export\-text\-to\-path\fR" 8 +.IX Item "-T, --export-text-to-path" +該当する場合は、テキストオブジェクトをパスに変換します (PS、EPS、および \s-1PDF\s0 エクスポート用)。 +.IP "\fB\-\-export\-ignore\-filters\fR" 8 +.IX Item "--export-ignore-filters" +ぼかしなどのフィルタが適用されたベクターオブジェクトをエクスポートするとき、フィルタを無視します (PS、EPS、および \s-1PDF\s0 +用)。デフォルトでは、フィルタが適用されているオブジェクトは \-\-export\-dpi で指定された解像度 (デフォルトは 90 dpi) +でラスタライズされ、その外見を維持します。 +.IP "\fB\-I\fR, \fB\-\-query\-id\fR" 8 +.IX Item "-I, --query-id" +サイズや座標を問い合わせたいオブジェクトの \s-1ID\s0 を指定します。指定がない場合、ページや viewBox ではなく、描画全体 +(ドキュメント内のすべてのオブジェクト) の情報を返します。 +.IP "\fB\-X\fR, \fB\-\-query\-x\fR" 8 +.IX Item "-X, --query-x" +描画全体、あるいは \-\-query\-id が指定されている場合はそのオブジェクトの X 座標を問い合せます。返される値の単位は px (\s-1SVG\s0 +ユーザ単位) です。 +.IP "\fB\-Y\fR, \fB\-\-query\-y\fR" 8 +.IX Item "-Y, --query-y" +描画全体、あるいは \-\-query\-id が指定されている場合はそのオブジェクトの Y 座標を問い合せます。返される値の単位は px (\s-1SVG\s0 +ユーザ単位) です。 +.IP "\fB\-W\fR, \fB\-\-query\-width\fR" 8 +.IX Item "-W, --query-width" +描画全体、あるいは \-\-query\-id が指定されている場合はそのオブジェクトの幅を問い合せます。返される値の単位は px (\s-1SVG\s0 ユーザ単位) +です。 +.IP "\fB\-H\fR, \fB\-\-query\-height\fR" 8 +.IX Item "-H, --query-height" +描画全体、あるいは \-\-query\-id が指定されている場合はそのオブジェクトの高さを問い合せます。返される値の単位は px (\s-1SVG\s0 ユーザ単位) +です。 +.IP "\fB\-S\fR, \fB\-\-query\-all\fR" 8 +.IX Item "-S, --query-all" +\&\s-1SVG\s0 ドキュメント内のすべてのオブジェクトの定義されている ID、X 座標、Y 座標、幅、および高さをコンマで区切った一覧を出力します。 +.IP "\fB\-\-shell\fR" 8 +.IX Item "--shell" +このオプションを指定すると、Inkscape は対話式のコマンドラインシェルモードで起動します。このモードでは、プロンプトでコマンドを入力すると +Inkscape はそれらを実行し、コマンドごとに新しく Inkscape +を起動する必要がありません。このモードは主にスクリプト作成やサーバ用途で役立ちます。ここでなにか新しい機能が追加されるわけではありませんが、くり返し +Inkscape を呼び出すコマンドラインでの作業 (エクスポートや変換など) +は直ちに実行されることでその結果が素早く得られ、メモリ消費も抑えられます。シェルモードでも各コマンドは正しく記述されなければなりませんが、プログラム名の +Inkscape の入力の必要ありません (例: \*(L"file.svg \-\-export\-pdf=file.pdf\*(R")。 +.IP "\fB\-\-vacuum\-defs\fR" 8 +.IX Item "--vacuum-defs" +\&\s-1SVG\s0 ファイル内の defs セクションから未使用のアイテムをすべて除去します。このオプションが \-\-export\-plain\-svg +とともに指定された場合、エクスポートされるファイルに対してのみ作用します。このオプションだけ指定された場合は、指定されたファイルが修正されます。 +.IP "\fB\-z\fR, \fB\-\-without\-gui\fR" 8 +.IX Item "-z, --without-gui" +\&\s-1GUI\s0 を使用せず (Unix では X server を使用しません)、コンソールからのみファイルを処理します。これは \-p、\-e、\-l、および +\&\-\-vacuum\-defs オプションでの使用を想定しています。 +.IP "\fB\-\-g\-fatal\-warnings\fR" 8 +.IX Item "--g-fatal-warnings" +この標準 \s-1GTK\s0 オプションは、通常問題のないあらゆる警告でも Inkscape を中断します (デバッグ用)。 +.IP "\fB\-\-usage\fR" 8 +.IX Item "--usage" +簡単なオプションの一覧を表示します。 +.SH "設定" +.IX Header "設定" +主たる構成設定ファイルは ~/.config/inkscape/preferences.xml にあります。この中には Inkscape +をカスタマイズする様々な設定情報 (そのほとんどは Inkscape の設定ダイアログにあります) +があり、そのサブディレクトリには以下のようなカスタム情報を格納できます: +.PP +\&\fB\f(CB$HOME\fB\fR/.config/inkscape/extensions/ \- エクステンション エフェクト +.PP +\&\fB\f(CB$HOME\fB\fR/.config/inkscape/icons/ \- アイコン +.PP +\&\fB\f(CB$HOME\fB\fR/.config/inkscape/keys/ \- キーボードマップ +.PP +\&\fB\f(CB$HOME\fB\fR/.config/inkscape/templates/ \- 新規ファイルのテンプレート +.SH "返り値" +.IX Header "返り値" +このプログラムは正常に終了するとゼロを返し、異常終了すると非ゼロを返します。 +.PP +様々なエラーあるいは警告メッセージが \s-1STDERR\s0 または \s-1STDOUT\s0 に出力されます。このプログラムが特定の \s-1SVG\s0 +において不規則な挙動を示す場合は、この出力を参照することで問題解決に役立ちます。 +.SH "例" +.IX Header "例" +\&\fBInkscape\fR は \s-1GUI\s0 アプリケーションとして開発されていますが、コマンドラインで \s-1SVG\s0 を処理するためにも使用できます。 +.PP +\&\s-1GUI\s0 で \s-1SVG\s0 ファイルを開く: +.PP +.Vb 1 +\& inkscape filename.svg +.Ve +.PP +\&\s-1SVG\s0 ファイルをコマンドラインから印刷する: +.PP +.Vb 1 +\& inkscape filename.svg \-p \*(Aq| lpr\*(Aq +.Ve +.PP +\&\s-1SVG\s0 ファイルをデフォルトの解像度である 90dpi で \s-1PNG\s0 にエクスポートする (1 \s-1SVG\s0 ユーザ単位は 1 +ビットマップピクセルに変換されます): +.PP +.Vb 1 +\& inkscape filename.svg \-\-export\-png=filename.png +.Ve +.PP +同様の処理で出力サイズを 600x400 ピクセルにする: +.PP +.Vb 1 +\& inkscape filename.svg \-\-export\-png=filename.png \-w600 \-h400 +.Ve +.PP +同様の処理で、ページではなく描画全体 (すべてのオブジェクトの境界枠) をエクスポートする: +.PP +.Vb 1 +\& inkscape filename.svg \-\-export\-png=filename.png \-\-export\-area\-drawing +.Ve +.PP +オブジェクト \*(L"text1555\*(R" を \s-1PNG\s0 にエクスポートする。出力ファイル名および解像度は、そのオブジェクトが最後に \s-1GUI\s0 +からエクスポートされた時の指定を利用する: +.PP +.Vb 1 +\& inkscape filename.svg \-\-export\-id=text1555 \-\-export\-use\-hints +.Ve +.PP +同様の処理を、解像度はデフォルトの 90dpi、ファイル名を指定、およびエクスポート領域を拡大方向に最も近い \s-1SVG\s0 ユーザ単位 (px) +値にスナップして行う: +.PP +.Vb 1 +\& inkscape filename.svg \-\-export\-id=text1555 \-\-export\-png=text.png \-\-export\-area\-snap +.Ve +.PP +Inkscape \s-1SVG\s0 ドキュメントをプレーン \s-1SVG\s0 へ変換する: +.PP +.Vb 1 +\& inkscape filename1.svg \-\-export\-plain\-svg=filename2.svg +.Ve +.PP +\&\s-1SVG\s0 ドキュメントを \s-1EPS\s0 へ変換する。すべてのテキストはパスへ変換する: +.PP +.Vb 1 +\& inkscape filename.svg \-\-export\-eps=filename.eps \-\-export\-text\-to\-path +.Ve +.PP +オブジェクトID \*(L"text1555\*(R" の幅を問い合わせる: +.PP +.Vb 1 +\& inkscape filename.svg \-\-query\-width \-\-query\-id text1555 +.Ve +.PP +オブジェクト \s-1ID\s0 \*(L"text1555\*(R" の複製を作成し、その複製を 90°回転し、SVG に保存して終了する: +.PP +.Vb 1 +\& inkscape filename.svg \-\-select=path1555 \-\-verb=EditDuplicate \-\-verb=ObjectRotate90 \-\-verb=FileSave \-\-verb=FileClose +.Ve +.SH "環境変数" +.IX Header "環境変数" +\&\fB\s-1DISPLAY\s0\fR デフォルトのホストおよびディスプレイ番号を指定します。 +.PP +\&\fB\s-1TMPDIR\s0\fR 一時ファイル用ディレクトリのデフォルトパスを指定します。ディレクトリは存在していなければなりません。 +.SH "テーマ" +.IX Header "テーマ" +読み込むアイコンセットは \fB\f(CB$HOME\fB\fR/.config/inkscape/icons/ 配下から参照され、存在しない場合はシステムデフォルトの +\&\fB\f(CB$PREFIX\fB\fR/share/inkscape/icons/icons.svg が読み込まれます。アイコンはその名前で読み込まれ (例: +\&\fIfill_none.svg\fR)、見つからないときに \fIicons.svg\fR +から使用されます。どのアイコンもどちらの場所からも見つからない場合は、システムデフォルトの場所にフォールバックします。 +.PP +必要なアイコンは \s-1SVG\s0 ファイルから \s-1SVG\s0 \s-1ID\s0 がアイコン名とマッチするものが読み込まれます (例えば \*(L"fill_none\*(R" +アイコンをファイルから読み込むときは、\fIfill_none.svg\fR か、それがなければ \fIicons.svg\fR から \s-1SVG\s0 \s-1ID\s0 +\&\*(L"fill_none\*(R" の境界枠がアイコンとして描画されます)。 +.SH "その他" +.IX Header "その他" +\&\fBInkscape\fR に関する公式の情報は http://www.inkscape.org/ +にあります。このウェブサイトには、ニュース、ドキュメント、チュートリアル、作例、メーリングリスト書庫、最新バージョンのプログラム、バグおよび機能要望のデータベース、フォーラムなどがあります。 +.SH "関連項目" +.IX Header "関連項目" +potrace, cairo, \fIrsvg\fR\|(1), batik, ghostscript, pstoedit. +.PP +\&\s-1SVG\s0 準拠テストスイート: http://www.w3.org/Graphics/SVG/Test/ +.PP +\&\s-1SVG\s0 検証: http://jiggles.w3.org/svgvalidator/ +.PP +\&\fIScalable Vector Graphics (\s-1SVG\s0) 1.1 Specification\fR \fIW3C Recommendation 14 +January 2003\fR +.PP +\&\fIScalable Vector Graphics (\s-1SVG\s0) 1.2 Specification\fR \fIW3C Working Draft 13 +November 2003\fR +.PP +\&\fI\s-1SVG\s0 1.1/1.2/2.0 Requirements\fR \fIW3C Working Draft 22 April 2002\fR + +.PP +\&\fIDocument Object Model (\s-1DOM\s0): Level 2 Core\fR \fIArnaud Le Hors et al editors, +W3C\fR http://www.w3.org/TR/DOM\-Level\-2\-Core/ +.SH "GUI 情報" +.IX Header "GUI 情報" +Inkscape の \s-1GUI\s0 操作について学ぶには、「ヘルプ」>「チュートリアル」配下にあるチュートリアルを参照してください。 +.PP +Inkscape は \s-1SVG\s0 以外にも、ほとんどのビットマップ形式 (PNG、BMP、JPG、XPM、GIF など)、プレーンテキスト (Perl +が必要)、PS および \s-1EPS\s0 (Ghostscript が必要)、PDF および \s-1AI\s0 形式 (\s-1AI\s0 バージョン 9.0 以降) をインポートできます +(「ファイル」>「インポート」)。 +.PP +Inkscape は 32\-bit \s-1PNG\s0 画像へのエクスポートを行える (「ファイル」>「エクスポート」) +他、AI、PS、EPS、PDF、DXF、その他の形式へも「ファイル」>「名前を付けて保存」で保存できます。 +.PP +Inkscape はグラフィックタブレットの筆圧および傾き検出に対応しており、カリグラフィツールなどでペンの幅、角度、および動きに利用できます。 +.PP +Inkscape はビットマップトレースエンジン Potrace (http://potrace.sf.net) の \s-1GUI\s0 +フロントエンドを具備しています。 +.PP +Inkscape は外部スクリプト (標準入力から標準出力へのフィルタ) +を使用でき、それらは「エクステンション」メニューに表示されます。スクリプトはパラメータ設定のための \s-1GUI\s0 +ダイアログを持つことができ、コマンドラインを通して作用する選択オブジェクトの \s-1ID\s0 を取得することができます。Inkscape は Python +で書かれたエフェクトを各種取り揃えています。 +.SH "キーバインド" +.IX Header "キーバインド" +キーボードとマウスショートカットの完全なリストは、doc/keys.html か「ヘルプ」メニューの「キーとマウスのリファレンス」から参照できます。 +.SH "バグ" +.IX Header "バグ" +多くのバグが報告されています。ウェブサイト (inkscape.org) +から報告されたものを参照し、新しく発見した問題を報告してください。お使いのバージョンのリリースノート内の Known Issues (既知の問題) +セクションも参照してください。 +.SH "著者" +.IX Header "著者" +このコードベースは、様々な形の貢献によって成り立っています。以下のリストが完全でないことは確かなのですが、このアプリケーションが多くの方々に協力していただいていることを知るのに役立ちます。 +.PP +Maximilian Albert, +Josh Andler, +Tavmjong Bah, +Pierre Barbry-Blot, +Jean-François Barraud, +Bill Baxter, +John Beard, +John Bintz, +Arpad Biro, +Nicholas Bishop, +Joshua L. Blocher, +Henrik Bohre, +Boldewyn, +Daniel Borgmann, +Bastien Bouclet, +Gustav Broberg, +Christopher Brown, +Hans Breuer, +Marcus Brubaker, +Luca Bruno, +Nicu Buculei, +Bulia Byak, +Pierre Caclin, +Ian Caldwell, +Gail Carmichael, +Ed Catmur, +Chema Celorio, +Johan Ceuppens, +Zbigniew Chyla, +Alexander Clausen, +John Cliff, +Kees Cook, +Ben Cromwell, +Robert Crosbie, +Jon Cruz, +Aurélie De-Cooman, +Milosz Derezynski, +Daniel Díaz, +Bruno Dilly, +Larry Doolittle, +Tim Dwyer, +Maxim V. Dziumanenko, +Johan Engelen, +Miklos Erdelyi, +Ulf Erikson, +Noé Falzon, +Frank Felfe, +Andrew Fitzsimon, +Edward Flick, +Marcin Floryan, +Fred, +Ben Fowler, +Cedric Gemy, +Steren Giannini, +Olivier Gondouin, +Ted Gould, +Toine de Greef, +Michael Grosberg, +Bryce Harrington, +Dale Harvey, +Aurélio Heckert, +Carl Hetherington, +Jos Hirth, +Hannes Hochreiner, +Thomas Holder, +Joel Holdsworth, +Alan Horkan, +Karl Ove Hufthammer, +Richard Hughes, +Nathan Hurst, +inductiveload, +Thomas Ingham, +Jean-Olivier Irisson, +Bob Jamison, +jEsuSdA, +Lauris Kaplinski, +Lynn Kerby, +Niko Kiirala, +James Kilfiger, +Jason Kivlighn, +Adrian Knoth, +Krzysztof Kosiński, +Petr Kovar, +Benoît Lavorata, +Alex Leone, +Julien Leray, +Raph Levien, +Diederik van Lierop, +Nicklas Lindgren, +Vitaly Lipatov, +Ivan Louette, +Pierre-Antoine Marc, +Aurel-Aimé Marmion, +Colin Marquardt, +Dmitry G. Mastrukov, +Matiphas, +Michael Meeks, +Federico Mena, +MenTaLguY, +Aubanel Monnier, +Vincent Montagne, +Tim Mooney, +Derek P. Moore, +Peter Moulder, +Jörg Müller, +Yukihiro Nakai, +Victor Navez, +Christian Neumair, +Andreas Nilsson, +Mitsuru Oka, +Marten Owens, +Alvin Penner, +Jon Phillips, +Zdenko Podobny, +Alexandre Prokoudine, +Jean-René Reinhard, +Alexey Remizov, +Frederic Rodrigo, +Hugo Rodrigues, +Juarez Rudsatz, +Xavier Conde Rueda, +Felipe Corrêa da Silva Sanches, +Aurélio A. Heckert, +Christian Schaller, +Marco Scholten, +Tom von Schwerdtner, +Shivaken, +Michael Sloan, +Danilo Šegan, +Boštjan Špetič, +Aaron Spike, +Kaushik Sridharan, +Ralf Stephan, +Dariusz Stojek, +Martin Sucha, +Pat Suwalski, +Adib Taraben, +Hugh Tebby, +Jonas Termeau, +David Turner, +Andre Twupack, +Aleksandar Urošević, +Lucas Vieites, +Michael Wybrow, +Daniel Yacob, +David Yip, +Masatake Yamato +.PP +この man page は Bryce Harrington +によって執筆されました。 +.SH "沿革" +.IX Header "沿革" +後に Inkscape となるコードベースは 1999 年、GNOME イラストレータアプリケーション Gill として Raph Leiven +によって製作が開始されました。Gill の当初の目標は最終的に \s-1SVG\s0 のすべてをサポートすることでした。Raph +は、ストロークとフィル、線のキャップ方式、線の連結方式、テキストなどを含む PostScript ベジエイメージングモデルを実装しました。Raph の +Gill のウェブページは http://www.levien.com/svg/ です。Gill の開発は 2000 +年には停滞したか、あるいは停止したようです。 +.PP +次にこのコードベースは Lauris Kaplinski が中心となって非常に人気のあるプログラム Sodipodi +に引き継がれました。コードベースは数年の作業を経ていくつかの新機能の追加、多言語サポート、Windows その他の \s-1OS\s0 +への移植、および依存関係の整理が行われ、強力なイラストレーションプログラムになりました。 +.PP +2003 年、アクティブな Sodopodi 開発者であった Bryce Harrington、MenTaLguY、Nathan Hurst、および +Ted Gould の 4 人は、コードベースにおける \s-1SVG\s0 +準拠やインターフェイスのルックアンドフィールに関しての異なる方向、および参加者に開かれた開発体制をとることを目的として Inkscape +を立ち上げました。 +.PP +プロジェクトの初期には、コードの安定化と国際化に焦点がおかれ多くの作業が行われました。Sodipodi +から受け継がれたオリジナルのレンダラには、所定の操作から外れたときに想定外のクラッシュを引き起こす、数多くの数学的にまれなケースが存在していました。このレンダラは、完全ではありませんが格段に安定性に優れた +Livarot +に置き換えられました。プロジェクトはまた、コードを頻繁にコミットし、ユーザに開発中のプログラムのスナップショットを利用することを奨励する方針を採用しました。これはバグを速やかに発見し、修正の確認をユーザが簡単に行えることに繋がりました。結果、Inkscape +リリースは一般に堅牢で信頼性があるという評価を得ました。 +.PP +同様に、インターフェイスの国際化とローカライズに対する取り組みも行われ、世界中からの貢献を得ることに役立ちました。 +.PP +Inkscape +はアイコン、スプラッシュスクリーン、ウェブサイトアートなどを作成や共有するツールを提供することによってオープンソース全体の視覚的な魅力に有益な影響を及ぼしました。ある意味「ただのドローイングプログラム」であるにもかかわらず、Inkscape +は、より多くの人々にオープンソースについての視覚的刺激を与える重要な役割を担っています。 +.SH "著作権およびライセンス" +.IX Header "著作権およびライセンス" +\&\fBCopyright (C)\fR 1999\[en]2010 by Authors. +.PP +\&\fBInkscape\fR はフリーソフトウェアです。あなたは \s-1GPL\s0 の示す条件下においてこのプログラムを配布および/または変更できます。 === added file 'inkscape.sk.1' --- inkscape.sk.1 1970-01-01 00:00:00 +0000 +++ inkscape.sk.1 2012-02-16 12:59:31 +0000 @@ -0,0 +1,736 @@ +.\" Automatically generated by Pod::Man 2.25 (Pod::Simple 3.16) +.\" +.\" Standard preamble: +.\" ======================================================================== +.de Sp \" Vertical space (when we can't use .PP) +.if t .sp .5v +.if n .sp +.. +.de Vb \" Begin verbatim text +.ft CW +.nf +.ne \\$1 +.. +.de Ve \" End verbatim text +.ft R +.fi +.. +.\" Set up some character translations and predefined strings. \*(-- will +.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left +.\" double quote, and \*(R" will give a right double quote. \*(C+ will +.\" give a nicer C++. Capital omega is used to do unbreakable dashes and +.\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, +.\" nothing in troff, for use with C<>. +.tr \(*W- +.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' +.ie n \{\ +. ds -- \(*W- +. ds PI pi +. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch +. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch +. ds L" "" +. ds R" "" +. ds C` "" +. ds C' "" +'br\} +.el\{\ +. ds -- \|\(em\| +. ds PI \(*p +. ds L" `` +. ds R" '' +'br\} +.\" +.\" Escape single quotes in literal strings from groff's Unicode transform. +.ie \n(.g .ds Aq \(aq +.el .ds Aq ' +.\" +.\" If the F register is turned on, we'll generate index entries on stderr for +.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index +.\" entries marked with X<> in POD. Of course, you'll have to process the +.\" output yourself in some meaningful fashion. +.ie \nF \{\ +. de IX +. tm Index:\\$1\t\\n%\t"\\$2" +.. +. nr % 0 +. rr F +.\} +.el \{\ +. de IX +.. +.\} +.\" ======================================================================== +.\" +.IX Title "INKSCAPE.SK 1" +.TH INKSCAPE 1 "2009-04-30" "Inkscape\-0.48.2" "Inkscape" +.\" For nroff, turn off justification. Always turn off hyphenation; it makes +.\" way too many mistakes in technical documents. +.if n .ad l +.nh +.SH "NAME" +Inkscape \- editor SVG (Scalable Vector Graphics). +.SH "SYNOPSIS" +.IX Header "SYNOPSIS" +\&\f(CW\*(C`inkscape [voľby] [názov súboru ...]\*(C'\fR +.PP +voľby: +.PP +.Vb 3 +\& \-?, \-\-help +\& \-\-usage +\& \-V, \-\-version +\& +\& \-f, \-\-file=NÁZOVSÚBORU +\& +\& \-e, \-\-export\-png=NÁZOVSÚBORU +\& \-a, \-\-export\-area=x0:y0:x1:y1 +\& \-C, \-\-export\-area\-canvas +\& \-D, \-\-export\-area\-drawing +\& \-\-export\-area\-snap +\& \-i, \-\-export\-id=ID +\& \-j, \-\-export\-id\-only +\& \-t, \-\-export\-use\-hints +\& \-b, \-\-export\-background=FARBA +\& \-y, \-\-export\-background\-opacity=HODNOTA +\& \-d, \-\-export\-dpi=DPI +\& \-w, \-\-export\-width=ŠÍRKA +\& \-h, \-\-export\-height=VÝŠKA +\& +\& \-P, \-\-export\-ps=NÁZOVSÚBORU +\& \-E, \-\-export\-eps=NÁZOVSÚBORU +\& \-A, \-\-export\-pdf=NÁZOVSÚBORU +\& +\& \-T, \-\-export\-text\-to\-path +\& \-\-export\-bbox\-page +\& +\& \-l, \-\-export\-plain\-svg=NÁZOVSÚBORU +\& +\& \-p, \-\-print=PRINTER +\& +\& \-I, \-\-query\-id=ID +\& \-X, \-\-query\-x +\& \-Y, \-\-query\-y +\& \-W, \-\-query\-width +\& \-H, \-\-query\-height +\& \-S, \-\-query\-all +\& +\& \-x, \-\-extension\-directory +\& +\& \-\-verb\-list +\& \-\-verb=VERB-ID +\& \-\-select=OBJECT-ID +\& +\& \-\-shell +\& +\& \-g, \-\-with\-gui +\& \-z, \-\-without\-gui +\& +\& \-\-vacuum\-defs +\& +\& \-\-g\-fatal\-warnings +.Ve +.SH "OPIS" +.IX Header "OPIS" +\&\fBInkscape\fR je editor súborov vektorovej grafiky vo formáte +\&\fBScalable Vector Graphics (\s-1SVG\s0)\fR s grafickým rozhraním, ktorého +schopnosti sú podobné \fBAdobe Illustrator\fR, \fBCorelDraw\fR, \fBXara Xtreme\fR, +atď. Medzi vlastnosti Inkscape patria všestranné tvary, bézierove krivky, +kreslenie voľbou rukou, viacriadkový text, text na ceste, alpha blending, +ľubovoľné afínne transformácie, farebné prechody a výplň vzorkou, +úprava uzlov, mnohé formáty na export a import vrátane \s-1PNG\s0 a \s-1PDF\s0, +zoskupovanie, vrstvy, živé klony a veľa iného. Rozhranie je navrhnuté pre +komfortné a efektívne ovládanie pre skúseného používateľa, pričom dodržiava +štandardy \fB\s-1GNOME\s0\fR, takže používateľ oboznámený s inými aplikáciami \s-1GNOME\s0 +si môže ovládanie rozhrania rýchlo osvojiť. +.PP +\&\fB\s-1SVG\s0\fR je štandardný W3C \s-1XML\s0 formát pre dvojrozmernú vektorovú grafiku. +Umožňuje definíciu objektov kresby pomocou bodov, ciest a primitívnych +tvarov. Farby, písma, šírka ťahu atď sa pri týchto objektoch uvádzajú ako +atribúty „štýlu“. Zámer je taký, že keďže \s-1SVG\s0 je štandard a jeho súbory sú +text/xml, bude možné použiť \s-1SVG\s0 súbory vo veľkom počte programov v širokom +spektre aplikácií. +.PP +\&\fBInkscape\fR používa \s-1SVG\s0 ako svoj natívny formát dokumentu a jeho cieľom je +stať sa kresliacim programom plne konformným \s-1SVG\s0 súborom, dostupným open +source komunite. +.SH "VOĽBY" +.IX Header "VOĽBY" +.IP "\fB\-?\fR, \fB\-\-help\fR" 8 +.IX Item "-?, --help" +Zobrazí správu s pomocou +.IP "\fB\-V\fR, \fB\-\-version\fR" 8 +.IX Item "-V, --version" +Zobrazí verziu a dátum zostavenia Inkscape. +.IP "\fB\-a\fR \fIx0:y0:x1:y1\fR, \fB\-\-export\-area\fR=\fIx0:y0:x1:y1\fR" 8 +.IX Item "-a x0:y0:x1:y1, --export-area=x0:y0:x1:y1" +Pri exporte \s-1PNG\s0, nastaví exportovanú oblasť v používateľských jednotkách +\&\s-1SVG\s0 (anonymné jednotky dĺžky bežne používané v Inkscape \s-1SVG\s0). Štandardne sa +exportuje celé kresliace plátno dokumentu. Bod (0,0) je spodný dolný roh. +.IP "\fB\-C\fR, \fB\-\-export\-area\-canvas\fR" 8 +.IX Item "-C, --export-area-canvas" +Pri exporte \s-1NG\s0, \s-1PDF\s0, \s-1PS\s0 a \s-1EPS\s0 je exportovaná oblasť celé kresliace plátno dokumentu +(stránka). Toto je štandardné nastavenie pre \s-1PNG\s0, \s-1PDF\s0 a \s-1PS\s0, takže ju nemusíte uvádzať +ak nepoužívate \-\-export\-id na exportovanie konkrétneho objektu. Pri exporte \s-1EPS\s0 to +však nie je štandardné nastavenie. Naviac pri \s-1EPS\s0 neumožňuje špecifikácia formátu aby +bolo ohraničenie väčšie ako obsah dokumentu. To znamená, že ak pri exporte \s-1EPS\s0 použijete +\&\-\-export\-area\-canvas, ohraničenie plátna sa oreže dnu na ohraničenie objektu ak je menšie. +.IP "\fB\-D\fR, \fB\-\-export\-area\-drawing\fR" 8 +.IX Item "-D, --export-area-drawing" +Pri exporte \s-1PNG\s0, \s-1PDF\s0, \s-1PS\s0 a \s-1EPS\s0 je exportovaná oblasť celá kresba (nie plátno), t.j. ohraničenie +všetkých objektov dokumentu (alebo exportovaného objektu ak je použité \-\-export\-id). +S touto voľbou budú na exportovanom obrázku iba viditeľné objekty dokumentu bez +okrajov alebo orezania. Toto je štandardná exportná oblasť pre \s-1EPS\s0. Pri \s-1PNG\s0 +je možné použiť túto voľbu v kombinácii s \-\-export\-use\-hints. +.IP "\fB\-\-export\-area\-snap\fR" 8 +.IX Item "--export-area-snap" +Pri exporte png prichytí oblasť exportu smerom von na najbližšiu celočíselnú používateľskú jednotku \s-1SVG\s0 (px). +Ak používate štandardné rozlíšenie na export 90 dpi a vaša grafika je zarovnaná na pixle aby sa minimalizoval +antialiasing, tento prepínač vám umožní zachovať toto zarovnanie aj ak exportujete ohraničenie nejakého +objektu (pmocou \-\-export\-id alebo \-\-export\-area\-drawing), ktoré samotné nie je zarovnané na pixle. +.IP "\fB\-b\fR \fI\s-1FARBA\s0\fR, \fB\-\-export\-background\fR=\fI\s-1FARBA\s0\fR" 8 +.IX Item "-b FARBA, --export-background=FARBA" +Farba pozadia exportovaného \s-1PNG\s0. +Toto môže byť akýkoľvek reťazec špecifikujúci farbu, ktorý \s-1SVG\s0 podporuje, napr. +„#ff007f“ alebo „rgb(255, 0, 128)“. +Ak nie je nastavená, použije sa farba nastavená v Inkscape v dialógu Možnosti dokumentu (uložená v atribúte pagecolor= v sodipodi:namedview). +.IP "\fB\-d\fR \fI\s-1DPI\s0\fR, \fB\-\-export\-dpi\fR=\fI\s-1DPI\s0\fR" 8 +.IX Item "-d DPI, --export-dpi=DPI" +Použité rozlíšenie na export \s-1PNG\s0. +Tiež sa používa pri rasterizácii filtrovaných objektov pri exporte do \s-1PS\s0, \s-1EPS\s0 a \s-1PDF\s0 (ak neuvediete +\&\-\-export\-ignore\-filters na potlačenie rasterizácie). +Štandardne 90, čo zodpovedá 1 používateľskej jednotke \s-1SVG\s0. +(px, tiež nazývaná „používateľská jednotka“) exportovanej na 1 pixel bitmapy. +Táto hodnota má precedenciu pred odporúčaným \s-1DPI\s0 pri použití s prepínačom \-\-export\-use\-hints. +.IP "\fB\-e\fR \fINÁZOVSÚBORU\fR, \fB\-\-export\-png\fR=\fINÁZOVSÚBORU\fR" 8 +.IX Item "-e NÁZOVSÚBORU, --export-png=NÁZOVSÚBORU" +Názov súboru pre export \s-1PNG\s0. +Ak už existuje, bude prepísaní bez pýtania sa. +.IP "\fB\-f\fR \fINÁZOVSÚBORU\fR, \fB\-\-file\fR=\fINÁZOVSÚBORU\fR" 8 +.IX Item "-f NÁZOVSÚBORU, --file=NÁZOVSÚBORU" +Otvorí zadané dokumenty. +Je možné vynechať reťazec voľby, t.j. môžete uviesť zoznam súborov bez \-f. +.IP "\fB\-g\fR, \fB\-\-with\-gui\fR" 8 +.IX Item "-g, --with-gui" +Pokúsiť sa použiť \s-1GUI\s0 (na unixových systémoch, použiť X server aj keď nie je nastavená premenná \f(CW$DISPLAY\fR). +.IP "\fB\-h\fR \fIVÝŠKA\fR, \fB\-\-export\-height\fR=\fIVÝŠKA\fR" 8 +.IX Item "-h VÝŠKA, --export-height=VÝŠKA" +Výška generovaných bitmáp v pixloch. Táto hodnota má precedenciu pred +nastavením \-\-export\-dpi (alebo odporúčaním \s-1DPI\s0 pri použití s prepínačom \-\-export\-use\-hints). +.IP "\fB\-i\fR \fI\s-1ID\s0\fR, \fB\-\-export\-id\fR=\fI\s-1ID\s0\fR" 8 +.IX Item "-i ID, --export-id=ID" +Pri exporte \s-1PNG\s0, \s-1PS\s0, \s-1EPS\s0 a \s-1PDF\s0 hodnota atribútu id objektu, ktorý chcete +exportovať z dokumentu. Žiadne iné objekty sa neexportujú. Štandardne sa +exportuje ohraničenie objektu. To môžete zmeniť použitím voľby +\&\-\-export\-area (iba pri \s-1PNG\s0) alebo \-\-export\-area\-canvas. +.IP "\fB\-j\fR, \fB\-\-export\-id\-only\fR" 8 +.IX Item "-j, --export-id-only" +Exportovať do \s-1PNG\s0 iba objekt s id zadaným v \-\-export\-id. Všetky ostatné objekty sa skryjú a +nezobrazia sa v exporte ani keď prekrývajú exportovaný objekt. Ak nie je uvedené \-\-export\-id, +táto voľba sa ignoruje. Pri exporte \s-1PDF\s0 je toto štandardná voľba, takže jej uvedenie nemá žiadny vplyv. +.IP "\fB\-l\fR, \fB\-\-export\-plain\-svg\fR=\fINÁZOVSÚBORU\fR" 8 +.IX Item "-l, --export-plain-svg=NÁZOVSÚBORU" +Exportovať dokumenty do formátu čisté \s-1SVG\s0, bez menných priestorov sodipodi: alebo inkscape: namespaces a bez metadát \s-1RDF\s0. +.IP "\fB\-x\fR, \fB\-\-extension\-directory\fR" 8 +.IX Item "-x, --extension-directory" +Vypíše aktuálny adresár rozšírení, ktorý bol nastavený pre Inkscape a potom +skončí. Využívajú to externé rozšírenia aby použili rovnakú konfiguráciu ako +pôvodná inštalácia Inkscape. +.IP "\fB\-\-verb\-list\fR" 8 +.IX Item "--verb-list" +Vypíše všetky slovesá dostupné v Inkscape podľa \s-1ID\s0. Tieto \s-1ID\s0 možno použiť +pri definovaní klávesových máp alebo menu. Tiež ich možno použiť na +príkazovom riadku s voľbou \-\-verb. +.IP "\fB\-\-verb\fR=\fIVERB\-ID\fR, \fB\-\-select\fR=\fIOBJECT\-ID\fR" 8 +.IX Item "--verb=VERB-ID, --select=OBJECT-ID" +Tieto dve voľby spolu poskytujú základné možnosti skriptovania v Inkscape +z príkazového riadka. Obe sa môžu na príkazovom riadku vyskytovať +ľubovoľný počet krát a vykonajú sa v tomto poradí na každom určenom +dokumente. +.Sp +Príkaz \-\-verb vykoná uvedené sloveso ako keby bolo zavolané z menu alebo +klávesovou skratkou. Dialógy sa objavia ak sú súčasťou slovesa. Ak chcete +vypísať zoznam dostupných \s-1ID\s0, použite voľby príkazového riadka +\&\-\-verb\-list. +.Sp +Príkaz \-\-select spôsobí výber objektov s uvedeným \s-1ID\s0. +To umožňuje vykonávanie slovies na nich. +Ak chcete zrušiť všetky výbery, použite \-\-verb=EditDeselect. \s-1ID\s0 objektov +sú dostupné v závislosti na dokumente, ktorý sa má načítať. +.IP "\fB\-p\fR \fITLAČIAREŇ\fR, \fB\-\-print\fR=\fITLAČIAREŇ\fR" 8 +.IX Item "-p TLAČIAREŇ, --print=TLAČIAREŇ" +Vytlačí dokumenty na určenej tlačiarni pomocou „lpr \-P TLAČIAREŇ“. +Ak chcete výstup poslať rúrou inému príkazu, môžete použiť „| PRÍKAZ“ +alebo „> NÁZOVSÚBORU“ ak chcete namiesto tlačenia zapísať výstup v PostScripte do súboru. +Pamätajte na to, že musíte použiť vhodné úvodzovky pre váš shell, napr. +.Sp +inkscape \-\-print='| ps2pdf \- mydoc.pdf' mydoc.svg +.IP "\fB\-t\fR, \fB\-\-export\-use\-hints\fR" 8 +.IX Item "-t, --export-use-hints" +Použiť názov exportovaného súboru a atribút \s-1DPI\s0 uložené v exportovanom objekte (iba s voľbou \-\-export\-id). +Tieto údaje sa nastavujú automaticky keď exportujete výber z grafického rozhrania Inkscape. +Takže napr. ak exportujete útvar s id=\*(L"path231\*(R" ako /home/me/shape.png pri 300 dpi z dokument.svg z grafického rozhrania Inkscape a uložíte dokument, neskôr budete môcť exportovať útvar +do rovnakého súboru s rovnakým rozlíšením jednoducho spustením +.Sp +inkscape \-i path231 \-t document.svg +.Sp +Ak spolu s touto voľbou použijete \-\-export\-dpi, \-\-export\-width alebo \-\-export\-height +bude sa atribút \s-1DPI\s0 ignorovať a použije sa hodnota zadaná na príkazovom riadku. +Ak spolu s touto voľbou použijete \-\-export\-png, +bude sa atribút názvov súboru ignorovať a použije sa hodnota zadaná na príkazovom riadku. +.IP "\fB\-w\fR \fIŠÍRKA\fR, \fB\-\-export\-width\fR=\fIŠÍRKA\fR" 8 +.IX Item "-w ŠÍRKA, --export-width=ŠÍRKA" +Výška generovaných bitmáp v pixeloch. Táto hodnota má precedenciu pred nastavením \-\-export\-dpi +(alebo odporúčaním \s-1DPI\s0 pri použití s prepínačom \-\-export\-use\-hints). +.IP "\fB\-y\fR \fI\s-1HODNOTA\s0\fR, \fB\-\-export\-background\-opacity\fR=\fI\s-1HODNOTA\s0\fR" 8 +.IX Item "-y HODNOTA, --export-background-opacity=HODNOTA" +Krytie pozadia exportovaných súborov \s-1PNG\s0. +Toto môže byť hodnota buď medzi 0.0 a 1.0 (kde 0.0 znamená celkom priehľadné a 1.0 plné krytie) +alebo väčšia ako 1 do 255 (kde 255 znamená plné krytie). +Ak nie je hodnota nastavená a nepoužije sa voľba \-b, +použije sa krytie stránky nastavené v Inkscape v dialógu Vlastnosti dokumentu (uložené v atribúte inkscape:pageopacity= sodipodi:namedview). +Ak nie je hodnota nastavená a použije sa voľba \-b +použije sa hodnota 255 (plné krytie). +.IP "\fB\-P\fR \fINÁZOVSÚBORU\fR, \fB\-\-export\-ps\fR=\fINÁZOVSÚBORU\fR" 8 +.IX Item "-P NÁZOVSÚBORU, --export-ps=NÁZOVSÚBORU" +Exportovať dokumenty do formátu PostScript. Pamätajte, že PostScript nepodporuje priesvitnosť, takže akékoľvek priesvitné objekty v pôvodnom \s-1SVG\s0 sa automaticky rasterizujú. Priložia sa použité písma alebo podmnožina použitých znakov. Štandardná oblasť exportu je plátno a môžete ju nastaviť na kresbu pomocou \-\-export\-area\-drawing. +Ak chcete exportovať jediný objekt, môžete použiť \-\-export\-id (všetky ostatné sa skryjú); v tom prípade +bude oblasťou exportu ohraničenie uvedeného objektu, ale možno ho nastaviť na plátno voľbou \-\-export\-area\-canvas. +.IP "\fB\-E\fR \fINÁZOVSÚBORU\fR, \fB\-\-export\-eps\fR=\fINÁZOVSÚBORU\fR" 8 +.IX Item "-E NÁZOVSÚBORU, --export-eps=NÁZOVSÚBORU" +Exportovať dokumenty do formátu Encapsulated PostScript. Pamätajte, že PostScript nepodporuje priesvitnosť, takže akékoľvek priesvitné objekty v pôvodnom \s-1SVG\s0 sa automaticky rasterizujú. Priložia sa použité písma alebo podmnožina použitých znakov. Štandardná oblasť exportu je kresba a môžete ju však nastaviť na plátno, pozrite si však obmedzenia v popise voľby \-\-export\-area\-drawing. Ak chcete exportovať jediný objekt, môžete použiť \-\-export\-id (všetky ostatné sa skryjú). +.IP "\fB\-A\fR \fINÁZOVSÚBORU\fR, \fB\-\-export\-pdf\fR=\fINÁZOVSÚBORU\fR" 8 +.IX Item "-A NÁZOVSÚBORU, --export-pdf=NÁZOVSÚBORU" +Exportovať dokumenty do formátu \s-1PDF\s0 format. Tento formát zachováva priesvitnosť z pôvodného \s-1SVG\s0. +Priložia sa použité písma alebo podmnožina použitých znakov. +Štandardná oblasť exportu je plátno a môžete ju nastaviť na kresbu pomocou \-\-export\-area\-drawing. +Ak chcete exportovať jediný objekt, môžete použiť \-\-export\-id (všetky ostatné sa skryjú); v tom prípade +bude oblasťou exportu ohraničenie uvedeného objektu, ale možno ho nastaviť na plátno voľbou \-\-export\-area\-canvas. +.IP "\fB\-T\fR, \fB\-\-export\-text\-to\-path\fR" 8 +.IX Item "-T, --export-text-to-path" +Konvertovať pri exporte textové objekty na cesty kde sa dá (pri exporte \s-1PS\s0, \s-1EPS\s0 a \s-1PDF\s0). +.IP "\fB\-\-export\-ignore\-filters\fR" 8 +.IX Item "--export-ignore-filters" +Exportovať objekty s filtrami (napr. s rozostrením) ako vektorovú grafiku a ignorovať filtre (pri exporte \s-1PS\s0, \s-1EPS\s0 a \s-1PDF\s0). +Štandardne sa všetky objekty s filtrami rasterizujú s rozlíšením \-\-export\-dpi (štandardne 90 dpi) čím sa zachová ich vzhľad. +.IP "\fB\-I\fR, \fB\-\-query\-id\fR" 8 +.IX Item "-I, --query-id" +Nastaviť \s-1ID\s0 objektu, ktoré rozmery zisťujeme. Ak nie je nastavené, voľby požiadavky +vrátia rozmer kresby (t.j. všetkých objektov dokumentu), nie stránky či zobrazenia. +.IP "\fB\-X\fR, \fB\-\-query\-x\fR" 8 +.IX Item "-X, --query-x" +Zistiť súradnicu X kresby alebo, ak je určený, objektu s \-\-query\-id. Vrátená hodnota je v px (používateľské jednotky \s-1SVG\s0). +.IP "\fB\-Y\fR, \fB\-\-query\-y\fR" 8 +.IX Item "-Y, --query-y" +Zistiť súradnicu Y kresby alebo, ak je určený, objektu s \-\-query\-id. Vrátená hodnota je v px (používateľské jednotky \s-1SVG\s0). +.IP "\fB\-W\fR, \fB\-\-query\-width\fR" 8 +.IX Item "-W, --query-width" +Zistiť šírku kresby alebo, ak je určený, objektu s \-\-query\-id. Vrátená hodnota je v px (používateľské jednotky \s-1SVG\s0). +.IP "\fB\-H\fR, \fB\-\-query\-height\fR" 8 +.IX Item "-H, --query-height" +Zistiť výšku kresby alebo, ak je určený, objektu s \-\-query\-id. Vrátená hodnota je v px (používateľské jednotky \s-1SVG\s0). +.IP "\fB\-S\fR, \fB\-\-query\-all\fR" 8 +.IX Item "-S, --query-all" +Vypíše zoznam všetkých objektov v dokumente \s-1SVG\s0 s definovaným id spolu s ich +súradnicou x,y, šírkou a výškou vo formáte s hodnotami oddelenom čiarkami. +.IP "\fB\-\-shell\fR" 8 +.IX Item "--shell" +Ak je zadaný tento parameter, Inkscape vstúpi do interaktívneho režimu príkazového riadka. +V tomto režime píšete príkazy na príkazovom riadku a Inkscape ich vykonáva bez toho aby +ste museli pri každom príkaze spúšťať novú inštanciu Inkscape. Táto vlastnosť je +najužitočnejšia v skriptoch a pri použití na serveri: nepridáva nové schopnosti, ale umožňuje +vám zlepšovať nároky na rýchlosť a pamäť akéhokoľvek skriptu, ktorý opakovane volá Inkscape +aby vykonal úlohy z príkazového riadka (ako export alebo konverzie). Každý príkaz v režime shellu +musí byť úplný platný príkaz Inkscape ale bez názvu programu Inkscape, napr. +„subor.svg \-\-export\-pdf=subor.pdf“. +.IP "\fB\-\-vacuum\-defs\fR" 8 +.IX Item "--vacuum-defs" +Odstráni všetky nepoužité položky zo sekcie defs \s-1SVG\s0 súboru. Ak túto voľbu +zadáte spolu s \-\-export\-plain\-svg, bude mať vplyv iba na exportovaný súbor. +Ak ju použijete samostatne, zmení sa existujúci súbor. +.IP "\fB\-z\fR, \fB\-\-without\-gui\fR" 8 +.IX Item "-z, --without-gui" +Neotvírať grafické rozhranie (na unixových systémoch nepoužívať X server), iba spracovať súbory z konzoly. +Táto voľba sa predpokladá pri voľbách \-p, \-e, \-l a \-\-vacuum\-defs. +.IP "\fB\-\-g\-fatal\-warnings\fR" 8 +.IX Item "--g-fatal-warnings" +Táto štandardná voľba \s-1GTK\s0 vynucuje, že akékoľvek upozornenia, ktoré sú zvyčajne +neškodné, spôsobia ukončenie Inkscape (čo je užitočné pri ladení). +.IP "\fB\-\-usage\fR" 8 +.IX Item "--usage" +Zobrazí stručnú správu o tom ako používať Inkscape. +.SH "KONFIGURÁCIA" +.IX Header "KONFIGURÁCIA" +Hlavný konfiguračný súboor je ~/.config/Inkscape/preferences.xml. Ukladá rozličné +nastavenia, ktoré môžete zmeniť v Inkscape (prevažne v dialógu Nastavenia Inkscape). +Do podadresárov tohto adresára tiež môžete umiestniť vlastné: +.PP +\&\fB\f(CB$HOME\fB\fR/.config/Inkscape/extensions/ \- rozširujúce efekty. +.PP +\&\fB\f(CB$HOME\fB\fR/.config/Inkscape/icons/ \- ikony. +.PP +\&\fB\f(CB$HOME\fB\fR/.config/Inkscape/keys/ \- mapy kláves. +.PP +\&\fB\f(CB$HOME\fB\fR/.config/Inkscape/templates/ \- šablóny nových súborov. +.SH "DIAGNOSTIKA" +.IX Header "DIAGNOSTIKA" +Program vráti nulovú hodnotu pri úspešnom a nenulovú pri neúspešnom ukončení. +.PP +Na štandardný chybový výstup alebo štandardný výstup môže vypísať rozličné chybové +hlásenia alebo upozornenia. Ak sa program správa chybne alebo havaruje v súvislosti +s konkrétnym \s-1SVG\s0 súborom, prehliadnutie tohto výstupu pomôže zistiť dôvod zlyhania. +.SH "PRÍKLADY" +.IX Header "PRÍKLADY" +Hoci je \fBInkscape\fR zjavne v prvom rade aplikácia s grafickým používateľským +rozhraním, tiež ho možno použiť na spracovanie \s-1SVG\s0 z príkazového riadka. +.PP +Otvorenie \s-1SVG\s0 súboru v grafickom rozhraní: +.PP +.Vb 1 +\& inkscape subor.svg +.Ve +.PP +Vytlačenie \s-1SVG\s0 súboru z príkazového riadka: +.PP +.Vb 1 +\& inkscape subor.svg \-p \*(Aq| lpr\*(Aq +.Ve +.PP +Export \s-1SVG\s0 súboru do \s-1PNG\s0 v predvolenom rozlíšení 90 dpi (jedna používateľská jednotka \s-1SVG\s0 zodpovedá jednému pixlu bitmapy): +.PP +.Vb 1 +\& inkscape subor.svg \-\-export\-png=subor.png +.Ve +.PP +To isté, ale veľkosť súboru \s-1PNG\s0 je vynútená na 600x400 pixlov: +.PP +.Vb 1 +\& inkscape subor.svg \-\-export\-png=subor.png \-w600 \-h400 +.Ve +.PP +To isté, ale exportuje kresbu (ohraničenie všetkých objektov), nie stránku: +.PP +.Vb 1 +\& inkscape subor.svg \-\-export\-png=subor.png \-\-export\-area\-drawing +.Ve +.PP +Exportuje do \s-1PNG\s0 objekt s id=\*(L"text1555\*(R" s použitím názvu súboru a rozlíšenia, +ktoré boli použité pri poslednom exporte objektu z grafického rozhrania: +.PP +.Vb 1 +\& inkscape subor.svg \-\-export\-id=text1555 \-\-export\-use\-hints +.Ve +.PP +To isté, ale použiť rozlíšenie 90 dpi, určiť názov súboru a prichytiť +exportovanú oblasť smerom von k najbližšej celej hodnte používateľskej jednotky +\&\s-1SVG\s0 (aby sa zachovalo zarovnanie objektov na pixle a tak minimalizoval aliasing): +.PP +.Vb 1 +\& inkscape subor.svg \-\-export\-id=text1555 \-\-export\-png=text.png \-\-export\-area\-snap +.Ve +.PP +Previesť Inkscape \s-1SVG\s0 na čistý \s-1SVG\s0 dokument: +.PP +.Vb 1 +\& inkscape subor1.svg \-\-export\-plain\-svg=subor2.svg +.Ve +.PP +Previesť \s-1SVG\s0 dokument na \s-1EPS\s0, pričom prevedie všetky texty na cesty: +.PP +.Vb 1 +\& inkscape subor.svg \-\-export\-eps=subor.eps \-\-export\-text\-to\-path +.Ve +.PP +Zistiť šírku objektu s id=\*(L"text1555\*(R": +.PP +.Vb 1 +\& inkscape subor.svg \-\-query\-width \-\-query\-id text1555 +.Ve +.PP +Duplikovať objekt s id=\*(L"path1555\*(R", otočiť duplikát o 90 stupňov, uložiť \s-1SVG\s0 a skončiť: +.PP +.Vb 1 +\& inkscape subor.svg \-\-select=path1555 \-\-verb=EditDuplicate \-\-verb=ObjectRotate90 \-\-verb=FileSave \-\-verb=FileClose +.Ve +.SH "PROSTREDIE" +.IX Header "PROSTREDIE" +\&\fB\s-1DISPLAY\s0\fR zistenie predvoleného hostiteľa a čísla displeja. +.PP +\&\fB\s-1TMPDIR\s0\fR nastavenie predvoleného adresára pre dočasné súbory. +Adresár musí existovať. +.SH "TÉMY" +.IX Header "TÉMY" +Ak chcete načítať odlišnú sadu ikon ako predvolený súbor +\&\fB\f(CB$PREFIX\fB\fR/share/inkscape/icons/icons.svg, použije sa adresár +\&\fB\f(CB$HOME\fB\fR/.inkscape/icons/. Ikony sa načítavajú podľa názvu +(napr. \fIfill_none.svg\fR) alebo ak nie sú nájdené z \fIicons.svg\fR. +Ak sa ikona nenačíta ani z jedného z týchto miest, použije sa +predvolené umiestnenie systému. +.PP +Potrebné ikony sa načítavajú zo \s-1SVG\s0 súborov hľadaním \s-1SVG\s0 id so +zodpovedajúcim názvom ikony. (Napr. pri načítaní ikony „fill_none“ zo súboru +sa ako ikona vykreslí ohraničenie „fill_none“, či už pochádza zo +súboru \fIfill_none.svg\fR alebo \fIicons.svg\fR.) +.SH "ĎALŠIE INFORMÁCIE" +.IX Header "ĎALŠIE INFORMÁCIE" +Umiestnenie kanonickej dokumentácie k \fBInkscape\fR je na +http://www.inkscape.org/. Webová stránka obsahuje novinky, +dokumentáciu, návody, príklady, archívy konferencií, poslednú +vydanú verziu programu, databázy chýb a žiadostí o nové funkcie, +fóra a ďalšie. +.SH "POZRI AJ" +.IX Header "POZRI AJ" +potrace, cairo, \fIrsvg\fR\|(1), batik, ghostscript, pstoedit. +.PP +Testovací balík konformnosti so štandardom \s-1SVG:\s0 http://www.w3.org/Graphics/SVG/Test/ +.PP +Nástroj na testovanie platnosti \s-1SVG:\s0 http://jiggles.w3.org/svgvalidator/ +.PP +\&\fIScalable Vector Graphics (\s-1SVG\s0) 1.1 Specification\fR +\&\fIW3C Recommendation 14 January 2003\fR + +.PP +\&\fIScalable Vector Graphics (\s-1SVG\s0) 1.2 Specification\fR +\&\fIW3C Working Draft 13 November 2003\fR + +.PP +\&\fI\s-1SVG\s0 1.1/1.2/2.0 Requirements\fR +\&\fIW3C Working Draft 22 April 2002\fR + +.PP +\&\fIDocument Object Model (\s-1DOM\s0): Level 2 Core\fR +\&\fIArnaud Le Hors et al editors, W3C\fR +http://www.w3.org/TR/DOM\-Level\-2\-Core/ +.SH "POZNÁMKY KU GRAFICKÉMU ROZHRANIU" +.IX Header "POZNÁMKY KU GRAFICKÉMU ROZHRANIU" +Ak sa chcete naučiť pracovať s grafickým rozhraním Inkscape Pomocník > Návody. +.PP +Okrem \s-1SVG\s0 dokáže Inkscape importovať (Súbor > Importovať) väčšinu bitmapových formátov +(\s-1PNG\s0, \s-1BMP\s0, \s-1JPG\s0, \s-1XPM\s0, \s-1GIF\s0 atď.), čistý text (vyžaduje Perl), \s-1PS\s0 a \s-1EPS\s0 (vyžaduje Ghostscript), +formáty \s-1PDF\s0 a \s-1AI\s0 (\s-1AI\s0 verzie 9.0 alebo novšia). +.PP +Inkscape exportuje 32\-bitové \s-1PNG\s0 obrázky (Súbor > Exportovať) a tiež \s-1AI\s0, \s-1PS\s0, \s-1EPS\s0, \s-1PDF\s0, \s-1DXF\s0, +a niekoľko ďalších formátov pomocou Súbor > Uložiť ako. +.PP +Inkscape dokáže cyužiť informáciu o tlaku a sklone grafického tabletu na +nastavenie šírky, uhla a sily niektorých nástrojov vrátane kaligrafického pera. +.PP +Inkscape obsahuje grafické rozhranie k jadru na vektorizáciu bitmáp Potrace +(http://potrace.sf.net), ktoré je súčasťou Inkscape. +.PP +Inkscape dokáže využívať externé skripty (filtre štandardného vstupu/výstupu), ktoré predstavujú +príkazy v menu Efekty. Skript môže mať grafický dialóg na nastavenie parametrov a dokáže +zistiť \s-1ID\s0 vybraných objektov na ktoré sa bude aplikovať prostredníctvom príkazového riadka. +Inkscape obsahuje sadu efektov napísaných v jazyku Python. +.SH "KLÁVESOVÉ VÄZBY" +.IX Header "KLÁVESOVÉ VÄZBY" +Úplný zoznam skratiek klávesnice a myši nájdete v súbore doc/keys.html alebo pomocou príkazu Použitie klávesnice a myši v menu Pomocník. +.SH "CHYBY" +.IX Header "CHYBY" +Je známych množstvo chýb. Existujúce chyby kontrolujte a nové hláste na +webstránke inkscape.org. Tiež si prečítajte sekciu Známe problémy v Poznámkach +k vydaniu vašej verzie (súbor „NEWS“). +.SH "AUTORI" +.IX Header "AUTORI" +Kód vďačí za svoju existenciu množstvu prispievateľov do jeho +rozličných foriem. Nasledovný zoznam je určite neúplný, ale slúži +na uznanie mnohých ramien, na ktorých táto aplikácia stojí: +.PP +Maximilian Albert, +Josh Andler, +Tavmjong Bah, +Pierre Barbry-Blot, +Jean-François Barraud, +Bill Baxter, +John Beard, +John Bintz, +Arpad Biro, +Nicholas Bishop, +Joshua L. Blocher, +Henrik Bohre, +Boldewyn, +Daniel Borgmann, +Bastien Bouclet, +Gustav Broberg, +Christopher Brown, +Hans Breuer, +Marcus Brubaker, +Luca Bruno, +Nicu Buculei, +Bulia Byak, +Pierre Caclin, +Ian Caldwell, +Gail Carmichael, +Ed Catmur, +Chema Celorio, +Johan Ceuppens, +Zbigniew Chyla, +Alexander Clausen, +John Cliff, +Kees Cook, +Ben Cromwell, +Robert Crosbie, +Jon Cruz, +Aurélie De-Cooman, +Milosz Derezynski, +Daniel Díaz, +Bruno Dilly, +Larry Doolittle, +Tim Dwyer, +Maxim V. Dziumanenko, +Johan Engelen, +Miklos Erdelyi, +Ulf Erikson, +Noé Falzon, +Frank Felfe, +Andrew Fitzsimon, +Edward Flick, +Marcin Floryan, +Fred, +Ben Fowler, +Cedric Gemy, +Steren Giannini, +Olivier Gondouin, +Ted Gould, +Toine de Greef, +Michael Grosberg, +Bryce Harrington, +Dale Harvey, +Aurélio Heckert, +Carl Hetherington, +Jos Hirth, +Hannes Hochreiner, +Thomas Holder, +Joel Holdsworth, +Alan Horkan, +Karl Ove Hufthammer, +Richard Hughes, +Nathan Hurst, +inductiveload, +Thomas Ingham, +Jean-Olivier Irisson, +Bob Jamison, +jEsuSdA, +Lauris Kaplinski, +Lynn Kerby, +Niko Kiirala, +James Kilfiger, +Jason Kivlighn, +Adrian Knoth, +Krzysztof Kosiński, +Petr Kovar, +Benoît Lavorata, +Alex Leone, +Julien Leray, +Raph Levien, +Diederik van Lierop, +Nicklas Lindgren, +Vitaly Lipatov, +Ivan Louette, +Pierre-Antoine Marc, +Aurel-Aimé Marmion, +Colin Marquardt, +Dmitry G. Mastrukov, +Matiphas, +Michael Meeks, +Federico Mena, +MenTaLguY, +Aubanel Monnier, +Vincent Montagne, +Tim Mooney, +Derek P. Moore, +Peter Moulder, +Jörg Müller, +Yukihiro Nakai, +Victor Navez, +Christian Neumair, +Andreas Nilsson, +Mitsuru Oka, +Marten Owens, +Alvin Penner, +Jon Phillips, +Zdenko Podobny, +Alexandre Prokoudine, +Jean-René Reinhard, +Alexey Remizov, +Frederic Rodrigo, +Hugo Rodrigues, +Juarez Rudsatz, +Xavier Conde Rueda, +Felipe Corrêa da Silva Sanches, +Aurélio A. Heckert, +Christian Schaller, +Marco Scholten, +Tom von Schwerdtner, +Shivaken, +Michael Sloan, +Danilo Šegan, +Boštjan Špetič, +Aaron Spike, +Kaushik Sridharan, +Ralf Stephan, +Dariusz Stojek, +Martin Sucha, +Pat Suwalski, +Adib Taraben, +Hugh Tebby, +Jonas Termeau, +David Turner, +Andre Twupack, +Aleksandar Urošević, +Lucas Vieites, +Michael Wybrow, +Daniel Yacob, +David Yip, +Masatake Yamato +.PP +Túto manuálovú stránku zostavil Bryce Harrington +. +.SH "HISTÓRIA" +.IX Header "HISTÓRIA" +Kód, ktorý sa neskôr stal kódom Inkscape začal svoj život v roku 1999 ako +program Gill, aplikácia \s-1GNOME\s0 Illustrator, ktorú vytvoril Raph Levien. +Cieľom, ktorý si Gill kládol bolo nakoniec podporovať kompletný štandard \s-1SVG\s0. +Raph implementoval bézierový PostScriptový obrazový model vrátane výplne +a ťahu, štýlov zakončenia a spojenia čiar, textu atď. +Raphhova stránka o Gill je http://www.levien.com/svg/. Práca na Gill +sa spomalila alebo zastavila v roku 2000. +.PP +Ďalším stelesnením kódu sa stal veľmi populárny program Sodipodi, ktorý +viedol Lauris Kaplinski. Kód sa zmenil na veľmi mocný ilustračný nástroj +počas niekoľkých rokov práce na ňom po pridaní niekoľkých nových vlasntostí, +podpory jazykov, portovania na Windows a iné operačné systémy a odstránení +závislostí. +.PP +Inkscape vytvorili v roku 2003 štyria aktívni vývojári Sodipodi \- Bryce +Harrington, MenTaLguY, Nathan Hurst a Ted Gould, ktorí chceli kód posunúť +novým smerom so zameraním na konformnosť s \s-1SVG\s0, vzľad a správanie rozhrania +a túžbou otvoriť príležitosť vývoja viacerým prispievateľom. Projekt +postupoval rýchlo a získal si množstvo veľmi aktívnych prispievateľov a +vlastností. +.PP +Mnoho práce v raných dňoch projektu sa zameriavalo na stabilizáciu kódu +a internacionalizáciu. Pôvodné vykresľovacie jadro zdedené zo Sodipodi +bolo spojené s mnohými matematickými hraničnými prípadmi, ktoré viedli +k neočakávaným haváriám pri použití programu na iné ako rutinné úlohy. +Toto vykresľovacie jadro nahradil Livarot, ktorý hoci tiež nie je dokonalý, +bol výrazne menej náchylný na chyby. Projekt tiež praktikoval časté +začleňovanie kódu a posmeľoval používateľov v používaní vývojových +verzií programu. To pomohlo s ranou identifikáciou chýb a zabezpečilo +jednoduchý spôsob ako používatelia mohli overiť funkčnosť opráv. +V dôsledku Inkscape si Inkscape zaslúžil všeobecnú reputáciu robustnosti +a spoľahlivosti. +.PP +Tiež sa rozvinuli snahy o internacionalizáciu a lokalizáciu rozhrania, +ktoré pomohli programu získať prispievateľov z celého sveta. +.PP +Inkscape mal prínosný vplyv na vizuálnu atraktivitu open source +vo všeobecnosti, pretože poskytol nástroj na tvorbu a zdieľanie ikon, +štartovacích obrazoviek, grafiky webových stránok atď. Istým spôsobom +okrem toho, že je to len „program na kreslenie“ hral Inkscape dôležitú +úlohu pri vylepšení vizuálnej stránky open source širokému publiku. +.SH "AUTORSKÉ PRÁVA A LICENCIA" +.IX Header "AUTORSKÉ PRÁVA A LICENCIA" +\&\fBCopyright (C)\fR 1999\[en]2008 Autori. +.PP +\&\fBInkscape\fR je slobodný softvér; môžete ho používať a šíriť za podmienok +licencie \s-1GPL\s0. === added file 'inkscape.sk.pod' --- inkscape.sk.pod 1970-01-01 00:00:00 +0000 +++ inkscape.sk.pod 2012-02-16 12:59:31 +0000 @@ -0,0 +1,567 @@ +=encoding UTF-8 + +=head1 NAME + +Inkscape - editor SVG (Scalable Vector Graphics). + +=head1 SYNOPSIS + +C + +voľby: + + -?, --help + --usage + -V, --version + + -f, --file=NÁZOVSÚBORU + + -e, --export-png=NÁZOVSÚBORU + -a, --export-area=x0:y0:x1:y1 + -C, --export-area-canvas + -D, --export-area-drawing + --export-area-snap + -i, --export-id=ID + -j, --export-id-only + -t, --export-use-hints + -b, --export-background=FARBA + -y, --export-background-opacity=HODNOTA + -d, --export-dpi=DPI + -w, --export-width=ŠÍRKA + -h, --export-height=VÝŠKA + + -P, --export-ps=NÁZOVSÚBORU + -E, --export-eps=NÁZOVSÚBORU + -A, --export-pdf=NÁZOVSÚBORU + + -T, --export-text-to-path + --export-bbox-page + + -l, --export-plain-svg=NÁZOVSÚBORU + + -p, --print=PRINTER + + -I, --query-id=ID + -X, --query-x + -Y, --query-y + -W, --query-width + -H, --query-height + -S, --query-all + + -x, --extension-directory + + --verb-list + --verb=VERB-ID + --select=OBJECT-ID + + --shell + + -g, --with-gui + -z, --without-gui + + --vacuum-defs + + --g-fatal-warnings + +=head1 OPIS + +B je editor súborov vektorovej grafiky vo formáte +B s grafickým rozhraním, ktorého +schopnosti sú podobné B, B, B, +atď. Medzi vlastnosti Inkscape patria všestranné tvary, bézierove krivky, +kreslenie voľbou rukou, viacriadkový text, text na ceste, alpha blending, +ľubovoľné afínne transformácie, farebné prechody a výplň vzorkou, +úprava uzlov, mnohé formáty na export a import vrátane PNG a PDF, +zoskupovanie, vrstvy, živé klony a veľa iného. Rozhranie je navrhnuté pre +komfortné a efektívne ovládanie pre skúseného používateľa, pričom dodržiava +štandardy B, takže používateľ oboznámený s inými aplikáciami GNOME +si môže ovládanie rozhrania rýchlo osvojiť. + +B je štandardný W3C XML formát pre dvojrozmernú vektorovú grafiku. +Umožňuje definíciu objektov kresby pomocou bodov, ciest a primitívnych +tvarov. Farby, písma, šírka ťahu atď sa pri týchto objektoch uvádzajú ako +atribúty „štýlu“. Zámer je taký, že keďže SVG je štandard a jeho súbory sú +text/xml, bude možné použiť SVG súbory vo veľkom počte programov v širokom +spektre aplikácií. + +B používa SVG ako svoj natívny formát dokumentu a jeho cieľom je +stať sa kresliacim programom plne konformným SVG súborom, dostupným open +source komunite. + + +=head1 VOĽBY + +=over 8 + +=item B<-?>, B<--help> + +Zobrazí správu s pomocou + +=item B<-V>, B<--version> + +Zobrazí verziu a dátum zostavenia Inkscape. + +=item B<-a> I, B<--export-area>=I + +Pri exporte PNG, nastaví exportovanú oblasť v používateľských jednotkách +SVG (anonymné jednotky dĺžky bežne používané v Inkscape SVG). Štandardne sa +exportuje celé kresliace plátno dokumentu. Bod (0,0) je spodný dolný roh. + +=item B<-C>, B<--export-area-canvas> + +Pri exporte NG, PDF, PS a EPS je exportovaná oblasť celé kresliace plátno dokumentu +(stránka). Toto je štandardné nastavenie pre PNG, PDF a PS, takže ju nemusíte uvádzať +ak nepoužívate --export-id na exportovanie konkrétneho objektu. Pri exporte EPS to +však nie je štandardné nastavenie. Naviac pri EPS neumožňuje špecifikácia formátu aby +bolo ohraničenie väčšie ako obsah dokumentu. To znamená, že ak pri exporte EPS použijete +--export-area-canvas, ohraničenie plátna sa oreže dnu na ohraničenie objektu ak je menšie. + +=item B<-D>, B<--export-area-drawing> + +Pri exporte PNG, PDF, PS a EPS je exportovaná oblasť celá kresba (nie plátno), t.j. ohraničenie +všetkých objektov dokumentu (alebo exportovaného objektu ak je použité --export-id). +S touto voľbou budú na exportovanom obrázku iba viditeľné objekty dokumentu bez +okrajov alebo orezania. Toto je štandardná exportná oblasť pre EPS. Pri PNG +je možné použiť túto voľbu v kombinácii s --export-use-hints. + +=item B<--export-area-snap> + +Pri exporte png prichytí oblasť exportu smerom von na najbližšiu celočíselnú používateľskú jednotku SVG (px). +Ak používate štandardné rozlíšenie na export 90 dpi a vaša grafika je zarovnaná na pixle aby sa minimalizoval +antialiasing, tento prepínač vám umožní zachovať toto zarovnanie aj ak exportujete ohraničenie nejakého +objektu (pmocou --export-id alebo --export-area-drawing), ktoré samotné nie je zarovnané na pixle. + +=item B<-b> I, B<--export-background>=I + +Farba pozadia exportovaného PNG. +Toto môže byť akýkoľvek reťazec špecifikujúci farbu, ktorý SVG podporuje, napr. +„#ff007f“ alebo „rgb(255, 0, 128)“. +Ak nie je nastavená, použije sa farba nastavená v Inkscape v dialógu Možnosti dokumentu (uložená v atribúte pagecolor= v sodipodi:namedview). + +=item B<-d> I, B<--export-dpi>=I + +Použité rozlíšenie na export PNG. +Tiež sa používa pri rasterizácii filtrovaných objektov pri exporte do PS, EPS a PDF (ak neuvediete +--export-ignore-filters na potlačenie rasterizácie). +Štandardne 90, čo zodpovedá 1 používateľskej jednotke SVG. +(px, tiež nazývaná „používateľská jednotka“) exportovanej na 1 pixel bitmapy. +Táto hodnota má precedenciu pred odporúčaným DPI pri použití s prepínačom --export-use-hints. + +=item B<-e> I, B<--export-png>=I + +Názov súboru pre export PNG. +Ak už existuje, bude prepísaní bez pýtania sa. + +=item B<-f> I, B<--file>=I + +Otvorí zadané dokumenty. +Je možné vynechať reťazec voľby, t.j. môžete uviesť zoznam súborov bez -f. + +=item B<-g>, B<--with-gui> + +Pokúsiť sa použiť GUI (na unixových systémoch, použiť X server aj keď nie je nastavená premenná $DISPLAY). + +=item B<-h> I, B<--export-height>=I + +Výška generovaných bitmáp v pixloch. Táto hodnota má precedenciu pred +nastavením --export-dpi (alebo odporúčaním DPI pri použití s prepínačom --export-use-hints). + +=item B<-i> I, B<--export-id>=I + +Pri exporte PNG, PS, EPS a PDF hodnota atribútu id objektu, ktorý chcete +exportovať z dokumentu. Žiadne iné objekty sa neexportujú. Štandardne sa +exportuje ohraničenie objektu. To môžete zmeniť použitím voľby +--export-area (iba pri PNG) alebo --export-area-canvas. + +=item B<-j>, B<--export-id-only> + +Exportovať do PNG iba objekt s id zadaným v --export-id. Všetky ostatné objekty sa skryjú a +nezobrazia sa v exporte ani keď prekrývajú exportovaný objekt. Ak nie je uvedené --export-id, +táto voľba sa ignoruje. Pri exporte PDF je toto štandardná voľba, takže jej uvedenie nemá žiadny vplyv. + +=item B<-l>, B<--export-plain-svg>=I + +Exportovať dokumenty do formátu čisté SVG, bez menných priestorov sodipodi: alebo inkscape: namespaces a bez metadát RDF. + +=item B<-x>, B<--extension-directory> + +Vypíše aktuálny adresár rozšírení, ktorý bol nastavený pre Inkscape a potom +skončí. Využívajú to externé rozšírenia aby použili rovnakú konfiguráciu ako +pôvodná inštalácia Inkscape. + +=item B<--verb-list> + +Vypíše všetky slovesá dostupné v Inkscape podľa ID. Tieto ID možno použiť +pri definovaní klávesových máp alebo menu. Tiež ich možno použiť na +príkazovom riadku s voľbou --verb. + +=item B<--verb>=I, B<--select>=I + +Tieto dve voľby spolu poskytujú základné možnosti skriptovania v Inkscape +z príkazového riadka. Obe sa môžu na príkazovom riadku vyskytovať +ľubovoľný počet krát a vykonajú sa v tomto poradí na každom určenom +dokumente. + +Príkaz --verb vykoná uvedené sloveso ako keby bolo zavolané z menu alebo +klávesovou skratkou. Dialógy sa objavia ak sú súčasťou slovesa. Ak chcete +vypísať zoznam dostupných ID, použite voľby príkazového riadka +--verb-list. + +Príkaz --select spôsobí výber objektov s uvedeným ID. +To umožňuje vykonávanie slovies na nich. +Ak chcete zrušiť všetky výbery, použite --verb=EditDeselect. ID objektov +sú dostupné v závislosti na dokumente, ktorý sa má načítať. + +=item B<-p> I, B<--print>=I + +Vytlačí dokumenty na určenej tlačiarni pomocou „lpr -P TLAČIAREŇ“. +Ak chcete výstup poslať rúrou inému príkazu, môžete použiť „| PRÍKAZ“ +alebo „> NÁZOVSÚBORU“ ak chcete namiesto tlačenia zapísať výstup v PostScripte do súboru. +Pamätajte na to, že musíte použiť vhodné úvodzovky pre váš shell, napr. + +inkscape --print='| ps2pdf - mydoc.pdf' mydoc.svg + +=item B<-t>, B<--export-use-hints> + +Použiť názov exportovaného súboru a atribút DPI uložené v exportovanom objekte (iba s voľbou --export-id). +Tieto údaje sa nastavujú automaticky keď exportujete výber z grafického rozhrania Inkscape. +Takže napr. ak exportujete útvar s id="path231" ako /home/me/shape.png pri 300 dpi z dokument.svg z grafického rozhrania Inkscape a uložíte dokument, neskôr budete môcť exportovať útvar +do rovnakého súboru s rovnakým rozlíšením jednoducho spustením + +inkscape -i path231 -t document.svg + +Ak spolu s touto voľbou použijete --export-dpi, --export-width alebo --export-height +bude sa atribút DPI ignorovať a použije sa hodnota zadaná na príkazovom riadku. +Ak spolu s touto voľbou použijete --export-png, +bude sa atribút názvov súboru ignorovať a použije sa hodnota zadaná na príkazovom riadku. + +=item B<-w> I<ŠÍRKA>, B<--export-width>=I<ŠÍRKA> + +Výška generovaných bitmáp v pixeloch. Táto hodnota má precedenciu pred nastavením --export-dpi +(alebo odporúčaním DPI pri použití s prepínačom --export-use-hints). + +=item B<-y> I, B<--export-background-opacity>=I + +Krytie pozadia exportovaných súborov PNG. +Toto môže byť hodnota buď medzi 0.0 a 1.0 (kde 0.0 znamená celkom priehľadné a 1.0 plné krytie) +alebo väčšia ako 1 do 255 (kde 255 znamená plné krytie). +Ak nie je hodnota nastavená a nepoužije sa voľba -b, +použije sa krytie stránky nastavené v Inkscape v dialógu Vlastnosti dokumentu (uložené v atribúte inkscape:pageopacity= sodipodi:namedview). +Ak nie je hodnota nastavená a použije sa voľba -b +použije sa hodnota 255 (plné krytie). + +=item B<-P> I, B<--export-ps>=I + +Exportovať dokumenty do formátu PostScript. Pamätajte, že PostScript nepodporuje priesvitnosť, takže akékoľvek priesvitné objekty v pôvodnom SVG sa automaticky rasterizujú. Priložia sa použité písma alebo podmnožina použitých znakov. Štandardná oblasť exportu je plátno a môžete ju nastaviť na kresbu pomocou --export-area-drawing. +Ak chcete exportovať jediný objekt, môžete použiť --export-id (všetky ostatné sa skryjú); v tom prípade +bude oblasťou exportu ohraničenie uvedeného objektu, ale možno ho nastaviť na plátno voľbou --export-area-canvas. + +=item B<-E> I, B<--export-eps>=I + +Exportovať dokumenty do formátu Encapsulated PostScript. Pamätajte, že PostScript nepodporuje priesvitnosť, takže akékoľvek priesvitné objekty v pôvodnom SVG sa automaticky rasterizujú. Priložia sa použité písma alebo podmnožina použitých znakov. Štandardná oblasť exportu je kresba a môžete ju však nastaviť na plátno, pozrite si však obmedzenia v popise voľby --export-area-drawing. Ak chcete exportovať jediný objekt, môžete použiť --export-id (všetky ostatné sa skryjú). + +=item B<-A> I, B<--export-pdf>=I + +Exportovať dokumenty do formátu PDF format. Tento formát zachováva priesvitnosť z pôvodného SVG. +Priložia sa použité písma alebo podmnožina použitých znakov. +Štandardná oblasť exportu je plátno a môžete ju nastaviť na kresbu pomocou --export-area-drawing. +Ak chcete exportovať jediný objekt, môžete použiť --export-id (všetky ostatné sa skryjú); v tom prípade +bude oblasťou exportu ohraničenie uvedeného objektu, ale možno ho nastaviť na plátno voľbou --export-area-canvas. + +=item B<-T>, B<--export-text-to-path> + +Konvertovať pri exporte textové objekty na cesty kde sa dá (pri exporte PS, EPS a PDF). + +=item B<--export-ignore-filters> + +Exportovať objekty s filtrami (napr. s rozostrením) ako vektorovú grafiku a ignorovať filtre (pri exporte PS, EPS a PDF). +Štandardne sa všetky objekty s filtrami rasterizujú s rozlíšením --export-dpi (štandardne 90 dpi) čím sa zachová ich vzhľad. + +=item B<-I>, B<--query-id> + +Nastaviť ID objektu, ktoré rozmery zisťujeme. Ak nie je nastavené, voľby požiadavky +vrátia rozmer kresby (t.j. všetkých objektov dokumentu), nie stránky či zobrazenia. + +=item B<-X>, B<--query-x> + +Zistiť súradnicu X kresby alebo, ak je určený, objektu s --query-id. Vrátená hodnota je v px (používateľské jednotky SVG). + +=item B<-Y>, B<--query-y> + +Zistiť súradnicu Y kresby alebo, ak je určený, objektu s --query-id. Vrátená hodnota je v px (používateľské jednotky SVG). + +=item B<-W>, B<--query-width> + +Zistiť šírku kresby alebo, ak je určený, objektu s --query-id. Vrátená hodnota je v px (používateľské jednotky SVG). + +=item B<-H>, B<--query-height> + +Zistiť výšku kresby alebo, ak je určený, objektu s --query-id. Vrátená hodnota je v px (používateľské jednotky SVG). + +=item B<-S>, B<--query-all> + +Vypíše zoznam všetkých objektov v dokumente SVG s definovaným id spolu s ich +súradnicou x,y, šírkou a výškou vo formáte s hodnotami oddelenom čiarkami. + +=item B<--shell> + +Ak je zadaný tento parameter, Inkscape vstúpi do interaktívneho režimu príkazového riadka. +V tomto režime píšete príkazy na príkazovom riadku a Inkscape ich vykonáva bez toho aby +ste museli pri každom príkaze spúšťať novú inštanciu Inkscape. Táto vlastnosť je +najužitočnejšia v skriptoch a pri použití na serveri: nepridáva nové schopnosti, ale umožňuje +vám zlepšovať nároky na rýchlosť a pamäť akéhokoľvek skriptu, ktorý opakovane volá Inkscape +aby vykonal úlohy z príkazového riadka (ako export alebo konverzie). Každý príkaz v režime shellu +musí byť úplný platný príkaz Inkscape ale bez názvu programu Inkscape, napr. +„subor.svg --export-pdf=subor.pdf“. + +=item B<--vacuum-defs> + +Odstráni všetky nepoužité položky zo sekcie defs SVG súboru. Ak túto voľbu +zadáte spolu s --export-plain-svg, bude mať vplyv iba na exportovaný súbor. +Ak ju použijete samostatne, zmení sa existujúci súbor. + +=item B<-z>, B<--without-gui> + +Neotvírať grafické rozhranie (na unixových systémoch nepoužívať X server), iba spracovať súbory z konzoly. +Táto voľba sa predpokladá pri voľbách -p, -e, -l a --vacuum-defs. + +=item B<--g-fatal-warnings> + +Táto štandardná voľba GTK vynucuje, že akékoľvek upozornenia, ktoré sú zvyčajne +neškodné, spôsobia ukončenie Inkscape (čo je užitočné pri ladení). + +=item B<--usage> + +Zobrazí stručnú správu o tom ako používať Inkscape. + +=back + +=head1 KONFIGURÁCIA + +Hlavný konfiguračný súboor je ~/.config/Inkscape/preferences.xml. Ukladá rozličné +nastavenia, ktoré môžete zmeniť v Inkscape (prevažne v dialógu Nastavenia Inkscape). +Do podadresárov tohto adresára tiež môžete umiestniť vlastné: + +B<$HOME>/.config/Inkscape/extensions/ - rozširujúce efekty. + +B<$HOME>/.config/Inkscape/icons/ - ikony. + +B<$HOME>/.config/Inkscape/keys/ - mapy kláves. + +B<$HOME>/.config/Inkscape/templates/ - šablóny nových súborov. + +=head1 DIAGNOSTIKA + +Program vráti nulovú hodnotu pri úspešnom a nenulovú pri neúspešnom ukončení. + +Na štandardný chybový výstup alebo štandardný výstup môže vypísať rozličné chybové +hlásenia alebo upozornenia. Ak sa program správa chybne alebo havaruje v súvislosti +s konkrétnym SVG súborom, prehliadnutie tohto výstupu pomôže zistiť dôvod zlyhania. + +=head1 PRÍKLADY + +Hoci je B zjavne v prvom rade aplikácia s grafickým používateľským +rozhraním, tiež ho možno použiť na spracovanie SVG z príkazového riadka. + +Otvorenie SVG súboru v grafickom rozhraní: + + inkscape subor.svg + +Vytlačenie SVG súboru z príkazového riadka: + + inkscape subor.svg -p '| lpr' + +Export SVG súboru do PNG v predvolenom rozlíšení 90 dpi (jedna používateľská jednotka SVG zodpovedá jednému pixlu bitmapy): + + inkscape subor.svg --export-png=subor.png + +To isté, ale veľkosť súboru PNG je vynútená na 600x400 pixlov: + + inkscape subor.svg --export-png=subor.png -w600 -h400 + +To isté, ale exportuje kresbu (ohraničenie všetkých objektov), nie stránku: + + inkscape subor.svg --export-png=subor.png --export-area-drawing + +Exportuje do PNG objekt s id="text1555" s použitím názvu súboru a rozlíšenia, +ktoré boli použité pri poslednom exporte objektu z grafického rozhrania: + + inkscape subor.svg --export-id=text1555 --export-use-hints + +To isté, ale použiť rozlíšenie 90 dpi, určiť názov súboru a prichytiť +exportovanú oblasť smerom von k najbližšej celej hodnte používateľskej jednotky +SVG (aby sa zachovalo zarovnanie objektov na pixle a tak minimalizoval aliasing): + + inkscape subor.svg --export-id=text1555 --export-png=text.png --export-area-snap + +Previesť Inkscape SVG na čistý SVG dokument: + + inkscape subor1.svg --export-plain-svg=subor2.svg + +Previesť SVG dokument na EPS, pričom prevedie všetky texty na cesty: + + inkscape subor.svg --export-eps=subor.eps --export-text-to-path + +Zistiť šírku objektu s id="text1555": + + inkscape subor.svg --query-width --query-id text1555 + +Duplikovať objekt s id="path1555", otočiť duplikát o 90 stupňov, uložiť SVG a skončiť: + + inkscape subor.svg --select=path1555 --verb=EditDuplicate --verb=ObjectRotate90 --verb=FileSave --verb=FileClose + + +=head1 PROSTREDIE + +B zistenie predvoleného hostiteľa a čísla displeja. + +B nastavenie predvoleného adresára pre dočasné súbory. +Adresár musí existovať. + +=head1 TÉMY + +Ak chcete načítať odlišnú sadu ikon ako predvolený súbor +B<$PREFIX>/share/inkscape/icons/icons.svg, použije sa adresár +B<$HOME>/.inkscape/icons/. Ikony sa načítavajú podľa názvu +(napr. I) alebo ak nie sú nájdené z I. +Ak sa ikona nenačíta ani z jedného z týchto miest, použije sa +predvolené umiestnenie systému. + +Potrebné ikony sa načítavajú zo SVG súborov hľadaním SVG id so +zodpovedajúcim názvom ikony. (Napr. pri načítaní ikony „fill_none“ zo súboru +sa ako ikona vykreslí ohraničenie „fill_none“, či už pochádza zo +súboru I alebo I.) + + + +=head1 ĎALŠIE INFORMÁCIE + +Umiestnenie kanonickej dokumentácie k B je na +http://www.inkscape.org/. Webová stránka obsahuje novinky, +dokumentáciu, návody, príklady, archívy konferencií, poslednú +vydanú verziu programu, databázy chýb a žiadostí o nové funkcie, +fóra a ďalšie. + +=head1 POZRI AJ + +potrace, cairo, rsvg(1), batik, ghostscript, pstoedit. + +Testovací balík konformnosti so štandardom SVG: http://www.w3.org/Graphics/SVG/Test/ + +Nástroj na testovanie platnosti SVG: http://jiggles.w3.org/svgvalidator/ + +I +I +L + +I +I +L + +I +I +L + +I +I +L + + +=head1 POZNÁMKY KU GRAFICKÉMU ROZHRANIU + +Ak sa chcete naučiť pracovať s grafickým rozhraním Inkscape Pomocník > Návody. + +Okrem SVG dokáže Inkscape importovať (Súbor > Importovať) väčšinu bitmapových formátov +(PNG, BMP, JPG, XPM, GIF atď.), čistý text (vyžaduje Perl), PS a EPS (vyžaduje Ghostscript), +formáty PDF a AI (AI verzie 9.0 alebo novšia). + +Inkscape exportuje 32-bitové PNG obrázky (Súbor > Exportovať) a tiež AI, PS, EPS, PDF, DXF, +a niekoľko ďalších formátov pomocou Súbor > Uložiť ako. + +Inkscape dokáže cyužiť informáciu o tlaku a sklone grafického tabletu na +nastavenie šírky, uhla a sily niektorých nástrojov vrátane kaligrafického pera. + +Inkscape obsahuje grafické rozhranie k jadru na vektorizáciu bitmáp Potrace +(http://potrace.sf.net), ktoré je súčasťou Inkscape. + +Inkscape dokáže využívať externé skripty (filtre štandardného vstupu/výstupu), ktoré predstavujú +príkazy v menu Efekty. Skript môže mať grafický dialóg na nastavenie parametrov a dokáže +zistiť ID vybraných objektov na ktoré sa bude aplikovať prostredníctvom príkazového riadka. +Inkscape obsahuje sadu efektov napísaných v jazyku Python. + +=head1 KLÁVESOVÉ VÄZBY + +Úplný zoznam skratiek klávesnice a myši nájdete v súbore doc/keys.html alebo pomocou príkazu Použitie klávesnice a myši v menu Pomocník. + +=head1 CHYBY + +Je známych množstvo chýb. Existujúce chyby kontrolujte a nové hláste na +webstránke inkscape.org. Tiež si prečítajte sekciu Známe problémy v Poznámkach +k vydaniu vašej verzie (súbor „NEWS“). + +=head1 AUTORI + +Kód vďačí za svoju existenciu množstvu prispievateľov do jeho +rozličných foriem. Nasledovný zoznam je určite neúplný, ale slúži +na uznanie mnohých ramien, na ktorých táto aplikácia stojí: + + +[% INCLUDE "AUTHORS" %] + +Túto manuálovú stránku zostavil Bryce Harrington +Ebrycehar@bryceharrington.comE. + +=head1 HISTÓRIA + +Kód, ktorý sa neskôr stal kódom Inkscape začal svoj život v roku 1999 ako +program Gill, aplikácia GNOME Illustrator, ktorú vytvoril Raph Levien. +Cieľom, ktorý si Gill kládol bolo nakoniec podporovať kompletný štandard SVG. +Raph implementoval bézierový PostScriptový obrazový model vrátane výplne +a ťahu, štýlov zakončenia a spojenia čiar, textu atď. +Raphhova stránka o Gill je http://www.levien.com/svg/. Práca na Gill +sa spomalila alebo zastavila v roku 2000. + +Ďalším stelesnením kódu sa stal veľmi populárny program Sodipodi, ktorý +viedol Lauris Kaplinski. Kód sa zmenil na veľmi mocný ilustračný nástroj +počas niekoľkých rokov práce na ňom po pridaní niekoľkých nových vlasntostí, +podpory jazykov, portovania na Windows a iné operačné systémy a odstránení +závislostí. + +Inkscape vytvorili v roku 2003 štyria aktívni vývojári Sodipodi - Bryce +Harrington, MenTaLguY, Nathan Hurst a Ted Gould, ktorí chceli kód posunúť +novým smerom so zameraním na konformnosť s SVG, vzľad a správanie rozhrania +a túžbou otvoriť príležitosť vývoja viacerým prispievateľom. Projekt +postupoval rýchlo a získal si množstvo veľmi aktívnych prispievateľov a +vlastností. + +Mnoho práce v raných dňoch projektu sa zameriavalo na stabilizáciu kódu +a internacionalizáciu. Pôvodné vykresľovacie jadro zdedené zo Sodipodi +bolo spojené s mnohými matematickými hraničnými prípadmi, ktoré viedli +k neočakávaným haváriám pri použití programu na iné ako rutinné úlohy. +Toto vykresľovacie jadro nahradil Livarot, ktorý hoci tiež nie je dokonalý, +bol výrazne menej náchylný na chyby. Projekt tiež praktikoval časté +začleňovanie kódu a posmeľoval používateľov v používaní vývojových +verzií programu. To pomohlo s ranou identifikáciou chýb a zabezpečilo +jednoduchý spôsob ako používatelia mohli overiť funkčnosť opráv. +V dôsledku Inkscape si Inkscape zaslúžil všeobecnú reputáciu robustnosti +a spoľahlivosti. + +Tiež sa rozvinuli snahy o internacionalizáciu a lokalizáciu rozhrania, +ktoré pomohli programu získať prispievateľov z celého sveta. + +Inkscape mal prínosný vplyv na vizuálnu atraktivitu open source +vo všeobecnosti, pretože poskytol nástroj na tvorbu a zdieľanie ikon, +štartovacích obrazoviek, grafiky webových stránok atď. Istým spôsobom +okrem toho, že je to len „program na kreslenie“ hral Inkscape dôležitú +úlohu pri vylepšení vizuálnej stránky open source širokému publiku. + +=head1 AUTORSKÉ PRÁVA A LICENCIA + +B 1999-2008 Autori. + +B je slobodný softvér; môžete ho používať a šíriť za podmienok +licencie GPL. + + +=for comment +$Date: 2009-04-30 23:09:18 +0200 (Thu, 30 Apr 2009) $ === modified file 'inkscape.spec' --- inkscape.spec 2011-07-10 11:35:30 +0000 +++ inkscape.spec 2012-02-16 12:59:31 +0000 @@ -7,7 +7,7 @@ Name: inkscape Summary: A Vector Drawing Application -Version: 0.48.2 +Version: 0.48.3 # Use release "0" so that distro-released versions will override ours. Release: 0 License: GPL === added file 'inkscape.zh_TW.1' --- inkscape.zh_TW.1 1970-01-01 00:00:00 +0000 +++ inkscape.zh_TW.1 2012-02-16 12:59:31 +0000 @@ -0,0 +1,663 @@ +.\" Automatically generated by Pod::Man 2.25 (Pod::Simple 3.16) +.\" +.\" Standard preamble: +.\" ======================================================================== +.de Sp \" Vertical space (when we can't use .PP) +.if t .sp .5v +.if n .sp +.. +.de Vb \" Begin verbatim text +.ft CW +.nf +.ne \\$1 +.. +.de Ve \" End verbatim text +.ft R +.fi +.. +.\" Set up some character translations and predefined strings. \*(-- will +.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left +.\" double quote, and \*(R" will give a right double quote. \*(C+ will +.\" give a nicer C++. Capital omega is used to do unbreakable dashes and +.\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, +.\" nothing in troff, for use with C<>. +.tr \(*W- +.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' +.ie n \{\ +. ds -- \(*W- +. ds PI pi +. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch +. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch +. ds L" "" +. ds R" "" +. ds C` "" +. ds C' "" +'br\} +.el\{\ +. ds -- \|\(em\| +. ds PI \(*p +. ds L" `` +. ds R" '' +'br\} +.\" +.\" Escape single quotes in literal strings from groff's Unicode transform. +.ie \n(.g .ds Aq \(aq +.el .ds Aq ' +.\" +.\" If the F register is turned on, we'll generate index entries on stderr for +.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index +.\" entries marked with X<> in POD. Of course, you'll have to process the +.\" output yourself in some meaningful fashion. +.ie \nF \{\ +. de IX +. tm Index:\\$1\t\\n%\t"\\$2" +.. +. nr % 0 +. rr F +.\} +.el \{\ +. de IX +.. +.\} +.\" ======================================================================== +.\" +.IX Title "INKSCAPE.ZH_TW 1" +.TH INKSCAPE 1 "" "Inkscape\-0.48.2" "Inkscape" +.\" For nroff, turn off justification. Always turn off hyphenation; it makes +.\" way too many mistakes in technical documents. +.if n .ad l +.nh +.SH "名稱" +.IX Header "名稱" +Inkscape \- \s-1SVG\s0 (Scalable Vector Graphics) 編輯程式。 +.SH "概要" +.IX Header "概要" +\&\f(CW\*(C`inkscape [選項] [檔名 ...]\*(C'\fR +.PP +選項: +.PP +.Vb 3 +\& \-?, \-\-help +\& \-\-usage +\& \-V, \-\-version +\& +\& \-f, \-\-file=檔名 +\& +\& \-e, \-\-export\-png=檔名 +\& \-a, \-\-export\-area=x0:y0:x1:y1 +\& \-C, \-\-export\-area\-canvas +\& \-D, \-\-export\-area\-drawing +\& \-\-export\-area\-snap +\& \-i, \-\-export\-id=ID +\& \-j, \-\-export\-id\-only +\& \-t, \-\-export\-use\-hints +\& \-b, \-\-export\-background=顏色 +\& \-y, \-\-export\-background\-opacity=數值 +\& \-d, \-\-export\-dpi=DPI +\& \-w, \-\-export\-width=寬度 +\& \-h, \-\-export\-height=高度 +\& +\& \-P, \-\-export\-ps=檔名 +\& \-E, \-\-export\-eps=檔名 +\& \-A, \-\-export\-pdf=檔名 +\& +\& \-T, \-\-export\-text\-to\-path +\& \-\-export\-ignore\-filters +\& +\& \-l, \-\-export\-plain\-svg=檔名 +\& +\& \-p, \-\-print=印表機 +\& +\& \-I, \-\-query\-id=ID +\& \-X, \-\-query\-x +\& \-Y, \-\-query\-y +\& \-W, \-\-query\-width +\& \-H, \-\-query\-height +\& \-S, \-\-query\-all +\& +\& \-x, \-\-extension\-directory +\& +\& \-\-verb\-list +\& \-\-verb=動詞\-ID +\& \-\-select=物件\-ID +\& +\& \-\-shell +\& +\& \-g, \-\-with\-gui +\& \-z, \-\-without\-gui +\& +\& \-\-vacuum\-defs +\& +\& \-\-g\-fatal\-warnings +.Ve +.SH "描述" +.IX Header "描述" +\&\fBInkscape\fR 是一款\fB可縮放式向量圖形 (\s-1SVG\s0)\fR 格式繪圖檔的圖形介面編輯程式,類似 \fBAdobe Illustrator\fR、 +\&\fBCorelDraw\fR、\fBXara Xtreme\fR 等。Inkscape 的特點包括多功能形狀、貝茲曲線、手繪、多行文字、文字置 +於路徑、透明混合處理、任意變形、漸層和圖樣填充節點編輯、支援多種匯出和匯入格式包含 \s-1PNG\s0 和 PDF、群組、圖 +層、即時仿製和其他許許多多的功能。使用介面讓設計者使用起來舒適且效率高,由於保持與 \fB\s-1GNOME\s0\fR 標準相容, +因此熟悉其他 \s-1GNOME\s0 應用程式的使用者能迅速地學習並掌握程式的使用介面。 +.PP +\&\fB\s-1SVG\s0\fR 是 W3C 針對 2D 向量繪圖制定的標準 \s-1XML\s0 格式。 \s-1SVG\s0 可於圖畫中使用點、路徑和基本形狀來定義物件。 +顏色、字型、邊框寬度...等等可作為「樣式」屬性指定給這些物件。由於 \s-1SVG\s0 的目標是成為標準格式,也因為 \s-1SVG\s0 +檔為純文字檔/xml,所以有相當多的程式可能使用 \s-1SVG\s0 檔並有多種用途。 +.PP +\&\fBInkscape\fR 使用 \s-1SVG\s0 作為內定文件格式,並且以成為在開放原碼社群中完整相容 \s-1SVG\s0 格式的繪圖程式為目標。 +.SH "選項" +.IX Header "選項" +.IP "\fB\-?\fR, \fB\-\-help\fR" 8 +.IX Item "-?, --help" +顯示說明訊息 +.IP "\fB\-V\fR, \fB\-\-version\fR" 8 +.IX Item "-V, --version" +顯示 Inkscape 版本和建立日期。 +.IP "\fB\-a\fR \fIx0:y0:x1:y1\fR, \fB\-\-export\-area\fR=\fIx0:y0:x1:y1\fR" 8 +.IX Item "-a x0:y0:x1:y1, --export-area=x0:y0:x1:y1" +匯出 \s-1PNG\s0 時,以 \s-1SVG\s0 使用者單位設定匯出範圍 (在 Inkscape \s-1SVG\s0 中一般用匿名長度單位)。 +預設是匯出整個文件畫布。原點 (0,0) 為左下角。 +.IP "\fB\-C\fR, \fB\-\-export\-area\-canvas\fR" 8 +.IX Item "-C, --export-area-canvas" +匯出 PNG、PDF、PS 和 \s-1EPS\s0 時,匯出範圍是畫布 (頁面)。這是匯出 PNG、PDF 和 \s-1PS\s0 的預設值,所以你不必指 +定這個,除非你使用 \-\-export\-id 來匯出指定的物件。匯出 \s-1EPS\s0 時,這就不是預設值;此外,對於 EPS,格式的 +規格不允許外框邊界超出內容範圍。這表示當 \-\-export\-area\-canvas 用於 \s-1EPS\s0 匯出時,如果內容的外框邊界較 +小則畫布的外框邊界會被向內裁剪成內容的外框邊界。 +.IP "\fB\-D\fR, \fB\-\-export\-area\-drawing\fR" 8 +.IX Item "-D, --export-area-drawing" +匯出 PNG、PDF、PS 和 \s-1EPS\s0 時,匯出範圍為繪畫部份 (不是畫布),即文件全部物件的外框邊界 (如果使用 \-\-export +\&\-id 則是匯出物件的外框邊界)。 使用這個選項,匯出的圖片會顯示文件中所有的可見物件,而不會有頁邊空白或裁剪。 +這是 \s-1EPS\s0 預設的匯出範圍。對於 PNG,這個可以和 \-\-export\-use\-hints 結合使用。 +.IP "\fB\-\-export\-area\-snap\fR" 8 +.IX Item "--export-area-snap" +匯出 \s-1PNG\s0 時,向外捉取匯出範圍為最接近的整數 \s-1SVG\s0 使用者單位 (px) 數值。如果你使用預設的匯出解析度 90 dpi +且你的圖形是像素捉取來最小化平滑,這項改變允許你維持這種校正方式,即使你正要匯出的物件的外框邊界 (使用 +\&\-\-export\-id 或 \-\-export\-area\-drawing) 是本身而不是像素校正。 +.IP "\fB\-b\fR \fI顏色\fR, \fB\-\-export\-background\fR=\fI顏色\fR" 8 +.IX Item "-b 顏色, --export-background=顏色" +匯出 \s-1PNG\s0 的背景顏色。 +可以是任何 \s-1SVG\s0 的顏色字串,例如 \*(L"#ff007f\*(R" 或 \*(L"rgb(255, 0, 128)\*(R"。 +如果沒有設定顏色,那麼就會使用在 Inkscape 文件選項對話窗所設定的頁面顏色 (儲存在 pagecolor= +sodipodi:namedview 的屬性)。 +.IP "\fB\-d\fR \fI\s-1DPI\s0\fR, \fB\-\-export\-dpi\fR=\fI\s-1DPI\s0\fR" 8 +.IX Item "-d DPI, --export-dpi=DPI" +匯出 \s-1PNG\s0 所使用的解析度。 +當匯出為 PS、EPS 或 \s-1PDF\s0 (除非你指定 \-\-export\-ignore\-filters 禁止點陣化) 時,也用於退回套用濾鏡 +物件的點陣化過程。預設值為 90 dpi,其對應成 1 \s-1SVG\s0 使用者單位 (px, 亦稱「使用者單位」) 匯出為 1 點 +陣圖像素。 +如果和 \-\-export\-use\-hints 一起使用,這個數值會覆蓋 \s-1DPI\s0 內定值。 +.IP "\fB\-e\fR \fI檔名\fR, \fB\-\-export\-png\fR=\fI檔名\fR" 8 +.IX Item "-e 檔名, --export-png=檔名" +指定匯出 \s-1PNG\s0 的檔名。 +如果指定的檔名已經存在,則不會詢問便覆蓋原有的檔案。 +.IP "\fB\-f\fR \fI檔名\fR, \fB\-\-file\fR=\fI檔名\fR" 8 +.IX Item "-f 檔名, --file=檔名" +開啟指定的文件。 +選項字串可以省略,即你可以不要輸入 \-f 只列出檔名。 +.IP "\fB\-g\fR, \fB\-\-with\-gui\fR" 8 +.IX Item "-g, --with-gui" +試著使用圖形介面 (在 Unix 系統,即使沒有設定 \f(CW$DISPLAY\fR 也會使用 X server)。 +.IP "\fB\-h\fR \fI高度\fR, \fB\-\-export\-height\fR=\fI高度\fR" 8 +.IX Item "-h 高度, --export-height=高度" +匯出點陣圖的高度,單位為像素。 +這個數值會覆蓋 \-\-export\-dpi 設定值 (如果和 \-\-export\-use\-hints 同時使用,會覆蓋 \s-1DPI\s0 內定值)。 +.IP "\fB\-i\fR \fI\s-1ID\s0\fR, \fB\-\-export\-id\fR=\fI\s-1ID\s0\fR" 8 +.IX Item "-i ID, --export-id=ID" +匯出 PNG、PS、EPS 和 \s-1PDF\s0 時, 你想要從文件中匯出的物件的 \s-1ID\s0 屬性值;其他剩下的物件都不會被匯出。預設 +情形下匯出的範圍是物件的外框邊界;你可用 \-\-export\-area (僅 \s-1PNG\s0) 或 \-\-export\-area\-canvas 覆蓋這 +個值。 +.IP "\fB\-j\fR, \fB\-\-export\-id\-only\fR" 8 +.IX Item "-j, --export-id-only" +只把在 \-\-export\-id 給定 \s-1ID\s0 的物件匯出成 PNG。其餘全部會被隱藏且不會顯示在匯出圖片中,即使這些物件和 +匯出的物件重疊。 +沒有 \-\-export\-id 會忽略這個選項。對匯出 \s-1PDF\s0 來說,這是預設值,所以這選項不會有任何效果。 +.IP "\fB\-l\fR, \fB\-\-export\-plain\-svg\fR=\fI檔名\fR" 8 +.IX Item "-l, --export-plain-svg=檔名" +匯出文件為普通的 \s-1SVG\s0 格式,沒有 sodipodi: 或 inkscape: 名稱集也沒有 \s-1RDF\s0 後設資料。 +.IP "\fB\-x\fR, \fB\-\-extension\-directory\fR" 8 +.IX Item "-x, --extension-directory" +列出 Inkscape 目前設定為使用且存在的擴充模組目錄。這選項用於外部擴充模組以使用相同設定作為原始的 Inkscape +安裝。 +.IP "\fB\-\-verb\-list\fR" 8 +.IX Item "--verb-list" +依照 \s-1ID\s0 列出在 Inkscape 中全部可用的動詞。這 \s-1ID\s0 可用在定義按鍵對應或選單中。也可以和 \-\-verb 命令 +列選項一起使用。 +.IP "\fB\-\-verb\fR=\fI動詞\-ID\fR, \fB\-\-select\fR=\fI物件\-ID\fR" 8 +.IX Item "--verb=動詞-ID, --select=物件-ID" +這兩個選項一起使用可由命令列上提供一些 Inkscape 的基本腳本。於命令列上要執行多少次都可以,而且可在每一 +個指定的文件上執行。 +.Sp +其 \-\-verb 指令會執行某個指定的動詞,就像從選單或按鈕上呼叫一樣。如果執行的是部份動詞便會跳出對話窗。 +使用 \-\-verb\-list 命令列選項可取得可用動詞 \s-1ID\s0 的清單。 +.Sp +而 \-\-select 指令會選取被指定 \s-1ID\s0 的物件。此選項允許對選取物件執行各種動詞。使用 \-\-verb=EditDeselect +可移除所有選取的項目。可用的物件 \s-1ID\s0 取決於文件指定載入哪些物件。 +.IP "\fB\-p\fR \fI印表機\fR, \fB\-\-print\fR=\fI印表機\fR" 8 +.IX Item "-p 印表機, --print=印表機" +用指定的印表機來列印文件,使用 `lpr \-P \s-1PRINTER\s0' 來指定印表機。 +用 `| 指令' 來指定一個不同的指令到管線中,或用 `> 檔名' 來寫入 PostScript 輸出到檔案而不是印表機。 +記得加上適當的引號,例如 +.Sp +inkscape \-\-print='| ps2pdf \- 我的文件.pdf' 我的文件.svg +.IP "\fB\-t\fR, \fB\-\-export\-use\-hints\fR" 8 +.IX Item "-t, --export-use-hints" +使用匯出檔名和儲存在匯出物件中的 \s-1DPI\s0 內定值 (只能和 \-\-export\-id 一起使用)。 +當你從 Inkscape 內部匯出選取範圍時會自動設定為這些內定值。 +例如,你用 Inkscape 圖形介面從 document.svg 裡將 id=\*(L"path231\*(R" 的形狀以 300 dpi 匯出成 +/home/me/shape.png ,並儲存文件,之後你便可簡單地用下面的指令以相同的解析度重新匯出相同的檔案 +.Sp +inkscape \-i path231 \-t 文件.svg +.Sp +如果你將這個選項和 \-\-export\-dpi、\-\-export\-width 或 \-\-export\-height 一起使用,那麼 \s-1DPI\s0 +內定值會被忽略並使用命令列上的數值。 +如果你將這個選項和 \-\-export\-png 一起使用,那麼檔名內定值會被忽略並使用命令列上的檔名。 +.IP "\fB\-w\fR \fI寬度\fR, \fB\-\-export\-width\fR=\fI寬度\fR" 8 +.IX Item "-w 寬度, --export-width=寬度" +匯出點陣圖的寬度,單位為像素。 +這個數值會覆蓋 \-\-export\-dpi 設定值 (如果和 \-\-export\-use\-hints 同時使用則會覆蓋 \s-1DPI\s0 內定值)。 +.IP "\fB\-y\fR \fI數值\fR, \fB\-\-export\-background\-opacity\fR=\fI數值\fR" 8 +.IX Item "-y 數值, --export-background-opacity=數值" +匯出 \s-1PNG\s0 背景的不透明度。 +這個數值可以是 0.0 到 1.0 之間的數值 (0.0 表示完全透明,1.0 表示完全不透明) 或者大於 1 到 255 +以內的數值 (255 代表完全不透明)。 +如果沒有設定數值且沒有使用 \-b 選項,那麼就會使用在 Inkscape 文件選項對話窗所設定的頁面不透明度 (儲存 +在 inkscape:pageopacity= sodipodi:namedview 的屬性)。 +如果沒有設定數值但有使用 \-b 選項,那麼會使用 255 (完全不透明)。 +.IP "\fB\-P\fR \fI檔名\fR, \fB\-\-export\-ps\fR=\fI檔名\fR" 8 +.IX Item "-P 檔名, --export-ps=檔名" +將文件匯出成 PostScript 格式。注意 PostScript 不支援透明,所以原本 \s-1SVG\s0 中的透明物件都會自動轉成點 +陣圖。使用的字型成子集合並嵌入。預設的匯出範圍是畫布;你可以用 \-\-export\-area\-drawing 將匯出範圍設定 +成繪圖部份。你可指定 \-\-export\-id 來匯出單一物件 (其餘全部隱藏); 假如那樣的話匯出範圍就是物件的外框邊 +界,但可用 \-\-export\-area\-canvas 設定成畫布。 +.IP "\fB\-E\fR \fI檔名\fR, \fB\-\-export\-eps\fR=\fI檔名\fR" 8 +.IX Item "-E 檔名, --export-eps=檔名" +將文件匯出成封裝的 PostScript 格式。注意 PostScript 不支援透明,所以原始 \s-1SVG\s0 中的透明物件都會自動轉成點 +陣圖。使用的字型成子集合並嵌入。預設的匯出範圍是繪圖部份;你可設定成畫布,不過會看見 \-\-export\-area\-canvas +的適用限制。你可以指定 \-\-export\-id 來匯出單一物件 (其餘全部隱藏)。 +.IP "\fB\-A\fR \fI檔名\fR, \fB\-\-export\-pdf\fR=\fI檔名\fR" 8 +.IX Item "-A 檔名, --export-pdf=檔名" +將文件匯出成 \s-1PDF\s0 格式。這種格式會保存原始 \s-1SVG\s0 中的透明度。使用的字型成子集合並嵌入。 預設的匯出範圍是畫 +布;你可以用 \-\-export\-area\-drawing 將匯出範圍設定成繪圖部份。你可以指定 \-\-export\-id 來匯出單一物 +件 (其餘全部隱藏); 假如那樣的話匯出範圍就是物件的外框邊界,但可用 \-\-export\-area\-canvas 設定成畫布。 +.IP "\fB\-T\fR, \fB\-\-export\-text\-to\-path\fR" 8 +.IX Item "-T, --export-text-to-path" +匯出時將文字物件轉換成路徑,匯出成 PS、EPS 和 \s-1PDF\s0 時適用。 +.IP "\fB\-\-export\-ignore\-filters\fR" 8 +.IX Item "--export-ignore-filters" +將套用濾鏡的物件 (例如這些物件套用模糊) 匯出成向量屬性,忽略濾鏡 (匯出 PS、EPS 和PDF 時)。 +在預設情況下,全部套用濾鏡的物件會以 \-\-export\-dpi (預設為 90 dpi) 的解析度轉成點陣圖以維持外觀。 +.IP "\fB\-I\fR, \fB\-\-query\-id\fR" 8 +.IX Item "-I, --query-id" +設定要查詢尺寸的物件 ID。如果沒有設定,查詢選項會回傳繪圖部份的尺寸 (即文件的全部物件),而不是頁面或 +檢視外框。 +.IP "\fB\-X\fR, \fB\-\-query\-x\fR" 8 +.IX Item "-X, --query-x" +查詢繪圖部份的 X 坐標或用 \-\-query\-id 所指定物件的 X 坐標。回傳值的單位是 px (\s-1SVG\s0 使用者單位)。 +.IP "\fB\-Y\fR, \fB\-\-query\-y\fR" 8 +.IX Item "-Y, --query-y" +查詢繪圖部份的 Y 坐標或用 \-\-query\-id 所指定物件的 Y 坐標。回傳值的單位是 px (\s-1SVG\s0 使用者單位)。 +.IP "\fB\-W\fR, \fB\-\-query\-width\fR" 8 +.IX Item "-W, --query-width" +查詢繪圖部份的寬度或用 \-\-query\-id 所指定物件的寬度。回傳值的單位是 px (\s-1SVG\s0 使用者單位)。 +.IP "\fB\-H\fR, \fB\-\-query\-height\fR" 8 +.IX Item "-H, --query-height" +查詢繪圖部份的高度或用 \-\-query\-id 所指定物件的高度。回傳值的單位是 px (\s-1SVG\s0 使用者單位)。 +.IP "\fB\-S\fR, \fB\-\-query\-all\fR" 8 +.IX Item "-S, --query-all" +列印一份 \s-1SVG\s0 文件中已定義 \s-1ID\s0 的所有物件以逗點區隔的清單,與 x、y、寬度和高度數值同樣。 +.IP "\fB\-\-shell\fR" 8 +.IX Item "--shell" +使用這個參數,Inkscape 會進入互動式命令列 shell 模式。在這種模式中,你在提示符上輸入指令然後 Inkscape +執行,而不必對每一道指令執行新的 Inkscape。這個功能對腳本和伺服器用途極為有用:它沒有加入任何新功能,但可 +讓任何多次呼叫 Inkscape 執行命令列任務 (比如匯出或轉換) 腳本的速度更快、需要更少的記憶體。 +在 shell 模式中的每一道指令必須是完全正確的 Inkscape 命令列但不含 Inkscape 程式名稱, +例如 \*(L"檔案.svg \-\-export\-pdf=檔案.pdf\*(R"。 +.IP "\fB\-\-vacuum\-defs\fR" 8 +.IX Item "--vacuum-defs" +從 \s-1SVG\s0 檔案的 defs 段落中移除所有未使用的項目。如果這個選項與 \-\-export\-plain\-svg 一起調用, +只有匯出的檔案會有作用。如果單獨使用會適當地修飾所指定的檔案。 +.IP "\fB\-z\fR, \fB\-\-without\-gui\fR" 8 +.IX Item "-z, --without-gui" +不要開啟圖形介面 (在 Unix 系統,不使用 X server);只從終端機處理檔案。 +這被假定為 \-p、\-e、\-l 和 \-\-vacuum\-defs 選項。 +.IP "\fB\-\-g\-fatal\-warnings\fR" 8 +.IX Item "--g-fatal-warnings" +這標準 \s-1GTK\s0 選項會強制出現任何警告時,使 Inkscape 中止 (對除錯很有用)。 +.IP "\fB\-\-usage\fR" 8 +.IX Item "--usage" +顯示簡單的使用訊息。 +.SH "組態設定" +.IX Header "組態設定" +主要的組態設定檔放在 ~/.config/Inkscape/preferences.xml; 組態設定檔儲存各種設定值,可在 Inkscape +中變更 (大部份在 Inkscape 偏好設定對話窗)。也可以在那裡的子目錄中放置你自己的組態設定檔: +.PP +\&\fB\f(CB$HOME\fB\fR/.config/Inkscape/extensions/ \- 擴充模組。 +.PP +\&\fB\f(CB$HOME\fB\fR/.config/Inkscape/icons/ \- 圖示。 +.PP +\&\fB\f(CB$HOME\fB\fR/.config/Inkscape/keys/ \- 鍵盤對應。 +.PP +\&\fB\f(CB$HOME\fB\fR/.config/Inkscape/templates/ \- 新增檔案的範本。 +.SH "診斷" +.IX Header "診斷" +程式執行成功時會回傳零或者執行失敗時回傳不為零的值。 +.PP +各種錯誤訊息和警告可列印到 \s-1STDERR\s0 或 STDOUT。如果程式怪異地產生一個特殊的 \s-1SVG\s0 檔案或不正常關閉,它是 +查看這次輸出的有用線索。 +.SH "範例" +.IX Header "範例" +雖然 \fBInkscape\fR 很明顯地主要是作為一款圖形介面的應用程式,但同樣能在命令列上處理 SVG。 +.PP +用圖形介面開啟一個 \s-1SVG\s0 檔案: +.PP +.Vb 1 +\& inkscape 檔名.svg +.Ve +.PP +從命令列上列印一個 \s-1SVG\s0 檔案: +.PP +.Vb 1 +\& inkscape 檔名.svg \-p \*(Aq| lpr\*(Aq +.Ve +.PP +將一個 \s-1SVG\s0 檔以預設的解析度 90dpi 匯出成 \s-1PNG\s0 (1 \s-1SVG\s0 使用者單位轉變成 1 點陣圖像素): +.PP +.Vb 1 +\& inkscape 檔名.svg \-\-export\-png=檔名.png +.Ve +.PP +相同,但強制 \s-1PNG\s0 檔案為 600x400 像素: +.PP +.Vb 1 +\& inkscape 檔名.svg \-\-export\-png=檔名.png \-w600 \-h400 +.Ve +.PP +相同,但匯出繪圖部份 (全部物件的外框邊界),不是頁面: +.PP +.Vb 1 +\& inkscape 檔名.svg \-\-export\-png=檔名.png \-\-export\-area\-drawing +.Ve +.PP +將 id=\*(L"text1555\*(R" 物件匯出成 PNG,當從圖形介面匯出時,使用輸出檔名和上次使用的解析度: +.PP +.Vb 1 +\& inkscape 檔名.svg \-\-export\-id=text1555 \-\-export\-use\-hints +.Ve +.PP +相同,但使用預設 90 dpi 解析度,指定檔名,並且向外捉取匯出範圍為最接近整個 \s-1SVG\s0 使用者單位的值 +(維持物件的像素校正,因此最小平滑化): +.PP +.Vb 1 +\& inkscape 檔名.svg \-\-export\-id=text1555 \-\-export\-png=文字.png \-\-export\-snap\-area +.Ve +.PP +將一個 Inkscape \s-1SVG\s0 文件轉換成普通的 SVG: +.PP +.Vb 1 +\& inkscape 檔名1.svg \-\-export\-plain\-svg=檔名2.svg +.Ve +.PP +將 \s-1SVG\s0 文件轉成 EPS,全部的文字轉換成路徑: +.PP +.Vb 1 +\& inkscape 檔名.svg \-\-export\-eps=檔名.eps \-\-export\-text\-to\-path +.Ve +.PP +查詢 id=\*(L"text1555\*(R" 物件的寬度: +.PP +.Vb 1 +\& inkscape 檔名.svg \-\-query\-width \-\-query\-id text1555 +.Ve +.PP +再製 id=\*(L"path1555\*(R" 的物件,將再製物件旋轉 90 度,儲存 \s-1SVG\s0 並離開: +.PP +.Vb 1 +\& inkscape 檔名.svg \-\-select=path1555 \-\-verb=EditDuplicate \-\-verb=ObjectRotate90 \-\-verb=FileSave \-\-verb=FileClose +.Ve +.SH "環境" +.IX Header "環境" +\&\fB\s-1DISPLAY\s0\fR 可取得預設主機和顯示編號。 +.PP +\&\fB\s-1TMPDIR\s0\fR 可設定暫存檔使用的預設目錄的路徑。目錄必須存在。 +.SH "主題" +.IX Header "主題" +可從目錄 \fB\f(CB$HOME\fB\fR/.inkscape/icons/ 載入不同的圖示組來替代預設的\fB\f(CB$PREFIX\fB\fR/share/inkscape/icons/icons.svg 檔案。 +圖示按照名稱載入 (例如 \fIfill_none.svg\fR),如果沒有找到符合名稱的圖示,那麼就會從 \fIicons.svg\fR 載入。 +如果圖示不從這些位置載入,就會退回使用預設的系統位置。 +.PP +藉由 \s-1SVG\s0 \s-1ID\s0 和比對圖示名稱從 \s-1SVG\s0 檔中搜尋並載入需要的圖示。(例如,要從一個檔案載入 \*(L"fill_none\*(R" 圖示, +外框邊界會尋找 \s-1SVG\s0 \s-1ID\s0 \*(L"fill_none\*(R" 將其作為圖示,不管是來自 \fIfill_none.svg\fR 或 \fIicons.svg\fR。) +.SH "其他資訊" +.IX Header "其他資訊" +搜尋 \fBInkscape\fR 資訊的最佳地點是在 http://www.inkscape.org/。 +網站上有新聞、說明文件、教學、範例、郵件論壇存檔、最新發佈的程式版本、程式錯誤和功能需求資料庫、論壇...等等。 +.SH "參見" +.IX Header "參見" +potrace, cairo, \fIrsvg\fR\|(1), batik, ghostscript, pstoedit. +.PP +\&\s-1SVG\s0 相容測試工具: http://www.w3.org/Graphics/SVG/Test/ +.PP +\&\s-1SVG\s0 驗證工具: http://jiggles.w3.org/svgvalidator/ +.PP +\&\fIScalable Vector Graphics (\s-1SVG\s0) 1.1 Specification\fR +\&\fIW3C Recommendation 14 January 2003\fR + +.PP +\&\fIScalable Vector Graphics (\s-1SVG\s0) 1.2 Specification\fR +\&\fIW3C Working Draft 13 November 2003\fR + +.PP +\&\fI\s-1SVG\s0 1.1/1.2/2.0 Requirements\fR +\&\fIW3C Working Draft 22 April 2002\fR + +.PP +\&\fIDocument Object Model (\s-1DOM\s0): Level 2 Core\fR +\&\fIArnaud Le Hors et al editors, W3C\fR +http://www.w3.org/TR/DOM\-Level\-2\-Core/ +.SH "GUI 重點" +.IX Header "GUI 重點" +閱讀在 說明 > 指導手冊 中的教學來學習 Inkscape 圖形介面的操作。 +.PP +除了 \s-1SVG\s0 外,Inkscape 可以匯入 (檔案 > 匯入) 多數的點陣圖格式 (PNG、BMP、JPG、XPM、GIF 等)、 +普通純文字檔 (需要 Perl)、PS 和 \s-1EPS\s0 (需要 Ghostscript)、PDF 和 \s-1AI\s0 格式 (\s-1AI\s0 版本 9.0 或更新)。 +.PP +Inkscape 可匯出 32\-位元 \s-1PNG\s0 圖片 (檔案 > 匯出),也可經由 檔案 > 另存 儲存成 AI、PS、EPS、PDF、 +\&\s-1DXF\s0 及一些其他格式。 +.PP +Inkscape 能用繪圖板畫筆的壓力及傾斜感應來變化寬度、角度和一些工具的作用力,包括美工筆。 +.PP +Inkscape 包含一個嵌入的 Potrace 點陣圖描繪引擎 (http://potrace.sf.net) 圖形介面前端。 +.PP +Inkscape 能使用外部腳本 (stdin-to-stdout 過濾器),腳本會以擴充功能選單上的命令方式呈現。腳本可以 +有設定各種參數的圖形介面對話窗,而且能透過命令列取得所選物件的 ID。Inkscape 提供各式各樣用 Python +寫成的特效模組。 +.SH "按鍵對應" +.IX Header "按鍵對應" +查看 doc/keys.html 以取得鍵盤和滑鼠快捷鍵的完整清單,或在說明選單中使用按鍵和滑鼠指令。 +.SH "程式錯誤" +.IX Header "程式錯誤" +已經知道許多程式錯誤;請到網站 (inkscape.org) 檢閱已回報的錯誤並回報新發現的問題。也請看看你使用版 +本的發佈說明中已知問題段落內容 (檔案「NEWS」)。 +.SH "作者" +.IX Header "作者" +這個程式碼庫的存在要歸功於各個時期的許多貢獻者。下列的名單當然不完整,但用來正式向齊心致力於這個程式的 +許多人致謝: +.PP +Maximilian Albert, +Josh Andler, +Tavmjong Bah, +Pierre Barbry-Blot, +Jean-François Barraud, +Bill Baxter, +John Beard, +John Bintz, +Arpad Biro, +Nicholas Bishop, +Joshua L. Blocher, +Henrik Bohre, +Boldewyn, +Daniel Borgmann, +Bastien Bouclet, +Gustav Broberg, +Christopher Brown, +Hans Breuer, +Marcus Brubaker, +Luca Bruno, +Nicu Buculei, +Bulia Byak, +Pierre Caclin, +Ian Caldwell, +Gail Carmichael, +Ed Catmur, +Chema Celorio, +Johan Ceuppens, +Zbigniew Chyla, +Alexander Clausen, +John Cliff, +Kees Cook, +Ben Cromwell, +Robert Crosbie, +Jon Cruz, +Aurélie De-Cooman, +Milosz Derezynski, +Daniel Díaz, +Bruno Dilly, +Larry Doolittle, +Tim Dwyer, +Maxim V. Dziumanenko, +Johan Engelen, +Miklos Erdelyi, +Ulf Erikson, +Noé Falzon, +Frank Felfe, +Andrew Fitzsimon, +Edward Flick, +Marcin Floryan, +Fred, +Ben Fowler, +Cedric Gemy, +Steren Giannini, +Olivier Gondouin, +Ted Gould, +Toine de Greef, +Michael Grosberg, +Bryce Harrington, +Dale Harvey, +Aurélio Heckert, +Carl Hetherington, +Jos Hirth, +Hannes Hochreiner, +Thomas Holder, +Joel Holdsworth, +Alan Horkan, +Karl Ove Hufthammer, +Richard Hughes, +Nathan Hurst, +inductiveload, +Thomas Ingham, +Jean-Olivier Irisson, +Bob Jamison, +jEsuSdA, +Lauris Kaplinski, +Lynn Kerby, +Niko Kiirala, +James Kilfiger, +Jason Kivlighn, +Adrian Knoth, +Krzysztof Kosiński, +Petr Kovar, +Benoît Lavorata, +Alex Leone, +Julien Leray, +Raph Levien, +Diederik van Lierop, +Nicklas Lindgren, +Vitaly Lipatov, +Ivan Louette, +Pierre-Antoine Marc, +Aurel-Aimé Marmion, +Colin Marquardt, +Dmitry G. Mastrukov, +Matiphas, +Michael Meeks, +Federico Mena, +MenTaLguY, +Aubanel Monnier, +Vincent Montagne, +Tim Mooney, +Derek P. Moore, +Peter Moulder, +Jörg Müller, +Yukihiro Nakai, +Victor Navez, +Christian Neumair, +Andreas Nilsson, +Mitsuru Oka, +Marten Owens, +Alvin Penner, +Jon Phillips, +Zdenko Podobny, +Alexandre Prokoudine, +Jean-René Reinhard, +Alexey Remizov, +Frederic Rodrigo, +Hugo Rodrigues, +Juarez Rudsatz, +Xavier Conde Rueda, +Felipe Corrêa da Silva Sanches, +Aurélio A. Heckert, +Christian Schaller, +Marco Scholten, +Tom von Schwerdtner, +Shivaken, +Michael Sloan, +Danilo Šegan, +Boštjan Špetič, +Aaron Spike, +Kaushik Sridharan, +Ralf Stephan, +Dariusz Stojek, +Martin Sucha, +Pat Suwalski, +Adib Taraben, +Hugh Tebby, +Jonas Termeau, +David Turner, +Andre Twupack, +Aleksandar Urošević, +Lucas Vieites, +Michael Wybrow, +Daniel Yacob, +David Yip, +Masatake Yamato +.PP +這份使用說明由 Bryce Harrington 彙集整合。 +.SH "歷史" +.IX Header "歷史" +後來變成 Inkscape 的程式碼庫始於 1999 年的程式 Gill (由 Raph Levien 建立的 \s-1GNOME\s0 繪圖程式)。 +Gill 的最終目標是支援全部的 SVG。Raph 實現了 PostScript 貝茲曲線成像模型,包括邊框和填充、線段 +端點樣式、線段接合樣式、文字...等等。Raph 的 Gill 網頁位於 http://www.levien.com/svg/。Gill +的開發工作在 2000 年時似乎已經變慢或停止。 +.PP +接下來這個程式碼庫化身為極受歡迎的程式 Sodipodi,由 Lauris Kaplinski 主導。經過數年的發展,這個 +程式碼庫已轉變為一個強大的繪圖程式,加入了一些新特性,支援多語言,移植到 Windows 和其他操作系統,並 +淘汰某些相依套件。 +.PP +於 2003 年時由四名活躍的 Sodipodi 開發人員 - Bryce Harrington、MenTaLguY、Nathan Hurst +和 Ted Gould 成立 Inkscape 計劃,想要以專注於 \s-1SVG\s0 相容、介面外觀風格和開放開發機會吸引更多參與 +者的觀點為程式碼庫帶來新的方向。此計劃進展迅速,獲得許多非常活躍的貢獻和功能。 +.PP +計劃早期的許多工作專注於程式碼的穩定和國際化。從 Sodipodi 繼承的原始圖形輸出引擎摻入許多數學角,因而 +導致當程式超出正常使用範圍時會意外地不正常關閉;用 Livarot 取代原本的圖形輸出引擎,雖然不夠完美,但 +程式錯誤明顯地減少。此計劃也有經常收養提交的程式碼的做法,並鼓勵使用者去試用程式的開發版本快照;這有助 +於迅速發現新的程式錯誤,並且保證使用者能輕易地校驗修復狀況。因此,Inkscape 發佈的版本已經普遍贏得了 +穩健可靠的聲譽。 +.PP +同樣的,努力走向國際化及介面本地化,這有助於此程式獲得世界各地的幫助與貢獻。 +.PP +大致上來說,Inkscape 已經在開放原碼的視覺魅力上產生正面的影響,作為用來製作和分享圖示、啟動畫面、網站 +設計等的工具。從某一點來看,「這只是一個繪圖程式」,但 Inkscape 已經扮演一個重要的角色,使開放原始碼 +帶給廣大愛好者更多的視覺饗宴。 +.SH "著作權和許可證" +.IX Header "著作權和許可證" +\&\fB著作權 (C)\fR 1999\[en]2008 作者所有。 +.PP +\&\fBInkscape\fR 是自由軟體;你可以在遵守 \s-1GPL\s0 許可證情形下重新發佈或修改它。 === added file 'inkscape.zh_TW.pod' --- inkscape.zh_TW.pod 1970-01-01 00:00:00 +0000 +++ inkscape.zh_TW.pod 2012-02-16 12:59:31 +0000 @@ -0,0 +1,492 @@ +=encoding UTF-8 + +=head1 名稱 + +Inkscape - SVG (Scalable Vector Graphics) 編輯程式。 + +=head1 概要 + +C + +選項: + + -?, --help + --usage + -V, --version + + -f, --file=檔名 + + -e, --export-png=檔名 + -a, --export-area=x0:y0:x1:y1 + -C, --export-area-canvas + -D, --export-area-drawing + --export-area-snap + -i, --export-id=ID + -j, --export-id-only + -t, --export-use-hints + -b, --export-background=顏色 + -y, --export-background-opacity=數值 + -d, --export-dpi=DPI + -w, --export-width=寬度 + -h, --export-height=高度 + + -P, --export-ps=檔名 + -E, --export-eps=檔名 + -A, --export-pdf=檔名 + + -T, --export-text-to-path + --export-ignore-filters + + -l, --export-plain-svg=檔名 + + -p, --print=印表機 + + -I, --query-id=ID + -X, --query-x + -Y, --query-y + -W, --query-width + -H, --query-height + -S, --query-all + + -x, --extension-directory + + --verb-list + --verb=動詞-ID + --select=物件-ID + + --shell + + -g, --with-gui + -z, --without-gui + + --vacuum-defs + + --g-fatal-warnings + +=head1 描述 + +B 是一款B<可縮放式向量圖形 (SVG)> 格式繪圖檔的圖形介面編輯程式,類似 B、 +B、B 等。Inkscape 的特點包括多功能形狀、貝茲曲線、手繪、多行文字、文字置 +於路徑、透明混合處理、任意變形、漸層和圖樣填充節點編輯、支援多種匯出和匯入格式包含 PNG 和 PDF、群組、圖 +層、即時仿製和其他許許多多的功能。使用介面讓設計者使用起來舒適且效率高,由於保持與 B 標準相容, +因此熟悉其他 GNOME 應用程式的使用者能迅速地學習並掌握程式的使用介面。 + +B 是 W3C 針對 2D 向量繪圖制定的標準 XML 格式。 SVG 可於圖畫中使用點、路徑和基本形狀來定義物件。 +顏色、字型、邊框寬度...等等可作為「樣式」屬性指定給這些物件。由於 SVG 的目標是成為標準格式,也因為 SVG +檔為純文字檔/xml,所以有相當多的程式可能使用 SVG 檔並有多種用途。 + +B 使用 SVG 作為內定文件格式,並且以成為在開放原碼社群中完整相容 SVG 格式的繪圖程式為目標。 + + +=head1 選項 + +=over 8 + +=item B<-?>, B<--help> + +顯示說明訊息 + +=item B<-V>, B<--version> + +顯示 Inkscape 版本和建立日期。 + +=item B<-a> I, B<--export-area>=I + +匯出 PNG 時,以 SVG 使用者單位設定匯出範圍 (在 Inkscape SVG 中一般用匿名長度單位)。 +預設是匯出整個文件畫布。原點 (0,0) 為左下角。 + +=item B<-C>, B<--export-area-canvas> + +匯出 PNG、PDF、PS 和 EPS 時,匯出範圍是畫布 (頁面)。這是匯出 PNG、PDF 和 PS 的預設值,所以你不必指 +定這個,除非你使用 --export-id 來匯出指定的物件。匯出 EPS 時,這就不是預設值;此外,對於 EPS,格式的 +規格不允許外框邊界超出內容範圍。這表示當 --export-area-canvas 用於 EPS 匯出時,如果內容的外框邊界較 +小則畫布的外框邊界會被向內裁剪成內容的外框邊界。 + +=item B<-D>, B<--export-area-drawing> + +匯出 PNG、PDF、PS 和 EPS 時,匯出範圍為繪畫部份 (不是畫布),即文件全部物件的外框邊界 (如果使用 --export +-id 則是匯出物件的外框邊界)。 使用這個選項,匯出的圖片會顯示文件中所有的可見物件,而不會有頁邊空白或裁剪。 +這是 EPS 預設的匯出範圍。對於 PNG,這個可以和 --export-use-hints 結合使用。 + +=item B<--export-area-snap> + +匯出 PNG 時,向外捉取匯出範圍為最接近的整數 SVG 使用者單位 (px) 數值。如果你使用預設的匯出解析度 90 dpi +且你的圖形是像素捉取來最小化平滑,這項改變允許你維持這種校正方式,即使你正要匯出的物件的外框邊界 (使用 +--export-id 或 --export-area-drawing) 是本身而不是像素校正。 + +=item B<-b> I<顏色>, B<--export-background>=I<顏色> + +匯出 PNG 的背景顏色。 +可以是任何 SVG 的顏色字串,例如 "#ff007f" 或 "rgb(255, 0, 128)"。 +如果沒有設定顏色,那麼就會使用在 Inkscape 文件選項對話窗所設定的頁面顏色 (儲存在 pagecolor= +sodipodi:namedview 的屬性)。 + +=item B<-d> I, B<--export-dpi>=I + +匯出 PNG 所使用的解析度。 +當匯出為 PS、EPS 或 PDF (除非你指定 --export-ignore-filters 禁止點陣化) 時,也用於退回套用濾鏡 +物件的點陣化過程。預設值為 90 dpi,其對應成 1 SVG 使用者單位 (px, 亦稱「使用者單位」) 匯出為 1 點 +陣圖像素。 +如果和 --export-use-hints 一起使用,這個數值會覆蓋 DPI 內定值。 + +=item B<-e> I<檔名>, B<--export-png>=I<檔名> + +指定匯出 PNG 的檔名。 +如果指定的檔名已經存在,則不會詢問便覆蓋原有的檔案。 + +=item B<-f> I<檔名>, B<--file>=I<檔名> + +開啟指定的文件。 +選項字串可以省略,即你可以不要輸入 -f 只列出檔名。 + +=item B<-g>, B<--with-gui> + +試著使用圖形介面 (在 Unix 系統,即使沒有設定 $DISPLAY 也會使用 X server)。 + +=item B<-h> I<高度>, B<--export-height>=I<高度> + +匯出點陣圖的高度,單位為像素。 +這個數值會覆蓋 --export-dpi 設定值 (如果和 --export-use-hints 同時使用,會覆蓋 DPI 內定值)。 + +=item B<-i> I, B<--export-id>=I + +匯出 PNG、PS、EPS 和 PDF 時, 你想要從文件中匯出的物件的 ID 屬性值;其他剩下的物件都不會被匯出。預設 +情形下匯出的範圍是物件的外框邊界;你可用 --export-area (僅 PNG) 或 --export-area-canvas 覆蓋這 +個值。 + +=item B<-j>, B<--export-id-only> + +只把在 --export-id 給定 ID 的物件匯出成 PNG。其餘全部會被隱藏且不會顯示在匯出圖片中,即使這些物件和 +匯出的物件重疊。 +沒有 --export-id 會忽略這個選項。對匯出 PDF 來說,這是預設值,所以這選項不會有任何效果。 + +=item B<-l>, B<--export-plain-svg>=I<檔名> + +匯出文件為普通的 SVG 格式,沒有 sodipodi: 或 inkscape: 名稱集也沒有 RDF 後設資料。 + +=item B<-x>, B<--extension-directory> + +列出 Inkscape 目前設定為使用且存在的擴充模組目錄。這選項用於外部擴充模組以使用相同設定作為原始的 Inkscape +安裝。 + +=item B<--verb-list> + +依照 ID 列出在 Inkscape 中全部可用的動詞。這 ID 可用在定義按鍵對應或選單中。也可以和 --verb 命令 +列選項一起使用。 + +=item B<--verb>=I<動詞-ID>, B<--select>=I<物件-ID> + +這兩個選項一起使用可由命令列上提供一些 Inkscape 的基本腳本。於命令列上要執行多少次都可以,而且可在每一 +個指定的文件上執行。 + +其 --verb 指令會執行某個指定的動詞,就像從選單或按鈕上呼叫一樣。如果執行的是部份動詞便會跳出對話窗。 +使用 --verb-list 命令列選項可取得可用動詞 ID 的清單。 + +而 --select 指令會選取被指定 ID 的物件。此選項允許對選取物件執行各種動詞。使用 --verb=EditDeselect +可移除所有選取的項目。可用的物件 ID 取決於文件指定載入哪些物件。 + +=item B<-p> I<印表機>, B<--print>=I<印表機> + +用指定的印表機來列印文件,使用 `lpr -P PRINTER' 來指定印表機。 +用 `| 指令' 來指定一個不同的指令到管線中,或用 `> 檔名' 來寫入 PostScript 輸出到檔案而不是印表機。 +記得加上適當的引號,例如 + +inkscape --print='| ps2pdf - 我的文件.pdf' 我的文件.svg + +=item B<-t>, B<--export-use-hints> + +使用匯出檔名和儲存在匯出物件中的 DPI 內定值 (只能和 --export-id 一起使用)。 +當你從 Inkscape 內部匯出選取範圍時會自動設定為這些內定值。 +例如,你用 Inkscape 圖形介面從 document.svg 裡將 id="path231" 的形狀以 300 dpi 匯出成 +/home/me/shape.png ,並儲存文件,之後你便可簡單地用下面的指令以相同的解析度重新匯出相同的檔案 + +inkscape -i path231 -t 文件.svg + +如果你將這個選項和 --export-dpi、--export-width 或 --export-height 一起使用,那麼 DPI +內定值會被忽略並使用命令列上的數值。 +如果你將這個選項和 --export-png 一起使用,那麼檔名內定值會被忽略並使用命令列上的檔名。 + +=item B<-w> I<寬度>, B<--export-width>=I<寬度> + +匯出點陣圖的寬度,單位為像素。 +這個數值會覆蓋 --export-dpi 設定值 (如果和 --export-use-hints 同時使用則會覆蓋 DPI 內定值)。 + +=item B<-y> I<數值>, B<--export-background-opacity>=I<數值> + +匯出 PNG 背景的不透明度。 +這個數值可以是 0.0 到 1.0 之間的數值 (0.0 表示完全透明,1.0 表示完全不透明) 或者大於 1 到 255 +以內的數值 (255 代表完全不透明)。 +如果沒有設定數值且沒有使用 -b 選項,那麼就會使用在 Inkscape 文件選項對話窗所設定的頁面不透明度 (儲存 +在 inkscape:pageopacity= sodipodi:namedview 的屬性)。 +如果沒有設定數值但有使用 -b 選項,那麼會使用 255 (完全不透明)。 + +=item B<-P> I<檔名>, B<--export-ps>=I<檔名> + +將文件匯出成 PostScript 格式。注意 PostScript 不支援透明,所以原本 SVG 中的透明物件都會自動轉成點 +陣圖。使用的字型成子集合並嵌入。預設的匯出範圍是畫布;你可以用 --export-area-drawing 將匯出範圍設定 +成繪圖部份。你可指定 --export-id 來匯出單一物件 (其餘全部隱藏); 假如那樣的話匯出範圍就是物件的外框邊 +界,但可用 --export-area-canvas 設定成畫布。 + +=item B<-E> I<檔名>, B<--export-eps>=I<檔名> + +將文件匯出成封裝的 PostScript 格式。注意 PostScript 不支援透明,所以原始 SVG 中的透明物件都會自動轉成點 +陣圖。使用的字型成子集合並嵌入。預設的匯出範圍是繪圖部份;你可設定成畫布,不過會看見 --export-area-canvas +的適用限制。你可以指定 --export-id 來匯出單一物件 (其餘全部隱藏)。 + +=item B<-A> I<檔名>, B<--export-pdf>=I<檔名> + +將文件匯出成 PDF 格式。這種格式會保存原始 SVG 中的透明度。使用的字型成子集合並嵌入。 預設的匯出範圍是畫 +布;你可以用 --export-area-drawing 將匯出範圍設定成繪圖部份。你可以指定 --export-id 來匯出單一物 +件 (其餘全部隱藏); 假如那樣的話匯出範圍就是物件的外框邊界,但可用 --export-area-canvas 設定成畫布。 + +=item B<-T>, B<--export-text-to-path> + +匯出時將文字物件轉換成路徑,匯出成 PS、EPS 和 PDF 時適用。 + +=item B<--export-ignore-filters> + +將套用濾鏡的物件 (例如這些物件套用模糊) 匯出成向量屬性,忽略濾鏡 (匯出 PS、EPS 和PDF 時)。 +在預設情況下,全部套用濾鏡的物件會以 --export-dpi (預設為 90 dpi) 的解析度轉成點陣圖以維持外觀。 + +=item B<-I>, B<--query-id> + +設定要查詢尺寸的物件 ID。如果沒有設定,查詢選項會回傳繪圖部份的尺寸 (即文件的全部物件),而不是頁面或 +檢視外框。 + +=item B<-X>, B<--query-x> + +查詢繪圖部份的 X 坐標或用 --query-id 所指定物件的 X 坐標。回傳值的單位是 px (SVG 使用者單位)。 + +=item B<-Y>, B<--query-y> + +查詢繪圖部份的 Y 坐標或用 --query-id 所指定物件的 Y 坐標。回傳值的單位是 px (SVG 使用者單位)。 + +=item B<-W>, B<--query-width> + +查詢繪圖部份的寬度或用 --query-id 所指定物件的寬度。回傳值的單位是 px (SVG 使用者單位)。 + +=item B<-H>, B<--query-height> + +查詢繪圖部份的高度或用 --query-id 所指定物件的高度。回傳值的單位是 px (SVG 使用者單位)。 + +=item B<-S>, B<--query-all> + +列印一份 SVG 文件中已定義 ID 的所有物件以逗點區隔的清單,與 x、y、寬度和高度數值同樣。 + +=item B<--shell> + +使用這個參數,Inkscape 會進入互動式命令列 shell 模式。在這種模式中,你在提示符上輸入指令然後 Inkscape +執行,而不必對每一道指令執行新的 Inkscape。這個功能對腳本和伺服器用途極為有用:它沒有加入任何新功能,但可 +讓任何多次呼叫 Inkscape 執行命令列任務 (比如匯出或轉換) 腳本的速度更快、需要更少的記憶體。 +在 shell 模式中的每一道指令必須是完全正確的 Inkscape 命令列但不含 Inkscape 程式名稱, +例如 "檔案.svg --export-pdf=檔案.pdf"。 + +=item B<--vacuum-defs> + +從 SVG 檔案的 defs 段落中移除所有未使用的項目。如果這個選項與 --export-plain-svg 一起調用, +只有匯出的檔案會有作用。如果單獨使用會適當地修飾所指定的檔案。 + +=item B<-z>, B<--without-gui> + +不要開啟圖形介面 (在 Unix 系統,不使用 X server);只從終端機處理檔案。 +這被假定為 -p、-e、-l 和 --vacuum-defs 選項。 + +=item B<--g-fatal-warnings> + +這標準 GTK 選項會強制出現任何警告時,使 Inkscape 中止 (對除錯很有用)。 + +=item B<--usage> + +顯示簡單的使用訊息。 + +=back + +=head1 組態設定 + +主要的組態設定檔放在 ~/.config/Inkscape/preferences.xml; 組態設定檔儲存各種設定值,可在 Inkscape +中變更 (大部份在 Inkscape 偏好設定對話窗)。也可以在那裡的子目錄中放置你自己的組態設定檔: + +B<$HOME>/.config/Inkscape/extensions/ - 擴充模組。 + +B<$HOME>/.config/Inkscape/icons/ - 圖示。 + +B<$HOME>/.config/Inkscape/keys/ - 鍵盤對應。 + +B<$HOME>/.config/Inkscape/templates/ - 新增檔案的範本。 + +=head1 診斷 + +程式執行成功時會回傳零或者執行失敗時回傳不為零的值。 + +各種錯誤訊息和警告可列印到 STDERR 或 STDOUT。如果程式怪異地產生一個特殊的 SVG 檔案或不正常關閉,它是 +查看這次輸出的有用線索。 + +=head1 範例 + +雖然 B 很明顯地主要是作為一款圖形介面的應用程式,但同樣能在命令列上處理 SVG。 + +用圖形介面開啟一個 SVG 檔案: + + inkscape 檔名.svg + +從命令列上列印一個 SVG 檔案: + + inkscape 檔名.svg -p '| lpr' + +將一個 SVG 檔以預設的解析度 90dpi 匯出成 PNG (1 SVG 使用者單位轉變成 1 點陣圖像素): + + inkscape 檔名.svg --export-png=檔名.png + +相同,但強制 PNG 檔案為 600x400 像素: + + inkscape 檔名.svg --export-png=檔名.png -w600 -h400 + +相同,但匯出繪圖部份 (全部物件的外框邊界),不是頁面: + + inkscape 檔名.svg --export-png=檔名.png --export-area-drawing + +將 id="text1555" 物件匯出成 PNG,當從圖形介面匯出時,使用輸出檔名和上次使用的解析度: + + inkscape 檔名.svg --export-id=text1555 --export-use-hints + +相同,但使用預設 90 dpi 解析度,指定檔名,並且向外捉取匯出範圍為最接近整個 SVG 使用者單位的值 +(維持物件的像素校正,因此最小平滑化): + + inkscape 檔名.svg --export-id=text1555 --export-png=文字.png --export-snap-area + +將一個 Inkscape SVG 文件轉換成普通的 SVG: + + inkscape 檔名1.svg --export-plain-svg=檔名2.svg + +將 SVG 文件轉成 EPS,全部的文字轉換成路徑: + + inkscape 檔名.svg --export-eps=檔名.eps --export-text-to-path + +查詢 id="text1555" 物件的寬度: + + inkscape 檔名.svg --query-width --query-id text1555 + +再製 id="path1555" 的物件,將再製物件旋轉 90 度,儲存 SVG 並離開: + + inkscape 檔名.svg --select=path1555 --verb=EditDuplicate --verb=ObjectRotate90 --verb=FileSave --verb=FileClose + + +=head1 環境 + +B 可取得預設主機和顯示編號。 + +B 可設定暫存檔使用的預設目錄的路徑。目錄必須存在。 + +=head1 主題 + +可從目錄 B<$HOME>/.inkscape/icons/ 載入不同的圖示組來替代預設的B<$PREFIX>/share/inkscape/icons/icons.svg 檔案。 +圖示按照名稱載入 (例如 I),如果沒有找到符合名稱的圖示,那麼就會從 I 載入。 +如果圖示不從這些位置載入,就會退回使用預設的系統位置。 + +藉由 SVG ID 和比對圖示名稱從 SVG 檔中搜尋並載入需要的圖示。(例如,要從一個檔案載入 "fill_none" 圖示, +外框邊界會尋找 SVG ID "fill_none" 將其作為圖示,不管是來自 I 或 I。) + + + +=head1 其他資訊 + +搜尋 B 資訊的最佳地點是在 http://www.inkscape.org/。 +網站上有新聞、說明文件、教學、範例、郵件論壇存檔、最新發佈的程式版本、程式錯誤和功能需求資料庫、論壇...等等。 + +=head1 參見 + +potrace, cairo, rsvg(1), batik, ghostscript, pstoedit. + +SVG 相容測試工具: http://www.w3.org/Graphics/SVG/Test/ + +SVG 驗證工具: http://jiggles.w3.org/svgvalidator/ + +I +I +L + +I +I +L + +I +I +L + +I +I +L + + +=head1 GUI 重點 + +閱讀在 說明 > 指導手冊 中的教學來學習 Inkscape 圖形介面的操作。 + +除了 SVG 外,Inkscape 可以匯入 (檔案 > 匯入) 多數的點陣圖格式 (PNG、BMP、JPG、XPM、GIF 等)、 +普通純文字檔 (需要 Perl)、PS 和 EPS (需要 Ghostscript)、PDF 和 AI 格式 (AI 版本 9.0 或更新)。 + +Inkscape 可匯出 32-位元 PNG 圖片 (檔案 > 匯出),也可經由 檔案 > 另存 儲存成 AI、PS、EPS、PDF、 +DXF 及一些其他格式。 + +Inkscape 能用繪圖板畫筆的壓力及傾斜感應來變化寬度、角度和一些工具的作用力,包括美工筆。 + +Inkscape 包含一個嵌入的 Potrace 點陣圖描繪引擎 (http://potrace.sf.net) 圖形介面前端。 + +Inkscape 能使用外部腳本 (stdin-to-stdout 過濾器),腳本會以擴充功能選單上的命令方式呈現。腳本可以 +有設定各種參數的圖形介面對話窗,而且能透過命令列取得所選物件的 ID。Inkscape 提供各式各樣用 Python +寫成的特效模組。 + +=head1 按鍵對應 + +查看 doc/keys.html 以取得鍵盤和滑鼠快捷鍵的完整清單,或在說明選單中使用按鍵和滑鼠指令。 + +=head1 程式錯誤 + +已經知道許多程式錯誤;請到網站 (inkscape.org) 檢閱已回報的錯誤並回報新發現的問題。也請看看你使用版 +本的發佈說明中已知問題段落內容 (檔案「NEWS」)。 + +=head1 作者 + +這個程式碼庫的存在要歸功於各個時期的許多貢獻者。下列的名單當然不完整,但用來正式向齊心致力於這個程式的 +許多人致謝: + +[% INCLUDE "AUTHORS" %] + +這份使用說明由 Bryce Harrington Ebrycehar@bryceharrington.comE 彙集整合。 + +=head1 歷史 + +後來變成 Inkscape 的程式碼庫始於 1999 年的程式 Gill (由 Raph Levien 建立的 GNOME 繪圖程式)。 +Gill 的最終目標是支援全部的 SVG。Raph 實現了 PostScript 貝茲曲線成像模型,包括邊框和填充、線段 +端點樣式、線段接合樣式、文字...等等。Raph 的 Gill 網頁位於 http://www.levien.com/svg/。Gill +的開發工作在 2000 年時似乎已經變慢或停止。 + +接下來這個程式碼庫化身為極受歡迎的程式 Sodipodi,由 Lauris Kaplinski 主導。經過數年的發展,這個 +程式碼庫已轉變為一個強大的繪圖程式,加入了一些新特性,支援多語言,移植到 Windows 和其他操作系統,並 +淘汰某些相依套件。 + +於 2003 年時由四名活躍的 Sodipodi 開發人員 - Bryce Harrington、MenTaLguY、Nathan Hurst +和 Ted Gould 成立 Inkscape 計劃,想要以專注於 SVG 相容、介面外觀風格和開放開發機會吸引更多參與 +者的觀點為程式碼庫帶來新的方向。此計劃進展迅速,獲得許多非常活躍的貢獻和功能。 + +計劃早期的許多工作專注於程式碼的穩定和國際化。從 Sodipodi 繼承的原始圖形輸出引擎摻入許多數學角,因而 +導致當程式超出正常使用範圍時會意外地不正常關閉;用 Livarot 取代原本的圖形輸出引擎,雖然不夠完美,但 +程式錯誤明顯地減少。此計劃也有經常收養提交的程式碼的做法,並鼓勵使用者去試用程式的開發版本快照;這有助 +於迅速發現新的程式錯誤,並且保證使用者能輕易地校驗修復狀況。因此,Inkscape 發佈的版本已經普遍贏得了 +穩健可靠的聲譽。 + +同樣的,努力走向國際化及介面本地化,這有助於此程式獲得世界各地的幫助與貢獻。 + +大致上來說,Inkscape 已經在開放原碼的視覺魅力上產生正面的影響,作為用來製作和分享圖示、啟動畫面、網站 +設計等的工具。從某一點來看,「這只是一個繪圖程式」,但 Inkscape 已經扮演一個重要的角色,使開放原始碼 +帶給廣大愛好者更多的視覺饗宴。 + +=head1 著作權和許可證 + +B<著作權 (C)> 1999-2008 作者所有。 + +B 是自由軟體;你可以在遵守 GPL 許可證情形下重新發佈或修改它。 + + +=for comment +$Date$ === modified file 'install-sh' --- install-sh 2009-12-23 15:38:43 +0000 +++ install-sh 2012-02-16 12:59:31 +0000 @@ -1,7 +1,7 @@ #!/bin/sh # install - install a program, script, or datafile -scriptversion=2009-04-28.21; # UTC +scriptversion=2011-01-19.21; # UTC # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the @@ -156,6 +156,10 @@ -s) stripcmd=$stripprog;; -t) dst_arg=$2 + # Protect names problematic for `test' and other utilities. + case $dst_arg in + -* | [=\(\)!]) dst_arg=./$dst_arg;; + esac shift;; -T) no_target_directory=true;; @@ -186,6 +190,10 @@ fi shift # arg dst_arg=$arg + # Protect names problematic for `test' and other utilities. + case $dst_arg in + -* | [=\(\)!]) dst_arg=./$dst_arg;; + esac done fi @@ -200,7 +208,11 @@ fi if test -z "$dir_arg"; then - trap '(exit $?); exit' 1 2 13 15 + do_exit='(exit $ret); exit $ret' + trap "ret=129; $do_exit" 1 + trap "ret=130; $do_exit" 2 + trap "ret=141; $do_exit" 13 + trap "ret=143; $do_exit" 15 # Set umask so as not to create temps with too-generous modes. # However, 'strip' requires both read and write access to temps. @@ -228,9 +240,9 @@ for src do - # Protect names starting with `-'. + # Protect names problematic for `test' and other utilities. case $src in - -*) src=./$src;; + -* | [=\(\)!]) src=./$src;; esac if test -n "$dir_arg"; then @@ -252,12 +264,7 @@ echo "$0: no destination specified." >&2 exit 1 fi - dst=$dst_arg - # Protect names starting with `-'. - case $dst in - -*) dst=./$dst;; - esac # If destination is a directory, append the input filename; won't work # if double slashes aren't ignored. @@ -385,7 +392,7 @@ case $dstdir in /*) prefix='/';; - -*) prefix='./';; + [-=\(\)!]*) prefix='./';; *) prefix='';; esac @@ -403,7 +410,7 @@ for d do - test -z "$d" && continue + test X"$d" = X && continue prefix=$prefix$d if test -d "$prefix"; then === modified file 'missing' --- missing 2009-12-23 15:38:43 +0000 +++ missing 2012-02-16 12:59:31 +0000 @@ -1,10 +1,10 @@ #! /bin/sh # Common stub for a few missing GNU programs while installing. -scriptversion=2009-04-28.21; # UTC +scriptversion=2012-01-06.13; # UTC # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006, -# 2008, 2009 Free Software Foundation, Inc. +# 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc. # Originally by Fran,cois Pinard , 1996. # This program is free software; you can redistribute it and/or modify @@ -84,7 +84,6 @@ help2man touch the output file lex create \`lex.yy.c', if possible, from existing .c makeinfo touch the output file - tar try tar, gnutar, gtar, then tar without non-portable flags yacc create \`y.tab.[ch]', if possible, from existing .[ch] Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and @@ -122,15 +121,6 @@ # Not GNU programs, they don't have --version. ;; - tar*) - if test -n "$run"; then - echo 1>&2 "ERROR: \`tar' requires --run" - exit 1 - elif test "x$2" = "x--version" || test "x$2" = "x--help"; then - exit 1 - fi - ;; - *) if test -z "$run" && ($1 --version) > /dev/null 2>&1; then # We have it, but it failed. @@ -226,7 +216,7 @@ \`Bison' from any GNU archive site." rm -f y.tab.c y.tab.h if test $# -ne 1; then - eval LASTARG="\${$#}" + eval LASTARG=\${$#} case $LASTARG in *.y) SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` @@ -256,7 +246,7 @@ \`Flex' from any GNU archive site." rm -f lex.yy.c if test $# -ne 1; then - eval LASTARG="\${$#}" + eval LASTARG=\${$#} case $LASTARG in *.l) SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` @@ -318,41 +308,6 @@ touch $file ;; - tar*) - shift - - # We have already tried tar in the generic part. - # Look for gnutar/gtar before invocation to avoid ugly error - # messages. - if (gnutar --version > /dev/null 2>&1); then - gnutar "$@" && exit 0 - fi - if (gtar --version > /dev/null 2>&1); then - gtar "$@" && exit 0 - fi - firstarg="$1" - if shift; then - case $firstarg in - *o*) - firstarg=`echo "$firstarg" | sed s/o//` - tar "$firstarg" "$@" && exit 0 - ;; - esac - case $firstarg in - *h*) - firstarg=`echo "$firstarg" | sed s/h//` - tar "$firstarg" "$@" && exit 0 - ;; - esac - fi - - echo 1>&2 "\ -WARNING: I can't seem to be able to run \`tar' with the given arguments. - You may want to install GNU tar or Free paxutils, or check the - command line arguments." - exit 1 - ;; - *) echo 1>&2 "\ WARNING: \`$1' is needed, and is $msg. === modified file 'mkinstalldirs' --- mkinstalldirs 2004-06-02 10:35:45 +0000 +++ mkinstalldirs 2012-02-16 12:59:31 +0000 @@ -1,21 +1,36 @@ #! /bin/sh # mkinstalldirs --- make directory hierarchy -# Author: Noah Friedman + +scriptversion=2009-04-28.21; # UTC + +# Original author: Noah Friedman # Created: 1993-05-16 -# Public domain +# Public domain. +# +# This file is maintained in Automake, please report +# bugs to or send patches to +# . +nl=' +' +IFS=" "" $nl" errstatus=0 -dirmode="" +dirmode= usage="\ -Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..." +Usage: mkinstalldirs [-h] [--help] [--version] [-m MODE] DIR ... + +Create each directory DIR (with mode MODE, if specified), including all +leading file name components. + +Report bugs to ." # process command line arguments while test $# -gt 0 ; do case $1 in -h | --help | --h*) # -h for help - echo "$usage" 1>&2 - exit 0 + echo "$usage" + exit $? ;; -m) # -m PERM arg shift @@ -23,6 +38,10 @@ dirmode=$1 shift ;; + --version) + echo "$0 $scriptversion" + exit $? + ;; --) # stop option processing shift break @@ -50,30 +69,58 @@ 0) exit 0 ;; esac +# Solaris 8's mkdir -p isn't thread-safe. If you mkdir -p a/b and +# mkdir -p a/c at the same time, both will detect that a is missing, +# one will create a, then the other will try to create a and die with +# a "File exists" error. This is a problem when calling mkinstalldirs +# from a parallel make. We use --version in the probe to restrict +# ourselves to GNU mkdir, which is thread-safe. case $dirmode in '') - if mkdir -p -- . 2>/dev/null; then + if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then echo "mkdir -p -- $*" exec mkdir -p -- "$@" + else + # On NextStep and OpenStep, the `mkdir' command does not + # recognize any option. It will interpret all options as + # directories to create, and then abort because `.' already + # exists. + test -d ./-p && rmdir ./-p + test -d ./--version && rmdir ./--version fi ;; *) - if mkdir -m "$dirmode" -p -- . 2>/dev/null; then + if mkdir -m "$dirmode" -p --version . >/dev/null 2>&1 && + test ! -d ./--version; then echo "mkdir -m $dirmode -p -- $*" exec mkdir -m "$dirmode" -p -- "$@" + else + # Clean up after NextStep and OpenStep mkdir. + for d in ./-m ./-p ./--version "./$dirmode"; + do + test -d $d && rmdir $d + done fi ;; esac for file do - set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` + case $file in + /*) pathcomp=/ ;; + *) pathcomp= ;; + esac + oIFS=$IFS + IFS=/ + set fnord $file shift + IFS=$oIFS - pathcomp= for d do - pathcomp="$pathcomp$d" + test "x$d" = x && continue + + pathcomp=$pathcomp$d case $pathcomp in -*) pathcomp=./$pathcomp ;; esac @@ -84,21 +131,21 @@ mkdir "$pathcomp" || lasterr=$? if test ! -d "$pathcomp"; then - errstatus=$lasterr + errstatus=$lasterr else - if test ! -z "$dirmode"; then + if test ! -z "$dirmode"; then echo "chmod $dirmode $pathcomp" - lasterr="" - chmod "$dirmode" "$pathcomp" || lasterr=$? + lasterr= + chmod "$dirmode" "$pathcomp" || lasterr=$? - if test ! -z "$lasterr"; then - errstatus=$lasterr - fi - fi + if test ! -z "$lasterr"; then + errstatus=$lasterr + fi + fi fi fi - pathcomp="$pathcomp/" + pathcomp=$pathcomp/ done done @@ -107,5 +154,9 @@ # Local Variables: # mode: shell-script # sh-indentation: 2 +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-time-zone: "UTC" +# time-stamp-end: "; # UTC" # End: -# mkinstalldirs ends here === modified file 'packaging/macosx/Resources/bin/inkscape' --- packaging/macosx/Resources/bin/inkscape 2011-02-20 12:07:30 +0000 +++ packaging/macosx/Resources/bin/inkscape 2012-02-16 12:59:31 +0000 @@ -29,6 +29,7 @@ # On Snow Leopard, use the 32-bit version of python from Universal build. # This is because our bundled i386 python libraries are 32-bit only. +export VERSIONER_PYTHON_VERSION=2.6 export VERSIONER_PYTHON_PREFER_32_BIT=yes === modified file 'packaging/macosx/osx-app.sh' --- packaging/macosx/osx-app.sh 2010-09-12 19:44:58 +0000 +++ packaging/macosx/osx-app.sh 2012-02-16 12:59:31 +0000 @@ -325,6 +325,9 @@ mkdir -p $pkglib/gnome-vfs-2.0/modules cp $LIBPREFIX/lib/gnome-vfs-2.0/modules/*.so $pkglib/gnome-vfs-2.0/modules/ +mkdir -p $pkglib/gdk-pixbuf-2.0/$gtk_version/loaders +cp $LIBPREFIX/lib/gdk-pixbuf-2.0/$gtk_version/loaders/*.so $pkglib/gdk-pixbuf-2.0/$gtk_version/loaders/ + cp -r "$LIBPREFIX/lib/ImageMagick-$IMAGEMAGICKVER" "$pkglib/" cp -r "$LIBPREFIX/share/ImageMagick-$IMAGEMAGICKVER" "$pkgresources/share/" @@ -339,7 +342,7 @@ endl=true while $endl; do echo -e "\033[1mLooking for dependencies.\033[0m Round" $a - libs="`otool -L $pkglib/gtk-2.0/$gtk_version/{engines,immodules,loaders,printbackends}/*.{dylib,so} $pkglib/pango/$pango_version/modules/* $pkglib/gnome-vfs-2.0/modules/* $package/Contents/Resources/lib/* $pkglib/ImageMagick-$IMAGEMAGICKVER/modules-Q16/{filters,coders}/*.so $binary 2>/dev/null | fgrep compatibility | cut -d\( -f1 | grep $LIBPREFIX | sort | uniq`" + libs="`otool -L $pkglib/gtk-2.0/$gtk_version/{engines,immodules,loaders,printbackends}/*.{dylib,so} $pkglib/gdk-pixbuf-2.0/$gtk_version/loaders/* $pkglib/pango/$pango_version/modules/* $pkglib/gnome-vfs-2.0/modules/* $package/Contents/Resources/lib/* $pkglib/ImageMagick-$IMAGEMAGICKVER/modules-Q16/{filters,coders}/*.so $binary 2>/dev/null | fgrep compatibility | cut -d\( -f1 | grep $LIBPREFIX | sort | uniq`" cp -f $libs $package/Contents/Resources/lib let "a+=1" nnfiles=`ls $package/Contents/Resources/lib | wc -l` @@ -406,25 +409,25 @@ rewritelibpaths () { # # Fix package deps - (cd "$package/Contents/Resources/lib/gtk-2.0/2.10.0/loaders" - for file in *.so; do - echo "Rewriting dylib paths for $file..." - fixlib "$file" "`pwd`" - done - ) - (cd "$package/Contents/Resources/lib/gtk-2.0/2.10.0/engines" - for file in *.so; do - echo "Rewriting dylib paths for $file..." - fixlib "$file" "`pwd`" - done - ) - (cd "$package/Contents/Resources/lib/gtk-2.0/2.10.0/immodules" - for file in *.so; do - echo "Rewriting dylib paths for $file..." - fixlib "$file" "`pwd`" - done - ) - (cd "$package/Contents/Resources/lib/gtk-2.0/2.10.0/printbackends" + (cd "$package/Contents/Resources/lib/gtk-2.0/$gtk_version/loaders" + for file in *.so; do + echo "Rewriting dylib paths for $file..." + fixlib "$file" "`pwd`" + done + ) + (cd "$package/Contents/Resources/lib/gtk-2.0/$gtk_version/engines" + for file in *.so; do + echo "Rewriting dylib paths for $file..." + fixlib "$file" "`pwd`" + done + ) + (cd "$package/Contents/Resources/lib/gtk-2.0/$gtk_version/immodules" + for file in *.so; do + echo "Rewriting dylib paths for $file..." + fixlib "$file" "`pwd`" + done + ) + (cd "$package/Contents/Resources/lib/gtk-2.0/$gtk_version/printbackends" for file in *.so; do echo "Rewriting dylib paths for $file..." fixlib "$file" "`pwd`" @@ -436,7 +439,13 @@ fixlib "$file" "`pwd`" done ) - (cd "$package/Contents/Resources/lib/pango/1.6.0/modules" + (cd "$package/Contents/Resources/lib/gdk-pixbuf-2.0/$gtk_version/loaders" + for file in *.so; do + echo "Rewriting dylib paths for $file..." + fixlib "$file" "`pwd`" + done + ) + (cd "$package/Contents/Resources/lib/pango/$pango_version/modules" for file in *.so; do echo "Rewriting dylib paths for $file..." fixlib "$file" "`pwd`" === modified file 'po/Makefile.in.in' --- po/Makefile.in.in 2009-12-23 15:38:43 +0000 +++ po/Makefile.in.in 2012-02-16 12:59:31 +0000 @@ -49,8 +49,8 @@ XGETTEXT = @XGETTEXT@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ -MSGMERGE = INTLTOOL_EXTRACT=$(INTLTOOL_EXTRACT) srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --dist -GENPOT = INTLTOOL_EXTRACT=$(INTLTOOL_EXTRACT) srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --pot +MSGMERGE = INTLTOOL_EXTRACT="$(INTLTOOL_EXTRACT)" XGETTEXT="$(XGETTEXT)" srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --dist +GENPOT = INTLTOOL_EXTRACT="$(INTLTOOL_EXTRACT)" XGETTEXT="$(XGETTEXT)" srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --pot ALL_LINGUAS = @ALL_LINGUAS@ @@ -73,15 +73,20 @@ .SUFFIXES: .SUFFIXES: .po .pox .gmo .mo .msg .cat +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +INTLTOOL_V_MSGFMT = $(INTLTOOL__v_MSGFMT_$(V)) +INTLTOOL__v_MSGFMT_= $(INTLTOOL__v_MSGFMT_$(AM_DEFAULT_VERBOSITY)) +INTLTOOL__v_MSGFMT_0 = @echo " MSGFMT" $@; + .po.pox: $(MAKE) $(GETTEXT_PACKAGE).pot $(MSGMERGE) $< $(GETTEXT_PACKAGE).pot -o $*.pox .po.mo: - $(MSGFMT) -o $@ $< + $(INTLTOOL_V_MSGFMT)$(MSGFMT) -o $@ $< .po.gmo: - file=`echo $* | sed 's,.*/,,'`.gmo \ + $(INTLTOOL_V_MSGFMT)file=`echo $* | sed 's,.*/,,'`.gmo \ && rm -f $$file && $(GMSGFMT) -o $$file $< .po.cat: === modified file 'po/POTFILES.in' --- po/POTFILES.in 2011-02-20 12:07:30 +0000 +++ po/POTFILES.in 2012-02-16 12:59:31 +0000 @@ -336,6 +336,7 @@ share/extensions/svg_and_media_zip_output.py share/extensions/uniconv-ext.py share/extensions/uniconv_output.py +share/extensions/voronoi2svg.py share/extensions/web-set-att.py share/extensions/webslicer_create_group.py share/extensions/webslicer_export.py === modified file 'po/de.po' --- po/de.po 2011-02-20 12:07:30 +0000 +++ po/de.po 2012-02-16 12:59:31 +0000 @@ -18,8 +18,8 @@ "Project-Id-Version: inkscape\n" "Report-Msgid-Bugs-To: inkscape-devel@lists.sourceforge.net\n" "POT-Creation-Date: 2010-06-08 21:39+0200\n" -"PO-Revision-Date: 2010-06-18 14:54+0100\n" -"Last-Translator: Uwe Schoeler \n" +"PO-Revision-Date: 2012-01-13 13:49+0100\n" +"Last-Translator: Nicolas Dufour \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -21393,7 +21393,7 @@ #: ../src/verbs.cpp:2458 msgid "Tweak objects by sculpting or painting" -msgstr "Objekte verbessern durch Verformen oder Malen (Umschalt+F2)" +msgstr "Objekte verbessern durch Verformen oder Malen" #: ../src/verbs.cpp:2460 msgid "Spray objects by sculpting or painting" === modified file 'po/fr.po' --- po/fr.po 2011-02-20 12:07:30 +0000 +++ po/fr.po 2012-02-16 12:59:31 +0000 @@ -18,7 +18,7 @@ "Project-Id-Version: inkscape\n" "Report-Msgid-Bugs-To: inkscape-devel@lists.sourceforge.net\n" "POT-Creation-Date: 2010-06-08 21:39+0200\n" -"PO-Revision-Date: 2010-10-20 21:07+0100\n" +"PO-Revision-Date: 2011-09-12 21:25+0100\n" "Last-Translator: Nicolas Dufour \n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -13160,17 +13160,17 @@ #: ../src/sp-guide.cpp:421 msgid "Shift+drag to rotate, Ctrl+drag to move origin, Del to delete" -msgstr "Maj+déplacer pour pivoter, Ctrl+déplacerpour déplacer l’origine, Del pour supprimer" +msgstr "Maj+déplacer pour pivoter, Ctrl+déplacer pour déplacer l’origine, Del pour supprimer" #: ../src/sp-guide.cpp:426 #, c-format msgid "vertical, at %s" -msgstr "vertical, à %s" +msgstr "verticale, à %s" #: ../src/sp-guide.cpp:429 #, c-format msgid "horizontal, at %s" -msgstr "horizontal, à %s" +msgstr "horizontale, à %s" #: ../src/sp-guide.cpp:434 #, c-format @@ -24882,6 +24882,7 @@ #~ msgid "order" #~ msgstr "ordre" + #~ msgid "type" #~ msgstr "type" @@ -24892,9 +24893,11 @@ #, fuzzy #~ msgid "mouse handler" #~ msgstr "gestionnaire de souris" + #~ msgid "view" #~ msgstr "vue" #~ msgctxt "split" + #~ msgid "Lines" #~ msgstr "Lignes" @@ -24921,14 +24924,19 @@ #, fuzzy #~ msgid "Transform handle tip" #~ msgstr "Poignée de transformation" + #~ msgid "Select Font Size" #~ msgstr "Définir la taille de la police" + #~ msgid "Toggle On/Off Bold Style" #~ msgstr "Basculer le style Gras" + #~ msgid "Toggle On/Off Italic/Oblique Style" #~ msgstr "Basculer le style Italique/Oblique" + #~ msgid "Horizontal Text" #~ msgstr "Texte horizontal" + #~ msgid "Vertical Text" #~ msgstr "Texte vertical" @@ -25053,52 +25061,71 @@ #, fuzzy #~ msgid "tr" #~ msgstr "Étoile" + #~ msgid "Refresh the icons" #~ msgstr "Rafraîchir les icônes" + #~ msgid "How many digits to write after the decimal dot" #~ msgstr "Combien de chiffres écrire après le point décimal" + #~ msgid "Color/opacity used for color spraying" #~ msgstr "Couleur et opacités pour la pulvérisation de couleur" + #~ msgid "Show node transformation handles" #~ msgstr "Afficher les poignées de transformation de nœud" + #~ msgid "Show next path effect parameter for editing" #~ msgstr "Afficher le paramètre d’effet de chemin suivant pour le modifier" + #~ msgid "Select Font Family" #~ msgstr "Définir la famille de la police" + #~ msgid "" #~ "This font is currently not installed on your system. Inkscape will use " #~ "the default font instead." #~ msgstr "" #~ "Cette police n’est pas installée sur votre système. Inkscape utilisera la " #~ "police par défaut à la place" + #~ msgid "Bold" #~ msgstr "Gras" + #~ msgid "Italic" #~ msgstr "Italique" + #~ msgid "Note: The file extension is appended automatically." #~ msgstr "Note : l’extension du fichier est ajoutée automatiquement" + #~ msgid "_Input Devices (new)..." #~ msgstr "Périphériques de saisie... (nouveau)" + #~ msgid "Failed to read from child pipe (%s)" #~ msgstr "Échec de lecture sur le tube fils (%s)" + #~ msgid "Failed to change to directory '%s' (%s)" #~ msgstr "" #~ "Impossible de choisir le répertoire %s.\n" #~ "%s" + #~ msgid "Failed to execute child process (%s)" #~ msgstr "Échec lors de l’exécution du processus fils (%s)" + #~ msgid "Invalid program name: %s" #~ msgstr "Nom de programme erroné : %s" + #~ msgid "Invalid string in argument vector at %d: %s" #~ msgstr "Chaîne invalide dans le vecteur d’argument dans %d: %s" + #~ msgid "Invalid string in environment: %s" #~ msgstr "Chaîne invalide dans l’environnement : %s" + #~ msgid "Failed to create pipe for communicating with child process (%s)" #~ msgstr "" #~ "Échec de création d’un tube pour la communication avec le processus fils " #~ "(%s)" + #~ msgid "Invalid working directory: %s" #~ msgstr "%s n’est pas un répertoire valide." + #~ msgid "Failed to execute helper program (%s)" #~ msgstr "Échec de l’exécution du programme auxiliaire (%s)" - === modified file 'share/Makefile.in' --- share/Makefile.in 2011-07-10 11:35:30 +0000 +++ share/Makefile.in 2012-02-16 12:59:31 +0000 @@ -1,9 +1,9 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. +# Makefile.in generated by automake 1.11.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software +# Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -47,11 +47,11 @@ CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = -AM_V_GEN = $(am__v_GEN_$(V)) -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; -AM_V_at = $(am__v_at_$(V)) -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ SOURCES = DIST_SOURCES = @@ -142,6 +142,10 @@ GNOME_VFS_CFLAGS = @GNOME_VFS_CFLAGS@ GNOME_VFS_LIBS = @GNOME_VFS_LIBS@ GREP = @GREP@ +GTKMM_2_22_CFLAGS = @GTKMM_2_22_CFLAGS@ +GTKMM_2_22_LIBS = @GTKMM_2_22_LIBS@ +GTKMM_2_24_CFLAGS = @GTKMM_2_24_CFLAGS@ +GTKMM_2_24_LIBS = @GTKMM_2_24_LIBS@ IMAGEMAGICK_CFLAGS = @IMAGEMAGICK_CFLAGS@ IMAGEMAGICK_LIBS = @IMAGEMAGICK_LIBS@ INKBOARD_CFLAGS = @INKBOARD_CFLAGS@ @@ -160,6 +164,12 @@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +LCMS2_CFLAGS = @LCMS2_CFLAGS@ +LCMS2_LIBS = @LCMS2_LIBS@ LCMS_CFLAGS = @LCMS_CFLAGS@ LCMS_LIBS = @LCMS_LIBS@ LDFLAGS = @LDFLAGS@ @@ -187,8 +197,6 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ -PANGOFT2_CFLAGS = @PANGOFT2_CFLAGS@ -PANGOFT2_LIBS = @PANGOFT2_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL_CFLAGS = @PERL_CFLAGS@ PERL_LIBS = @PERL_LIBS@ @@ -217,8 +225,6 @@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WIN32_CFLAGS = @WIN32_CFLAGS@ -XFT_CFLAGS = @XFT_CFLAGS@ -XFT_LIBS = @XFT_LIBS@ XGETTEXT = @XGETTEXT@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ @@ -252,6 +258,8 @@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ @@ -529,10 +537,15 @@ installcheck: installcheck-recursive install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi mostlyclean-generic: clean-generic: === modified file 'share/clipart/Makefile.in' --- share/clipart/Makefile.in 2011-07-10 11:35:30 +0000 +++ share/clipart/Makefile.in 2012-02-16 12:59:31 +0000 @@ -1,9 +1,9 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. +# Makefile.in generated by automake 1.11.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software +# Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -48,11 +48,11 @@ CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = -AM_V_GEN = $(am__v_GEN_$(V)) -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; -AM_V_at = $(am__v_at_$(V)) -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ SOURCES = DIST_SOURCES = @@ -77,6 +77,12 @@ am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } am__installdirs = "$(DESTDIR)$(clipartdir)" DATA = $(clipart_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) @@ -126,6 +132,10 @@ GNOME_VFS_CFLAGS = @GNOME_VFS_CFLAGS@ GNOME_VFS_LIBS = @GNOME_VFS_LIBS@ GREP = @GREP@ +GTKMM_2_22_CFLAGS = @GTKMM_2_22_CFLAGS@ +GTKMM_2_22_LIBS = @GTKMM_2_22_LIBS@ +GTKMM_2_24_CFLAGS = @GTKMM_2_24_CFLAGS@ +GTKMM_2_24_LIBS = @GTKMM_2_24_LIBS@ IMAGEMAGICK_CFLAGS = @IMAGEMAGICK_CFLAGS@ IMAGEMAGICK_LIBS = @IMAGEMAGICK_LIBS@ INKBOARD_CFLAGS = @INKBOARD_CFLAGS@ @@ -144,6 +154,12 @@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +LCMS2_CFLAGS = @LCMS2_CFLAGS@ +LCMS2_LIBS = @LCMS2_LIBS@ LCMS_CFLAGS = @LCMS_CFLAGS@ LCMS_LIBS = @LCMS_LIBS@ LDFLAGS = @LDFLAGS@ @@ -171,8 +187,6 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ -PANGOFT2_CFLAGS = @PANGOFT2_CFLAGS@ -PANGOFT2_LIBS = @PANGOFT2_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL_CFLAGS = @PERL_CFLAGS@ PERL_LIBS = @PERL_LIBS@ @@ -201,8 +215,6 @@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WIN32_CFLAGS = @WIN32_CFLAGS@ -XFT_CFLAGS = @XFT_CFLAGS@ -XFT_LIBS = @XFT_LIBS@ XGETTEXT = @XGETTEXT@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ @@ -236,6 +248,8 @@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ @@ -315,9 +329,7 @@ @$(NORMAL_UNINSTALL) @list='$(clipart_DATA)'; test -n "$(clipartdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - test -n "$$files" || exit 0; \ - echo " ( cd '$(DESTDIR)$(clipartdir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(clipartdir)" && rm -f $$files + dir='$(DESTDIR)$(clipartdir)'; $(am__uninstall_files_from_dir) tags: TAGS TAGS: @@ -372,10 +384,15 @@ installcheck: installcheck-am install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi mostlyclean-generic: clean-generic: === modified file 'share/examples/Makefile.in' --- share/examples/Makefile.in 2011-07-10 11:35:30 +0000 +++ share/examples/Makefile.in 2012-02-16 12:59:31 +0000 @@ -1,9 +1,9 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. +# Makefile.in generated by automake 1.11.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software +# Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -48,11 +48,11 @@ CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = -AM_V_GEN = $(am__v_GEN_$(V)) -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; -AM_V_at = $(am__v_at_$(V)) -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ SOURCES = DIST_SOURCES = @@ -77,6 +77,12 @@ am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } am__installdirs = "$(DESTDIR)$(exampledir)" DATA = $(example_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) @@ -126,6 +132,10 @@ GNOME_VFS_CFLAGS = @GNOME_VFS_CFLAGS@ GNOME_VFS_LIBS = @GNOME_VFS_LIBS@ GREP = @GREP@ +GTKMM_2_22_CFLAGS = @GTKMM_2_22_CFLAGS@ +GTKMM_2_22_LIBS = @GTKMM_2_22_LIBS@ +GTKMM_2_24_CFLAGS = @GTKMM_2_24_CFLAGS@ +GTKMM_2_24_LIBS = @GTKMM_2_24_LIBS@ IMAGEMAGICK_CFLAGS = @IMAGEMAGICK_CFLAGS@ IMAGEMAGICK_LIBS = @IMAGEMAGICK_LIBS@ INKBOARD_CFLAGS = @INKBOARD_CFLAGS@ @@ -144,6 +154,12 @@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +LCMS2_CFLAGS = @LCMS2_CFLAGS@ +LCMS2_LIBS = @LCMS2_LIBS@ LCMS_CFLAGS = @LCMS_CFLAGS@ LCMS_LIBS = @LCMS_LIBS@ LDFLAGS = @LDFLAGS@ @@ -171,8 +187,6 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ -PANGOFT2_CFLAGS = @PANGOFT2_CFLAGS@ -PANGOFT2_LIBS = @PANGOFT2_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL_CFLAGS = @PERL_CFLAGS@ PERL_LIBS = @PERL_LIBS@ @@ -201,8 +215,6 @@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WIN32_CFLAGS = @WIN32_CFLAGS@ -XFT_CFLAGS = @XFT_CFLAGS@ -XFT_LIBS = @XFT_LIBS@ XGETTEXT = @XGETTEXT@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ @@ -236,6 +248,8 @@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ @@ -340,9 +354,7 @@ @$(NORMAL_UNINSTALL) @list='$(example_DATA)'; test -n "$(exampledir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - test -n "$$files" || exit 0; \ - echo " ( cd '$(DESTDIR)$(exampledir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(exampledir)" && rm -f $$files + dir='$(DESTDIR)$(exampledir)'; $(am__uninstall_files_from_dir) tags: TAGS TAGS: @@ -397,10 +409,15 @@ installcheck: installcheck-am install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi mostlyclean-generic: clean-generic: === modified file 'share/extensions/Barcode/Makefile.am' --- share/extensions/Barcode/Makefile.am 2010-09-12 19:44:58 +0000 +++ share/extensions/Barcode/Makefile.am 2012-02-16 12:59:31 +0000 @@ -1,7 +1,7 @@ barcodedir = $(datadir)/inkscape/extensions/Barcode -barcode_SCRIPTS = \ +barcode_DATA = \ Base.py \ Code128.py \ Code39Ext.py \ @@ -16,5 +16,5 @@ UPCE.py EXTRA_DIST = \ - $(barcode_SCRIPTS) + $(barcode_DATA) === modified file 'share/extensions/Barcode/Makefile.in' --- share/extensions/Barcode/Makefile.in 2011-07-10 11:35:30 +0000 +++ share/extensions/Barcode/Makefile.in 2012-02-16 12:59:31 +0000 @@ -1,9 +1,9 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. +# Makefile.in generated by automake 1.11.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software +# Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -48,6 +48,14 @@ CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +SOURCES = +DIST_SOURCES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ @@ -69,16 +77,14 @@ am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } am__installdirs = "$(DESTDIR)$(barcodedir)" -SCRIPTS = $(barcode_SCRIPTS) -AM_V_GEN = $(am__v_GEN_$(V)) -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) -am__v_GEN_0 = @echo " GEN " $@; -AM_V_at = $(am__v_at_$(V)) -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) -am__v_at_0 = @ -SOURCES = -DIST_SOURCES = +DATA = $(barcode_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ @@ -126,6 +132,10 @@ GNOME_VFS_CFLAGS = @GNOME_VFS_CFLAGS@ GNOME_VFS_LIBS = @GNOME_VFS_LIBS@ GREP = @GREP@ +GTKMM_2_22_CFLAGS = @GTKMM_2_22_CFLAGS@ +GTKMM_2_22_LIBS = @GTKMM_2_22_LIBS@ +GTKMM_2_24_CFLAGS = @GTKMM_2_24_CFLAGS@ +GTKMM_2_24_LIBS = @GTKMM_2_24_LIBS@ IMAGEMAGICK_CFLAGS = @IMAGEMAGICK_CFLAGS@ IMAGEMAGICK_LIBS = @IMAGEMAGICK_LIBS@ INKBOARD_CFLAGS = @INKBOARD_CFLAGS@ @@ -144,6 +154,12 @@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +LCMS2_CFLAGS = @LCMS2_CFLAGS@ +LCMS2_LIBS = @LCMS2_LIBS@ LCMS_CFLAGS = @LCMS_CFLAGS@ LCMS_LIBS = @LCMS_LIBS@ LDFLAGS = @LDFLAGS@ @@ -171,8 +187,6 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ -PANGOFT2_CFLAGS = @PANGOFT2_CFLAGS@ -PANGOFT2_LIBS = @PANGOFT2_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL_CFLAGS = @PERL_CFLAGS@ PERL_LIBS = @PERL_LIBS@ @@ -201,8 +215,6 @@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WIN32_CFLAGS = @WIN32_CFLAGS@ -XFT_CFLAGS = @XFT_CFLAGS@ -XFT_LIBS = @XFT_LIBS@ XGETTEXT = @XGETTEXT@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ @@ -236,6 +248,8 @@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ @@ -256,7 +270,7 @@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ barcodedir = $(datadir)/inkscape/extensions/Barcode -barcode_SCRIPTS = \ +barcode_DATA = \ Base.py \ Code128.py \ Code39Ext.py \ @@ -271,7 +285,7 @@ UPCE.py EXTRA_DIST = \ - $(barcode_SCRIPTS) + $(barcode_DATA) all: all-am @@ -306,40 +320,24 @@ $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): -install-barcodeSCRIPTS: $(barcode_SCRIPTS) +install-barcodeDATA: $(barcode_DATA) @$(NORMAL_INSTALL) test -z "$(barcodedir)" || $(MKDIR_P) "$(DESTDIR)$(barcodedir)" - @list='$(barcode_SCRIPTS)'; test -n "$(barcodedir)" || list=; \ + @list='$(barcode_DATA)'; test -n "$(barcodedir)" || list=; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \ - done | \ - sed -e 'p;s,.*/,,;n' \ - -e 'h;s|.*|.|' \ - -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \ - $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \ - { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ - if ($$2 == $$4) { files[d] = files[d] " " $$1; \ - if (++n[d] == $(am__install_max)) { \ - print "f", d, files[d]; n[d] = 0; files[d] = "" } } \ - else { print "f", d "/" $$4, $$1 } } \ - END { for (d in files) print "f", d, files[d] }' | \ - while read type dir files; do \ - if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ - test -z "$$files" || { \ - echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(barcodedir)$$dir'"; \ - $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(barcodedir)$$dir" || exit $$?; \ - } \ - ; done + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(barcodedir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(barcodedir)" || exit $$?; \ + done -uninstall-barcodeSCRIPTS: +uninstall-barcodeDATA: @$(NORMAL_UNINSTALL) - @list='$(barcode_SCRIPTS)'; test -n "$(barcodedir)" || exit 0; \ - files=`for p in $$list; do echo "$$p"; done | \ - sed -e 's,.*/,,;$(transform)'`; \ - test -n "$$list" || exit 0; \ - echo " ( cd '$(DESTDIR)$(barcodedir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(barcodedir)" && rm -f $$files + @list='$(barcode_DATA)'; test -n "$(barcodedir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(barcodedir)'; $(am__uninstall_files_from_dir) tags: TAGS TAGS: @@ -379,7 +377,7 @@ done check-am: all-am check: check-am -all-am: Makefile $(SCRIPTS) +all-am: Makefile $(DATA) installdirs: for dir in "$(DESTDIR)$(barcodedir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ @@ -394,10 +392,15 @@ installcheck: installcheck-am install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi mostlyclean-generic: clean-generic: @@ -429,7 +432,7 @@ info-am: -install-data-am: install-barcodeSCRIPTS +install-data-am: install-barcodeDATA install-dvi: install-dvi-am @@ -473,21 +476,20 @@ ps-am: -uninstall-am: uninstall-barcodeSCRIPTS +uninstall-am: uninstall-barcodeDATA .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic distclean \ distclean-generic distdir dvi dvi-am html html-am info info-am \ - install install-am install-barcodeSCRIPTS install-data \ + install install-am install-barcodeDATA install-data \ install-data-am install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ - pdf-am ps ps-am uninstall uninstall-am \ - uninstall-barcodeSCRIPTS + pdf-am ps ps-am uninstall uninstall-am uninstall-barcodeDATA # Tell versions [3.59,3.63) of GNU make to not export all variables. === modified file 'share/extensions/Makefile.am' --- share/extensions/Makefile.am 2011-02-20 12:07:30 +0000 +++ share/extensions/Makefile.am 2012-02-16 12:59:31 +0000 @@ -73,13 +73,9 @@ inkex.py \ Inkscape.pm \ inkwebeffect.py \ - inkweb.js \ interp.py \ interp_att_g.py \ - jessyInk.js \ jessyInk_autoTexts.py \ - jessyInk_core_mouseHandler_noclick.js \ - jessyInk_core_mouseHandler_zoomControl.js \ jessyInk_effects.py \ jessyInk_export.py \ jessyInk_install.py \ @@ -149,6 +145,7 @@ uniconv-ext.py \ uniconv_output.py \ voronoi.py \ + voronoi2svg.py \ webslicer_create_group.py \ webslicer_create_rect.py \ webslicer_effect.py \ @@ -163,6 +160,10 @@ otherstuff = \ aisvg.xslt \ colors.xml \ + inkweb.js \ + jessyInk.js \ + jessyInk_core_mouseHandler_noclick.js \ + jessyInk_core_mouseHandler_zoomControl.js \ jessyInk_video.svg \ svg2xaml.xsl \ xaml2svg.xsl === modified file 'share/extensions/Makefile.in' --- share/extensions/Makefile.in 2011-07-10 11:35:30 +0000 +++ share/extensions/Makefile.in 2012-02-16 12:59:31 +0000 @@ -1,9 +1,9 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. +# Makefile.in generated by automake 1.11.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software +# Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -70,14 +70,20 @@ am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } am__installdirs = "$(DESTDIR)$(extensiondir)" "$(DESTDIR)$(moduledir)" \ "$(DESTDIR)$(otherstuffdir)" SCRIPTS = $(extension_SCRIPTS) -AM_V_GEN = $(am__v_GEN_$(V)) -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; -AM_V_at = $(am__v_at_$(V)) -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ SOURCES = DIST_SOURCES = @@ -169,6 +175,10 @@ GNOME_VFS_CFLAGS = @GNOME_VFS_CFLAGS@ GNOME_VFS_LIBS = @GNOME_VFS_LIBS@ GREP = @GREP@ +GTKMM_2_22_CFLAGS = @GTKMM_2_22_CFLAGS@ +GTKMM_2_22_LIBS = @GTKMM_2_22_LIBS@ +GTKMM_2_24_CFLAGS = @GTKMM_2_24_CFLAGS@ +GTKMM_2_24_LIBS = @GTKMM_2_24_LIBS@ IMAGEMAGICK_CFLAGS = @IMAGEMAGICK_CFLAGS@ IMAGEMAGICK_LIBS = @IMAGEMAGICK_LIBS@ INKBOARD_CFLAGS = @INKBOARD_CFLAGS@ @@ -187,6 +197,12 @@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +LCMS2_CFLAGS = @LCMS2_CFLAGS@ +LCMS2_LIBS = @LCMS2_LIBS@ LCMS_CFLAGS = @LCMS_CFLAGS@ LCMS_LIBS = @LCMS_LIBS@ LDFLAGS = @LDFLAGS@ @@ -214,8 +230,6 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ -PANGOFT2_CFLAGS = @PANGOFT2_CFLAGS@ -PANGOFT2_LIBS = @PANGOFT2_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL_CFLAGS = @PERL_CFLAGS@ PERL_LIBS = @PERL_LIBS@ @@ -244,8 +258,6 @@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WIN32_CFLAGS = @WIN32_CFLAGS@ -XFT_CFLAGS = @XFT_CFLAGS@ -XFT_LIBS = @XFT_LIBS@ XGETTEXT = @XGETTEXT@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ @@ -279,6 +291,8 @@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ @@ -370,13 +384,9 @@ inkex.py \ Inkscape.pm \ inkwebeffect.py \ - inkweb.js \ interp.py \ interp_att_g.py \ - jessyInk.js \ jessyInk_autoTexts.py \ - jessyInk_core_mouseHandler_noclick.js \ - jessyInk_core_mouseHandler_zoomControl.js \ jessyInk_effects.py \ jessyInk_export.py \ jessyInk_install.py \ @@ -446,6 +456,7 @@ uniconv-ext.py \ uniconv_output.py \ voronoi.py \ + voronoi2svg.py \ webslicer_create_group.py \ webslicer_create_rect.py \ webslicer_effect.py \ @@ -460,6 +471,10 @@ otherstuff = \ aisvg.xslt \ colors.xml \ + inkweb.js \ + jessyInk.js \ + jessyInk_core_mouseHandler_noclick.js \ + jessyInk_core_mouseHandler_zoomControl.js \ jessyInk_video.svg \ svg2xaml.xsl \ xaml2svg.xsl @@ -674,9 +689,7 @@ @list='$(extension_SCRIPTS)'; test -n "$(extensiondir)" || exit 0; \ files=`for p in $$list; do echo "$$p"; done | \ sed -e 's,.*/,,;$(transform)'`; \ - test -n "$$list" || exit 0; \ - echo " ( cd '$(DESTDIR)$(extensiondir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(extensiondir)" && rm -f $$files + dir='$(DESTDIR)$(extensiondir)'; $(am__uninstall_files_from_dir) install-moduleDATA: $(module_DATA) @$(NORMAL_INSTALL) test -z "$(moduledir)" || $(MKDIR_P) "$(DESTDIR)$(moduledir)" @@ -694,9 +707,7 @@ @$(NORMAL_UNINSTALL) @list='$(module_DATA)'; test -n "$(moduledir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - test -n "$$files" || exit 0; \ - echo " ( cd '$(DESTDIR)$(moduledir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(moduledir)" && rm -f $$files + dir='$(DESTDIR)$(moduledir)'; $(am__uninstall_files_from_dir) install-otherstuffDATA: $(otherstuff_DATA) @$(NORMAL_INSTALL) test -z "$(otherstuffdir)" || $(MKDIR_P) "$(DESTDIR)$(otherstuffdir)" @@ -714,9 +725,7 @@ @$(NORMAL_UNINSTALL) @list='$(otherstuff_DATA)'; test -n "$(otherstuffdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - test -n "$$files" || exit 0; \ - echo " ( cd '$(DESTDIR)$(otherstuffdir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(otherstuffdir)" && rm -f $$files + dir='$(DESTDIR)$(otherstuffdir)'; $(am__uninstall_files_from_dir) # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. @@ -929,10 +938,15 @@ installcheck: installcheck-recursive install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi mostlyclean-generic: clean-generic: === modified file 'share/extensions/Poly3DObjects/Makefile.in' --- share/extensions/Poly3DObjects/Makefile.in 2011-07-10 11:35:30 +0000 +++ share/extensions/Poly3DObjects/Makefile.in 2012-02-16 12:59:31 +0000 @@ -1,9 +1,9 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. +# Makefile.in generated by automake 1.11.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software +# Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -48,11 +48,11 @@ CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = -AM_V_GEN = $(am__v_GEN_$(V)) -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; -AM_V_at = $(am__v_at_$(V)) -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ SOURCES = DIST_SOURCES = @@ -77,6 +77,12 @@ am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } am__installdirs = "$(DESTDIR)$(Poly3DObjectsdir)" DATA = $(Poly3DObjects_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) @@ -126,6 +132,10 @@ GNOME_VFS_CFLAGS = @GNOME_VFS_CFLAGS@ GNOME_VFS_LIBS = @GNOME_VFS_LIBS@ GREP = @GREP@ +GTKMM_2_22_CFLAGS = @GTKMM_2_22_CFLAGS@ +GTKMM_2_22_LIBS = @GTKMM_2_22_LIBS@ +GTKMM_2_24_CFLAGS = @GTKMM_2_24_CFLAGS@ +GTKMM_2_24_LIBS = @GTKMM_2_24_LIBS@ IMAGEMAGICK_CFLAGS = @IMAGEMAGICK_CFLAGS@ IMAGEMAGICK_LIBS = @IMAGEMAGICK_LIBS@ INKBOARD_CFLAGS = @INKBOARD_CFLAGS@ @@ -144,6 +154,12 @@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +LCMS2_CFLAGS = @LCMS2_CFLAGS@ +LCMS2_LIBS = @LCMS2_LIBS@ LCMS_CFLAGS = @LCMS_CFLAGS@ LCMS_LIBS = @LCMS_LIBS@ LDFLAGS = @LDFLAGS@ @@ -171,8 +187,6 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ -PANGOFT2_CFLAGS = @PANGOFT2_CFLAGS@ -PANGOFT2_LIBS = @PANGOFT2_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL_CFLAGS = @PERL_CFLAGS@ PERL_LIBS = @PERL_LIBS@ @@ -201,8 +215,6 @@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WIN32_CFLAGS = @WIN32_CFLAGS@ -XFT_CFLAGS = @XFT_CFLAGS@ -XFT_LIBS = @XFT_LIBS@ XGETTEXT = @XGETTEXT@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ @@ -236,6 +248,8 @@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ @@ -336,9 +350,7 @@ @$(NORMAL_UNINSTALL) @list='$(Poly3DObjects_DATA)'; test -n "$(Poly3DObjectsdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - test -n "$$files" || exit 0; \ - echo " ( cd '$(DESTDIR)$(Poly3DObjectsdir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(Poly3DObjectsdir)" && rm -f $$files + dir='$(DESTDIR)$(Poly3DObjectsdir)'; $(am__uninstall_files_from_dir) tags: TAGS TAGS: @@ -393,10 +405,15 @@ installcheck: installcheck-am install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi mostlyclean-generic: clean-generic: === modified file 'share/extensions/addnodes.py' (properties changed: -x to +x) === modified file 'share/extensions/alphabet_soup/Makefile.in' --- share/extensions/alphabet_soup/Makefile.in 2011-07-10 11:35:30 +0000 +++ share/extensions/alphabet_soup/Makefile.in 2012-02-16 12:59:31 +0000 @@ -1,9 +1,9 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. +# Makefile.in generated by automake 1.11.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software +# Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -48,11 +48,11 @@ CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = -AM_V_GEN = $(am__v_GEN_$(V)) -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; -AM_V_at = $(am__v_at_$(V)) -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ SOURCES = DIST_SOURCES = @@ -77,6 +77,12 @@ am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } am__installdirs = "$(DESTDIR)$(alphabet_soupdir)" DATA = $(alphabet_soup_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) @@ -126,6 +132,10 @@ GNOME_VFS_CFLAGS = @GNOME_VFS_CFLAGS@ GNOME_VFS_LIBS = @GNOME_VFS_LIBS@ GREP = @GREP@ +GTKMM_2_22_CFLAGS = @GTKMM_2_22_CFLAGS@ +GTKMM_2_22_LIBS = @GTKMM_2_22_LIBS@ +GTKMM_2_24_CFLAGS = @GTKMM_2_24_CFLAGS@ +GTKMM_2_24_LIBS = @GTKMM_2_24_LIBS@ IMAGEMAGICK_CFLAGS = @IMAGEMAGICK_CFLAGS@ IMAGEMAGICK_LIBS = @IMAGEMAGICK_LIBS@ INKBOARD_CFLAGS = @INKBOARD_CFLAGS@ @@ -144,6 +154,12 @@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +LCMS2_CFLAGS = @LCMS2_CFLAGS@ +LCMS2_LIBS = @LCMS2_LIBS@ LCMS_CFLAGS = @LCMS_CFLAGS@ LCMS_LIBS = @LCMS_LIBS@ LDFLAGS = @LDFLAGS@ @@ -171,8 +187,6 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ -PANGOFT2_CFLAGS = @PANGOFT2_CFLAGS@ -PANGOFT2_LIBS = @PANGOFT2_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL_CFLAGS = @PERL_CFLAGS@ PERL_LIBS = @PERL_LIBS@ @@ -201,8 +215,6 @@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WIN32_CFLAGS = @WIN32_CFLAGS@ -XFT_CFLAGS = @XFT_CFLAGS@ -XFT_LIBS = @XFT_LIBS@ XGETTEXT = @XGETTEXT@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ @@ -236,6 +248,8 @@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ @@ -381,9 +395,7 @@ @$(NORMAL_UNINSTALL) @list='$(alphabet_soup_DATA)'; test -n "$(alphabet_soupdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - test -n "$$files" || exit 0; \ - echo " ( cd '$(DESTDIR)$(alphabet_soupdir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(alphabet_soupdir)" && rm -f $$files + dir='$(DESTDIR)$(alphabet_soupdir)'; $(am__uninstall_files_from_dir) tags: TAGS TAGS: @@ -438,10 +450,15 @@ installcheck: installcheck-am install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi mostlyclean-generic: clean-generic: === modified file 'share/extensions/chardataeffect.py' (properties changed: -x to +x) === modified file 'share/extensions/color_blackandwhite.py' (properties changed: -x to +x) --- share/extensions/color_blackandwhite.py 2010-09-12 19:44:58 +0000 +++ share/extensions/color_blackandwhite.py 2012-02-16 12:59:31 +0000 @@ -1,3 +1,5 @@ +#!/usr/bin/env python + import coloreffect,sys class C(coloreffect.ColorEffect): === modified file 'share/extensions/color_brighter.py' (properties changed: -x to +x) --- share/extensions/color_brighter.py 2009-12-23 15:38:43 +0000 +++ share/extensions/color_brighter.py 2012-02-16 12:59:31 +0000 @@ -1,3 +1,5 @@ +#!/usr/bin/env python + import coloreffect class C(coloreffect.ColorEffect): === modified file 'share/extensions/color_custom.py' (properties changed: -x to +x) --- share/extensions/color_custom.py 2009-12-23 15:38:43 +0000 +++ share/extensions/color_custom.py 2012-02-16 12:59:31 +0000 @@ -1,25 +1,56 @@ +#!/usr/bin/env python import coloreffect class C(coloreffect.ColorEffect): - def __init__(self): - coloreffect.ColorEffect.__init__(self) - self.OptionParser.add_option("--r", action="store", type="string", dest="rFunction", default="r",help="red channel function") - self.OptionParser.add_option("--g", action="store", type="string", dest="gFunction", default="g",help="green channel function") - self.OptionParser.add_option("--b", action="store", type="string", dest="bFunction", default="b",help="blue channel function") - def normalize(self, v): - if v<0: - return 0.0 - if v>1: - return 1.0 - return v - def colmod(self,_r,_g,_b): - r=float(_r)/255 - g=float(_g)/255 - b=float(_b)/255 - r2=self.normalize(eval(self.options.rFunction)) - g2=self.normalize(eval(self.options.gFunction)) - b2=self.normalize(eval(self.options.bFunction)) - return '%02x%02x%02x' % (int(round(r2*255)),int(round(g2*255)),int(round(b2*255))) + def __init__(self): + coloreffect.ColorEffect.__init__(self) + self.OptionParser.add_option("--r", + action="store", type="string", + dest="rFunction", default="r", + help="red channel function") + self.OptionParser.add_option("--g", + action="store", type="string", + dest="gFunction", default="g", + help="green channel function") + self.OptionParser.add_option("--b", + action="store", type="string", + dest="bFunction", default="b", + help="blue channel function") + self.OptionParser.add_option("--tab", + action="store", type="string", + dest="tab", + help="The selected UI-tab when OK was pressed") + self.OptionParser.add_option("--scale", + action="store", type="string", + dest="scale", default="1", + help="The input (r,g,b) range") + + def normalize(self, v): + if v<0: + return 0.0 + if v > float(self.options.scale): + return float(self.options.scale) + return v + + def _hexstr(self,r,g,b): + return '%02x%02x%02x' % (int(round(r)),int(round(g)),int(round(b))) + + def colmod(self,_r,_g,_b): + factor = 255.0/float(self.options.scale) + r=float(_r)/factor + g=float(_g)/factor + b=float(_b)/factor + + # add stuff to be accessible from within the custom color function here. + safeenv = {'__builtins__':{},'r':r,'g':g,'b':b} + + try: + r2=self.normalize(eval(self.options.rFunction,safeenv)) + g2=self.normalize(eval(self.options.gFunction,safeenv)) + b2=self.normalize(eval(self.options.bFunction,safeenv)) + except: + return self._hexstr(255.0,0.0,0.0) + return self._hexstr(r2*factor,g2*factor,b2*factor) c = C() -c.affect() \ No newline at end of file +c.affect() === modified file 'share/extensions/color_darker.py' (properties changed: -x to +x) --- share/extensions/color_darker.py 2009-12-23 15:38:43 +0000 +++ share/extensions/color_darker.py 2012-02-16 12:59:31 +0000 @@ -1,3 +1,5 @@ +#!/usr/bin/env python + import coloreffect class C(coloreffect.ColorEffect): === modified file 'share/extensions/color_desaturate.py' (properties changed: -x to +x) --- share/extensions/color_desaturate.py 2009-12-23 15:38:43 +0000 +++ share/extensions/color_desaturate.py 2012-02-16 12:59:31 +0000 @@ -1,3 +1,5 @@ +#!/usr/bin/env python + import coloreffect class C(coloreffect.ColorEffect): @@ -7,4 +9,4 @@ return '%02x%02x%02x' % (ig,ig,ig) c = C() -c.affect() \ No newline at end of file +c.affect() === modified file 'share/extensions/color_grayscale.py' (properties changed: -x to +x) --- share/extensions/color_grayscale.py 2009-12-23 15:38:43 +0000 +++ share/extensions/color_grayscale.py 2012-02-16 12:59:31 +0000 @@ -1,3 +1,5 @@ +#!/usr/bin/env python + import coloreffect class C(coloreffect.ColorEffect): @@ -11,4 +13,4 @@ return '%02x%02x%02x' % (ig,ig,ig) c = C() -c.affect() \ No newline at end of file +c.affect() === modified file 'share/extensions/color_lesshue.py' (properties changed: -x to +x) --- share/extensions/color_lesshue.py 2009-12-23 15:38:43 +0000 +++ share/extensions/color_lesshue.py 2012-02-16 12:59:31 +0000 @@ -1,3 +1,5 @@ +#!/usr/bin/env python + import coloreffect, inkex class C(coloreffect.ColorEffect): === modified file 'share/extensions/color_lesslight.py' (properties changed: -x to +x) --- share/extensions/color_lesslight.py 2009-12-23 15:38:43 +0000 +++ share/extensions/color_lesslight.py 2012-02-16 12:59:31 +0000 @@ -1,3 +1,5 @@ +#!/usr/bin/env python + import coloreffect, inkex class C(coloreffect.ColorEffect): === modified file 'share/extensions/color_lesssaturation.py' (properties changed: -x to +x) --- share/extensions/color_lesssaturation.py 2009-12-23 15:38:43 +0000 +++ share/extensions/color_lesssaturation.py 2012-02-16 12:59:31 +0000 @@ -1,3 +1,5 @@ +#!/usr/bin/env python + import coloreffect, inkex class C(coloreffect.ColorEffect): === modified file 'share/extensions/color_morehue.py' (properties changed: -x to +x) --- share/extensions/color_morehue.py 2009-12-23 15:38:43 +0000 +++ share/extensions/color_morehue.py 2012-02-16 12:59:31 +0000 @@ -1,3 +1,5 @@ +#!/usr/bin/env python + import coloreffect, inkex class C(coloreffect.ColorEffect): === modified file 'share/extensions/color_morelight.py' (properties changed: -x to +x) --- share/extensions/color_morelight.py 2009-12-23 15:38:43 +0000 +++ share/extensions/color_morelight.py 2012-02-16 12:59:31 +0000 @@ -1,3 +1,5 @@ +#!/usr/bin/env python + import coloreffect, inkex class C(coloreffect.ColorEffect): === modified file 'share/extensions/color_moresaturation.py' (properties changed: -x to +x) --- share/extensions/color_moresaturation.py 2009-12-23 15:38:43 +0000 +++ share/extensions/color_moresaturation.py 2012-02-16 12:59:31 +0000 @@ -1,3 +1,5 @@ +#!/usr/bin/env python + import coloreffect, inkex class C(coloreffect.ColorEffect): === modified file 'share/extensions/color_negative.py' (properties changed: -x to +x) --- share/extensions/color_negative.py 2009-12-23 15:38:43 +0000 +++ share/extensions/color_negative.py 2012-02-16 12:59:31 +0000 @@ -1,3 +1,5 @@ +#!/usr/bin/env python + import coloreffect class C(coloreffect.ColorEffect): @@ -5,4 +7,4 @@ return '%02x%02x%02x' % (255-r,255-g,255-b) c = C() -c.affect() \ No newline at end of file +c.affect() === modified file 'share/extensions/color_randomize.py' (properties changed: -x to +x) --- share/extensions/color_randomize.py 2009-12-23 15:38:43 +0000 +++ share/extensions/color_randomize.py 2012-02-16 12:59:31 +0000 @@ -1,3 +1,5 @@ +#!/usr/bin/env python + import coloreffect,random,inkex class C(coloreffect.ColorEffect): === modified file 'share/extensions/color_removeblue.py' (properties changed: -x to +x) --- share/extensions/color_removeblue.py 2009-12-23 15:38:43 +0000 +++ share/extensions/color_removeblue.py 2012-02-16 12:59:31 +0000 @@ -1,3 +1,5 @@ +#!/usr/bin/env python + import coloreffect class C(coloreffect.ColorEffect): @@ -5,4 +7,4 @@ return '%02x%02x%02x' % (r,g,0) c = C() -c.affect() \ No newline at end of file +c.affect() === modified file 'share/extensions/color_removegreen.py' (properties changed: -x to +x) --- share/extensions/color_removegreen.py 2009-12-23 15:38:43 +0000 +++ share/extensions/color_removegreen.py 2012-02-16 12:59:31 +0000 @@ -1,3 +1,5 @@ +#!/usr/bin/env python + import coloreffect class C(coloreffect.ColorEffect): @@ -5,4 +7,4 @@ return '%02x%02x%02x' % (r,0,b) c = C() -c.affect() \ No newline at end of file +c.affect() === modified file 'share/extensions/color_removered.py' (properties changed: -x to +x) --- share/extensions/color_removered.py 2009-12-23 15:38:43 +0000 +++ share/extensions/color_removered.py 2012-02-16 12:59:31 +0000 @@ -1,3 +1,5 @@ +#!/usr/bin/env python + import coloreffect class C(coloreffect.ColorEffect): @@ -5,4 +7,4 @@ return '%02x%02x%02x' % (0,g,b) c = C() -c.affect() \ No newline at end of file +c.affect() === modified file 'share/extensions/color_replace.py' (properties changed: -x to +x) --- share/extensions/color_replace.py 2009-12-23 15:38:43 +0000 +++ share/extensions/color_replace.py 2012-02-16 12:59:31 +0000 @@ -1,3 +1,5 @@ +#!/usr/bin/env python + import coloreffect import inkex === modified file 'share/extensions/color_rgbbarrel.py' (properties changed: -x to +x) --- share/extensions/color_rgbbarrel.py 2009-12-23 15:38:43 +0000 +++ share/extensions/color_rgbbarrel.py 2012-02-16 12:59:31 +0000 @@ -1,3 +1,5 @@ +#!/usr/bin/env python + import coloreffect class C(coloreffect.ColorEffect): @@ -5,4 +7,4 @@ return '%02x%02x%02x' % (b,r,g) c = C() -c.affect() \ No newline at end of file +c.affect() === modified file 'share/extensions/coloreffect.py' (properties changed: -x to +x) === modified file 'share/extensions/convert2dashes.py' (properties changed: -x to +x) --- share/extensions/convert2dashes.py 2009-12-23 15:38:43 +0000 +++ share/extensions/convert2dashes.py 2012-02-16 12:59:31 +0000 @@ -80,10 +80,12 @@ new[-1].append(sub[i]) i+=1 node.set('d',cubicsuperpath.formatPath(new)) + del style['stroke-dasharray'] + node.set('style', simplestyle.formatStyle(style)) if __name__ == '__main__': e = SplitIt() e.affect() -# vim: expandtab shiftwidth=4 tabstop=8 softtabstop=4 encoding=utf-8 textwidth=99 +# vim: expandtab shiftwidth=4 tabstop=8 softtabstop=4 fileencoding=utf-8 textwidth=99 === modified file 'share/extensions/cspsubdiv.py' (properties changed: -x to +x) --- share/extensions/cspsubdiv.py 2009-12-23 15:38:43 +0000 +++ share/extensions/cspsubdiv.py 2012-02-16 12:59:31 +0000 @@ -17,25 +17,21 @@ subdiv(sp,flat) def subdiv(sp,flat,i=1): - p0 = sp[i-1][1] - p1 = sp[i-1][2] - p2 = sp[i][0] - p3 = sp[i][1] - - b = (p0,p1,p2,p3) - m = maxdist(b) - if m <= flat: - try: - subdiv(sp,flat,i+1) - except IndexError: - pass - else: - one, two = beziersplitatt(b,0.5) - sp[i-1][2] = one[1] - sp[i][0] = two[2] - p = [one[2],one[3],two[1]] - sp[i:1] = [p] - subdiv(sp,flat,i) - - -# vim: expandtab shiftwidth=4 tabstop=8 softtabstop=4 encoding=utf-8 textwidth=99 + while i < len(sp): + p0 = sp[i-1][1] + p1 = sp[i-1][2] + p2 = sp[i][0] + p3 = sp[i][1] + + b = (p0,p1,p2,p3) + m = maxdist(b) + if m <= flat: + i += 1 + else: + one, two = beziersplitatt(b,0.5) + sp[i-1][2] = one[1] + sp[i][0] = two[2] + p = [one[2],one[3],two[1]] + sp[i:1] = [p] + +# vim: expandtab shiftwidth=4 tabstop=8 softtabstop=4 fileencoding=utf-8 textwidth=99 === modified file 'share/extensions/dimension.py' (properties changed: -x to +x) === modified file 'share/extensions/draw_from_triangle.py' (properties changed: -x to +x) === modified file 'share/extensions/dxf_input.py' (properties changed: -x to +x) === modified file 'share/extensions/dxf_outlines.inx' --- share/extensions/dxf_outlines.inx 2010-09-12 19:44:58 +0000 +++ share/extensions/dxf_outlines.inx 2012-02-16 12:59:31 +0000 @@ -9,12 +9,30 @@ false true + + <_item value="72./90">pt + <_item value="1./15">pc + <_item value="1.">px + <_item value="25.4/90">mm + <_item value="2.54/90">cm + <_item value=".0254/90">m + <_item value="1./90">in + <_item value="1./1080">ft + + + <_item value="latin_1">Latin 1 + <_item value="cp1250">CP 1250 + <_item value="cp1252">CP 1252 + <_item value="utf_8">UTF 8 + - <_param name="inputhelp" type="description" xml:space="preserve">- AutoCAD Release 13 format. -- assume svg drawing is in pixels, at 90 dpi. -- assume dxf drawing is in mm. -- only line and spline elements are supported. + <_param name="inputhelp" type="description" xml:space="preserve">- AutoCAD Release 14 DXF format. +- The base unit parameter specifies in what unit the coordinates are output (90 px = 1 in). +- Supported element types + - paths (lines and splines) + - rectangles + - clones (the crossreference to the original is lost) - ROBO-Master spline output is a specialized spline readable only by ROBO-Master and AutoDesk viewers, not Inkscape. - LWPOLYLINE output is a multiply-connected polyline, disable it to use a legacy version of the LINE output. @@ -22,7 +40,7 @@ .dxf image/dxf - <_filetypename>Desktop Cutting Plotter (R13) (*.dxf) + <_filetypename>Desktop Cutting Plotter (AutoCAD DXF R14) (*.dxf) <_filetypetooltip>Desktop Cutting Plotter true === modified file 'share/extensions/dxf_outlines.py' --- share/extensions/dxf_outlines.py 2011-07-10 11:35:30 +0000 +++ share/extensions/dxf_outlines.py 2012-02-16 12:59:31 +0000 @@ -3,6 +3,10 @@ Copyright (C) 2005,2007,2008 Aaron Spike, aaron@ekips.org Copyright (C) 2008,2010 Alvin Penner, penner@vaxxine.com +This file output script for Inkscape creates a AutoCAD R14 DXF file. +The spec can be found here: http://www.autodesk.com/techpubs/autocad/acadr14/dxf/index.htm. + +File history: - template dxf_outlines.dxf added Feb 2008 by Alvin Penner - ROBO-Master output option added Aug 2008 - ROBO-Master multispline output added Sept 2008 @@ -58,6 +62,8 @@ inkex.Effect.__init__(self) self.OptionParser.add_option("-R", "--ROBO", action="store", type="string", dest="ROBO") self.OptionParser.add_option("-P", "--POLY", action="store", type="string", dest="POLY") + self.OptionParser.add_option("--units", action="store", type="string", dest="units") + self.OptionParser.add_option("--encoding", action="store", type="string", dest="char_encode", default="latin_1") self.OptionParser.add_option("--tab", action="store", type="string", dest="tab") self.OptionParser.add_option("--inputhelp", action="store", type="string", dest="inputhelp") self.dxf = [] @@ -70,7 +76,7 @@ def output(self): print ''.join(self.dxf) def dxf_add(self, str): - self.dxf.append(str) + self.dxf.append(str.encode(self.options.char_encode)) def dxf_line(self,csp): self.handle += 1 self.dxf_add(" 0\nLINE\n 5\n%x\n100\nAcDbEntity\n 8\n%s\n 62\n%d\n100\nAcDbLine\n" % (self.handle, self.layer, self.color)) @@ -154,13 +160,13 @@ for i in range(fits): self.dxf_add(" 11\n%f\n 21\n%f\n 31\n0.0\n" % (self.xfit[i],self.yfit[i])) - def process_path(self, node, mat): + def process_shape(self, node, mat): rgb = (0,0,0) style = node.get('style') if style: style = simplestyle.parseStyle(style) if style.has_key('stroke'): - if style['stroke'] and style['stroke'] != 'none': + if style['stroke'] and style['stroke'] != 'none' and style['stroke'][0:3] != 'url': rgb = simplestyle.parseColor(style['stroke']) hsl = coloreffect.ColorEffect.rgb_to_hsl(coloreffect.ColorEffect(),rgb[0]/255.0,rgb[1]/255.0,rgb[2]/255.0) self.color = 7 # default is black @@ -202,6 +208,33 @@ else: self.dxf_spline([s[1],s[2],e[0],e[1]]) + def process_clone(self, node): + trans = node.get('transform') + x = node.get('x') + y = node.get('y') + mat = [[1.0, 0.0, 0.0], [0.0, 1.0, 0.0]] + if trans: + mat = simpletransform.composeTransform(mat, simpletransform.parseTransform(trans)) + if x: + mat = simpletransform.composeTransform(mat, [[1.0, 0.0, float(x)], [0.0, 1.0, 0.0]]) + if y: + mat = simpletransform.composeTransform(mat, [[1.0, 0.0, 0.0], [0.0, 1.0, float(y)]]) + # push transform + if trans or x or y: + self.groupmat.append(simpletransform.composeTransform(self.groupmat[-1], mat)) + # get referenced node + refid = node.get(inkex.addNS('href','xlink')) + refnode = self.getElementById(refid[1:]) + if refnode.tag == inkex.addNS('g','svg'): + self.process_group(refnode) + elif refnode.tag == inkex.addNS('use', 'svg'): + self.process_clone(refnode) + else: + self.process_shape(refnode, self.groupmat[-1]) + # pop transform + if trans or x or y: + self.groupmat.pop() + def process_group(self, group): if group.get(inkex.addNS('groupmode', 'inkscape')) == 'layer': layer = group.get(inkex.addNS('label', 'inkscape')) @@ -214,8 +247,10 @@ for node in group: if node.tag == inkex.addNS('g','svg'): self.process_group(node) + elif node.tag == inkex.addNS('use', 'svg'): + self.process_clone(node) else: - self.process_path(node, self.groupmat[-1]) + self.process_shape(node, self.groupmat[-1]) if trans: self.groupmat.pop() @@ -223,7 +258,7 @@ #References: Minimum Requirements for Creating a DXF File of a 3D Model By Paul Bourke # NURB Curves: A Guide for the Uninitiated By Philip J. Schneider # The NURBS Book By Les Piegl and Wayne Tiller (Springer, 1995) - self.dxf_add("999\nDXF created by Inkscape\n") + # self.dxf_add("999\nDXF created by Inkscape\n") # Some programs do not take comments in DXF files (KLayout 0.21.12 for example) self.dxf_add(dxf_templates.r14_header) for node in self.document.getroot().xpath('//svg:g', namespaces=inkex.NSS): if node.get(inkex.addNS('groupmode', 'inkscape')) == 'layer': @@ -236,7 +271,9 @@ self.dxf_add(" 0\nLAYER\n 5\n%x\n100\nAcDbSymbolTableRecord\n100\nAcDbLayerTableRecord\n 2\n%s\n 70\n0\n 6\nCONTINUOUS\n" % (i + 80, self.layers[i])) self.dxf_add(dxf_templates.r14_style) - scale = 25.4/90.0 + scale = eval(self.options.units) + if not scale: + scale = 25.4/90 # if no scale is specified, assume inch as baseunit h = inkex.unittouu(self.document.getroot().xpath('@height', namespaces=inkex.NSS)[0]) self.groupmat = [[[scale, 0.0, 0.0], [0.0, -scale, h*scale]]] doc = self.document.getroot() @@ -252,4 +289,4 @@ e.affect() -# vim: expandtab shiftwidth=4 tabstop=8 softtabstop=4 encoding=utf-8 textwidth=99 +# vim: expandtab shiftwidth=4 tabstop=8 softtabstop=4 fileencoding=utf-8 textwidth=99 === modified file 'share/extensions/dxf_templates.py' (properties changed: -x to +x) === modified file 'share/extensions/edge3d.py' (properties changed: -x to +x) === modified file 'share/extensions/embedimage.py' (properties changed: -x to +x) === modified file 'share/extensions/eqtexsvg.py' (properties changed: -x to +x) === modified file 'share/extensions/export_gimp_palette.py' (properties changed: -x to +x) === modified file 'share/extensions/extractimage.py' (properties changed: -x to +x) === modified file 'share/extensions/extrude.py' (properties changed: -x to +x) === modified file 'share/extensions/ffgeom.py' (properties changed: -x to +x) === modified file 'share/extensions/fig2dev-ext.py' (properties changed: -x to +x) === modified file 'share/extensions/funcplot.py' (properties changed: -x to +x) === modified file 'share/extensions/gears.py' (properties changed: -x to +x) === modified file 'share/extensions/generate_voronoi.py' (properties changed: -x to +x) === modified file 'share/extensions/gimp_xcf.py' --- share/extensions/gimp_xcf.py 2011-02-01 12:53:34 +0000 +++ share/extensions/gimp_xcf.py 2012-02-16 12:59:31 +0000 @@ -1,7 +1,7 @@ #!/usr/bin/env python ''' Copyright (C) 2006 Aaron Spike, aaron@ekips.org -Copyright (C) 2010 Nicolas Dufour, nicoduf@yahoo.fr (Windows support and various fixes) +Copyright (C) 2010-2011 Nicolas Dufour, nicoduf@yahoo.fr (Windows support and various fixes) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -120,7 +120,7 @@ else: name = id filename = os.path.join(self.tmp_dir, "%s.png" % id) - command = "inkscape -i %s -j %s -e %s %s " % (id, area, filename, svg_file) + command = "inkscape -i \"%s\" -j %s -e \"%s\" %s " % (id, area, filename, svg_file) if bsubprocess: p = Popen(command, shell=True, stdout=PIPE, stderr=PIPE) return_code = p.wait() === modified file 'share/extensions/grid_cartesian.py' (properties changed: -x to +x) === modified file 'share/extensions/grid_polar.py' (properties changed: -x to +x) === modified file 'share/extensions/hpgl_output.py' (properties changed: -x to +x) === modified file 'share/extensions/inkwebeffect.py' (properties changed: -x to +x) === modified file 'share/extensions/launch_webbrowser.py' (properties changed: -x to +x) === modified file 'share/extensions/lorem_ipsum.py' (properties changed: -x to +x) === modified file 'share/extensions/markers_strokepaint.py' (properties changed: -x to +x) === modified file 'share/extensions/measure.py' (properties changed: -x to +x) === modified file 'share/extensions/param_curves.py' (properties changed: -x to +x) === modified file 'share/extensions/pathalongpath.py' (properties changed: -x to +x) === modified file 'share/extensions/pathmodifier.py' (properties changed: -x to +x) === modified file 'share/extensions/pathscatter.py' (properties changed: -x to +x) === modified file 'share/extensions/perfectboundcover.py' (properties changed: -x to +x) === modified file 'share/extensions/perspective.py' --- share/extensions/perspective.py 2009-12-23 15:38:43 +0000 +++ share/extensions/perspective.py 2012-02-16 12:59:31 +0000 @@ -18,7 +18,7 @@ Perspective approach & math by Dmitry Platonov, shadowjack@mail.ru, 2006 """ -import sys, inkex, os, re, simplepath, cubicsuperpath +import sys, inkex, os, re, simplepath, cubicsuperpath, simpletransform, voronoi2svg import gettext _ = gettext.gettext from ffgeom import * @@ -69,10 +69,12 @@ exit() if obj.tag == inkex.addNS('path','svg') or obj.tag == inkex.addNS('g','svg'): if envelope.tag == inkex.addNS('path','svg'): + mat = simpletransform.composeParents(envelope, [[1.0, 0.0, 0.0], [0.0, 1.0, 0.0]]) path = cubicsuperpath.parsePath(envelope.get('d')) if len(path) < 1 or len(path[0]) < 4: inkex.errormsg(_("This extension requires that the second selected path be four nodes long.")) exit() + simpletransform.applyTransformToPath(mat, path) dp = zeros((4,2), dtype=float64) for i in range(4): dp[i][0] = path[0][i][1][0] @@ -127,7 +129,6 @@ if obj.tag == inkex.addNS("g",'svg'): self.process_group(obj,projmatrix) - def process_group(self,group,m): for node in group: if node.tag == inkex.addNS('path','svg'): @@ -135,19 +136,20 @@ if node.tag == inkex.addNS('g','svg'): self.process_group(node,m) - def process_path(self,path,m): + mat = simpletransform.composeParents(path, [[1.0, 0.0, 0.0], [0.0, 1.0, 0.0]]) d = path.get('d') p = cubicsuperpath.parsePath(d) + simpletransform.applyTransformToPath(mat, p) for subs in p: for csp in subs: csp[0] = self.project_point(csp[0],m) csp[1] = self.project_point(csp[1],m) csp[2] = self.project_point(csp[2],m) + mat = voronoi2svg.Voronoi2svg().invertTransform(mat) + simpletransform.applyTransformToPath(mat, p) path.set('d',cubicsuperpath.formatPath(p)) - - def project_point(self,p,m): x = p[0] y = p[1] @@ -158,4 +160,4 @@ e.affect() -# vim: expandtab shiftwidth=4 tabstop=8 softtabstop=4 encoding=utf-8 textwidth=99 +# vim: expandtab shiftwidth=4 tabstop=8 softtabstop=4 fileencoding=utf-8 textwidth=99 === modified file 'share/extensions/pixelsnap.py' (properties changed: -x to +x) === modified file 'share/extensions/plt_output.py' (properties changed: -x to +x) === modified file 'share/extensions/polyhedron_3d.py' (properties changed: -x to +x) === modified file 'share/extensions/printing-marks.py' (properties changed: -x to +x) === modified file 'share/extensions/ps2pdf-ext.py' (properties changed: -x to +x) === modified file 'share/extensions/render_alphabetsoup.py' (properties changed: -x to +x) === modified file 'share/extensions/render_alphabetsoup_config.py' (properties changed: -x to +x) === modified file 'share/extensions/render_barcode.py' (properties changed: -x to +x) --- share/extensions/render_barcode.py 2009-12-23 15:38:43 +0000 +++ share/extensions/render_barcode.py 2012-02-16 12:59:31 +0000 @@ -1,3 +1,4 @@ +#!/usr/bin/env python ''' Copyright (C) 2007 Martin Owens === modified file 'share/extensions/render_barcode_datamatrix.py' (properties changed: -x to +x) === modified file 'share/extensions/restack.py' (properties changed: -x to +x) === modified file 'share/extensions/rubberstretch.py' (properties changed: -x to +x) === modified file 'share/extensions/run_command.py' (properties changed: -x to +x) --- share/extensions/run_command.py 2010-09-12 19:44:58 +0000 +++ share/extensions/run_command.py 2012-02-16 12:59:31 +0000 @@ -1,3 +1,5 @@ +#!/usr/bin/env python + import os import sys import tempfile === modified file 'share/extensions/simplestyle.py' --- share/extensions/simplestyle.py 2009-12-23 15:38:43 +0000 +++ share/extensions/simplestyle.py 2012-02-16 12:59:31 +0000 @@ -176,10 +176,12 @@ if s is None: return {} else: - return dict([i.split(":") for i in s.split(";") if len(i)]) + return dict([[x.strip() for x in i.split(":")] for i in s.split(";") if len(i)]) + def formatStyle(a): """Format an inline style attribute from a dictionary""" return ";".join([att+":"+str(val) for att,val in a.iteritems()]) + def isColor(c): """Determine if its a color we can use. If not, leave it unchanged.""" if c.startswith('#') and (len(c)==4 or len(c)==7): @@ -205,27 +207,35 @@ if len(numbers) == 3: for num in numbers: if num.endswith(r'%'): - converted_numbers.append( int(int(num[0:-1])*255/100)) + converted_numbers.append(int(float(num[0:-1])*255/100)) else: converted_numbers.append(int(num)) return tuple(converted_numbers) else: return (0,0,0) - - r=int(c[1:3],16) - g=int(c[3:5],16) - b=int(c[5:],16) + try: + r=int(c[1:3],16) + g=int(c[3:5],16) + b=int(c[5:],16) + except: + # unknown color ... + # Return a default color. Maybe not the best thing to do but probably + # better than raising an exception. + return(0,0,0) return (r,g,b) def formatColoria(a): """int array to #rrggbb""" return '#%02x%02x%02x' % (a[0],a[1],a[2]) + def formatColorfa(a): """float array to #rrggbb""" return '#%02x%02x%02x' % (int(round(a[0]*255)),int(round(a[1]*255)),int(round(a[2]*255))) + def formatColor3i(r,g,b): """3 ints to #rrggbb""" return '#%02x%02x%02x' % (r,g,b) + def formatColor3f(r,g,b): """3 floats to #rrggbb""" return '#%02x%02x%02x' % (int(round(r*255)),int(round(g*255)),int(round(b*255))) === modified file 'share/extensions/simpletransform.py' (properties changed: -x to +x) --- share/extensions/simpletransform.py 2009-12-23 15:38:43 +0000 +++ share/extensions/simpletransform.py 2012-02-16 12:59:31 +0000 @@ -1,6 +1,7 @@ #!/usr/bin/env python ''' Copyright (C) 2006 Jean-Francois Barraud, barraud@math.univ-lille1.fr +Copyright (C) 2010 Alvin Penner, penner@vaxxine.com This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -88,6 +89,14 @@ v2 = M1[1][0]*M2[0][2] + M1[1][1]*M2[1][2] + M1[1][2] return [[a11,a12,v1],[a21,a22,v2]] +def composeParents(node, mat): + trans = node.get('transform') + if trans: + mat = composeTransform(parseTransform(trans), mat) + if node.getparent().tag == inkex.addNS('g','svg'): + mat = composeParents(node.getparent(), mat) + return mat + def applyTransformToNode(mat,node): m=parseTransform(node.get("transform")) newtransf=formatTransform(composeTransform(mat,m)) @@ -142,6 +151,44 @@ yMax = max(yMax,pt[1]) return xmin,xMax,ymin,yMax +def refinedBBox(path): + xmin,xMax,ymin,yMax = path[0][0][1][0],path[0][0][1][0],path[0][0][1][1],path[0][0][1][1] + for pathcomp in path: + for i in range(1, len(pathcomp)): + cmin, cmax = cubicExtrema(pathcomp[i-1][1][0], pathcomp[i-1][2][0], pathcomp[i][0][0], pathcomp[i][1][0]) + xmin = min(xmin, cmin) + xMax = max(xMax, cmax) + cmin, cmax = cubicExtrema(pathcomp[i-1][1][1], pathcomp[i-1][2][1], pathcomp[i][0][1], pathcomp[i][1][1]) + ymin = min(ymin, cmin) + yMax = max(yMax, cmax) + return xmin,xMax,ymin,yMax + +def cubicExtrema(y0, y1, y2, y3): + cmin = min(y0, y3) + cmax = max(y0, y3) + d1 = y1 - y0 + d2 = y2 - y1 + d3 = y3 - y2 + if (d1 - 2*d2 + d3): + if (d2*d2 > d1*d3): + t = (d1 - d2 + math.sqrt(d2*d2 - d1*d3))/(d1 - 2*d2 + d3) + if (t > 0) and (t < 1): + y = y0*(1-t)*(1-t)*(1-t) + 3*y1*t*(1-t)*(1-t) + 3*y2*t*t*(1-t) + y3*t*t*t + cmin = min(cmin, y) + cmax = max(cmax, y) + t = (d1 - d2 - math.sqrt(d2*d2 - d1*d3))/(d1 - 2*d2 + d3) + if (t > 0) and (t < 1): + y = y0*(1-t)*(1-t)*(1-t) + 3*y1*t*(1-t)*(1-t) + 3*y2*t*t*(1-t) + y3*t*t*t + cmin = min(cmin, y) + cmax = max(cmax, y) + elif (d3 - d1): + t = -d1/(d3 - d1) + if (t > 0) and (t < 1): + y = y0*(1-t)*(1-t)*(1-t) + 3*y1*t*(1-t)*(1-t) + 3*y2*t*t*(1-t) + y3*t*t*t + cmin = min(cmin, y) + cmax = max(cmax, y) + return cmin, cmax + def computeBBox(aList,mat=[[1,0,0],[0,1,0]]): bbox=None for node in aList: @@ -153,7 +200,7 @@ d = node.get('d') elif node.get('points'): d = 'M' + node.get('points') - elif node.tag in [ inkex.addNS('rect','svg'), 'rect' ]: + elif node.tag in [ inkex.addNS('rect','svg'), 'rect', inkex.addNS('image','svg'), 'image' ]: d = 'M' + node.get('x', '0') + ',' + node.get('y', '0') + \ 'h' + node.get('width') + 'v' + node.get('height') + \ 'h-' + node.get('width') @@ -179,7 +226,7 @@ if d is not None: p = cubicsuperpath.parsePath(d) applyTransformToPath(m,p) - bbox=boxunion(roughBBox(p),bbox) + bbox=boxunion(refinedBBox(p),bbox) elif node.tag == inkex.addNS('use','svg') or node.tag=='use': refid=node.get(inkex.addNS('href','xlink')) @@ -191,4 +238,4 @@ return bbox -# vim: expandtab shiftwidth=4 tabstop=8 softtabstop=4 encoding=utf-8 textwidth=99 +# vim: expandtab shiftwidth=4 tabstop=8 softtabstop=4 fileencoding=utf-8 textwidth=99 === modified file 'share/extensions/sk1_output.py' (properties changed: -x to +x) === modified file 'share/extensions/spirograph.py' (properties changed: -x to +x) === modified file 'share/extensions/split.py' (properties changed: -x to +x) === modified file 'share/extensions/summersnight.py' --- share/extensions/summersnight.py 2009-12-23 15:38:43 +0000 +++ share/extensions/summersnight.py 2012-02-16 12:59:31 +0000 @@ -17,7 +17,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA """ -import inkex, os, simplepath, cubicsuperpath +import inkex, os, simplepath, cubicsuperpath, simpletransform, voronoi2svg from ffgeom import * import gettext _ = gettext.gettext @@ -45,10 +45,12 @@ if obj.tag == inkex.addNS('path','svg') or obj.tag == inkex.addNS('g','svg'): if trafo.tag == inkex.addNS('path','svg'): #distil trafo into four node points + mat = simpletransform.composeParents(trafo, [[1.0, 0.0, 0.0], [0.0, 1.0, 0.0]]) trafo = cubicsuperpath.parsePath(trafo.get('d')) if len(trafo[0]) < 4: inkex.errormsg(_("This extension requires that the second selected path be four nodes long.")) exit() + simpletransform.applyTransformToPath(mat, trafo) trafo = [[Point(csp[1][0],csp[1][1]) for csp in subs] for subs in trafo][0][:4] #vectors pointing away from the trafo origin @@ -95,13 +97,17 @@ self.process_group(node) def process_path(self,path): + mat = simpletransform.composeParents(path, [[1.0, 0.0, 0.0], [0.0, 1.0, 0.0]]) d = path.get('d') p = cubicsuperpath.parsePath(d) + simpletransform.applyTransformToPath(mat, p) for subs in p: for csp in subs: csp[0] = self.trafopoint(csp[0]) csp[1] = self.trafopoint(csp[1]) csp[2] = self.trafopoint(csp[2]) + mat = voronoi2svg.Voronoi2svg().invertTransform(mat) + simpletransform.applyTransformToPath(mat, p) path.set('d',cubicsuperpath.formatPath(p)) def trafopoint(self,(x,y)): @@ -121,4 +127,4 @@ e.affect() -# vim: expandtab shiftwidth=4 tabstop=8 softtabstop=4 encoding=utf-8 textwidth=99 +# vim: expandtab shiftwidth=4 tabstop=8 softtabstop=4 fileencoding=utf-8 textwidth=99 === modified file 'share/extensions/svg_and_media_zip_output.py' (properties changed: -x to +x) === modified file 'share/extensions/svg_regex.py' (properties changed: -x to +x) === modified file 'share/extensions/test/Makefile.in' --- share/extensions/test/Makefile.in 2011-07-10 11:35:30 +0000 +++ share/extensions/test/Makefile.in 2012-02-16 12:59:31 +0000 @@ -1,9 +1,9 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. +# Makefile.in generated by automake 1.11.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software +# Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -51,11 +51,11 @@ CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = -AM_V_GEN = $(am__v_GEN_$(V)) -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; -AM_V_at = $(am__v_at_$(V)) -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ SOURCES = DIST_SOURCES = @@ -106,6 +106,10 @@ GNOME_VFS_CFLAGS = @GNOME_VFS_CFLAGS@ GNOME_VFS_LIBS = @GNOME_VFS_LIBS@ GREP = @GREP@ +GTKMM_2_22_CFLAGS = @GTKMM_2_22_CFLAGS@ +GTKMM_2_22_LIBS = @GTKMM_2_22_LIBS@ +GTKMM_2_24_CFLAGS = @GTKMM_2_24_CFLAGS@ +GTKMM_2_24_LIBS = @GTKMM_2_24_LIBS@ IMAGEMAGICK_CFLAGS = @IMAGEMAGICK_CFLAGS@ IMAGEMAGICK_LIBS = @IMAGEMAGICK_LIBS@ INKBOARD_CFLAGS = @INKBOARD_CFLAGS@ @@ -124,6 +128,12 @@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +LCMS2_CFLAGS = @LCMS2_CFLAGS@ +LCMS2_LIBS = @LCMS2_LIBS@ LCMS_CFLAGS = @LCMS_CFLAGS@ LCMS_LIBS = @LCMS_LIBS@ LDFLAGS = @LDFLAGS@ @@ -151,8 +161,6 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ -PANGOFT2_CFLAGS = @PANGOFT2_CFLAGS@ -PANGOFT2_LIBS = @PANGOFT2_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL_CFLAGS = @PERL_CFLAGS@ PERL_LIBS = @PERL_LIBS@ @@ -181,8 +189,6 @@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WIN32_CFLAGS = @WIN32_CFLAGS@ -XFT_CFLAGS = @XFT_CFLAGS@ -XFT_LIBS = @XFT_LIBS@ XGETTEXT = @XGETTEXT@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ @@ -216,6 +222,8 @@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ @@ -374,10 +382,15 @@ installcheck: installcheck-am install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi mostlyclean-generic: clean-generic: === modified file 'share/extensions/text_braille.py' (properties changed: -x to +x) --- share/extensions/text_braille.py 2009-12-23 15:38:43 +0000 +++ share/extensions/text_braille.py 2012-02-16 12:59:31 +0000 @@ -1,3 +1,5 @@ +#!/usr/bin/env python + #encoding: utf-8 import chardataeffect, inkex, string === modified file 'share/extensions/text_flipcase.py' (properties changed: -x to +x) --- share/extensions/text_flipcase.py 2009-12-23 15:38:43 +0000 +++ share/extensions/text_flipcase.py 2012-02-16 12:59:31 +0000 @@ -1,3 +1,5 @@ +#!/usr/bin/env python + import chardataeffect, inkex, string class C(chardataeffect.CharDataEffect): === modified file 'share/extensions/text_lowercase.py' (properties changed: -x to +x) --- share/extensions/text_lowercase.py 2009-12-23 15:38:43 +0000 +++ share/extensions/text_lowercase.py 2012-02-16 12:59:31 +0000 @@ -1,3 +1,5 @@ +#!/usr/bin/env python + import chardataeffect, inkex, string class C(chardataeffect.CharDataEffect): === modified file 'share/extensions/text_randomcase.py' (properties changed: -x to +x) --- share/extensions/text_randomcase.py 2009-12-23 15:38:43 +0000 +++ share/extensions/text_randomcase.py 2012-02-16 12:59:31 +0000 @@ -1,3 +1,5 @@ +#!/usr/bin/env python + import chardataeffect, inkex, string import random === modified file 'share/extensions/text_replace.py' (properties changed: -x to +x) --- share/extensions/text_replace.py 2009-12-23 15:38:43 +0000 +++ share/extensions/text_replace.py 2012-02-16 12:59:31 +0000 @@ -1,3 +1,5 @@ +#!/usr/bin/env python + import chardataeffect, inkex, string class C(chardataeffect.CharDataEffect): === modified file 'share/extensions/text_sentencecase.py' (properties changed: -x to +x) --- share/extensions/text_sentencecase.py 2009-12-23 15:38:43 +0000 +++ share/extensions/text_sentencecase.py 2012-02-16 12:59:31 +0000 @@ -1,3 +1,5 @@ +#!/usr/bin/env python + import chardataeffect, inkex, string class C(chardataeffect.CharDataEffect): === modified file 'share/extensions/text_titlecase.py' (properties changed: -x to +x) --- share/extensions/text_titlecase.py 2009-12-23 15:38:43 +0000 +++ share/extensions/text_titlecase.py 2012-02-16 12:59:31 +0000 @@ -1,3 +1,5 @@ +#!/usr/bin/env python + import chardataeffect, inkex, string class C(chardataeffect.CharDataEffect): === modified file 'share/extensions/text_uppercase.py' (properties changed: -x to +x) --- share/extensions/text_uppercase.py 2009-12-23 15:38:43 +0000 +++ share/extensions/text_uppercase.py 2012-02-16 12:59:31 +0000 @@ -1,3 +1,5 @@ +#!/usr/bin/env python + import chardataeffect, inkex, string class C(chardataeffect.CharDataEffect): === modified file 'share/extensions/triangle.py' (properties changed: -x to +x) === modified file 'share/extensions/uniconv-ext.py' (properties changed: -x to +x) === modified file 'share/extensions/uniconv_output.py' (properties changed: -x to +x) === modified file 'share/extensions/voronoi.py' (properties changed: -x to +x) --- share/extensions/voronoi.py 2010-09-12 19:44:58 +0000 +++ share/extensions/voronoi.py 2012-02-16 12:59:31 +0000 @@ -1,3 +1,4 @@ +#!/usr/bin/env python ############################################################################# # # Voronoi diagram calculator/ Delaunay triangulator @@ -747,7 +748,7 @@ """ siteList = SiteList(points) context = Context() - context.triangulate = true + context.triangulate = True voronoi(siteList,context) return context.triangles === added file 'share/extensions/voronoi2svg.py' --- share/extensions/voronoi2svg.py 1970-01-01 00:00:00 +0000 +++ share/extensions/voronoi2svg.py 2012-02-16 12:59:31 +0000 @@ -0,0 +1,362 @@ +#!/usr/bin/env python +""" + +voronoi2svg.py +Create Voronoi diagram from seeds (midpoints of selected objects) + +- Voronoi Diagram algorithm and C code by Steven Fortune, 1987, http://ect.bell-labs.com/who/sjf/ +- Python translation to file voronoi.py by Bill Simons, 2005, http://www.oxfish.com/ + +Copyright (C) 2011 Vincent Nivoliers and contributors + +Contributors + ~suv, + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +""" +import sys, os +import inkex, simplestyle, simplepath, simpletransform +import voronoi +import gettext +_ = gettext.gettext + +class Point: + def __init__(self,x,y): + self.x = x + self.y = y + +class Voronoi2svg(inkex.Effect): + def __init__(self): + inkex.Effect.__init__(self) + + #{{{ Additional options + + self.OptionParser.add_option( + "--tab", + action="store", + type="string", + dest="tab") + self.OptionParser.add_option( + '--diagram-type', + action = 'store', + type = 'choice', choices=['Voronoi','Delaunay','Both'], + default = 'Voronoi', + dest='diagramType', + help = 'Defines the type of the diagram') + self.OptionParser.add_option( + '--clip-box', + action = 'store', + type = 'choice', choices=['Page','Automatic from seeds'], + default = 'Page', + dest='clipBox', + help = 'Defines the bounding box of the Voronoi diagram') + self.OptionParser.add_option( + '--show-clip-box', + action = 'store', + type = 'inkbool', + default = False, + dest='showClipBox', + help = 'Set this to true to write the bounding box') + + #}}} + + #{{{ Clipping a line by a bounding box + def dot(self,x,y): + return x[0]*y[0] + x[1]*y[1] + + def intersectLineSegment(self,line,v1,v2): + s1 = self.dot(line,v1) - line[2] + s2 = self.dot(line,v2) - line[2] + if s1*s2 > 0: + return (0,0,False) + else: + tmp = self.dot(line,v1)-self.dot(line,v2) + if tmp == 0: + return(0,0,False) + u = (line[2]-self.dot(line,v2))/tmp + v = 1-u + return (u*v1[0]+v*v2[0],u*v1[1]+v*v2[1],True) + + def clipEdge(self,vertices, lines, edge, bbox): + #bounding box corners + bbc = [] + bbc.append((bbox[0],bbox[2])) + bbc.append((bbox[1],bbox[2])) + bbc.append((bbox[1],bbox[3])) + bbc.append((bbox[0],bbox[3])) + + #record intersections of the line with bounding box edges + line = (lines[edge[0]]) + interpoints = [] + for i in range(4): + p = self.intersectLineSegment(line,bbc[i],bbc[(i+1)%4]) + if (p[2]): + interpoints.append(p) + + #if the edge has no intersection, return empty intersection + if (len(interpoints)<2): + return [] + + if (len(interpoints)>2): #happens when the edge crosses the corner of the box + interpoints = list(set(interpoints)) #remove doubles + + #points of the edge + v1 = vertices[edge[1]] + interpoints.append((v1[0],v1[1],False)) + v2 = vertices[edge[2]] + interpoints.append((v2[0],v2[1],False)) + + #sorting the points in the widest range to get them in order on the line + minx = interpoints[0][0] + maxx = interpoints[0][0] + miny = interpoints[0][1] + maxy = interpoints[0][1] + for point in interpoints: + minx = min(point[0],minx) + maxx = max(point[0],maxx) + miny = min(point[1],miny) + maxy = max(point[1],maxy) + + if (maxx-minx) > (maxy-miny): + interpoints.sort() + else: + interpoints.sort(key=lambda pt: pt[1]) + + start = [] + inside = False #true when the part of the line studied is in the clip box + startWrite = False #true when the part of the line is in the edge segment + for point in interpoints: + if point[2]: #The point is a bounding box intersection + if inside: + if startWrite: + return [[start[0],start[1]],[point[0],point[1]]] + else: + return [] + else: + if startWrite: + start = point + inside = not inside + else: #The point is a segment endpoint + if startWrite: + if inside: + #a vertex ends the line inside the bounding box + return [[start[0],start[1]],[point[0],point[1]]] + else: + return [] + else: + if inside: + start = point + startWrite = not startWrite + + #}}} + + #{{{ Transformation helpers + + def invertTransform(self,mat): + det = mat[0][0]*mat[1][1] - mat[0][1]*mat[1][0] + if det !=0: #det is 0 only in case of 0 scaling + #invert the rotation/scaling part + a11 = mat[1][1]/det + a12 = -mat[0][1]/det + a21 = -mat[1][0]/det + a22 = mat[0][0]/det + + #invert the translational part + a13 = -(a11*mat[0][2] + a12*mat[1][2]) + a23 = -(a21*mat[0][2] + a22*mat[1][2]) + + return [[a11,a12,a13],[a21,a22,a23]] + else: + return[[0,0,-mat[0][2]],[0,0,-mat[1][2]]] + + def getGlobalTransform(self,node): + parent = node.getparent() + myTrans = simpletransform.parseTransform(node.get('transform')) + if myTrans: + if parent is not None: + parentTrans = self.getGlobalTransform(parent) + if parentTrans: + return simpletransform.composeTransform(parentTrans,myTrans) + else: + return myTrans + else: + if parent is not None: + return self.getGlobalTransform(parent) + else: + return None + + + #}}} + + def effect(self): + + #{{{ Check that elements have been selected + + if len(self.options.ids) == 0: + inkex.errormsg(_("Please select objects!")) + return + + #}}} + + #{{{ Drawing styles + + linestyle = { + 'stroke' : '#000000', + 'linewidth' : '1', + 'fill' : 'none' + } + + facestyle = { + 'stroke' : '#ff0000', + 'linewidth' : '1', + 'fill' : 'none' + } + + #}}} + + #{{{ Handle the transformation of the current group + parentGroup = self.getParentNode(self.selected[self.options.ids[0]]) + + trans = self.getGlobalTransform(parentGroup) + invtrans = None + if trans: + invtrans = self.invertTransform(trans) + + #}}} + + #{{{ Recovery of the selected objects + + pts = [] + nodes = [] + seeds = [] + + + for id in self.options.ids: + node = self.selected[id] + nodes.append(node) + bbox = simpletransform.computeBBox([node]) + if bbox: + cx = 0.5*(bbox[0]+bbox[1]) + cy = 0.5*(bbox[2]+bbox[3]) + pt = [cx,cy] + if trans: + simpletransform.applyTransformToPoint(trans,pt) + pts.append(Point(pt[0],pt[1])) + seeds.append(Point(cx,cy)) + + #}}} + + #{{{ Creation of groups to store the result + + if self.options.diagramType != 'Delaunay': + # Voronoi + groupVoronoi = inkex.etree.SubElement(parentGroup,inkex.addNS('g','svg')) + groupVoronoi.set(inkex.addNS('label', 'inkscape'), 'Voronoi') + if invtrans: + simpletransform.applyTransformToNode(invtrans,groupVoronoi) + if self.options.diagramType != 'Voronoi': + # Delaunay + groupDelaunay = inkex.etree.SubElement(parentGroup,inkex.addNS('g','svg')) + groupDelaunay.set(inkex.addNS('label', 'inkscape'), 'Delaunay') + + #}}} + + #{{{ Clipping box handling + + if self.options.diagramType != 'Delaunay': + #Clipping bounding box creation + gBbox = simpletransform.computeBBox(nodes) + + #Clipbox is the box to which the Voronoi diagram is restricted + clipBox = () + if self.options.clipBox == 'Page': + svg = self.document.getroot() + w = inkex.unittouu(svg.get('width')) + h = inkex.unittouu(svg.get('height')) + clipBox = (0,w,0,h) + else: + clipBox = (2*gBbox[0]-gBbox[1], + 2*gBbox[1]-gBbox[0], + 2*gBbox[2]-gBbox[3], + 2*gBbox[3]-gBbox[2]) + + #Safebox adds points so that no Voronoi edge in clipBox is infinite + safeBox = (2*clipBox[0]-clipBox[1], + 2*clipBox[1]-clipBox[0], + 2*clipBox[2]-clipBox[3], + 2*clipBox[3]-clipBox[2]) + pts.append(Point(safeBox[0],safeBox[2])) + pts.append(Point(safeBox[1],safeBox[2])) + pts.append(Point(safeBox[1],safeBox[3])) + pts.append(Point(safeBox[0],safeBox[3])) + + if self.options.showClipBox: + #Add the clip box to the drawing + rect = inkex.etree.SubElement(groupVoronoi,inkex.addNS('rect','svg')) + rect.set('x',str(clipBox[0])) + rect.set('y',str(clipBox[2])) + rect.set('width',str(clipBox[1]-clipBox[0])) + rect.set('height',str(clipBox[3]-clipBox[2])) + rect.set('style',simplestyle.formatStyle(linestyle)) + + #}}} + + #{{{ Voronoi diagram generation + + if self.options.diagramType != 'Delaunay': + vertices,lines,edges = voronoi.computeVoronoiDiagram(pts) + for edge in edges: + line = edge[0] + vindex1 = edge[1] + vindex2 = edge[2] + if (vindex1 <0) or (vindex2 <0): + continue # infinite lines have no need to be handled in the clipped box + else: + segment = self.clipEdge(vertices,lines,edge,clipBox) + #segment = [vertices[vindex1],vertices[vindex2]] # deactivate clipping + if len(segment)>1: + v1 = segment[0] + v2 = segment[1] + cmds = [['M',[v1[0],v1[1]]],['L',[v2[0],v2[1]]]] + path = inkex.etree.Element(inkex.addNS('path','svg')) + path.set('d',simplepath.formatPath(cmds)) + path.set('style',simplestyle.formatStyle(linestyle)) + groupVoronoi.append(path) + + if self.options.diagramType != 'Voronoi': + triangles = voronoi.computeDelaunayTriangulation(seeds) + for triangle in triangles: + p1 = seeds[triangle[0]] + p2 = seeds[triangle[1]] + p3 = seeds[triangle[2]] + cmds = [['M',[p1.x,p1.y]], + ['L',[p2.x,p2.y]], + ['L',[p3.x,p3.y]], + ['Z',[]]] + path = inkex.etree.Element(inkex.addNS('path','svg')) + path.set('d',simplepath.formatPath(cmds)) + path.set('style',simplestyle.formatStyle(facestyle)) + groupDelaunay.append(path) + + #}}} + + +if __name__ == "__main__": + e = Voronoi2svg() + e.affect() + + +# vim: expandtab shiftwidth=2 tabstop=2 softtabstop=2 fileencoding=utf-8 textwidth=99 === modified file 'share/extensions/web-transmit-att.py' (properties changed: -x to +x) === modified file 'share/extensions/webslicer_create_group.py' (properties changed: -x to +x) === modified file 'share/extensions/webslicer_effect.py' (properties changed: -x to +x) === modified file 'share/extensions/whirl.py' (properties changed: -x to +x) === modified file 'share/extensions/wireframe_sphere.py' (properties changed: -x to +x) === modified file 'share/extensions/wmf_output.py' (properties changed: -x to +x) === modified file 'share/extensions/xaml2svg/Makefile.in' --- share/extensions/xaml2svg/Makefile.in 2011-07-10 11:35:30 +0000 +++ share/extensions/xaml2svg/Makefile.in 2012-02-16 12:59:31 +0000 @@ -1,9 +1,9 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. +# Makefile.in generated by automake 1.11.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software +# Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -48,11 +48,11 @@ CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = -AM_V_GEN = $(am__v_GEN_$(V)) -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; -AM_V_at = $(am__v_at_$(V)) -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ SOURCES = DIST_SOURCES = @@ -77,6 +77,12 @@ am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } am__installdirs = "$(DESTDIR)$(xaml2svg_otherstuffdir)" DATA = $(xaml2svg_otherstuff_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) @@ -126,6 +132,10 @@ GNOME_VFS_CFLAGS = @GNOME_VFS_CFLAGS@ GNOME_VFS_LIBS = @GNOME_VFS_LIBS@ GREP = @GREP@ +GTKMM_2_22_CFLAGS = @GTKMM_2_22_CFLAGS@ +GTKMM_2_22_LIBS = @GTKMM_2_22_LIBS@ +GTKMM_2_24_CFLAGS = @GTKMM_2_24_CFLAGS@ +GTKMM_2_24_LIBS = @GTKMM_2_24_LIBS@ IMAGEMAGICK_CFLAGS = @IMAGEMAGICK_CFLAGS@ IMAGEMAGICK_LIBS = @IMAGEMAGICK_LIBS@ INKBOARD_CFLAGS = @INKBOARD_CFLAGS@ @@ -144,6 +154,12 @@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +LCMS2_CFLAGS = @LCMS2_CFLAGS@ +LCMS2_LIBS = @LCMS2_LIBS@ LCMS_CFLAGS = @LCMS_CFLAGS@ LCMS_LIBS = @LCMS_LIBS@ LDFLAGS = @LDFLAGS@ @@ -171,8 +187,6 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ -PANGOFT2_CFLAGS = @PANGOFT2_CFLAGS@ -PANGOFT2_LIBS = @PANGOFT2_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL_CFLAGS = @PERL_CFLAGS@ PERL_LIBS = @PERL_LIBS@ @@ -201,8 +215,6 @@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WIN32_CFLAGS = @WIN32_CFLAGS@ -XFT_CFLAGS = @XFT_CFLAGS@ -XFT_LIBS = @XFT_LIBS@ XGETTEXT = @XGETTEXT@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ @@ -236,6 +248,8 @@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ @@ -322,9 +336,7 @@ @$(NORMAL_UNINSTALL) @list='$(xaml2svg_otherstuff_DATA)'; test -n "$(xaml2svg_otherstuffdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - test -n "$$files" || exit 0; \ - echo " ( cd '$(DESTDIR)$(xaml2svg_otherstuffdir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(xaml2svg_otherstuffdir)" && rm -f $$files + dir='$(DESTDIR)$(xaml2svg_otherstuffdir)'; $(am__uninstall_files_from_dir) tags: TAGS TAGS: @@ -379,10 +391,15 @@ installcheck: installcheck-am install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi mostlyclean-generic: clean-generic: === modified file 'share/extensions/yocto_css.py' (properties changed: -x to +x) === modified file 'share/filters/Makefile.in' --- share/filters/Makefile.in 2011-07-10 11:35:30 +0000 +++ share/filters/Makefile.in 2012-02-16 12:59:31 +0000 @@ -1,9 +1,9 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. +# Makefile.in generated by automake 1.11.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software +# Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -48,11 +48,11 @@ CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = -AM_V_GEN = $(am__v_GEN_$(V)) -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; -AM_V_at = $(am__v_at_$(V)) -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ SOURCES = DIST_SOURCES = @@ -77,6 +77,12 @@ am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } am__installdirs = "$(DESTDIR)$(filtersdir)" DATA = $(filters_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) @@ -126,6 +132,10 @@ GNOME_VFS_CFLAGS = @GNOME_VFS_CFLAGS@ GNOME_VFS_LIBS = @GNOME_VFS_LIBS@ GREP = @GREP@ +GTKMM_2_22_CFLAGS = @GTKMM_2_22_CFLAGS@ +GTKMM_2_22_LIBS = @GTKMM_2_22_LIBS@ +GTKMM_2_24_CFLAGS = @GTKMM_2_24_CFLAGS@ +GTKMM_2_24_LIBS = @GTKMM_2_24_LIBS@ IMAGEMAGICK_CFLAGS = @IMAGEMAGICK_CFLAGS@ IMAGEMAGICK_LIBS = @IMAGEMAGICK_LIBS@ INKBOARD_CFLAGS = @INKBOARD_CFLAGS@ @@ -144,6 +154,12 @@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +LCMS2_CFLAGS = @LCMS2_CFLAGS@ +LCMS2_LIBS = @LCMS2_LIBS@ LCMS_CFLAGS = @LCMS_CFLAGS@ LCMS_LIBS = @LCMS_LIBS@ LDFLAGS = @LDFLAGS@ @@ -171,8 +187,6 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ -PANGOFT2_CFLAGS = @PANGOFT2_CFLAGS@ -PANGOFT2_LIBS = @PANGOFT2_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL_CFLAGS = @PERL_CFLAGS@ PERL_LIBS = @PERL_LIBS@ @@ -201,8 +215,6 @@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WIN32_CFLAGS = @WIN32_CFLAGS@ -XFT_CFLAGS = @XFT_CFLAGS@ -XFT_LIBS = @XFT_LIBS@ XGETTEXT = @XGETTEXT@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ @@ -236,6 +248,8 @@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ @@ -314,9 +328,7 @@ @$(NORMAL_UNINSTALL) @list='$(filters_DATA)'; test -n "$(filtersdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - test -n "$$files" || exit 0; \ - echo " ( cd '$(DESTDIR)$(filtersdir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(filtersdir)" && rm -f $$files + dir='$(DESTDIR)$(filtersdir)'; $(am__uninstall_files_from_dir) tags: TAGS TAGS: @@ -371,10 +383,15 @@ installcheck: installcheck-am install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi mostlyclean-generic: clean-generic: === modified file 'share/fonts/Makefile.in' --- share/fonts/Makefile.in 2011-07-10 11:35:30 +0000 +++ share/fonts/Makefile.in 2012-02-16 12:59:31 +0000 @@ -1,9 +1,9 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. +# Makefile.in generated by automake 1.11.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software +# Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -48,11 +48,11 @@ CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = -AM_V_GEN = $(am__v_GEN_$(V)) -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; -AM_V_at = $(am__v_at_$(V)) -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ SOURCES = DIST_SOURCES = @@ -77,6 +77,12 @@ am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } am__installdirs = "$(DESTDIR)$(fontsdir)" DATA = $(fonts_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) @@ -126,6 +132,10 @@ GNOME_VFS_CFLAGS = @GNOME_VFS_CFLAGS@ GNOME_VFS_LIBS = @GNOME_VFS_LIBS@ GREP = @GREP@ +GTKMM_2_22_CFLAGS = @GTKMM_2_22_CFLAGS@ +GTKMM_2_22_LIBS = @GTKMM_2_22_LIBS@ +GTKMM_2_24_CFLAGS = @GTKMM_2_24_CFLAGS@ +GTKMM_2_24_LIBS = @GTKMM_2_24_LIBS@ IMAGEMAGICK_CFLAGS = @IMAGEMAGICK_CFLAGS@ IMAGEMAGICK_LIBS = @IMAGEMAGICK_LIBS@ INKBOARD_CFLAGS = @INKBOARD_CFLAGS@ @@ -144,6 +154,12 @@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +LCMS2_CFLAGS = @LCMS2_CFLAGS@ +LCMS2_LIBS = @LCMS2_LIBS@ LCMS_CFLAGS = @LCMS_CFLAGS@ LCMS_LIBS = @LCMS_LIBS@ LDFLAGS = @LDFLAGS@ @@ -171,8 +187,6 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ -PANGOFT2_CFLAGS = @PANGOFT2_CFLAGS@ -PANGOFT2_LIBS = @PANGOFT2_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL_CFLAGS = @PERL_CFLAGS@ PERL_LIBS = @PERL_LIBS@ @@ -201,8 +215,6 @@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WIN32_CFLAGS = @WIN32_CFLAGS@ -XFT_CFLAGS = @XFT_CFLAGS@ -XFT_LIBS = @XFT_LIBS@ XGETTEXT = @XGETTEXT@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ @@ -236,6 +248,8 @@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ @@ -310,9 +324,7 @@ @$(NORMAL_UNINSTALL) @list='$(fonts_DATA)'; test -n "$(fontsdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - test -n "$$files" || exit 0; \ - echo " ( cd '$(DESTDIR)$(fontsdir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(fontsdir)" && rm -f $$files + dir='$(DESTDIR)$(fontsdir)'; $(am__uninstall_files_from_dir) tags: TAGS TAGS: @@ -367,10 +379,15 @@ installcheck: installcheck-am install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi mostlyclean-generic: clean-generic: === modified file 'share/gradients/Makefile.in' --- share/gradients/Makefile.in 2011-07-10 11:35:30 +0000 +++ share/gradients/Makefile.in 2012-02-16 12:59:31 +0000 @@ -1,9 +1,9 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. +# Makefile.in generated by automake 1.11.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software +# Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -48,11 +48,11 @@ CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = -AM_V_GEN = $(am__v_GEN_$(V)) -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; -AM_V_at = $(am__v_at_$(V)) -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ SOURCES = DIST_SOURCES = @@ -77,6 +77,12 @@ am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } am__installdirs = "$(DESTDIR)$(gradientsdir)" DATA = $(gradients_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) @@ -126,6 +132,10 @@ GNOME_VFS_CFLAGS = @GNOME_VFS_CFLAGS@ GNOME_VFS_LIBS = @GNOME_VFS_LIBS@ GREP = @GREP@ +GTKMM_2_22_CFLAGS = @GTKMM_2_22_CFLAGS@ +GTKMM_2_22_LIBS = @GTKMM_2_22_LIBS@ +GTKMM_2_24_CFLAGS = @GTKMM_2_24_CFLAGS@ +GTKMM_2_24_LIBS = @GTKMM_2_24_LIBS@ IMAGEMAGICK_CFLAGS = @IMAGEMAGICK_CFLAGS@ IMAGEMAGICK_LIBS = @IMAGEMAGICK_LIBS@ INKBOARD_CFLAGS = @INKBOARD_CFLAGS@ @@ -144,6 +154,12 @@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +LCMS2_CFLAGS = @LCMS2_CFLAGS@ +LCMS2_LIBS = @LCMS2_LIBS@ LCMS_CFLAGS = @LCMS_CFLAGS@ LCMS_LIBS = @LCMS_LIBS@ LDFLAGS = @LDFLAGS@ @@ -171,8 +187,6 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ -PANGOFT2_CFLAGS = @PANGOFT2_CFLAGS@ -PANGOFT2_LIBS = @PANGOFT2_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL_CFLAGS = @PERL_CFLAGS@ PERL_LIBS = @PERL_LIBS@ @@ -201,8 +215,6 @@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WIN32_CFLAGS = @WIN32_CFLAGS@ -XFT_CFLAGS = @XFT_CFLAGS@ -XFT_LIBS = @XFT_LIBS@ XGETTEXT = @XGETTEXT@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ @@ -236,6 +248,8 @@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ @@ -310,9 +324,7 @@ @$(NORMAL_UNINSTALL) @list='$(gradients_DATA)'; test -n "$(gradientsdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - test -n "$$files" || exit 0; \ - echo " ( cd '$(DESTDIR)$(gradientsdir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(gradientsdir)" && rm -f $$files + dir='$(DESTDIR)$(gradientsdir)'; $(am__uninstall_files_from_dir) tags: TAGS TAGS: @@ -367,10 +379,15 @@ installcheck: installcheck-am install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi mostlyclean-generic: clean-generic: === modified file 'share/icons/Makefile.in' --- share/icons/Makefile.in 2011-07-10 11:35:30 +0000 +++ share/icons/Makefile.in 2012-02-16 12:59:31 +0000 @@ -1,9 +1,9 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. +# Makefile.in generated by automake 1.11.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software +# Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -48,11 +48,11 @@ CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = -AM_V_GEN = $(am__v_GEN_$(V)) -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; -AM_V_at = $(am__v_at_$(V)) -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ SOURCES = DIST_SOURCES = @@ -84,6 +84,12 @@ am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } am__installdirs = "$(DESTDIR)$(iconsdir)" DATA = $(icons_DATA) RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ @@ -166,6 +172,10 @@ GNOME_VFS_CFLAGS = @GNOME_VFS_CFLAGS@ GNOME_VFS_LIBS = @GNOME_VFS_LIBS@ GREP = @GREP@ +GTKMM_2_22_CFLAGS = @GTKMM_2_22_CFLAGS@ +GTKMM_2_22_LIBS = @GTKMM_2_22_LIBS@ +GTKMM_2_24_CFLAGS = @GTKMM_2_24_CFLAGS@ +GTKMM_2_24_LIBS = @GTKMM_2_24_LIBS@ IMAGEMAGICK_CFLAGS = @IMAGEMAGICK_CFLAGS@ IMAGEMAGICK_LIBS = @IMAGEMAGICK_LIBS@ INKBOARD_CFLAGS = @INKBOARD_CFLAGS@ @@ -184,6 +194,12 @@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +LCMS2_CFLAGS = @LCMS2_CFLAGS@ +LCMS2_LIBS = @LCMS2_LIBS@ LCMS_CFLAGS = @LCMS_CFLAGS@ LCMS_LIBS = @LCMS_LIBS@ LDFLAGS = @LDFLAGS@ @@ -211,8 +227,6 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ -PANGOFT2_CFLAGS = @PANGOFT2_CFLAGS@ -PANGOFT2_LIBS = @PANGOFT2_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL_CFLAGS = @PERL_CFLAGS@ PERL_LIBS = @PERL_LIBS@ @@ -241,8 +255,6 @@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WIN32_CFLAGS = @WIN32_CFLAGS@ -XFT_CFLAGS = @XFT_CFLAGS@ -XFT_LIBS = @XFT_LIBS@ XGETTEXT = @XGETTEXT@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ @@ -276,6 +288,8 @@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ @@ -400,9 +414,7 @@ @$(NORMAL_UNINSTALL) @list='$(icons_DATA)'; test -n "$(iconsdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - test -n "$$files" || exit 0; \ - echo " ( cd '$(DESTDIR)$(iconsdir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(iconsdir)" && rm -f $$files + dir='$(DESTDIR)$(iconsdir)'; $(am__uninstall_files_from_dir) # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. @@ -615,10 +627,15 @@ installcheck: installcheck-recursive install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi mostlyclean-generic: clean-generic: === modified file 'share/icons/application/16x16/Makefile.in' --- share/icons/application/16x16/Makefile.in 2011-07-10 11:35:30 +0000 +++ share/icons/application/16x16/Makefile.in 2012-02-16 12:59:31 +0000 @@ -1,9 +1,9 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. +# Makefile.in generated by automake 1.11.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software +# Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -48,11 +48,11 @@ CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = -AM_V_GEN = $(am__v_GEN_$(V)) -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; -AM_V_at = $(am__v_at_$(V)) -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ SOURCES = DIST_SOURCES = @@ -77,6 +77,12 @@ am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } am__installdirs = "$(DESTDIR)$(icondir)" DATA = $(icon_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) @@ -126,6 +132,10 @@ GNOME_VFS_CFLAGS = @GNOME_VFS_CFLAGS@ GNOME_VFS_LIBS = @GNOME_VFS_LIBS@ GREP = @GREP@ +GTKMM_2_22_CFLAGS = @GTKMM_2_22_CFLAGS@ +GTKMM_2_22_LIBS = @GTKMM_2_22_LIBS@ +GTKMM_2_24_CFLAGS = @GTKMM_2_24_CFLAGS@ +GTKMM_2_24_LIBS = @GTKMM_2_24_LIBS@ IMAGEMAGICK_CFLAGS = @IMAGEMAGICK_CFLAGS@ IMAGEMAGICK_LIBS = @IMAGEMAGICK_LIBS@ INKBOARD_CFLAGS = @INKBOARD_CFLAGS@ @@ -144,6 +154,12 @@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +LCMS2_CFLAGS = @LCMS2_CFLAGS@ +LCMS2_LIBS = @LCMS2_LIBS@ LCMS_CFLAGS = @LCMS_CFLAGS@ LCMS_LIBS = @LCMS_LIBS@ LDFLAGS = @LDFLAGS@ @@ -171,8 +187,6 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ -PANGOFT2_CFLAGS = @PANGOFT2_CFLAGS@ -PANGOFT2_LIBS = @PANGOFT2_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL_CFLAGS = @PERL_CFLAGS@ PERL_LIBS = @PERL_LIBS@ @@ -201,8 +215,6 @@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WIN32_CFLAGS = @WIN32_CFLAGS@ -XFT_CFLAGS = @XFT_CFLAGS@ -XFT_LIBS = @XFT_LIBS@ XGETTEXT = @XGETTEXT@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ @@ -236,6 +248,8 @@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ @@ -308,9 +322,7 @@ @$(NORMAL_UNINSTALL) @list='$(icon_DATA)'; test -n "$(icondir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - test -n "$$files" || exit 0; \ - echo " ( cd '$(DESTDIR)$(icondir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(icondir)" && rm -f $$files + dir='$(DESTDIR)$(icondir)'; $(am__uninstall_files_from_dir) tags: TAGS TAGS: @@ -365,10 +377,15 @@ installcheck: installcheck-am install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi mostlyclean-generic: clean-generic: === modified file 'share/icons/application/22x22/Makefile.in' --- share/icons/application/22x22/Makefile.in 2011-07-10 11:35:30 +0000 +++ share/icons/application/22x22/Makefile.in 2012-02-16 12:59:31 +0000 @@ -1,9 +1,9 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. +# Makefile.in generated by automake 1.11.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software +# Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -48,11 +48,11 @@ CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = -AM_V_GEN = $(am__v_GEN_$(V)) -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; -AM_V_at = $(am__v_at_$(V)) -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ SOURCES = DIST_SOURCES = @@ -77,6 +77,12 @@ am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } am__installdirs = "$(DESTDIR)$(icondir)" DATA = $(icon_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) @@ -126,6 +132,10 @@ GNOME_VFS_CFLAGS = @GNOME_VFS_CFLAGS@ GNOME_VFS_LIBS = @GNOME_VFS_LIBS@ GREP = @GREP@ +GTKMM_2_22_CFLAGS = @GTKMM_2_22_CFLAGS@ +GTKMM_2_22_LIBS = @GTKMM_2_22_LIBS@ +GTKMM_2_24_CFLAGS = @GTKMM_2_24_CFLAGS@ +GTKMM_2_24_LIBS = @GTKMM_2_24_LIBS@ IMAGEMAGICK_CFLAGS = @IMAGEMAGICK_CFLAGS@ IMAGEMAGICK_LIBS = @IMAGEMAGICK_LIBS@ INKBOARD_CFLAGS = @INKBOARD_CFLAGS@ @@ -144,6 +154,12 @@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +LCMS2_CFLAGS = @LCMS2_CFLAGS@ +LCMS2_LIBS = @LCMS2_LIBS@ LCMS_CFLAGS = @LCMS_CFLAGS@ LCMS_LIBS = @LCMS_LIBS@ LDFLAGS = @LDFLAGS@ @@ -171,8 +187,6 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ -PANGOFT2_CFLAGS = @PANGOFT2_CFLAGS@ -PANGOFT2_LIBS = @PANGOFT2_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL_CFLAGS = @PERL_CFLAGS@ PERL_LIBS = @PERL_LIBS@ @@ -201,8 +215,6 @@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WIN32_CFLAGS = @WIN32_CFLAGS@ -XFT_CFLAGS = @XFT_CFLAGS@ -XFT_LIBS = @XFT_LIBS@ XGETTEXT = @XGETTEXT@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ @@ -236,6 +248,8 @@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ @@ -308,9 +322,7 @@ @$(NORMAL_UNINSTALL) @list='$(icon_DATA)'; test -n "$(icondir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - test -n "$$files" || exit 0; \ - echo " ( cd '$(DESTDIR)$(icondir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(icondir)" && rm -f $$files + dir='$(DESTDIR)$(icondir)'; $(am__uninstall_files_from_dir) tags: TAGS TAGS: @@ -365,10 +377,15 @@ installcheck: installcheck-am install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi mostlyclean-generic: clean-generic: === modified file 'share/icons/application/24x24/Makefile.in' --- share/icons/application/24x24/Makefile.in 2011-07-10 11:35:30 +0000 +++ share/icons/application/24x24/Makefile.in 2012-02-16 12:59:31 +0000 @@ -1,9 +1,9 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. +# Makefile.in generated by automake 1.11.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software +# Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -48,11 +48,11 @@ CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = -AM_V_GEN = $(am__v_GEN_$(V)) -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; -AM_V_at = $(am__v_at_$(V)) -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ SOURCES = DIST_SOURCES = @@ -77,6 +77,12 @@ am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } am__installdirs = "$(DESTDIR)$(icondir)" DATA = $(icon_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) @@ -126,6 +132,10 @@ GNOME_VFS_CFLAGS = @GNOME_VFS_CFLAGS@ GNOME_VFS_LIBS = @GNOME_VFS_LIBS@ GREP = @GREP@ +GTKMM_2_22_CFLAGS = @GTKMM_2_22_CFLAGS@ +GTKMM_2_22_LIBS = @GTKMM_2_22_LIBS@ +GTKMM_2_24_CFLAGS = @GTKMM_2_24_CFLAGS@ +GTKMM_2_24_LIBS = @GTKMM_2_24_LIBS@ IMAGEMAGICK_CFLAGS = @IMAGEMAGICK_CFLAGS@ IMAGEMAGICK_LIBS = @IMAGEMAGICK_LIBS@ INKBOARD_CFLAGS = @INKBOARD_CFLAGS@ @@ -144,6 +154,12 @@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +LCMS2_CFLAGS = @LCMS2_CFLAGS@ +LCMS2_LIBS = @LCMS2_LIBS@ LCMS_CFLAGS = @LCMS_CFLAGS@ LCMS_LIBS = @LCMS_LIBS@ LDFLAGS = @LDFLAGS@ @@ -171,8 +187,6 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ -PANGOFT2_CFLAGS = @PANGOFT2_CFLAGS@ -PANGOFT2_LIBS = @PANGOFT2_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL_CFLAGS = @PERL_CFLAGS@ PERL_LIBS = @PERL_LIBS@ @@ -201,8 +215,6 @@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WIN32_CFLAGS = @WIN32_CFLAGS@ -XFT_CFLAGS = @XFT_CFLAGS@ -XFT_LIBS = @XFT_LIBS@ XGETTEXT = @XGETTEXT@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ @@ -236,6 +248,8 @@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ @@ -308,9 +322,7 @@ @$(NORMAL_UNINSTALL) @list='$(icon_DATA)'; test -n "$(icondir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - test -n "$$files" || exit 0; \ - echo " ( cd '$(DESTDIR)$(icondir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(icondir)" && rm -f $$files + dir='$(DESTDIR)$(icondir)'; $(am__uninstall_files_from_dir) tags: TAGS TAGS: @@ -365,10 +377,15 @@ installcheck: installcheck-am install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi mostlyclean-generic: clean-generic: === modified file 'share/icons/application/256x256/Makefile.in' --- share/icons/application/256x256/Makefile.in 2011-07-10 11:35:30 +0000 +++ share/icons/application/256x256/Makefile.in 2012-02-16 12:59:31 +0000 @@ -1,9 +1,9 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. +# Makefile.in generated by automake 1.11.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software +# Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -48,11 +48,11 @@ CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = -AM_V_GEN = $(am__v_GEN_$(V)) -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; -AM_V_at = $(am__v_at_$(V)) -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ SOURCES = DIST_SOURCES = @@ -77,6 +77,12 @@ am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } am__installdirs = "$(DESTDIR)$(icondir)" DATA = $(icon_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) @@ -126,6 +132,10 @@ GNOME_VFS_CFLAGS = @GNOME_VFS_CFLAGS@ GNOME_VFS_LIBS = @GNOME_VFS_LIBS@ GREP = @GREP@ +GTKMM_2_22_CFLAGS = @GTKMM_2_22_CFLAGS@ +GTKMM_2_22_LIBS = @GTKMM_2_22_LIBS@ +GTKMM_2_24_CFLAGS = @GTKMM_2_24_CFLAGS@ +GTKMM_2_24_LIBS = @GTKMM_2_24_LIBS@ IMAGEMAGICK_CFLAGS = @IMAGEMAGICK_CFLAGS@ IMAGEMAGICK_LIBS = @IMAGEMAGICK_LIBS@ INKBOARD_CFLAGS = @INKBOARD_CFLAGS@ @@ -144,6 +154,12 @@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +LCMS2_CFLAGS = @LCMS2_CFLAGS@ +LCMS2_LIBS = @LCMS2_LIBS@ LCMS_CFLAGS = @LCMS_CFLAGS@ LCMS_LIBS = @LCMS_LIBS@ LDFLAGS = @LDFLAGS@ @@ -171,8 +187,6 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ -PANGOFT2_CFLAGS = @PANGOFT2_CFLAGS@ -PANGOFT2_LIBS = @PANGOFT2_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL_CFLAGS = @PERL_CFLAGS@ PERL_LIBS = @PERL_LIBS@ @@ -201,8 +215,6 @@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WIN32_CFLAGS = @WIN32_CFLAGS@ -XFT_CFLAGS = @XFT_CFLAGS@ -XFT_LIBS = @XFT_LIBS@ XGETTEXT = @XGETTEXT@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ @@ -236,6 +248,8 @@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ @@ -308,9 +322,7 @@ @$(NORMAL_UNINSTALL) @list='$(icon_DATA)'; test -n "$(icondir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - test -n "$$files" || exit 0; \ - echo " ( cd '$(DESTDIR)$(icondir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(icondir)" && rm -f $$files + dir='$(DESTDIR)$(icondir)'; $(am__uninstall_files_from_dir) tags: TAGS TAGS: @@ -365,10 +377,15 @@ installcheck: installcheck-am install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi mostlyclean-generic: clean-generic: === modified file 'share/icons/application/32x32/Makefile.in' --- share/icons/application/32x32/Makefile.in 2011-07-10 11:35:30 +0000 +++ share/icons/application/32x32/Makefile.in 2012-02-16 12:59:31 +0000 @@ -1,9 +1,9 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. +# Makefile.in generated by automake 1.11.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software +# Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -48,11 +48,11 @@ CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = -AM_V_GEN = $(am__v_GEN_$(V)) -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; -AM_V_at = $(am__v_at_$(V)) -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ SOURCES = DIST_SOURCES = @@ -77,6 +77,12 @@ am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } am__installdirs = "$(DESTDIR)$(icondir)" DATA = $(icon_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) @@ -126,6 +132,10 @@ GNOME_VFS_CFLAGS = @GNOME_VFS_CFLAGS@ GNOME_VFS_LIBS = @GNOME_VFS_LIBS@ GREP = @GREP@ +GTKMM_2_22_CFLAGS = @GTKMM_2_22_CFLAGS@ +GTKMM_2_22_LIBS = @GTKMM_2_22_LIBS@ +GTKMM_2_24_CFLAGS = @GTKMM_2_24_CFLAGS@ +GTKMM_2_24_LIBS = @GTKMM_2_24_LIBS@ IMAGEMAGICK_CFLAGS = @IMAGEMAGICK_CFLAGS@ IMAGEMAGICK_LIBS = @IMAGEMAGICK_LIBS@ INKBOARD_CFLAGS = @INKBOARD_CFLAGS@ @@ -144,6 +154,12 @@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +LCMS2_CFLAGS = @LCMS2_CFLAGS@ +LCMS2_LIBS = @LCMS2_LIBS@ LCMS_CFLAGS = @LCMS_CFLAGS@ LCMS_LIBS = @LCMS_LIBS@ LDFLAGS = @LDFLAGS@ @@ -171,8 +187,6 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ -PANGOFT2_CFLAGS = @PANGOFT2_CFLAGS@ -PANGOFT2_LIBS = @PANGOFT2_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL_CFLAGS = @PERL_CFLAGS@ PERL_LIBS = @PERL_LIBS@ @@ -201,8 +215,6 @@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WIN32_CFLAGS = @WIN32_CFLAGS@ -XFT_CFLAGS = @XFT_CFLAGS@ -XFT_LIBS = @XFT_LIBS@ XGETTEXT = @XGETTEXT@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ @@ -236,6 +248,8 @@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ @@ -308,9 +322,7 @@ @$(NORMAL_UNINSTALL) @list='$(icon_DATA)'; test -n "$(icondir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - test -n "$$files" || exit 0; \ - echo " ( cd '$(DESTDIR)$(icondir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(icondir)" && rm -f $$files + dir='$(DESTDIR)$(icondir)'; $(am__uninstall_files_from_dir) tags: TAGS TAGS: @@ -365,10 +377,15 @@ installcheck: installcheck-am install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi mostlyclean-generic: clean-generic: === modified file 'share/icons/application/48x48/Makefile.in' --- share/icons/application/48x48/Makefile.in 2011-07-10 11:35:30 +0000 +++ share/icons/application/48x48/Makefile.in 2012-02-16 12:59:31 +0000 @@ -1,9 +1,9 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. +# Makefile.in generated by automake 1.11.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software +# Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -48,11 +48,11 @@ CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = -AM_V_GEN = $(am__v_GEN_$(V)) -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; -AM_V_at = $(am__v_at_$(V)) -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ SOURCES = DIST_SOURCES = @@ -77,6 +77,12 @@ am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } am__installdirs = "$(DESTDIR)$(icondir)" DATA = $(icon_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) @@ -126,6 +132,10 @@ GNOME_VFS_CFLAGS = @GNOME_VFS_CFLAGS@ GNOME_VFS_LIBS = @GNOME_VFS_LIBS@ GREP = @GREP@ +GTKMM_2_22_CFLAGS = @GTKMM_2_22_CFLAGS@ +GTKMM_2_22_LIBS = @GTKMM_2_22_LIBS@ +GTKMM_2_24_CFLAGS = @GTKMM_2_24_CFLAGS@ +GTKMM_2_24_LIBS = @GTKMM_2_24_LIBS@ IMAGEMAGICK_CFLAGS = @IMAGEMAGICK_CFLAGS@ IMAGEMAGICK_LIBS = @IMAGEMAGICK_LIBS@ INKBOARD_CFLAGS = @INKBOARD_CFLAGS@ @@ -144,6 +154,12 @@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +LCMS2_CFLAGS = @LCMS2_CFLAGS@ +LCMS2_LIBS = @LCMS2_LIBS@ LCMS_CFLAGS = @LCMS_CFLAGS@ LCMS_LIBS = @LCMS_LIBS@ LDFLAGS = @LDFLAGS@ @@ -171,8 +187,6 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ -PANGOFT2_CFLAGS = @PANGOFT2_CFLAGS@ -PANGOFT2_LIBS = @PANGOFT2_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL_CFLAGS = @PERL_CFLAGS@ PERL_LIBS = @PERL_LIBS@ @@ -201,8 +215,6 @@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WIN32_CFLAGS = @WIN32_CFLAGS@ -XFT_CFLAGS = @XFT_CFLAGS@ -XFT_LIBS = @XFT_LIBS@ XGETTEXT = @XGETTEXT@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ @@ -236,6 +248,8 @@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ @@ -308,9 +322,7 @@ @$(NORMAL_UNINSTALL) @list='$(icon_DATA)'; test -n "$(icondir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - test -n "$$files" || exit 0; \ - echo " ( cd '$(DESTDIR)$(icondir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(icondir)" && rm -f $$files + dir='$(DESTDIR)$(icondir)'; $(am__uninstall_files_from_dir) tags: TAGS TAGS: @@ -365,10 +377,15 @@ installcheck: installcheck-am install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi mostlyclean-generic: clean-generic: === modified file 'share/icons/application/Makefile.in' --- share/icons/application/Makefile.in 2011-07-10 11:35:30 +0000 +++ share/icons/application/Makefile.in 2012-02-16 12:59:31 +0000 @@ -1,9 +1,9 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. +# Makefile.in generated by automake 1.11.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software +# Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -47,11 +47,11 @@ CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = -AM_V_GEN = $(am__v_GEN_$(V)) -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; -AM_V_at = $(am__v_at_$(V)) -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ SOURCES = DIST_SOURCES = @@ -142,6 +142,10 @@ GNOME_VFS_CFLAGS = @GNOME_VFS_CFLAGS@ GNOME_VFS_LIBS = @GNOME_VFS_LIBS@ GREP = @GREP@ +GTKMM_2_22_CFLAGS = @GTKMM_2_22_CFLAGS@ +GTKMM_2_22_LIBS = @GTKMM_2_22_LIBS@ +GTKMM_2_24_CFLAGS = @GTKMM_2_24_CFLAGS@ +GTKMM_2_24_LIBS = @GTKMM_2_24_LIBS@ IMAGEMAGICK_CFLAGS = @IMAGEMAGICK_CFLAGS@ IMAGEMAGICK_LIBS = @IMAGEMAGICK_LIBS@ INKBOARD_CFLAGS = @INKBOARD_CFLAGS@ @@ -160,6 +164,12 @@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +LCMS2_CFLAGS = @LCMS2_CFLAGS@ +LCMS2_LIBS = @LCMS2_LIBS@ LCMS_CFLAGS = @LCMS_CFLAGS@ LCMS_LIBS = @LCMS_LIBS@ LDFLAGS = @LDFLAGS@ @@ -187,8 +197,6 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ -PANGOFT2_CFLAGS = @PANGOFT2_CFLAGS@ -PANGOFT2_LIBS = @PANGOFT2_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL_CFLAGS = @PERL_CFLAGS@ PERL_LIBS = @PERL_LIBS@ @@ -217,8 +225,6 @@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WIN32_CFLAGS = @WIN32_CFLAGS@ -XFT_CFLAGS = @XFT_CFLAGS@ -XFT_LIBS = @XFT_LIBS@ XGETTEXT = @XGETTEXT@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ @@ -252,6 +258,8 @@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ @@ -515,10 +523,15 @@ installcheck: installcheck-recursive install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi mostlyclean-generic: clean-generic: === modified file 'share/keys/Makefile.in' --- share/keys/Makefile.in 2011-07-10 11:35:30 +0000 +++ share/keys/Makefile.in 2012-02-16 12:59:31 +0000 @@ -1,9 +1,9 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. +# Makefile.in generated by automake 1.11.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software +# Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -48,11 +48,11 @@ CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = -AM_V_GEN = $(am__v_GEN_$(V)) -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; -AM_V_at = $(am__v_at_$(V)) -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ SOURCES = DIST_SOURCES = @@ -77,6 +77,12 @@ am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } am__installdirs = "$(DESTDIR)$(keysdir)" DATA = $(keys_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) @@ -126,6 +132,10 @@ GNOME_VFS_CFLAGS = @GNOME_VFS_CFLAGS@ GNOME_VFS_LIBS = @GNOME_VFS_LIBS@ GREP = @GREP@ +GTKMM_2_22_CFLAGS = @GTKMM_2_22_CFLAGS@ +GTKMM_2_22_LIBS = @GTKMM_2_22_LIBS@ +GTKMM_2_24_CFLAGS = @GTKMM_2_24_CFLAGS@ +GTKMM_2_24_LIBS = @GTKMM_2_24_LIBS@ IMAGEMAGICK_CFLAGS = @IMAGEMAGICK_CFLAGS@ IMAGEMAGICK_LIBS = @IMAGEMAGICK_LIBS@ INKBOARD_CFLAGS = @INKBOARD_CFLAGS@ @@ -144,6 +154,12 @@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +LCMS2_CFLAGS = @LCMS2_CFLAGS@ +LCMS2_LIBS = @LCMS2_LIBS@ LCMS_CFLAGS = @LCMS_CFLAGS@ LCMS_LIBS = @LCMS_LIBS@ LDFLAGS = @LDFLAGS@ @@ -171,8 +187,6 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ -PANGOFT2_CFLAGS = @PANGOFT2_CFLAGS@ -PANGOFT2_LIBS = @PANGOFT2_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL_CFLAGS = @PERL_CFLAGS@ PERL_LIBS = @PERL_LIBS@ @@ -201,8 +215,6 @@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WIN32_CFLAGS = @WIN32_CFLAGS@ -XFT_CFLAGS = @XFT_CFLAGS@ -XFT_LIBS = @XFT_LIBS@ XGETTEXT = @XGETTEXT@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ @@ -236,6 +248,8 @@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ @@ -318,9 +332,7 @@ @$(NORMAL_UNINSTALL) @list='$(keys_DATA)'; test -n "$(keysdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - test -n "$$files" || exit 0; \ - echo " ( cd '$(DESTDIR)$(keysdir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(keysdir)" && rm -f $$files + dir='$(DESTDIR)$(keysdir)'; $(am__uninstall_files_from_dir) tags: TAGS TAGS: @@ -375,10 +387,15 @@ installcheck: installcheck-am install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi mostlyclean-generic: clean-generic: === modified file 'share/markers/Makefile.in' --- share/markers/Makefile.in 2011-07-10 11:35:30 +0000 +++ share/markers/Makefile.in 2012-02-16 12:59:31 +0000 @@ -1,9 +1,9 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. +# Makefile.in generated by automake 1.11.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software +# Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -48,11 +48,11 @@ CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = -AM_V_GEN = $(am__v_GEN_$(V)) -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; -AM_V_at = $(am__v_at_$(V)) -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ SOURCES = DIST_SOURCES = @@ -77,6 +77,12 @@ am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } am__installdirs = "$(DESTDIR)$(markersdir)" DATA = $(markers_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) @@ -126,6 +132,10 @@ GNOME_VFS_CFLAGS = @GNOME_VFS_CFLAGS@ GNOME_VFS_LIBS = @GNOME_VFS_LIBS@ GREP = @GREP@ +GTKMM_2_22_CFLAGS = @GTKMM_2_22_CFLAGS@ +GTKMM_2_22_LIBS = @GTKMM_2_22_LIBS@ +GTKMM_2_24_CFLAGS = @GTKMM_2_24_CFLAGS@ +GTKMM_2_24_LIBS = @GTKMM_2_24_LIBS@ IMAGEMAGICK_CFLAGS = @IMAGEMAGICK_CFLAGS@ IMAGEMAGICK_LIBS = @IMAGEMAGICK_LIBS@ INKBOARD_CFLAGS = @INKBOARD_CFLAGS@ @@ -144,6 +154,12 @@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +LCMS2_CFLAGS = @LCMS2_CFLAGS@ +LCMS2_LIBS = @LCMS2_LIBS@ LCMS_CFLAGS = @LCMS_CFLAGS@ LCMS_LIBS = @LCMS_LIBS@ LDFLAGS = @LDFLAGS@ @@ -171,8 +187,6 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ -PANGOFT2_CFLAGS = @PANGOFT2_CFLAGS@ -PANGOFT2_LIBS = @PANGOFT2_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL_CFLAGS = @PERL_CFLAGS@ PERL_LIBS = @PERL_LIBS@ @@ -201,8 +215,6 @@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WIN32_CFLAGS = @WIN32_CFLAGS@ -XFT_CFLAGS = @XFT_CFLAGS@ -XFT_LIBS = @XFT_LIBS@ XGETTEXT = @XGETTEXT@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ @@ -236,6 +248,8 @@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ @@ -310,9 +324,7 @@ @$(NORMAL_UNINSTALL) @list='$(markers_DATA)'; test -n "$(markersdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - test -n "$$files" || exit 0; \ - echo " ( cd '$(DESTDIR)$(markersdir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(markersdir)" && rm -f $$files + dir='$(DESTDIR)$(markersdir)'; $(am__uninstall_files_from_dir) tags: TAGS TAGS: @@ -367,10 +379,15 @@ installcheck: installcheck-am install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi mostlyclean-generic: clean-generic: === modified file 'share/markers/markers.svg' --- share/markers/markers.svg 2008-11-25 15:51:35 +0000 +++ share/markers/markers.svg 2012-02-16 12:59:31 +0000 @@ -1,223 +1,221 @@ - + - + - - + + - + - + - + - + - - + + - - - + + + - - + + - - - + + + - - + + - + - - + + - - - - - - + + + + + + - + + - - - - + - - + - + - + - + - + - + - + - + - + - + - + - + - - - + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -229,80 +227,78 @@ - + - + - + - + - - + + - - - + + + - - - - - - - - - + + + + + + + + + + - - - - - - - - - + + + + + + + + + - + - - style="overflow:visible"> + + - - - - - - + + + + + - - - - - - - + + + + + - + === modified file 'share/palettes/Makefile.in' --- share/palettes/Makefile.in 2011-07-10 11:35:30 +0000 +++ share/palettes/Makefile.in 2012-02-16 12:59:31 +0000 @@ -1,9 +1,9 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. +# Makefile.in generated by automake 1.11.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software +# Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -48,11 +48,11 @@ CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = -AM_V_GEN = $(am__v_GEN_$(V)) -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; -AM_V_at = $(am__v_at_$(V)) -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ SOURCES = DIST_SOURCES = @@ -77,6 +77,12 @@ am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } am__installdirs = "$(DESTDIR)$(palettesdir)" DATA = $(palettes_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) @@ -126,6 +132,10 @@ GNOME_VFS_CFLAGS = @GNOME_VFS_CFLAGS@ GNOME_VFS_LIBS = @GNOME_VFS_LIBS@ GREP = @GREP@ +GTKMM_2_22_CFLAGS = @GTKMM_2_22_CFLAGS@ +GTKMM_2_22_LIBS = @GTKMM_2_22_LIBS@ +GTKMM_2_24_CFLAGS = @GTKMM_2_24_CFLAGS@ +GTKMM_2_24_LIBS = @GTKMM_2_24_LIBS@ IMAGEMAGICK_CFLAGS = @IMAGEMAGICK_CFLAGS@ IMAGEMAGICK_LIBS = @IMAGEMAGICK_LIBS@ INKBOARD_CFLAGS = @INKBOARD_CFLAGS@ @@ -144,6 +154,12 @@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +LCMS2_CFLAGS = @LCMS2_CFLAGS@ +LCMS2_LIBS = @LCMS2_LIBS@ LCMS_CFLAGS = @LCMS_CFLAGS@ LCMS_LIBS = @LCMS_LIBS@ LDFLAGS = @LDFLAGS@ @@ -171,8 +187,6 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ -PANGOFT2_CFLAGS = @PANGOFT2_CFLAGS@ -PANGOFT2_LIBS = @PANGOFT2_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL_CFLAGS = @PERL_CFLAGS@ PERL_LIBS = @PERL_LIBS@ @@ -201,8 +215,6 @@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WIN32_CFLAGS = @WIN32_CFLAGS@ -XFT_CFLAGS = @XFT_CFLAGS@ -XFT_LIBS = @XFT_LIBS@ XGETTEXT = @XGETTEXT@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ @@ -236,6 +248,8 @@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ @@ -329,9 +343,7 @@ @$(NORMAL_UNINSTALL) @list='$(palettes_DATA)'; test -n "$(palettesdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - test -n "$$files" || exit 0; \ - echo " ( cd '$(DESTDIR)$(palettesdir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(palettesdir)" && rm -f $$files + dir='$(DESTDIR)$(palettesdir)'; $(am__uninstall_files_from_dir) tags: TAGS TAGS: @@ -386,10 +398,15 @@ installcheck: installcheck-am install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi mostlyclean-generic: clean-generic: === modified file 'share/patterns/Makefile.in' --- share/patterns/Makefile.in 2011-07-10 11:35:30 +0000 +++ share/patterns/Makefile.in 2012-02-16 12:59:31 +0000 @@ -1,9 +1,9 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. +# Makefile.in generated by automake 1.11.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software +# Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -48,11 +48,11 @@ CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = -AM_V_GEN = $(am__v_GEN_$(V)) -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; -AM_V_at = $(am__v_at_$(V)) -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ SOURCES = DIST_SOURCES = @@ -77,6 +77,12 @@ am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } am__installdirs = "$(DESTDIR)$(patternsdir)" DATA = $(patterns_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) @@ -126,6 +132,10 @@ GNOME_VFS_CFLAGS = @GNOME_VFS_CFLAGS@ GNOME_VFS_LIBS = @GNOME_VFS_LIBS@ GREP = @GREP@ +GTKMM_2_22_CFLAGS = @GTKMM_2_22_CFLAGS@ +GTKMM_2_22_LIBS = @GTKMM_2_22_LIBS@ +GTKMM_2_24_CFLAGS = @GTKMM_2_24_CFLAGS@ +GTKMM_2_24_LIBS = @GTKMM_2_24_LIBS@ IMAGEMAGICK_CFLAGS = @IMAGEMAGICK_CFLAGS@ IMAGEMAGICK_LIBS = @IMAGEMAGICK_LIBS@ INKBOARD_CFLAGS = @INKBOARD_CFLAGS@ @@ -144,6 +154,12 @@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +LCMS2_CFLAGS = @LCMS2_CFLAGS@ +LCMS2_LIBS = @LCMS2_LIBS@ LCMS_CFLAGS = @LCMS_CFLAGS@ LCMS_LIBS = @LCMS_LIBS@ LDFLAGS = @LDFLAGS@ @@ -171,8 +187,6 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ -PANGOFT2_CFLAGS = @PANGOFT2_CFLAGS@ -PANGOFT2_LIBS = @PANGOFT2_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL_CFLAGS = @PERL_CFLAGS@ PERL_LIBS = @PERL_LIBS@ @@ -201,8 +215,6 @@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WIN32_CFLAGS = @WIN32_CFLAGS@ -XFT_CFLAGS = @XFT_CFLAGS@ -XFT_LIBS = @XFT_LIBS@ XGETTEXT = @XGETTEXT@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ @@ -236,6 +248,8 @@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ @@ -312,9 +326,7 @@ @$(NORMAL_UNINSTALL) @list='$(patterns_DATA)'; test -n "$(patternsdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - test -n "$$files" || exit 0; \ - echo " ( cd '$(DESTDIR)$(patternsdir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(patternsdir)" && rm -f $$files + dir='$(DESTDIR)$(patternsdir)'; $(am__uninstall_files_from_dir) tags: TAGS TAGS: @@ -369,10 +381,15 @@ installcheck: installcheck-am install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi mostlyclean-generic: clean-generic: === modified file 'share/screens/Makefile.in' --- share/screens/Makefile.in 2011-07-10 11:35:30 +0000 +++ share/screens/Makefile.in 2012-02-16 12:59:31 +0000 @@ -1,9 +1,9 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. +# Makefile.in generated by automake 1.11.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software +# Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -48,11 +48,11 @@ CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = -AM_V_GEN = $(am__v_GEN_$(V)) -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; -AM_V_at = $(am__v_at_$(V)) -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ SOURCES = DIST_SOURCES = @@ -77,6 +77,12 @@ am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } am__installdirs = "$(DESTDIR)$(screensdir)" DATA = $(screens_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) @@ -126,6 +132,10 @@ GNOME_VFS_CFLAGS = @GNOME_VFS_CFLAGS@ GNOME_VFS_LIBS = @GNOME_VFS_LIBS@ GREP = @GREP@ +GTKMM_2_22_CFLAGS = @GTKMM_2_22_CFLAGS@ +GTKMM_2_22_LIBS = @GTKMM_2_22_LIBS@ +GTKMM_2_24_CFLAGS = @GTKMM_2_24_CFLAGS@ +GTKMM_2_24_LIBS = @GTKMM_2_24_LIBS@ IMAGEMAGICK_CFLAGS = @IMAGEMAGICK_CFLAGS@ IMAGEMAGICK_LIBS = @IMAGEMAGICK_LIBS@ INKBOARD_CFLAGS = @INKBOARD_CFLAGS@ @@ -144,6 +154,12 @@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +LCMS2_CFLAGS = @LCMS2_CFLAGS@ +LCMS2_LIBS = @LCMS2_LIBS@ LCMS_CFLAGS = @LCMS_CFLAGS@ LCMS_LIBS = @LCMS_LIBS@ LDFLAGS = @LDFLAGS@ @@ -171,8 +187,6 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ -PANGOFT2_CFLAGS = @PANGOFT2_CFLAGS@ -PANGOFT2_LIBS = @PANGOFT2_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL_CFLAGS = @PERL_CFLAGS@ PERL_LIBS = @PERL_LIBS@ @@ -201,8 +215,6 @@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WIN32_CFLAGS = @WIN32_CFLAGS@ -XFT_CFLAGS = @XFT_CFLAGS@ -XFT_LIBS = @XFT_LIBS@ XGETTEXT = @XGETTEXT@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ @@ -236,6 +248,8 @@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ @@ -310,9 +324,7 @@ @$(NORMAL_UNINSTALL) @list='$(screens_DATA)'; test -n "$(screensdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - test -n "$$files" || exit 0; \ - echo " ( cd '$(DESTDIR)$(screensdir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(screensdir)" && rm -f $$files + dir='$(DESTDIR)$(screensdir)'; $(am__uninstall_files_from_dir) tags: TAGS TAGS: @@ -367,10 +379,15 @@ installcheck: installcheck-am install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi mostlyclean-generic: clean-generic: === modified file 'share/templates/Makefile.in' --- share/templates/Makefile.in 2011-07-10 11:35:30 +0000 +++ share/templates/Makefile.in 2012-02-16 12:59:31 +0000 @@ -1,9 +1,9 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. +# Makefile.in generated by automake 1.11.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software +# Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -48,11 +48,11 @@ CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = -AM_V_GEN = $(am__v_GEN_$(V)) -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; -AM_V_at = $(am__v_at_$(V)) -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ SOURCES = DIST_SOURCES = @@ -77,6 +77,12 @@ am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } am__installdirs = "$(DESTDIR)$(templatesdir)" DATA = $(templates_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) @@ -126,6 +132,10 @@ GNOME_VFS_CFLAGS = @GNOME_VFS_CFLAGS@ GNOME_VFS_LIBS = @GNOME_VFS_LIBS@ GREP = @GREP@ +GTKMM_2_22_CFLAGS = @GTKMM_2_22_CFLAGS@ +GTKMM_2_22_LIBS = @GTKMM_2_22_LIBS@ +GTKMM_2_24_CFLAGS = @GTKMM_2_24_CFLAGS@ +GTKMM_2_24_LIBS = @GTKMM_2_24_LIBS@ IMAGEMAGICK_CFLAGS = @IMAGEMAGICK_CFLAGS@ IMAGEMAGICK_LIBS = @IMAGEMAGICK_LIBS@ INKBOARD_CFLAGS = @INKBOARD_CFLAGS@ @@ -144,6 +154,12 @@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +LCMS2_CFLAGS = @LCMS2_CFLAGS@ +LCMS2_LIBS = @LCMS2_LIBS@ LCMS_CFLAGS = @LCMS_CFLAGS@ LCMS_LIBS = @LCMS_LIBS@ LDFLAGS = @LDFLAGS@ @@ -171,8 +187,6 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ -PANGOFT2_CFLAGS = @PANGOFT2_CFLAGS@ -PANGOFT2_LIBS = @PANGOFT2_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL_CFLAGS = @PERL_CFLAGS@ PERL_LIBS = @PERL_LIBS@ @@ -201,8 +215,6 @@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WIN32_CFLAGS = @WIN32_CFLAGS@ -XFT_CFLAGS = @XFT_CFLAGS@ -XFT_LIBS = @XFT_LIBS@ XGETTEXT = @XGETTEXT@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ @@ -236,6 +248,8 @@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ @@ -360,9 +374,7 @@ @$(NORMAL_UNINSTALL) @list='$(templates_DATA)'; test -n "$(templatesdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - test -n "$$files" || exit 0; \ - echo " ( cd '$(DESTDIR)$(templatesdir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(templatesdir)" && rm -f $$files + dir='$(DESTDIR)$(templatesdir)'; $(am__uninstall_files_from_dir) tags: TAGS TAGS: @@ -417,10 +429,15 @@ installcheck: installcheck-am install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi mostlyclean-generic: clean-generic: === modified file 'share/tutorials/Makefile.in' --- share/tutorials/Makefile.in 2011-07-10 11:35:30 +0000 +++ share/tutorials/Makefile.in 2012-02-16 12:59:31 +0000 @@ -1,9 +1,9 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. +# Makefile.in generated by automake 1.11.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software +# Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -48,11 +48,11 @@ CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = -AM_V_GEN = $(am__v_GEN_$(V)) -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; -AM_V_at = $(am__v_at_$(V)) -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ SOURCES = DIST_SOURCES = @@ -77,6 +77,12 @@ am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } am__installdirs = "$(DESTDIR)$(tutorialdir)" DATA = $(tutorial_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) @@ -126,6 +132,10 @@ GNOME_VFS_CFLAGS = @GNOME_VFS_CFLAGS@ GNOME_VFS_LIBS = @GNOME_VFS_LIBS@ GREP = @GREP@ +GTKMM_2_22_CFLAGS = @GTKMM_2_22_CFLAGS@ +GTKMM_2_22_LIBS = @GTKMM_2_22_LIBS@ +GTKMM_2_24_CFLAGS = @GTKMM_2_24_CFLAGS@ +GTKMM_2_24_LIBS = @GTKMM_2_24_LIBS@ IMAGEMAGICK_CFLAGS = @IMAGEMAGICK_CFLAGS@ IMAGEMAGICK_LIBS = @IMAGEMAGICK_LIBS@ INKBOARD_CFLAGS = @INKBOARD_CFLAGS@ @@ -144,6 +154,12 @@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +LCMS2_CFLAGS = @LCMS2_CFLAGS@ +LCMS2_LIBS = @LCMS2_LIBS@ LCMS_CFLAGS = @LCMS_CFLAGS@ LCMS_LIBS = @LCMS_LIBS@ LDFLAGS = @LDFLAGS@ @@ -171,8 +187,6 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ -PANGOFT2_CFLAGS = @PANGOFT2_CFLAGS@ -PANGOFT2_LIBS = @PANGOFT2_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL_CFLAGS = @PERL_CFLAGS@ PERL_LIBS = @PERL_LIBS@ @@ -201,8 +215,6 @@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WIN32_CFLAGS = @WIN32_CFLAGS@ -XFT_CFLAGS = @XFT_CFLAGS@ -XFT_LIBS = @XFT_LIBS@ XGETTEXT = @XGETTEXT@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ @@ -236,6 +248,8 @@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ @@ -495,9 +509,7 @@ @$(NORMAL_UNINSTALL) @list='$(tutorial_DATA)'; test -n "$(tutorialdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - test -n "$$files" || exit 0; \ - echo " ( cd '$(DESTDIR)$(tutorialdir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(tutorialdir)" && rm -f $$files + dir='$(DESTDIR)$(tutorialdir)'; $(am__uninstall_files_from_dir) tags: TAGS TAGS: @@ -552,10 +564,15 @@ installcheck: installcheck-am install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi mostlyclean-generic: clean-generic: === modified file 'share/tutorials/tutorial-advanced.nl.svg' --- share/tutorials/tutorial-advanced.nl.svg 2011-02-01 12:53:34 +0000 +++ share/tutorials/tutorial-advanced.nl.svg 2012-02-16 12:59:31 +0000 @@ -1,6 +1,6 @@ - + @@ -8,11 +8,13 @@ - - - - - + + + + + + + @@ -26,473 +28,461 @@ - - - - - - - - - - - - - - - - - - + + + + + + - Gebruik Ctrl+pijl omlaag om te scrollen - + Gebruik Ctrl+pijl omlaag om te scrollen + handleiding - + ::GEAVANCEERD Bulia Byak (buliabyak@users.sf.net) en Josh Andler (scislac@users.sf.net) - + - This tutorial covers copy/paste, node editing, freehand and bezier -drawing, path manipulation, booleans, offsets, simplification, and text tool. - + Deze handleiding behandelt kopiëren/plakken, knooppunten wijzigen, tekenen uit de vrije hand, Bezier-tekenen, padmanipulatie, booleaanse bewerkingen, offsets, vereenvoudiging en het tekstgereedschap. - - + + - Gebruik Ctrl+Pijltjestoetsen, muiswiel of middenmuisknop om naar beneden te scrollen. Voor de basis van objecten maken, selectie en transformatie, zie de Basishandleiding in Help > Handleidingen. + Gebruik Ctrl+Pijltjestoetsen, muiswiel of middenmuisknop om naar beneden te scrollen. Voor de basis van objecten maken, selectie en transformatie, zie de Basishandleiding in Help > Handleidingen. - - Plaktechnieken + + Plaktechnieken - - + + - Na het kopiëren van objecten met Ctrl+C of knippen met Ctrl+X, plakt de reguliere opdracht Plakken (Ctrl+V)de gekopieerde objecten rechtsonder de muiscursor of, indiende cursor zich buiten het venster bevindt, in het midden van het documentvenster. Echter, de objecten op het klembord onthouden nog steeds de originele plaats vanwaar ze gekopieerd werden zodat je ze daar terug kan plakken met Op positie plakken (Ctrl+Alt+V). + Na het kopiëren van objecten met Ctrl+C of knippen met Ctrl+X, plakt de reguliere opdracht Plakken (Ctrl+V) de gekopieerde objecten rechtsonder de muiscursor of, indiende cursor zich buiten het venster bevindt, in het midden van het documentvenster. Echter, de objecten op het klembord onthouden nog steeds de originele plaats vanwaar ze gekopieerd werden zodat je ze daar terug kan plakken met Op positie plakken (Ctrl+Alt+V). - - + + - Een andere opdracht, Stijl plakken (Shift+Ctrl+V), past de stijl van het (eerste) object op het klembord toe op de huidige selecte. De geplakte “stijl” bevat de instellingen voor vulling, lijn en lettertype, maar niet voor vorm, grootte of vormspecifieke parameters, zoals het aantal stralen van een ster. + Een andere opdracht, Stijl plakken (Shift+Ctrl+V), past de stijl van het (eerste) object op het klembord toe op de huidige selecte. De geplakte “stijl” bevat de instellingen voor vulling, lijn en lettertype, maar niet voor vorm, grootte of vormspecifieke parameters, zoals het aantal stralen van een ster. - - + + - Nog een andere set plakopdrachten, Grootte plakken, schaalt de selectie naar de gewenste grootte van de klembordobject(en). Er zijn verschillende opdrachten voor het plakken van de grootte: Grootte plakken, Breedte plakken, Hoogte plakken, Grootte apart plakken, Breedte apart plakken en Hoogte apart plakken. + Nog een andere set plakopdrachten, Grootte plakken, schaalt de selectie naar de gewenste grootte van de klembordobject(en). Er zijn verschillende opdrachten voor het plakken van de grootte: Grootte plakken, Breedte plakken, Hoogte plakken, Grootte apart plakken, Breedte apart plakken en Hoogte apart plakken. - - + + - Grootte plakken schaalt de volledige selectie naar de totale grootte van de klembordobject(en). Breedte plakken/Hoogte plakken schaalt de volledige selectie horizontaal/verticaal naar de breedte/hoogte van de klembordobject(en). Deze opdrachten houden rekening met het slot op de hoogte/breedte verhouding in de gereedschapsdetailsbalk van het selectiegereedschap (tussen de velden B en H). Wanneer het slot is ingedrukt, zal de andere dimensie van het geselecteerde object in dezelfde mate geschaald worden; zoniet blijft de andere dimensie onveranderd. De opdrachten met “apart” werken op dezelfde wijze, behalve dat ze elk object afzonderlijk schalen naar de grootte/breedte/hoogte van de klembordobject(en). + Grootte plakken schaalt de volledige selectie naar de totale grootte van de klembordobject(en). Breedte plakken/Hoogte plakken schaalt de volledige selectie horizontaal/verticaal naar de breedte/hoogte van de klembordobject(en). Deze opdrachten houden rekening met het slot op de hoogte/breedte verhouding in de gereedschapsdetailsbalk van het selectiegereedschap (tussen de velden B en H). Wanneer het slot is ingedrukt, zal de andere dimensie van het geselecteerde object in dezelfde mate geschaald worden; zoniet blijft de andere dimensie onveranderd. De opdrachten met “apart” werken op dezelfde wijze, behalve dat ze elk object afzonderlijk schalen naar de grootte/breedte/hoogte van de klembordobject(en). - - + + Het klembord is systeembreed - je kan objecten niet alleen kopiëren/plakken tussen verschillende Inkscape vensters, maar ook tussen Inkscape en andere toepassingen (die SVG moeten kunnen afhandelen om dit te gebruiken). - - Uit de vrije hand en regelmatige paden tekenen + + Uit de vrije hand en regelmatige paden tekenen - - + + De eenvoudigste weg om een arbitraire vorm te maken, is deze (uit de vrije hand) te tekenen met het Potloodgereedschap (F6): - - - - - - - - - - - + + + + + + + + + + + Indien je meer regelmatige vormen wil, gebruik dan het gereedschap Pen (Bezier) (Shift+F6): - - - - - - - - - - - + + + + + + + + + + + Elke klik met het gereedschap Pen maakt een scherp knooppunt zonder handvatten. Bijgevolg maakt een serie kliks een sequentie van rechte lijnsegmenten. Klikken en slepen maakt een glad Bezier knooppunt met twee colineraire tegengestelde handvatten. Druk op Shift tijdens het slepen van een handvat om slechts een handvat te roteren en de andere vast te houden. Ctrl beperkt zoals gewoonlijk de richting van het huidige lijnsegment of de Bezier handvatten tot stappen van 15 graden. Drukken op Enter maakt de lijn af, Esc annuleert deze. Druk op Backspace om enkel het laatste segment ongedaan te maken. - - + + Zowel bij het uit de vrije hand tekenen als het Bezier-gereedschap vertonen de geselecteerde paden kleine vierkante ankers op beide uiteinden. Deze ankers laten je toe om dit pad te verlengen (door vanaf een anker te tekenen) of sluiten (door van een anker naar een ander te tekenen) in plaats van een nieuw pad te maken. - - Paden bewerken + + Paden bewerken - - + + In tegenstelling met vormen gemaakt met de vormgereedschappen, creëren de gereedschappen Pen en Potlood paden. Een pad is een sequentie van rechte lijnsegmenten en/of Bezier curves die, zoals elk ander Inkscape object, arbitraire vullings- en lijneigenschappen kunnen hebben. Maar in tegenstelling met een vorm kan een pad bewerkt worden door het vrij verslepen van een van zijn knooppunten (geen voorgedefinieerde handvatten) of het direct slepen van een segment van het pad. Selecteer dit pad en ga over naar het Knooppunt-gereedschap (F2): - - - + + + Je zal een aantal grijze vierkante knooppunten op het pad zien. Deze knooppunten kunnen geselecteerd worden door klikken, Shift+klikken of het trekken van een elastiek - net zoals het selecteren objecten met het selectiegereedschap. Je kan ook op een padsegment klikken om automatisch de aanpalende knooppunten te selecteren. Geselecteerde knooppunten lichten op en tonen kun knooppunthandvatten - een of twee kleine cirkels op lijnstukken aan elk knooppunt. De toets ! inverteert de knooppuntselectie in de huidige subpad(en) (subpaden met tenminste één geselecteerd knooppunt); Alt+! inverteert het volledige pad. - - + + Paden worden bewerkt door het slepen van de knooppunten, knooppunthandvatten of een padsegment. (Tracht enkele knooppunten, handvatten en padsegmenten van bovenstaand pad te verslepen.) Ctrl beperkt zoals gewoonlijk de beweging en rotatie. De pijltjestoetsen, Tab, [, ], < en > en hun combinaties werken alle zoals bij het selectiegereedschap, maar werken op knooppunten in plaats van op objecten. Je kan overal knooppunten toevoegen op een pad door dubbelklikken of Ctrl+Alt+Klik op de gewenste positie. - - + + Je kan knooppunten verwijderen met Del of Ctrl+Alt+klik. Bij verwijdering van knooppunten zal Inkscape de vorm van het pad proberen behouden. Indien je wil dat de handvatten van de aangrenzende knooppunten niet aangepast worden (zonder behoud vorm), kan je verwijderen met Ctrl+Del. Bovendien kan je geselecteerde knooppunten dupliceren (Shift+D). Het pad kan ook onderbroken zijn (Shift+B) op deze knooppunten en, indien je twee eindpunten van een pad selecteert, kan je ze verenigen (Shift+J). - - + + Een knooppunt kan hoekig (Shift+C) zijn, hetgeen betekent dat zijn beide handvatten onafhankelijk van elkaar in elke richting kunnen bewegen. Bij een afgevlakt knooppunt (Shift+S) liggen beide handvatten op één rechte lijn (collineair) en een symmetrisch knooppunt (Shift+Y) is gelijkaardig aan een afgevlakt knooppunt, maar de handvatten liggen op dezelfde afstand. Wanneer je van knooppunttype verandert, kan je de positie van één van beide handvatten behouden door er met je muis over te gaan zodat enkel het andere handvat geschaald/geroteerd wordt. - - + + - Also, you can retract a node's handle altogether by -Ctrl+clicking on it. If two adjacent nodes have their handles -retracted, the path segment between them is a straight line. To pull out the retracted -node, Shift+drag away from the node. - + Verder kan je knooppunthandvatten terugtrekken door erop te Ctrl+klikken. Indien de handvatten van twee opeenvolgende knooppunten teruggetrokken zijn, is het padsegment ertussen een rechte lijn. Shift+sleep een knooppunt om een teruggetrokken handvat uit te trekken. - - Subpaden en combineren + + Subpaden en combineren - - + + Een pad kan meerdere subpaden bevatten. Een subpad is een sequentie van verbonden knooppunten. (Indien bijgevolg een pad meer dan een subpad bevat, zijn niet alle knooppunten met elkaar verbonden.) Onderaan links behoren de drie subpaden tot één samengesteld pad; de drie zelfde subpaden rechts zijn onafhankelijke paden: - - - - - - + + + + + + Noteer dat een samengesteld pad niet hetzelfde is als een groep. Het is één object dat slechts selecteerbaar is als geheel. Indien je het object links selecteert en overschakelt naar het knooppuntengereedschap, zal je knooppunten zien op alle drie de subpaden. Rechts kan je de knooppunten van slechts één pad per keer bewerken. - - + + - Inkscape kan paden Combineren in een samengesteld pad (Ctrl+K) en een samengesteld pad Opdelen in verschillende paden (Shift+Ctrl+K). Probeer deze opdrachten op bovenstaande voorbeelden. Aangezien een object maar één vulling en lijn kan bevatten, krijgt een nieuw samengesteld pad de stijl van het eerste (laagste in z-volgorde) object. + Inkscape kan paden Combineren in een samengesteld pad (Ctrl+K) en een samengesteld pad Opdelen in verschillende paden (Shift+Ctrl+K). Probeer deze opdrachten op bovenstaande voorbeelden. Aangezien een object maar één vulling en lijn kan bevatten, krijgt een nieuw samengesteld pad de stijl van het eerste (laagste in z-volgorde) object. - - + + Wanneer je overlappende paden met vulling combineert, zal de vulling meestal verdwijnen waar de paden overlappen: - - - + + + Dit is de eenvoudigste wijze om objecten te maken met gaten. Voor krachtigere padopdrachten, zie hieronder bij “Booleaanse opdrachten”. - - Coverteren naar pad + + Converteren naar pad - - + + Elke vorm of tekstobject kan omgezet worden naar een pad (Shift+Ctrl+C). Deze operatie verandert het uiterlijk van het object niet, maar verwijdert alle vormspecifieke eigenschappen (je kan bijvoorbeeld de hoeken van een rechthoek niet afronden of tekst wijzigen). Daarentegen kan je nu zijn knooppunten wijzigen. Hier zijn twee sterren - de linkse is een vorm en de rechtse is geconverteerd naar een pad. Ga naar het knooppuntengereedschap en vergelijk de bewerkbaarheid bij selectie: - - - - + + + + Bovendien kan je de lijn van elk object converteren naar een pad (“omlijning”). Hieronder is het eerste object het originele pad (zonder vulling, zwarte lijn), terwijl het tweede het resultaat is van de opdracht Lijn naar pad (zwarte vulling, geen lijn): - - - - Booleaanse opdrachten + + + + Booleaanse opdrachten - - + + - De opdrachten in het menu Paden laten je twee of mer objecten combineren door middel van booleaanse opdrachten: + De opdrachten in het menu Paden laten je twee of meer objecten combineren door middel van booleaanse opdrachten: - Originele vormen - Vereniging (Ctrl++) - Verschil (Ctrl+-) - Overlap(Ctrl+*) - Uitsluiten(Ctrl+^) - Splitsen(Ctrl+/) - Pad versnijden(Ctrl+Alt+/) - - - - - - - - - - - (onder min boven) - - + Originele vormen + Vereniging (Ctrl++) + Verschil (Ctrl+-) + Overlap(Ctrl+*) + Uitsluiten(Ctrl+^) + Splitsen(Ctrl+/) + Pad versnijden(Ctrl+Alt+/) + + + + + + + + + + + (onder min boven) + + - De toetsenbordcombinaties voor deze opdrachten vertonen overeenkomsten met de wiskundige analogen van de operaties (vereniging is optelling, verschil is aftrekken, etc.). De opdrachten Verschil en Uitsluiten kunnen enkel op twee geselecteerde objecten toegepast worden, andere op een variabel aantal objecten. Het resultaat krijgt telkens de stijl van het onderste object. + De toetsenbordcombinaties voor deze opdrachten vertonen overeenkomsten met de wiskundige analogen van de operaties (vereniging is optelling, verschil is aftrekken, etc.). De opdrachten Verschil en Uitsluiten kunnen enkel op twee geselecteerde objecten toegepast worden, andere op een variabel aantal objecten. Het resultaat krijgt telkens de stijl van het onderste object. - - + + - Het resultaat van de opdracht Uitsluiten is gelijkaardig aan Combineren (zie hierboven), maar het verschil is dat Uitsluiten extra knooppunten toevoegt waar originele paden kruisen. Het verschil tussen Splitsen en Pad versnijden is dat het eerste het volledige bodemobject knipt van het pad van het bovenliggende object, waar het tweede enkel de lijn van het onderste object knipt en vulling verwijdert (dit is handig voor het snijden van vullingsloze lijnen in stukken). + Het resultaat van de opdracht Uitsluiten is gelijkaardig aan Combineren (zie hierboven), maar het verschil is dat Uitsluiten extra knooppunten toevoegt waar originele paden kruisen. Het verschil tussen Splitsen en Pad versnijden is dat het eerste het volledige bodemobject knipt van het pad van het bovenliggende object, waar het tweede enkel de lijn van het onderste object knipt en vulling verwijdert (dit is handig voor het snijden van vullingsloze lijnen in stukken). - - Vernauwen en verwijden + + Vernauwen en verwijden - - + + - Inkscape kan vormen vernauwen en verwijden, niet alleen door schalen, maar ook door verplaatsen van het pad van een object, bijvoorbeeld door verplaatsing loodrecht op het pad in elk punt. De overeenkomstige opdrachten zijn Vernauwen (Ctrl+() en Verwijden (Ctrl+)). Hieronder is het originele pad (rood) en een aantal vernauwde en verwijdde paden: + Inkscape kan vormen vernauwen en verwijden, niet alleen door schalen, maar ook door verplaatsen van het pad van een object, bijvoorbeeld door verplaatsing loodrecht op het pad in elk punt. De overeenkomstige opdrachten zijn Vernauwen (Ctrl+() en Verwijden (Ctrl+)). Hieronder is het originele pad (rood) en een aantal vernauwde en verwijdde paden: - - - - - - - - - + + + + + + + + + - De ruwe opdrachten Vernauwen en Verwijden maken paden (het origineel object wordt een pad indien het nog geen pad is). Bijgevolg is de Dynamische offset (Ctrl+J) vaak handiger dat een object maakt met een versleepbaar handvat (vergelijkbaar met een handvat van een vorm) dat de verplaatsing bepaalt. Selecteer het onderstaande object, ga naar het knooppuntengereedschap en versleep het handvat om een idee te krijgen: + De ruwe opdrachten Vernauwen en Verwijden maken paden (het origineel object wordt een pad indien het nog geen pad is). Bijgevolg is de Dynamische offset (Ctrl+J) vaak handiger dat een object maakt met een versleepbaar handvat (vergelijkbaar met een handvat van een vorm) dat de verplaatsing bepaalt. Selecteer het onderstaande object, ga naar het knooppuntengereedschap en versleep het handvat om een idee te krijgen: - - - + + + Zo'n 'dynamische offset'-object onthoudt het origineel pad, zodat het niet “degradeert” wanneer je de verplaatsingsafstand keer op keer aanpast. Wanneer je de aanpasbaarheid niet meer nodig hebt, kan je het 'dynamische offset'-object altijd terug converteren naar een pad. - - + + Nog handiger is een gekoppelde offset, die gelijkaardig is aan de dynamische offset, maar verbonden is met een ander pad dat bewerkbaar blijft. Je kan een willekeurig aantal gekoppelde offsets hebben voor één bronpad. Hieronder is het bronpad rood, één gekoppelde offset heeft een zwarte lijn en geen vulling, de andere heeft zwarte vulling en geen lijn. - - + + Selecteer het rode object en bewerk zijn knooppunten: zie hoe beide gelinkte offsets veranderen. Selecteer nu een van de gekoppelde offsets en versleep zijn handvat om de offsetafstand aan te passen. Noteer tot slot hoe het verplaatsen of transformeren van de bron alle gelinkte objecten verplaatst en hoe je de gelinkte objecten onafhankelijk verplaatst of transformeert zonder de connectie met de bron te verliezen. - + - - Vereenvoudigen + + Vereenvoudigen - - + + - De belangrijkste toepassing van de opdracht Vereenvoudigen (Ctrl+L) is het reduceren van het aantal knooppunten van een pad, maar met zo goed mogelijk behoud van de vorm. Dit kan bruikbaar zijn voor paden gemaakt met het Potlood, aangezien dat gereedschap soms meer knooppunten maakt dan nodig. Hieronder is de linkse vorm getekend uit de vrije hand en de rechtse is een vereenvoudigde kopie. Het originele pad bevat 28 knooppunten waar het vereenvoudigde pad er 17 heeft (dit betekent dat het veel eenvoudiger is om mee te werken in het knooppuntengereedschap) en gladder is. + De belangrijkste toepassing van de opdracht Vereenvoudigen (Ctrl+L) is het reduceren van het aantal knooppunten van een pad, maar met zo goed mogelijk behoud van de vorm. Dit kan bruikbaar zijn voor paden gemaakt met het Potlood, aangezien dat gereedschap soms meer knooppunten maakt dan nodig. Hieronder is de linkse vorm getekend uit de vrije hand en de rechtse is een vereenvoudigde kopie. Het originele pad bevat 28 knooppunten waar het vereenvoudigde pad er 17 heeft (dit betekent dat het veel eenvoudiger is om mee te werken in het knooppuntengereedschap) en gladder is. - - - - + + + + - De mate van vereenvoudigen (de grenswaarde genoemd) hangt af van de grootte van de selectie. Indien je bijgevolg een pad samen met een groter object selecteert, zal het meer aggressief vereenvoudigd worden dan wanneer je het pad alleen selecteert. De opdracht Vereenvoudigen is bovendien versneld. Dit betekent dat wanneer je verschillende keren snel achtereen ( 0.5 sec) op Ctrl+L drukt, de grenswaarde elke keer verhoogt. (Indien je opnieuw vereenvoudigt na een kleine pauze, is de grenswaarde opnieuw de standaardwaarde.) Door gebruik te maken van de versnelling, is het eenvoudig om de juiste hoeveelheid vereenvoudiging toe te passen voor elke situatie. + De mate van vereenvoudigen (de grenswaarde genoemd) hangt af van de grootte van de selectie. Indien je bijgevolg een pad samen met een groter object selecteert, zal het meer aggressief vereenvoudigd worden dan wanneer je het pad alleen selecteert. De opdracht Vereenvoudigen is bovendien versneld. Dit betekent dat wanneer je verschillende keren snel achtereen ( 0.5 sec) op Ctrl+L drukt, de grenswaarde elke keer verhoogt. (Indien je opnieuw vereenvoudigt na een kleine pauze, is de grenswaarde opnieuw de standaardwaarde.) Door gebruik te maken van de versnelling, is het eenvoudig om de juiste hoeveelheid vereenvoudiging toe te passen voor elke situatie. - - + + - Behalve het glad maken van vrij getekende lijnen, kan Vereenvoudigen gebruikt worden voor diverse creatieve effecten. Een vorm die rigide en geometrische is, heeft vaak voordeel bij een bepaalde mate van vereenvoudiging voor coole realistische veralgemeningen van het origineel - afronden van scherpe hoeken en introduceren van natuurlijke vervormingen, soms stijlvol en soms gewoon grappig. Hier is een voorbeeld van een clipart vorm die veel leuker oogt na Vereenvoudigen: + Behalve het glad maken van vrij getekende lijnen, kan Vereenvoudigen gebruikt worden voor diverse creatieve effecten. Een vorm die rigide en geometrische is, heeft vaak voordeel bij een bepaalde mate van vereenvoudiging voor coole realistische veralgemeningen van het origineel - afronden van scherpe hoeken en introduceren van natuurlijke vervormingen, soms stijlvol en soms gewoon grappig. Hier is een voorbeeld van een clipart vorm die veel leuker oogt na Vereenvoudigen: - Origineel - Lichte vereenvoudiging - Agressieve vereenvoudiging - - - - - Maken van tekst + Origineel + Lichte vereenvoudiging + Agressieve vereenvoudiging + + + + + Maken van tekst - - + + Inkscape kan lange en complexe teksten maken. Echter, het is tevens handig om kleine tekstobjecten te maken zoals, hoofdingen, banners, logo's, labels, onderschriften, etc. Deze sectie geeft een korte introductie in Inkscape's tekstmogelijkheden. - - + + Een tekstobject maken is zo eenvoudig als het openen van het tekstgereedschap (F8), ergens in het document te klikken en je tekst te typen. Open het dialoogvenster Tekst en lettertype om lettertypefamilie, stijl, grootte en uitlijning te veranderen (Shift+Ctrl+T). Dit dialoogvenster bevat ook een tabblad voor wijziging van de tekst van het geselecteerde object - in sommige situaties is dit handiger dan direct bewerken op het canvas (in het bijzonder ondersteund deze tab spellingscontrole tijdens het typen). - - + + Zoals andere gereedschappen kan het tekstgereedschap objecten van het eigen type selecteren - tekstobjecten - zo kan je klikken om te selecteren en de cursor te positioneren in een bestaand tekstobject (zoals deze paragraaf). - - + + Een van de meest voorkomende handelingen in tekstontwerp is het aanpassen van de afstand tussen letters en lijnen. Zoals gewoonlijk heeft Inkscape hiervoor sneltoetsen. Tijdens het wijzigen van tekst veranderen Alt+< en Alt+> de letterafstand in de huidige lijn van het tekstobject zodat de totale lengte van de lijn verandert met 1 pixel bij de huidige zoom (vergelijk met het selectiegereedschap waar dezelfde toetsen schalen op pixelniveau). Indien de lettergrootte in een tekstobject groter is dan standaard, zal het algemeen gunstig zijn om letters dichter opeen te plaatsen dan normaal. Zie hier een voorbeeld: - Origineel - Letterafstand verminderd - Inspiratie - Inspiratie - - + Origineel + Letterafstand verminderd + Inspiratie + Inspiratie + + De smallere variant ziet er beter uit als een hoofding, maar het is nog steeds niet perfect: de afstanden tussen letters zijn niet uniform. Bijvoorbeeld, de “a” en “t” staan te ver van elkaar, terwijl “t” en “i” te dicht opeen staan. Het aantal slechte tekenspatiëringen (vooral zichtbaar in hoge lettertypegroottes) is groter bij lettertypes van lage kwaliteit dan bij hoge kwaliteitslettertypes. Echter, in elke tekst en bij elk lettertype, zal je wellicht letterparen vinden die voordeel ondervinden van aanpassingen in de tekenspatiëring. - - + + Inkscape maakt deze aanpassingen echt eenvoudig. Verplaats je cursor in tekstbewerkingsmodus tussen de bewuste tekens en gebruik Alt+pijltjestoetsen om de letters rechts van de cursor te verplaatsen. Hier is dezelfde hoofding, deze keer met manuele aanpassingen voor visueel uniforme tekenpositionering. - Letterafstand verminderd, voor enkele letterparen manueel - Inspiratie - - + Letterafstand verminderd, voor enkele letterparen manueel + Inspiratie + + Naast letters horizontaal verplaatsen met Alt+Links of Alt+Rechts, kan je ze ook verticaal verplaatsen met Alt+Omhoog of Alt+omlaag: - Inspiratie - - + Inspiratie + + Je kan natuurlijk je tekst gewoon omzetten naar een pad (Shift+Ctrl+C) en de letters verplaatsen als een reguliere paden. Het is echter handiger om tekst als tekst te behouden - het blijft bewerkbaar. Je kan verschillende lettertypes proberen zonder de tekenspatiëring te verwijderen en neemt het minder plaats in in het bewaarde bestand. Het enige nadeel van de “tekst als tekst”-benadering is dat je het originele lettertype geïnstalleerd moet hebben op elk systeem waarop je het SVG-document wil openen. - - + + Gelijkaardig aan de tekenspatiëring kan je de regelafstand in meerlijnige tekstobjecten aanpassen. Probeer Ctrl+Alt+< en Ctrl+Alt+> op eender welke paragraaf in deze handleiding om de totale hoogte van het tekstobject te verlagen/verhogen met 1 pixel bij de huidige zoom. - - XML-editor + + XML-editor - - + + Het ultieme gereedschap van Inkscape is de XML-editor (Shift+Ctrl+X). Het toont de volledige XML-boom van het document en geeft altijd de huidige status weer. Je kan je tekening bewerken en de overeenkomstige veranderingen in de XML-boom zien. Bovendien kan je teksten, objecten of attributen wijzigen inde XML-boom en het resultaat zien op het canvas. Dit is het beste gereedschap om SVG op interactieve wijze te leren en het laat je toe om trucs toe te passen die onmogelijk zijn met reguliere bewerkingsprogramma's. - - Conclusie + + Conclusie - - + + - Deze handleiding toont slechts een kleine fractie van alle mogelijkheden van Inkscape. We hopen dat je het tof vond. Aarzel niet om te experimenteren en te delen wat je maakt. Bezoek www.inkscape.org a.u.b. voor meer informatie, de laatste versies en help van de gebruikers- en ontwikkelgemeenschap. + Deze handleiding toont slechts een kleine fractie van alle mogelijkheden van Inkscape. We hopen dat je het tof vond. Aarzel niet om te experimenteren en te delen wat je maakt. Bezoek www.inkscape.org a.u.b. voor meer informatie, de laatste versies en help van de gebruikers- en ontwikkelgemeenschap. - + - + + + + + + + @@ -504,30 +494,18 @@ - + - - - - - - - - - - - - - - - - - - + + + + + + - - Gebruik Ctrl+pijl omhoog om te scrollen - + + Gebruik Ctrl+pijl omhoog om te scrollen + === modified file 'share/tutorials/tutorial-basic.nl.svg' --- share/tutorials/tutorial-basic.nl.svg 2010-09-12 19:44:58 +0000 +++ share/tutorials/tutorial-basic.nl.svg 2012-02-16 12:59:31 +0000 @@ -1,5 +1,6 @@ - + + @@ -7,11 +8,13 @@ - - - - - + + + + + + + @@ -25,143 +28,131 @@ - - - - - - - - - - - - - - - - - - + + + + + + - Gebruik Ctrl+pijl omlaag om te scrollen - + Gebruik Ctrl+pijl omlaag om te scrollen + handleiding - + ::BASIS - + Deze handleiding demonstreert het basisgebruik van Inkscape. Dit is een gewoon Inkscape document dat je kan bekijken, wijzigen, kopiëren of bewaren. - + De Basishandleiding behandelt canvasnavigatie, documentbeheer, het vorm-gereedschap, selectietechnieken, objecttransformatie met het aanwijsgereedschap, groeperen, opmaak, vulling en lijn, uitlijning en volgorde. Voor geavanceerdere onderwerpen, kan je de andere handleidingen in het menu Help raadplegen. - + Het canvas verschuiven - + Er zijn diverse manieren om het canvas van het document te verschuiven (scrollen). Probeer Ctrl+pijltjestoetsen om te scrollen met het toetsenbord. (Probeer dit nu door naar onder in het document te gaan.) Je kan het canvas ook verslepen met behulp van de middenmuisknop. Een andere mogelijkheid is het gebruik van de schuifbalken (druk op Ctrl+B om ze te tonen of verbergen). Het wiel van je muis werkt ook om verticaal te scrollen; druk op Shift samen met het wiel om horizontaal te scrollen. - + In- of uitzoomen - + De eenvoudigste manier om te zoomen is door het drukken op de toetsen - en + (of =). Je kan ook Ctrl+middenklik of Ctrl+rechtsklik gebruiken om in te zoomen, Shift+middenklik of Shift+rechtsklik om uit te zoomen, of door het draaien aan het muiswiel in combinatie met Ctrl. Een andere mogelijkheid is het klikken in het zoomveld (onderaan rechts van het documentvenster), het ingeven van een exact percentage zoomen en Enter te drukken. We hebben ook het Zoom-gereedschap (in de knoppenbalk links) dat je laat inzoomen op een regio door er rondom te slepen. - + Inkscape bewaart ook de geschiedenis van de zoomniveaus die je gebruikt hebt tijdens de huidige werksessie. Druk op ` om terug te gaan naar de vorige zoom of op Shift+` om naar de volgende te gaan. - + Inkscape gereedschappen - + - De verticale knoppenbalk links toont Inkscape's teken- en bewerkgereedschappen. In het bovenste gedeelte van het venster onder het menu vind je de Opdrachtenbalk met algemene knoppen en de knoppenbalk Gereedschapsdetails met knoppen die specifiek zijn voor elk gereedschap. De statusbalk onderaan het scherm toont bruikbare hints en boodschappen tijdens het werken met Inkscape. + De verticale knoppenbalk links toont Inkscape's teken- en bewerkgereedschappen. In het bovenste gedeelte van het venster onder het menu vind je de Opdrachtenbalk met algemene knoppen en de knoppenbalk Gereedschapsdetails met knoppen die specifiek zijn voor elk gereedschap. De statusbalk onderaan het scherm toont bruikbare hints en boodschappen tijdens het werken met Inkscape. - + Veel operaties zijn mogelijk aan de hand van sneltoetscombinaties. Open Help > Bedieningsoverzicht voor een volledig overzicht. - + Aanmaken en beheren van documenten - + - Om een leeg document aan te maken, gebruik je Bestand > Nieuw of druk je op Ctrl+N. Om een bestaand SVG-document te openen, gebruik je Bestand > Openen (Ctrl+O). Om te bewaren, gebruik je Bestand > Opslaan (Ctrl+S), of Opslaan als (Shift+Ctrl+S) om te bewaren onder een nieuwe naam. (Inkscape kan soms onstabiel zijn, bewaar dus regelmatig!) + Om een leeg document aan te maken, gebruik je Bestand > Nieuw of druk je op Ctrl+N. Om een bestaand SVG-document te openen, gebruik je Bestand > Openen (Ctrl+O). Om te bewaren, gebruik je Bestand > Opslaan (Ctrl+S), of Opslaan als (Shift+Ctrl+S) om te bewaren onder een nieuwe naam. (Inkscape kan soms onstabiel zijn, bewaar dus regelmatig!) - + Inkscape gebruikt het SVG-formaat (Scalable Vector Graphics) voor zijn bestanden. SVG is een open standaard die breed ondersteund wordt door grafische software. SVG-bestanden zijn gebaseerd op XML en kunnen bewerkt worden met elke tekst of XML-editor (buiten Inkscape). Behalve SVG, kan Inkscape importeren en exporteren naar diverse andere formaten (EPS, PNG). - + Inkscape opent een nieuw documentvenster voor elk document. Je kan navigeren tussen documenten met behulp van je vensterbeheerder (Eng.: window manager) (bv. door Alt+Tab), of je kan de Inkscape sneltoetscombinatie Ctrl+Tab gebruiken die alle open documentvensters overloopt. (Maak nu een nieuw documentvenster aan en wissel tussen dat en dit document om te oefenen.) Opmerking: Inkscape behandelt deze vensters zoals tabbladen in een webbrowser. Dit betekent dat Ctrl+Tab alleen werkt bij documenten van hetzelfde proces. Indien je meerdere vensters vanuit een bestandsbeheerprogramma opent of indien je meer dan één Inkscape proces start van een icoon, zal dit niet werken. - + Vormen maken - + Tijd voor enkele mooie vormen! Klik op het Rechthoek-gereedschap in de gereedschappenbalk (of druk op F4) en klik-en-sleep, hetzij in een nieuw document of onmiddellijk hier: - - - - - - - - - - - + + + + + + + + + + + - + - Zoals je kan zien, zijn rechthoeken standaard blauw met een zwarte lijn (rand), en gedeeltelijk transparant. Hieronder zien we hoe we dat kunnen veranderen. Met andere gereedschappen, kan je ook ellipsen, sterren en spitalen maken: + Zoals je kan zien, zijn rechthoeken standaard blauw met een zwarte lijn (rand), en volledig opaak. Hieronder zien we hoe we dat kunnen veranderen. Met andere gereedschappen, kan je ook ellipsen, sterren en spiralen maken: @@ -180,24 +171,24 @@ - + Deze gereedschappen zijn bekend onder de gemeenschappelijke noemer vormgereedschappen. Elke vorm die je maakt, toont een of meer diamandvormige handvatten; tracht deze te verslepen en zie hoe de vorm verandert. Het gereedschapspaneel voor een vormgereedschap is een andere weg om een vorm aan te passen; deze panelen beïnvloeden de huidig geselecteerde vormen (bv. deze die handvatten vertonen) en stellen standaardwaarden in die gelden voor nieuw aangemaakte vormen. - + Om je laatste actie Ongedaan te maken, druk je op Ctrl+Z. (Of, indien je van gedachten verandert, kan je Opnieuw kiezen om de teruggedraaide actie opnieuw uit te voeren met Shift+Ctrl+Z.) - + Verplaatsen, schalen en draaien - + @@ -205,7 +196,7 @@ - + @@ -213,7 +204,7 @@ - + @@ -221,14 +212,14 @@ - + Het object schalen door het slepen van een van de handvatten. (Druk op Ctrl om de originele hoogte/breedteverhouding te behouden.) - + @@ -236,7 +227,7 @@ - + @@ -244,210 +235,210 @@ - + Het object scheef te trekken door het verslepen van de niet-hoekpunt-handvatten. (Druk op Ctrl om de scheeftrekking te beperken tot stappen van 15 graden.) - + Tijdens het gebruik van het selectie-gereedschap kan je ook numerieke bewerkingsvelden in de gereedschappenbalk (boven het canvas) gebruiken voor het isntellen van exacte waarden voor coördinaten (X en Y) en groote (B and H) van de selectie. - + Transformaties met behulp van het toetsenbord - + - Een van Inkscape's kenmerken is, in tegenstelling tot andere bewerkingspakketten voor vectorafbeeldingen, de nadruk op toegankelijkheid via het toetsenbord. Er is bijna geen commando of actie die niet mogelijk is via het toetsenbord. Objecttransformaties zijn daarop geen uitzondering. + Een van Inkscape's kenmerken is, in tegenstelling tot andere bewerkingspakketten voor vectorafbeeldingen, de nadruk op toegankelijkheid via het toetsenbord. Er is bijna geen commando of actie die niet mogelijk is via het toetsenbord. Objecttransformaties zijn daarop geen uitzondering. - + Je kan het toetsenbord gebruiken voor het verplaatsen (pijltjestoetsen), schalen (toetsen < en >) en roteren (toetsen [ en ]) van objecten. Standaard wordt verplaatst en geschaald met 2 pixels; met Shift, verplaats of schaal je met tien keer deze waarde. Ctrl+> en Ctrl+< schalen in of uit tot respectievelijk 200% of 50% van het origineel. Standaard wordt er geroteerd in stappen van 15 graden; met Ctrl roteer je in stappen van 90 graden. - + Echter, misschien zijn pixel-grootte transformaties nog het meest bruikbaar. Deze worden aangeroepen via Alt in combinatie met de transformatietoets. Bijvoorbeeld, Alt+pijltjestoetsen zal de selectie met 1 pixel verplaatsen bij de huidige zoom (bijvoorbeeld met 1 schermpixel, niet te verwarren met de px eenheid die een SVG-lengteëenheid is onafhankelijk van de zoom). Dit betekent dat indien je inzoomt, een Alt+pijltjestoets zal resulteren in een kleinere absolute verplaatsing die er nog steeds uitziet als een één-pixel verplaatsing op je scherm. Het is dus mogelijk om objecten te positioneren met een arbitraire precisie door het eenvoudig in- of uitzoomen. - + Op dezelfde wijze zullen Alt+> en Alt+< de selectie schalen zodat de zichtbare grootte met een schermpixel verandert; Alt+[ en Alt+] roteren zodat het punt dat het verste van het rotatiemiddelpunt ligt met één schermpixel verplaatst. - + Opmerking: Linux gebruikers krijgen mogelijk niet de verwachte resultaten met de Alt+pijltjestoets en enkele andere toetsenbordcombinaties indien hun vensterbeheerder (VB) deze toetsenbordacties opvangt vooraleer ze Inkscape bereiken. Een mogelijke oplossing hiervoor zou het veranderen van de relevante VB configuratie kunnen zijn. - + Meervoudige selecties - + Je kan een willekeurig aantal objecten tegelijk selecteren met behulp van Shift+klik. Daarnaast kan je slepen rond de objecten die je moet selecteren; dit wordt elastiekselectie genoemd. (Het selectiegereedschap maakt een elastiek wanneer gesleept wordt over een lege ruimte. Echter, indien je op Shift drukt vooraleer te beginnen met slepen, zal Inkscape altijd een elastiek maken.) Oefen door het selecteren van de drie onderstaande vormen: - - - + + + - + Gebruik nu de elastiek (door slepen of Shift+slepen) om de twee ellipsen te selecteren maar niet de rechthoek: - - - + + + - + Elk individueel object in een selectie vertoont een selectie-aanduiding — standaard gestreept rechthoekig frame. Deze aanduidingen maken het eenvoudig om in een oogopslag te zien wat geselecteerd is en wat niet. Bijvoorbeeld, indien je beide ellipsen en de rechthoek selecteert zou het zonder de selectie-aanduidingen erg moeilijk zijn om te raden of de ellipsen geselecteerd zijn of niet. - + Shift+klikken op een geselecteerd object haalt het uit de selectie. Selecteer de drie bovenstaande objecten en gebruik dan Shift+klik om beide ellipsen uit de selectie te halen en zodoende enkel de rechthoek in de selectie over te houden. - + Het drukken op Esc deselecteert alle geselecteerde objecten. Ctrl+A selecteert alle objecten in de huidige laag (indien je geen lagen creëerde, is deze dezelfde voor alle objecten in het document). - + Groeperen - + Verschillende objecten kunnen gecombineerd worden in een groep. Een groep gedraagt zich als een enkel object tijdens het slepen of transformeren. Hieronder zijn de drie objecten links onafhankelijk; dezelfde drie objecten rechts zijn gegroepeerd. Tracht de groep te verslepen. - - - - - - - + + + + + + + - + Om een groep te creëren, selecteer je de objecten en druk je op Ctrl+G. Om een of meer groepen te degroeperen, selecteer je ze en druk je op Ctrl+U. Groepen kunnen zoals elk ander object zelf gegroepeerd worden: dergelijke recursieve groepen kunnen gaan tot elke mogelijke diepte. Echter, Ctrl+U degroepeert enkel het hoogste groepsniveau in een selectie; je zal herhaaldelijk op Ctrl+U moeten drukken indien je een groep-in-groep volledig wil degroeperen. - + Echter, je hoeft niet noodzakelijk te degroeperen indien je een object in een groep wil bewerken. Ctrl+klik daarvoor op het object: alleen dat object wordt geselecteerd en is wijzigbaar. Je kan Shift+Ctrl+klikken op verschillende objecten (in of uit een groep) voor meervoudige selectie ongeacht de eventuele groepering. Tracht de individuele vormen in de groep (boven rechts) te verplaatsen of te transformeren zonder te degroeperen. Deselecteer vervolgens en selecteer de groep zoals normaal zodat je kan zien dat de vormen steeds gegroepeerd blijven. - - Vulling en lijn + + Vulling en lijn - + - Veel van Inkscape's functies zijn beschikbaar via dialoogvensters. Wellicht de eenvoudigste wijze om een object te kleuren is het openen van het dialoogvenster Paletten in het menu Beeld (of druk op Shift+Ctrl+W), selecteer een object en klik op een palet om te verven (vulkleur veranderen). + Veel van Inkscape's functies zijn beschikbaar via dialoogvensters. Wellicht de eenvoudigste wijze om een object te kleuren is het openen van het dialoogvenster Paletten in het menu Beeld (of druk op Shift+Ctrl+W), selecteer een object en klik op een palet om te verven (vulkleur veranderen). - + Krachtiger is het dialoogvenster Opvulling en lijnen van het menu Object (of duk op Shift+Ctrl+F). Selecteer de vorm en open het dialoogvenster Opvulling en lijnen. - + - + Je zal zien dat het dialoogvenster drie tabbladen heeft: Vullen, Lijnkleur en Lijnstijl. Het tabblad Vullen laat je toe om de vulling (binnenzijde) van het/de geselecteerde object(en) te bewerken. Door gebruik te maken van de knoppen in dit tabblad, kan je het type vulling selecteren, inclusief geen vulling (de knop met de X), egale vulkleur, maar ook lineaire en radiale kleurverlopen. Voor de bovenstaande vorm zal de knop Egale kleur geactiveerd zijn. - + Verder zie je een aantal kleurselectiesystemen, elk in hun eigen tabblad: RGB, TVL, CMYK en Wiel. Misschien de meest handige is het wiel, waar je kan draaien aan de driehoek om een tint te selecteren en vervolgens een kleurnuance van de tint in de driehoek. Elk kleurselectiesysteem bevat een schuifbalk om de alfa (transparantie) van de geselecteerde objecten in te stellen. - + Wanneer je een object selecteert, wordt de kleurselectie geupdated om de huidige vulling en lijn weer te geven (voor meerdere geselecteerde objecten toont het dialoogvenster hun gemiddelde kleur). Oefen met deze voorbeelden of creëer je eigen vormen: - - - - - - - + + + + + + + - + Met behulp van het tabblad Lijnkleur kan je de lijn (rand) van een object verwijderen, de kleur en transparantie ervan instellen: - - - - - - - - + + + + + + + + - + Het laatste tabblad, Lijnstijl, laat je toe om de breedte en andere parameters van de lijn in te stellen: - - - - - - - + + + + + + + - + @@ -490,40 +481,40 @@ - - - - - - - + + + + + + + - + Wanneer je verandert van egale kleur naar kleurverloop gebruikt het nieuw gecreëerde kleurverloop de vorige egale kleur, gaande van opaak naar transparant. Open het gereedschap Kleurverlopen (Ctrl+F1) om de kleurverloophandvatten te verslepen — de punten verbonden door lijnen die de richting en lengte van het kleurverloop bepalen. Wanneer een van de kleurverloophandvatten is geselecteerd (blauw opgelicht), stelt het dialoogvenster Opvulling en lijnen de kleur van dat handvat in, in plaats van de kleur van het volledige geselecteerde object. - + Nog een andere handige manier om de kleur van een object te veranderen is door het gebruik van het pipet-gereedschap (F7). Klik daarvoor ergens in de afbeelding met dit gereedschap en de gekozen kleur zal toegepast worden op de vulling van de geselecteerde objecten (Shift+klik zal de lijnkleur toepassen). - - Duplicatie, uitlijning en verdeling + + Duplicatie, uitlijning en verdeling - + Een van de meest voorkomende operaties is het dupliceren van een object (Ctrl+D). Het duplicaat wordt exact boven het origineel geplaatst en is geselecteerd. Zo kan je het wegslepen met de muis of de pijltjestoetsen. Tracht bij wijze van oefening de lijn te vullen met kopieën van dit zwart vierkant: - + - + @@ -544,134 +535,140 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Z-volgorde + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Z-volgorde - + - De term z-volgorde refereert naar de stapelvorlgorde van objecten in een afbeelding, bijvoorbeeld naar welke objecten bovenaan zijn en het zicht op andere objecten beperken. De twee commando's in het menu Object, Bovenaan (de toets Home) en Onderaan (de toets End), zullen de geselecteerde objecten verplaatsen naar de top of bodem van de huidige laag. Twee andere commando's, Omhoog (PgUp) en Omlaag (PgDn), brengen de selectie slechts een stap naar boven of onder, dit is verplaatsen voorbij een niet geselecteerd object in de z-volgorde (enkel objecten die met de selectie overlappen tellen mee; Indien niets met de selectie overlapt, verplaatsen Omhoog en Omlaag deze naar de top of bodem). + De term z-volgorde refereert naar de stapelvorlgorde van objecten in een afbeelding, bijvoorbeeld naar welke objecten bovenaan zijn en het zicht op andere objecten beperken. De twee commando's in het menu Object, Bovenaan (de toets Home) en Onderaan (de toets End), zullen de geselecteerde objecten verplaatsen naar de top of bodem van de huidige laag. Twee andere commando's, Omhoog (PgUp) en Omlaag (PgDn), brengen de selectie slechts een stap naar boven of onder, dit is verplaatsen voorbij een niet geselecteerd object in de z-volgorde (enkel objecten die met de selectie overlappen tellen mee; Indien niets met de selectie overlapt, verplaatsen Omhoog en Omlaag deze naar de top of bodem). - + - Oefen het gebruik van deze commando's door de z-volgorde van onderstaande objecten om te keren, zodanig dat de meest linkse ellips bovenaan ligt en de meest rechtse onderaan: + Oefen het gebruik van deze commando's door de z-volgorde van onderstaande objecten om te keren, zodanig dat de meest linkse ellips bovenaan ligt en de meest rechtse onderaan: - - - - - - + + + + + + - + Een erg handige selectie-sneltoets is de Tab-toets. Indien niets geselecteerd is, selecteert het het onderste object. Zoniet selecteert het het object boven de geselecteerde object(en) in z-volgorde. Shift+Tab werkt in omgekeerde volgorde, startend bij het bovenste object en naar beneden gaande. Aangezien de objecten die je aanmaakt, toegevoegd worden aan de top van de stapel zal het drukken op Shift+Tab zonder selectie voor de eenvoud het object selecteren dat je het laatst aanmaakte. Oefen het gebruik van Tab en Shift+Tab met de stapel ellipsen hierboven. - - Selecteren onder iets en verslepen selectie + + Selecteren onder iets en verslepen selectie - + Wat moet je doen indien het object dat je nodig hebt verborgen is achter een ander object? Je kan het onderste object nog zien, indien het bovenste (partieel) transparant is, maar het klikken hierop selecteert het bovenste object, niet datgene dat je nodig hebt. - + - Daarom is er Alt+klik. De eerste Alt+klik selecteert het bovenste object, net zoals de reguliere klik. Echter, de volgende Alt+klik op hetzelfde punt zal het object onder het bovenste selecteren; daarna het volgende, het object daaronder, etc. Bijgevolg zullen verschillende opeenvolgende Alt+klik's een cyclus vormen van top naar bodem op het klikpunt. Bij het bereiken van het onderste object, zal de volgende Alt+klik automatisch opnieuw het bovenste object selecteren. + Daarom is er Alt+klik. De eerste Alt+klik selecteert het bovenste object, net zoals de reguliere klik. Echter, de volgende Alt+klik op hetzelfde punt zal het object onder het bovenste selecteren; daarna het volgende, het object daaronder, etc. Bijgevolg zullen verschillende opeenvolgende Alt+klik's een cyclus vormen van top naar bodem op het klikpunt. Bij het bereiken van het onderste object, zal de volgende Alt+klik automatisch opnieuw het bovenste object selecteren. - + [Indien je op Linux werkt, is het mogelijk dat Alt+klik niet correct werkt. In dat geval zal het het volledige Inkscape venster verplaatsen. Dit is zo omdat je vensterbeheerder Alt+klik heeft gereserveerd voor een andere actie. De manier om dit op te lossen is het zoeken van het venstergedrag in de configuratie van de vensterbeheerder, en dit ofwel uitschakelen, of het toekennen aan de Meta toets (aka Windows toets), opdat Inkscape en andere applicaties de Alt-toets vrij kunnen gebruiken.] - + Dit is mooi, maar wat kan je doen zodra je een onder-het-oppervlak object geselecteerd hebt? Je kan de toetsen gebruiken om het te transformeren en je kan de selectiehandvatten verslepen. Echter, het slepen van het object zelf, stelt de selectie opnieuw in naar het bovenste object (dit is hoe het klik-en-sleep-gedrag is ontworpen om te werken - het selecteert eerst het (bovenste) object onder de cursor en versleept vervolgens de selectie). Om Inkscape te vertellen dat wat nu geselecteerd is te verslepen, zonder iets anders te selecteren, gebruik je Alt+slepen. Dit zal de huidige selectie verplaatsen onafhankelijk van waar je met je muis sleept. - + Oefen Alt+klik en Alt+slepen op de twee bruine vormen onder de groene transparante rechthoek: - - - - - Conclusie + + + + + Conclusie - + - Tot zover de Basishandleiding. Er is veel meer in Inkscape, maar met de hier beschreven technieken kan je reeds eenvoudige, maar bruikbare afbeeldingen maken. Voor complexere dingen kan je de handleiding Geavanceerd of andere handleidingen raadplegen in Help > Handleidingen. + Tot zover de Basishandleiding. Er is veel meer in Inkscape, maar met de hier beschreven technieken kan je reeds eenvoudige, maar bruikbare afbeeldingen maken. Voor complexere dingen kan je de handleiding Geavanceerd of andere handleidingen raadplegen in Help > Handleidingen. - + - + + + + + + + @@ -683,30 +680,18 @@ - + - - - - - - - - - - - - - - - - - - + + + + + + - - Gebruik Ctrl+pijl omhoog om te scrollen - + + Gebruik Ctrl+pijl omhoog om te scrollen + === modified file 'share/tutorials/tutorial-elements.nl.svg' --- share/tutorials/tutorial-elements.nl.svg 2011-02-20 12:07:30 +0000 +++ share/tutorials/tutorial-elements.nl.svg 2012-02-16 12:59:31 +0000 @@ -1,6 +1,6 @@ - + @@ -8,11 +8,13 @@ - - - - - + + + + + + + @@ -26,75 +28,63 @@ - - - - - - - - - - - - - - - - - - + + + + + + - Gebruik Ctrl+pijl omlaag om te scrollen - + Gebruik Ctrl+pijl omlaag om te scrollen + handleiding - + ::ELEMENTEN - + Deze handleiding demonstreert de elementen en ontwerpbeginselen die normaal aan kunststudenten aangeleerd worden om de verschillende aspecten in kunst te begrijpen. Dit is geen exclusieve lijst, dus voeg toe, haal uit en combineer om deze handleiding meer omvattend te maken. - - - - Elementen - Principes - Kleur - Lijn - Vorm - Ruimte - Textuur - Helderheid - Grootte - Balans - Contrast - Klemtoon - Proportie - Patroon - Gradatie - Compositie - Overzicht - + + + + Elementen + Principes + Kleur + Lijn + Vorm + Ruimte + Textuur + Helderheid + Grootte + Balans + Contrast + Klemtoon + Proportie + Patroon + Gradatie + Compositie + Overzicht + Ontwerpbeginselen - + De volgende elementen zijn de bauwstenen van een ontwerp. - + Lijn - + @@ -112,27 +102,27 @@ - + Vorm - + Een vorm wordt gemaakt wanneer lijnen elkaar snijden en een ruimte omgeven. Een verandering in kleur of schaduw kan een vorm definiëren. Vormen kunnen verdeeld worden in verschillende types: geometrisch (vierkant, driehoek, cirkel) of organisch (onregelmatig). - + - + - + - + Grootte - + @@ -141,25 +131,25 @@ GR klein - + Ruimte - + Ruimte zijn de lege of open gebieden tussen, rond, boven, onder of in objecten. Vormen worden bepaald door de ruimte rondom en binnenin ze. Ruimte wordt vaak drie- of tweedimensionaal genoemd. Positieve ruimte wordt gevuld door een vorm. Negatieve ruimte omgeeft een vorm. - - - - - + + + + + Kleur - + @@ -177,11 +167,11 @@ - + Textuur - + @@ -202,11 +192,11 @@ - + Helderheid - + @@ -237,37 +227,37 @@ - + Ontwerpprincipes - + De principes gebruiken de ontwerpelementen om een compositie te maken. - + Balans - + Balans is het gevoel van visuele gelijkheid in vorm, helderheid, kleur, etc. Balans kan symmetrisch of asymmetrisch zijn. Objecten, helderheid, kleuren, texturen, vormen, etc. kunnen gebruikt worden voor de balans in een compositie. - - - - - - - + + + + + + + Contrast - + @@ -277,26 +267,26 @@ - + Klemtoon - + Klemtoon wordt gebruikt om bepaalde delen van het kunstwerk te accentueren en je aandacht te trekken. Het middelpunt van de aandacht of focaal punt is de plaats in een werk waar je oog het eerst naar kijkt. - - - - - - + + + + + + Proportie - + @@ -352,11 +342,11 @@ - - - - - + + + + + @@ -389,11 +379,11 @@ - + - Random mier & 4x4 - SVG-afbeelding gemaakt door Andrew FitzsimonMet dank aan de Open Clip Art Libraryhttp://www.openclipart.org/ - + Random mier & 4x4 + SVG-afbeelding gemaakt door Andrew FitzsimonMet dank aan de Open Clip Art Libraryhttp://www.openclipart.org/ + @@ -413,13 +403,13 @@ - - - + + + Patroon - + @@ -428,21 +418,21 @@ - - - - - + + + + + - + Gradatie - + @@ -464,11 +454,11 @@ - + Compositie - + @@ -554,41 +544,41 @@ - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + - - + + Bibliografie - + @@ -596,78 +586,84 @@ - + - http://sanford-artedventures.com/study/study.html + http://sanford-artedventures.com/study/study.html - + - http://www.makart.com/resources/artclass/EPlist.html + http://www.makart.com/resources/artclass/EPlist.html - + - http://www.princetonol.com/groups/iad/Files/elements2.htm + http://www.princetonol.com/groups/iad/Files/elements2.htm - + - http://oswego.org/staff/bpeterso/web/elements_and_principles.htm + http://oswego.org/staff/bpeterso/web/elements_and_principles.htm - + - http://www.johnlovett.com/test.htm + http://www.johnlovett.com/test.htm - + - http://digital-web.com/articles/elements_of_design/ + http://digital-web.com/articles/elements_of_design/ - + - http://digital-web.com/articles/principles_of_design/ + http://digital-web.com/articles/principles_of_design/ - + - Speciale dank gaat naar Linda Kim (http://www.redlucite.org) voor de hulp (http://www.rejon.org/) bij deze handleiding. Verder ook dank aan de Open Clip Art Library (http://www.openclipart.org/) en de mensen die hun afbeeldingen opgeladen hebben op dat project. + Speciale dank gaat naar Linda Kim (http://www.redlucite.org) voor de hulp (http://www.rejon.org/) bij deze handleiding. Verder ook dank aan de Open Clip Art Library (http://www.openclipart.org/) en de mensen die hun afbeeldingen opgeladen hebben op dat project. - + + + + + + + @@ -679,30 +675,18 @@ - + - - - - - - - - - - - - - - - - - - + + + + + + - - Gebruik Ctrl+pijl omhoog om te scrollen - + + Gebruik Ctrl+pijl omhoog om te scrollen + === modified file 'share/tutorials/tutorial-interpolate.nl.svg' --- share/tutorials/tutorial-interpolate.nl.svg 2011-02-20 12:07:30 +0000 +++ share/tutorials/tutorial-interpolate.nl.svg 2012-02-16 12:59:31 +0000 @@ -1,6 +1,6 @@ - + @@ -8,11 +8,13 @@ - - - - - + + + + + + + @@ -26,77 +28,65 @@ - - - - - - - - - - - - - - - - - - + + + + + + - Gebruik Ctrl+pijl omlaag om te scrollen - + Gebruik Ctrl+pijl omlaag om te scrollen + handleiding - + ::INTERPOLEREN Ryan Lerch, ryanlerch at gmail dot com - + Dit document legt uit hoe je de Inkscape-uitbreiding Interpoleren gebruikt - + Introductie - + Interpoleren maakt een lineaire interpolatie tussen twee of meer geselecteerde paden. Eenvoudig gezegd betekent het dat het “de gaten vult” tussen de paden en deze transformeert in overeenstemming met het aantal gegeven stappen. - + - Selecteer voor het gebruik van Interpoleren de paden die je wil transformeren en kies Uitbreidingen > Genereren uit pad > Interpoleren in het menu. + Selecteer voor het gebruik van Interpoleren de paden die je wil transformeren en kies Uitbreidingen > Genereren uit pad > Interpoleren in het menu. - + - Vooraleer de uitbreiding toe passen, moeten de objecten die je wil transformeren, omgezet worden in paden. Dit kan door de objecten te selecteren en Paden > Object naar pad of Shift+Ctrl+Cte gebruiken. Indien je objecten geen paden zijn, doet de uitbreiding niets. + Vooraleer de uitbreiding toe passen, moeten de objecten die je wil transformeren, omgezet worden in paden. Dit kan door de objecten te selecteren en Paden > Object naar pad of Shift+Ctrl+Cte gebruiken. Indien je objecten geen paden zijn, doet de uitbreiding niets. - + Interpolatie tussen twee identieke paden - + Het eenvoudigste gebruik van de uitbreiding Interpoleren is interpoleren tussen twee identieke paden. Wanneer deze aangeroepen wordt, is het resultaat dat de ruimte tussen de twee paden opgevuld wordt met duplicaten van de originele paden. Het aantal stappen bepaalt het aantal geplaatste duplicaten. - + @@ -107,7 +97,7 @@ - + @@ -127,24 +117,24 @@ Exponent: 0.0Interpolatiestappen: 6Interpolatiemethode: 2Eindpaden dupliceren: uitgevinktStijl interpoleren: uitgevinkt - + Zoals je kan zien in het bovenstaande resultaat, is de ruimte tussen de twee cirkelvormige paden gevuld met zes (het aantal interpolatiestappen) andere cirkelvormige paden. Noteer ook dat Interpoleren deze vormen groepeert. - + Interpolatie tussen twee verschillende paden - + Wanneer interpolatie toegepast wordt op twee verschillende paden interpoleert het programma de vorm van het ene pad in het andere. Het resultaat is dat je een morphingsequentie tussen de twee paden krijgt, waarbij de regelmatigheid bepaald wordt door het aantal interpolatiestappen. - + @@ -155,7 +145,7 @@ - + @@ -175,21 +165,21 @@ Exponent: 0.0Interpolatiestappen: 6Interpolatiemethode: 2Eindpaden dupliceren: uitgevinktStijl interpoleren: uitgevinkt - + Zoals je kan zien in het bovenstaande resultaat, is de ruimte tussen het cirkelvormige pad en het driehoekpad opgevuld met zes paden die gradueel van de ene vorm in de andere overgaan. - + Bij het gebruik van de uitbreiding Interpoleren op twee verschillende paden, is de positie van het beginknooppunt van elk pad van belang. Om het beginknooppunt te vinden, selecteer je het pad en schakel je over naar het knooppuntengereedschap opdat de knooppunten verschijnen. Druk op TAB. Het eerste geselecteerde knooppunt is het beginknooppunt van het pad. - + @@ -207,7 +197,7 @@ - + @@ -227,7 +217,7 @@ Exponent: 0.0Interpolatiestappen: 6Interpolatiemethode: 2Eindpaden dupliceren: uitgevinktStijl interpoleren: uitgevinkt - + @@ -258,18 +248,18 @@ - + Interpolatiemethode - + Een van de parameters van de Interpoleren is de Interpolatiemethode. Er zijn twee interpolatiemethoden geïmplementeerd die verschillen in de wijze waarop de curven van de nieuwe paden berekend worden. De mogelijke keuzen zijn Interpolatiemethode 1 of 2. - + @@ -288,7 +278,7 @@ - + @@ -307,24 +297,24 @@ - + De verschillen on hoe deze methoden de getallen berekenen valt buiten scope van dit document. Probeer dus gewoon beide en gebruik het resultaat dat het dichtste aanleunt bij wat je in gedachten had. - + Exponent - + De parameter exponent bepaalt de afstand tussen de stappen van de interpolatie. Een exponent 0 zorgt voor een gelijke afstand tussen de kopieën - + @@ -344,11 +334,11 @@ Exponent: 0.0Interpolatiestappen: 6Interpolatiemethode: 2Eindpaden dupliceren: uitgevinktStijl interpoleren: uitgevinkt - + - Hetzlfde voorbeeld met exponent 1: + Hetzelfde voorbeeld met exponent 1: @@ -363,7 +353,7 @@ - + @@ -382,7 +372,7 @@ - + @@ -401,14 +391,14 @@ - + Wanneer je exponenten gebruikt bij Interpoleren, is de volgorde waarin je de objecten selecteert van belang. In de bovenstaande voorbeelden is het stervormige pad links eerst geselecteerd en het hexagonale pad rechts als tweede. - + @@ -426,28 +416,28 @@ - + Eindpaden dupliceren - + Deze parameter bepaalt of de groep paden die door de uitbreiding gegenereert wordt, een kopie bevat van de originele paden waarop Interpoleren toegepast werd. - + Stijl interpoleren - + Deze parameter is een van de mooie functies van Interpoleren. Het zorgt ervoor dat Interpoleren bij elke stap de stijl van de paden tracht te veranderen. Bijgevolg, indien het begin- en eindpad verschillende kleuren hebben, zullen de gegeneerde paden incrementeel van kleur veranderen. - + @@ -466,7 +456,7 @@ - + @@ -485,7 +475,7 @@ - + @@ -513,11 +503,11 @@ - + Gebruik voor imitatie van onregelmatige kleurverlopen - + @@ -528,7 +518,7 @@ - + @@ -556,11 +546,11 @@ - + Conclusie - + @@ -569,7 +559,13 @@ - + + + + + + + @@ -581,30 +577,18 @@ - + - - - - - - - - - - - - - - - - - - + + + + + + - - Gebruik Ctrl+pijl omhoog om te scrollen - + + Gebruik Ctrl+pijl omhoog om te scrollen + === modified file 'share/tutorials/tutorial-shapes.nl.svg' --- share/tutorials/tutorial-shapes.nl.svg 2010-09-12 19:44:58 +0000 +++ share/tutorials/tutorial-shapes.nl.svg 2012-02-16 12:59:31 +0000 @@ -1,5 +1,6 @@ - + + @@ -7,11 +8,13 @@ - - - - - + + + + + + + @@ -25,135 +28,123 @@ - - - - - - - - - - - - - - - - - - + + + + + + - Gebruik Ctrl+pijl omlaag om te scrollen - + Gebruik Ctrl+pijl omlaag om te scrollen + handleiding - + ::VORMEN - + Deze handleiding behandelt de vier vormgereedschappen: rechthoek, ellips, ster en spiraal. We zullen de mogelijkheden van Inkscape vormen illustreren en voorbeelden tonen van hoe en wanneer ze gebruikt kunnen worden. - + - Gebruik Ctrl+Pijltjestoetsen, muiswiel of middenmuisknop om naar beneden te scrollen. Voor de basis van objecten maken, selectie en transformatie, zie de Basishandleiding in Help > Handleidingen. + Gebruik Ctrl+Pijltjestoetsen, muiswiel of middenmuisknop om naar beneden te scrollen. Voor de basis van objecten maken, selectie en transformatie, zie de Basishandleiding in Help > Handleidingen. - + Inkscape heeft vier flexibele vormgereedschappen. Elk gereedschap maakt of wijzigt zijn eigen vorm. Een vorm is een object dat je kan wijzigen op een voor de vorm unieke wijze door gebruik te maken van versleepbare handvatten en numerieke parameters die het uitzicht van de vorm bepalen. - + Bijvoorbeeld, bij een ster kan je het aantal hoeken aanpassen, de lengte van de armen, de hoek, ronding, etc. - maar een ster blijft een ster. Een vorm is “minder vrij” dan een eenvoudig pad, maar het is dikwijls interessanter en bruikbaarder. Je kan een vorm altijd converteren naar een pad (Ctrl+Shift+C), maar de omgekeerde bewerking is niet mogelijk. - + De vormgereedschappen zijn Rechthoek, Ellips, Ster en Spiraal. Laat ons eerst kijken naar hoe vormgereedschappen in het algemeen werken; dan zullen we elk vormtype in detail bekijken. - + Algemene tips - + Een nieuwe vorm wordt gemaakt door slepen op het canvas met het overeenkomstige gereedschap. Wanneer de vorm is aangemaakt en zolang deze is geselecteerd, zijn witte diamandvormige handvatten zichtbaar. Hiermee kan je onmiddellijk wijzigen wat je gemaakt hebt door het slepen van deze handvatten. - + De vier vormen tonen hun handvatten zowel in het vormgereedschap als in het knooppunten-gereedschap (F2). Wanneer je met de muis over een knooppunt komt, toont de statusbalk wat dit handvat zal doen bij slepen of klikken in combinatie met verschillende toetsen. - + Bovendien toont elk gereedschap zijn parameters in de Gereedschapsdetailsbalk (die zichtbaar is boven het canvas). Meestal bevat deze een aantal numerieke invoervelden en een knop om de waarden te herstellen naar de standaardwaarden. Wanneer vormen van het huidige vormgereedschap geselecteerd zijn, verandert de selectie bij aanpassing van de waarden in de balk. - + - Elke aanpassing aan de gereedschapsdetails worden onthouden en gebruikt voor het volgende object dat je tekent met het gereedschap. Zo zullen na het wijzigen van het aantal hoekpunten van een ster alle nieuwe sterren hetzelfde aantal hoekpunten hebben. Bovendien zullen bij het selecteren de details van de vorm zichtbaar zijn in de gereedschapsdetailsbalk waardoor de waarden voor nieuwe vormen van dit type ingesteld worden. + Elke aanpassing aan de gereedschapsdetails wordt onthouden en gebruikt voor het volgende object dat je tekent met het gereedschap. Zo zullen na het wijzigen van het aantal hoekpunten van een ster alle nieuwe sterren hetzelfde aantal hoekpunten hebben. Bovendien zullen bij het selecteren de details van de vorm zichtbaar zijn in de gereedschapsdetailsbalk waardoor de waarden voor nieuwe vormen van dit type ingesteld worden. - + Met het vormgereedschap kan een object geselecteerd worden door erop te klikken. Ctrl+klik (selecteren in groep) en Alt+klik (selecteren onder) werken zoals bij het selectiegereedschap. Esc deselecteert. - + Rechthoeken - + - Een rechthoek is de eenvoudigste, maar misschien de meest algemene vorm in illustraties. Inkscape tracht het maken en wijzigen van rechthoeken zo eenvoudig en handig te maken als mogelijk. + Een rechthoek is de eenvoudigste, maar misschien de meest algemene vorm in illustraties. Inkscape tracht het maken en wijzigen van rechthoeken zo eenvoudig en handig mogelijk te maken. - + - Activeer het gereedschap Rechthoek met F4 of door het klikken op de knop in de knoppenbalk. Teken een nieuwe rechthoek langs deze blauwe + Activeer het gereedschap Rechthoek met F4 of door het klikken op de knop in de knoppenbalk. Teken een nieuwe rechthoek langs deze blauwe: teken hier - + Verander vervolgens, zonder het verlaten van het gereedschap Rechthoek, de selectie van de ene naar de andere door erop te klikken. - + @@ -161,7 +152,7 @@ - + @@ -169,61 +160,61 @@ - + Met Shift: teken rond het startpunt als centrum. - + Zoals je kan zien, heeft de geselecteerde rechthoek (de net getekende rechthoek is altijd geselecteerd) drie handvatten in drie hoeken. Eigenlijk zijn dit vier handvatten, maar twee overlappen (in de hoek rechtsboven) indien de hoeken niet afgerond zijn. Deze twee handvatten zijn afrondingshandvatten; de twee andere (linksboven en onderaan rechts) zijn herschaalhandvatten. - + Beschouwen we eerst de afrondingshandvatten. Klik en sleep er een naar beneden. Alle hoeken van de rechthoek worden afgerond. Je ziet nu ook het tweede afrondingshandvat - het blijft op de originele positie in de hoek. Indien je cirkelvormig afgeronde hoeken wil, dan is dit alles wat je moet doen. Indien je hoeken wil die langs een zijde meer afgerond zijn dan langs de andere zijde, kan je het andere handvat naar links verplaatsen. - + Hier hebben de eerste rechthoeken cirkelvormig afgeronde hoeken en de andere twee elliptisch afgeronde hoeken: - Elliptisch afgeronde hoeken - Cirkelvormig afgeronde hoeken + Elliptisch afgeronde hoeken + Cirkelvormig afgeronde hoeken - + Klik, nog steeds in het gereedschap Rechthoek, op deze rechthoeken om ze te selecteren en observeer hun afrondingshandvatten. - + Vaak moeten de straal en vorm van de afgeronde hoeken constant zijn in de volledige compositie, zelfs als de grootte van de rechthoeken verschillend is (zoals bij diagrammen met afgeronde kaders van verschillende grootten). Inkscape maakt dit eenvoudig. Ga over naar het selectie-gereedschap. In de knoppenbalk Gereedschapsdetails is er een groep van vier wisselknoppen waarvan de tweede van links twee concentrisch afgeronde hoeken toont. Hiermee controleer je of de afgeronde hoeken meeschalen wanneer de rechthoek geschaald wordt. - + Als voorbeeld is hier de originele rode rechthoek gedupliceerd en verschillende keren geschaald in verschillende proporties met de knop “Afgeronde hoeken schalen” uit: - Schalen van afgeronde rechthoeken met "Afgeronde hoeken schalen" AF + Schalen van afgeronde rechthoeken met "Afgeronde hoeken schalen" AF @@ -233,20 +224,20 @@ - + Zie hoe de grootte en vorm van de afgeronde hoeken gelijk is bij alle rechthoeken opdat de afrondingen perfect uitgelijnd zijn in de rechter bovenhoek. Alle blauw gestippelde rechthoeken zijn afkomstig van de originele rode rechthoek door schalen met het selectie-gereedschap zonder manuele aanpassing van de afrondingshandvatten. - + Ter vergelijking is hier dezelfde compositie, maar nu gemaakt met de knop“Afgeronde hoeken schalen” aan: - Schalen van afgeronde rechthoeken met "Afgeronde hoeken schalen" AAN + Schalen van afgeronde rechthoeken met "Afgeronde hoeken schalen" AAN @@ -256,14 +247,14 @@ - + Nu zijn de afgeronde hoeken net zo verschillend bij de diverse rechtoeken. Er is geen enkele overeenkomst in de rechter bovenhoek (zoom in!). Dit is (uiterlijk) gelijk aan het geval waarbij je de originele rechthoek zou converteren naar een pad (Ctrl+Shift+C) en dit te schalen als een pad. - + @@ -271,7 +262,7 @@ - + @@ -279,7 +270,7 @@ - + @@ -287,35 +278,35 @@ - + Shift+klik om de afronding te verwijderen. - + - Je hebt misschien opgemerkt dat de gereedschapsdetailsbalk van het Rechthoek-gereedschap de horizontale (Rx) en verticale (Ry) afrondingsstralen van de rechthoek weergeeft zodat je ze precies kan instellen met een lengteëenheid naar keuze. De knop Zonder afronding doet wat hij zegt - afronding bij de geselecteerde rechthoek(en) verwijderen. + Je hebt misschien opgemerkt dat de gereedschapsdetailsbalk van het Rechthoek-gereedschap de horizontale (Rx) en verticale (Ry) afrondingsstralen van de rechthoek weergeeft zodat je ze precies kan instellen met een lengteëenheid naar keuze. De knop Zonder afronding doet wat hij zegt - afronding bij de geselecteerde rechthoek(en) verwijderen. - + - Een belangrijk voordeel van deze bediening is de mogelijkheid tot gelijktijdige aanpassing van verschillende rechthoeken. Indien je bijvoorbeeld alle rechthoeken in de laag wil aanpassen, druk dan op Ctrl+A (Alles selecteren) en stel de waarden in die je wil bij de gereedschapsdetails. Indien er ook andere objecten dan rechthoeken geselecteerd zijn, worden deze genegeerd - enkel rechthoeken worden aangepast. + Een belangrijk voordeel van deze bediening is de mogelijkheid tot gelijktijdige aanpassing van verschillende rechthoeken. Indien je bijvoorbeeld alle rechthoeken in de laag wil aanpassen, druk dan op Ctrl+A (Alles selecteren) en stel de waarden in die je wil bij de gereedschapsdetails. Indien er ook andere objecten dan rechthoeken geselecteerd zijn, worden deze genegeerd - enkel rechthoeken worden aangepast. - + Beschouwen we nu de herschaalhandvatten van een rechthoek. Je kan je afvragen waarom we deze nodig kunnen hebben, indien we evengoed de rechthoek kunnen schalen met het selectie-gereedschap? - + @@ -323,14 +314,14 @@ - + Aangezien er twee herschaalhandvatten zijn, kan je de rechthoek schalen in elke richting verplaatsen of langs zijn zijden verplaatsen. Herschaalhandvatten behouden altijd de afrondingsstralen. - + @@ -338,14 +329,14 @@ - + Sleep met Ctrl om het schalen te beperken tot de richting van de zijden of diagonaal van de rechthoek. Met andere woorden, Ctrl behoudt ofwel breedte, hoogte of de hoogte/breedte verhouding van de rechthoek (eveneens in zijn eigen coördinatensysteem dat geroteerd of scheefgetrokken kan zijn). - + @@ -361,7 +352,7 @@ Beperkingen ten opzichte van rechthoek - herschaalhandvat met Ctrl - + @@ -390,7 +381,7 @@ 3 originele rechthoeken Verschillende rechthoeken gekopieerd en herschaald met behulp van handvatten, meestal met Ctrl - + @@ -482,11 +473,11 @@ - + Ellipsen - + @@ -494,7 +485,7 @@ - + @@ -502,14 +493,14 @@ - + Met Shift: teken rond het startpunt als centrum. - + @@ -517,7 +508,7 @@ - + @@ -531,7 +522,7 @@ - + @@ -566,7 +557,7 @@ - + @@ -574,7 +565,7 @@ - + @@ -582,21 +573,21 @@ - + Shift+klik om de ellips volledig te maken (geen boog of segment). - + - De draaistap kan aangepast worden in de Inkscape Voorkeuren (tabblad Stappen) + De draaistap kan aangepast worden in de Inkscape Voorkeuren (tabblad Stappen) - + @@ -604,7 +595,7 @@ - + @@ -612,14 +603,14 @@ - + Ctrl+klik om een cirkel te maken zonder slepen. - + @@ -631,18 +622,18 @@ - + Sterren - + Sterren zijn de meest complexe en de meest opwindende Inkscape vorm. Indien je je vrienden wil imponeren, laat ze dan spelen met het gereedschap Sterren. Het betekent eindeloos vermaak - ronduit verslavend! - + @@ -657,14 +648,14 @@ Veelhoek - + In de gereedschapsdetailsbalk van het gereedschap sterren is er eerst een selectievak om de ster om te zetten in de overeenkomstige polygoon en terug. Het volgende numerieke veld stelt het aantal hoekpunten van een ster of polygoon in. Deze parameter kan alleen via de gereedschapsdetailsbalk ingesteld worden. De toegelaten range gaat van 3 (logisch) tot 1024, maar het gebruik van grote getallen (bv. > 200) vertraagt de computer. - + @@ -672,25 +663,25 @@ - + Sleep met Ctrl om te draaien in stappen van 15 graden. - + Van nature is een ster een interessantere vorm, alhoewel polygonen in de praktijk vaak bruikbaarder zijn. De twee handvatten van een ster hebben licht verschillende functies. Het eerste handvat (initieel op een knooppunt, bijvoorbeeld op een convexe hoek) maken de stralen van de ster langer of korter, maar wanneer je roteert ten opzichte van het middelpunt van de vorm roteert het ander knooppunt mee. Dit betekent dat je de stralen niet kan scheeftrekken met dit handvat. - + - Het andere handvat (initieel op een concave hoek tussn twee knooppunten) kan daarentegen radiaal en tangentieel vrij bewegen zonder het andere handvat op een hoekpunt te beïnvloeden. (In feite kan dit handvat zelf een hoekpunt worden door het verder van het middelpunt te plaatsen dan het andere handvat.) Dit handvat kan de stralen van de ster scheeftrekken om alle soorten kristallen, mandala's, sneeuwvlokken en stekelvarkens te maken: + Het andere handvat (initieel op een concave hoek tussn twee knooppunten) kan daarentegen radiaal en tangentieel vrij bewegen zonder het andere handvat op een hoekpunt te beïnvloeden. (In feite kan dit handvat zelf een hoekpunt worden door het verder van het middelpunt te plaatsen dan het andere handvat.) Dit handvat kan de stralen van de ster scheeftrekken om alle soorten kristallen, mandala's, sneeuwvlokken en stekelvarkens te maken: @@ -702,7 +693,7 @@ - + @@ -710,7 +701,7 @@ - + @@ -718,21 +709,21 @@ - + Ctrl+klik om de helling te verwijderen zonder slepen. - + - Als een handige toevoeging van het slepen van handvatten heeft de gereedschapsdetailsbalk het veld spaakverhouding dat de verhouding van de afstanden van beide handvatten tot het middelpunt bevat. + Als een handige toevoeging van het slepen van handvatten heeft de gereedschapsdetailsbalk het veld spaakverhouding dat de verhouding van de afstanden van beide handvatten tot het middelpunt bevat. - + @@ -740,7 +731,7 @@ - + @@ -748,21 +739,21 @@ - + Shift+klik een handvat om ronding te verwijderen. - + “Tangentieel” betekent in een richting loodrecht op de straal. Indien je een handvat “roteert” met Shift in tegenwijzerzin rond het centrum, krijg je positieve ronding; in wijzerzin krijg je negatieve ronding. Zie hieronder voorbeelden van negatieve ronding. - + @@ -777,18 +768,18 @@ Afgeronde rechthoek - + Zoals je kan zien, heeft een afgeronde rechthoek rechte lijnstukken en cirkelvormige (of algemeen elliptische) afrondingen. Een afgeronde veelhoek of ster heeft daarentegen geen rechte lijnstukken; de kromming varieert continu van het maximum (in de hoeken) naar het minimum (halfweg tussen hoeken). Inkscape doet dit door middel van colineaire Bezier raaklijnen voor elk hoekpunt van de vorm (je kan ze zien indien je de vorm omzet in een pad en het gereedschap Knooppunten gebruikt). - + - De parameter Afronding die je kan aanpassen in de gereedschapsdetailsbalk, is de verhouding van deze raaklijnen tot de lengte van de zijden van de polygoon/ster waaraan zij raken. Deze parameter kan negatief zijn wat de richting van de raaklijnen omkeert. Waarden van 0.2 tot 0.4 geven “normale” ronding; andere waarden geven dikwijls mooie, ingewikkelde en totaal onvoorspelbare patronen. Een ster met een grote afronding kan reiken tot ver voorbij de posities van de handvatten. Hier zijn enkele voorbeelden, elk met de waarde voor afronding: + De parameter Afronding die je kan aanpassen in de gereedschapsdetailsbalk, is de verhouding van deze raaklijnen tot de lengte van de zijden van de polygoon/ster waaraan zij raken. Deze parameter kan negatief zijn wat de richting van de raaklijnen omkeert. Waarden van 0.2 tot 0.4 geven “normale” ronding; andere waarden geven dikwijls mooie, ingewikkelde en totaal onvoorspelbare patronen. Een ster met een grote afronding kan reiken tot ver voorbij de posities van de handvatten. Hier zijn enkele voorbeelden, elk met de waarde voor afronding: @@ -803,28 +794,28 @@ - 0.25 - 0.25 - 0.25 - 0.37 + 0.25 + 0.25 + 0.25 + 0.37 - 0.43 - 3.0 - -3.0 + 0.43 + 3.0 + -3.0 - 0.41 - 5.43 - 1.85 - 0.21 - -3.0 + 0.41 + 5.43 + 1.85 + 0.21 + -3.0 - -0.43 + -0.43 - -8.94 + -8.94 - 0.39 + 0.39 - + @@ -836,242 +827,248 @@ Originale ster Gekoppelde rand, vernauwing Gekoppelde rand, verwijding - - + + - Shift+slepen van handvatten van een ster in Inkscape is een van de ''' . Maar het kan nog beter. + Shift+slepen van handvatten van een ster in Inkscape is een van de ''' . Maar het kan nog beter. - - + + Om nauwkeuriger reële vormen te maken, kan Inkscape sterren en polygonen randomiseren (willekeurig vervormen). Weinig randomisatie maakt een ster minder regelmatig, menselijker en soms grappig; sterke randomisatie is een boeiende manier om een diversiteit aan gekke, onvoorspelbare vormen te maken. Een afgeronde ster blijft mooi afgerond bij randomisatie. Dit zijn de toetscombinaties - - - + + + Alt+sleep een handvat tangentieel om de ster of polygoon te randomiseren. - - - + + + Alt+klik een handvat om randomisatie te verwijderen. - - + + Bij het tekenen of handvat-wijzigen van een gerandomiseerde ster, zal deze “beven” omdat elke unieke positie van zijn handvatten overeenkomt met zijn eigen unieke randomisatie. Bijgevolg, een handvat verplaatsen zonder Alt herrandomiseert de vorm bij dezelfde mate van willekeur, terwijl Alt-slepen de randomisatie behoudt, maar de mate van willekeur aanpast. Hier zijn sterren waarvan de parameters identiek zijn, maar ze zijn elk geherrandomiseert door het handvat een weinig te verplaatsen (mate van willekeur is 0.1): - - - - - - - + + + + + + + En hier is de middelste ster van de vorige rij met de mate van willekeur variërend van -0.2 tot 0.2: - +0.2 - +0.1 - 0 - -0.1 - -0.2 - - - - - - - + +0.2 + +0.1 + 0 + -0.1 + -0.2 + + + + + + + Alt+klik een handvat van de middelste ster in deze rij en observeer de evolutie naar de buren rechts en links - en verder. - - + + Je vind misschien je eigen toepassingen voor gerandomiseerde sterren, maar ronde amoebe-achtige vlekken en grote ruwe planeten met fantastische landschappen behoren tot de mogelijkheden: - - - - - - - - - - - Spiralen + + + + + + + + + + + Spiralen - - + + - Inkscape's spiraal is een flexibele vorm en alhoewel niet zo veelzijdig is als de ster, is hij soms erg handig. Een spiraal wordt net zoals een ster vanuit het middelpunt getekend, zowel tijdens tekenen als bewerken, + Inkscape's spiraal is een flexibele vorm en alhoewel niet zo veelzijdig is als de ster, is hij soms erg handig. Een spiraal wordt net zoals een ster vanuit het middelpunt getekend, zowel tijdens tekenen als bewerken, - - - + + + Ctrl+sleep om te draaien in stappen van 15 graden - - + + Eens getekend heeft een spiraal twee handvatten op de uiteinden. Beide handvatten rollen de spiraal bij gewoon slepen op of af (dit wil zeggen, het aantal draaiingen verandert). Mogelijke toetscombinaties: - - + + Buitenste handvat: - - - + + + Shift+sleep om te schalen/roteren rond het middelpunt (zonder op-/afrollen) - - - + + + Alt+sleep om de straal vast te houden tijdens op-/afrollen. - - + + Binnenste handvat - - - + + + Alt+sleep verticaal om te convergeren/uit te waaieren. - - - + + + Alt+klik om uitwaaiering opnieuw in te stellen - - - + + + Shift+klik om het binnenste handvat naar het middelpunt te verplaatsen. - - + + Uitwaaiering van een spiraal is de mate van niet-lineariteit in de omwentelingen. Indien gelijk aan 1, is de spiraal uniform. Indien kleiner dan 1 (Alt+sleep naar boven), is de spiraal denser in de periferie. Indien groter dan 1 (Alt+sleep naar onder), is de spiraal denser in het midden: - 0.2 - 0.5 - 6 - 2 - 1 - - - - - - - + 0.2 + 0.5 + 6 + 2 + 1 + + + + + + + Het maximaal aantal omwentelingen is 1024. - - + + Net zoals het ellipsgereedschap niet alleen bruikbaar is voor ellipsen, maar ook voor bogen (lijnen met constante kromming), is de spiraal handig voor het maken van lijnen met continu variërende kromming. In vergelijking met een gewone Bezier curve is een spiraal dikwijls handiger, omdat je hem korter of langer kan maken met het handvat langs de curve, zonder de vorm te beïnvloeden. Bovendien, waar een spiraal meestal getekend wordt zonder vulling, kan je vulling toevoegen en de lij verwijderen voor interessante effecten. - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + Vooral interessant zijn spiralen met puntlijn - deze combineren de goede dichtheid van de vorm met reguliere equidistante markeringen (punten of strepen) voor mooie Moiré-effecten: - - - - - Conclusies + + + + + Conclusies - - + + - Inkscape's vormgereedschappen zijn ergf krachtig. Leer hun trucs en speel ermee - dit verdient zichzelf terug bij je ontwerpen, omdat het gebruik van vormen in plaats van eenvoudige paden je vectorwerk sneller maakt en eenvoudiger te bewerken. Indien je ideeën hebt voor toekomstige verbeteringen aan de vormgereedschappen, contacteer aub. de ontwikkelaars. + Inkscape's vormgereedschappen zijn ergf krachtig. Leer hun trucs en speel ermee - dit verdient zichzelf terug bij je ontwerpen, omdat het gebruik van vormen in plaats van eenvoudige paden je vectorwerk sneller maakt en eenvoudiger te bewerken. Indien je ideeën hebt voor toekomstige verbeteringen aan de vormgereedschappen, contacteer aub. de ontwikkelaars. - + - + + + + + + + @@ -1083,30 +1080,18 @@ - + - - - - - - - - - - - - - - - - - - + + + + + + - - Gebruik Ctrl+pijl omhoog om te scrollen - + + Gebruik Ctrl+pijl omhoog om te scrollen + === modified file 'share/tutorials/tutorial-tips.nl.svg' --- share/tutorials/tutorial-tips.nl.svg 2011-02-20 12:07:30 +0000 +++ share/tutorials/tutorial-tips.nl.svg 2012-02-16 12:59:31 +0000 @@ -1,6 +1,6 @@ - + @@ -8,11 +8,13 @@ - - - - - + + + + + + + @@ -26,63 +28,51 @@ - - - - - - - - - - - - - - - - - - + + + + + + - Gebruik Ctrl+pijl omlaag om te scrollen - + Gebruik Ctrl+pijl omlaag om te scrollen + handleiding - + :: - + Deze handleiding demonstreert verschillende tips en trucs die gebruikers leerden door het gebruik van Inkscape, alsook enkele “verborgen” features die je werk kunnen versnellen. - + Radiale positionering met behulp van Tegelen met klonen - + - Het gebruik van Tegelen met klonen is eenvoudig in te zien voor rechthoekige rasters en patronen. Maar wat indien je radiale positionering nodig hebt, waar objecten een gemeenschappelijk rotatiemiddelpunt hebben. Dat is ook mogelijk! + Het gebruik van Tegelen met klonen is eenvoudig in te zien voor rechthoekige rasters en patronen. Maar wat indien je radiale positionering nodig hebt, waar objecten een gemeenschappelijk rotatiemiddelpunt hebben. Dat is ook mogelijk! - + Indien je radiaal patroon slechts 3, 4, 6, 8, of 12 elementen bevat, probeer dan P3-, P31M-, P3M1-, P4-, P4M-, P6- of P6M-symmetrie. Deze geven een mooi resultaat voor sneeuwvlokken en dergelijke. Dit is echter een meer algemene methode. - + - Kies de P1-symmetrie (eenvoudige verplaatsing) en compenseer vervolgens voor de verplaatsing door naar de tab Verplaatsing te gaan en Per rij / Y-verplaatsing en Per kolom / X-verplaatsing beide op -100% in te stellen. Nu zullen alle klonen exact op het origineel liggen. Alles wat nu nog gedaan moet worden is naar de tab Rotatie te gaan en een rotatie per kolom in te stellen. Creëer vervolgens het patroon met een rij en meerdere kolommen. Hier is bijvoorbeeld een patroon gemaakt uit een horizontale lijn met 30 kolommen en elke kolom geroteerd over 6 graden: + Kies de P1-symmetrie (eenvoudige verplaatsing) en compenseer vervolgens voor de verplaatsing door naar de tab Verplaatsing te gaan en Per rij / Y-verplaatsing en Per kolom / X-verplaatsing beide op -100% in te stellen. Nu zullen alle klonen exact op het origineel liggen. Alles wat nu nog gedaan moet worden is naar de tab Rotatie te gaan en een rotatie per kolom in te stellen. Creëer vervolgens het patroon met een rij en meerdere kolommen. Hier is bijvoorbeeld een patroon gemaakt uit een horizontale lijn met 30 kolommen en elke kolom geroteerd over 6 graden: @@ -115,14 +105,14 @@ - + Om hier een wijzerplaat van een klok van te maken is het centrale deel wegsnijden (ontlink eerst de klonen voor booleaanse operaties) of overtekenen met een witte cirkel. - + @@ -209,11 +199,11 @@ - + - In bovenstaande voorbeelden werd de lijn geroteerd rond zijn middelpunt. Maar wat indien het rotatiemiddelpunt buiten je vorm ligt? Creëer een onzichtbare rechthoek (geen vulling, lijn) die je vorm zou bedekken en waarvan het middelpunt het punt is dat je nodig hebt, groepeer de vorm en de rechthoek en gebruik Tegelen met klonen op deze groep. Op deze wijze kan je mooie “explosies” maken door randomisatie van schaal, rotatie en soms ondoorzichtigheid: + In bovenstaande voorbeelden werd de lijn geroteerd rond zijn middelpunt. Maar wat indien het rotatiemiddelpunt buiten je vorm ligt? Creëer een onzichtbare rechthoek (geen vulling, lijn) die je vorm zou bedekken en waarvan het middelpunt het punt is dat je nodig hebt, groepeer de vorm en de rechthoek en gebruik Tegelen met klonen op deze groep. Op deze wijze kan je mooie “explosies” maken door randomisatie van schaal, rotatie en soms ondoorzichtigheid: @@ -290,42 +280,42 @@ - + Uitsnijden (verschillende rechthoekige exportgebieden) - + - Maak in een nieuwe laag diverse onzichtbare rechthoeken die verschillende delen van je afbeelding bedekken. Zorg ervoor dat je document px als eenheid gebruikt (standaard). Schakel het raster aan en kleef de rechthoeken aan het raster zodat elke rechthoek een geheel aantal px-eenheden omspant. Geef logische ids op aan de rechthoeken en exporteer elk naar zijn eigen bestand (Bestand > Bitmap exporteren (Shift+Ctrl+E)). Hierdoor zullen de rechthoeken hun exportbestandsnaam onthouden. Hierna is het eenvoudig om sommige rechthoeken de reëxporteren: ga naar de exportlaag, gebruik Tab om diegene die je nodig hebt te selecteren (of gebruik Zoeken met id), en klik op Exporteren in de dialoog. Je kan ook een shell script of batch file maken om al je gebieden te exporteren, met een commando zoals: + Maak in een nieuwe laag diverse onzichtbare rechthoeken die verschillende delen van je afbeelding bedekken. Zorg ervoor dat je document px als eenheid gebruikt (standaard). Schakel het raster aan en kleef de rechthoeken aan het raster zodat elke rechthoek een geheel aantal px-eenheden omspant. Geef logische ids op aan de rechthoeken en exporteer elk naar zijn eigen bestand (Bestand > Bitmap exporteren (Shift+Ctrl+E)). Hierdoor zullen de rechthoeken hun exportbestandsnaam onthouden. Hierna is het eenvoudig om sommige rechthoeken de reëxporteren: ga naar de exportlaag, gebruik Tab om diegene die je nodig hebt te selecteren (of gebruik Zoeken met id), en klik op Exporteren in de dialoog. Je kan ook een shell script of batch file maken om al je gebieden te exporteren, met een commando zoals: - + inkscape -i rechthoek-id -t bestandsnaam.svg - + - voor elk geëxporteerd oppervlak. De -t optie zorgt dat Inkscape de naam van de zone gebruikt voor de bestandsnaam, zoniet kan je de bestandsnaam van de uitvoer geven met de -e optie. Als alternatief kan je het gereedschap svgslice gebruiken voor automatische export van Inkscape SVG-documenten, met uitsnijlaag of hulplijnen. + voor elk geëxporteerd oppervlak. De -t optie zorgt dat Inkscape de naam van de zone gebruikt voor de bestandsnaam, zoniet kan je de bestandsnaam van de uitvoer geven met de -e optie. Als alternatief kan je het gereedschap svgslice gebruiken voor automatische export van Inkscape SVG-documenten, met uitsnijlaag of hulplijnen. - + Niet-lineaire kleurverlopen - + SVG-versie 1.1 ondersteunt geen niet-lineaire kleurverlopen (dit is deze die geen niet-lineaire overgang hebben tussen de kleuren). Je kan deze echter emuleren door multi-stop kleurverlopen. - + @@ -339,7 +329,7 @@ - + @@ -434,11 +424,11 @@ - + Excentrische radiale kleurverlopen - + @@ -456,61 +446,61 @@ - + Uitlijnen naar het midden van de pagina - + - Om iets uit te lijnen op het midden of de zijkant van een pagina, selecteer je het object of de groep en kies je in het dialoogvenster Uitlijnen en verdelen (Ctrl+Shift+A) Pagina bij Relatief ten opzichte van:. + Om iets uit te lijnen op het midden of de zijkant van een pagina, selecteer je het object of de groep en kies je in het dialoogvenster Uitlijnen en verdelen (Ctrl+Shift+A) Pagina bij Relatief ten opzichte van:. - + Document opruimen - + - Veel ongebruikte kleurverlopen, patronen en markeringen (de manueel bewerkte) blijven in de corresponderende paletten en kunnen hergebruikt worden voor nieuwe objecten. Voor het optimaliseren van je document kan je de opdracht Definities opruimen in het menu Bestand gebruiken. Deze verwijdert alle kleurverlopen, patronen of markeringen die nergens gebruikt worden, wat zorgt voor een kleiner bestand. + Veel ongebruikte kleurverlopen, patronen en markeringen (de manueel bewerkte) blijven in de corresponderende paletten en kunnen hergebruikt worden voor nieuwe objecten. Voor het optimaliseren van je document kan je de opdracht Definities opruimen in het menu Bestand gebruiken. Deze verwijdert alle kleurverlopen, patronen of markeringen die nergens gebruikt worden, wat zorgt voor een kleiner bestand. - + Verborgen features en de XML-editor - + De XML-editor laat je toe om bijna alle aspecten van het document te bewerken zonder een externe tekstbewerker. Bovendien ondersteunt Inkscape dikwijls meer features dan dat er toegankelijk zijn via de GUI. De XML-editor is een manier om toegang te krijgen tot deze features, indien je SVG kent. - + Aanpassen van de eenheid van de liniaal - + - In het standaardsjabloon is de standaardeenheid van linialen px (“SVG gebruikerseenheid”, in Inkscape is deze gelijk aan 0.8pt of 1/90 van een inch). Dit is ook de eenheid voor weergave van coördinaten in de hoek benedenlinks en wordt voorgeselecteerd in alle dialogen. (Je kan altijd met je muis over een liniaal gaan om de gebruikte eenheid in de tooltip weer te geven.) Open de Documenteigenschappen (Ctrl+Shift+D) om dit te veranderen en pas Standaardeenheid aan in de tab Page. + In het standaardsjabloon is de standaardeenheid van linialen px (“SVG gebruikerseenheid”, in Inkscape is deze gelijk aan 0.8pt of 1/90 van een inch). Dit is ook de eenheid voor weergave van coördinaten in de hoek benedenlinks en wordt voorgeselecteerd in alle dialogen. (Je kan altijd met je muis over een liniaal gaan om de gebruikte eenheid in de tooltip weer te geven.) Open de Documenteigenschappen (Ctrl+Shift+D) om dit te veranderen en pas Standaardeenheid aan in de tab Page. - + Stempelen - + Om snel meerdere kopieën van een object te maken, kan je stempelen. Sleep een object (of schaal of roteer het) en tijdens het ingedrukt houden van de linkermuisknop, druk je op de Spatiebalk. Dit maakt een stempel van de huidige objectvorm. Je kan het zo vaak herhalen als je wil. - + Trucken met de pen - + @@ -518,7 +508,7 @@ - + @@ -526,7 +516,7 @@ - + @@ -534,7 +524,7 @@ - + @@ -542,115 +532,115 @@ - + Een ander gereedschap selecteren - + - Noteer dat terwijl het pad nog niet beëindigd is (dit is getoond in groen en het huidige segment rood), het nog niet bestaat als object in het document. Bijgevolg gebruik je om het te annuleren op Esc (volledige pad annuleren) of Backspace (het laatste segment verwijderen) in plaats van Ongedaan maken. + Noteer dat terwijl het pad nog niet beëindigd is (dit is getoond in groen en het huidige segment rood), het nog niet bestaat als object in het document. Bijgevolg gebruik je om het te annuleren op Esc (volledige pad annuleren) of Backspace (het laatste segment verwijderen) in plaats van Ongedaan maken. - + Om een nieuw subpad aan een bestaand pad toe te voegen, selecteer je dat pad en begin je te tekenen met Shift van een willekeurig punt. Indien je echter eenvoudigweg wil voortgaan met een bestaand pad, is Shift niet nodig; begin dan te tekenen vanaf een van de uiteinden. - + Ingeven van Unicode tekens - + In het tekstgereedscap schakelt Ctrl+U tussen Unicode en normale modus. In Unicode modus wordt elke groep van 4 hexadecimale cijfers die je ingeeft een enkel Unicode karakter. Dit laat je toe om arbitraire symbolen in te geven (zolang je de Unicode waarden kent en het lettertype deze ondersteunt). Om Unicode-invoer te beëindigen, druk je op Enter. Bijvoorbeeld, Ctrl+U 2 0 1 4 Enter voegt een liggend streepje (—) in. Om de Unicode modus te verlaten zonder iets in te voegen, druk je op Esc. - + Het raster gebruiken voor het tekenen van iconen - + - Veronderstel dat je een 24x24 pixel icoon wil maken. Creëer een 24x24 px canvas (gebruik de Documenteigenschappen) en stel het raster in op 0.5px (48x48 rasterlijnen). Indien je nu gevulde objecten uitlijnd op even rasterlijnen, contouren op oneven rasterlijnen met een lijnbreedte een even nummer in px en exporteert op de standaard 90ppi resolutie (opdat 1 px 1 bitmap pixel wordt), verkrijg je een scherp beeld zonder dat anti-aliasing nodig is. + Veronderstel dat je een 24x24 pixel icoon wil maken. Creëer een 24x24 px canvas (gebruik de Documenteigenschappen) en stel het raster in op 0.5px (48x48 rasterlijnen). Indien je nu gevulde objecten uitlijnd op even rasterlijnen, contouren op oneven rasterlijnen met een lijnbreedte een even nummer in px en exporteert op de standaard 90ppi resolutie (opdat 1 px 1 bitmap pixel wordt), verkrijg je een scherp beeld zonder dat anti-aliasing nodig is. - + Objectrotatie - + In het selectiegereedschap klik je op een object om de schaalhandvatten te tonen. Klik dan opnieuw op het object om de handvatten voor rotatie en scheeftrekken te tonen. Indien je op de handvatten op de hoeken klikt en sleept draait het object rond het centrum (kruisteken). Indien je tegelijkertijd Shift ingedrukt houdt, wordt geroteerd rond de tegenovergestelde hoek.Je kan ook het rotatiecentrum naar gelijk welke plaats slepen. - + Je kan ook roteren met het toetsenbord met [ en ] (per 15 graden) of Ctrl+[ en Ctrl+] (per 90 graden). Dezelfde [] toetsen met Alt zorgen voor pixelgrootte rotatie. - + Slagschaduwen - + Inkscape ondersteunt de SVG-filter Gaussiaanse vervaging zodat je op eenvouwige wijze vage slagschaduwen kan maken. Selecteer een object. Dupliceer het met Ctrl+D, druk op PgDown om het onder het originele object te plaatsen. Verplaats het een beetje naar rechts en lager dan het origineel. Open nu de dialoog Vulling en lijn en verander Vervaging naar bijvoorbeeld 5.0. - + Tekst op een pad plaatsen - + - Om tekst op een pad te plaatsen, selecteer je de tekst en de curve en kies je Op pad plaatsen in het menu Tekst. De tekst zal starten bij het begin van het pad. Algemeen is het best om een expliciet pad te maken waaraan je de tekst wil fitten in plaats van het te fitten op een andere object — dit geeft je meer controle zonder je afbeelding om zeep te helpen. + Om tekst op een pad te plaatsen, selecteer je de tekst en de curve en kies je Op pad plaatsen in het menu Tekst. De tekst zal starten bij het begin van het pad. Algemeen is het best om een expliciet pad te maken waaraan je de tekst wil fitten in plaats van het te fitten op een andere object — dit geeft je meer controle zonder je afbeelding om zeep te helpen. - + Het origineel selecteren - + Wanneer je tekst op een pad hebt, een gekoppelde rand of een kloon, kan het moeilijk zijn om het bronobject/-pad te selecteren, omdat het er direct onder kan liggen, onzichtbaar kan zijn of vergrendeld. De magische toets Shift+D helpt hierbij; selecteer de test, gekoppelde rand of kloon en druk Shift+D om het corresponderende originele pad, rand of kloon te selecteren. - + Indien het venster niet op het scherm staat - + - Bij het verplaatsen van documenten tussen verschillende systemen met verschillende resoluties of aantal schermen, kan het gebeuren dat Inkscape een vensterpositie heeft bewaard dat buiten het bereik van je scherm valt. Maximaliseer dan het venster (zodat het terug in beeld komt, gebruik de taakbalk), bewaar en herlaad. Je kan dergelijk gedrag algemeen verhinderen door de globale optie voor het bewaren van de venstergeometrie uit te vinken (Inkscape-voorkeuren, tab Vensters). + Bij het verplaatsen van documenten tussen verschillende systemen met verschillende resoluties of aantal schermen, kan het gebeuren dat Inkscape een vensterpositie heeft bewaard dat buiten het bereik van je scherm valt. Maximaliseer dan het venster (zodat het terug in beeld komt, gebruik de taakbalk), bewaar en herlaad. Je kan dergelijk gedrag algemeen verhinderen door de globale optie voor het bewaren van de venstergeometrie uit te vinken (Inkscape-voorkeuren, tab Vensters). - + Transparantie, kleurverlopen en PostScript export - + PostScript of EPS formaten ondersteunen geen transparency zodat je dit nooit zou mogen gebruiken indien je het naar PS/EPS gaat exporteren. In het geval van een egale transparantie over een egaal kleurvlak is het eenvoudig op te lossen: selecteer een van de transparante objecten, schakel over naar de pipet (F7); zorg dat je in de modus “Zowel kleur als alfa onder de cursor nemen” bent, klik vervolgens op het geselecteerde object. Zo wordt de zichtbare kleur genomen en terug toegekend aan het object, maar dan zonder transparantie. Herhaal dit voor alle transparante objecten. Indien je transparant object over verschillende egale kleurvlakken ligt, moet je het in de overeenkomstige delen opbreken en de procedure voor elk deel toepasen. - + @@ -659,7 +649,13 @@ - + + + + + + + @@ -671,30 +667,18 @@ - + - - - - - - - - - - - - - - - - - - + + + + + + - - Gebruik Ctrl+pijl omhoog om te scrollen - + + Gebruik Ctrl+pijl omhoog om te scrollen + === modified file 'share/tutorials/tutorial-tracing.nl.svg' --- share/tutorials/tutorial-tracing.nl.svg 2011-02-01 12:53:34 +0000 +++ share/tutorials/tutorial-tracing.nl.svg 2012-02-16 12:59:31 +0000 @@ -1,6 +1,6 @@ - + @@ -8,11 +8,13 @@ - - - - - + + + + + + + @@ -26,79 +28,67 @@ - - - - - - - - - - - - - - - - - - + + + + + + - Gebruik Ctrl+pijl omlaag om te scrollen - + Gebruik Ctrl+pijl omlaag om te scrollen + handleiding - + ::OVERTREKKEN - + Een van de functies in Inkscape is een gereedschap voor het overtrekken van bitmapafbeeldingen in een <path> element voor je SVG-afbeelding. Deze korte nota's helpen je mee op weg. - + - Op dit moment gebruikt Inkscape de Potrace engine van Peter Selinger voor het overtrekken van bitmaps (potrace.sourceforge.net). In de toekomst gaan we mogelijk alternatieve overtrekprogramma's ondersteunen. Echter, nu is deze goede tool meer dan voldoende voor onze noden. + Op dit moment gebruikt Inkscape de Potrace engine van Peter Selinger voor het overtrekken van bitmaps (potrace.sourceforge.net). In de toekomst gaan we mogelijk alternatieve overtrekprogramma's ondersteunen. Echter, nu is deze goede tool meer dan voldoende voor onze noden. - + Hou in het achterhoofd dat het doel van overtrekken noch het reproduceren is van een exacte kopie van het origineel, noch bedoeld is voor het maken van een finale afbeelding. Geen enkel overtrekprogramma kan dat. Het geeft je echter een set curves die je als bron voor je afbeelding kan gebruiken. - + Potrace interpreteert een zwart-witafbeelding en maakt hiervan een set curves. We hebben nu drie types invoerfilters voor Potrace om de ruwe afbeelding te converteren in iets dat Potrace kan gebruiken. - + Algemeen geldt dat hoe meer donkere pixels in de intermediaire bitmap, hoe meer Potrace zal overtrekken. Omdat de hoeveelheid overtrek vergroot, is meer CPU-tijd nodig en zal het <path>-element veel groter worden. Het is een goed idee dat je als gebruiker eerst experimenteert met lichtere afbeeldingen en dan langzaam overgaat naar donkere afbeeldingen om de gewenste proportie en complexiteit van het uitvoerpad te verkrijgen. - + - Om de tracer te gebruiken, laad of importeer je een afbeelding, selecteer deze en klik op het commando Paden > Bitmap overtrekken of gebruik je Shift+Alt+B. + Om de tracer te gebruiken, laad of importeer je een afbeelding, selecteer deze en klik op het commando Paden > Bitmap overtrekken of gebruik je Shift+Alt+B. Algemene opties in het dialoogvenster Bitmap overtrekken - + @@ -106,14 +96,14 @@ - + Helderheid grenswaarde - + @@ -127,14 +117,14 @@ - + Optimale randdetectie - + @@ -148,14 +138,14 @@ - + Kleurquantisatie - + @@ -168,25 +158,25 @@ - + De gebruiker zou de drie filters moeten proberen en de verschillende types uitvoer voor verschillende types afbeeldingen observeren. Er is altijd een afbeelding waar de ene filter beter werkt dan de andere. - + - Na het overtrekken is het aan te raden om het commando Paden > Vereenvoudigen (Ctrl+L) toe te passen op het uitvoerpad om het aantal knooppunten te reduceren. Dit vereenvoudigt het bewerken van de potrace-uitvoer. Hier is bijvoorbeeld een typische overtrek van de Oude gitaarspeler: + Na het overtrekken is het aan te raden om het commando Paden > Vereenvoudigen (Ctrl+L) toe te passen op het uitvoerpad om het aantal knooppunten te reduceren. Dit vereenvoudigt het bewerken van de potrace-uitvoer. Hier is bijvoorbeeld een typische overtrek van de Oude gitaarspeler: Originele afbeelding Overtrokken afbeelding / uitvoer(1551 knooppunten) - + @@ -197,16 +187,22 @@ - + - De voorstelling is een beetje meer benaderend en ruw, maar de afbeelding is veel eenvoudiger en bewerkbaarder. Hou in het achterhoofd dat wat je wil niet een exacte rendering is van de afbeelding, maar een set curves die je kan gebruiken in je afbeelding. + De voorstelling is een iets benaderender en ruwer, maar de afbeelding is veel eenvoudiger en bewerkbaarder. Hou in het achterhoofd dat wat je wil niet een exacte rendering is van de afbeelding, maar een set curves die je kan gebruiken in je afbeelding. - + + + + + + + @@ -218,30 +214,18 @@ - + - - - - - - - - - - - - - - - - - - + + + + + + - - Gebruik Ctrl+pijl omhoog om te scrollen - + + Gebruik Ctrl+pijl omhoog om te scrollen + === modified file 'share/ui/Makefile.in' --- share/ui/Makefile.in 2011-07-10 11:35:30 +0000 +++ share/ui/Makefile.in 2012-02-16 12:59:31 +0000 @@ -1,9 +1,9 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. +# Makefile.in generated by automake 1.11.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software +# Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -48,11 +48,11 @@ CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = -AM_V_GEN = $(am__v_GEN_$(V)) -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; -AM_V_at = $(am__v_at_$(V)) -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ SOURCES = DIST_SOURCES = @@ -77,6 +77,12 @@ am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } am__installdirs = "$(DESTDIR)$(uidir)" DATA = $(ui_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) @@ -126,6 +132,10 @@ GNOME_VFS_CFLAGS = @GNOME_VFS_CFLAGS@ GNOME_VFS_LIBS = @GNOME_VFS_LIBS@ GREP = @GREP@ +GTKMM_2_22_CFLAGS = @GTKMM_2_22_CFLAGS@ +GTKMM_2_22_LIBS = @GTKMM_2_22_LIBS@ +GTKMM_2_24_CFLAGS = @GTKMM_2_24_CFLAGS@ +GTKMM_2_24_LIBS = @GTKMM_2_24_LIBS@ IMAGEMAGICK_CFLAGS = @IMAGEMAGICK_CFLAGS@ IMAGEMAGICK_LIBS = @IMAGEMAGICK_LIBS@ INKBOARD_CFLAGS = @INKBOARD_CFLAGS@ @@ -144,6 +154,12 @@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +LCMS2_CFLAGS = @LCMS2_CFLAGS@ +LCMS2_LIBS = @LCMS2_LIBS@ LCMS_CFLAGS = @LCMS_CFLAGS@ LCMS_LIBS = @LCMS_LIBS@ LDFLAGS = @LDFLAGS@ @@ -171,8 +187,6 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ -PANGOFT2_CFLAGS = @PANGOFT2_CFLAGS@ -PANGOFT2_LIBS = @PANGOFT2_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL_CFLAGS = @PERL_CFLAGS@ PERL_LIBS = @PERL_LIBS@ @@ -201,8 +215,6 @@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WIN32_CFLAGS = @WIN32_CFLAGS@ -XFT_CFLAGS = @XFT_CFLAGS@ -XFT_LIBS = @XFT_LIBS@ XGETTEXT = @XGETTEXT@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ @@ -236,6 +248,8 @@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ @@ -314,9 +328,7 @@ @$(NORMAL_UNINSTALL) @list='$(ui_DATA)'; test -n "$(uidir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - test -n "$$files" || exit 0; \ - echo " ( cd '$(DESTDIR)$(uidir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(uidir)" && rm -f $$files + dir='$(DESTDIR)$(uidir)'; $(am__uninstall_files_from_dir) tags: TAGS TAGS: @@ -371,10 +383,15 @@ installcheck: installcheck-am install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi mostlyclean-generic: clean-generic: === modified file 'src/2geom/matrix.h' --- src/2geom/matrix.h 2009-12-23 15:38:43 +0000 +++ src/2geom/matrix.h 2012-02-16 12:59:31 +0000 @@ -17,7 +17,7 @@ * This code is in public domain. */ -//#include +//#include #include <2geom/point.h> === modified file 'src/2geom/path-intersection.cpp' --- src/2geom/path-intersection.cpp 2010-09-12 19:44:58 +0000 +++ src/2geom/path-intersection.cpp 2012-02-16 12:59:31 +0000 @@ -460,8 +460,8 @@ /** This returns the times when the x or y derivative is 0 in the curve. */ std::vector curve_mono_splits(Curve const &d) { Curve* deriv = d.derivative(); - std::vector rs = d.roots(0, X); - append(rs, d.roots(0, Y)); + std::vector rs = deriv->roots(0, X); + append(rs, deriv->roots(0, Y)); delete deriv; std::sort(rs.begin(), rs.end()); return rs; === modified file 'src/2geom/solve-bezier-parametric.cpp' --- src/2geom/solve-bezier-parametric.cpp 2009-12-23 15:38:43 +0000 +++ src/2geom/solve-bezier-parametric.cpp 2012-02-16 12:59:31 +0000 @@ -68,13 +68,13 @@ break; } - /* Otherwise, solve recursively after subdividing control polygon */ - Geom::Point Left[degree+1], /* New left and right */ - Right[degree+1]; /* control polygons */ - Bezier(w, degree, 0.5, Left, Right); + // Otherwise, solve recursively after subdividing control polygon + std::vector Left(degree + 1); // New left and right + std::vector Right(degree + 1); // control polygons + Bezier(w, degree, 0.5, &Left[0], &Right[0]); total_subs ++; - find_parametric_bezier_roots(Left, degree, solutions, depth+1); - find_parametric_bezier_roots(Right, degree, solutions, depth+1); + find_parametric_bezier_roots(&Left[0], degree, solutions, depth + 1); + find_parametric_bezier_roots(&Right[0], degree, solutions, depth + 1); } === modified file 'src/Makefile.in' --- src/Makefile.in 2011-07-10 11:35:30 +0000 +++ src/Makefile.in 2012-02-16 12:59:31 +0000 @@ -1,9 +1,9 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. +# Makefile.in generated by automake 1.11.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software +# Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -168,11 +168,11 @@ LIBRARIES = $(noinst_LIBRARIES) AR = ar ARFLAGS = cru -AM_V_AR = $(am__v_AR_$(V)) -am__v_AR_ = $(am__v_AR_$(AM_DEFAULT_VERBOSITY)) +AM_V_AR = $(am__v_AR_@AM_V@) +am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@) am__v_AR_0 = @echo " AR " $@; -AM_V_at = $(am__v_at_$(V)) -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ 2geom_lib2geom_a_AR = $(AR) $(ARFLAGS) 2geom_lib2geom_a_LIBADD = @@ -283,9 +283,10 @@ arc-context.cpp arc-context.h attributes.cpp attributes.h \ axis-manip.cpp axis-manip.h bad-uri-exception.h \ box3d-context.cpp box3d-context.h box3d.cpp box3d.h \ - box3d-side.cpp box3d-side.h brokenimage.xpm color.cpp color.h \ - color-profile.cpp color-profile.h color-profile-fns.h \ - color-rgba.h common-context.cpp common-context.h \ + box3d-side.cpp box3d-side.h brokenimage.xpm cms-color-types.h \ + cms-system.h color-profile-cms-fns.h color.cpp color.h \ + color-profile.cpp color-profile.h color-rgba.h \ + common-context.cpp common-context.h \ composite-undo-stack-observer.cpp \ composite-undo-stack-observer.h conditions.cpp conditions.h \ connection-points.cpp connection-points.h conn-avoid-ref.cpp \ @@ -317,31 +318,30 @@ gradient-drag.h graphlayout.cpp graphlayout.h \ guide-snapper.cpp guide-snapper.h help.cpp help.h helper-fns.h \ helper/pixbuf-ops.cpp helper/pixbuf-ops.h icon-size.h \ - id-clash.cpp id-clash.h ige-mac-menu.h ige-mac-menu.c \ - ink-action.cpp ink-action.h ink-comboboxentry-action.cpp \ - ink-comboboxentry-action.h inkscape.cpp inkscape.h \ - inkscape-private.h interface.cpp interface.h isinf.h \ - isnormal.h knot.cpp knot.h knot-enums.h knotholder.cpp \ - knotholder.h knot-holder-entity.h knot-holder-entity.cpp \ - layer-fns.cpp layer-fns.h layer-manager.cpp layer-manager.h \ - line-geometry.cpp line-geometry.h line-snapper.cpp \ - line-snapper.h lpe-tool-context.cpp lpe-tool-context.h \ - macros.h main-cmdlineact.cpp main-cmdlineact.h marker.cpp \ - marker.h media.cpp media.h memeq.h menus-skeleton.h \ - message-context.cpp message-context.h message.h \ - message-stack.cpp message-stack.h mod360.cpp mod360.h \ - modifier-fns.h object-edit.cpp object-edit.h \ - object-hierarchy.cpp object-hierarchy.h object-snapper.cpp \ - object-snapper.h path-chemistry.cpp path-chemistry.h \ - path-prefix.h pencil-context.cpp pencil-context.h \ - pen-context.cpp pen-context.h persp3d.cpp persp3d.h \ - persp3d-reference.cpp persp3d-reference.h perspective-line.cpp \ - perspective-line.h preferences.cpp preferences.h \ - preferences-skeleton.h prefix.cpp prefix.h print.cpp print.h \ - profile-manager.cpp profile-manager.h proj_pt.cpp proj_pt.h \ - removeoverlap.cpp removeoverlap.h rdf.cpp rdf.h \ - rect-context.cpp rect-context.h require-config.h round.h \ - rubberband.cpp rubberband.h satisfied-guide-cns.cpp \ + id-clash.cpp id-clash.h ink-action.cpp ink-action.h \ + ink-comboboxentry-action.cpp ink-comboboxentry-action.h \ + inkscape.cpp inkscape.h inkscape-private.h interface.cpp \ + interface.h isinf.h isnormal.h knot.cpp knot.h knot-enums.h \ + knotholder.cpp knotholder.h knot-holder-entity.h \ + knot-holder-entity.cpp layer-fns.cpp layer-fns.h \ + layer-manager.cpp layer-manager.h line-geometry.cpp \ + line-geometry.h line-snapper.cpp line-snapper.h \ + lpe-tool-context.cpp lpe-tool-context.h macros.h \ + main-cmdlineact.cpp main-cmdlineact.h marker.cpp marker.h \ + media.cpp media.h memeq.h menus-skeleton.h message-context.cpp \ + message-context.h message.h message-stack.cpp message-stack.h \ + mod360.cpp mod360.h modifier-fns.h object-edit.cpp \ + object-edit.h object-hierarchy.cpp object-hierarchy.h \ + object-snapper.cpp object-snapper.h path-chemistry.cpp \ + path-chemistry.h path-prefix.h pencil-context.cpp \ + pencil-context.h pen-context.cpp pen-context.h persp3d.cpp \ + persp3d.h persp3d-reference.cpp persp3d-reference.h \ + perspective-line.cpp perspective-line.h preferences.cpp \ + preferences.h preferences-skeleton.h prefix.cpp prefix.h \ + print.cpp print.h profile-manager.cpp profile-manager.h \ + proj_pt.cpp proj_pt.h removeoverlap.cpp removeoverlap.h \ + rdf.cpp rdf.h rect-context.cpp rect-context.h require-config.h \ + round.h rubberband.cpp rubberband.h satisfied-guide-cns.cpp \ satisfied-guide-cns.h selcue.cpp selcue.h select-context.cpp \ select-context.h selection-chemistry.cpp selection-chemistry.h \ selection.cpp selection.h selection-describer.cpp \ @@ -1064,15 +1064,14 @@ gradient-drag.$(OBJEXT) graphlayout.$(OBJEXT) \ guide-snapper.$(OBJEXT) help.$(OBJEXT) \ helper/pixbuf-ops.$(OBJEXT) id-clash.$(OBJEXT) \ - ige-mac-menu.$(OBJEXT) ink-action.$(OBJEXT) \ - ink-comboboxentry-action.$(OBJEXT) inkscape.$(OBJEXT) \ - interface.$(OBJEXT) knot.$(OBJEXT) knotholder.$(OBJEXT) \ - knot-holder-entity.$(OBJEXT) layer-fns.$(OBJEXT) \ - layer-manager.$(OBJEXT) line-geometry.$(OBJEXT) \ - line-snapper.$(OBJEXT) lpe-tool-context.$(OBJEXT) \ - main-cmdlineact.$(OBJEXT) marker.$(OBJEXT) media.$(OBJEXT) \ - message-context.$(OBJEXT) message-stack.$(OBJEXT) \ - mod360.$(OBJEXT) object-edit.$(OBJEXT) \ + ink-action.$(OBJEXT) ink-comboboxentry-action.$(OBJEXT) \ + inkscape.$(OBJEXT) interface.$(OBJEXT) knot.$(OBJEXT) \ + knotholder.$(OBJEXT) knot-holder-entity.$(OBJEXT) \ + layer-fns.$(OBJEXT) layer-manager.$(OBJEXT) \ + line-geometry.$(OBJEXT) line-snapper.$(OBJEXT) \ + lpe-tool-context.$(OBJEXT) main-cmdlineact.$(OBJEXT) \ + marker.$(OBJEXT) media.$(OBJEXT) message-context.$(OBJEXT) \ + message-stack.$(OBJEXT) mod360.$(OBJEXT) object-edit.$(OBJEXT) \ object-hierarchy.$(OBJEXT) object-snapper.$(OBJEXT) \ path-chemistry.$(OBJEXT) pencil-context.$(OBJEXT) \ pen-context.$(OBJEXT) persp3d.$(OBJEXT) \ @@ -1499,7 +1498,7 @@ $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_2) \ $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_2) \ $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_2) \ - $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_2) + $(am__DEPENDENCIES_2) cxxtests_DEPENDENCIES = $(am__DEPENDENCIES_3) am__inkscape_SOURCES_DIST = main.cpp winmain.cpp registrytool.cpp \ registrytool.h @@ -1523,27 +1522,27 @@ am__mv = mv -f COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -AM_V_CC = $(am__v_CC_$(V)) -am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY)) +AM_V_CC = $(am__v_CC_@AM_V@) +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) am__v_CC_0 = @echo " CC " $@; CCLD = $(CC) LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ -AM_V_CCLD = $(am__v_CCLD_$(V)) -am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) +AM_V_CCLD = $(am__v_CCLD_@AM_V@) +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) am__v_CCLD_0 = @echo " CCLD " $@; CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -AM_V_CXX = $(am__v_CXX_$(V)) -am__v_CXX_ = $(am__v_CXX_$(AM_DEFAULT_VERBOSITY)) +AM_V_CXX = $(am__v_CXX_@AM_V@) +am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@) am__v_CXX_0 = @echo " CXX " $@; CXXLD = $(CXX) CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ -o $@ -AM_V_CXXLD = $(am__v_CXXLD_$(V)) -am__v_CXXLD_ = $(am__v_CXXLD_$(AM_DEFAULT_VERBOSITY)) +AM_V_CXXLD = $(am__v_CXXLD_@AM_V@) +am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@) am__v_CXXLD_0 = @echo " CXXLD " $@; -AM_V_GEN = $(am__v_GEN_$(V)) -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; SOURCES = $(2geom_lib2geom_a_SOURCES) $(dom_libdom_a_SOURCES) \ $(libavoid_libavoid_a_SOURCES) $(libcola_libcola_a_SOURCES) \ @@ -1609,6 +1608,10 @@ GNOME_VFS_CFLAGS = @GNOME_VFS_CFLAGS@ GNOME_VFS_LIBS = @GNOME_VFS_LIBS@ GREP = @GREP@ +GTKMM_2_22_CFLAGS = @GTKMM_2_22_CFLAGS@ +GTKMM_2_22_LIBS = @GTKMM_2_22_LIBS@ +GTKMM_2_24_CFLAGS = @GTKMM_2_24_CFLAGS@ +GTKMM_2_24_LIBS = @GTKMM_2_24_LIBS@ IMAGEMAGICK_CFLAGS = @IMAGEMAGICK_CFLAGS@ IMAGEMAGICK_LIBS = @IMAGEMAGICK_LIBS@ INKBOARD_CFLAGS = @INKBOARD_CFLAGS@ @@ -1627,6 +1630,12 @@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +LCMS2_CFLAGS = @LCMS2_CFLAGS@ +LCMS2_LIBS = @LCMS2_LIBS@ LCMS_CFLAGS = @LCMS_CFLAGS@ LCMS_LIBS = @LCMS_LIBS@ LDFLAGS = @LDFLAGS@ @@ -1654,8 +1663,6 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ -PANGOFT2_CFLAGS = @PANGOFT2_CFLAGS@ -PANGOFT2_LIBS = @PANGOFT2_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL_CFLAGS = @PERL_CFLAGS@ PERL_LIBS = @PERL_LIBS@ @@ -1684,8 +1691,6 @@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WIN32_CFLAGS = @WIN32_CFLAGS@ -XFT_CFLAGS = @XFT_CFLAGS@ -XFT_LIBS = @XFT_LIBS@ XGETTEXT = @XGETTEXT@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ @@ -1719,6 +1724,8 @@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ @@ -1786,9 +1793,10 @@ attributes.cpp attributes.h axis-manip.cpp axis-manip.h \ bad-uri-exception.h box3d-context.cpp box3d-context.h \ box3d.cpp box3d.h box3d-side.cpp box3d-side.h brokenimage.xpm \ + cms-color-types.h cms-system.h color-profile-cms-fns.h \ color.cpp color.h color-profile.cpp color-profile.h \ - color-profile-fns.h color-rgba.h common-context.cpp \ - common-context.h composite-undo-stack-observer.cpp \ + color-rgba.h common-context.cpp common-context.h \ + composite-undo-stack-observer.cpp \ composite-undo-stack-observer.h conditions.cpp conditions.h \ connection-points.cpp connection-points.h conn-avoid-ref.cpp \ conn-avoid-ref.h connection-pool.h connector-context.cpp \ @@ -1819,31 +1827,30 @@ gradient-drag.h graphlayout.cpp graphlayout.h \ guide-snapper.cpp guide-snapper.h help.cpp help.h helper-fns.h \ helper/pixbuf-ops.cpp helper/pixbuf-ops.h icon-size.h \ - id-clash.cpp id-clash.h ige-mac-menu.h ige-mac-menu.c \ - ink-action.cpp ink-action.h ink-comboboxentry-action.cpp \ - ink-comboboxentry-action.h inkscape.cpp inkscape.h \ - inkscape-private.h interface.cpp interface.h isinf.h \ - isnormal.h knot.cpp knot.h knot-enums.h knotholder.cpp \ - knotholder.h knot-holder-entity.h knot-holder-entity.cpp \ - layer-fns.cpp layer-fns.h layer-manager.cpp layer-manager.h \ - line-geometry.cpp line-geometry.h line-snapper.cpp \ - line-snapper.h lpe-tool-context.cpp lpe-tool-context.h \ - macros.h main-cmdlineact.cpp main-cmdlineact.h marker.cpp \ - marker.h media.cpp media.h memeq.h menus-skeleton.h \ - message-context.cpp message-context.h message.h \ - message-stack.cpp message-stack.h mod360.cpp mod360.h \ - modifier-fns.h object-edit.cpp object-edit.h \ - object-hierarchy.cpp object-hierarchy.h object-snapper.cpp \ - object-snapper.h path-chemistry.cpp path-chemistry.h \ - path-prefix.h pencil-context.cpp pencil-context.h \ - pen-context.cpp pen-context.h persp3d.cpp persp3d.h \ - persp3d-reference.cpp persp3d-reference.h perspective-line.cpp \ - perspective-line.h preferences.cpp preferences.h \ - preferences-skeleton.h prefix.cpp prefix.h print.cpp print.h \ - profile-manager.cpp profile-manager.h proj_pt.cpp proj_pt.h \ - removeoverlap.cpp removeoverlap.h rdf.cpp rdf.h \ - rect-context.cpp rect-context.h require-config.h round.h \ - rubberband.cpp rubberband.h satisfied-guide-cns.cpp \ + id-clash.cpp id-clash.h ink-action.cpp ink-action.h \ + ink-comboboxentry-action.cpp ink-comboboxentry-action.h \ + inkscape.cpp inkscape.h inkscape-private.h interface.cpp \ + interface.h isinf.h isnormal.h knot.cpp knot.h knot-enums.h \ + knotholder.cpp knotholder.h knot-holder-entity.h \ + knot-holder-entity.cpp layer-fns.cpp layer-fns.h \ + layer-manager.cpp layer-manager.h line-geometry.cpp \ + line-geometry.h line-snapper.cpp line-snapper.h \ + lpe-tool-context.cpp lpe-tool-context.h macros.h \ + main-cmdlineact.cpp main-cmdlineact.h marker.cpp marker.h \ + media.cpp media.h memeq.h menus-skeleton.h message-context.cpp \ + message-context.h message.h message-stack.cpp message-stack.h \ + mod360.cpp mod360.h modifier-fns.h object-edit.cpp \ + object-edit.h object-hierarchy.cpp object-hierarchy.h \ + object-snapper.cpp object-snapper.h path-chemistry.cpp \ + path-chemistry.h path-prefix.h pencil-context.cpp \ + pencil-context.h pen-context.cpp pen-context.h persp3d.cpp \ + persp3d.h persp3d-reference.cpp persp3d-reference.h \ + perspective-line.cpp perspective-line.h preferences.cpp \ + preferences.h preferences-skeleton.h prefix.cpp prefix.h \ + print.cpp print.h profile-manager.cpp profile-manager.h \ + proj_pt.cpp proj_pt.h removeoverlap.cpp removeoverlap.h \ + rdf.cpp rdf.h rect-context.cpp rect-context.h require-config.h \ + round.h rubberband.cpp rubberband.h satisfied-guide-cns.cpp \ satisfied-guide-cns.h selcue.cpp selcue.h select-context.cpp \ select-context.h selection-chemistry.cpp selection-chemistry.h \ selection.cpp selection.h selection-describer.cpp \ @@ -3026,6 +3033,7 @@ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; +$(srcdir)/Makefile_insert $(srcdir)/application/Makefile_insert $(srcdir)/bind/Makefile_insert $(srcdir)/dialogs/Makefile_insert $(srcdir)/display/Makefile_insert $(srcdir)/dom/Makefile_insert $(srcdir)/extension/Makefile_insert $(srcdir)/extension/implementation/Makefile_insert $(srcdir)/extension/internal/Makefile_insert $(srcdir)/extension/script/Makefile_insert $(srcdir)/filters/Makefile_insert $(srcdir)/helper/Makefile_insert $(srcdir)/io/Makefile_insert $(srcdir)/libcroco/Makefile_insert $(srcdir)/libgdl/Makefile_insert $(srcdir)/libnr/Makefile_insert $(srcdir)/libnrtype/Makefile_insert $(srcdir)/libavoid/Makefile_insert $(srcdir)/livarot/Makefile_insert $(srcdir)/live_effects/Makefile_insert $(srcdir)/live_effects/parameter/Makefile_insert $(srcdir)/libvpsc/Makefile_insert $(srcdir)/libcola/Makefile_insert $(srcdir)/svg/Makefile_insert $(srcdir)/widgets/Makefile_insert $(srcdir)/debug/Makefile_insert $(srcdir)/xml/Makefile_insert $(srcdir)/ui/Makefile_insert $(srcdir)/ui/cache/Makefile_insert $(srcdir)/ui/dialog/Makefile_insert $(srcdir)/ui/tool/Makefile_insert $(srcdir)/ui/view/Makefile_insert $(srcdir)/ui/widget/Makefile_insert $(srcdir)/util/Makefile_insert $(srcdir)/trace/Makefile_insert $(srcdir)/2geom/Makefile_insert: $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh @@ -3134,7 +3142,7 @@ @: > 2geom/numeric/$(DEPDIR)/$(am__dirstamp) 2geom/numeric/matrix.$(OBJEXT): 2geom/numeric/$(am__dirstamp) \ 2geom/numeric/$(DEPDIR)/$(am__dirstamp) -2geom/lib2geom.a: $(2geom_lib2geom_a_OBJECTS) $(2geom_lib2geom_a_DEPENDENCIES) 2geom/$(am__dirstamp) +2geom/lib2geom.a: $(2geom_lib2geom_a_OBJECTS) $(2geom_lib2geom_a_DEPENDENCIES) $(EXTRA_2geom_lib2geom_a_DEPENDENCIES) 2geom/$(am__dirstamp) $(AM_V_at)-rm -f 2geom/lib2geom.a $(AM_V_AR)$(2geom_lib2geom_a_AR) 2geom/lib2geom.a $(2geom_lib2geom_a_OBJECTS) $(2geom_lib2geom_a_LIBADD) $(AM_V_at)$(RANLIB) 2geom/lib2geom.a @@ -3216,7 +3224,7 @@ dom/util/$(DEPDIR)/$(am__dirstamp) dom/util/ziptool.$(OBJEXT): dom/util/$(am__dirstamp) \ dom/util/$(DEPDIR)/$(am__dirstamp) -dom/libdom.a: $(dom_libdom_a_OBJECTS) $(dom_libdom_a_DEPENDENCIES) dom/$(am__dirstamp) +dom/libdom.a: $(dom_libdom_a_OBJECTS) $(dom_libdom_a_DEPENDENCIES) $(EXTRA_dom_libdom_a_DEPENDENCIES) dom/$(am__dirstamp) $(AM_V_at)-rm -f dom/libdom.a $(AM_V_AR)$(dom_libdom_a_AR) dom/libdom.a $(dom_libdom_a_OBJECTS) $(dom_libdom_a_LIBADD) $(AM_V_at)$(RANLIB) dom/libdom.a @@ -3252,7 +3260,7 @@ libavoid/$(DEPDIR)/$(am__dirstamp) libavoid/viscluster.$(OBJEXT): libavoid/$(am__dirstamp) \ libavoid/$(DEPDIR)/$(am__dirstamp) -libavoid/libavoid.a: $(libavoid_libavoid_a_OBJECTS) $(libavoid_libavoid_a_DEPENDENCIES) libavoid/$(am__dirstamp) +libavoid/libavoid.a: $(libavoid_libavoid_a_OBJECTS) $(libavoid_libavoid_a_DEPENDENCIES) $(EXTRA_libavoid_libavoid_a_DEPENDENCIES) libavoid/$(am__dirstamp) $(AM_V_at)-rm -f libavoid/libavoid.a $(AM_V_AR)$(libavoid_libavoid_a_AR) libavoid/libavoid.a $(libavoid_libavoid_a_OBJECTS) $(libavoid_libavoid_a_LIBADD) $(AM_V_at)$(RANLIB) libavoid/libavoid.a @@ -3274,7 +3282,7 @@ libcola/$(DEPDIR)/$(am__dirstamp) libcola/connected_components.$(OBJEXT): libcola/$(am__dirstamp) \ libcola/$(DEPDIR)/$(am__dirstamp) -libcola/libcola.a: $(libcola_libcola_a_OBJECTS) $(libcola_libcola_a_DEPENDENCIES) libcola/$(am__dirstamp) +libcola/libcola.a: $(libcola_libcola_a_OBJECTS) $(libcola_libcola_a_DEPENDENCIES) $(EXTRA_libcola_libcola_a_DEPENDENCIES) libcola/$(am__dirstamp) $(AM_V_at)-rm -f libcola/libcola.a $(AM_V_AR)$(libcola_libcola_a_AR) libcola/libcola.a $(libcola_libcola_a_OBJECTS) $(libcola_libcola_a_LIBADD) $(AM_V_at)$(RANLIB) libcola/libcola.a @@ -3338,7 +3346,7 @@ libcroco/$(DEPDIR)/$(am__dirstamp) libcroco/cr-string.$(OBJEXT): libcroco/$(am__dirstamp) \ libcroco/$(DEPDIR)/$(am__dirstamp) -libcroco/libcroco.a: $(libcroco_libcroco_a_OBJECTS) $(libcroco_libcroco_a_DEPENDENCIES) libcroco/$(am__dirstamp) +libcroco/libcroco.a: $(libcroco_libcroco_a_OBJECTS) $(libcroco_libcroco_a_DEPENDENCIES) $(EXTRA_libcroco_libcroco_a_DEPENDENCIES) libcroco/$(am__dirstamp) $(AM_V_at)-rm -f libcroco/libcroco.a $(AM_V_AR)$(libcroco_libcroco_a_AR) libcroco/libcroco.a $(libcroco_libcroco_a_OBJECTS) $(libcroco_libcroco_a_LIBADD) $(AM_V_at)$(RANLIB) libcroco/libcroco.a @@ -3380,7 +3388,7 @@ libgdl/$(DEPDIR)/$(am__dirstamp) libgdl/libgdlmarshal.$(OBJEXT): libgdl/$(am__dirstamp) \ libgdl/$(DEPDIR)/$(am__dirstamp) -libgdl/libgdl.a: $(libgdl_libgdl_a_OBJECTS) $(libgdl_libgdl_a_DEPENDENCIES) libgdl/$(am__dirstamp) +libgdl/libgdl.a: $(libgdl_libgdl_a_OBJECTS) $(libgdl_libgdl_a_DEPENDENCIES) $(EXTRA_libgdl_libgdl_a_DEPENDENCIES) libgdl/$(am__dirstamp) $(AM_V_at)-rm -f libgdl/libgdl.a $(AM_V_AR)$(libgdl_libgdl_a_AR) libgdl/libgdl.a $(libgdl_libgdl_a_OBJECTS) $(libgdl_libgdl_a_LIBADD) $(AM_V_at)$(RANLIB) libgdl/libgdl.a @@ -4605,11 +4613,11 @@ trace/potrace/inkscape-potrace.$(OBJEXT): \ trace/potrace/$(am__dirstamp) \ trace/potrace/$(DEPDIR)/$(am__dirstamp) -libinkscape.a: $(libinkscape_a_OBJECTS) $(libinkscape_a_DEPENDENCIES) +libinkscape.a: $(libinkscape_a_OBJECTS) $(libinkscape_a_DEPENDENCIES) $(EXTRA_libinkscape_a_DEPENDENCIES) $(AM_V_at)-rm -f libinkscape.a $(AM_V_AR)$(libinkscape_a_AR) libinkscape.a $(libinkscape_a_OBJECTS) $(libinkscape_a_LIBADD) $(AM_V_at)$(RANLIB) libinkscape.a -libinkversion.a: $(libinkversion_a_OBJECTS) $(libinkversion_a_DEPENDENCIES) +libinkversion.a: $(libinkversion_a_OBJECTS) $(libinkversion_a_DEPENDENCIES) $(EXTRA_libinkversion_a_DEPENDENCIES) $(AM_V_at)-rm -f libinkversion.a $(AM_V_AR)$(libinkversion_a_AR) libinkversion.a $(libinkversion_a_OBJECTS) $(libinkversion_a_LIBADD) $(AM_V_at)$(RANLIB) libinkversion.a @@ -4644,7 +4652,7 @@ libvpsc/$(DEPDIR)/$(am__dirstamp) libvpsc/variable.$(OBJEXT): libvpsc/$(am__dirstamp) \ libvpsc/$(DEPDIR)/$(am__dirstamp) -libvpsc/libvpsc.a: $(libvpsc_libvpsc_a_OBJECTS) $(libvpsc_libvpsc_a_DEPENDENCIES) libvpsc/$(am__dirstamp) +libvpsc/libvpsc.a: $(libvpsc_libvpsc_a_OBJECTS) $(libvpsc_libvpsc_a_DEPENDENCIES) $(EXTRA_libvpsc_libvpsc_a_DEPENDENCIES) libvpsc/$(am__dirstamp) $(AM_V_at)-rm -f libvpsc/libvpsc.a $(AM_V_AR)$(libvpsc_libvpsc_a_AR) libvpsc/libvpsc.a $(libvpsc_libvpsc_a_OBJECTS) $(libvpsc_libvpsc_a_LIBADD) $(AM_V_at)$(RANLIB) libvpsc/libvpsc.a @@ -4694,7 +4702,7 @@ livarot/$(DEPDIR)/$(am__dirstamp) livarot/path-description.$(OBJEXT): livarot/$(am__dirstamp) \ livarot/$(DEPDIR)/$(am__dirstamp) -livarot/libvarot.a: $(livarot_libvarot_a_OBJECTS) $(livarot_libvarot_a_DEPENDENCIES) livarot/$(am__dirstamp) +livarot/libvarot.a: $(livarot_libvarot_a_OBJECTS) $(livarot_libvarot_a_DEPENDENCIES) $(EXTRA_livarot_libvarot_a_DEPENDENCIES) livarot/$(am__dirstamp) $(AM_V_at)-rm -f livarot/libvarot.a $(AM_V_AR)$(livarot_libvarot_a_AR) livarot/libvarot.a $(livarot_libvarot_a_OBJECTS) $(livarot_libvarot_a_LIBADD) $(AM_V_at)$(RANLIB) livarot/libvarot.a @@ -4740,13 +4748,13 @@ -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS) libnr/nr-compose-reference.$(OBJEXT): libnr/$(am__dirstamp) \ libnr/$(DEPDIR)/$(am__dirstamp) -cxxtests$(EXEEXT): $(cxxtests_OBJECTS) $(cxxtests_DEPENDENCIES) +cxxtests$(EXEEXT): $(cxxtests_OBJECTS) $(cxxtests_DEPENDENCIES) $(EXTRA_cxxtests_DEPENDENCIES) @rm -f cxxtests$(EXEEXT) $(AM_V_CXXLD)$(CXXLINK) $(cxxtests_OBJECTS) $(cxxtests_LDADD) $(LIBS) -inkscape$(EXEEXT): $(inkscape_OBJECTS) $(inkscape_DEPENDENCIES) +inkscape$(EXEEXT): $(inkscape_OBJECTS) $(inkscape_DEPENDENCIES) $(EXTRA_inkscape_DEPENDENCIES) @rm -f inkscape$(EXEEXT) $(AM_V_CXXLD)$(inkscape_LINK) $(inkscape_OBJECTS) $(inkscape_LDADD) $(LIBS) -inkview$(EXEEXT): $(inkview_OBJECTS) $(inkview_DEPENDENCIES) +inkview$(EXEEXT): $(inkview_OBJECTS) $(inkview_DEPENDENCIES) $(EXTRA_inkview_DEPENDENCIES) @rm -f inkview$(EXEEXT) $(AM_V_CXXLD)$(inkview_LINK) $(inkview_OBJECTS) $(inkview_LDADD) $(LIBS) @@ -5446,7 +5454,6 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/guide-snapper.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/help.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/id-clash.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ige-mac-menu.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ink-action.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ink-comboboxentry-action.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/inkscape-version.Po@am__quote@ @@ -6229,37 +6236,33 @@ @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(COMPILE) -c -o $@ $< +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< .c.obj: @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .cpp.o: @am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ @am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po -@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $< .cpp.obj: @am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ @am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po -@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ @@ -6394,14 +6397,15 @@ fi; \ dashes=`echo "$$dashes" | sed s/./=/g`; \ if test "$$failed" -eq 0; then \ - echo "$$grn$$dashes"; \ + col="$$grn"; \ else \ - echo "$$red$$dashes"; \ + col="$$red"; \ fi; \ - echo "$$banner"; \ - test -z "$$skipped" || echo "$$skipped"; \ - test -z "$$report" || echo "$$report"; \ - echo "$$dashes$$std"; \ + echo "$${col}$$dashes$${std}"; \ + echo "$${col}$$banner$${std}"; \ + test -z "$$skipped" || echo "$${col}$$skipped$${std}"; \ + test -z "$$report" || echo "$${col}$$report$${std}"; \ + echo "$${col}$$dashes$${std}"; \ test "$$failed" -eq 0; \ else :; fi @@ -6457,10 +6461,15 @@ installcheck: installcheck-am install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi mostlyclean-generic: clean-generic: === modified file 'src/Makefile_insert' --- src/Makefile_insert 2011-07-10 11:35:30 +0000 +++ src/Makefile_insert 2012-02-16 12:59:31 +0000 @@ -12,9 +12,9 @@ box3d.cpp box3d.h \ box3d-side.cpp box3d-side.h \ brokenimage.xpm \ + cms-color-types.h cms-system.h color-profile-cms-fns.h \ color.cpp color.h \ color-profile.cpp color-profile.h \ - color-profile-fns.h \ color-rgba.h \ common-context.cpp common-context.h \ composite-undo-stack-observer.cpp \ @@ -75,7 +75,6 @@ helper/pixbuf-ops.h \ icon-size.h \ id-clash.cpp id-clash.h \ - ige-mac-menu.h ige-mac-menu.c \ ink-action.cpp \ ink-action.h \ ink-comboboxentry-action.cpp \ === modified file 'src/application/application.h' --- src/application/application.h 2009-12-23 15:38:43 +0000 +++ src/application/application.h 2012-02-16 12:59:31 +0000 @@ -13,7 +13,7 @@ #ifndef INKSCAPE_APPLICATION_APPLICATION_H #define INKSCAPE_APPLICATION_APPLICATION_H -#include +#include namespace Gtk { class Main; === modified file 'src/application/editor.h' --- src/application/editor.h 2009-12-23 15:38:43 +0000 +++ src/application/editor.h 2012-02-16 12:59:31 +0000 @@ -16,7 +16,7 @@ #define INKSCAPE_APPLICATION_EDITOR_H #include -#include +#include #include #include #include "app-prototype.h" === modified file 'src/attributes.cpp' --- src/attributes.cpp 2011-02-20 12:07:30 +0000 +++ src/attributes.cpp 2012-02-16 12:59:31 +0000 @@ -18,7 +18,6 @@ #endif #include // g_assert() -#include #include "attributes.h" typedef struct { === modified file 'src/attributes.h' --- src/attributes.h 2011-02-20 12:07:30 +0000 +++ src/attributes.h 2012-02-16 12:59:31 +0000 @@ -13,8 +13,7 @@ * * Released under GNU GPL, read the file 'COPYING' for more information */ -#include -#include +#include unsigned int sp_attribute_lookup(gchar const *key); unsigned char const *sp_attribute_name(unsigned int id); === modified file 'src/bind/javabind.cpp' --- src/bind/javabind.cpp 2010-09-12 19:44:58 +0000 +++ src/bind/javabind.cpp 2012-02-16 12:59:31 +0000 @@ -52,7 +52,7 @@ #include "javabind-private.h" #include #include -#include +#include //For repr and document #include === modified file 'src/box3d.cpp' --- src/box3d.cpp 2010-09-12 19:44:58 +0000 +++ src/box3d.cpp 2012-02-16 12:59:31 +0000 @@ -431,6 +431,9 @@ static double remember_snap_threshold = 30; static guint remember_snap_index = 0; +// constant for sizing the array of points to be considered: +static const int MAX_POINT_COUNT = 4; + static Proj::Pt3 box3d_snap (SPBox3D *box, int id, Proj::Pt3 const &pt_proj, Proj::Pt3 const &start_pt) { double z_coord = start_pt[Proj::Z]; @@ -460,7 +463,7 @@ Box3D::Line diag2(A, E); // diag2 is only taken into account if id equals -1, i.e., if we are snapping the center int num_snap_lines = (id != -1) ? 3 : 4; - Geom::Point snap_pts[num_snap_lines]; + Geom::Point snap_pts[MAX_POINT_COUNT]; snap_pts[0] = pl1.closest_to (pt); snap_pts[1] = pl2.closest_to (pt); @@ -472,7 +475,7 @@ gdouble const zoom = inkscape_active_desktop()->current_zoom(); // determine the distances to all potential snapping points - double snap_dists[num_snap_lines]; + double snap_dists[MAX_POINT_COUNT]; for (int i = 0; i < num_snap_lines; ++i) { snap_dists[i] = Geom::L2 (snap_pts[i] - pt) * zoom; } === added file 'src/cms-color-types.h' --- src/cms-color-types.h 1970-01-01 00:00:00 +0000 +++ src/cms-color-types.h 2012-02-16 12:59:31 +0000 @@ -0,0 +1,100 @@ +#ifndef SEEN_CMS_COLOR_TYPES_H +#define SEEN_CMS_COLOR_TYPES_H + +/** + * @file + * A simple abstraction to provide opaque compatibility with either lcms or lcms2. + */ + +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif // HAVE_CONFIG_H + +#include + +#if HAVE_LIBLCMS1 +# include +#endif + +#if HAVE_STDINT_H +# include +#endif + +typedef void * cmsHPROFILE; +typedef void * cmsHTRANSFORM; + +#if HAVE_LIBLCMS1 +typedef icColorSpaceSignature cmsColorSpaceSignature; +typedef icProfileClassSignature cmsProfileClassSignature; + +#define cmsSigInputClass icSigInputClass +#define cmsSigDisplayClass icSigDisplayClass +#define cmsSigOutputClass icSigOutputClass +#define cmsSigNamedColorClass icSigNamedColorClass + +#define cmsSigRgbData icSigRgbData + +#define cmsSigXYZData icSigXYZData +#define cmsSigLabData icSigLabData +#define cmsSigLuvData icSigLuvData +#define cmsSigYCbCrData icSigYCbCrData +#define cmsSigYxyData icSigYxyData +#define cmsSigRgbData icSigRgbData +#define cmsSigGrayData icSigGrayData +#define cmsSigHsvData icSigHsvData +#define cmsSigHlsData icSigHlsData +#define cmsSigCmykData icSigCmykData +#define cmsSigCmyData icSigCmyData + +typedef uint32_t cmsUInt32Number; +typedef uint16_t cmsUInt16Number; +typedef uint8_t cmsUInt8Number; + +#endif // HAVE_LIBLCMS1 + +namespace Inkscape { + +/** + * Opaque holder of a 32-bit signature type. + */ +class FourCCSig { +public: + FourCCSig( FourCCSig const &other ) : value(other.value) {}; + +protected: + FourCCSig( guint32 value ) : value(value) {}; + + guint32 value; +}; + +class ColorSpaceSig : public FourCCSig { +public: + ColorSpaceSig( ColorSpaceSig const &other ) : FourCCSig(other) {}; + +protected: + ColorSpaceSig( guint32 value ) : FourCCSig(value) {}; +}; + +class ColorProfileClassSig : public FourCCSig { +public: + ColorProfileClassSig( ColorProfileClassSig const &other ) : FourCCSig(other) {}; + +protected: + ColorProfileClassSig( guint32 value ) : FourCCSig(value) {}; +}; + +} // namespace Inkscape + + +#endif // SEEN_CMS_COLOR_TYPES_H + +/* + Local Variables: + mode:c++ + c-file-style:"stroustrup" + c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +)) + indent-tabs-mode:nil + fill-column:99 + End: +*/ +// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 : === added file 'src/cms-system.h' --- src/cms-system.h 1970-01-01 00:00:00 +0000 +++ src/cms-system.h 2012-02-16 12:59:31 +0000 @@ -0,0 +1,60 @@ +#ifndef SEEN_COLOR_PROFILE_FNS_H +#define SEEN_COLOR_PROFILE_FNS_H + +/** \file + * Macros and fn declarations related to linear gradients. + */ + +#include +#include +#include +#include +#include "cms-color-types.h" + +class SPDocument; + +namespace Inkscape { + +class ColorProfile; + +class CMSSystem { +public: + static cmsHPROFILE getHandle( SPDocument* document, guint* intent, gchar const* name ); + + static cmsHTRANSFORM getDisplayTransform(); + + static Glib::ustring getDisplayId( int screen, int monitor ); + + static Glib::ustring setDisplayPer( gpointer buf, guint bufLen, int screen, int monitor ); + + static cmsHTRANSFORM getDisplayPer( Glib::ustring const& id ); + + static std::vector getDisplayNames(); + + static std::vector getSoftproofNames(); + + static Glib::ustring getPathForProfile(Glib::ustring const& name); + + static void doTransform(cmsHTRANSFORM transform, void *inBuf, void *outBuf, unsigned int size); + + static bool isPrintColorSpace(ColorProfile const *profile); + + static gint getChannelCount(ColorProfile const *profile); +}; + + +} // namespace Inkscape + + +#endif // !SEEN_COLOR_PROFILE_FNS_H + +/* + Local Variables: + mode:c++ + c-file-style:"stroustrup" + c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +)) + indent-tabs-mode:nil + fill-column:99 + End: +*/ +// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 : === added file 'src/color-profile-cms-fns.h' --- src/color-profile-cms-fns.h 1970-01-01 00:00:00 +0000 +++ src/color-profile-cms-fns.h 2012-02-16 12:59:31 +0000 @@ -0,0 +1,53 @@ +#ifndef SEEN_COLOR_PROFILE_CMS_FNS_H +#define SEEN_COLOR_PROFILE_CMS_FNS_H + +#if HAVE_LIBLCMS2 +# include +#elif HAVE_LIBLCMS1 +# include +#endif // HAVE_LIBLCMS2 + +#include "cms-color-types.h" + +namespace Inkscape { + +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) + +// Note: these can later be adjusted to adapt for lcms2: + +class ColorSpaceSigWrapper : public ColorSpaceSig { +public : + ColorSpaceSigWrapper( cmsColorSpaceSignature sig ) : ColorSpaceSig( static_cast(sig) ) {} + ColorSpaceSigWrapper( ColorSpaceSig const &other ) : ColorSpaceSig( other ) {} + + operator cmsColorSpaceSignature() const { return static_cast(value); } +}; + +class ColorProfileClassSigWrapper : public ColorProfileClassSig { +public : + ColorProfileClassSigWrapper( cmsProfileClassSignature sig ) : ColorProfileClassSig( static_cast(sig) ) {} + ColorProfileClassSigWrapper( ColorProfileClassSig const &other ) : ColorProfileClassSig( other ) {} + + operator cmsProfileClassSignature() const { return static_cast(value); } +}; + +cmsColorSpaceSignature asICColorSpaceSig(ColorSpaceSig const & sig); +cmsProfileClassSignature asICColorProfileClassSig(ColorProfileClassSig const & sig); + +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) + +} // namespace Inkscape + + +#endif // !SEEN_COLOR_PROFILE_CMS_FNS_H + +/* + Local Variables: + mode:c++ + c-file-style:"stroustrup" + c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +)) + indent-tabs-mode:nil + fill-column:99 + End: +*/ +// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 : === removed file 'src/color-profile-fns.h' --- src/color-profile-fns.h 2008-02-10 14:20:16 +0000 +++ src/color-profile-fns.h 1970-01-01 00:00:00 +0000 @@ -1,64 +0,0 @@ -#ifndef SEEN_COLOR_PROFILE_FNS_H -#define SEEN_COLOR_PROFILE_FNS_H - -/** \file - * Macros and fn declarations related to linear gradients. - */ - -#include -#include -#if ENABLE_LCMS -#include -#include -#include -#endif // ENABLE_LCMS - -class SPDocument; - -namespace Inkscape { - -namespace XML { -class Node; -} // namespace XML - -class ColorProfile; - -GType colorprofile_get_type(); - -#if ENABLE_LCMS - -cmsHPROFILE colorprofile_get_handle( SPDocument* document, guint* intent, gchar const* name ); -cmsHTRANSFORM colorprofile_get_display_transform(); - -Glib::ustring colorprofile_get_display_id( int screen, int monitor ); -Glib::ustring colorprofile_set_display_per( gpointer buf, guint bufLen, int screen, int monitor ); -cmsHTRANSFORM colorprofile_get_display_per( Glib::ustring const& id ); - -std::vector colorprofile_get_display_names(); -std::vector colorprofile_get_softproof_names(); - -Glib::ustring get_path_for_profile(Glib::ustring const& name); - -#endif - -} // namespace Inkscape - -#define COLORPROFILE_TYPE (Inkscape::colorprofile_get_type()) -#define COLORPROFILE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), COLORPROFILE_TYPE, Inkscape::ColorProfile)) -#define COLORPROFILE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), COLORPROFILE_TYPE, Inkscape::ColorProfileClass)) -#define IS_COLORPROFILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), COLORPROFILE_TYPE)) -#define IS_COLORPROFILE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), COLORPROFILE_TYPE)) - - -#endif // !SEEN_COLOR_PROFILE_FNS_H - -/* - Local Variables: - mode:c++ - c-file-style:"stroustrup" - c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +)) - indent-tabs-mode:nil - fill-column:99 - End: -*/ -// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 : === modified file 'src/color-profile-test.h' --- src/color-profile-test.h 2009-12-23 15:38:43 +0000 +++ src/color-profile-test.h 2012-02-16 12:59:31 +0000 @@ -9,7 +9,6 @@ #include "color-profile.h" -#include "color-profile-fns.h" class ColorProfileTest : public CxxTest::TestSuite { === modified file 'src/color-profile.cpp' --- src/color-profile.cpp 2011-07-10 11:35:30 +0000 +++ src/color-profile.cpp 2012-02-16 12:59:31 +0000 @@ -15,6 +15,7 @@ #include #include +#include #ifdef WIN32 #ifndef _WIN32_WINDOWS // Allow use of features specific to Windows 98 or later. Required for correctly including icm.h @@ -23,10 +24,17 @@ #include #endif +#if HAVE_LIBLCMS2 +# include +#elif HAVE_LIBLCMS1 +# include +#endif // HAVE_LIBLCMS2 + #include "xml/repr.h" #include "color.h" #include "color-profile.h" -#include "color-profile-fns.h" +#include "cms-system.h" +#include "color-profile-cms-fns.h" #include "attributes.h" #include "inkscape.h" #include "document.h" @@ -41,13 +49,16 @@ using Inkscape::ColorProfile; using Inkscape::ColorProfileClass; +using Inkscape::ColorProfileImpl; -namespace Inkscape +namespace { -#if ENABLE_LCMS -static cmsHPROFILE colorprofile_get_system_profile_handle(); -static cmsHPROFILE colorprofile_get_proof_profile_handle(); -#endif // ENABLE_LCMS +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) +cmsHPROFILE getSystemProfileHandle(); +cmsHPROFILE getProofProfileHandle(); +void loadProfiles(); +Glib::ustring getNameFromProfile(cmsHPROFILE profile); +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) } #ifdef DEBUG_LCMS @@ -85,31 +96,91 @@ g_message( __VA_ARGS__ );\ } +#else +#define DEBUG_MESSAGE_SCISLAC(key, ...) +#define DEBUG_MESSAGE(key, ...) #endif // DEBUG_LCMS static SPObjectClass *cprof_parent_class; -#if ENABLE_LCMS - -cmsHPROFILE ColorProfile::_sRGBProf = 0; - -cmsHPROFILE ColorProfile::getSRGBProfile() { +class ColorProfileImpl { +public: +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) + static cmsHPROFILE _sRGBProf; + static cmsHPROFILE _NullProf; +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) + + ColorProfileImpl(); + +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) + static cmsUInt32Number _getInputFormat( cmsColorSpaceSignature space ); + + static cmsHPROFILE getNULLProfile(); + static cmsHPROFILE getSRGBProfile(); + + void _clearProfile(); + + cmsHPROFILE _profHandle; + cmsProfileClassSignature _profileClass; + cmsColorSpaceSignature _profileSpace; + cmsHTRANSFORM _transf; + cmsHTRANSFORM _revTransf; + cmsHTRANSFORM _gamutTransf; +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) +}; + + + +namespace Inkscape { + +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) +cmsColorSpaceSignature asICColorSpaceSig(ColorSpaceSig const & sig) +{ + return ColorSpaceSigWrapper(sig); +} + +cmsProfileClassSignature asICColorProfileClassSig(ColorProfileClassSig const & sig) +{ + return ColorProfileClassSigWrapper(sig); +} +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) + +} // namespace Inkscape + +ColorProfileImpl::ColorProfileImpl() +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) + : + _profHandle(0), + _profileClass(cmsSigInputClass), + _profileSpace(cmsSigRgbData), + _transf(0), + _revTransf(0), + _gamutTransf(0) +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) +{ +} + +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) + +cmsHPROFILE ColorProfileImpl::_sRGBProf = 0; + +cmsHPROFILE ColorProfileImpl::getSRGBProfile() { if ( !_sRGBProf ) { _sRGBProf = cmsCreate_sRGBProfile(); } - return _sRGBProf; + return ColorProfileImpl::_sRGBProf; } -cmsHPROFILE ColorProfile::_NullProf = 0; +cmsHPROFILE ColorProfileImpl::_NullProf = 0; -cmsHPROFILE ColorProfile::getNULLProfile() { +cmsHPROFILE ColorProfileImpl::getNULLProfile() { if ( !_NullProf ) { _NullProf = cmsCreateNULLProfile(); } return _NullProf; } -#endif // ENABLE_LCMS +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) /** * Register ColorProfile class and return its type. @@ -158,19 +229,13 @@ */ void ColorProfile::init( ColorProfile *cprof ) { + cprof->impl = new ColorProfileImpl(); + cprof->href = 0; cprof->local = 0; cprof->name = 0; cprof->intentStr = 0; cprof->rendering_intent = Inkscape::RENDERING_INTENT_UNKNOWN; -#if ENABLE_LCMS - cprof->profHandle = 0; - cprof->_profileClass = icSigInputClass; - cprof->_profileSpace = icSigRgbData; - cprof->_transf = 0; - cprof->_revTransf = 0; - cprof->_gamutTransf = 0; -#endif // ENABLE_LCMS } /** @@ -179,8 +244,7 @@ void ColorProfile::release( SPObject *object ) { // Unregister ourselves - SPDocument* document = SP_OBJECT_DOCUMENT(object); - if ( document ) { + if ( object->document ) { sp_document_remove_resource (SP_OBJECT_DOCUMENT (object), "iccprofile", SP_OBJECT (object)); } @@ -205,15 +269,18 @@ cprof->intentStr = 0; } -#if ENABLE_LCMS - cprof->_clearProfile(); -#endif // ENABLE_LCMS +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) + cprof->impl->_clearProfile(); +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) + + delete cprof->impl; + cprof->impl = 0; } -#if ENABLE_LCMS -void ColorProfile::_clearProfile() +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) +void ColorProfileImpl::_clearProfile() { - _profileSpace = icSigRgbData; + _profileSpace = cmsSigRgbData; if ( _transf ) { cmsDeleteTransform( _transf ); @@ -227,12 +294,12 @@ cmsDeleteTransform( _gamutTransf ); _gamutTransf = 0; } - if ( profHandle ) { - cmsCloseProfile( profHandle ); - profHandle = 0; + if ( _profHandle ) { + cmsCloseProfile( _profHandle ); + _profHandle = 0; } } -#endif // ENABLE_LCMS +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) /** * Callback: set attributes from associated repr. @@ -275,15 +342,17 @@ if ( value ) { cprof->href = g_strdup( value ); if ( *cprof->href ) { -#if ENABLE_LCMS +#if HAVE_LIBLCMS1 cmsErrorAction( LCMS_ERROR_SHOW ); +#endif +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) // TODO open filename and URIs properly //FILE* fp = fopen_utf8name( filename, "r" ); - //LCMSAPI cmsHPROFILE LCMSEXPORT cmsOpenProfileFromMem(LPVOID MemPtr, DWORD dwSize); + //LCMSAPI cmsHPROFILE LCMSEXPORT cmsOpenProfileFromMem(LPVOID MemPtr, cmsUInt32Number dwSize); // Try to open relative - SPDocument *doc = SP_OBJECT_DOCUMENT(object); + SPDocument *doc = object->document; if (!doc) { doc = SP_ACTIVE_DOCUMENT; g_warning("object has no document. using active"); @@ -306,19 +375,17 @@ // the w3c specs. All absolute and relative issues are considered org::w3c::dom::URI cprofUri = docUri.resolve(hrefUri); gchar* fullname = g_uri_unescape_string(cprofUri.getNativePath().c_str(), ""); - cprof->_clearProfile(); - cprof->profHandle = cmsOpenProfileFromFile( fullname, "r" ); - if ( cprof->profHandle ) { - cprof->_profileSpace = cmsGetColorSpace( cprof->profHandle ); - cprof->_profileClass = cmsGetDeviceClass( cprof->profHandle ); + cprof->impl->_clearProfile(); + cprof->impl->_profHandle = cmsOpenProfileFromFile( fullname, "r" ); + if ( cprof->impl->_profHandle ) { + cprof->impl->_profileSpace = cmsGetColorSpace( cprof->impl->_profHandle ); + cprof->impl->_profileClass = cmsGetDeviceClass( cprof->impl->_profHandle ); } -#ifdef DEBUG_LCMS - DEBUG_MESSAGE( lcmsOne, "cmsOpenProfileFromFile( '%s'...) = %p", fullname, (void*)cprof->profHandle ); -#endif // DEBUG_LCMS + DEBUG_MESSAGE( lcmsOne, "cmsOpenProfileFromFile( '%s'...) = %p", fullname, (void*)cprof->impl->_profHandle ); g_free(escaped); escaped = 0; g_free(fullname); -#endif // ENABLE_LCMS +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) } } object->requestModified(SP_OBJECT_MODIFIED_FLAG); @@ -417,27 +484,27 @@ } -#if ENABLE_LCMS +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) struct MapMap { - icColorSpaceSignature space; - DWORD inForm; + cmsColorSpaceSignature space; + cmsUInt32Number inForm; }; -DWORD ColorProfile::_getInputFormat( icColorSpaceSignature space ) +cmsUInt32Number ColorProfileImpl::_getInputFormat( cmsColorSpaceSignature space ) { MapMap possible[] = { - {icSigXYZData, TYPE_XYZ_16}, - {icSigLabData, TYPE_Lab_16}, - //icSigLuvData - {icSigYCbCrData, TYPE_YCbCr_16}, - {icSigYxyData, TYPE_Yxy_16}, - {icSigRgbData, TYPE_RGB_16}, - {icSigGrayData, TYPE_GRAY_16}, - {icSigHsvData, TYPE_HSV_16}, - {icSigHlsData, TYPE_HLS_16}, - {icSigCmykData, TYPE_CMYK_16}, - {icSigCmyData, TYPE_CMY_16}, + {cmsSigXYZData, TYPE_XYZ_16}, + {cmsSigLabData, TYPE_Lab_16}, + //cmsSigLuvData + {cmsSigYCbCrData, TYPE_YCbCr_16}, + {cmsSigYxyData, TYPE_Yxy_16}, + {cmsSigRgbData, TYPE_RGB_16}, + {cmsSigGrayData, TYPE_GRAY_16}, + {cmsSigHsvData, TYPE_HSV_16}, + {cmsSigHlsData, TYPE_HLS_16}, + {cmsSigCmykData, TYPE_CMYK_16}, + {cmsSigCmyData, TYPE_CMY_16}, }; int index = 0; @@ -493,131 +560,168 @@ return result; } -cmsHPROFILE Inkscape::colorprofile_get_handle( SPDocument* document, guint* intent, gchar const* name ) +cmsHPROFILE Inkscape::CMSSystem::getHandle( SPDocument* document, guint* intent, gchar const* name ) { cmsHPROFILE prof = 0; SPObject* thing = bruteFind( document, name ); if ( thing ) { - prof = COLORPROFILE(thing)->profHandle; + prof = COLORPROFILE(thing)->impl->_profHandle; } if ( intent ) { *intent = thing ? COLORPROFILE(thing)->rendering_intent : (guint)RENDERING_INTENT_UNKNOWN; } -#ifdef DEBUG_LCMS DEBUG_MESSAGE( lcmsThree, " queried for profile of '%s'. Returning %p with intent of %d", name, prof, (intent? *intent:0) ); -#endif // DEBUG_LCMS return prof; } +Inkscape::ColorSpaceSig ColorProfile::getColorSpace() const { + return ColorSpaceSigWrapper(impl->_profileSpace); +} + +Inkscape::ColorProfileClassSig ColorProfile::getProfileClass() const { + return ColorProfileClassSigWrapper(impl->_profileClass); +} + cmsHTRANSFORM ColorProfile::getTransfToSRGB8() { - if ( !_transf && profHandle ) { + if ( !impl->_transf && impl->_profHandle ) { int intent = getLcmsIntent(rendering_intent); - _transf = cmsCreateTransform( profHandle, _getInputFormat(_profileSpace), getSRGBProfile(), TYPE_RGBA_8, intent, 0 ); + impl->_transf = cmsCreateTransform( impl->_profHandle, ColorProfileImpl::_getInputFormat(impl->_profileSpace), ColorProfileImpl::getSRGBProfile(), TYPE_RGBA_8, intent, 0 ); } - return _transf; + return impl->_transf; } cmsHTRANSFORM ColorProfile::getTransfFromSRGB8() { - if ( !_revTransf && profHandle ) { + if ( !impl->_revTransf && impl->_profHandle ) { int intent = getLcmsIntent(rendering_intent); - _revTransf = cmsCreateTransform( getSRGBProfile(), TYPE_RGBA_8, profHandle, _getInputFormat(_profileSpace), intent, 0 ); + impl->_revTransf = cmsCreateTransform( ColorProfileImpl::getSRGBProfile(), TYPE_RGBA_8, impl->_profHandle, ColorProfileImpl::_getInputFormat(impl->_profileSpace), intent, 0 ); } - return _revTransf; + return impl->_revTransf; } cmsHTRANSFORM ColorProfile::getTransfGamutCheck() { - if ( !_gamutTransf ) { - _gamutTransf = cmsCreateProofingTransform(getSRGBProfile(), TYPE_RGBA_8, getNULLProfile(), TYPE_GRAY_8, profHandle, INTENT_RELATIVE_COLORIMETRIC, INTENT_RELATIVE_COLORIMETRIC, (cmsFLAGS_GAMUTCHECK|cmsFLAGS_SOFTPROOFING)); + if ( !impl->_gamutTransf ) { + impl->_gamutTransf = cmsCreateProofingTransform(ColorProfileImpl::getSRGBProfile(), + TYPE_RGBA_8, + ColorProfileImpl::getNULLProfile(), + TYPE_GRAY_8, + impl->_profHandle, + INTENT_RELATIVE_COLORIMETRIC, + INTENT_RELATIVE_COLORIMETRIC, + (cmsFLAGS_GAMUTCHECK | cmsFLAGS_SOFTPROOFING)); } - return _gamutTransf; + return impl->_gamutTransf; } -bool ColorProfile::GamutCheck(SPColor color){ - BYTE outofgamut = 0; - +bool ColorProfile::GamutCheck(SPColor color) +{ + bool result = false; + guint32 val = color.toRGBA32(0); + +#if HAVE_LIBLCMS1 + int alarm_r = 0; + int alarm_g = 0; + int alarm_b = 0; + cmsGetAlarmCodes(&alarm_r, &alarm_g, &alarm_b); + cmsSetAlarmCodes(255, 255, 255); +#elif HAVE_LIBLCMS2 + cmsUInt16Number oldAlarmCodes[cmsMAXCHANNELS] = {0}; + cmsGetAlarmCodes(oldAlarmCodes); + cmsUInt16Number newAlarmCodes[cmsMAXCHANNELS] = {0}; + newAlarmCodes[0] = ~0; + cmsSetAlarmCodes(newAlarmCodes); +#endif // HAVE_LIBLCMS1 + + cmsUInt8Number outofgamut = 0; guchar check_color[4] = { SP_RGBA32_R_U(val), SP_RGBA32_G_U(val), SP_RGBA32_B_U(val), 255}; - - int alarm_r, alarm_g, alarm_b; - cmsGetAlarmCodes(&alarm_r, &alarm_g, &alarm_b); - cmsSetAlarmCodes(255, 255, 255); cmsDoTransform(ColorProfile::getTransfGamutCheck(), &check_color, &outofgamut, 1); + +#if HAVE_LIBLCMS1 cmsSetAlarmCodes(alarm_r, alarm_g, alarm_b); - return (outofgamut == 255); +#elif HAVE_LIBLCMS2 + cmsSetAlarmCodes(oldAlarmCodes); +#endif // HAVE_LIBLCMS1 + + result = (outofgamut != 0); + + return result; } - -#include - class ProfileInfo { public: - ProfileInfo( cmsHPROFILE, Glib::ustring const & path ); + ProfileInfo( cmsHPROFILE prof, Glib::ustring const & path ); Glib::ustring const& getName() {return _name;} Glib::ustring const& getPath() {return _path;} - icColorSpaceSignature getSpace() {return _profileSpace;} - icProfileClassSignature getClass() {return _profileClass;} + cmsColorSpaceSignature getSpace() {return _profileSpace;} + cmsProfileClassSignature getClass() {return _profileClass;} private: Glib::ustring _path; Glib::ustring _name; - icColorSpaceSignature _profileSpace; - icProfileClassSignature _profileClass; + cmsColorSpaceSignature _profileSpace; + cmsProfileClassSignature _profileClass; }; +#include -ProfileInfo::ProfileInfo( cmsHPROFILE prof, Glib::ustring const & path ) +ProfileInfo::ProfileInfo( cmsHPROFILE prof, Glib::ustring const & path ) : + _path( path ), + _name( getNameFromProfile(prof) ), + _profileSpace( cmsGetColorSpace( prof ) ), + _profileClass( cmsGetDeviceClass( prof ) ) { - _path = path; - _name = cmsTakeProductDesc(prof); - _profileSpace = cmsGetColorSpace( prof ); - _profileClass = cmsGetDeviceClass( prof ); } static std::vector knownProfiles; -std::vector Inkscape::colorprofile_get_display_names() -{ - std::vector result; - - for ( std::vector::iterator it = knownProfiles.begin(); it != knownProfiles.end(); ++it ) { - if ( it->getClass() == icSigDisplayClass && it->getSpace() == icSigRgbData ) { - result.push_back( it->getName() ); - } - } - - return result; -} - -std::vector Inkscape::colorprofile_get_softproof_names() -{ - std::vector result; - - for ( std::vector::iterator it = knownProfiles.begin(); it != knownProfiles.end(); ++it ) { - if ( it->getClass() == icSigOutputClass ) { - result.push_back( it->getName() ); - } - } - - return result; -} - -Glib::ustring Inkscape::get_path_for_profile(Glib::ustring const& name) -{ +std::vector Inkscape::CMSSystem::getDisplayNames() +{ + loadProfiles(); + std::vector result; + + for ( std::vector::iterator it = knownProfiles.begin(); it != knownProfiles.end(); ++it ) { + if ( it->getClass() == cmsSigDisplayClass && it->getSpace() == cmsSigRgbData ) { + result.push_back( it->getName() ); + } + } + std::sort(result.begin(), result.end()); + + return result; +} + +std::vector Inkscape::CMSSystem::getSoftproofNames() +{ + loadProfiles(); + std::vector result; + + for ( std::vector::iterator it = knownProfiles.begin(); it != knownProfiles.end(); ++it ) { + if ( it->getClass() == cmsSigOutputClass ) { + result.push_back( it->getName() ); + } + } + std::sort(result.begin(), result.end()); + + return result; +} + +Glib::ustring Inkscape::CMSSystem::getPathForProfile(Glib::ustring const& name) +{ + loadProfiles(); Glib::ustring result; for ( std::vector::iterator it = knownProfiles.begin(); it != knownProfiles.end(); ++it ) { @@ -629,17 +733,48 @@ return result; } -#endif // ENABLE_LCMS - -std::list ColorProfile::getBaseProfileDirs() { -#if ENABLE_LCMS + +void Inkscape::CMSSystem::doTransform(cmsHTRANSFORM transform, void *inBuf, void *outBuf, unsigned int size) +{ + cmsDoTransform(transform, inBuf, outBuf, size); +} + +bool Inkscape::CMSSystem::isPrintColorSpace(ColorProfile const *profile) +{ + bool isPrint = false; + if ( profile ) { + ColorSpaceSigWrapper colorspace = profile->getColorSpace(); + isPrint = (colorspace == cmsSigCmykData) || (colorspace == cmsSigCmyData); + } + return isPrint; +} + +gint Inkscape::CMSSystem::getChannelCount(ColorProfile const *profile) +{ + gint count = 0; + if ( profile ) { +#if HAVE_LIBLCMS1 + count = _cmsChannelsOf( asICColorSpaceSig(profile->getColorSpace()) ); +#elif HAVE_LIBLCMS2 + count = cmsChannelsOf( asICColorSpaceSig(profile->getColorSpace()) ); +#endif + } + return count; +} + +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) + +std::vector ColorProfile::getBaseProfileDirs() { +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) static bool warnSet = false; if (!warnSet) { +#if HAVE_LIBLCMS1 cmsErrorAction( LCMS_ERROR_SHOW ); +#endif warnSet = true; } -#endif // ENABLE_LCMS - std::list sources; +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) + std::vector sources; gchar* base = profile_path("XXX"); { @@ -665,10 +800,10 @@ // On OS X: { bool onOSX = false; - std::list possible; + std::vector possible; possible.push_back("/System/Library/ColorSync/Profiles"); possible.push_back("/Library/ColorSync/Profiles"); - for ( std::list::const_iterator it = possible.begin(); it != possible.end(); ++it ) { + for ( std::vector::const_iterator it = possible.begin(); it != possible.end(); ++it ) { if ( g_file_test(it->c_str(), G_FILE_TEST_EXISTS) && g_file_test(it->c_str(), G_FILE_TEST_IS_DIR) ) { sources.push_back(it->c_str()); onOSX = true; @@ -686,7 +821,7 @@ #ifdef WIN32 wchar_t pathBuf[MAX_PATH + 1]; pathBuf[0] = 0; - DWORD pathSize = sizeof(pathBuf); + cmsUInt32Number pathSize = sizeof(pathBuf); g_assert(sizeof(wchar_t) == sizeof(gunichar2)); if ( GetColorDirectoryW( NULL, pathBuf, &pathSize ) ) { gchar * utf8Path = g_utf16_to_utf8( (gunichar2*)(&pathBuf[0]), -1, NULL, NULL, NULL ); @@ -724,28 +859,32 @@ } close(fd); -#if ENABLE_LCMS +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) if (isIccFile) { cmsHPROFILE prof = cmsOpenProfileFromFile( filepath, "r" ); if ( prof ) { - icProfileClassSignature profClass = cmsGetDeviceClass(prof); - if ( profClass == icSigNamedColorClass ) { + cmsProfileClassSignature profClass = cmsGetDeviceClass(prof); + if ( profClass == cmsSigNamedColorClass ) { isIccFile = false; // Ignore named color profiles for now. } cmsCloseProfile( prof ); } } -#endif // ENABLE_LCMS +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) } } return isIccFile; } -std::list ColorProfile::getProfileFiles() +std::vector ColorProfile::getProfileFiles() { - std::list files; + std::vector files; - std::list sources = ColorProfile::getBaseProfileDirs(); + std::list sources; + { + std::vector tmp = ColorProfile::getBaseProfileDirs(); + sources.insert(sources.begin(), tmp.begin(), tmp.end()); + } for ( std::list::const_iterator it = sources.begin(); it != sources.end(); ++it ) { if ( g_file_test( it->c_str(), G_FILE_TEST_EXISTS ) && g_file_test( it->c_str(), G_FILE_TEST_IS_DIR ) ) { GError *err = 0; @@ -777,37 +916,126 @@ return files; } -#if ENABLE_LCMS -static void findThings() { - std::list files = ColorProfile::getProfileFiles(); - - for ( std::list::const_iterator it = files.begin(); it != files.end(); ++it ) { - cmsHPROFILE prof = cmsOpenProfileFromFile( it->c_str(), "r" ); - if ( prof ) { - ProfileInfo info( prof, Glib::filename_to_utf8( it->c_str() ) ); - cmsCloseProfile( prof ); - - bool sameName = false; - for ( std::vector::iterator it = knownProfiles.begin(); it != knownProfiles.end(); ++it ) { - if ( it->getName() == info.getName() ) { - sameName = true; - break; - } - } - - if ( !sameName ) { - knownProfiles.push_back(info); - } +std::vector > ColorProfile::getProfileFilesWithNames() +{ + std::vector > result; + +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) + std::vector files = getProfileFiles(); + for ( std::vector::const_iterator it = files.begin(); it != files.end(); ++it ) { + cmsHPROFILE hProfile = cmsOpenProfileFromFile(it->c_str(), "r"); + if ( hProfile ) { + Glib::ustring name = getNameFromProfile(hProfile); + result.push_back( std::make_pair(*it, name) ); + cmsCloseProfile(hProfile); } } + std::sort(result.begin(), result.end()); +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) + + return result; } +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) +#if HAVE_LIBLCMS1 int errorHandlerCB(int ErrorCode, const char *ErrorText) { g_message("lcms: Error %d; %s", ErrorCode, ErrorText); return 1; } +#elif HAVE_LIBLCMS2 +void errorHandlerCB(cmsContext /*contextID*/, cmsUInt32Number errorCode, char const *errorText) +{ + g_message("lcms: Error %d", errorCode); + g_message(" %p", errorText); + //g_message("lcms: Error %d; %s", errorCode, errorText); +} +#endif + +namespace +{ + +Glib::ustring getNameFromProfile(cmsHPROFILE profile) +{ + Glib::ustring nameStr; + if ( profile ) { +#if HAVE_LIBLCMS1 + gchar const *name = cmsTakeProductDesc(profile); + if ( !name ) { + name = cmsTakeProductName(profile); + } + if ( name && !g_utf8_validate(name, -1, NULL) ) { + name = _("(invalid UTF-8 string)"); + } + nameStr = (name) ? name : _("None"); +#elif HAVE_LIBLCMS2 + cmsUInt32Number byteLen = cmsGetProfileInfo(profile, cmsInfoDescription, "en", "US", NULL, 0); + if (byteLen > 0) { + // TODO investigate wchar_t and cmsGetProfileInfo() + std::vector data(byteLen); + cmsUInt32Number readLen = cmsGetProfileInfoASCII(profile, cmsInfoDescription, + "en", "US", + data.data(), data.size()); + if (readLen < data.size()) { + data.resize(readLen); + } + nameStr = Glib::ustring(data.begin(), data.end()); + } + if (nameStr.empty()) { + nameStr = _("(invalid UTF-8 string)"); + } +#endif + } + return nameStr; +} + +/** + * This function loads or refreshes data in knownProfiles. + * Call it at the start of every call that requires this data. + */ +void loadProfiles() +{ + static bool error_handler_set = false; + if (!error_handler_set) { +#if HAVE_LIBLCMS1 + cmsSetErrorHandler(errorHandlerCB); +#elif HAVE_LIBLCMS2 + //cmsSetLogErrorHandler(errorHandlerCB); + //g_message("LCMS error handler set"); +#endif + error_handler_set = true; + } + + static bool profiles_searched = false; + if ( !profiles_searched ) { + knownProfiles.clear(); + std::vector files = ColorProfile::getProfileFiles(); + + for ( std::vector::const_iterator it = files.begin(); it != files.end(); ++it ) { + cmsHPROFILE prof = cmsOpenProfileFromFile( it->c_str(), "r" ); + if ( prof ) { + ProfileInfo info( prof, Glib::filename_to_utf8( it->c_str() ) ); + cmsCloseProfile( prof ); + prof = 0; + + bool sameName = false; + for ( std::vector::iterator it = knownProfiles.begin(); it != knownProfiles.end(); ++it ) { + if ( it->getName() == info.getName() ) { + sameName = true; + break; + } + } + + if ( !sameName ) { + knownProfiles.push_back(info); + } + } + } + profiles_searched = true; + } +} +} // namespace static bool gamutWarn = false; static Gdk::Color lastGamutColor("#808080"); @@ -819,18 +1047,13 @@ static int lastProofIntent = INTENT_PERCEPTUAL; static cmsHTRANSFORM transf = 0; -cmsHPROFILE Inkscape::colorprofile_get_system_profile_handle() +namespace { +cmsHPROFILE getSystemProfileHandle() { static cmsHPROFILE theOne = 0; static Glib::ustring lastURI; - static bool init = false; - if ( !init ) { - cmsSetErrorHandler(errorHandlerCB); - - findThings(); - init = true; - } + loadProfiles(); Inkscape::Preferences *prefs = Inkscape::Preferences::get(); Glib::ustring uri = prefs->getString("/options/displayprofile/uri"); @@ -848,14 +1071,14 @@ theOne = cmsOpenProfileFromFile( uri.data(), "r" ); if ( theOne ) { // a display profile must have the proper stuff - icColorSpaceSignature space = cmsGetColorSpace(theOne); - icProfileClassSignature profClass = cmsGetDeviceClass(theOne); + cmsColorSpaceSignature space = cmsGetColorSpace(theOne); + cmsProfileClassSignature profClass = cmsGetDeviceClass(theOne); - if ( profClass != icSigDisplayClass ) { + if ( profClass != cmsSigDisplayClass ) { g_warning("Not a display profile"); cmsCloseProfile( theOne ); theOne = 0; - } else if ( space != icSigRgbData ) { + } else if ( space != cmsSigRgbData ) { g_warning("Not an RGB profile"); cmsCloseProfile( theOne ); theOne = 0; @@ -878,18 +1101,12 @@ } -cmsHPROFILE Inkscape::colorprofile_get_proof_profile_handle() +cmsHPROFILE getProofProfileHandle() { static cmsHPROFILE theOne = 0; static Glib::ustring lastURI; - static bool init = false; - if ( !init ) { - cmsSetErrorHandler(errorHandlerCB); - - findThings(); - init = true; - } + loadProfiles(); Inkscape::Preferences *prefs = Inkscape::Preferences::get(); bool which = prefs->getBool( "/options/softproof/enable"); @@ -908,17 +1125,17 @@ theOne = cmsOpenProfileFromFile( uri.data(), "r" ); if ( theOne ) { // a display profile must have the proper stuff - icColorSpaceSignature space = cmsGetColorSpace(theOne); - icProfileClassSignature profClass = cmsGetDeviceClass(theOne); + cmsColorSpaceSignature space = cmsGetColorSpace(theOne); + cmsProfileClassSignature profClass = cmsGetDeviceClass(theOne); (void)space; (void)profClass; /* - if ( profClass != icSigDisplayClass ) { + if ( profClass != cmsSigDisplayClass ) { g_warning("Not a display profile"); cmsCloseProfile( theOne ); theOne = 0; - } else if ( space != icSigRgbData ) { + } else if ( space != cmsSigRgbData ) { g_warning("Not an RGB profile"); cmsCloseProfile( theOne ); theOne = 0; @@ -942,10 +1159,11 @@ return theOne; } +} // namespace static void free_transforms(); -cmsHTRANSFORM Inkscape::colorprofile_get_display_transform() +cmsHTRANSFORM Inkscape::CMSSystem::getDisplayTransform() { Inkscape::Preferences *prefs = Inkscape::Preferences::get(); bool fromDisplay = prefs->getBool( "/options/displayprofile/from_display"); @@ -988,15 +1206,24 @@ } // Fetch these now, as they might clear the transform as a side effect. - cmsHPROFILE hprof = Inkscape::colorprofile_get_system_profile_handle(); - cmsHPROFILE proofProf = hprof ? Inkscape::colorprofile_get_proof_profile_handle() : 0; + cmsHPROFILE hprof = getSystemProfileHandle(); + cmsHPROFILE proofProf = hprof ? getProofProfileHandle() : 0; if ( !transf ) { if ( hprof && proofProf ) { - DWORD dwFlags = cmsFLAGS_SOFTPROOFING; + cmsUInt32Number dwFlags = cmsFLAGS_SOFTPROOFING; if ( gamutWarn ) { dwFlags |= cmsFLAGS_GAMUTCHECK; +#if HAVE_LIBLCMS1 cmsSetAlarmCodes(gamutColor.get_red() >> 8, gamutColor.get_green() >> 8, gamutColor.get_blue() >> 8); +#elif HAVE_LIBLCMS2 + cmsUInt16Number newAlarmCodes[cmsMAXCHANNELS] = {0}; + newAlarmCodes[0] = gamutColor.get_red(); + newAlarmCodes[1] = gamutColor.get_green(); + newAlarmCodes[2] = gamutColor.get_blue(); + newAlarmCodes[3] = ~0; + cmsSetAlarmCodes(newAlarmCodes); +#endif } if ( bpc ) { dwFlags |= cmsFLAGS_BLACKPOINTCOMPENSATION; @@ -1006,9 +1233,9 @@ dwFlags |= cmsFLAGS_PRESERVEBLACK; } #endif // defined(cmsFLAGS_PRESERVEBLACK) - transf = cmsCreateProofingTransform( ColorProfile::getSRGBProfile(), TYPE_RGBA_8, hprof, TYPE_RGBA_8, proofProf, intent, proofIntent, dwFlags ); + transf = cmsCreateProofingTransform( ColorProfileImpl::getSRGBProfile(), TYPE_RGBA_8, hprof, TYPE_RGBA_8, proofProf, intent, proofIntent, dwFlags ); } else if ( hprof ) { - transf = cmsCreateTransform( ColorProfile::getSRGBProfile(), TYPE_RGBA_8, hprof, TYPE_RGBA_8, intent, 0 ); + transf = cmsCreateTransform( ColorProfileImpl::getSRGBProfile(), TYPE_RGBA_8, hprof, TYPE_RGBA_8, intent, 0 ); } } @@ -1056,7 +1283,7 @@ } } -Glib::ustring Inkscape::colorprofile_get_display_id( int screen, int monitor ) +Glib::ustring Inkscape::CMSSystem::getDisplayId( int screen, int monitor ) { Glib::ustring id; @@ -1071,7 +1298,7 @@ return id; } -Glib::ustring Inkscape::colorprofile_set_display_per( gpointer buf, guint bufLen, int screen, int monitor ) +Glib::ustring Inkscape::CMSSystem::setDisplayPer( gpointer buf, guint bufLen, int screen, int monitor ) { Glib::ustring id; @@ -1104,7 +1331,7 @@ return id; } -cmsHTRANSFORM Inkscape::colorprofile_get_display_per( Glib::ustring const& id ) +cmsHTRANSFORM Inkscape::CMSSystem::getDisplayPer( Glib::ustring const& id ) { cmsHTRANSFORM result = 0; if ( id.empty() ) { @@ -1149,14 +1376,23 @@ } // Fetch these now, as they might clear the transform as a side effect. - cmsHPROFILE proofProf = item.hprof ? Inkscape::colorprofile_get_proof_profile_handle() : 0; + cmsHPROFILE proofProf = item.hprof ? getProofProfileHandle() : 0; if ( !item.transf ) { if ( item.hprof && proofProf ) { - DWORD dwFlags = cmsFLAGS_SOFTPROOFING; + cmsUInt32Number dwFlags = cmsFLAGS_SOFTPROOFING; if ( gamutWarn ) { dwFlags |= cmsFLAGS_GAMUTCHECK; +#if HAVE_LIBLCMS1 cmsSetAlarmCodes(gamutColor.get_red() >> 8, gamutColor.get_green() >> 8, gamutColor.get_blue() >> 8); +#elif HAVE_LIBLCMS2 + cmsUInt16Number newAlarmCodes[cmsMAXCHANNELS] = {0}; + newAlarmCodes[0] = gamutColor.get_red(); + newAlarmCodes[1] = gamutColor.get_green(); + newAlarmCodes[2] = gamutColor.get_blue(); + newAlarmCodes[3] = ~0; + cmsSetAlarmCodes(newAlarmCodes); +#endif } if ( bpc ) { dwFlags |= cmsFLAGS_BLACKPOINTCOMPENSATION; @@ -1166,9 +1402,9 @@ dwFlags |= cmsFLAGS_PRESERVEBLACK; } #endif // defined(cmsFLAGS_PRESERVEBLACK) - item.transf = cmsCreateProofingTransform( ColorProfile::getSRGBProfile(), TYPE_RGBA_8, item.hprof, TYPE_RGBA_8, proofProf, intent, proofIntent, dwFlags ); + item.transf = cmsCreateProofingTransform( ColorProfileImpl::getSRGBProfile(), TYPE_RGBA_8, item.hprof, TYPE_RGBA_8, proofProf, intent, proofIntent, dwFlags ); } else if ( item.hprof ) { - item.transf = cmsCreateTransform( ColorProfile::getSRGBProfile(), TYPE_RGBA_8, item.hprof, TYPE_RGBA_8, intent, 0 ); + item.transf = cmsCreateTransform( ColorProfileImpl::getSRGBProfile(), TYPE_RGBA_8, item.hprof, TYPE_RGBA_8, intent, 0 ); } } @@ -1183,7 +1419,7 @@ -#endif // ENABLE_LCMS +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) /* Local Variables: @@ -1194,4 +1430,4 @@ fill-column:99 End: */ -// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 : +// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 : === modified file 'src/color-profile.h' --- src/color-profile.h 2011-02-01 12:53:34 +0000 +++ src/color-profile.h 2012-02-16 12:59:31 +0000 @@ -1,16 +1,13 @@ #ifndef SEEN_COLOR_PROFILE_H #define SEEN_COLOR_PROFILE_H -/** \file - * SPColorProfile: SVG implementation - */ - -#include +#include +#include #include #include -#if ENABLE_LCMS -#include -#endif // ENABLE_LCMS +#include "cms-color-types.h" + +struct SPColor; namespace Inkscape { @@ -23,39 +20,46 @@ RENDERING_INTENT_ABSOLUTE_COLORIMETRIC = 5 }; -/// The SPColorProfile vtable. +class ColorProfileImpl; + + +/** + * The SPColorProfile vtable. + */ struct ColorProfileClass { SPObjectClass parent_class; }; -/** Color Profile. */ +/** + * Color Profile. + */ struct ColorProfile : public SPObject { + friend cmsHPROFILE colorprofile_get_handle( SPDocument*, guint*, gchar const* ); + friend class CMSSystem; + static GType getType(); static void classInit( ColorProfileClass *klass ); - static std::list getBaseProfileDirs(); - static std::list getProfileFiles(); -#if ENABLE_LCMS - static cmsHPROFILE getSRGBProfile(); - static cmsHPROFILE getNULLProfile(); - - icColorSpaceSignature getColorSpace() const {return _profileSpace;} - icProfileClassSignature getProfileClass() const {return _profileClass;} + static std::vector getBaseProfileDirs(); + static std::vector getProfileFiles(); + static std::vector > getProfileFilesWithNames(); +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) + //icColorSpaceSignature getColorSpace() const; + ColorSpaceSig getColorSpace() const; + //icProfileClassSignature getProfileClass() const; + ColorProfileClassSig getProfileClass() const; cmsHTRANSFORM getTransfToSRGB8(); cmsHTRANSFORM getTransfFromSRGB8(); cmsHTRANSFORM getTransfGamutCheck(); bool GamutCheck(SPColor color); -#endif // ENABLE_LCMS +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) gchar* href; gchar* local; gchar* name; gchar* intentStr; guint rendering_intent; -#if ENABLE_LCMS - cmsHPROFILE profHandle; -#endif // ENABLE_LCMS private: static void init( ColorProfile *cprof ); @@ -64,23 +68,20 @@ static void build( SPObject *object, SPDocument *document, Inkscape::XML::Node *repr ); static void set( SPObject *object, unsigned key, gchar const *value ); static Inkscape::XML::Node *write( SPObject *object, Inkscape::XML::Document *doc, Inkscape::XML::Node *repr, guint flags ); -#if ENABLE_LCMS - static DWORD _getInputFormat( icColorSpaceSignature space ); - void _clearProfile(); - - static cmsHPROFILE _sRGBProf; - static cmsHPROFILE _NullProf; - - icProfileClassSignature _profileClass; - icColorSpaceSignature _profileSpace; - cmsHTRANSFORM _transf; - cmsHTRANSFORM _revTransf; - cmsHTRANSFORM _gamutTransf; -#endif // ENABLE_LCMS + + ColorProfileImpl *impl; }; +GType colorprofile_get_type(); + } // namespace Inkscape +#define COLORPROFILE_TYPE (Inkscape::colorprofile_get_type()) +#define COLORPROFILE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), COLORPROFILE_TYPE, Inkscape::ColorProfile)) +#define COLORPROFILE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), COLORPROFILE_TYPE, Inkscape::ColorProfileClass)) +#define IS_COLORPROFILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), COLORPROFILE_TYPE)) +#define IS_COLORPROFILE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), COLORPROFILE_TYPE)) + #endif // !SEEN_COLOR_PROFILE_H /* @@ -92,4 +93,4 @@ fill-column:99 End: */ -// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 : +// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 : === modified file 'src/color-rgba.h' --- src/color-rgba.h 2008-11-25 15:51:35 +0000 +++ src/color-rgba.h 2012-02-16 12:59:31 +0000 @@ -12,8 +12,7 @@ #ifndef SEEN_COLOR_RGBA_H #define SEEN_COLOR_RGBA_H -#include // g_assert() -#include +#include #include "libnr/nr-pixops.h" #include "decimal-round.h" === modified file 'src/conn-avoid-ref.h' --- src/conn-avoid-ref.h 2011-07-10 11:35:30 +0000 +++ src/conn-avoid-ref.h 2012-02-16 12:59:31 +0000 @@ -13,7 +13,7 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include +#include #include #include === modified file 'src/cxxtests.cpp' --- src/cxxtests.cpp 2010-09-12 19:44:58 +0000 +++ src/cxxtests.cpp 2012-02-16 12:59:31 +0000 @@ -41,23 +41,23 @@ static ColorProfileTest *suite_ColorProfileTest = 0; static CxxTest::List Tests_ColorProfileTest = { 0, 0 }; -CxxTest::DynamicSuiteDescription suiteDescription_ColorProfileTest( "./color-profile-test.h", 14, "ColorProfileTest", Tests_ColorProfileTest, suite_ColorProfileTest, 46, 52 ); +CxxTest::DynamicSuiteDescription suiteDescription_ColorProfileTest( "./color-profile-test.h", 13, "ColorProfileTest", Tests_ColorProfileTest, suite_ColorProfileTest, 45, 51 ); static class TestDescription_ColorProfileTest_testSetRenderingIntent : public CxxTest::RealTestDescription { public: - TestDescription_ColorProfileTest_testSetRenderingIntent() : CxxTest::RealTestDescription( Tests_ColorProfileTest, suiteDescription_ColorProfileTest, 61, "testSetRenderingIntent" ) {} + TestDescription_ColorProfileTest_testSetRenderingIntent() : CxxTest::RealTestDescription( Tests_ColorProfileTest, suiteDescription_ColorProfileTest, 60, "testSetRenderingIntent" ) {} void runTest() { if ( suite_ColorProfileTest ) suite_ColorProfileTest->testSetRenderingIntent(); } } testDescription_ColorProfileTest_testSetRenderingIntent; static class TestDescription_ColorProfileTest_testSetLocal : public CxxTest::RealTestDescription { public: - TestDescription_ColorProfileTest_testSetLocal() : CxxTest::RealTestDescription( Tests_ColorProfileTest, suiteDescription_ColorProfileTest, 90, "testSetLocal" ) {} + TestDescription_ColorProfileTest_testSetLocal() : CxxTest::RealTestDescription( Tests_ColorProfileTest, suiteDescription_ColorProfileTest, 89, "testSetLocal" ) {} void runTest() { if ( suite_ColorProfileTest ) suite_ColorProfileTest->testSetLocal(); } } testDescription_ColorProfileTest_testSetLocal; static class TestDescription_ColorProfileTest_testSetName : public CxxTest::RealTestDescription { public: - TestDescription_ColorProfileTest_testSetName() : CxxTest::RealTestDescription( Tests_ColorProfileTest, suiteDescription_ColorProfileTest, 114, "testSetName" ) {} + TestDescription_ColorProfileTest_testSetName() : CxxTest::RealTestDescription( Tests_ColorProfileTest, suiteDescription_ColorProfileTest, 113, "testSetName" ) {} void runTest() { if ( suite_ColorProfileTest ) suite_ColorProfileTest->testSetName(); } } testDescription_ColorProfileTest_testSetName; === modified file 'src/debug/logger.cpp' --- src/debug/logger.cpp 2009-12-23 15:38:43 +0000 +++ src/debug/logger.cpp 2012-02-16 12:59:31 +0000 @@ -11,7 +11,7 @@ #include #include -#include +#include #include "inkscape-version.h" #include "debug/logger.h" #include "debug/simple-event.h" === modified file 'src/debug/simple-event.h' --- src/debug/simple-event.h 2008-11-25 15:51:35 +0000 +++ src/debug/simple-event.h 2012-02-16 12:59:31 +0000 @@ -15,8 +15,6 @@ #include #include #include // g_assert() -#include -#include #include "gc-alloc.h" #include "debug/event.h" === modified file 'src/debug/timestamp.cpp' --- src/debug/timestamp.cpp 2008-02-10 14:20:16 +0000 +++ src/debug/timestamp.cpp 2012-02-16 12:59:31 +0000 @@ -10,8 +10,7 @@ */ -#include -#include +#include #include #include "debug/simple-event.h" === modified file 'src/desktop-style.h' --- src/desktop-style.h 2011-02-20 12:07:30 +0000 +++ src/desktop-style.h 2012-02-16 12:59:31 +0000 @@ -13,7 +13,7 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include +#include class ColorRGBA; struct SPCSSAttr; === modified file 'src/dialogs/clonetiler.cpp' --- src/dialogs/clonetiler.cpp 2009-12-23 15:38:43 +0000 +++ src/dialogs/clonetiler.cpp 2012-02-16 12:59:31 +0000 @@ -12,7 +12,7 @@ #ifdef HAVE_CONFIG_H # include "config.h" #endif -#include +#include #include #include === modified file 'src/dialogs/xml-tree.cpp' --- src/dialogs/xml-tree.cpp 2009-12-23 15:38:43 +0000 +++ src/dialogs/xml-tree.cpp 2012-02-16 12:59:31 +0000 @@ -531,6 +531,7 @@ gtk_box_pack_start(GTK_BOX(toolbar), sw, TRUE, TRUE, 0); attr_value =(GtkTextView *) gtk_text_view_new(); + gtk_widget_set_size_request((GtkWidget *)attr_value, 0, 60); gtk_text_view_set_wrap_mode((GtkTextView *) attr_value, GTK_WRAP_CHAR); gtk_tooltips_set_tip( tooltips, GTK_WIDGET(attr_value), // TRANSLATORS: "Attribute" is a noun here === modified file 'src/dir-util.cpp' --- src/dir-util.cpp 2009-12-23 15:38:43 +0000 +++ src/dir-util.cpp 2012-02-16 12:59:31 +0000 @@ -7,11 +7,7 @@ #include #include #include -#include -#include -#include -#include -#include +#include /** Returns a form of \a path relative to \a base if that is easy to construct (e.g. if \a path appears to be in the directory specified by \a base), otherwise returns \a path. === modified file 'src/dir-util.h' --- src/dir-util.h 2009-12-23 15:38:43 +0000 +++ src/dir-util.h 2012-02-16 12:59:31 +0000 @@ -10,7 +10,7 @@ */ #include -#include +#include char const *sp_relative_path_from_path(char const *path, char const *base); char const *sp_extension_from_path(char const *path); === modified file 'src/display/canvas-arena.cpp' --- src/display/canvas-arena.cpp 2011-07-10 11:35:30 +0000 +++ src/display/canvas-arena.cpp 2012-02-16 12:59:31 +0000 @@ -158,7 +158,8 @@ if (arena->cursor) { /* Mess with enter/leave notifiers */ - NRArenaItem *new_arena = nr_arena_item_invoke_pick (arena->root, arena->c, arena->arena->delta, arena->sticky); + NRArenaItem *new_arena = nr_arena_item_invoke_pick (arena->root, arena->c, arena->arena->delta, + arena->sticky ? NR_ARENA_ITEM_PICK_STICKY : 0); if (new_arena != arena->active) { GdkEventCrossing ec; ec.window = GTK_WIDGET (item->canvas)->window; @@ -235,7 +236,8 @@ NR_ARENA_ITEM_STATE_BBOX | NR_ARENA_ITEM_STATE_PICK, NR_ARENA_ITEM_STATE_NONE); - NRArenaItem *picked = nr_arena_item_invoke_pick (arena->root, p, arena->arena->delta, arena->sticky); + NRArenaItem *picked = nr_arena_item_invoke_pick (arena->root, p, arena->arena->delta, + arena->sticky ? NR_ARENA_ITEM_PICK_STICKY : 0); arena->picked = picked; @@ -271,7 +273,8 @@ /* fixme: Not sure abut this, but seems the right thing (Lauris) */ nr_arena_item_invoke_update (arena->root, NULL, &arena->gc, NR_ARENA_ITEM_STATE_PICK, NR_ARENA_ITEM_STATE_NONE); - arena->active = nr_arena_item_invoke_pick (arena->root, arena->c, arena->arena->delta, arena->sticky); + arena->active = nr_arena_item_invoke_pick (arena->root, arena->c, arena->arena->delta, + arena->sticky ? NR_ARENA_ITEM_PICK_STICKY : 0); if (arena->active) nr_object_ref ((NRObject *) arena->active); ret = sp_canvas_arena_send_event (arena, event); } @@ -292,7 +295,8 @@ /* fixme: Not sure abut this, but seems the right thing (Lauris) */ nr_arena_item_invoke_update (arena->root, NULL, &arena->gc, NR_ARENA_ITEM_STATE_PICK, NR_ARENA_ITEM_STATE_NONE); - new_arena = nr_arena_item_invoke_pick (arena->root, arena->c, arena->arena->delta, arena->sticky); + new_arena = nr_arena_item_invoke_pick (arena->root, arena->c, arena->arena->delta, + arena->sticky ? NR_ARENA_ITEM_PICK_STICKY : 0); if (new_arena != arena->active) { GdkEventCrossing ec; ec.window = event->motion.window; === modified file 'src/display/canvas-axonomgrid.cpp' --- src/display/canvas-axonomgrid.cpp 2010-09-12 19:44:58 +0000 +++ src/display/canvas-axonomgrid.cpp 2012-02-16 12:59:31 +0000 @@ -265,6 +265,10 @@ *unit = &sp_unit_get_by_id(SP_UNIT_M); } else if (!strncmp(u, "in", 2)) { *unit = &sp_unit_get_by_id(SP_UNIT_IN); + } else if (!strncmp(u, "ft", 2)) { + *unit = &sp_unit_get_by_id(SP_UNIT_FT); + } else if (!strncmp(u, "pc", 2)) { + *unit = &sp_unit_get_by_id(SP_UNIT_PC); } else { return FALSE; } @@ -584,7 +588,7 @@ // x-axis always goes from topleft to bottomright. (0,0) - (1,1) gdouble const xintercept_y_bc = (buf_tl_gc[Geom::X] * tan_angle[X]) - buf_tl_gc[Geom::Y] ; gdouble const xstart_y_sc = ( xintercept_y_bc - floor(xintercept_y_bc/lyw)*lyw ) + buf->rect.y0; - gint const xlinestart = (gint) Inkscape::round( (xstart_y_sc - buf->rect.x0*tan_angle[X] -ow[Geom::Y]) / lyw ); + gint const xlinestart = (gint) Inkscape::round( (xstart_y_sc - buf_tl_gc[Geom::X]*tan_angle[X] -ow[Geom::Y]) / lyw ); gint xlinenum = xlinestart; // lines starting on left side. for (y = xstart_y_sc; y < buf->rect.y1; y += lyw, xlinenum++) { @@ -632,7 +636,7 @@ // z-axis always goes from bottomleft to topright. (0,1) - (1,0) gdouble const zintercept_y_bc = (buf_tl_gc[Geom::X] * -tan_angle[Z]) - buf_tl_gc[Geom::Y] ; gdouble const zstart_y_sc = ( zintercept_y_bc - floor(zintercept_y_bc/lyw)*lyw ) + buf->rect.y0; - gint const zlinestart = (gint) Inkscape::round( (zstart_y_sc + buf->rect.x0*tan_angle[Z] - ow[Geom::Y]) / lyw ); + gint const zlinestart = (gint) Inkscape::round( (zstart_y_sc + buf_tl_gc[Geom::X]*tan_angle[Z] - ow[Geom::Y]) / lyw ); gint zlinenum = zlinestart; // lines starting from left side for (y = zstart_y_sc; y < buf->rect.y1; y += lyw, zlinenum++) { === modified file 'src/display/canvas-bpath.h' --- src/display/canvas-bpath.h 2009-12-23 15:38:43 +0000 +++ src/display/canvas-bpath.h 2012-02-16 12:59:31 +0000 @@ -13,7 +13,7 @@ * */ -#include +#include #include === modified file 'src/display/canvas-grid.cpp' --- src/display/canvas-grid.cpp 2011-02-20 12:07:30 +0000 +++ src/display/canvas-grid.cpp 2012-02-16 12:59:31 +0000 @@ -1,7 +1,7 @@ /** @file * @brief Cartesian grid implementation */ -/* Copyright (C) Johan Engelen 2006-2007 +/* Copyright (C) Johan Engelen 2006-2011 * Copyright (C) Lauris Kaplinski 2000 */ @@ -20,6 +20,7 @@ #include "desktop-handles.h" #include "helper/units.h" #include "svg/svg-color.h" +#include "svg/stringstream.h" #include "xml/node-event-vector.h" #include "sp-object.h" @@ -375,6 +376,21 @@ return snapper->getEnabled(); } +void CanvasGrid::setOrigin(Geom::Point const &origin_px) +{ + Inkscape::SVGOStringStream os_x, os_y; + gdouble val; + + val = origin_px[Geom::X]; + val = sp_pixels_get_units (val, *gridunit); + os_x << val << sp_unit_get_abbreviation(gridunit); + val = origin_px[Geom::Y]; + val = sp_pixels_get_units (val, *gridunit); + os_y << val << sp_unit_get_abbreviation(gridunit); + repr->setAttribute("originx", os_x.str().c_str()); + repr->setAttribute("originy", os_y.str().c_str()); +} + // ########################################################## // CanvasXYGrid @@ -490,6 +506,10 @@ *unit = &sp_unit_get_by_id(SP_UNIT_M); } else if (!strncmp(u, "in", 2)) { *unit = &sp_unit_get_by_id(SP_UNIT_IN); + } else if (!strncmp(u, "ft", 2)) { + *unit = &sp_unit_get_by_id(SP_UNIT_FT); + } else if (!strncmp(u, "pc", 2)) { + *unit = &sp_unit_get_by_id(SP_UNIT_PC); } else { return FALSE; } === modified file 'src/display/canvas-grid.h' --- src/display/canvas-grid.h 2011-02-20 12:07:30 +0000 +++ src/display/canvas-grid.h 2012-02-16 12:59:31 +0000 @@ -86,6 +86,7 @@ Gtk::Widget * newWidget(); + void setOrigin(Geom::Point const &origin_px); /**< writes new origin (specified in px units) to SVG */ Geom::Point origin; /**< Origin of the grid */ guint32 color; /**< Color for normal lines */ guint32 empcolor; /**< Color for emphasis lines */ === modified file 'src/display/canvas-temporary-item.h' --- src/display/canvas-temporary-item.h 2011-07-10 11:35:30 +0000 +++ src/display/canvas-temporary-item.h 2012-02-16 12:59:31 +0000 @@ -16,6 +16,7 @@ #include #include +#include namespace Inkscape { namespace Display { === modified file 'src/display/curve.cpp' --- src/display/curve.cpp 2011-02-20 12:07:30 +0000 +++ src/display/curve.cpp 2012-02-16 12:59:31 +0000 @@ -19,7 +19,7 @@ #include "display/curve.h" -#include +#include #include <2geom/pathvector.h> #include <2geom/sbasis-geometric.h> #include <2geom/sbasis-to-bezier.h> === modified file 'src/display/curve.h' --- src/display/curve.h 2011-02-20 12:07:30 +0000 +++ src/display/curve.h 2012-02-16 12:59:31 +0000 @@ -15,8 +15,7 @@ * Released under GNU GPL */ -#include -#include +#include #include <2geom/forward.h> === modified file 'src/display/gnome-canvas-acetate.h' --- src/display/gnome-canvas-acetate.h 2008-11-25 15:51:35 +0000 +++ src/display/gnome-canvas-acetate.h 2012-02-16 12:59:31 +0000 @@ -15,7 +15,7 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include +#include #include "display/sp-canvas.h" === modified file 'src/display/nr-3dutils.cpp' --- src/display/nr-3dutils.cpp 2009-12-23 15:38:43 +0000 +++ src/display/nr-3dutils.cpp 2012-02-16 12:59:31 +0000 @@ -9,7 +9,7 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include +#include #include "libnr/nr-pixblock.h" #include "display/nr-3dutils.h" === modified file 'src/display/nr-arena-glyphs.cpp' --- src/display/nr-arena-glyphs.cpp 2011-07-10 11:35:30 +0000 +++ src/display/nr-arena-glyphs.cpp 2012-02-16 12:59:31 +0000 @@ -46,7 +46,7 @@ static guint nr_arena_glyphs_update(NRArenaItem *item, NRRectL *area, NRGC *gc, guint state, guint reset); static guint nr_arena_glyphs_clip(NRArenaItem *item, NRRectL *area, NRPixBlock *pb); -static NRArenaItem *nr_arena_glyphs_pick(NRArenaItem *item, Geom::Point p, double delta, unsigned int sticky); +static NRArenaItem *nr_arena_glyphs_pick(NRArenaItem *item, Geom::Point p, double delta, unsigned int flags); static NRArenaItemClass *glyphs_parent_class; @@ -235,7 +235,7 @@ } static NRArenaItem * -nr_arena_glyphs_pick(NRArenaItem *item, Geom::Point p, gdouble delta, unsigned int /*sticky*/) +nr_arena_glyphs_pick(NRArenaItem *item, Geom::Point p, gdouble delta, unsigned int /*flags*/) { NRArenaGlyphs *glyphs; @@ -321,7 +321,7 @@ static guint nr_arena_glyphs_group_update(NRArenaItem *item, NRRectL *area, NRGC *gc, guint state, guint reset); static unsigned int nr_arena_glyphs_group_render(cairo_t *ct, NRArenaItem *item, NRRectL *area, NRPixBlock *pb, unsigned int flags); static unsigned int nr_arena_glyphs_group_clip(NRArenaItem *item, NRRectL *area, NRPixBlock *pb); -static NRArenaItem *nr_arena_glyphs_group_pick(NRArenaItem *item, Geom::Point p, gdouble delta, unsigned int sticky); +static NRArenaItem *nr_arena_glyphs_group_pick(NRArenaItem *item, Geom::Point p, gdouble delta, unsigned int flags); static NRArenaGroupClass *group_parent_class; @@ -589,12 +589,12 @@ } static NRArenaItem * -nr_arena_glyphs_group_pick(NRArenaItem *item, Geom::Point p, gdouble delta, unsigned int sticky) +nr_arena_glyphs_group_pick(NRArenaItem *item, Geom::Point p, gdouble delta, unsigned int flags) { NRArenaItem *picked = NULL; if (((NRArenaItemClass *) group_parent_class)->pick) - picked = ((NRArenaItemClass *) group_parent_class)->pick(item, p, delta, sticky); + picked = ((NRArenaItemClass *) group_parent_class)->pick(item, p, delta, flags); if (picked) picked = item; === modified file 'src/display/nr-arena-group.cpp' --- src/display/nr-arena-group.cpp 2009-12-23 15:38:43 +0000 +++ src/display/nr-arena-group.cpp 2012-02-16 12:59:31 +0000 @@ -36,7 +36,7 @@ static unsigned int nr_arena_group_update (NRArenaItem *item, NRRectL *area, NRGC *gc, unsigned int state, unsigned int reset); static unsigned int nr_arena_group_render (cairo_t *ct, NRArenaItem *item, NRRectL *area, NRPixBlock *pb, unsigned int flags); static unsigned int nr_arena_group_clip (NRArenaItem *item, NRRectL *area, NRPixBlock *pb); -static NRArenaItem *nr_arena_group_pick (NRArenaItem *item, Geom::Point p, double delta, unsigned int sticky); +static NRArenaItem *nr_arena_group_pick (NRArenaItem *item, Geom::Point p, double delta, unsigned int flags); static NRArenaItemClass *parent_class; @@ -249,12 +249,12 @@ } static NRArenaItem * -nr_arena_group_pick (NRArenaItem *item, Geom::Point p, double delta, unsigned int sticky) +nr_arena_group_pick (NRArenaItem *item, Geom::Point p, double delta, unsigned int flags) { NRArenaGroup *group = NR_ARENA_GROUP (item); for (NRArenaItem *child = group->last; child != NULL; child = child->prev) { - NRArenaItem *picked = nr_arena_item_invoke_pick (child, p, delta, sticky); + NRArenaItem *picked = nr_arena_item_invoke_pick (child, p, delta, flags); if (picked) return (group->transparent) ? picked : item; } === modified file 'src/display/nr-arena-image.cpp' --- src/display/nr-arena-image.cpp 2011-02-20 12:07:30 +0000 +++ src/display/nr-arena-image.cpp 2012-02-16 12:59:31 +0000 @@ -41,7 +41,7 @@ static unsigned int nr_arena_image_update (NRArenaItem *item, NRRectL *area, NRGC *gc, unsigned int state, unsigned int reset); static unsigned int nr_arena_image_render (cairo_t *ct, NRArenaItem *item, NRRectL *area, NRPixBlock *pb, unsigned int flags); -static NRArenaItem *nr_arena_image_pick (NRArenaItem *item, Geom::Point p, double delta, unsigned int sticky); +static NRArenaItem *nr_arena_image_pick (NRArenaItem *item, Geom::Point p, double delta, unsigned int flags); static NRArenaItemClass *parent_class; @@ -278,7 +278,7 @@ } static NRArenaItem * -nr_arena_image_pick( NRArenaItem *item, Geom::Point p, double delta, unsigned int /*sticky*/ ) +nr_arena_image_pick( NRArenaItem *item, Geom::Point p, double delta, unsigned int /*flags*/ ) { NRArenaImage *image = NR_ARENA_IMAGE (item); === modified file 'src/display/nr-arena-item.cpp' --- src/display/nr-arena-item.cpp 2011-02-20 12:07:30 +0000 +++ src/display/nr-arena-item.cpp 2012-02-16 12:59:31 +0000 @@ -314,7 +314,7 @@ bool outline = (item->arena->rendermode == Inkscape::RENDERMODE_OUTLINE); bool filter = (item->arena->rendermode != Inkscape::RENDERMODE_OUTLINE && item->arena->rendermode != Inkscape::RENDERMODE_NO_FILTERS); - bool print_colors = (item->arena->rendermode == Inkscape::RENDERMODE_PRINT_COLORS_PREVIEW); + //bool print_colors = (item->arena->rendermode == Inkscape::RENDERMODE_PRINT_COLORS_PREVIEW); nr_return_val_if_fail (item != NULL, NR_ARENA_ITEM_STATE_INVALID); nr_return_val_if_fail (NR_IS_ARENA_ITEM (item), @@ -643,7 +643,7 @@ NRArenaItem * nr_arena_item_invoke_pick (NRArenaItem *item, Geom::Point p, double delta, - unsigned int sticky) + unsigned int flags) { nr_return_val_if_fail (item != NULL, NULL); nr_return_val_if_fail (NR_IS_ARENA_ITEM (item), NULL); @@ -653,9 +653,22 @@ || !(item->state & NR_ARENA_ITEM_STATE_PICK)) return NULL; - if (!sticky && !(item->visible && item->sensitive)) + if (!(flags & NR_ARENA_ITEM_PICK_STICKY) && !(item->visible && item->sensitive)) return NULL; + bool outline = (item->arena->rendermode == Inkscape::RENDERMODE_OUTLINE); + if (!outline) { + if (item->clip) { + NRArenaItem *cpick = nr_arena_item_invoke_pick(item->clip, p, delta, + flags | NR_ARENA_ITEM_PICK_AS_CLIP); + if (!cpick) return NULL; + } + if (item->mask) { + NRArenaItem *mpick = nr_arena_item_invoke_pick(item->mask, p, delta, flags); + if (!mpick) return NULL; + } + } + // TODO: rewrite using Geom::Rect const double x = p[Geom::X]; const double y = p[Geom::Y]; @@ -665,7 +678,7 @@ ((y + delta) >= item->bbox.y0) && ((y - delta) < item->bbox.y1)) { if (((NRArenaItemClass *) NR_OBJECT_GET_CLASS (item))->pick) return ((NRArenaItemClass *) NR_OBJECT_GET_CLASS (item))-> - pick (item, p, delta, sticky); + pick (item, p, delta, flags); } return NULL; === modified file 'src/display/nr-arena-item.h' --- src/display/nr-arena-item.h 2009-12-23 15:38:43 +0000 +++ src/display/nr-arena-item.h 2012-02-16 12:59:31 +0000 @@ -46,6 +46,9 @@ #define NR_ARENA_ITEM_STATE_NONE 0x0000 #define NR_ARENA_ITEM_STATE_ALL 0x01fe +#define NR_ARENA_ITEM_PICK_STICKY (1 << 1) +#define NR_ARENA_ITEM_PICK_AS_CLIP (1 << 2) + #define NR_ARENA_ITEM_STATE(i,s) (NR_ARENA_ITEM (i)->state & (s)) #define NR_ARENA_ITEM_SET_STATE(i,s) (NR_ARENA_ITEM (i)->state |= (s)) #define NR_ARENA_ITEM_UNSET_STATE(i,s) (NR_ARENA_ITEM (i)->state &= ~(s)) @@ -160,7 +163,7 @@ unsigned int nr_arena_item_invoke_render(cairo_t *ct, NRArenaItem *item, NRRectL const *area, NRPixBlock *pb, unsigned int flags); unsigned int nr_arena_item_invoke_clip (NRArenaItem *item, NRRectL *area, NRPixBlock *pb); -NRArenaItem *nr_arena_item_invoke_pick (NRArenaItem *item, Geom::Point p, double delta, unsigned int sticky); +NRArenaItem *nr_arena_item_invoke_pick (NRArenaItem *item, Geom::Point p, double delta, unsigned int flags); void nr_arena_item_request_update (NRArenaItem *item, unsigned int reset, unsigned int propagate); void nr_arena_item_request_render (NRArenaItem *item); === modified file 'src/display/nr-arena-shape.cpp' --- src/display/nr-arena-shape.cpp 2011-02-20 12:07:30 +0000 +++ src/display/nr-arena-shape.cpp 2012-02-16 12:59:31 +0000 @@ -56,7 +56,7 @@ static guint nr_arena_shape_update(NRArenaItem *item, NRRectL *area, NRGC *gc, guint state, guint reset); static unsigned int nr_arena_shape_render(cairo_t *ct, NRArenaItem *item, NRRectL *area, NRPixBlock *pb, unsigned int flags); static guint nr_arena_shape_clip(NRArenaItem *item, NRRectL *area, NRPixBlock *pb); -static NRArenaItem *nr_arena_shape_pick(NRArenaItem *item, Geom::Point p, double delta, unsigned int sticky); +static NRArenaItem *nr_arena_shape_pick(NRArenaItem *item, Geom::Point p, double delta, unsigned int flags); static NRArenaItemClass *shape_parent_class; @@ -1074,7 +1074,7 @@ } static NRArenaItem * -nr_arena_shape_pick(NRArenaItem *item, Geom::Point p, double delta, unsigned int /*sticky*/) +nr_arena_shape_pick(NRArenaItem *item, Geom::Point p, double delta, unsigned int flags) { NRArenaShape *shape = NR_ARENA_SHAPE(item); @@ -1088,6 +1088,7 @@ if (!shape->style) return NULL; bool outline = (NR_ARENA_ITEM(shape)->arena->rendermode == Inkscape::RENDERMODE_OUTLINE); + bool pick_as_clip = flags & NR_ARENA_ITEM_PICK_AS_CLIP; if (SP_SCALE24_TO_FLOAT(shape->style->opacity.value) == 0 && !outline) // fully transparent, no pick unless outline mode @@ -1097,7 +1098,9 @@ g_get_current_time (&tstart); double width; - if (outline) { + if (pick_as_clip) { + width = 0; + } else if (outline) { width = 0.5; } else if (shape->_stroke.paint.type() != NRArenaShape::Paint::NONE && shape->_stroke.opacity > 1e-3) { float const scale = shape->ctm.descrim(); @@ -1108,7 +1111,7 @@ double dist = NR_HUGE; int wind = 0; - bool needfill = (shape->_fill.paint.type() != NRArenaShape::Paint::NONE + bool needfill = pick_as_clip || (shape->_fill.paint.type() != NRArenaShape::Paint::NONE && shape->_fill.opacity > 1e-3 && !outline); if (item->arena->canvasarena) { @@ -1129,7 +1132,7 @@ // covered by fill? if (needfill) { - if (!shape->style->fill_rule.computed) { + if (!shape->style->fill_rule.computed || pick_as_clip) { if (wind != 0) { shape->last_pick = item; return item; @@ -1153,7 +1156,8 @@ // if not picked on the shape itself, try its markers for (NRArenaItem *child = shape->markers; child != NULL; child = child->next) { - NRArenaItem *ret = nr_arena_item_invoke_pick(child, p, delta, 0); + NRArenaItem *ret = nr_arena_item_invoke_pick(child, p, delta, + flags & ~NR_ARENA_ITEM_PICK_STICKY); if (ret) { shape->last_pick = item; return item; === modified file 'src/display/nr-arena.h' --- src/display/nr-arena.h 2011-07-10 11:35:30 +0000 +++ src/display/nr-arena.h 2012-02-16 12:59:31 +0000 @@ -13,7 +13,7 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include +#include #include "display/rendermode.h" === modified file 'src/display/nr-filter-diffuselighting.cpp' --- src/display/nr-filter-diffuselighting.cpp 2009-12-23 15:38:43 +0000 +++ src/display/nr-filter-diffuselighting.cpp 2012-02-16 12:59:31 +0000 @@ -10,7 +10,7 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include +#include #include "display/nr-3dutils.h" #include "display/nr-arena-item.h" === modified file 'src/display/nr-filter-gaussian.cpp' --- src/display/nr-filter-gaussian.cpp 2010-09-12 19:44:58 +0000 +++ src/display/nr-filter-gaussian.cpp 2012-02-16 12:59:31 +0000 @@ -709,21 +709,21 @@ } else if ( scr_len_x > 0 ) { // !use_IIR_x // Filter kernel for x direction FIRValue kernel[scr_len_x+1]; - _make_kernel(kernel, deviation_x); + _make_kernel(&kernel[0], deviation_x); // Filter (x) switch(in->mode) { case NR_PIXBLOCK_MODE_A8: ///< Grayscale - filter2D_FIR(NR_PIXBLOCK_PX(out), 1, out->rs, NR_PIXBLOCK_PX(ssin), 1, ssin->rs, width, height, kernel, scr_len_x, NTHREADS); + filter2D_FIR(NR_PIXBLOCK_PX(out), 1, out->rs, NR_PIXBLOCK_PX(ssin), 1, ssin->rs, width, height, &kernel[0], scr_len_x, NTHREADS); break; case NR_PIXBLOCK_MODE_R8G8B8: ///< 8 bit RGB - filter2D_FIR(NR_PIXBLOCK_PX(out), 3, out->rs, NR_PIXBLOCK_PX(ssin), 3, ssin->rs, width, height, kernel, scr_len_x, NTHREADS); + filter2D_FIR(NR_PIXBLOCK_PX(out), 3, out->rs, NR_PIXBLOCK_PX(ssin), 3, ssin->rs, width, height, &kernel[0], scr_len_x, NTHREADS); break; //case NR_PIXBLOCK_MODE_R8G8B8A8N: ///< Normal 8 bit RGBA - // filter2D_FIR(NR_PIXBLOCK_PX(out), 4, out->rs, NR_PIXBLOCK_PX(ssin), 4, ssin->rs, width, height, kernel, scr_len_x, NTHREADS); + // filter2D_FIR(NR_PIXBLOCK_PX(out), 4, out->rs, NR_PIXBLOCK_PX(ssin), 4, ssin->rs, width, height, &kernel[0], scr_len_x, NTHREADS); // break; case NR_PIXBLOCK_MODE_R8G8B8A8P: ///< Premultiplied 8 bit RGBA - filter2D_FIR(NR_PIXBLOCK_PX(out), 4, out->rs, NR_PIXBLOCK_PX(ssin), 4, ssin->rs, width, height, kernel, scr_len_x, NTHREADS); + filter2D_FIR(NR_PIXBLOCK_PX(out), 4, out->rs, NR_PIXBLOCK_PX(ssin), 4, ssin->rs, width, height, &kernel[0], scr_len_x, NTHREADS); break; default: assert(false); @@ -771,21 +771,21 @@ } else if ( scr_len_y > 0 ) { // !use_IIR_y // Filter kernel for y direction FIRValue kernel[scr_len_y+1]; - _make_kernel(kernel, deviation_y); + _make_kernel(&kernel[0], deviation_y); // Filter (y) switch(in->mode) { case NR_PIXBLOCK_MODE_A8: ///< Grayscale - filter2D_FIR(NR_PIXBLOCK_PX(out), out->rs, 1, NR_PIXBLOCK_PX(out), out->rs, 1, height, width, kernel, scr_len_y, NTHREADS); + filter2D_FIR(NR_PIXBLOCK_PX(out), out->rs, 1, NR_PIXBLOCK_PX(out), out->rs, 1, height, width, &kernel[0], scr_len_y, NTHREADS); break; case NR_PIXBLOCK_MODE_R8G8B8: ///< 8 bit RGB - filter2D_FIR(NR_PIXBLOCK_PX(out), out->rs, 3, NR_PIXBLOCK_PX(out), out->rs, 3, height, width, kernel, scr_len_y, NTHREADS); + filter2D_FIR(NR_PIXBLOCK_PX(out), out->rs, 3, NR_PIXBLOCK_PX(out), out->rs, 3, height, width, &kernel[0], scr_len_y, NTHREADS); break; //case NR_PIXBLOCK_MODE_R8G8B8A8N: ///< Normal 8 bit RGBA - // filter2D_FIR(NR_PIXBLOCK_PX(out), out->rs, 4, NR_PIXBLOCK_PX(out), out->rs, 4, height, width, kernel, scr_len_y, NTHREADS); + // filter2D_FIR(NR_PIXBLOCK_PX(out), out->rs, 4, NR_PIXBLOCK_PX(out), out->rs, 4, height, width, &kernel[0], scr_len_y, NTHREADS); // break; case NR_PIXBLOCK_MODE_R8G8B8A8P: ///< Premultiplied 8 bit RGBA - filter2D_FIR(NR_PIXBLOCK_PX(out), out->rs, 4, NR_PIXBLOCK_PX(out), out->rs, 4, height, width, kernel, scr_len_y, NTHREADS); + filter2D_FIR(NR_PIXBLOCK_PX(out), out->rs, 4, NR_PIXBLOCK_PX(out), out->rs, 4, height, width, &kernel[0], scr_len_y, NTHREADS); break; default: assert(false); === modified file 'src/display/nr-filter-specularlighting.cpp' --- src/display/nr-filter-specularlighting.cpp 2009-12-23 15:38:43 +0000 +++ src/display/nr-filter-specularlighting.cpp 2012-02-16 12:59:31 +0000 @@ -10,7 +10,7 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include +#include #include #include "display/nr-3dutils.h" === modified file 'src/display/nr-plain-stuff.cpp' --- src/display/nr-plain-stuff.cpp 2008-11-25 15:51:35 +0000 +++ src/display/nr-plain-stuff.cpp 2012-02-16 12:59:31 +0000 @@ -11,7 +11,7 @@ * Released under GNU GPL */ -#include +#include #include #include "nr-plain-stuff.h" === modified file 'src/display/nr-plain-stuff.h' --- src/display/nr-plain-stuff.h 2008-11-25 15:51:35 +0000 +++ src/display/nr-plain-stuff.h 2012-02-16 12:59:31 +0000 @@ -12,7 +12,7 @@ * Released under GNU GPL */ -#include +#include void nr_render_checkerboard_rgb (guchar *px, gint w, gint h, gint rs, gint xoff, gint yoff); void nr_render_checkerboard_rgb_custom (guchar *px, gint w, gint h, gint rs, gint xoff, gint yoff, guint32 c0, guint32 c1, gint sizep2); === modified file 'src/display/sodipodi-ctrlrect.h' --- src/display/sodipodi-ctrlrect.h 2009-12-23 15:38:43 +0000 +++ src/display/sodipodi-ctrlrect.h 2012-02-16 12:59:31 +0000 @@ -16,7 +16,7 @@ * */ -#include +#include #include "sp-canvas.h" #define SP_TYPE_CTRLRECT (sp_ctrlrect_get_type ()) === modified file 'src/display/sp-canvas.cpp' --- src/display/sp-canvas.cpp 2011-07-10 11:35:30 +0000 +++ src/display/sp-canvas.cpp 2012-02-16 12:59:31 +0000 @@ -1,6 +1,4 @@ -#define __SP_CANVAS_C__ - -/** \file +/* * Port of GnomeCanvas for Inkscape needs * * Authors: @@ -9,6 +7,7 @@ * Lauris Kaplinski * fred * bbyak + * Jon A. Cruz * * Copyright (C) 1998 The Free Software Foundation * Copyright (C) 2002-2006 authors @@ -35,9 +34,7 @@ #include "preferences.h" #include "inkscape.h" #include "sodipodi-ctrlrect.h" -#if ENABLE_LCMS -#include "color-profile-fns.h" -#endif // ENABLE_LCMS +#include "cms-system.h" #include "display/rendermode.h" #include "libnr/nr-blit.h" #include "display/inkscape-cairo.h" @@ -1046,10 +1043,10 @@ canvas->forced_redraw_count = 0; canvas->forced_redraw_limit = -1; -#if ENABLE_LCMS +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) canvas->enable_cms_display_adj = false; canvas->cms_key = new Glib::ustring(""); -#endif // ENABLE_LCMS +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) canvas->is_scrolling = false; } @@ -1659,23 +1656,23 @@ SP_CANVAS_ITEM_GET_CLASS (canvas->root)->render (canvas->root, &buf); } -#if ENABLE_LCMS +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) cmsHTRANSFORM transf = 0; Inkscape::Preferences *prefs = Inkscape::Preferences::get(); bool fromDisplay = prefs->getBool( "/options/displayprofile/from_display"); if ( fromDisplay ) { - transf = Inkscape::colorprofile_get_display_per( canvas->cms_key ? *(canvas->cms_key) : "" ); + transf = Inkscape::CMSSystem::getDisplayPer( *(canvas->cms_key) ); } else { - transf = Inkscape::colorprofile_get_display_transform(); + transf = Inkscape::CMSSystem::getDisplayTransform(); } -#endif // ENABLE_LCMS +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) if (buf.is_empty) { -#if ENABLE_LCMS +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) if ( transf && canvas->enable_cms_display_adj ) { - cmsDoTransform( transf, &buf.bg_color, &buf.bg_color, 1 ); + Inkscape::CMSSystem::doTransform(transf, &buf.bg_color, &buf.bg_color, 1); } -#endif // ENABLE_LCMS +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) gdk_rgb_gc_set_foreground (canvas->pixmap_gc, buf.bg_color); gdk_draw_rectangle (SP_CANVAS_WINDOW (canvas), canvas->pixmap_gc, @@ -1684,14 +1681,14 @@ x1 - x0, y1 - y0); } else { -#if ENABLE_LCMS +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) if ( transf && canvas->enable_cms_display_adj ) { for ( gint yy = 0; yy < (y1 - y0); yy++ ) { guchar* p = buf.buf + (buf.buf_rowstride * yy); - cmsDoTransform( transf, p, p, (x1 - x0) ); + Inkscape::CMSSystem::doTransform( transf, p, p, (x1 - x0) ); } } -#endif // ENABLE_LCMS +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) // Now we only need to output the prepared pixmap to the actual screen, and this define chooses one // of the two ways to do it. The cairo way is direct and straightforward, but unfortunately === modified file 'src/display/sp-canvas.h' --- src/display/sp-canvas.h 2011-07-10 11:35:30 +0000 +++ src/display/sp-canvas.h 2012-02-16 12:59:31 +0000 @@ -1,13 +1,16 @@ #ifndef SEEN_SP_CANVAS_H #define SEEN_SP_CANVAS_H -/** \file +/** + * @file * SPCanvas, SPCanvasBuf, and SPCanvasItem. - * + */ +/* * Authors: * Federico Mena * Raph Levien * Lauris Kaplinski + * Jon A. Cruz * * Copyright (C) 1998 The Free Software Foundation * Copyright (C) 2002 Lauris Kaplinski @@ -27,7 +30,7 @@ # endif #endif -#include +#include #include #include @@ -183,10 +186,10 @@ int rendermode; -#if ENABLE_LCMS +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) bool enable_cms_display_adj; Glib::ustring* cms_key; -#endif // ENABLE_LCMS +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) bool is_scrolling; === modified file 'src/document-subset.cpp' --- src/document-subset.cpp 2010-09-12 19:44:58 +0000 +++ src/document-subset.cpp 2012-02-16 12:59:31 +0000 @@ -12,7 +12,7 @@ #include "document.h" #include "sp-object.h" -#include +#include #include #include === modified file 'src/document.cpp' --- src/document.cpp 2011-07-10 11:35:30 +0000 +++ src/document.cpp 2012-02-16 12:59:31 +0000 @@ -710,6 +710,7 @@ if(nv) { Geom::Translate tr2(-rect_with_margins.min()); nv->translateGuides(tr2); + nv->translateGrids(tr2); // update the viewport so the drawing appears to stay where it was nv->scrollAllDesktops(-tr2[0], tr2[1], false); @@ -1168,7 +1169,7 @@ SPItem *item = SP_ITEM(o); NRArenaItem *arenaitem = sp_item_get_arenaitem(item, dkey); - if (arenaitem && nr_arena_item_invoke_pick(arenaitem, p, delta, 1) != NULL + if (arenaitem && nr_arena_item_invoke_pick(arenaitem, p, delta, NR_ARENA_ITEM_PICK_STICKY) != NULL && (take_insensitive || item->isVisibleAndUnlocked(dkey))) { if (g_slist_find((GSList *) list, item) != NULL) return item; @@ -1221,7 +1222,7 @@ NRArenaItem *arenaitem = sp_item_get_arenaitem(child, dkey); // seen remembers the last (topmost) of items pickable at this point - if (arenaitem && nr_arena_item_invoke_pick(arenaitem, p, delta, 1) != NULL + if (arenaitem && nr_arena_item_invoke_pick(arenaitem, p, delta, NR_ARENA_ITEM_PICK_STICKY) != NULL && (take_insensitive || child->isVisibleAndUnlocked(dkey))) { seen = child; } @@ -1254,7 +1255,7 @@ NRArenaItem *arenaitem = sp_item_get_arenaitem(child, dkey); // seen remembers the last (topmost) of groups pickable at this point - if (arenaitem && nr_arena_item_invoke_pick(arenaitem, p, delta, 1) != NULL) { + if (arenaitem && nr_arena_item_invoke_pick(arenaitem, p, delta, NR_ARENA_ITEM_PICK_STICKY) != NULL) { seen = child; } } === modified file 'src/draw-anchor.h' --- src/draw-anchor.h 2009-12-23 15:38:43 +0000 +++ src/draw-anchor.h 2012-02-16 12:59:31 +0000 @@ -5,7 +5,7 @@ * Drawing anchors. */ -#include +#include #include <2geom/point.h> struct SPDrawContext; === modified file 'src/dyna-draw-context.cpp' --- src/dyna-draw-context.cpp 2009-12-23 15:38:43 +0000 +++ src/dyna-draw-context.cpp 2012-02-16 12:59:31 +0000 @@ -38,7 +38,7 @@ #include <2geom/pathvector.h> #include <2geom/bezier-utils.h> #include "display/curve.h" -#include +#include #include "macros.h" #include "document.h" #include "selection.h" === modified file 'src/eraser-context.cpp' --- src/eraser-context.cpp 2011-02-01 12:53:34 +0000 +++ src/eraser-context.cpp 2012-02-16 12:59:31 +0000 @@ -36,7 +36,7 @@ #include "display/canvas-bpath.h" #include <2geom/bezier-utils.h> -#include +#include #include "macros.h" #include "document.h" #include "selection.h" === modified file 'src/event-context.cpp' --- src/event-context.cpp 2011-07-10 11:35:30 +0000 +++ src/event-context.cpp 2012-02-16 12:59:31 +0000 @@ -1292,7 +1292,7 @@ case DelayedSnapEvent::CONTROL_POINT_HANDLER: { using Inkscape::UI::ControlPoint; ControlPoint *point = reinterpret_cast (dse->getItem2()); - point->_eventHandler(dse->getEvent()); + point->_eventHandler(ec, dse->getEvent()); } break; case DelayedSnapEvent::GUIDE_HANDLER: { === modified file 'src/extension/implementation/script.cpp' --- src/extension/implementation/script.cpp 2011-02-20 12:07:30 +0000 +++ src/extension/implementation/script.cpp 2012-02-16 12:59:31 +0000 @@ -44,7 +44,7 @@ #include "xml/attribute-record.h" #include "util/glib-list-iterators.h" - +#include "path-prefix.h" #ifdef WIN32 @@ -188,7 +188,6 @@ } Glib::ustring reldir = s; - for (unsigned int i=0; i < Inkscape::Extension::Extension::search_path.size(); i++) { @@ -199,7 +198,7 @@ NULL); Glib::ustring filename = fname; g_free(fname); - + //printf("Filename: %s\n", filename.c_str()); if ( Inkscape::IO::file_test(filename.c_str(), G_FILE_TEST_EXISTS) ) { return Glib::filename_from_utf8(filename); } @@ -228,14 +227,13 @@ */ bool Script::check_existence(const std::string &command) { - // Check the simple case first if (command.empty()) { return false; } //Don't search when it is an absolute path. */ - if (!Glib::path_is_absolute(command)) { + if (Glib::path_is_absolute(command)) { if (Glib::file_test(command, Glib::FILE_TEST_EXISTS)) { return true; } else { @@ -243,12 +241,11 @@ } } - std::string path = Glib::getenv("PATH"); - if (path.empty()) { - /* There is no `PATH' in the environment. - The default search path is the current directory */ - path = G_SEARCHPATH_SEPARATOR_S; - } + // First search in the current directory + std::string path = G_SEARCHPATH_SEPARATOR_S; + path.append(";"); + // And then in the PATH environment variable. + path.append(Glib::getenv("PATH")); std::string::size_type pos = 0; std::string::size_type pos2 = 0; @@ -378,8 +375,11 @@ if (!command_text.empty()) { /* I've got the command */ bool existance = check_existence(command_text); - if (!existance) + if (!existance) { return false; + } + } else { + return false; } } @@ -725,8 +725,25 @@ doc->doc()->emitReconstructionStart(); copy_doc(doc->doc()->rroot, mydoc->rroot); doc->doc()->emitReconstructionFinish(); + SPObject *layer = NULL; + SPObject *obj = mydoc->getObjectById("base"); + // Getting the named view from the document generated by the extension + SPNamedView *nv = (SPNamedView *) obj; + + //Check if it has a default layer set up + if ( nv->default_layer_id != 0 ) { + SPDocument *document = desktop->doc(); + //If so, get that layer + layer = document->getObjectById(g_quark_to_string(nv->default_layer_id)); + } + + sp_namedview_update_layers_from_document(desktop); + //If that layer exists, + if (layer) { + //set the current layer + desktop->setCurrentLayer(layer); + } mydoc->release(); - sp_namedview_update_layers_from_document(desktop); } return; @@ -848,6 +865,7 @@ scrollwindow->set_policy(Gtk::POLICY_AUTOMATIC, Gtk::POLICY_AUTOMATIC); scrollwindow->set_shadow_type(Gtk::SHADOW_IN); scrollwindow->show(); + scrollwindow->set_size_request(0, 60); vbox->pack_start(*scrollwindow, true, true, 5 /* fix these */); === modified file 'src/extension/internal/cairo-render-context.cpp' --- src/extension/internal/cairo-render-context.cpp 2011-07-10 11:35:30 +0000 +++ src/extension/internal/cairo-render-context.cpp 2012-02-16 12:59:31 +0000 @@ -29,7 +29,7 @@ #include #include <2geom/pathvector.h> -#include +#include #include #include "display/nr-arena.h" === modified file 'src/extension/internal/cairo-renderer.cpp' --- src/extension/internal/cairo-renderer.cpp 2011-07-10 11:35:30 +0000 +++ src/extension/internal/cairo-renderer.cpp 2012-02-16 12:59:31 +0000 @@ -33,7 +33,7 @@ #include <2geom/transforms.h> #include <2geom/pathvector.h> -#include +#include #include #include "display/nr-arena.h" === modified file 'src/extension/internal/emf-win32-inout.cpp' --- src/extension/internal/emf-win32-inout.cpp 2011-07-10 11:35:30 +0000 +++ src/extension/internal/emf-win32-inout.cpp 2012-02-16 12:59:31 +0000 @@ -2490,7 +2490,7 @@ // std::cout << "SVG Output: " << std::endl << *(d.outsvg) << std::endl; - SPDocument *doc = sp_document_new_from_mem(d.outsvg->c_str(), d.outsvg->length(), TRUE); + SPDocument *doc = sp_document_new_from_mem(d.outsvg->c_str(), strlen(d.outsvg->c_str()), TRUE); delete d.outsvg; delete d.path; === modified file 'src/extension/internal/emf-win32-print.cpp' --- src/extension/internal/emf-win32-print.cpp 2011-07-10 11:35:30 +0000 +++ src/extension/internal/emf-win32-print.cpp 2012-02-16 12:59:31 +0000 @@ -677,24 +677,24 @@ if (moves == 1 && moves+lines == nodes && closed) { polygon = true; - if (nodes==5) { - if (lpPoints[0].x == lpPoints[3].x && lpPoints[1].x == lpPoints[2].x && - lpPoints[0].y == lpPoints[1].y && lpPoints[2].y == lpPoints[3].y) - { - rectangle = true; - } - } +// if (nodes==5) { // disable due to LP Bug 407394 +// if (lpPoints[0].x == lpPoints[3].x && lpPoints[1].x == lpPoints[2].x && +// lpPoints[0].y == lpPoints[1].y && lpPoints[2].y == lpPoints[3].y) +// { +// rectangle = true; +// } +// } } else if (moves == 1 && nodes == 5 && moves+curves == nodes && closed) { - if (lpPoints[0].x == lpPoints[1].x && lpPoints[1].x == lpPoints[11].x && - lpPoints[5].x == lpPoints[6].x && lpPoints[6].x == lpPoints[7].x && - lpPoints[2].x == lpPoints[10].x && lpPoints[3].x == lpPoints[9].x && lpPoints[4].x == lpPoints[8].x && - lpPoints[2].y == lpPoints[3].y && lpPoints[3].y == lpPoints[4].y && - lpPoints[8].y == lpPoints[9].y && lpPoints[9].y == lpPoints[10].y && - lpPoints[5].y == lpPoints[1].y && lpPoints[6].y == lpPoints[0].y && lpPoints[7].y == lpPoints[11].y) - { - ellipse = true; - } +// if (lpPoints[0].x == lpPoints[1].x && lpPoints[1].x == lpPoints[11].x && +// lpPoints[5].x == lpPoints[6].x && lpPoints[6].x == lpPoints[7].x && +// lpPoints[2].x == lpPoints[10].x && lpPoints[3].x == lpPoints[9].x && lpPoints[4].x == lpPoints[8].x && +// lpPoints[2].y == lpPoints[3].y && lpPoints[3].y == lpPoints[4].y && +// lpPoints[8].y == lpPoints[9].y && lpPoints[9].y == lpPoints[10].y && +// lpPoints[5].y == lpPoints[1].y && lpPoints[6].y == lpPoints[0].y && lpPoints[7].y == lpPoints[11].y) +// { // disable due to LP Bug 407394 +// ellipse = true; +// } } if (polygon || ellipse) { @@ -859,6 +859,8 @@ if (!hdc) return 0; HFONT hfont = NULL; + Geom::Matrix tf = m_tr_stack.top(); + double rot = 1800.0*std::atan2(tf[1], tf[0])/M_PI; // 0.1 degree rotation #ifdef USE_PANGO_WIN32 /* @@ -873,76 +875,40 @@ #endif if (!hfont) { - if (PrintWin32::is_os_wide()) { - LOGFONTW *lf = (LOGFONTW*)g_malloc(sizeof(LOGFONTW)); - g_assert(lf != NULL); - - lf->lfHeight = style->font_size.computed * IN_PER_PX * dwDPI; - lf->lfWidth = 0; - lf->lfEscapement = 0; - lf->lfOrientation = 0; - lf->lfWeight = - style->font_weight.computed == SP_CSS_FONT_WEIGHT_100 ? FW_THIN : - style->font_weight.computed == SP_CSS_FONT_WEIGHT_200 ? FW_EXTRALIGHT : - style->font_weight.computed == SP_CSS_FONT_WEIGHT_300 ? FW_LIGHT : - style->font_weight.computed == SP_CSS_FONT_WEIGHT_400 ? FW_NORMAL : - style->font_weight.computed == SP_CSS_FONT_WEIGHT_500 ? FW_MEDIUM : - style->font_weight.computed == SP_CSS_FONT_WEIGHT_600 ? FW_SEMIBOLD : - style->font_weight.computed == SP_CSS_FONT_WEIGHT_700 ? FW_BOLD : - style->font_weight.computed == SP_CSS_FONT_WEIGHT_800 ? FW_EXTRABOLD : - style->font_weight.computed == SP_CSS_FONT_WEIGHT_900 ? FW_HEAVY : - FW_NORMAL; - lf->lfItalic = (style->font_style.computed == SP_CSS_FONT_STYLE_ITALIC); - lf->lfUnderline = style->text_decoration.underline; - lf->lfStrikeOut = style->text_decoration.line_through; - lf->lfCharSet = DEFAULT_CHARSET; - lf->lfOutPrecision = OUT_DEFAULT_PRECIS; - lf->lfClipPrecision = CLIP_DEFAULT_PRECIS; - lf->lfQuality = DEFAULT_QUALITY; - lf->lfPitchAndFamily = DEFAULT_PITCH | FF_DONTCARE; - - gunichar2 *unicode_name = g_utf8_to_utf16( style->text->font_family.value, -1, NULL, NULL, NULL ); - wcsncpy(lf->lfFaceName, (wchar_t*) unicode_name, LF_FACESIZE-1); - g_free(unicode_name); - - hfont = CreateFontIndirectW(lf); - - g_free(lf); - } - else { - LOGFONTA *lf = (LOGFONTA*)g_malloc(sizeof(LOGFONTA)); - g_assert(lf != NULL); - - lf->lfHeight = style->font_size.computed * IN_PER_PX * dwDPI; - lf->lfWidth = 0; - lf->lfEscapement = 0; - lf->lfOrientation = 0; - lf->lfWeight = - style->font_weight.computed == SP_CSS_FONT_WEIGHT_100 ? FW_THIN : - style->font_weight.computed == SP_CSS_FONT_WEIGHT_200 ? FW_EXTRALIGHT : - style->font_weight.computed == SP_CSS_FONT_WEIGHT_300 ? FW_LIGHT : - style->font_weight.computed == SP_CSS_FONT_WEIGHT_400 ? FW_NORMAL : - style->font_weight.computed == SP_CSS_FONT_WEIGHT_500 ? FW_MEDIUM : - style->font_weight.computed == SP_CSS_FONT_WEIGHT_600 ? FW_SEMIBOLD : - style->font_weight.computed == SP_CSS_FONT_WEIGHT_700 ? FW_BOLD : - style->font_weight.computed == SP_CSS_FONT_WEIGHT_800 ? FW_EXTRABOLD : - style->font_weight.computed == SP_CSS_FONT_WEIGHT_900 ? FW_HEAVY : - FW_NORMAL; - lf->lfItalic = (style->font_style.computed == SP_CSS_FONT_STYLE_ITALIC); - lf->lfUnderline = style->text_decoration.underline; - lf->lfStrikeOut = style->text_decoration.line_through; - lf->lfCharSet = DEFAULT_CHARSET; - lf->lfOutPrecision = OUT_DEFAULT_PRECIS; - lf->lfClipPrecision = CLIP_DEFAULT_PRECIS; - lf->lfQuality = DEFAULT_QUALITY; - lf->lfPitchAndFamily = DEFAULT_PITCH | FF_DONTCARE; - - strncpy(lf->lfFaceName, (char*) style->text->font_family.value, LF_FACESIZE-1); - - hfont = CreateFontIndirectA(lf); - - g_free(lf); - } + LOGFONTW *lf = (LOGFONTW*)g_malloc(sizeof(LOGFONTW)); + g_assert(lf != NULL); + + lf->lfHeight = -style->font_size.computed * IN_PER_PX * dwDPI; + lf->lfWidth = 0; + lf->lfEscapement = rot; + lf->lfOrientation = rot; + lf->lfWeight = + style->font_weight.computed == SP_CSS_FONT_WEIGHT_100 ? FW_THIN : + style->font_weight.computed == SP_CSS_FONT_WEIGHT_200 ? FW_EXTRALIGHT : + style->font_weight.computed == SP_CSS_FONT_WEIGHT_300 ? FW_LIGHT : + style->font_weight.computed == SP_CSS_FONT_WEIGHT_400 ? FW_NORMAL : + style->font_weight.computed == SP_CSS_FONT_WEIGHT_500 ? FW_MEDIUM : + style->font_weight.computed == SP_CSS_FONT_WEIGHT_600 ? FW_SEMIBOLD : + style->font_weight.computed == SP_CSS_FONT_WEIGHT_700 ? FW_BOLD : + style->font_weight.computed == SP_CSS_FONT_WEIGHT_800 ? FW_EXTRABOLD : + style->font_weight.computed == SP_CSS_FONT_WEIGHT_900 ? FW_HEAVY : + FW_NORMAL; + lf->lfItalic = (style->font_style.computed == SP_CSS_FONT_STYLE_ITALIC); + lf->lfUnderline = style->text_decoration.underline; + lf->lfStrikeOut = style->text_decoration.line_through; + lf->lfCharSet = DEFAULT_CHARSET; + lf->lfOutPrecision = OUT_DEFAULT_PRECIS; + lf->lfClipPrecision = CLIP_DEFAULT_PRECIS; + lf->lfQuality = DEFAULT_QUALITY; + lf->lfPitchAndFamily = DEFAULT_PITCH | FF_DONTCARE; + + gunichar2 *unicode_name = g_utf8_to_utf16( style->text->font_family.value, -1, NULL, NULL, NULL ); + wcsncpy(lf->lfFaceName, (wchar_t*) unicode_name, LF_FACESIZE-1); + g_free(unicode_name); + + hfont = CreateFontIndirectW(lf); + + g_free(lf); } HFONT hfontOld = (HFONT) SelectObject(hdc, hfont); @@ -960,8 +926,6 @@ // Transparent text background SetBkMode(hdc, TRANSPARENT); - Geom::Matrix tf = m_tr_stack.top(); - p = p * tf; p[Geom::X] = (p[Geom::X] * IN_PER_PX * dwDPI); p[Geom::Y] = (p[Geom::Y] * IN_PER_PX * dwDPI); @@ -969,13 +933,9 @@ LONG const xpos = (LONG) round(p[Geom::X]); LONG const ypos = (LONG) round(rc.bottom-p[Geom::Y]); - if (PrintWin32::is_os_wide()) { - gunichar2 *unicode_text = g_utf8_to_utf16( text, -1, NULL, NULL, NULL ); - TextOutW(hdc, xpos, ypos, (WCHAR*)unicode_text, wcslen((wchar_t*)unicode_text)); - } - else { - TextOutA(hdc, xpos, ypos, (CHAR*)text, strlen((char*)text)); - } + gunichar2 *unicode_text = g_utf8_to_utf16( text, -1, NULL, NULL, NULL ); + TextOutW(hdc, xpos, ypos, (WCHAR*)unicode_text, wcslen((wchar_t*)unicode_text)); + g_free(unicode_text); SelectObject(hdc, hfontOld); DeleteObject(hfont); === modified file 'src/extension/internal/filter/drop-shadow.h' --- src/extension/internal/filter/drop-shadow.h 2010-09-12 19:44:58 +0000 +++ src/extension/internal/filter/drop-shadow.h 2012-02-16 12:59:31 +0000 @@ -23,122 +23,126 @@ class DropShadow : public Inkscape::Extension::Internal::Filter::Filter { protected: - virtual gchar const * get_filter_text (Inkscape::Extension::Extension * ext); + virtual gchar const * get_filter_text (Inkscape::Extension::Extension * ext); public: - DropShadow ( ) : Filter() { }; - virtual ~DropShadow ( ) { if (_filter != NULL) g_free((void *)_filter); return; } + DropShadow ( ) : Filter() { }; + virtual ~DropShadow ( ) { if (_filter != NULL) g_free((void *)_filter); return; } - static void init (void) { - Inkscape::Extension::build_from_mem( - "\n" - "" N_("Drop Shadow") "\n" - "org.inkscape.effect.filter.drop-shadow\n" - "2.0\n" - "50\n" - "4.0\n" - "4.0\n" - "\n" - "all\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "" N_("Black, blurred drop shadow") "\n" - "\n" - "\n", new DropShadow()); - }; + static void init (void) { + Inkscape::Extension::build_from_mem( + "\n" + "" N_("Drop Shadow") "\n" + "org.inkscape.effect.filter.drop-shadow\n" + "2.0\n" + "50\n" + "4.0\n" + "4.0\n" + "\n" + "all\n" + "\n" + "\n" + "\n" + "\n" + "\n" + "" N_("Black, blurred drop shadow") "\n" + "\n" + "\n", new DropShadow()); + }; }; gchar const * DropShadow::get_filter_text (Inkscape::Extension::Extension * ext) { - if (_filter != NULL) g_free((void *)_filter); - - std::ostringstream blur; - std::ostringstream opacity; - std::ostringstream x; - std::ostringstream y; - - blur << ext->get_param_float("blur"); - opacity << ext->get_param_float("opacity") / 100; - x << ext->get_param_float("xoffset"); - y << ext->get_param_float("yoffset"); - - _filter = g_strdup_printf( - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n", blur.str().c_str(), opacity.str().c_str(), x.str().c_str(), y.str().c_str()); - - return _filter; + if (_filter != NULL) g_free((void *)_filter); + + std::ostringstream blur; + std::ostringstream opacity; + std::ostringstream x; + std::ostringstream y; + + opacity << ext->get_param_float("opacity") / 100; + x << ext->get_param_float("xoffset"); + y << ext->get_param_float("yoffset"); + + if (ext->get_param_float("blur") > 0) { + blur << "get_param_float("blur") << "\" result=\"blur\" />\n"; + } else { + blur << ""; + } + + _filter = g_strdup_printf( + "\n" + "\n" + "\n" + "%s" + "\n" + "\n" + "\n", opacity.str().c_str(), blur.str().c_str(), x.str().c_str(), y.str().c_str()); + return _filter; }; class DropGlow : public Inkscape::Extension::Internal::Filter::Filter { protected: - virtual gchar const * get_filter_text (Inkscape::Extension::Extension * ext); + virtual gchar const * get_filter_text (Inkscape::Extension::Extension * ext); public: - DropGlow ( ) : Filter() { }; - virtual ~DropGlow ( ) { if (_filter != NULL) g_free((void *)_filter); return; } + DropGlow ( ) : Filter() { }; + virtual ~DropGlow ( ) { if (_filter != NULL) g_free((void *)_filter); return; } - static void init (void) { - Inkscape::Extension::build_from_mem( - "\n" - "" N_("Drop Glow") "\n" - "org.inkscape.effect.filter.drop-glow\n" - "2.0\n" - "50\n" - "4.0\n" - "4.0\n" - "\n" - "all\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "" N_("White, blurred drop glow") "\n" - "\n" - "\n", new DropGlow()); - }; + static void init (void) { + Inkscape::Extension::build_from_mem( + "\n" + "" N_("Drop Glow") "\n" + "org.inkscape.effect.filter.drop-glow\n" + "2.0\n" + "50\n" + "4.0\n" + "4.0\n" + "\n" + "all\n" + "\n" + "\n" + "\n" + "\n" + "\n" + "" N_("White, blurred drop glow") "\n" + "\n" + "\n", new DropGlow()); + }; }; gchar const * DropGlow::get_filter_text (Inkscape::Extension::Extension * ext) { - if (_filter != NULL) g_free((void *)_filter); - - std::ostringstream blur; - std::ostringstream opacity; - std::ostringstream x; - std::ostringstream y; - - blur << ext->get_param_float("blur"); - opacity << ext->get_param_float("opacity") / 100; - x << ext->get_param_float("xoffset"); - y << ext->get_param_float("yoffset"); - - _filter = g_strdup_printf( - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n", blur.str().c_str(), opacity.str().c_str(), x.str().c_str(), y.str().c_str()); - - return _filter; + if (_filter != NULL) g_free((void *)_filter); + + std::ostringstream blur; + std::ostringstream opacity; + std::ostringstream x; + std::ostringstream y; + + opacity << ext->get_param_float("opacity") / 100; + x << ext->get_param_float("xoffset"); + y << ext->get_param_float("yoffset"); + + if (ext->get_param_float("blur") > 0) { + blur << "get_param_float("blur") << "\" result=\"blur\" />\n"; + } else { + blur << ""; + } + + _filter = g_strdup_printf( + "\n" + "\n" + "\n" + "%s" + "\n" + "\n" + "\n", opacity.str().c_str(), blur.str().c_str(), x.str().c_str(), y.str().c_str()); + return _filter; }; }; /* namespace Filter */ === modified file 'src/extension/internal/pdfinput/pdf-input.cpp' --- src/extension/internal/pdfinput/pdf-input.cpp 2011-07-10 11:35:30 +0000 +++ src/extension/internal/pdfinput/pdf-input.cpp 2012-02-16 12:59:31 +0000 @@ -60,7 +60,7 @@ N_("art box") }; -PdfImportDialog::PdfImportDialog(PDFDoc *doc, const gchar *uri) +PdfImportDialog::PdfImportDialog(PDFDoc *doc, const gchar */*uri*/) { #ifdef HAVE_POPPLER_CAIRO _poppler_doc = NULL; @@ -296,7 +296,7 @@ _cairo_surface = NULL; _render_thumb = true; // Create PopplerDocument - gchar *doc_uri = g_filename_to_uri(uri, NULL, NULL); + gchar *doc_uri = g_filename_to_uri(_pdf_doc->getFileName()->getCString(),NULL,NULL); if (doc_uri) { _poppler_doc = poppler_document_new_from_file(doc_uri, NULL, NULL); g_free(doc_uri); === modified file 'src/extension/internal/pdfinput/svg-builder.h' --- src/extension/internal/pdfinput/svg-builder.h 2011-02-01 12:53:34 +0000 +++ src/extension/internal/pdfinput/svg-builder.h 2012-02-16 12:59:31 +0000 @@ -49,7 +49,7 @@ class SPCSSAttr; #include -#include +#include namespace Inkscape { namespace Extension { === modified file 'src/extension/internal/win32.cpp' --- src/extension/internal/win32.cpp 2009-12-23 15:38:43 +0000 +++ src/extension/internal/win32.cpp 2012-02-16 12:59:31 +0000 @@ -13,7 +13,7 @@ # include "config.h" #endif -#include +#include #include #include <2geom/transforms.h> === modified file 'src/extract-uri.h' --- src/extract-uri.h 2008-02-10 14:20:16 +0000 +++ src/extract-uri.h 2012-02-16 12:59:31 +0000 @@ -1,7 +1,7 @@ #ifndef SEEN_EXTRACT_URI_H #define SEEN_EXTRACT_URI_H -#include +#include gchar *extract_uri(gchar const *s, gchar const** endptr = 0); === modified file 'src/file.cpp' --- src/file.cpp 2011-07-10 11:35:30 +0000 +++ src/file.cpp 2012-02-16 12:59:31 +0000 @@ -7,9 +7,10 @@ * bulia byak * Bruno Dilly * Stephen Silver + * David Xiong * * Copyright (C) 2006 Johan Engelen - * Copyright (C) 1999-2008 Authors + * Copyright (C) 1999-2012 Authors * Copyright (C) 2004 David Turner * Copyright (C) 2001-2002 Ximian, Inc. * @@ -27,7 +28,7 @@ #endif #include -#include +#include #include #include @@ -726,6 +727,19 @@ /** + * Check if a string ends with another string. + * \todo Find a better code file to put this general purpose method + */ +static bool hasEnding (Glib::ustring const &fullString, Glib::ustring const &ending) +{ + if (fullString.length() > ending.length()) { + return (0 == fullString.compare (fullString.length() - ending.length(), ending.length(), ending)); + } else { + return false; + } +} + +/** * Display a SaveAs dialog. Save the document if OK pressed. */ bool @@ -836,6 +850,13 @@ else g_warning( "Error converting save filename to UTF-8." ); + Inkscape::Extension::Output *omod = dynamic_cast(selectionType); + Glib::ustring save_extension = (std::string)omod->get_extension(); + + if ( !hasEnding(fileName, save_extension.c_str()) ) { + fileName += save_extension.c_str(); + } + // FIXME: does the argument !is_copy really convey the correct meaning here? success = file_save(parentWindow, doc, fileName, selectionType, TRUE, !is_copy, save_method); === modified file 'src/file.h' --- src/file.h 2011-07-10 11:35:30 +0000 +++ src/file.h 2012-02-16 12:59:31 +0000 @@ -16,7 +16,7 @@ */ #include -#include +#include #include #include "extension/extension-forward.h" === modified file 'src/filters/blend-fns.h' --- src/filters/blend-fns.h 2009-12-23 15:38:43 +0000 +++ src/filters/blend-fns.h 2012-02-16 12:59:31 +0000 @@ -6,7 +6,7 @@ */ #include -#include +#include namespace Inkscape { namespace XML { === modified file 'src/filters/colormatrix-fns.h' --- src/filters/colormatrix-fns.h 2009-12-23 15:38:43 +0000 +++ src/filters/colormatrix-fns.h 2012-02-16 12:59:31 +0000 @@ -6,7 +6,7 @@ */ #include -#include +#include namespace Inkscape { namespace XML { === modified file 'src/filters/componenttransfer-fns.h' --- src/filters/componenttransfer-fns.h 2009-12-23 15:38:43 +0000 +++ src/filters/componenttransfer-fns.h 2012-02-16 12:59:31 +0000 @@ -6,7 +6,7 @@ */ #include -#include +#include namespace Inkscape { namespace XML { === modified file 'src/filters/composite-fns.h' --- src/filters/composite-fns.h 2009-12-23 15:38:43 +0000 +++ src/filters/composite-fns.h 2012-02-16 12:59:31 +0000 @@ -6,7 +6,7 @@ */ #include -#include +#include namespace Inkscape { namespace XML { === modified file 'src/filters/convolvematrix-fns.h' --- src/filters/convolvematrix-fns.h 2009-12-23 15:38:43 +0000 +++ src/filters/convolvematrix-fns.h 2012-02-16 12:59:31 +0000 @@ -6,7 +6,7 @@ */ #include -#include +#include namespace Inkscape { namespace XML { === modified file 'src/filters/diffuselighting-fns.h' --- src/filters/diffuselighting-fns.h 2009-12-23 15:38:43 +0000 +++ src/filters/diffuselighting-fns.h 2012-02-16 12:59:31 +0000 @@ -6,7 +6,7 @@ */ #include -#include +#include namespace Inkscape { namespace XML { === modified file 'src/filters/displacementmap-fns.h' --- src/filters/displacementmap-fns.h 2009-12-23 15:38:43 +0000 +++ src/filters/displacementmap-fns.h 2012-02-16 12:59:31 +0000 @@ -6,7 +6,7 @@ */ #include -#include +#include namespace Inkscape { namespace XML { === modified file 'src/filters/flood-fns.h' --- src/filters/flood-fns.h 2009-12-23 15:38:43 +0000 +++ src/filters/flood-fns.h 2012-02-16 12:59:31 +0000 @@ -6,7 +6,7 @@ */ #include -#include +#include namespace Inkscape { namespace XML { === modified file 'src/filters/image-fns.h' --- src/filters/image-fns.h 2009-12-23 15:38:43 +0000 +++ src/filters/image-fns.h 2012-02-16 12:59:31 +0000 @@ -6,7 +6,7 @@ */ #include -#include +#include namespace Inkscape { namespace XML { === modified file 'src/filters/merge-fns.h' --- src/filters/merge-fns.h 2009-12-23 15:38:43 +0000 +++ src/filters/merge-fns.h 2012-02-16 12:59:31 +0000 @@ -6,7 +6,7 @@ */ #include -#include +#include namespace Inkscape { namespace XML { === modified file 'src/filters/morphology-fns.h' --- src/filters/morphology-fns.h 2009-12-23 15:38:43 +0000 +++ src/filters/morphology-fns.h 2012-02-16 12:59:31 +0000 @@ -6,7 +6,7 @@ */ #include -#include +#include namespace Inkscape { namespace XML { === modified file 'src/filters/offset-fns.h' --- src/filters/offset-fns.h 2009-12-23 15:38:43 +0000 +++ src/filters/offset-fns.h 2012-02-16 12:59:31 +0000 @@ -6,7 +6,7 @@ */ #include -#include +#include namespace Inkscape { namespace XML { === modified file 'src/filters/specularlighting-fns.h' --- src/filters/specularlighting-fns.h 2009-12-23 15:38:43 +0000 +++ src/filters/specularlighting-fns.h 2012-02-16 12:59:31 +0000 @@ -6,7 +6,7 @@ */ #include -#include +#include namespace Inkscape { namespace XML { === modified file 'src/filters/tile-fns.h' --- src/filters/tile-fns.h 2009-12-23 15:38:43 +0000 +++ src/filters/tile-fns.h 2012-02-16 12:59:31 +0000 @@ -6,7 +6,7 @@ */ #include -#include +#include namespace Inkscape { namespace XML { === modified file 'src/filters/turbulence-fns.h' --- src/filters/turbulence-fns.h 2009-12-23 15:38:43 +0000 +++ src/filters/turbulence-fns.h 2012-02-16 12:59:31 +0000 @@ -6,7 +6,7 @@ */ #include -#include +#include namespace Inkscape { namespace XML { === modified file 'src/gc-anchored.h' --- src/gc-anchored.h 2008-11-25 15:51:35 +0000 +++ src/gc-anchored.h 2012-02-16 12:59:31 +0000 @@ -11,7 +11,7 @@ #ifndef SEEN_INKSCAPE_GC_ANCHORED_H #define SEEN_INKSCAPE_GC_ANCHORED_H -#include +#include #include "gc-managed.h" namespace Inkscape { === modified file 'src/gc-core.h' --- src/gc-core.h 2009-12-23 15:38:43 +0000 +++ src/gc-core.h 2012-02-16 12:59:31 +0000 @@ -24,7 +24,7 @@ #else # include #endif -#include +#include namespace Inkscape { namespace GC { === modified file 'src/gc.cpp' --- src/gc.cpp 2011-07-10 11:35:30 +0000 +++ src/gc.cpp 2012-02-16 12:59:31 +0000 @@ -13,7 +13,7 @@ #include #include #include -#include +#include #include #include #include === modified file 'src/gradient-drag.h' --- src/gradient-drag.h 2011-07-10 11:35:30 +0000 +++ src/gradient-drag.h 2012-02-16 12:59:31 +0000 @@ -14,8 +14,8 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include #include +#include #include #include === modified file 'src/graphlayout.cpp' --- src/graphlayout.cpp 2010-09-12 19:44:58 +0000 +++ src/graphlayout.cpp 2012-02-16 12:59:31 +0000 @@ -155,11 +155,12 @@ ++i) { SPItem *iu=*i; - map::iterator i=nodelookup.find(iu->getId()); - if(i==nodelookup.end()) { + map::iterator i_iter=nodelookup.find(iu->getId()); + map::iterator i_iter_end=nodelookup.end(); + if(i_iter==i_iter_end) { continue; } - unsigned u=i->second; + unsigned u=i_iter->second; GSList *nlist=iu->avoidRef->getAttachedConnectors(Avoid::runningFrom); list connectors; === modified file 'src/help.h' --- src/help.h 2011-07-10 11:35:30 +0000 +++ src/help.h 2012-02-16 12:59:31 +0000 @@ -13,7 +13,7 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include +#include #include void sp_help_about(void); === modified file 'src/helper/gnome-utils.h' --- src/helper/gnome-utils.h 2008-11-25 15:51:35 +0000 +++ src/helper/gnome-utils.h 2012-02-16 12:59:31 +0000 @@ -15,8 +15,7 @@ #ifndef __GNOME_UTILS_H__ #define __GNOME_UTILS_H__ -#include -#include +#include GList *gnome_uri_list_extract_uris(gchar const *uri_list); === modified file 'src/helper/pixbuf-ops.cpp' --- src/helper/pixbuf-ops.cpp 2010-09-12 19:44:58 +0000 +++ src/helper/pixbuf-ops.cpp 2012-02-16 12:59:31 +0000 @@ -18,7 +18,6 @@ #include #include #include -#include #include #include "png-write.h" #include === modified file 'src/helper/pixbuf-ops.h' --- src/helper/pixbuf-ops.h 2009-12-23 15:38:43 +0000 +++ src/helper/pixbuf-ops.h 2012-02-16 12:59:31 +0000 @@ -12,7 +12,7 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include +#include struct SPDocument; === modified file 'src/helper/png-write.cpp' --- src/helper/png-write.cpp 2009-12-23 15:38:43 +0000 +++ src/helper/png-write.cpp 2012-02-16 12:59:31 +0000 @@ -20,7 +20,7 @@ #include #include #include <2geom/rect.h> -#include +#include #include #include "png-write.h" #include "io/sys.h" === modified file 'src/helper/png-write.h' --- src/helper/png-write.h 2009-12-23 15:38:43 +0000 +++ src/helper/png-write.h 2012-02-16 12:59:31 +0000 @@ -12,7 +12,7 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include +#include #include <2geom/forward.h> struct SPDocument; === modified file 'src/helper/stlport.h' --- src/helper/stlport.h 2008-11-25 15:51:35 +0000 +++ src/helper/stlport.h 2012-02-16 12:59:31 +0000 @@ -3,8 +3,7 @@ #include -#include -#include +#include template class StlConv { === modified file 'src/helper/stock-items.h' --- src/helper/stock-items.h 2008-11-25 15:51:35 +0000 +++ src/helper/stock-items.h 2012-02-16 12:59:31 +0000 @@ -12,7 +12,7 @@ * */ -#include +#include #include === modified file 'src/helper/unit-menu.h' --- src/helper/unit-menu.h 2011-07-10 11:35:30 +0000 +++ src/helper/unit-menu.h 2012-02-16 12:59:31 +0000 @@ -10,7 +10,7 @@ * */ -#include +#include #include #include === modified file 'src/helper/units.h' --- src/helper/units.h 2008-11-25 15:51:35 +0000 +++ src/helper/units.h 2012-02-16 12:59:31 +0000 @@ -15,9 +15,7 @@ * */ -#include -#include -#include +#include #include "sp-metric.h" === removed file 'src/ige-mac-menu.c' --- src/ige-mac-menu.c 2008-02-10 14:20:16 +0000 +++ src/ige-mac-menu.c 1970-01-01 00:00:00 +0000 @@ -1,915 +0,0 @@ -/* GTK+ Integration for the Mac OS X Menubar. - * - * Copyright (C) 2007 Pioneer Research Center USA, Inc. - * - * For further information, see: - * http://developer.imendio.com/projects/gtk-macosx/menubar - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. - */ - -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - -#include - -#ifdef GDK_WINDOWING_QUARTZ - -#include - -#include - -#include "ige-mac-menu.h" - - -/* TODO - * - * - Sync adding/removing/reordering items - * - Create on demand? (can this be done with gtk+? ie fill in menu - items when the menu is opened) - * - Figure out what to do per app/window... - * - */ - -#define IGE_QUARTZ_MENU_CREATOR 'IGEC' -#define IGE_QUARTZ_ITEM_WIDGET 'IWID' - - -static void sync_menu_shell (GtkMenuShell *menu_shell, - MenuRef carbon_menu, - gboolean toplevel, - gboolean debug); - - -/* - * utility functions - */ - -static GtkWidget * -find_menu_label (GtkWidget *widget) -{ - GtkWidget *label = NULL; - - if (GTK_IS_LABEL (widget)) - return widget; - - if (GTK_IS_CONTAINER (widget)) - { - GList *children; - GList *l; - - children = gtk_container_get_children (GTK_CONTAINER (widget)); - - for (l = children; l; l = l->next) - { - label = find_menu_label (l->data); - if (label) - break; - } - - g_list_free (children); - } - - return label; -} - -static const gchar * -get_menu_label_text (GtkWidget *menu_item, - GtkWidget **label) -{ - GtkWidget *my_label; - - my_label = find_menu_label (menu_item); - if (label) - *label = my_label; - - if (my_label) - return gtk_label_get_text (GTK_LABEL (my_label)); - - return NULL; -} - -static gboolean -accel_find_func (GtkAccelKey *key, - GClosure *closure, - gpointer data) -{ - return (GClosure *) data == closure; -} - - -/* - * CarbonMenu functions - */ - -typedef struct -{ - MenuRef menu; -} CarbonMenu; - -static GQuark carbon_menu_quark = 0; - -static CarbonMenu * -carbon_menu_new (void) -{ - return g_slice_new0 (CarbonMenu); -} - -static void -carbon_menu_free (CarbonMenu *menu) -{ - g_slice_free (CarbonMenu, menu); -} - -static CarbonMenu * -carbon_menu_get (GtkWidget *widget) -{ - return g_object_get_qdata (G_OBJECT (widget), carbon_menu_quark); -} - -static void -carbon_menu_connect (GtkWidget *menu, - MenuRef menuRef) -{ - CarbonMenu *carbon_menu = carbon_menu_get (menu); - - if (!carbon_menu) - { - carbon_menu = carbon_menu_new (); - - g_object_set_qdata_full (G_OBJECT (menu), carbon_menu_quark, - carbon_menu, - (GDestroyNotify) carbon_menu_free); - } - - carbon_menu->menu = menuRef; -} - - -/* - * CarbonMenuItem functions - */ - -typedef struct -{ - MenuRef menu; - MenuItemIndex index; - MenuRef submenu; - GClosure *accel_closure; -} CarbonMenuItem; - -static GQuark carbon_menu_item_quark = 0; - -static CarbonMenuItem * -carbon_menu_item_new (void) -{ - return g_slice_new0 (CarbonMenuItem); -} - -static void -carbon_menu_item_free (CarbonMenuItem *menu_item) -{ - if (menu_item->accel_closure) - g_closure_unref (menu_item->accel_closure); - - g_slice_free (CarbonMenuItem, menu_item); -} - -static CarbonMenuItem * -carbon_menu_item_get (GtkWidget *widget) -{ - return g_object_get_qdata (G_OBJECT (widget), carbon_menu_item_quark); -} - -static void -carbon_menu_item_update_state (CarbonMenuItem *carbon_item, - GtkWidget *widget) -{ - gboolean sensitive; - gboolean visible; - UInt32 set_attrs = 0; - UInt32 clear_attrs = 0; - - g_object_get (widget, - "sensitive", &sensitive, - "visible", &visible, - NULL); - - if (!sensitive) - set_attrs |= kMenuItemAttrDisabled; - else - clear_attrs |= kMenuItemAttrDisabled; - - if (!visible) - set_attrs |= kMenuItemAttrHidden; - else - clear_attrs |= kMenuItemAttrHidden; - - ChangeMenuItemAttributes (carbon_item->menu, carbon_item->index, - set_attrs, clear_attrs); -} - -static void -carbon_menu_item_update_active (CarbonMenuItem *carbon_item, - GtkWidget *widget) -{ - gboolean active; - - g_object_get (widget, - "active", &active, - NULL); - - CheckMenuItem (carbon_item->menu, carbon_item->index, - active); -} - -static void -carbon_menu_item_update_submenu (CarbonMenuItem *carbon_item, - GtkWidget *widget) -{ - GtkWidget *submenu; - - submenu = gtk_menu_item_get_submenu (GTK_MENU_ITEM (widget)); - - if (submenu) - { - const gchar *label_text; - CFStringRef cfstr = NULL; - - label_text = get_menu_label_text (widget, NULL); - if (label_text) - cfstr = CFStringCreateWithCString (NULL, label_text, - kCFStringEncodingUTF8); - - CreateNewMenu (0, 0, &carbon_item->submenu); - SetMenuTitleWithCFString (carbon_item->submenu, cfstr); - SetMenuItemHierarchicalMenu (carbon_item->menu, carbon_item->index, - carbon_item->submenu); - - sync_menu_shell (GTK_MENU_SHELL (submenu), carbon_item->submenu, FALSE, FALSE); - - if (cfstr) - CFRelease (cfstr); - } - else - { - SetMenuItemHierarchicalMenu (carbon_item->menu, carbon_item->index, - NULL); - carbon_item->submenu = NULL; - } -} - -static void -carbon_menu_item_update_label (CarbonMenuItem *carbon_item, - GtkWidget *widget) -{ - const gchar *label_text; - CFStringRef cfstr = NULL; - - label_text = get_menu_label_text (widget, NULL); - if (label_text) - cfstr = CFStringCreateWithCString (NULL, label_text, - kCFStringEncodingUTF8); - - SetMenuItemTextWithCFString (carbon_item->menu, carbon_item->index, - cfstr); - - if (cfstr) - CFRelease (cfstr); -} - -static void -carbon_menu_item_update_accelerator (CarbonMenuItem *carbon_item, - GtkWidget *widget) -{ - GtkWidget *label; - - get_menu_label_text (widget, &label); - - if (GTK_IS_ACCEL_LABEL (label) && - GTK_ACCEL_LABEL (label)->accel_closure) - { - GtkAccelKey *key; - - key = gtk_accel_group_find (GTK_ACCEL_LABEL (label)->accel_group, - accel_find_func, - GTK_ACCEL_LABEL (label)->accel_closure); - - if (key && - key->accel_key && - key->accel_flags & GTK_ACCEL_VISIBLE) - { - GdkDisplay *display = gtk_widget_get_display (widget); - GdkKeymap *keymap = gdk_keymap_get_for_display (display); - GdkKeymapKey *keys; - gint n_keys; - - if (gdk_keymap_get_entries_for_keyval (keymap, key->accel_key, - &keys, &n_keys)) - { - UInt8 modifiers = 0; - - SetMenuItemCommandKey (carbon_item->menu, carbon_item->index, - true, keys[0].keycode); - - g_free (keys); - - if (key->accel_mods) - { - if (key->accel_mods & GDK_SHIFT_MASK) - modifiers |= kMenuShiftModifier; - - if (key->accel_mods & GDK_MOD1_MASK) - modifiers |= kMenuOptionModifier; - } - - if (!(key->accel_mods & GDK_CONTROL_MASK)) - { - modifiers |= kMenuNoCommandModifier; - } - - SetMenuItemModifiers (carbon_item->menu, carbon_item->index, - modifiers); - - return; - } - } - } - - /* otherwise, clear the menu shortcut */ - SetMenuItemModifiers (carbon_item->menu, carbon_item->index, - kMenuNoModifiers | kMenuNoCommandModifier); - ChangeMenuItemAttributes (carbon_item->menu, carbon_item->index, - 0, kMenuItemAttrUseVirtualKey); - SetMenuItemCommandKey (carbon_item->menu, carbon_item->index, - false, 0); -} - -static void -carbon_menu_item_accel_changed (GtkAccelGroup *accel_group, - guint keyval, - GdkModifierType modifier, - GClosure *accel_closure, - GtkWidget *widget) -{ - CarbonMenuItem *carbon_item = carbon_menu_item_get (widget); - GtkWidget *label; - - get_menu_label_text (widget, &label); - - if (GTK_IS_ACCEL_LABEL (label) && - GTK_ACCEL_LABEL (label)->accel_closure == accel_closure) - carbon_menu_item_update_accelerator (carbon_item, widget); -} - -static void -carbon_menu_item_update_accel_closure (CarbonMenuItem *carbon_item, - GtkWidget *widget) -{ - GtkAccelGroup *group; - GtkWidget *label; - - get_menu_label_text (widget, &label); - - if (carbon_item->accel_closure) - { - group = gtk_accel_group_from_accel_closure (carbon_item->accel_closure); - - g_signal_handlers_disconnect_by_func (group, - carbon_menu_item_accel_changed, - widget); - - g_closure_unref (carbon_item->accel_closure); - carbon_item->accel_closure = NULL; - } - - if (GTK_IS_ACCEL_LABEL (label)) - carbon_item->accel_closure = GTK_ACCEL_LABEL (label)->accel_closure; - - if (carbon_item->accel_closure) - { - g_closure_ref (carbon_item->accel_closure); - - group = gtk_accel_group_from_accel_closure (carbon_item->accel_closure); - - g_signal_connect_object (group, "accel-changed", - G_CALLBACK (carbon_menu_item_accel_changed), - widget, 0); - } - - carbon_menu_item_update_accelerator (carbon_item, widget); -} - -static void -carbon_menu_item_notify (GObject *object, - GParamSpec *pspec, - CarbonMenuItem *carbon_item) -{ - if (!strcmp (pspec->name, "sensitive") || - !strcmp (pspec->name, "visible")) - { - carbon_menu_item_update_state (carbon_item, GTK_WIDGET (object)); - } - else if (!strcmp (pspec->name, "active")) - { - carbon_menu_item_update_active (carbon_item, GTK_WIDGET (object)); - } - else if (!strcmp (pspec->name, "submenu")) - { - carbon_menu_item_update_submenu (carbon_item, GTK_WIDGET (object)); - } -} - -static void -carbon_menu_item_notify_label (GObject *object, - GParamSpec *pspec, - gpointer data) -{ - CarbonMenuItem *carbon_item = carbon_menu_item_get (GTK_WIDGET (object)); - - if (!strcmp (pspec->name, "label")) - { - carbon_menu_item_update_label (carbon_item, - GTK_WIDGET (object)); - } - else if (!strcmp (pspec->name, "accel-closure")) - { - carbon_menu_item_update_accel_closure (carbon_item, - GTK_WIDGET (object)); - } -} - -static CarbonMenuItem * -carbon_menu_item_connect (GtkWidget *menu_item, - GtkWidget *label, - MenuRef menu, - MenuItemIndex index) -{ - CarbonMenuItem *carbon_item = carbon_menu_item_get (menu_item); - - if (!carbon_item) - { - carbon_item = carbon_menu_item_new (); - - g_object_set_qdata_full (G_OBJECT (menu_item), carbon_menu_item_quark, - carbon_item, - (GDestroyNotify) carbon_menu_item_free); - - g_signal_connect (menu_item, "notify", - G_CALLBACK (carbon_menu_item_notify), - carbon_item); - - if (label) - g_signal_connect_swapped (label, "notify::label", - G_CALLBACK (carbon_menu_item_notify_label), - menu_item); - } - - carbon_item->menu = menu; - carbon_item->index = index; - - return carbon_item; -} - - -/* - * carbon event handler - */ - -static OSStatus -menu_event_handler_func (EventHandlerCallRef event_handler_call_ref, - EventRef event_ref, - void *data) -{ - UInt32 event_class = GetEventClass (event_ref); - UInt32 event_kind = GetEventKind (event_ref); - MenuRef menu_ref; - - switch (event_class) - { - case kEventClassCommand: - /* This is called when activating (is that the right GTK+ term?) - * a menu item. - */ - if (event_kind == kEventCommandProcess) - { - HICommand command; - OSStatus err; - - /*g_printerr ("Menu: kEventClassCommand/kEventCommandProcess\n");*/ - - err = GetEventParameter (event_ref, kEventParamDirectObject, - typeHICommand, 0, - sizeof (command), 0, &command); - - if (err == noErr) - { - GtkWidget *widget = NULL; - - /* Get any GtkWidget associated with the item. */ - err = GetMenuItemProperty (command.menu.menuRef, - command.menu.menuItemIndex, - IGE_QUARTZ_MENU_CREATOR, - IGE_QUARTZ_ITEM_WIDGET, - sizeof (widget), 0, &widget); - if (err == noErr && GTK_IS_WIDGET (widget)) - { - gtk_menu_item_activate (GTK_MENU_ITEM (widget)); - return noErr; - } - } - } - break; - - case kEventClassMenu: - GetEventParameter (event_ref, - kEventParamDirectObject, - typeMenuRef, - NULL, - sizeof (menu_ref), - NULL, - &menu_ref); - - switch (event_kind) - { - case kEventMenuTargetItem: - /* This is called when an item is selected (what is the - * GTK+ term? prelight?) - */ - /*g_printerr ("kEventClassMenu/kEventMenuTargetItem\n");*/ - break; - - case kEventMenuOpening: - /* Is it possible to dynamically build the menu here? We - * can at least set visibility/sensitivity. - */ - /*g_printerr ("kEventClassMenu/kEventMenuOpening\n");*/ - break; - - case kEventMenuClosed: - /*g_printerr ("kEventClassMenu/kEventMenuClosed\n");*/ - break; - - default: - break; - } - - break; - - default: - break; - } - - return CallNextEventHandler (event_handler_call_ref, event_ref); -} - -static void -setup_menu_event_handler (void) -{ - EventHandlerUPP menu_event_handler_upp; - EventHandlerRef menu_event_handler_ref; - const EventTypeSpec menu_events[] = { - { kEventClassCommand, kEventCommandProcess }, - { kEventClassMenu, kEventMenuTargetItem }, - { kEventClassMenu, kEventMenuOpening }, - { kEventClassMenu, kEventMenuClosed } - }; - - /* FIXME: We might have to install one per window? */ - - menu_event_handler_upp = NewEventHandlerUPP (menu_event_handler_func); - InstallEventHandler (GetApplicationEventTarget (), menu_event_handler_upp, - GetEventTypeCount (menu_events), menu_events, 0, - &menu_event_handler_ref); - -#if 0 - /* FIXME: Remove the handler with: */ - RemoveEventHandler(menu_event_handler_ref); - DisposeEventHandlerUPP(menu_event_handler_upp); -#endif -} - -static void -sync_menu_shell (GtkMenuShell *menu_shell, - MenuRef carbon_menu, - gboolean toplevel, - gboolean debug) -{ - GList *children; - GList *l; - MenuItemIndex carbon_index = 1; - - if (debug) - g_printerr ("%s: syncing shell %p\n", G_STRFUNC, menu_shell); - - carbon_menu_connect (GTK_WIDGET (menu_shell), carbon_menu); - - children = gtk_container_get_children (GTK_CONTAINER (menu_shell)); - - for (l = children; l; l = l->next) - { - GtkWidget *menu_item = l->data; - CarbonMenuItem *carbon_item; - - if (GTK_IS_TEAROFF_MENU_ITEM (menu_item)) - continue; - - if (toplevel && g_object_get_data (G_OBJECT (menu_item), - "gtk-empty-menu-item")) - continue; - - carbon_item = carbon_menu_item_get (menu_item); - - if (debug) - g_printerr ("%s: carbon_item %d for menu_item %d (%s, %s)\n", - G_STRFUNC, carbon_item ? carbon_item->index : -1, - carbon_index, get_menu_label_text (menu_item, NULL), - g_type_name (G_TYPE_FROM_INSTANCE (menu_item))); - - if (carbon_item && carbon_item->index != carbon_index) - { - if (debug) - g_printerr ("%s: -> not matching, deleting\n", G_STRFUNC); - - DeleteMenuItem (carbon_item->menu, carbon_index); - carbon_item = NULL; - } - - if (!carbon_item) - { - GtkWidget *label = NULL; - const gchar *label_text; - CFStringRef cfstr = NULL; - MenuItemAttributes attributes = 0; - - if (debug) - g_printerr ("%s: -> creating new\n", G_STRFUNC); - - label_text = get_menu_label_text (menu_item, &label); - if (label_text) - cfstr = CFStringCreateWithCString (NULL, label_text, - kCFStringEncodingUTF8); - - if (GTK_IS_SEPARATOR_MENU_ITEM (menu_item)) - attributes |= kMenuItemAttrSeparator; - - if (!GTK_WIDGET_IS_SENSITIVE (menu_item)) - attributes |= kMenuItemAttrDisabled; - - if (!GTK_WIDGET_VISIBLE (menu_item)) - attributes |= kMenuItemAttrHidden; - - InsertMenuItemTextWithCFString (carbon_menu, cfstr, - carbon_index - 1, - attributes, 0); - SetMenuItemProperty (carbon_menu, carbon_index, - IGE_QUARTZ_MENU_CREATOR, - IGE_QUARTZ_ITEM_WIDGET, - sizeof (menu_item), &menu_item); - - if (cfstr) - CFRelease (cfstr); - - carbon_item = carbon_menu_item_connect (menu_item, label, - carbon_menu, - carbon_index); - - if (GTK_IS_CHECK_MENU_ITEM (menu_item)) - carbon_menu_item_update_active (carbon_item, menu_item); - - carbon_menu_item_update_accel_closure (carbon_item, menu_item); - - if (gtk_menu_item_get_submenu (GTK_MENU_ITEM (menu_item))) - carbon_menu_item_update_submenu (carbon_item, menu_item); - } - - carbon_index++; - } - - g_list_free (children); -} - - -static gulong emission_hook_id = 0; - -static gboolean -parent_set_emission_hook (GSignalInvocationHint *ihint, - guint n_param_values, - const GValue *param_values, - gpointer data) -{ - GtkWidget *instance = g_value_get_object (param_values); - - if (GTK_IS_MENU_ITEM (instance)) - { - GtkWidget *previous_parent = g_value_get_object (param_values + 1); - GtkWidget *menu_shell = NULL; - - if (GTK_IS_MENU_SHELL (previous_parent)) - { - menu_shell = previous_parent; - } - else if (GTK_IS_MENU_SHELL (instance->parent)) - { - menu_shell = instance->parent; - } - - if (menu_shell) - { - CarbonMenu *carbon_menu = carbon_menu_get (menu_shell); - - if (carbon_menu) - { -#if 0 - g_printerr ("%s: item %s %p (%s, %s)\n", G_STRFUNC, - previous_parent ? "removed from" : "added to", - menu_shell, - get_menu_label_text (instance, NULL), - g_type_name (G_TYPE_FROM_INSTANCE (instance))); -#endif - - sync_menu_shell (GTK_MENU_SHELL (menu_shell), - carbon_menu->menu, - carbon_menu->menu == (MenuRef) data, - FALSE); - } - } - } - - return TRUE; -} - -static void -parent_set_emission_hook_remove (GtkWidget *widget, - gpointer data) -{ - g_signal_remove_emission_hook (g_signal_lookup ("parent-set", - GTK_TYPE_WIDGET), - emission_hook_id); -} - - -/* - * public functions - */ - -void -ige_mac_menu_set_menu_bar (GtkMenuShell *menu_shell) -{ - MenuRef carbon_menubar; - guint hook_id; - - g_return_if_fail (GTK_IS_MENU_SHELL (menu_shell)); - - if (carbon_menu_quark == 0) - carbon_menu_quark = g_quark_from_static_string ("CarbonMenu"); - - if (carbon_menu_item_quark == 0) - carbon_menu_item_quark = g_quark_from_static_string ("CarbonMenuItem"); - - CreateNewMenu (0 /*id*/, 0 /*options*/, &carbon_menubar); - SetRootMenu (carbon_menubar); - - setup_menu_event_handler (); - - emission_hook_id = - g_signal_add_emission_hook (g_signal_lookup ("parent-set", - GTK_TYPE_WIDGET), - 0, - parent_set_emission_hook, - carbon_menubar, NULL); - - g_signal_connect (menu_shell, "destroy", - G_CALLBACK (parent_set_emission_hook_remove), - NULL); - - sync_menu_shell (menu_shell, carbon_menubar, TRUE, FALSE); -} - -void -ige_mac_menu_set_quit_menu_item (GtkMenuItem *menu_item) -{ - MenuRef appmenu; - MenuItemIndex index; - - g_return_if_fail (GTK_IS_MENU_ITEM (menu_item)); - - if (GetIndMenuItemWithCommandID (NULL, kHICommandQuit, 1, - &appmenu, &index) == noErr) - { - SetMenuItemCommandID (appmenu, index, 0); - SetMenuItemProperty (appmenu, index, - IGE_QUARTZ_MENU_CREATOR, - IGE_QUARTZ_ITEM_WIDGET, - sizeof (menu_item), &menu_item); - - gtk_widget_hide (GTK_WIDGET (menu_item)); - } -} - - -struct _IgeMacMenuGroup -{ - GList *items; -}; - -static GList *app_menu_groups = NULL; - -IgeMacMenuGroup * -ige_mac_menu_add_app_menu_group (void) -{ - IgeMacMenuGroup *group = g_slice_new0 (IgeMacMenuGroup); - - app_menu_groups = g_list_append (app_menu_groups, group); - - return group; -} - -void -ige_mac_menu_add_app_menu_item (IgeMacMenuGroup *group, - GtkMenuItem *menu_item, - const gchar *label) -{ - MenuRef appmenu; - GList *list; - gint index = 0; - - g_return_if_fail (group != NULL); - g_return_if_fail (GTK_IS_MENU_ITEM (menu_item)); - - if (GetIndMenuItemWithCommandID (NULL, kHICommandHide, 1, - &appmenu, NULL) != noErr) - { - g_warning ("%s: retrieving app menu failed", - G_STRFUNC); - return; - } - - for (list = app_menu_groups; list; list = g_list_next (list)) - { - IgeMacMenuGroup *list_group = list->data; - - index += g_list_length (list_group->items); - - /* adjust index for the separator between groups, but not - * before the first group - */ - if (list_group->items && list->prev) - index++; - - if (group == list_group) - { - CFStringRef cfstr; - - /* add a separator before adding the first item, but not - * for the first group - */ - if (!group->items && list->prev) - { - InsertMenuItemTextWithCFString (appmenu, NULL, index, - kMenuItemAttrSeparator, 0); - index++; - } - - if (!label) - label = get_menu_label_text (GTK_WIDGET (menu_item), NULL); - - cfstr = CFStringCreateWithCString (NULL, label, - kCFStringEncodingUTF8); - - InsertMenuItemTextWithCFString (appmenu, cfstr, index, 0, 0); - SetMenuItemProperty (appmenu, index + 1, - IGE_QUARTZ_MENU_CREATOR, - IGE_QUARTZ_ITEM_WIDGET, - sizeof (menu_item), &menu_item); - - CFRelease (cfstr); - - gtk_widget_hide (GTK_WIDGET (menu_item)); - - group->items = g_list_append (group->items, menu_item); - - return; - } - } - - if (!list) - g_warning ("%s: app menu group %p does not exist", - G_STRFUNC, group); -} - -#endif /* GDK_WINDOWING_QUARTZ */ === removed file 'src/ige-mac-menu.h' --- src/ige-mac-menu.h 2008-02-10 14:20:16 +0000 +++ src/ige-mac-menu.h 1970-01-01 00:00:00 +0000 @@ -1,43 +0,0 @@ -/* GTK+ Integration for the Mac OS X Menubar. - * - * Copyright (C) 2007 Pioneer Research Center USA, Inc. - * - * For further information, see: - * http://developer.imendio.com/projects/gtk-macosx/menubar - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. - */ - -#ifndef __IGE_MAC_MENU_H__ -#define __IGE_MAC_MENU_H__ - -#include - -G_BEGIN_DECLS - -typedef struct _IgeMacMenuGroup IgeMacMenuGroup; - -void ige_mac_menu_set_menu_bar (GtkMenuShell *menu_shell); -void ige_mac_menu_set_quit_menu_item (GtkMenuItem *menu_item); - -IgeMacMenuGroup * ige_mac_menu_add_app_menu_group (void); -void ige_mac_menu_add_app_menu_item (IgeMacMenuGroup *group, - GtkMenuItem *menu_item, - const gchar *label); - -G_END_DECLS - -#endif /* __IGE_MAC_MENU_H__ */ === modified file 'src/inkscape-version.cpp' --- src/inkscape-version.cpp 2011-07-10 11:35:30 +0000 +++ src/inkscape-version.cpp 2012-02-16 12:59:31 +0000 @@ -1,1 +1,1 @@ -namespace Inkscape { char const *version_string = "0.48.2 r9819"; } +namespace Inkscape { char const *version_string = "0.48.3 r9882"; } === modified file 'src/inkscape.h' --- src/inkscape.h 2009-12-23 15:38:43 +0000 +++ src/inkscape.h 2012-02-16 12:59:31 +0000 @@ -13,7 +13,7 @@ */ #include -#include +#include struct SPDesktop; struct SPDocument; === modified file 'src/inkview.cpp' --- src/inkview.cpp 2011-07-10 11:35:30 +0000 +++ src/inkview.cpp 2012-02-16 12:59:31 +0000 @@ -39,7 +39,7 @@ #include #include -#include +#include #include // #include === modified file 'src/interface.cpp' --- src/interface.cpp 2011-02-20 12:07:30 +0000 +++ src/interface.cpp 2012-02-16 12:59:31 +0000 @@ -68,11 +68,6 @@ #include "gradient-drag.h" #include "widgets/ege-paint-def.h" -// Include Mac OS X menu synchronization on native OSX build -#ifdef GDK_WINDOWING_QUARTZ -#include "ige-mac-menu.h" -#endif - /* Drag and Drop */ typedef enum { URI_LIST, @@ -1009,18 +1004,8 @@ sp_ui_main_menubar(Inkscape::UI::View::View *view) { GtkWidget *mbar = gtk_menu_bar_new(); - -#ifdef GDK_WINDOWING_QUARTZ - ige_mac_menu_set_menu_bar(GTK_MENU_SHELL(mbar)); -#endif - sp_ui_build_dyn_menus(inkscape_get_menus(INKSCAPE), mbar, view); - -#ifdef GDK_WINDOWING_QUARTZ - return NULL; -#else return mbar; -#endif } static void leave_group(GtkMenuItem *, SPDesktop *desktop) { === modified file 'src/io/ftos.cpp' --- src/io/ftos.cpp 2008-11-25 15:51:35 +0000 +++ src/io/ftos.cpp 2012-02-16 12:59:31 +0000 @@ -320,7 +320,8 @@ break; default: - return "**bad mode**"; + g_free(p); + return "**bad mode**"; } #ifdef DEBUG @@ -413,6 +414,7 @@ fprintf(stderr, "*** End of ftos with ascii = ", ascii.c_str()); #endif /* finally, we can return */ + g_free(p); return ascii; } === modified file 'src/io/inkjar.cpp' --- src/io/inkjar.cpp 2010-09-12 19:44:58 +0000 +++ src/io/inkjar.cpp 2012-02-16 12:59:31 +0000 @@ -139,16 +139,18 @@ #endif if (signature == 0x08074b50) { - //skip data descriptor - bytes = (guint8 *)malloc(sizeof(guint8) * 12); - if (!read(bytes, 12)) { - g_free(bytes); - return false; - } + //skip data descriptor + bytes = (guint8 *)g_malloc(sizeof(guint8) * 12); + if (!read(bytes, 12)) { + g_free(bytes); + return false; + } else { + g_free(bytes); + } } else if (signature == 0x02014b50 || signature == 0x04034b50) { - return true; + return true; } else { - return false; + return false; } return false; } === modified file 'src/io/inkjar.h' --- src/io/inkjar.h 2010-09-12 19:44:58 +0000 +++ src/io/inkjar.h 2012-02-16 12:59:31 +0000 @@ -26,8 +26,7 @@ # endif #endif -#include -#include +#include namespace Inkjar { === modified file 'src/io/resource.cpp' --- src/io/resource.cpp 2009-12-23 15:38:43 +0000 +++ src/io/resource.cpp 2012-02-16 12:59:31 +0000 @@ -16,10 +16,7 @@ #include "config.h" #endif -#include // g_assert() -#include -#include -#include +#include #include "path-prefix.h" #include "inkscape.h" #include "io/resource.h" === modified file 'src/io/sys.cpp' --- src/io/sys.cpp 2011-07-10 11:35:30 +0000 +++ src/io/sys.cpp 2012-02-16 12:59:31 +0000 @@ -17,11 +17,8 @@ #include #include -#include #include -#if GLIB_CHECK_VERSION(2,6,0) - #include -#endif + #include #include === modified file 'src/io/sys.h' --- src/io/sys.h 2009-12-23 15:38:43 +0000 +++ src/io/sys.h 2012-02-16 12:59:31 +0000 @@ -15,9 +15,7 @@ #include #include #include -#include -#include -#include +#include #include #include === modified file 'src/knot-holder-entity.h' --- src/knot-holder-entity.h 2009-12-23 15:38:43 +0000 +++ src/knot-holder-entity.h 2012-02-16 12:59:31 +0000 @@ -17,7 +17,7 @@ * Released under GNU GPL */ -#include +#include #include "knot.h" #include <2geom/forward.h> #include "snapper.h" === modified file 'src/knotholder.h' --- src/knotholder.h 2011-02-20 12:07:30 +0000 +++ src/knotholder.h 2012-02-16 12:59:31 +0000 @@ -17,7 +17,7 @@ * */ -#include +#include #include "knot-enums.h" #include "forward.h" #include "libnr/nr-forward.h" === modified file 'src/libcola/shortest_paths.cpp' --- src/libcola/shortest_paths.cpp 2007-02-05 23:33:28 +0000 +++ src/libcola/shortest_paths.cpp 2012-02-16 12:59:31 +0000 @@ -73,6 +73,7 @@ } } } + void dijkstra( unsigned s, unsigned n, @@ -80,21 +81,22 @@ vector& es, double* eweights) { - assert(s vs(n); + dijkstra_init(&vs[0], es, eweights); + dijkstra(s, n, &vs[0], d); } + void johnsons( unsigned n, double** D, vector& es, double* eweights) { - Node vs[n]; - dijkstra_init(vs,es,eweights); - for(unsigned k=0;k vs(n); + dijkstra_init(&vs[0], es, eweights); + for (unsigned k = 0; k < n; k++) { + dijkstra(k,n,&vs[0],D[k]); } } } === modified file 'src/libcroco/cr-libxml-node-iface.h' --- src/libcroco/cr-libxml-node-iface.h 2008-11-25 15:51:35 +0000 +++ src/libcroco/cr-libxml-node-iface.h 2012-02-16 12:59:31 +0000 @@ -1,7 +1,7 @@ #ifndef __CR_LIBXML_NODE_IFACE_H__ #define __CR_LIBXML_NODE_IFACE_H__ -#include +#include #include "cr-node-iface.h" G_BEGIN_DECLS === modified file 'src/libcroco/cr-node-iface.h' --- src/libcroco/cr-node-iface.h 2008-11-25 15:51:35 +0000 +++ src/libcroco/cr-node-iface.h 2012-02-16 12:59:31 +0000 @@ -1,8 +1,7 @@ #ifndef __CR_NODE_IFACE_H__ #define __CR_NODE_IFACE_H__ -#include -#include +#include G_BEGIN_DECLS === modified file 'src/libgdl/gdl-dock-item.c' --- src/libgdl/gdl-dock-item.c 2009-12-23 15:38:43 +0000 +++ src/libgdl/gdl-dock-item.c 2012-02-16 12:59:31 +0000 @@ -1527,7 +1527,11 @@ gboolean cancel) { /* Release pointer & keyboard. */ - gtk_grab_remove (gtk_grab_get_current ()); + GtkWidget *widget = gtk_grab_get_current (); + if (widget == NULL) { + widget = GTK_WIDGET (item); + } + gtk_grab_remove (widget); g_signal_emit (item, gdl_dock_item_signals [DOCK_DRAG_END], 0, cancel); === modified file 'src/libgdl/gdl-stock.h' --- src/libgdl/gdl-stock.h 2009-12-23 15:38:43 +0000 +++ src/libgdl/gdl-stock.h 2012-02-16 12:59:31 +0000 @@ -22,7 +22,7 @@ #ifndef __GDL_STOCK_H__ #define __GDL_STOCK_H__ -#include // G_BEGIN_DECLS +#include G_BEGIN_DECLS === modified file 'src/libgdl/gdl-switcher.c' --- src/libgdl/gdl-switcher.c 2011-07-10 11:35:30 +0000 +++ src/libgdl/gdl-switcher.c 2012-02-16 12:59:31 +0000 @@ -265,6 +265,8 @@ /* Figure out how many rows and columns we'll use. */ btns_per_row = allocation->width / (max_btn_width + H_PADDING); + /* Use at least one column */ + if (btns_per_row == 0) btns_per_row = 1; /* If all the buttons could fit in the single row, have it so */ if (allocation->width >= optimal_layout_width) === modified file 'src/libnr/in-svg-plane-test.h' --- src/libnr/in-svg-plane-test.h 2009-12-23 15:38:43 +0000 +++ src/libnr/in-svg-plane-test.h 2012-02-16 12:59:31 +0000 @@ -1,6 +1,6 @@ #include -#include +#include #include #include "libnr/in-svg-plane.h" === modified file 'src/libnr/nr-gradient.cpp' --- src/libnr/nr-gradient.cpp 2009-12-23 15:38:43 +0000 +++ src/libnr/nr-gradient.cpp 2012-02-16 12:59:31 +0000 @@ -26,7 +26,7 @@ #include #include #include -#include +#include #include /* Common */ === modified file 'src/libnr/nr-i-coord.h' --- src/libnr/nr-i-coord.h 2006-10-31 10:41:52 +0000 +++ src/libnr/nr-i-coord.h 2012-02-16 12:59:31 +0000 @@ -1,7 +1,7 @@ #ifndef SEEN_NR_I_COORD_H #define SEEN_NR_I_COORD_H -#include +#include namespace NR { === modified file 'src/libnr/nr-matrix.h' --- src/libnr/nr-matrix.h 2009-12-23 15:38:43 +0000 +++ src/libnr/nr-matrix.h 2012-02-16 12:59:31 +0000 @@ -17,8 +17,7 @@ * This code is in public domain. */ -#include // g_assert() -#include +#include #include "libnr/nr-coord.h" #include "libnr/nr-values.h" === modified file 'src/libnr/nr-object.cpp' --- src/libnr/nr-object.cpp 2009-12-23 15:38:43 +0000 +++ src/libnr/nr-object.cpp 2012-02-16 12:59:31 +0000 @@ -15,7 +15,7 @@ #include -#include +#include #include #include "nr-object.h" === modified file 'src/libnr/nr-object.h' --- src/libnr/nr-object.h 2008-11-25 15:51:35 +0000 +++ src/libnr/nr-object.h 2012-02-16 12:59:31 +0000 @@ -15,7 +15,7 @@ #include "config.h" #endif -#include +#include #include "gc-managed.h" #include "gc-finalized.h" #include "gc-anchored.h" === modified file 'src/libnr/nr-pixblock-pattern.cpp' --- src/libnr/nr-pixblock-pattern.cpp 2009-12-23 15:38:43 +0000 +++ src/libnr/nr-pixblock-pattern.cpp 2012-02-16 12:59:31 +0000 @@ -10,7 +10,7 @@ */ -#include +#include #include "nr-pixops.h" #include "nr-pixblock-pattern.h" === modified file 'src/libnr/nr-pixblock.cpp' --- src/libnr/nr-pixblock.cpp 2009-12-23 15:38:43 +0000 +++ src/libnr/nr-pixblock.cpp 2012-02-16 12:59:31 +0000 @@ -13,7 +13,7 @@ #include #include #include -#include +#include #include "nr-pixblock.h" /// Size of buffer that needs no allocation (default 4). === modified file 'src/libnr/nr-point-fns-test.h' --- src/libnr/nr-point-fns-test.h 2009-12-23 15:38:43 +0000 +++ src/libnr/nr-point-fns-test.h 2012-02-16 12:59:31 +0000 @@ -3,7 +3,7 @@ #include #include -#include +#include #include #include "libnr/nr-point-fns.h" === modified file 'src/libnr/nr-rotate-fns-test.h' --- src/libnr/nr-rotate-fns-test.h 2008-11-25 15:51:35 +0000 +++ src/libnr/nr-rotate-fns-test.h 2012-02-16 12:59:31 +0000 @@ -1,7 +1,7 @@ #include #include -#include +#include #include === modified file 'src/libnrtype/FontFactory.cpp' --- src/libnrtype/FontFactory.cpp 2011-02-20 12:07:30 +0000 +++ src/libnrtype/FontFactory.cpp 2012-02-16 12:59:31 +0000 @@ -15,7 +15,7 @@ #endif #include -#include +#include #include // _() #include #include "libnrtype/FontFactory.h" === modified file 'src/libnrtype/FontInstance.cpp' --- src/libnrtype/FontInstance.cpp 2011-02-20 12:07:30 +0000 +++ src/libnrtype/FontInstance.cpp 2012-02-16 12:59:31 +0000 @@ -391,7 +391,7 @@ } } if (free_res) { - free(res); + g_free(res); } return len; } === modified file 'src/libnrtype/Layout-TNG-Output.cpp' --- src/libnrtype/Layout-TNG-Output.cpp 2011-02-20 12:07:30 +0000 +++ src/libnrtype/Layout-TNG-Output.cpp 2012-02-16 12:59:31 +0000 @@ -8,7 +8,7 @@ * * Released under GNU GPL, read the file 'COPYING' for more information */ -#include +#include #include "Layout-TNG.h" #include "display/nr-arena-glyphs.h" #include "style.h" === modified file 'src/libnrtype/nr-type-primitives.cpp' --- src/libnrtype/nr-type-primitives.cpp 2008-11-25 15:51:35 +0000 +++ src/libnrtype/nr-type-primitives.cpp 2012-02-16 12:59:31 +0000 @@ -14,7 +14,7 @@ #include #include -#include +#include #include #include "nr-type-primitives.h" === modified file 'src/libnrtype/nr-type-primitives.h' --- src/libnrtype/nr-type-primitives.h 2008-11-25 15:51:35 +0000 +++ src/libnrtype/nr-type-primitives.h 2012-02-16 12:59:31 +0000 @@ -11,7 +11,7 @@ * This code is in public domain */ -#include +#include struct NRNameList; struct NRStyleList; === modified file 'src/livarot/AlphaLigne.cpp' --- src/livarot/AlphaLigne.cpp 2008-11-25 15:51:35 +0000 +++ src/livarot/AlphaLigne.cpp 2012-02-16 12:59:31 +0000 @@ -12,7 +12,7 @@ #include #include #include -#include +#include AlphaLigne::AlphaLigne(int iMin,int iMax) { === modified file 'src/livarot/BitLigne.cpp' --- src/livarot/BitLigne.cpp 2008-11-25 15:51:35 +0000 +++ src/livarot/BitLigne.cpp 2012-02-16 12:59:31 +0000 @@ -15,7 +15,7 @@ #include #include #include -#include +#include BitLigne::BitLigne(int ist,int ien,float iScale) { === modified file 'src/livarot/PathSimplify.cpp' --- src/livarot/PathSimplify.cpp 2009-12-23 15:38:43 +0000 +++ src/livarot/PathSimplify.cpp 2012-02-16 12:59:31 +0000 @@ -6,7 +6,7 @@ * */ -#include +#include #include #include "livarot/Path.h" #include "livarot/path-description.h" === modified file 'src/livarot/Shape.cpp' --- src/livarot/Shape.cpp 2009-12-23 15:38:43 +0000 +++ src/livarot/Shape.cpp 2012-02-16 12:59:31 +0000 @@ -8,7 +8,7 @@ #include #include -#include +#include #include "Shape.h" #include "livarot/sweep-event-queue.h" #include "livarot/sweep-tree-list.h" === modified file 'src/livarot/ShapeSweep.cpp' --- src/livarot/ShapeSweep.cpp 2009-12-23 15:38:43 +0000 +++ src/livarot/ShapeSweep.cpp 2012-02-16 12:59:31 +0000 @@ -9,7 +9,9 @@ #include #include #include -#include +#include + +#include <2geom/matrix.h> #include "Shape.h" #include "livarot/sweep-event-queue.h" #include "livarot/sweep-tree-list.h" === modified file 'src/livarot/int-line.cpp' --- src/livarot/int-line.cpp 2008-11-25 15:51:35 +0000 +++ src/livarot/int-line.cpp 2012-02-16 12:59:31 +0000 @@ -9,7 +9,7 @@ * */ -#include +#include #include #include #include === modified file 'src/livarot/sweep-event.cpp' --- src/livarot/sweep-event.cpp 2009-12-23 15:38:43 +0000 +++ src/livarot/sweep-event.cpp 2012-02-16 12:59:31 +0000 @@ -1,4 +1,4 @@ -#include +#include #include "livarot/sweep-event-queue.h" #include "livarot/sweep-tree.h" #include "livarot/sweep-event.h" === modified file 'src/livarot/sweep-tree-list.cpp' --- src/livarot/sweep-tree-list.cpp 2008-11-25 15:51:35 +0000 +++ src/livarot/sweep-tree-list.cpp 2012-02-16 12:59:31 +0000 @@ -1,4 +1,4 @@ -#include +#include #include "livarot/sweep-tree.h" #include "livarot/sweep-tree-list.h" === modified file 'src/live_effects/parameter/array.h' --- src/live_effects/parameter/array.h 2009-12-23 15:38:43 +0000 +++ src/live_effects/parameter/array.h 2012-02-16 12:59:31 +0000 @@ -11,7 +11,7 @@ #include -#include +#include #include === modified file 'src/live_effects/parameter/bool.h' --- src/live_effects/parameter/bool.h 2009-12-23 15:38:43 +0000 +++ src/live_effects/parameter/bool.h 2012-02-16 12:59:31 +0000 @@ -9,7 +9,7 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include +#include #include "live_effects/parameter/parameter.h" === modified file 'src/live_effects/parameter/enum.h' --- src/live_effects/parameter/enum.h 2009-12-23 15:38:43 +0000 +++ src/live_effects/parameter/enum.h 2012-02-16 12:59:31 +0000 @@ -9,7 +9,7 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include +#include #include "ui/widget/registered-enums.h" #include === modified file 'src/live_effects/parameter/path.h' --- src/live_effects/parameter/path.h 2011-07-10 11:35:30 +0000 +++ src/live_effects/parameter/path.h 2012-02-16 12:59:31 +0000 @@ -9,7 +9,7 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include +#include #include <2geom/path.h> #include === modified file 'src/live_effects/parameter/point.h' --- src/live_effects/parameter/point.h 2009-12-23 15:38:43 +0000 +++ src/live_effects/parameter/point.h 2012-02-16 12:59:31 +0000 @@ -9,7 +9,7 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include +#include #include <2geom/point.h> #include === modified file 'src/live_effects/parameter/text.h' --- src/live_effects/parameter/text.h 2009-12-23 15:38:43 +0000 +++ src/live_effects/parameter/text.h 2012-02-16 12:59:31 +0000 @@ -13,7 +13,7 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include +#include #include "display/canvas-bpath.h" #include "live_effects/parameter/parameter.h" === modified file 'src/live_effects/parameter/vector.h' --- src/live_effects/parameter/vector.h 2009-12-23 15:38:43 +0000 +++ src/live_effects/parameter/vector.h 2012-02-16 12:59:31 +0000 @@ -9,7 +9,7 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include +#include #include <2geom/point.h> #include === modified file 'src/main-cmdlineact.h' --- src/main-cmdlineact.h 2009-12-23 15:38:43 +0000 +++ src/main-cmdlineact.h 2012-02-16 12:59:31 +0000 @@ -15,7 +15,7 @@ * Released under GNU GPL v2.x, read the file 'COPYING' for more information */ -#include +#include namespace Inkscape { === modified file 'src/main.cpp' --- src/main.cpp 2011-07-10 11:35:30 +0000 +++ src/main.cpp 2012-02-16 12:59:31 +0000 @@ -48,7 +48,6 @@ #include #include -#include #include #include === modified file 'src/message-context.cpp' --- src/message-context.cpp 2008-11-25 15:51:35 +0000 +++ src/message-context.cpp 2012-02-16 12:59:31 +0000 @@ -9,7 +9,7 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include +#include #include "message-context.h" #include "message-stack.h" === modified file 'src/message-stack.cpp' --- src/message-stack.cpp 2008-11-25 15:51:35 +0000 +++ src/message-stack.cpp 2012-02-16 12:59:31 +0000 @@ -10,7 +10,7 @@ */ #include -#include +#include #include #include #include "message-stack.h" === modified file 'src/modifier-fns.h' --- src/modifier-fns.h 2011-07-10 11:35:30 +0000 +++ src/modifier-fns.h 2012-02-16 12:59:31 +0000 @@ -12,7 +12,7 @@ */ #include -#include +#include inline bool mod_shift(guint const state) === modified file 'src/object-hierarchy.h' --- src/object-hierarchy.h 2011-07-10 11:35:30 +0000 +++ src/object-hierarchy.h 2012-02-16 12:59:31 +0000 @@ -17,7 +17,7 @@ #include #include #include -#include +#include class SPObject; === modified file 'src/path-chemistry.cpp' --- src/path-chemistry.cpp 2011-02-20 12:07:30 +0000 +++ src/path-chemistry.cpp 2012-02-16 12:59:31 +0000 @@ -22,7 +22,7 @@ #include "xml/repr.h" #include "svg/svg.h" #include "display/curve.h" -#include +#include #include #include "sp-path.h" #include "sp-text.h" === modified file 'src/removeoverlap.h' --- src/removeoverlap.h 2010-09-12 19:44:58 +0000 +++ src/removeoverlap.h 2012-02-16 12:59:31 +0000 @@ -13,7 +13,7 @@ #ifndef SEEN_REMOVEOVERLAP_H #define SEEN_REMOVEOVERLAP_H -#include +#include void removeoverlap(GSList const *items, double xGap, double yGap); === modified file 'src/selection-chemistry.cpp' --- src/selection-chemistry.cpp 2011-02-20 12:07:30 +0000 +++ src/selection-chemistry.cpp 2012-02-16 12:59:31 +0000 @@ -1372,7 +1372,7 @@ * Same for textpath if we are also doing ANY transform to its path: do not touch textpath, * letters cannot be squeezed or rotated anyway, they only refill the changed path. * Same for linked offset if we are also moving its source: do not move it. */ - if (transform_textpath_with_path || transform_offset_with_source) { + if (transform_textpath_with_path) { // Restore item->transform field from the repr, in case it was changed by seltrans. sp_object_read_attr(item, "transform"); } else if (transform_flowtext_with_frame) { @@ -1386,7 +1386,7 @@ sp_item_write_transform(SP_USE(use), SP_OBJECT_REPR(use), item->transform.inverse(), NULL, compensate); } } - } else if (transform_clone_with_original) { + } else if (transform_clone_with_original || transform_offset_with_source) { // We are transforming a clone along with its original. The below matrix juggling is // necessary to ensure that they transform as a whole, i.e. the clone's induced // transform and its move compensation are both cancelled out. @@ -1400,7 +1400,7 @@ Geom::Matrix t_inv = t.inverse(); Geom::Matrix result = t_inv * item->transform * t; - if ((prefs_parallel || prefs_unmoved) && affine.isTranslation()) { + if (transform_clone_with_original && (prefs_parallel || prefs_unmoved) && affine.isTranslation()) { // we need to cancel out the move compensation, too // find out the clone move, same as in sp_use_move_compensate @@ -1418,6 +1418,19 @@ sp_item_write_transform(item, SP_OBJECT_REPR(item), move, &t, compensate); } + } else if (transform_offset_with_source && (prefs_parallel || prefs_unmoved) && affine.isTranslation()){ + Geom::Matrix parent = item->transform; + Geom::Matrix offset_move = parent.inverse() * t * parent; + + if (prefs_parallel) { + Geom::Matrix move = result * offset_move * t_inv; + sp_item_write_transform(item, SP_OBJECT_REPR(item), move, &move, compensate); + + } else if (prefs_unmoved) { + Geom::Matrix move = result * offset_move; + sp_item_write_transform(item, SP_OBJECT_REPR(item), move, &t, compensate); + } + } else { // just apply the result sp_item_write_transform(item, SP_OBJECT_REPR(item), result, &t, compensate); === modified file 'src/sp-conn-end-pair.h' --- src/sp-conn-end-pair.h 2011-07-10 11:35:30 +0000 +++ src/sp-conn-end-pair.h 2012-02-16 12:59:31 +0000 @@ -11,7 +11,7 @@ * * Released under GNU GPL, read the file 'COPYING' for more information */ -#include +#include #include "forward.h" #include "libnr/nr-point.h" === modified file 'src/sp-conn-end.h' --- src/sp-conn-end.h 2011-07-10 11:35:30 +0000 +++ src/sp-conn-end.h 2012-02-16 12:59:31 +0000 @@ -1,7 +1,7 @@ #ifndef SEEN_SP_CONN_END #define SEEN_SP_CONN_END -#include +#include #include #include === modified file 'src/sp-filter-fns.h' --- src/sp-filter-fns.h 2007-02-05 23:33:28 +0000 +++ src/sp-filter-fns.h 2012-02-16 12:59:31 +0000 @@ -5,7 +5,7 @@ * Macros and fn declarations related to filters. */ -#include +#include #include #include "libnr/nr-forward.h" #include "sp-filter-units.h" === modified file 'src/sp-gaussian-blur-fns.h' --- src/sp-gaussian-blur-fns.h 2007-02-05 23:33:28 +0000 +++ src/sp-gaussian-blur-fns.h 2012-02-16 12:59:31 +0000 @@ -6,7 +6,7 @@ */ #include -#include +#include namespace Inkscape { namespace XML { === modified file 'src/sp-gradient-fns.h' --- src/sp-gradient-fns.h 2011-02-20 12:07:30 +0000 +++ src/sp-gradient-fns.h 2012-02-16 12:59:31 +0000 @@ -5,7 +5,7 @@ * Macros and fn declarations related to gradients. */ -#include +#include #include #include <2geom/forward.h> #include "sp-gradient-spread.h" === modified file 'src/sp-gradient-vector.h' --- src/sp-gradient-vector.h 2008-11-25 15:51:35 +0000 +++ src/sp-gradient-vector.h 2012-02-16 12:59:31 +0000 @@ -1,7 +1,7 @@ #ifndef SEEN_SP_GRADIENT_VECTOR_H #define SEEN_SP_GRADIENT_VECTOR_H -#include +#include #include #include "color.h" === modified file 'src/sp-guide.cpp' --- src/sp-guide.cpp 2009-12-23 15:38:43 +0000 +++ src/sp-guide.cpp 2012-02-16 12:59:31 +0000 @@ -211,23 +211,27 @@ break; case SP_ATTR_POSITION: { - gchar ** strarray = g_strsplit(value, ",", 2); - double newx, newy; - unsigned int success = sp_svg_number_read_d(strarray[0], &newx); - success += sp_svg_number_read_d(strarray[1], &newy); - g_strfreev (strarray); - if (success == 2) { - guide->point_on_line = Geom::Point(newx, newy); - } else if (success == 1) { - // before 0.46 style guideline definition. - const gchar *attr = SP_OBJECT_REPR(object)->attribute("orientation"); - if (attr && !strcmp(attr, "horizontal")) { - guide->point_on_line = Geom::Point(0, newx); - } else { - guide->point_on_line = Geom::Point(newx, 0); + if (value) { + gchar ** strarray = g_strsplit(value, ",", 2); + double newx, newy; + unsigned int success = sp_svg_number_read_d(strarray[0], &newx); + success += sp_svg_number_read_d(strarray[1], &newy); + g_strfreev (strarray); + if (success == 2) { + guide->point_on_line = Geom::Point(newx, newy); + } else if (success == 1) { + // before 0.46 style guideline definition. + const gchar *attr = SP_OBJECT_REPR(object)->attribute("orientation"); + if (attr && !strcmp(attr, "horizontal")) { + guide->point_on_line = Geom::Point(0, newx); + } else { + guide->point_on_line = Geom::Point(newx, 0); + } } + } else { + // default to (0,0) for bad arguments + guide->point_on_line = Geom::Point(0,0); } - // update position in non-committing way // fixme: perhaps we need to add an update method instead, and request_update here sp_guide_moveto(*guide, guide->point_on_line, false); === modified file 'src/sp-image.cpp' --- src/sp-image.cpp 2011-07-10 11:35:30 +0000 +++ src/sp-image.cpp 2012-02-16 12:59:31 +0000 @@ -4,6 +4,7 @@ * Authors: * Lauris Kaplinski * Edward Flick (EAF) + * Jon A. Cruz * * Copyright (C) 1999-2005 Authors * Copyright (C) 2000-2001 Ximian, Inc. @@ -48,9 +49,16 @@ #include "libnr/nr-matrix-fns.h" #include "io/sys.h" -#if ENABLE_LCMS -#include "color-profile-fns.h" +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) +#include "cms-system.h" #include "color-profile.h" + +#if HAVE_LIBLCMS2 +# include +#elif HAVE_LIBLCMS1 +# include +#endif // HAVE_LIBLCMS2 + //#define DEBUG_LCMS #ifdef DEBUG_LCMS @@ -63,7 +71,7 @@ #include "preferences.h" #include #endif // DEBUG_LCMS -#endif // ENABLE_LCMS +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) /* * SPImage */ @@ -622,9 +630,9 @@ image->curve = NULL; image->href = 0; -#if ENABLE_LCMS +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) image->color_profile = 0; -#endif // ENABLE_LCMS +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) image->pixbuf = 0; image->pixPath = 0; image->lastMod = 0; @@ -669,12 +677,12 @@ image->pixbuf = NULL; } -#if ENABLE_LCMS +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) if (image->color_profile) { g_free (image->color_profile); image->color_profile = NULL; } -#endif // ENABLE_LCMS +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) if (image->pixPath) { g_free(image->pixPath); @@ -787,7 +795,7 @@ image->aspect_clip = clip; } break; -#if ENABLE_LCMS +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) case SP_PROP_COLOR_PROFILE: if ( image->color_profile ) { g_free (image->color_profile); @@ -803,7 +811,7 @@ // TODO check on this HREF_MODIFIED flag object->requestDisplayUpdate(SP_OBJECT_MODIFIED_FLAG | SP_IMAGE_HREF_MODIFIED_FLAG); break; -#endif // ENABLE_LCMS +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) default: if (((SPObjectClass *) (parent_class))->set) ((SPObjectClass *) (parent_class))->set (object, key, value); @@ -844,7 +852,7 @@ if (pixbuf) { pixbuf = sp_image_pixbuf_force_rgba (pixbuf); // BLIP -#if ENABLE_LCMS +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) if ( image->color_profile ) { int imagewidth = gdk_pixbuf_get_width( pixbuf ); @@ -857,12 +865,12 @@ DEBUG_MESSAGE( lcmsFive, "in 's sp_image_update. About to call colorprofile_get_handle()" ); #endif // DEBUG_LCMS guint profIntent = Inkscape::RENDERING_INTENT_UNKNOWN; - cmsHPROFILE prof = Inkscape::colorprofile_get_handle( SP_OBJECT_DOCUMENT( object ), - &profIntent, - image->color_profile ); + cmsHPROFILE prof = Inkscape::CMSSystem::getHandle( object->document, + &profIntent, + image->color_profile ); if ( prof ) { - icProfileClassSignature profileClass = cmsGetDeviceClass( prof ); - if ( profileClass != icSigNamedColorClass ) { + cmsProfileClassSignature profileClass = cmsGetDeviceClass( prof ); + if ( profileClass != cmsSigNamedColorClass ) { int intent = INTENT_PERCEPTUAL; switch ( profIntent ) { case Inkscape::RENDERING_INTENT_RELATIVE_COLORIMETRIC: @@ -919,7 +927,7 @@ #endif // DEBUG_LCMS } } -#endif // ENABLE_LCMS +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) image->pixbuf = pixbuf; } } @@ -1057,11 +1065,11 @@ sp_repr_set_svg_double(repr, "height", image->height.computed); } repr->setAttribute("preserveAspectRatio", object->repr->attribute("preserveAspectRatio")); -#if ENABLE_LCMS +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) if (image->color_profile) { repr->setAttribute("color-profile", image->color_profile); } -#endif // ENABLE_LCMS +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) if (((SPObjectClass *) (parent_class))->write) { ((SPObjectClass *) (parent_class))->write (object, xml_doc, repr, flags); === modified file 'src/sp-image.h' --- src/sp-image.h 2011-02-20 12:07:30 +0000 +++ src/sp-image.h 2012-02-16 12:59:31 +0000 @@ -49,9 +49,9 @@ SPCurve *curve; // This curve is at the image's boundary for snapping gchar *href; -#if ENABLE_LCMS +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) gchar *color_profile; -#endif // ENABLE_LCMS +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) GdkPixbuf *pixbuf; gchar *pixPath; === modified file 'src/sp-linear-gradient-fns.h' --- src/sp-linear-gradient-fns.h 2008-11-25 15:51:35 +0000 +++ src/sp-linear-gradient-fns.h 2012-02-16 12:59:31 +0000 @@ -6,7 +6,7 @@ */ #include -#include +#include namespace Inkscape { namespace XML { === modified file 'src/sp-metrics.h' --- src/sp-metrics.h 2008-11-25 15:51:35 +0000 +++ src/sp-metrics.h 2012-02-16 12:59:31 +0000 @@ -1,8 +1,7 @@ #ifndef SP_METRICS_H #define SP_METRICS_H -#include -#include +#include #include "sp-metric.h" gdouble sp_absolute_metric_to_metric (gdouble length_src, const SPMetric metric_src, const SPMetric metric_dst); === modified file 'src/sp-namedview.cpp' --- src/sp-namedview.cpp 2011-02-20 12:07:30 +0000 +++ src/sp-namedview.cpp 2012-02-16 12:59:31 +0000 @@ -129,14 +129,14 @@ const char* gridoriginy = "0px"; const char* gridoriginx = "0px"; const char* gridempspacing = "5"; - const char* gridcolor = "#0000ff"; - const char* gridempcolor = "#0000ff"; - const char* gridopacity = "0.2"; - const char* gridempopacity = "0.4"; + const char* gridcolor = "#3f3fff"; + const char* gridempcolor = "#3f3fff"; + const char* gridopacity = "0.15"; + const char* gridempopacity = "0.38"; const char* value = NULL; if ((value = repr->attribute("gridoriginx"))) { - gridspacingx = value; + gridoriginx = value; old_grid_settings_present = true; } if ((value = repr->attribute("gridoriginy"))) { @@ -1046,6 +1046,15 @@ } } +void SPNamedView::translateGrids(Geom::Translate const &tr) { + for (GSList *l = grids; l != NULL; l = l->next) { + Inkscape::CanvasGrid* g = reinterpret_cast(l->data); + if (g) { + g->setOrigin(g->origin * tr); + } + } +} + void SPNamedView::scrollAllDesktops(double dx, double dy, bool is_scrolling) { for(GSList *l = views; l; l = l->next) { SPDesktop *desktop = static_cast(l->data); === modified file 'src/sp-namedview.h' --- src/sp-namedview.h 2011-02-20 12:07:30 +0000 +++ src/sp-namedview.h 2012-02-16 12:59:31 +0000 @@ -80,6 +80,7 @@ SPMetric getDefaultMetric() const; void translateGuides(Geom::Translate const &translation); + void translateGrids(Geom::Translate const &translation); void scrollAllDesktops(double dx, double dy, bool is_scrolling); }; === modified file 'src/sp-object-repr.cpp' --- src/sp-object-repr.cpp 2011-02-20 12:07:30 +0000 +++ src/sp-object-repr.cpp 2012-02-16 12:59:31 +0000 @@ -1,5 +1,3 @@ -#define __SP_OBJECT_REPR_C__ - /* * Object type dictionary and build frontend * @@ -56,7 +54,7 @@ #include "sp-style-elem.h" #include "sp-switch.h" -#include "color-profile-fns.h" +#include "color-profile.h" #include "xml/repr.h" #include "sp-filter.h" #include "sp-gaussian-blur.h" === modified file 'src/sp-object.cpp' --- src/sp-object.cpp 2011-07-10 11:35:30 +0000 +++ src/sp-object.cpp 2012-02-16 12:59:31 +0000 @@ -1,4 +1,3 @@ -#define __SP_OBJECT_C__ /** \file * SPObject implementation. * @@ -6,6 +5,7 @@ * Lauris Kaplinski * bulia byak * Stephen Silver + * Jon A. Cruz * * Copyright (C) 1999-2008 authors * Copyright (C) 2001-2002 Ximian, Inc. @@ -38,7 +38,7 @@ #include "helper/sp-marshal.h" #include "xml/node-event-vector.h" #include "attributes.h" -#include "color-profile-fns.h" +#include "color-profile.h" #include "document.h" #include "style.h" #include "sp-object-repr.h" === modified file 'src/sp-offset.cpp' --- src/sp-offset.cpp 2011-02-20 12:07:30 +0000 +++ src/sp-offset.cpp 2012-02-16 12:59:31 +0000 @@ -831,7 +831,7 @@ for (int i = 0; i < theRes->numberOfPoints(); i++) { if (theRes->getPoint(i).totalDegree() > 0) - { + { Geom::Point nx = theRes->getPoint(i).x; Geom::Point nxpx = px-nx; double ndist = sqrt (dot(nxpx,nxpx)); @@ -1025,30 +1025,37 @@ { Inkscape::Preferences *prefs = Inkscape::Preferences::get(); guint mode = prefs->getInt("/options/clonecompensation/value", SP_CLONE_COMPENSATION_PARALLEL); - if (mode == SP_CLONE_COMPENSATION_NONE) return; + + SPItem *item = SP_ITEM(self); Geom::Matrix m(*mp); - if (!(m.isTranslation())) return; + if (!(m.isTranslation()) || mode == SP_CLONE_COMPENSATION_NONE) { + self->sourceDirty=true; + item->requestDisplayUpdate(SP_OBJECT_MODIFIED_FLAG); + return; + } // calculate the compensation matrix and the advertized movement matrix - SPItem *item = SP_ITEM(self); + sp_object_read_attr(item, "transform"); - Geom::Matrix compensate; + Geom::Matrix t = self->transform; + Geom::Matrix offset_move = t.inverse() * m * t; Geom::Matrix advertized_move; - if (mode == SP_CLONE_COMPENSATION_UNMOVED) { - compensate = Geom::identity(); + if (mode == SP_CLONE_COMPENSATION_PARALLEL) { + offset_move = offset_move.inverse() * m; + advertized_move = m; + } else if (mode == SP_CLONE_COMPENSATION_UNMOVED) { + offset_move = offset_move.inverse(); advertized_move.setIdentity(); - } else if (mode == SP_CLONE_COMPENSATION_PARALLEL) { - compensate = m; - advertized_move = m; } else { g_assert_not_reached(); } - item->transform *= compensate; + self->sourceDirty = true; // commit the compensation + item->transform *= offset_move; sp_item_write_transform(item, SP_OBJECT_REPR(item), item->transform, &advertized_move); SP_OBJECT(item)->requestDisplayUpdate(SP_OBJECT_MODIFIED_FLAG); } @@ -1071,12 +1078,13 @@ } static void -sp_offset_source_modified (SPObject */*iSource*/, guint /*flags*/, SPItem *item) +sp_offset_source_modified (SPObject */*iSource*/, guint flags, SPItem *item) { SPOffset *offset = SP_OFFSET(item); - offset->sourceDirty=true; - refresh_offset_source(offset); - sp_shape_set_shape ((SPShape *) offset); + offset->sourceDirty = true; + if (flags & (SP_OBJECT_MODIFIED_FLAG | SP_OBJECT_CHILD_MODIFIED_FLAG)) { + offset->requestDisplayUpdate(SP_OBJECT_MODIFIED_FLAG); + } } static void @@ -1107,6 +1115,15 @@ orig->LoadPathVector(curve->get_pathvector()); curve->unref(); + if (!item->transform.isIdentity()) { + gchar const *t_attr = SP_OBJECT_REPR(item)->attribute("transform"); + if (t_attr) { + Geom::Matrix t; + if (sp_svg_transform_read(t_attr, &t)) { + orig->Transform(t); + } + } + } // Finish up. { === modified file 'src/sp-radial-gradient.h' --- src/sp-radial-gradient.h 2008-11-25 15:51:35 +0000 +++ src/sp-radial-gradient.h 2012-02-16 12:59:31 +0000 @@ -5,7 +5,7 @@ * SPRadialGradient: SVG implementtion. */ -#include +#include #include "sp-gradient.h" #include "svg/svg-length.h" #include "sp-radial-gradient-fns.h" === modified file 'src/sp-stop.h' --- src/sp-stop.h 2011-02-20 12:07:30 +0000 +++ src/sp-stop.h 2012-02-16 12:59:31 +0000 @@ -8,7 +8,7 @@ * Authors? */ -#include +#include #include #include "sp-object.h" #include "color.h" === modified file 'src/sp-text.h' --- src/sp-text.h 2011-07-10 11:35:30 +0000 +++ src/sp-text.h 2012-02-16 12:59:31 +0000 @@ -13,7 +13,7 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include +#include #include #include #include "sp-item.h" === modified file 'src/sp-textpath.h' --- src/sp-textpath.h 2006-10-31 10:41:52 +0000 +++ src/sp-textpath.h 2012-02-16 12:59:31 +0000 @@ -1,7 +1,7 @@ #ifndef INKSCAPE_SP_TEXTPATH_H #define INKSCAPE_SP_TEXTPATH_H -#include +#include #include "svg/svg-length.h" #include "sp-item.h" #include "sp-text.h" === modified file 'src/sp-tspan.h' --- src/sp-tspan.h 2008-11-25 15:51:35 +0000 +++ src/sp-tspan.h 2012-02-16 12:59:31 +0000 @@ -5,7 +5,7 @@ * tspan and textpath, based on the flowtext routines */ -#include +#include #include "sp-item.h" #include "text-tag-attributes.h" === modified file 'src/splivarot.cpp' --- src/splivarot.cpp 2011-07-10 11:35:30 +0000 +++ src/splivarot.cpp 2012-02-16 12:59:31 +0000 @@ -20,7 +20,7 @@ #include #include #include -#include +#include #include "xml/repr.h" #include "svg/svg.h" #include "sp-path.h" @@ -1463,6 +1463,8 @@ g_free(str); if ( updating ) { + //XML Tree being used directly here while it shouldn't be + sp_item_write_transform(item, SP_OBJECT_REPR(item), transform); char const *id = SP_OBJECT(item)->repr->attribute("id"); char const *uri = g_strdup_printf("#%s", id); repr->setAttribute("xlink:href", uri); @@ -1481,11 +1483,7 @@ SPItem *nitem = (SPItem *) sp_desktop_document(desktop)->getObjectByRepr(repr); - if ( updating ) { - // on conserve l'original - // we reapply the transform to the original (offset will feel it) - sp_item_write_transform(item, SP_OBJECT_REPR(item), transform); - } else { + if ( !updating ) { // delete original, apply the transform to the offset SP_OBJECT(item)->deleteObject(false); sp_item_write_transform(nitem, repr, transform); === modified file 'src/spray-context.cpp' --- src/spray-context.cpp 2010-09-12 19:44:58 +0000 +++ src/spray-context.cpp 2012-02-16 12:59:31 +0000 @@ -29,7 +29,7 @@ #include "svg/svg.h" #include "display/canvas-bpath.h" -#include +#include #include "macros.h" #include "document.h" #include "selection.h" === modified file 'src/svg/css-ostringstream.cpp' --- src/svg/css-ostringstream.cpp 2009-12-23 15:38:43 +0000 +++ src/svg/css-ostringstream.cpp 2012-02-16 12:59:31 +0000 @@ -1,8 +1,7 @@ #include "svg/css-ostringstream.h" #include "svg/strip-trailing-zeros.h" #include "preferences.h" -#include -#include +#include Inkscape::CSSOStringStream::CSSOStringStream() { === modified file 'src/svg/css-ostringstream.h' --- src/svg/css-ostringstream.h 2008-11-25 15:51:35 +0000 +++ src/svg/css-ostringstream.h 2012-02-16 12:59:31 +0000 @@ -1,7 +1,7 @@ #ifndef SVG_CSS_OSTRINGSTREAM_H_INKSCAPE #define SVG_CSS_OSTRINGSTREAM_H_INKSCAPE -#include +#include #include namespace Inkscape { === modified file 'src/svg/stringstream.h' --- src/svg/stringstream.h 2011-02-20 12:07:30 +0000 +++ src/svg/stringstream.h 2012-02-16 12:59:31 +0000 @@ -1,7 +1,7 @@ #ifndef INKSCAPE_STRINGSTREAM_H #define INKSCAPE_STRINGSTREAM_H -#include +#include #include #include === modified file 'src/svg/strip-trailing-zeros.cpp' --- src/svg/strip-trailing-zeros.cpp 2008-11-25 15:51:35 +0000 +++ src/svg/strip-trailing-zeros.cpp 2012-02-16 12:59:31 +0000 @@ -1,7 +1,7 @@ #include #include -#include +#include #include "svg/strip-trailing-zeros.h" === modified file 'src/svg/svg-affine.cpp' --- src/svg/svg-affine.cpp 2009-12-23 15:38:43 +0000 +++ src/svg/svg-affine.cpp 2012-02-16 12:59:31 +0000 @@ -19,7 +19,7 @@ #include #include #include -#include +#include #include #include #include <2geom/transforms.h> === modified file 'src/svg/svg-color.cpp' --- src/svg/svg-color.cpp 2011-02-20 12:07:30 +0000 +++ src/svg/svg-color.cpp 2012-02-16 12:59:31 +0000 @@ -1,5 +1,3 @@ -#define __SP_SVG_COLOR_C__ - /** * \file * Reading \& writing of SVG/CSS colors. @@ -23,12 +21,7 @@ #include #include #include -#include #include // g_assert -#include -#include -#include -#include #include #include "strneq.h" @@ -36,16 +29,17 @@ #include "svg-color.h" #include "svg-icc-color.h" -#if ENABLE_LCMS -#include +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) #include "color.h" #include "color-profile.h" #include "document.h" #include "inkscape.h" #include "profile-manager.h" -#endif // ENABLE_LCMS +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) +#include "cms-system.h" using std::sprintf; +using Inkscape::CMSSystem; struct SPSVGColor { unsigned long rgb; @@ -463,9 +457,9 @@ return colors; } -#if ENABLE_LCMS +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) //helper function borrowed from src/widgets/sp-color-icc-selector.cpp: -void getThings( DWORD space, gchar const**& namers, gchar const**& tippies, guint const*& scalies ); +void getThings( Inkscape::ColorProfile *prof, gchar const**& namers, gchar const**& tippies, guint const*& scalies ); void icc_color_to_sRGB(SVGICCColor* icc, guchar* r, guchar* g, guchar* b){ guchar color_out[4]; @@ -479,16 +473,18 @@ gchar const** names = 0; gchar const** tips = 0; guint const* scales = 0; - getThings( prof->getColorSpace(), names, tips, scales ); + getThings( prof, names, tips, scales ); - guint count = _cmsChannelsOf( prof->getColorSpace() ); - if (count>4) count=4; //do we need it? Should we allow an arbitrary number of color values? Or should we limit to a maximum? (max==4?) - for (guint i=0;i 4) { + count = 4; //do we need it? Should we allow an arbitrary number of color values? Or should we limit to a maximum? (max==4?) + } + for (gint i = 0; i < count; i++){ color_in[i] = (guchar) ((((gdouble)icc->colors[i])*256.0) * (gdouble)scales[i]); g_message("input[%d]: %d",i, color_in[i]); } - cmsDoTransform( trans, color_in, color_out, 1 ); + CMSSystem::doTransform( trans, color_in, color_out, 1 ); g_message("transform to sRGB done"); } *r = color_out[0]; @@ -497,7 +493,7 @@ } } } -#endif //ENABLE_LCMS +#endif //defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) /* * Some discussion at http://markmail.org/message/bhfvdfptt25kgtmj === modified file 'src/svg/svg-color.h' --- src/svg/svg-color.h 2010-09-12 19:44:58 +0000 +++ src/svg/svg-color.h 2012-02-16 12:59:31 +0000 @@ -1,7 +1,7 @@ #ifndef SVG_SVG_COLOR_H_SEEN #define SVG_SVG_COLOR_H_SEEN -#include +#include class SVGICCColor; === modified file 'src/svg/svg-length.cpp' --- src/svg/svg-length.cpp 2011-02-20 12:07:30 +0000 +++ src/svg/svg-length.cpp 2012-02-16 12:59:31 +0000 @@ -19,7 +19,7 @@ #include #include #include -#include +#include #include "svg.h" #include "stringstream.h" === modified file 'src/svg/svg-length.h' --- src/svg/svg-length.h 2009-12-23 15:38:43 +0000 +++ src/svg/svg-length.h 2012-02-16 12:59:31 +0000 @@ -16,7 +16,7 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include +#include class SVGLength { === modified file 'src/svg/svg-path-geom-test.h' --- src/svg/svg-path-geom-test.h 2009-12-23 15:38:43 +0000 +++ src/svg/svg-path-geom-test.h 2012-02-16 12:59:31 +0000 @@ -8,7 +8,7 @@ #include #include #include -#include +#include class SvgPathGeomTest : public CxxTest::TestSuite { === modified file 'src/svg/svg-path.cpp' --- src/svg/svg-path.cpp 2009-12-23 15:38:43 +0000 +++ src/svg/svg-path.cpp 2012-02-16 12:59:31 +0000 @@ -31,9 +31,6 @@ #include #include #include -#include -#include -#include #include // g_assert() #include "svg/svg.h" === modified file 'src/svg/svg.h' --- src/svg/svg.h 2009-12-23 15:38:43 +0000 +++ src/svg/svg.h 2012-02-16 12:59:31 +0000 @@ -11,7 +11,7 @@ * * Released under GNU GPL, read the file 'COPYING' for more information */ -#include +#include #include #include #include === modified file 'src/text-editing.h' --- src/text-editing.h 2011-02-20 12:07:30 +0000 +++ src/text-editing.h 2012-02-16 12:59:31 +0000 @@ -13,7 +13,7 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include +#include #include // std::pair #include "libnrtype/Layout-TNG.h" #include === modified file 'src/text-tag-attributes.h' --- src/text-tag-attributes.h 2010-09-12 19:44:58 +0000 +++ src/text-tag-attributes.h 2012-02-16 12:59:31 +0000 @@ -2,7 +2,7 @@ #define INKSCAPE_TEXT_TAG_ATTRIBUTES_H #include -#include +#include #include "libnrtype/Layout-TNG.h" #include "svg/svg-length.h" === modified file 'src/trace/imagemap.cpp' --- src/trace/imagemap.cpp 2009-12-23 15:38:43 +0000 +++ src/trace/imagemap.cpp 2012-02-16 12:59:31 +0000 @@ -78,10 +78,16 @@ me->height = height; me->pixels = (unsigned long *) malloc(sizeof(unsigned long) * width * height); + if (!me->pixels) + { + free(me); + return NULL; + } me->rows = (unsigned long **) malloc(sizeof(unsigned long *) * height); - if (!me->pixels || !me->rows) + if (!me->rows) { + free(me->pixels); free(me); return NULL; } === modified file 'src/trace/potrace/potracelib.cpp' --- src/trace/potrace/potracelib.cpp 2009-12-23 15:38:43 +0000 +++ src/trace/potrace/potracelib.cpp 2012-02-16 12:59:31 +0000 @@ -4,7 +4,7 @@ #include #include -#include +#include #include "potracelib.h" #include "inkscape-version.h" === modified file 'src/tweak-context.cpp' --- src/tweak-context.cpp 2010-09-12 19:44:58 +0000 +++ src/tweak-context.cpp 2012-02-16 12:59:31 +0000 @@ -22,7 +22,7 @@ #include "svg/svg.h" #include "display/canvas-bpath.h" -#include +#include #include "macros.h" #include "document.h" #include "selection.h" === modified file 'src/ui/cache/svg_preview_cache.cpp' --- src/ui/cache/svg_preview_cache.cpp 2009-12-23 15:38:43 +0000 +++ src/ui/cache/svg_preview_cache.cpp 2012-02-16 12:59:31 +0000 @@ -19,7 +19,7 @@ # include "config.h" #endif -#include +#include #include #include "sp-namedview.h" #include "selection.h" === modified file 'src/ui/clipboard.cpp' --- src/ui/clipboard.cpp 2010-09-12 19:44:58 +0000 +++ src/ui/clipboard.cpp 2012-02-16 12:59:31 +0000 @@ -246,9 +246,7 @@ if (tools_isactive(desktop, TOOLS_TEXT)) { _discardInternalClipboard(); Glib::ustring selected_text = sp_text_get_selected_text(desktop->event_context); - if (!selected_text.empty()) { - _clipboard->set_text(selected_text); - } + _clipboard->set_text(selected_text); if (_text_style) { sp_repr_css_attr_unref(_text_style); _text_style = NULL; === modified file 'src/ui/dialog/desktop-tracker.h' --- src/ui/dialog/desktop-tracker.h 2011-07-10 11:35:30 +0000 +++ src/ui/dialog/desktop-tracker.h 2012-02-16 12:59:31 +0000 @@ -13,7 +13,7 @@ #include #include -#include +#include typedef struct _GtkWidget GtkWidget; class SPDesktop; === modified file 'src/ui/dialog/dialog-manager.h' --- src/ui/dialog/dialog-manager.h 2009-12-23 15:38:43 +0000 +++ src/ui/dialog/dialog-manager.h 2012-02-16 12:59:31 +0000 @@ -14,7 +14,7 @@ #ifndef INKSCAPE_UI_DIALOG_MANAGER_H #define INKSCAPE_UI_DIALOG_MANAGER_H -#include +#include #include "dialog.h" #include === modified file 'src/ui/dialog/document-properties.cpp' --- src/ui/dialog/document-properties.cpp 2011-02-01 12:53:34 +0000 +++ src/ui/dialog/document-properties.cpp 2012-02-16 12:59:31 +0000 @@ -1,5 +1,6 @@ -/** @file - * @brief Document properties dialog, Gtkmm-style +/** + * @file + * Document properties dialog, Gtkmm-style. */ /* Authors: * bulia byak @@ -8,6 +9,7 @@ * Jon Phillips * Ralf Stephan (Gtkmm) * Diederik van Lierop + * Jon A. Cruz * * Copyright (C) 2006-2008 Johan Engelen * Copyright (C) 2000 - 2008 Authors @@ -40,11 +42,9 @@ #include "xml/node-event-vector.h" #include "xml/repr.h" -#if ENABLE_LCMS -#include -//#include "color-profile-fns.h" +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) #include "color-profile.h" -#endif // ENABLE_LCMS +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) using std::pair; @@ -126,9 +126,9 @@ build_guides(); build_gridspage(); build_snap(); -#if ENABLE_LCMS +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) build_cms(); -#endif // ENABLE_LCMS +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) build_scripting(); _grids_button_new.signal_clicked().connect(sigc::mem_fun(*this, &DocumentProperties::onNewGrid)); @@ -308,57 +308,25 @@ attach_all(_page_snap.table(), array, G_N_ELEMENTS(array)); } -#if ENABLE_LCMS -static void -lcms_profile_get_name (cmsHPROFILE profile, const gchar **name) -{ - if (profile) - { - *name = cmsTakeProductDesc (profile); - - if (! *name) - *name = cmsTakeProductName (profile); - - if (*name && ! g_utf8_validate (*name, -1, NULL)) - *name = _("(invalid UTF-8 string)"); - } - else - { - *name = _("None"); - } -} - -void -DocumentProperties::populate_available_profiles(){ - Glib::ListHandle children = _menu.get_children(); - for ( Glib::ListHandle::iterator it2 = children.begin(); it2 != children.end(); ++it2 ) { - _menu.remove(**it2); - delete(*it2); - } - - std::list files = ColorProfile::getProfileFiles(); - for ( std::list::const_iterator it = files.begin(); it != files.end(); ++it ) { - cmsHPROFILE hProfile = cmsOpenProfileFromFile(it->c_str(), "r"); - if ( hProfile ){ - const gchar* name = 0; - lcms_profile_get_name(hProfile, &name); - Gtk::MenuItem* mi = manage(new Gtk::MenuItem()); - mi->set_data("filepath", g_strdup(it->c_str())); - mi->set_data("name", g_strdup(name)); - Gtk::HBox *hbox = manage(new Gtk::HBox()); - hbox->show(); - Gtk::Label* lbl = manage(new Gtk::Label(name)); - lbl->show(); - hbox->pack_start(*lbl, true, true, 0); - mi->add(*hbox); - mi->show_all(); - _menu.append(*mi); -// g_free((void*)name); - cmsCloseProfile(hProfile); - } - } - - _menu.show_all(); +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) +/// Populates the available color profiles combo box +void DocumentProperties::populate_available_profiles(){ +#if WITH_GTKMM_2_24 + _combo_avail.remove_all(); // Clear any existing items in the combo box +#else + _combo_avail.clear_items(); // Clear any existing items in the combo box +#endif + + // Iterate through the list of profiles and add the name to the combo box. + std::vector > pairs = ColorProfile::getProfileFilesWithNames(); + for ( std::vector >::const_iterator it = pairs.begin(); it != pairs.end(); ++it ) { + Glib::ustring name = it->second; +#if WITH_GTKMM_2_24 + _combo_avail.append(name); +#else + _combo_avail.append_text(name); +#endif + } } /** @@ -394,8 +362,8 @@ } } -void -DocumentProperties::linkSelectedProfile() +/// Links the selected color profile in the combo box to the document +void DocumentProperties::linkSelectedProfile() { //store this profile in the SVG document (create element in the XML) // TODO remove use of 'active' desktop @@ -403,17 +371,26 @@ if (!desktop){ g_warning("No active desktop"); } else { - if (!_menu.get_active()){ + // Find the index of the currently-selected row in the color profiles combobox + int row = _combo_avail.get_active_row_number(); + + if (row == -1){ g_warning("No color profile available."); return; } + + // Read the filename and description from the list of available profiles + std::vector > pairs = ColorProfile::getProfileFilesWithNames(); + Glib::ustring file = pairs[row].first; + Glib::ustring name = pairs[row].second; + Inkscape::XML::Document *xml_doc = sp_document_repr_doc(desktop->doc()); Inkscape::XML::Node *cprofRepr = xml_doc->createElement("svg:color-profile"); - gchar* tmp = static_cast(_menu.get_active()->get_data("name")); + gchar* tmp = g_strdup(name.c_str()); Glib::ustring nameStr = tmp ? tmp : "profile"; // TODO add some auto-numbering to avoid collisions sanitizeName(nameStr); cprofRepr->setAttribute("name", nameStr.c_str()); - cprofRepr->setAttribute("xlink:href", (gchar*) _menu.get_active()->get_data("filepath")); + cprofRepr->setAttribute("xlink:href", (gchar*) file.c_str()); // Checks whether there is a defs element. Creates it when needed Inkscape::XML::Node *defsRepr = sp_repr_lookup_name(xml_doc, "svg:defs"); @@ -440,7 +417,9 @@ { _LinkedProfilesListStore->clear(); const GSList *current = sp_document_get_resource_list( SP_ACTIVE_DOCUMENT, "iccprofile" ); - if (current) _emb_profiles_observer.set(SP_OBJECT(current->data)->parent); + if (current) { + _emb_profiles_observer.set(SP_OBJECT(current->data)->parent); + } while ( current ) { SPObject* obj = SP_OBJECT(current->data); Inkscape::ColorProfile* prof = reinterpret_cast(obj); @@ -510,14 +489,21 @@ populate_linked_profiles_box(); } -void -DocumentProperties::build_cms() +void DocumentProperties::build_cms() { _page_cms.show(); +#if WITH_GTKMM_2_22 + Gtk::Label *label_link= manage (new Gtk::Label("", Gtk::ALIGN_START)); +#else Gtk::Label *label_link= manage (new Gtk::Label("", Gtk::ALIGN_LEFT)); +#endif label_link->set_markup (_("Linked Color Profiles:")); +#if WITH_GTKMM_2_22 + Gtk::Label *label_avail = manage (new Gtk::Label("", Gtk::ALIGN_START)); +#else Gtk::Label *label_avail = manage (new Gtk::Label("", Gtk::ALIGN_LEFT)); +#endif label_avail->set_markup (_("Available Color Profiles:")); _link_btn.set_label(_("Link Profile")); @@ -544,10 +530,6 @@ populate_available_profiles(); - _combo_avail.set_menu(_menu); - _combo_avail.set_history(0); - _combo_avail.show_all(); - //# Set up the Linked Profiles combo box _LinkedProfilesListStore = Gtk::ListStore::create(_LinkedProfilesListColumns); _LinkedProfilesList.set_model(_LinkedProfilesListStore); @@ -574,10 +556,9 @@ } _emb_profiles_observer.signal_changed().connect(sigc::mem_fun(*this, &DocumentProperties::populate_linked_profiles_box)); } -#endif // ENABLE_LCMS +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) -void -DocumentProperties::build_scripting() +void DocumentProperties::build_scripting() { _page_scripting.show(); @@ -620,10 +601,10 @@ _add_btn.signal_clicked().connect(sigc::mem_fun(*this, &DocumentProperties::addExternalScript)); -#if ENABLE_LCMS +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) _ExternalScriptsList.signal_button_release_event().connect_notify(sigc::mem_fun(*this, &DocumentProperties::external_scripts_list_button_release)); scripting_create_popup_menu(_ExternalScriptsList, sigc::mem_fun(*this, &DocumentProperties::removeExternalScript)); -#endif // ENABLE_LCMS +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) //TODO: review this observers code: const GSList *current = sp_document_get_resource_list( SP_ACTIVE_DOCUMENT, "script" ); @@ -826,10 +807,10 @@ //------------------------------------------------Color Management page -#if ENABLE_LCMS +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) populate_linked_profiles_box(); populate_available_profiles(); -#endif // ENABLE_LCMS +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) _wr.setUpdating (false); } === modified file 'src/ui/dialog/document-properties.h' --- src/ui/dialog/document-properties.h 2011-07-10 11:35:30 +0000 +++ src/ui/dialog/document-properties.h 2012-02-16 12:59:31 +0000 @@ -17,6 +17,8 @@ #include #include #include // +#include +#include #include #include @@ -47,21 +49,21 @@ void build_guides(); void build_snap(); void build_gridspage(); -#if ENABLE_LCMS +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) void build_cms(); -#endif // ENABLE_LCMS +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) void build_scripting(); void init(); virtual void on_response (int); -#if ENABLE_LCMS +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) void populate_available_profiles(); void populate_linked_profiles_box(); void linkSelectedProfile(); void removeSelectedProfile(); void linked_profiles_list_button_release(GdkEventButton* event); void cms_create_popup_menu(Gtk::Widget& parent, sigc::slot rem); -#endif // ENABLE_LCMS +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) void external_scripts_list_button_release(GdkEventButton* event); void populate_external_scripts_box(); @@ -103,8 +105,7 @@ UI::Widget::ToleranceSlider _rsu_sn; UI::Widget::ToleranceSlider _rsu_gusn; //--------------------------------------------------------------- - Gtk::Menu _menu; - Gtk::OptionMenu _combo_avail; + Gtk::ComboBoxText _combo_avail; Gtk::Button _link_btn; class LinkedProfilesColumns : public Gtk::TreeModel::ColumnRecord { === modified file 'src/ui/dialog/filedialogimpl-win32.cpp' --- src/ui/dialog/filedialogimpl-win32.cpp 2011-07-10 11:35:30 +0000 +++ src/ui/dialog/filedialogimpl-win32.cpp 2012-02-16 12:59:31 +0000 @@ -1534,7 +1534,18 @@ // leaving a trailing backslash on the directory name leads to the infamous // double-directory bug on win32 if (len != 0 && udir[len - 1] == '\\') udir.erase(len - 1); - myFilename = udir.substr(0, udir.find_last_of( '.' ) ); // this removes the extension, or actually, removes everything past the last dot (hopefully this is what most people want) + + // Remove the extension: remove everything past the last period found past the last slash + size_t last_slash_index = udir.find_last_of( '\\' ); + size_t last_period_index = udir.find_last_of( '.' ); + if (last_period_index > last_slash_index) { + myFilename = udir.substr(0, last_period_index ); + } + + // remove one slash if double + if (1 + myFilename.find("\\\\",2)) { + myFilename.replace(myFilename.find("\\\\",2), 1, ""); + } } } === modified file 'src/ui/dialog/glyphs.cpp' --- src/ui/dialog/glyphs.cpp 2011-07-10 11:35:30 +0000 +++ src/ui/dialog/glyphs.cpp 2012-02-16 12:59:31 +0000 @@ -352,7 +352,7 @@ GtkWidget *fontsel = sp_font_selector_new(); fsel = SP_FONT_SELECTOR(fontsel); sp_font_selector_set_font(fsel, sp_font_selector_get_font(fsel), 12.0); - + gtk_widget_set_size_request (fontsel, 0, 150); g_signal_connect( G_OBJECT(fontsel), "font_set", G_CALLBACK(fontChangeCB), this ); table->attach(*Gtk::manage(Glib::wrap(fontsel)), === modified file 'src/ui/dialog/icon-preview.cpp' --- src/ui/dialog/icon-preview.cpp 2010-09-12 19:44:58 +0000 +++ src/ui/dialog/icon-preview.cpp 2012-02-16 12:59:31 +0000 @@ -16,7 +16,7 @@ #endif #include -#include +#include #include #include #include === modified file 'src/ui/dialog/inkscape-preferences.cpp' --- src/ui/dialog/inkscape-preferences.cpp 2011-07-10 11:35:30 +0000 +++ src/ui/dialog/inkscape-preferences.cpp 2012-02-16 12:59:31 +0000 @@ -1,5 +1,6 @@ -/** @file - * @brief Inkscape Preferences dialog - implementation +/** + * @file + * Inkscape Preferences dialog - implementation. */ /* Authors: * Carl Hetherington @@ -7,7 +8,7 @@ * Johan Engelen * Bruno Dilly * - * Copyright (C) 2004-2007 Authors + * Copyright (C) 2004-2012 Authors * * Released under GNU GPL. Read the file 'COPYING' for more information. */ @@ -40,7 +41,7 @@ #include "ui/widget/style-swatch.h" #include "display/nr-filter-gaussian.h" #include "display/nr-filter-types.h" -#include "color-profile-fns.h" +#include "cms-system.h" #include "color-profile.h" #include "display/canvas-grid.h" #include "path-prefix.h" @@ -61,6 +62,7 @@ using Inkscape::UI::Widget::PrefRadioButton; using Inkscape::UI::Widget::PrefSpinButton; using Inkscape::UI::Widget::StyleSwatch; +using Inkscape::CMSSystem; InkscapePreferences::InkscapePreferences() @@ -838,7 +840,7 @@ this->AddPage(_page_importexport, _("Import/Export"), PREFS_PAGE_IMPORTEXPORT); } -#if ENABLE_LCMS +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) static void profileComboChanged( Gtk::ComboBoxText* combo ) { Inkscape::Preferences *prefs = Inkscape::Preferences::get(); @@ -848,7 +850,7 @@ } else { Glib::ustring active = combo->get_active_text(); - Glib::ustring path = get_path_for_profile(active); + Glib::ustring path = CMSSystem::getPathForProfile(active); if ( !path.empty() ) { prefs->setString("/options/displayprofile/uri", path); } @@ -858,7 +860,7 @@ static void proofComboChanged( Gtk::ComboBoxText* combo ) { Glib::ustring active = combo->get_active_text(); - Glib::ustring path = get_path_for_profile(active); + Glib::ustring path = CMSSystem::getPathForProfile(active); if ( !path.empty() ) { Inkscape::Preferences *prefs = Inkscape::Preferences::get(); @@ -878,7 +880,7 @@ prefs->setString("/options/softproof/gamutcolor", tmp); g_free(tmp); } -#endif // ENABLE_LCMS +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) void InkscapePreferences::initPageCMS() { @@ -888,16 +890,16 @@ Glib::ustring intentLabels[numIntents] = {_("Perceptual"), _("Relative Colorimetric"), _("Saturation"), _("Absolute Colorimetric")}; int intentValues[numIntents] = {0, 1, 2, 3}; -#if !ENABLE_LCMS +#if !defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) Gtk::Label* lbl = new Gtk::Label(_("(Note: Color management has been disabled in this build)")); _page_cms.add_line( false, "", *lbl, "", "", true); -#endif // !ENABLE_LCMS +#endif // !defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) _page_cms.add_group_header( _("Display adjustment")); Glib::ustring tmpStr; - std::list sources = ColorProfile::getBaseProfileDirs(); - for ( std::list::const_iterator it = sources.begin(); it != sources.end(); ++it ) { + std::vector sources = ColorProfile::getBaseProfileDirs(); + for ( std::vector::const_iterator it = sources.begin(); it != sources.end(); ++it ) { gchar* part = g_strdup_printf( "\n%s", it->c_str() ); tmpStr += part; g_free(part); @@ -963,17 +965,25 @@ #endif // !defined(cmsFLAGS_PRESERVEBLACK) -#if ENABLE_LCMS +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) { - std::vector names = ::Inkscape::colorprofile_get_display_names(); + std::vector names = ::Inkscape::CMSSystem::getDisplayNames(); Glib::ustring current = prefs->getString( "/options/displayprofile/uri" ); gint index = 0; +#if WITH_GTKMM_2_24 + _cms_display_profile.append(_("")); +#else _cms_display_profile.append_text(_("")); +#endif index++; for ( std::vector::iterator it = names.begin(); it != names.end(); ++it ) { +#if WITH_GTKMM_2_24 + _cms_display_profile.append( *it ); +#else _cms_display_profile.append_text( *it ); - Glib::ustring path = get_path_for_profile(*it); +#endif + Glib::ustring path = CMSSystem::getPathForProfile(*it); if ( !path.empty() && path == current ) { _cms_display_profile.set_active(index); } @@ -983,12 +993,16 @@ _cms_display_profile.set_active(0); } - names = ::Inkscape::colorprofile_get_softproof_names(); + names = ::Inkscape::CMSSystem::getSoftproofNames(); current = prefs->getString("/options/softproof/uri"); index = 0; for ( std::vector::iterator it = names.begin(); it != names.end(); ++it ) { +#if WITH_GTKMM_2_24 + _cms_proof_profile.append( *it ); +#else _cms_proof_profile.append_text( *it ); - Glib::ustring path = get_path_for_profile(*it); +#endif + Glib::ustring path = CMSSystem::getPathForProfile(*it); if ( !path.empty() && path == current ) { _cms_proof_profile.set_active(index); } @@ -1012,7 +1026,7 @@ _cms_proof_profile.set_sensitive( false ); _cms_proof_blackpoint.set_sensitive( false ); _cms_proof_preserveblack.set_sensitive( false ); -#endif // ENABLE_LCMS +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) this->AddPage(_page_cms, _("Color management"), PREFS_PAGE_CMS); } @@ -1402,6 +1416,7 @@ } _misc_info.set_editable(false); _misc_info_scroll.add(_misc_info); + _misc_info_scroll.set_size_request(0, 150); _page_misc.add_line( false, _("System info"), _misc_info_scroll, "", _("General system information"), true); this->AddPage(_page_misc, _("Misc"), PREFS_PAGE_MISC); === modified file 'src/ui/dialog/input.cpp' --- src/ui/dialog/input.cpp 2011-02-01 12:53:34 +0000 +++ src/ui/dialog/input.cpp 2012-02-16 12:59:31 +0000 @@ -544,8 +544,9 @@ treeScroller.set_policy(Gtk::POLICY_AUTOMATIC, Gtk::POLICY_AUTOMATIC); treeScroller.add(tree); - split2.pack1(testFrame); - split2.pack2(frame2); + treeScroller.set_size_request(50, 0); + split2.pack1(testFrame, false, false); + split2.pack2(frame2, true, true); splitter.pack1(treeScroller); splitter.pack2(split2); @@ -696,6 +697,7 @@ detailScroller.set_policy(Gtk::POLICY_AUTOMATIC, Gtk::POLICY_AUTOMATIC); detailScroller.add(devDetails); frame2.add(detailScroller); + frame2.set_size_request(0, 60); //- 16x16/devices // gnome-dev-mouse-optical === modified file 'src/ui/dialog/layers.cpp' --- src/ui/dialog/layers.cpp 2011-07-10 11:35:30 +0000 +++ src/ui/dialog/layers.cpp 2012-02-16 12:59:31 +0000 @@ -616,6 +616,13 @@ _scroller.add( _tree ); _scroller.set_policy( Gtk::POLICY_AUTOMATIC, Gtk::POLICY_AUTOMATIC ); _scroller.set_shadow_type(Gtk::SHADOW_IN); + Gtk:: Requisition sreq; + _scroller.size_request(sreq); + int minHeight = 70; + if (sreq.height < minHeight) { + // Set a min height to see the layers when used with Ubuntu liboverlay-scrollbar + _scroller.set_size_request(sreq.width, minHeight); + } _watching.push_back( &_compositeSettings ); === modified file 'src/ui/dialog/livepatheffect-editor.cpp' --- src/ui/dialog/livepatheffect-editor.cpp 2010-09-12 19:44:58 +0000 +++ src/ui/dialog/livepatheffect-editor.cpp 2012-02-16 12:59:31 +0000 @@ -93,6 +93,7 @@ scrolled_window.add(effectlist_view); //Only show the scrollbars when they are necessary: scrolled_window.set_policy(Gtk::POLICY_AUTOMATIC, Gtk::POLICY_AUTOMATIC); + scrolled_window.set_size_request(0, 50); effectapplication_hbox.set_spacing(4); effectcontrol_vbox.set_spacing(4); === modified file 'src/ui/dialog/messages.cpp' --- src/ui/dialog/messages.cpp 2009-12-23 15:38:43 +0000 +++ src/ui/dialog/messages.cpp 2012-02-16 12:59:31 +0000 @@ -14,8 +14,6 @@ #endif #include "messages.h" - - #include "verbs.h" namespace Inkscape { @@ -44,11 +42,15 @@ * Constructor */ Messages::Messages() - : UI::Widget::Panel("", "/dialogs/messages", SP_VERB_DIALOG_DEBUG) + : UI::Widget::Panel("", "/dialogs/messages", SP_VERB_DIALOG_DEBUG), + buttonClear(_("_Clear"), _("Clear log messages")), + checkCapture(_("Capture log messages"), _("Capture log messages")) { Gtk::Box *contents = _getContents(); - //## Add a menu for clear() + /* + * Menu replaced with buttons + * menuBar.items().push_back( Gtk::Menu_Helpers::MenuElem(_("_File"), fileMenu) ); fileMenu.items().push_back( Gtk::Menu_Helpers::MenuElem(_("_Clear"), sigc::mem_fun(*this, &Messages::clear) ) ); @@ -57,7 +59,7 @@ fileMenu.items().push_back( Gtk::Menu_Helpers::MenuElem(_("Release log messages"), sigc::mem_fun(*this, &Messages::releaseLogMessages) ) ); contents->pack_start(menuBar, Gtk::PACK_SHRINK); - + */ //### Set up the text widget messageText.set_editable(false); @@ -65,13 +67,28 @@ textScroll.set_policy(Gtk::POLICY_ALWAYS, Gtk::POLICY_ALWAYS); contents->pack_start(textScroll); + buttonBox.set_spacing(6); + buttonBox.pack_start(checkCapture, true, true, 6); + buttonBox.pack_end(buttonClear, false, false, 10); + contents->pack_start(buttonBox, Gtk::PACK_SHRINK); + // sick of this thing shrinking too much set_size_request(400, 300); show_all_children(); message(_("Ready.")); - message(_("Enable log display by setting dialogs.debug 'redirect' attribute to 1 in preferences.xml")); + + buttonClear.signal_clicked().connect(sigc::mem_fun(*this, &Messages::clear)); + checkCapture.signal_clicked().connect(sigc::mem_fun(*this, &Messages::toggleCapture)); + + /* + * TODO - Setting this preference doesn't capture messages that the user can see. + * Inkscape creates an instance of a dialog on startup and sends messages there, but when the user + * opens the dialog View > Messages the DialogManager creates a new instance of this class that is not capturing messages. + * + * message(_("Enable log display by setting dialogs.debug 'redirect' attribute to 1 in preferences.xml")); + */ handlerDefault = 0; handlerGlibmm = 0; @@ -79,6 +96,7 @@ handlerPangomm = 0; handlerGdkmm = 0; handlerGtkmm = 0; + } Messages::~Messages() @@ -111,6 +129,14 @@ } +void Messages::toggleCapture() +{ + if (checkCapture.get_active()) { + captureLogMessages(); + } else { + releaseLogMessages(); + } +} void Messages::captureLogMessages() { @@ -145,7 +171,7 @@ handlerGtkmm = g_log_set_handler("gtkmm", flags, dialogLoggingCallback, (gpointer)this); } - message((char*)"log capture started"); + message(_("Log capture started.")); } void Messages::releaseLogMessages() @@ -174,7 +200,7 @@ g_log_remove_handler("gtkmm", handlerGtkmm); handlerGtkmm = 0; } - message((char*)"log capture discontinued"); + message(_("Log capture stopped.")); } } //namespace Dialog === modified file 'src/ui/dialog/messages.h' --- src/ui/dialog/messages.h 2009-12-23 15:38:43 +0000 +++ src/ui/dialog/messages.h 2012-02-16 12:59:31 +0000 @@ -58,11 +58,16 @@ */ void releaseLogMessages(); + void toggleCapture(); + protected: - Gtk::MenuBar menuBar; - Gtk::Menu fileMenu; + //Gtk::MenuBar menuBar; + //Gtk::Menu fileMenu; Gtk::ScrolledWindow textScroll; Gtk::TextView messageText; + Gtk::HBox buttonBox; + Gtk::Button buttonClear; + Gtk::CheckButton checkCapture; //Handler ID's guint handlerDefault; === modified file 'src/ui/tool/control-point-selection.cpp' --- src/ui/tool/control-point-selection.cpp 2011-02-01 12:53:34 +0000 +++ src/ui/tool/control-point-selection.cpp 2012-02-16 12:59:31 +0000 @@ -572,7 +572,7 @@ signal_commit.emit(ce); } -bool ControlPointSelection::event(GdkEvent *event) +bool ControlPointSelection::event(SPEventContext *event_context, GdkEvent *event) { // implement generic event handling that should apply for all control point selections here; // for example, keyboard moves and transformations. This way this functionality doesn't need === modified file 'src/ui/tool/control-point-selection.h' --- src/ui/tool/control-point-selection.h 2011-07-10 11:35:30 +0000 +++ src/ui/tool/control-point-selection.h 2012-02-16 12:59:31 +0000 @@ -89,7 +89,7 @@ void invertSelection(); void spatialGrow(SelectableControlPoint *origin, int dir); - virtual bool event(GdkEvent *); + virtual bool event(SPEventContext *, GdkEvent *); void transform(Geom::Matrix const &m); void align(Geom::Dim2 d); === modified file 'src/ui/tool/control-point.cpp' --- src/ui/tool/control-point.cpp 2011-02-01 12:53:34 +0000 +++ src/ui/tool/control-point.cpp 2012-02-16 12:59:31 +0000 @@ -18,6 +18,8 @@ #include "event-context.h" #include "message-context.h" #include "preferences.h" +#include "snap-preferences.h" +#include "sp-namedview.h" #include "ui/tool/control-point.h" #include "ui/tool/event-utils.h" @@ -295,11 +297,11 @@ // re-routes events into the virtual function int ControlPoint::_event_handler(SPCanvasItem */*item*/, GdkEvent *event, ControlPoint *point) { - return point->_eventHandler(event) ? TRUE : FALSE; + return point->_eventHandler(point->_desktop->event_context, event) ? TRUE : FALSE; } // main event callback, which emits all other callbacks. -bool ControlPoint::_eventHandler(GdkEvent *event) +bool ControlPoint::_eventHandler(SPEventContext *event_context, GdkEvent *event) { // NOTE the static variables below are shared for all points! // TODO handle clicks and drags from other buttons too @@ -316,7 +318,7 @@ { case GDK_BUTTON_PRESS: next_release_doubleclick = 0; - if (event->button.button == 1) { + if (event->button.button == 1 && !event_context->space_panning) { // 1st mouse button click. internally, start dragging, but do not emit signals // or change position until drag tolerance is exceeded. _drag_event_origin[Geom::X] = event->button.x; @@ -392,11 +394,8 @@ _event_grab = false; if (_drag_initiated) { + // it is the end of a drag sp_canvas_end_forced_full_redraws(_desktop->canvas); - } - - if (_drag_initiated) { - // it is the end of a drag _drag_initiated = false; ungrabbed(&event->button); return true; @@ -433,8 +432,49 @@ break; // update tips on modifier state change - // TODO add ESC keybinding as drag cancel case GDK_KEY_PRESS: + // ignore Escape if this is not a drag + if (_drag_initiated && get_group0_keyval(&event->key) == GDK_Escape) { + + // temporarily disable snapping - we might snap to a different place than we were initially + sp_event_context_discard_delayed_snap_event(_desktop->event_context); + SnapPreferences &snapprefs = _desktop->namedview->snap_manager.snapprefs; + bool snap_save = snapprefs.getSnapEnabledGlobally(); + snapprefs.setSnapEnabledGlobally(false); + + Geom::Point new_pos = _drag_origin; + + // make a fake event for dragging + // ASSUMPTION: dragging a point without modifiers will never prevent us from moving it + // to its original position + GdkEventMotion fake; + fake.type = GDK_MOTION_NOTIFY; + fake.window = event->key.window; + fake.send_event = event->key.send_event; + fake.time = event->key.time; + fake.x = 0; // not used in handlers (and shouldn't be) + fake.y = 0; // not used in handlers (and shouldn't be) + fake.axes = NULL; + fake.state = 0; // unconstrained drag + fake.is_hint = FALSE; + fake.device = NULL; + fake.x_root = -1; // not used in handlers (and shouldn't be) + fake.y_root = -1; // can be used as a flag to check for cancelled drag + + dragged(new_pos, &fake); + + sp_canvas_item_ungrab(_canvas_item, event->key.time); + _clearMouseover(); // this will also reset state to normal + sp_canvas_end_forced_full_redraws(_desktop->canvas); + _event_grab = false; + _drag_initiated = false; + + ungrabbed(NULL); // ungrabbed handlers can handle a NULL event + + snapprefs.setSnapEnabledGlobally(snap_save); + return true; + } + // fall through if this was not Escape case GDK_KEY_RELEASE: if (mouseovered_point != this) return false; if (_drag_initiated) { @@ -559,6 +599,11 @@ g_object_set(_canvas_item, "fill_color", colors.fill, "stroke_color", colors.stroke, NULL); } +bool ControlPoint::_is_drag_cancelled(GdkEventMotion *event) +{ + return !event || event->x_root == -1; +} + // dummy implementations for handlers // they are here to avoid unused param warnings bool ControlPoint::grabbed(GdkEventMotion *) { return false; } === modified file 'src/ui/tool/control-point.h' --- src/ui/tool/control-point.h 2011-07-10 11:35:30 +0000 +++ src/ui/tool/control-point.h 2012-02-16 12:59:31 +0000 @@ -92,7 +92,7 @@ static Glib::ustring format_tip(char const *format, ...) G_GNUC_PRINTF(1,2); // temporarily public, until snap delay is refactored a little - virtual bool _eventHandler(GdkEvent *event); + virtual bool _eventHandler(SPEventContext *event_context, GdkEvent *event); protected: ControlPoint(SPDesktop *d, Geom::Point const &initial_pos, Gtk::AnchorType anchor, @@ -158,9 +158,10 @@ ColorSet *_cset; ///< Colors used to represent the point State _state; - static int const _grab_event_mask; static Geom::Point const &_last_click_event_point() { return _drag_event_origin; } static Geom::Point const &_last_drag_origin() { return _drag_origin; } + static bool _is_drag_cancelled(GdkEventMotion *event); + static int const _grab_event_mask; private: ControlPoint(ControlPoint const &other); === modified file 'src/ui/tool/curve-drag-point.cpp' --- src/ui/tool/curve-drag-point.cpp 2010-09-12 19:44:58 +0000 +++ src/ui/tool/curve-drag-point.cpp 2012-02-16 12:59:31 +0000 @@ -34,6 +34,7 @@ // to be declared as a friend bool CurveDragPoint::_drags_stroke = false; +bool CurveDragPoint::_segment_was_degenerate = false; CurveDragPoint::CurveDragPoint(PathManipulator &pm) : ControlPoint(pm._multi_path_manipulator._path_data.node_data.desktop, Geom::Point(), @@ -44,14 +45,14 @@ setVisible(false); } -bool CurveDragPoint::_eventHandler(GdkEvent *event) +bool CurveDragPoint::_eventHandler(SPEventContext *event_context, GdkEvent *event) { // do not process any events when the manipulator is empty if (_pm.empty()) { setVisible(false); return false; } - return ControlPoint::_eventHandler(event); + return ControlPoint::_eventHandler(event_context, event); } bool CurveDragPoint::grabbed(GdkEventMotion */*event*/) @@ -61,6 +62,7 @@ // move the handles to 1/3 the length of the segment for line segments if (first->front()->isDegenerate() && second->back()->isDegenerate()) { + _segment_was_degenerate = true; // delta is a vector equal 1/3 of distance from first to second Geom::Point delta = (second->position() - first->position()) / 3.0; @@ -68,13 +70,24 @@ second->back()->move(second->back()->position() - delta); _pm.update(); + } else { + _segment_was_degenerate = false; } return false; } -void CurveDragPoint::dragged(Geom::Point &new_pos, GdkEventMotion *) +void CurveDragPoint::dragged(Geom::Point &new_pos, GdkEventMotion *event) { NodeList::iterator second = first.next(); + + // special cancel handling - retract handles when if the segment was degenerate + if (_is_drag_cancelled(event) && _segment_was_degenerate) { + first->front()->retract(); + second->back()->retract(); + _pm.update(); + return; + } + // Magic Bezier Drag Equations follow! // "weight" describes how the influence of the drag should be distributed // among the handles; 0 = front handle only, 1 = back handle only. === modified file 'src/ui/tool/curve-drag-point.h' --- src/ui/tool/curve-drag-point.h 2010-09-12 19:44:58 +0000 +++ src/ui/tool/curve-drag-point.h 2012-02-16 12:59:31 +0000 @@ -27,7 +27,7 @@ void setSize(double sz) { _setSize(sz); } void setTimeValue(double t) { _t = t; } void setIterator(NodeList::iterator i) { first = i; } - virtual bool _eventHandler(GdkEvent *event); + virtual bool _eventHandler(SPEventContext *event_context, GdkEvent *event); protected: virtual Glib::ustring _getTip(unsigned state); virtual void dragged(Geom::Point &, GdkEventMotion *); @@ -42,6 +42,7 @@ PathManipulator &_pm; NodeList::iterator first; static bool _drags_stroke; + static bool _segment_was_degenerate; static Geom::Point _stroke_drag_origin; }; === modified file 'src/ui/tool/manipulator.h' --- src/ui/tool/manipulator.h 2011-07-10 11:35:30 +0000 +++ src/ui/tool/manipulator.h 2012-02-16 12:59:31 +0000 @@ -18,6 +18,7 @@ #include #include #include +#include "event-context.h" class SPDesktop; namespace Inkscape { @@ -39,7 +40,7 @@ virtual ~Manipulator() {} /// Handle input event. Returns true if handled. - virtual bool event(GdkEvent *)=0; + virtual bool event(SPEventContext *, GdkEvent *)=0; protected: SPDesktop *const _desktop; }; @@ -137,9 +138,9 @@ } } - virtual bool event(GdkEvent *event) { + virtual bool event(SPEventContext *event_context, GdkEvent *event) { for (typename MapType::iterator i = _mmap.begin(); i != _mmap.end(); ++i) { - if ((*i).second->event(event)) return true; + if ((*i).second->event(event_context, event)) return true; } return false; } === modified file 'src/ui/tool/multi-path-manipulator.cpp' --- src/ui/tool/multi-path-manipulator.cpp 2011-02-01 12:53:34 +0000 +++ src/ui/tool/multi-path-manipulator.cpp 2012-02-16 12:59:31 +0000 @@ -533,7 +533,7 @@ //} } -bool MultiPathManipulator::event(GdkEvent *event) +bool MultiPathManipulator::event(SPEventContext *event_context, GdkEvent *event) { _tracker.event(event); guint key = 0; @@ -713,7 +713,7 @@ case GDK_MOTION_NOTIFY: combine_motion_events(_desktop->canvas, event->motion, 0); for (MapType::iterator i = _mmap.begin(); i != _mmap.end(); ++i) { - if (i->second->event(event)) return true; + if (i->second->event(event_context, event)) return true; } break; default: break; === modified file 'src/ui/tool/multi-path-manipulator.h' --- src/ui/tool/multi-path-manipulator.h 2011-07-10 11:35:30 +0000 +++ src/ui/tool/multi-path-manipulator.h 2012-02-16 12:59:31 +0000 @@ -38,7 +38,7 @@ public: MultiPathManipulator(PathSharedData &data, sigc::connection &chg); virtual ~MultiPathManipulator(); - virtual bool event(GdkEvent *event); + virtual bool event(SPEventContext *, GdkEvent *event); bool empty() { return _mmap.empty(); } unsigned size() { return _mmap.empty(); } === modified file 'src/ui/tool/node-tool.cpp' --- src/ui/tool/node-tool.cpp 2011-02-01 12:53:34 +0000 +++ src/ui/tool/node-tool.cpp 2012-02-16 12:59:31 +0000 @@ -443,9 +443,9 @@ InkNodeTool *nt = static_cast(event_context); static Inkscape::Preferences *prefs = Inkscape::Preferences::get(); - if (nt->_multipath->event(event)) return true; - if (nt->_selector->event(event)) return true; - if (nt->_selected_nodes->event(event)) return true; + if (nt->_multipath->event(event_context, event)) return true; + if (nt->_selector->event(event_context, event)) return true; + if (nt->_selected_nodes->event(event_context, event)) return true; switch (event->type) { === modified file 'src/ui/tool/node.cpp' --- src/ui/tool/node.cpp 2011-02-01 12:53:34 +0000 +++ src/ui/tool/node.cpp 2012-02-16 12:59:31 +0000 @@ -227,7 +227,7 @@ } } -bool Handle::_eventHandler(GdkEvent *event) +bool Handle::_eventHandler(SPEventContext *event_context, GdkEvent *event) { switch (event->type) { @@ -253,7 +253,7 @@ default: break; } - return ControlPoint::_eventHandler(event); + return ControlPoint::_eventHandler(event_context, event); } bool Handle::grabbed(GdkEventMotion *) @@ -340,13 +340,16 @@ void Handle::ungrabbed(GdkEventButton *event) { // hide the handle if it's less than dragtolerance away from the node - // TODO is this actually desired? - Inkscape::Preferences *prefs = Inkscape::Preferences::get(); - int drag_tolerance = prefs->getIntLimited("/options/dragtolerance/value", 0, 0, 100); + // however, never do this for cancelled drag / broken grab + // TODO is this actually a good idea? + if (event) { + Inkscape::Preferences *prefs = Inkscape::Preferences::get(); + int drag_tolerance = prefs->getIntLimited("/options/dragtolerance/value", 0, 0, 100); - Geom::Point dist = _desktop->d2w(_parent->position()) - _desktop->d2w(position()); - if (dist.length() <= drag_tolerance) { - move(_parent->position()); + Geom::Point dist = _desktop->d2w(_parent->position()) - _desktop->d2w(position()); + if (dist.length() <= drag_tolerance) { + move(_parent->position()); + } } // HACK: If the handle was dragged out, call parent's ungrabbed handler, @@ -770,7 +773,7 @@ } /** Customized event handler to catch scroll events needed for selection grow/shrink. */ -bool Node::_eventHandler(GdkEvent *event) +bool Node::_eventHandler(SPEventContext *event_context, GdkEvent *event) { int dir = 0; @@ -811,7 +814,7 @@ } bail_out: - return ControlPoint::_eventHandler(event); + return ControlPoint::_eventHandler(event_context, event); } // TODO Move this to 2Geom! === modified file 'src/ui/tool/node.h' --- src/ui/tool/node.h 2011-07-10 11:35:30 +0000 +++ src/ui/tool/node.h 2012-02-16 12:59:31 +0000 @@ -103,7 +103,7 @@ protected: Handle(NodeSharedData const &data, Geom::Point const &initial_pos, Node *parent); - virtual bool _eventHandler(GdkEvent *event); + virtual bool _eventHandler(SPEventContext *event_context, GdkEvent *event); virtual void dragged(Geom::Point &, GdkEventMotion *); virtual bool grabbed(GdkEventMotion *); virtual void ungrabbed(GdkEventButton *); @@ -150,7 +150,7 @@ static NodeType parse_nodetype(char x); static char const *node_type_to_localized_string(NodeType type); // temporarily public - virtual bool _eventHandler(GdkEvent *event); + virtual bool _eventHandler(SPEventContext *event_context, GdkEvent *event); protected: virtual void dragged(Geom::Point &, GdkEventMotion *); virtual bool grabbed(GdkEventMotion *); === modified file 'src/ui/tool/path-manipulator.cpp' --- src/ui/tool/path-manipulator.cpp 2011-02-01 12:53:34 +0000 +++ src/ui/tool/path-manipulator.cpp 2012-02-16 12:59:31 +0000 @@ -154,7 +154,7 @@ } /** Handle motion events to update the position of the curve drag point. */ -bool PathManipulator::event(GdkEvent *event) +bool PathManipulator::event(SPEventContext *event_context, GdkEvent *event) { if (empty()) return false; === modified file 'src/ui/tool/path-manipulator.h' --- src/ui/tool/path-manipulator.h 2011-02-01 12:53:34 +0000 +++ src/ui/tool/path-manipulator.h 2012-02-16 12:59:31 +0000 @@ -56,7 +56,7 @@ PathManipulator(MultiPathManipulator &mpm, SPPath *path, Geom::Matrix const &edit_trans, guint32 outline_color, Glib::ustring lpe_key); ~PathManipulator(); - virtual bool event(GdkEvent *); + virtual bool event(SPEventContext *, GdkEvent *); bool empty(); void writeXML(); === modified file 'src/ui/tool/selector.cpp' --- src/ui/tool/selector.cpp 2010-09-12 19:44:58 +0000 +++ src/ui/tool/selector.cpp 2012-02-16 12:59:31 +0000 @@ -41,12 +41,12 @@ gtk_object_destroy(_rubber); } SPDesktop *desktop() { return _desktop; } - bool event(GdkEvent *e) { - return _eventHandler(e); + bool event(SPEventContext *ec, GdkEvent *e) { + return _eventHandler(ec, e); } protected: - virtual bool _eventHandler(GdkEvent *event) { + virtual bool _eventHandler(SPEventContext *event_context, GdkEvent *event) { if (event->type == GDK_KEY_PRESS && shortcut_key(event->key) == GDK_Escape && sp_canvas_item_is_visible(_rubber)) { @@ -54,7 +54,7 @@ sp_canvas_item_hide(_rubber); return true; } - return ControlPoint::_eventHandler(event); + return ControlPoint::_eventHandler(event_context, event); } private: @@ -99,7 +99,7 @@ delete _dragger; } -bool Selector::event(GdkEvent *event) +bool Selector::event(SPEventContext *event_context, GdkEvent *event) { // The hidden control point will capture all events after it obtains the grab, // but it relies on this function to initiate it. If we pass only first button @@ -108,9 +108,9 @@ case GDK_BUTTON_PRESS: // Do not pass button presses other than left button to the control point. // This way middle click and right click can be handled in SPEventContext. - if (event->button.button == 1) { + if (event->button.button == 1 && !event_context->space_panning) { _dragger->setPosition(_desktop->w2d(event_point(event->motion))); - return _dragger->event(event); + return _dragger->event(event_context, event); } break; default: break; === modified file 'src/ui/tool/selector.h' --- src/ui/tool/selector.h 2010-09-12 19:44:58 +0000 +++ src/ui/tool/selector.h 2012-02-16 12:59:31 +0000 @@ -29,7 +29,7 @@ public: Selector(SPDesktop *d); virtual ~Selector(); - virtual bool event(GdkEvent *); + virtual bool event(SPEventContext *, GdkEvent *); sigc::signal signal_area; sigc::signal signal_point; === modified file 'src/ui/tool/transform-handle-set.cpp' --- src/ui/tool/transform-handle-set.cpp 2011-02-01 12:53:34 +0000 +++ src/ui/tool/transform-handle-set.cpp 2012-02-16 12:59:31 +0000 @@ -596,7 +596,7 @@ } } -bool TransformHandleSet::event(GdkEvent*) +bool TransformHandleSet::event(SPEventContext *, GdkEvent*) { return false; } === modified file 'src/ui/tool/transform-handle-set.h' --- src/ui/tool/transform-handle-set.h 2010-09-12 19:44:58 +0000 +++ src/ui/tool/transform-handle-set.h 2012-02-16 12:59:31 +0000 @@ -39,7 +39,7 @@ TransformHandleSet(SPDesktop *d, SPCanvasGroup *th_group); virtual ~TransformHandleSet(); - virtual bool event(GdkEvent *); + virtual bool event(SPEventContext *, GdkEvent *); bool visible() { return _visible; } Mode mode() { return _mode; } === modified file 'src/ui/widget/dock-item.cpp' --- src/ui/widget/dock-item.cpp 2011-02-01 12:53:34 +0000 +++ src/ui/widget/dock-item.cpp 2012-02-16 12:59:31 +0000 @@ -121,8 +121,8 @@ void DockItem::get_size(int& width, int& height) { - if (_window) { - _window->get_size(width, height); + if (getWindow()) { + getWindow()->get_size(width, height); } else { width = get_vbox()->get_width(); height = get_vbox()->get_height(); === modified file 'src/ui/widget/icon-widget.cpp' --- src/ui/widget/icon-widget.cpp 2009-12-23 15:38:43 +0000 +++ src/ui/widget/icon-widget.cpp 2012-02-16 12:59:31 +0000 @@ -14,7 +14,7 @@ # include #endif -#include +#include #include "icon-widget.h" namespace Inkscape { === modified file 'src/ui/widget/spin-slider.cpp' --- src/ui/widget/spin-slider.cpp 2010-09-12 19:44:58 +0000 +++ src/ui/widget/spin-slider.cpp 2012-02-16 12:59:31 +0000 @@ -10,7 +10,7 @@ * Released under GNU GPL. Read the file 'COPYING' for more information. */ -#include "glib/gstrfuncs.h" +#include "glib.h" #include "glibmm/i18n.h" #include "spin-slider.h" === modified file 'src/unclump.h' --- src/unclump.h 2009-12-23 15:38:43 +0000 +++ src/unclump.h 2012-02-16 12:59:31 +0000 @@ -11,7 +11,7 @@ #ifndef SEEN_DIALOGS_UNCLUMP_H #define SEEN_DIALOGS_UNCLUMP_H -#include +#include void unclump(GSList *items); === modified file 'src/uri.h' --- src/uri.h 2008-11-25 15:51:35 +0000 +++ src/uri.h 2012-02-16 12:59:31 +0000 @@ -14,7 +14,7 @@ #ifndef INKSCAPE_URI_H #define INKSCAPE_URI_H -#include +#include #include #include #include "bad-uri-exception.h" === modified file 'src/util/glib-list-iterators.h' --- src/util/glib-list-iterators.h 2008-11-25 15:51:35 +0000 +++ src/util/glib-list-iterators.h 2012-02-16 12:59:31 +0000 @@ -17,8 +17,7 @@ #include #include -#include "glib/gslist.h" -#include "glib/glist.h" +#include namespace Inkscape { === modified file 'src/util/share.cpp' --- src/util/share.cpp 2006-10-31 10:41:52 +0000 +++ src/util/share.cpp 2012-02-16 12:59:31 +0000 @@ -10,7 +10,7 @@ */ #include "util/share.h" -#include +#include namespace Inkscape { namespace Util { === modified file 'src/version.cpp' --- src/version.cpp 2008-11-25 15:51:35 +0000 +++ src/version.cpp 2012-02-16 12:59:31 +0000 @@ -12,7 +12,7 @@ */ #include -#include +#include #include "version.h" gboolean sp_version_from_string(const gchar *string, Inkscape::Version *version) === modified file 'src/version.h' --- src/version.h 2009-12-23 15:38:43 +0000 +++ src/version.h 2012-02-16 12:59:31 +0000 @@ -10,7 +10,7 @@ #ifndef SEEN_INKSCAPE_VERSION_H #define SEEN_INKSCAPE_VERSION_H -#include +#include #define SVG_VERSION "1.1" === modified file 'src/widgets/desktop-widget.cpp' --- src/widgets/desktop-widget.cpp 2011-07-10 11:35:30 +0000 +++ src/widgets/desktop-widget.cpp 2012-02-16 12:59:31 +0000 @@ -1,5 +1,3 @@ -#define __SP_DESKTOP_WIDGET_C__ - /** \file * Desktop widget implementation */ @@ -10,6 +8,7 @@ * Ralf Stephan * John Bintz * Johan Engelen + * Jon A. Cruz * * Copyright (C) 2007 Johan Engelen * Copyright (C) 2006 John Bintz @@ -28,7 +27,7 @@ #include #include "box3d-context.h" -#include "color-profile-fns.h" +#include "cms-system.h" #include "conn-avoid-ref.h" #include "desktop-events.h" #include "desktop-handles.h" @@ -100,7 +99,9 @@ static gint sp_desktop_widget_event (GtkWidget *widget, GdkEvent *event, SPDesktopWidget *dtw); static void sp_dtw_color_profile_event(EgeColorProfTracker *widget, SPDesktopWidget *dtw); +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) static void cms_adjust_toggled( GtkWidget *button, gpointer data ); +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) static void cms_adjust_set_sensitive( SPDesktopWidget *dtw, bool enabled ); static void sp_desktop_widget_adjustment_value_changed (GtkAdjustment *adj, SPDesktopWidget *dtw); @@ -182,31 +183,35 @@ friend class SoftproofWatcher; }; -void CMSPrefWatcher::hook(EgeColorProfTracker */*tracker*/, gint screen, gint monitor, CMSPrefWatcher */*watcher*/) +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) +void CMSPrefWatcher::hook(EgeColorProfTracker * /*tracker*/, gint screen, gint monitor, CMSPrefWatcher * /*watcher*/) { -#if ENABLE_LCMS unsigned char* buf = 0; guint len = 0; ege_color_prof_tracker_get_profile_for( screen, monitor, reinterpret_cast(&buf), &len ); - Glib::ustring id = Inkscape::colorprofile_set_display_per( buf, len, screen, monitor ); -#endif // ENABLE_LCMS -} + Glib::ustring id = Inkscape::CMSSystem::setDisplayPer( buf, len, screen, monitor ); +} +#else +void CMSPrefWatcher::hook(EgeColorProfTracker * /*tracker*/, gint /*screen*/, gint /*monitor*/, CMSPrefWatcher * /*watcher*/) +{ +} +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) /// @todo Use conditional compilation in saner places. The whole PrefWatcher -/// object is unnecessary if ENABLE_LCMS is not defined. +/// object is unnecessary if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) is not defined. void CMSPrefWatcher::_refreshAll() { -#if ENABLE_LCMS +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) for ( std::list::iterator it = _widget_list.begin(); it != _widget_list.end(); ++it ) { (*it)->requestCanvasUpdate(); } -#endif // ENABLE_LCMS +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) } void CMSPrefWatcher::_setCmsSensitive(bool enabled) { -#if ENABLE_LCMS +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) for ( std::list::iterator it = _widget_list.begin(); it != _widget_list.end(); ++it ) { SPDesktopWidget *dtw = *it; if ( GTK_WIDGET_SENSITIVE( dtw->cms_adjust ) != enabled ) { @@ -215,7 +220,7 @@ } #else (void) enabled; -#endif // ENABLE_LCMS +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) } static CMSPrefWatcher* watcher = NULL; @@ -326,7 +331,7 @@ dtw->hbox = gtk_hbox_new(FALSE, 0); gtk_box_pack_end( GTK_BOX (dtw->vbox), dtw->hbox, TRUE, TRUE, 0 ); gtk_widget_show(dtw->hbox); - + dtw->aux_toolbox = ToolboxFactory::createAuxToolbox(); gtk_box_pack_end (GTK_BOX (dtw->vbox), dtw->aux_toolbox, FALSE, TRUE, 0); @@ -406,7 +411,7 @@ INKSCAPE_ICON_COLOR_MANAGEMENT, tip, dtw->tt ); -#if ENABLE_LCMS +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) { Glib::ustring current = prefs->getString("/options/displayprofile/uri"); bool enabled = current.length() > 0; @@ -421,7 +426,7 @@ g_signal_connect_after( G_OBJECT(dtw->cms_adjust), "clicked", G_CALLBACK(cms_adjust_toggled), dtw ); #else cms_adjust_set_sensitive(dtw, FALSE); -#endif // ENABLE_LCMS +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) gtk_table_attach( GTK_TABLE(canvas_tbl), dtw->cms_adjust, 2, 3, 2, 3, (GtkAttachOptions)(GTK_SHRINK), (GtkAttachOptions)(GTK_SHRINK), 0, 0); { if (!watcher) { @@ -432,9 +437,9 @@ /* Canvas */ dtw->canvas = SP_CANVAS (sp_canvas_new_aa ()); -#if ENABLE_LCMS +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) dtw->canvas->enable_cms_display_adj = prefs->getBool("/options/displayprofile/enable"); -#endif // ENABLE_LCMS +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) GTK_WIDGET_SET_FLAGS (GTK_WIDGET (dtw->canvas), GTK_CAN_FOCUS); style = gtk_style_copy (GTK_WIDGET (dtw->canvas)->style); style->bg[GTK_STATE_NORMAL] = style->white; @@ -532,10 +537,10 @@ gtk_box_pack_start(GTK_BOX(dtw->statusbar), GTK_WIDGET(dtw->layer_selector->gobj()), FALSE, FALSE, 1); dtw->_tracker = ege_color_prof_tracker_new(GTK_WIDGET(dtw->layer_selector->gobj())); -#if ENABLE_LCMS +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) bool fromDisplay = prefs->getBool( "/options/displayprofile/from_display"); if ( fromDisplay ) { - Glib::ustring id = Inkscape::colorprofile_get_display_id( 0, 0 ); + Glib::ustring id = Inkscape::CMSSystem::getDisplayId( 0, 0 ); bool enabled = false; if ( dtw->canvas->cms_key ) { @@ -544,7 +549,7 @@ } cms_adjust_set_sensitive( dtw, enabled ); } -#endif // ENABLE_LCMS +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) g_signal_connect( G_OBJECT(dtw->_tracker), "changed", G_CALLBACK(sp_dtw_color_profile_event), dtw ); dtw->select_status_eventbox = gtk_event_box_new (); @@ -769,14 +774,14 @@ return FALSE; } +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) void sp_dtw_color_profile_event(EgeColorProfTracker */*tracker*/, SPDesktopWidget *dtw) { -#if ENABLE_LCMS // Handle profile changes GdkScreen* screen = gtk_widget_get_screen(GTK_WIDGET(dtw)); gint screenNum = gdk_screen_get_number(screen); gint monitor = gdk_screen_get_monitor_at_window(screen, gtk_widget_get_toplevel(GTK_WIDGET(dtw))->window); - Glib::ustring id = Inkscape::colorprofile_get_display_id( screenNum, monitor ); + Glib::ustring id = Inkscape::CMSSystem::getDisplayId( screenNum, monitor ); bool enabled = false; if ( dtw->canvas->cms_key ) { *(dtw->canvas->cms_key) = id; @@ -784,12 +789,16 @@ enabled = !dtw->canvas->cms_key->empty(); } cms_adjust_set_sensitive( dtw, enabled ); -#endif // ENABLE_LCMS -} +} +#else +void sp_dtw_color_profile_event(EgeColorProfTracker */*tracker*/, SPDesktopWidget * /*dtw*/) +{ +} +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) void cms_adjust_toggled( GtkWidget */*button*/, gpointer data ) { -#if ENABLE_LCMS SPDesktopWidget *dtw = SP_DESKTOP_WIDGET(data); bool down = SP_BUTTON_IS_DOWN(dtw->cms_adjust); @@ -804,8 +813,8 @@ dtw->setMessage (Inkscape::NORMAL_MESSAGE, _("Color-managed display is disabled in this window")); } } -#endif // ENABLE_LCMS } +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) void cms_adjust_set_sensitive( SPDesktopWidget *dtw, bool enabled ) { @@ -1226,13 +1235,11 @@ pref_root = "/window/"; } -#ifndef GDK_WINDOWING_QUARTZ if (!prefs->getBool(pref_root + "menu/state", true)) { gtk_widget_hide_all (dtw->menubar); } else { gtk_widget_show_all (dtw->menubar); } -#endif if (!prefs->getBool(pref_root + "commands/state", true)) { gtk_widget_hide_all (dtw->commands_toolbox); @@ -1427,10 +1434,8 @@ dtw->layer_selector->setDesktop(dtw->desktop); dtw->menubar = sp_ui_main_menubar (dtw->desktop); -#ifndef GDK_WINDOWING_QUARTZ gtk_widget_show_all (dtw->menubar); gtk_box_pack_start (GTK_BOX (dtw->vbox), dtw->menubar, FALSE, FALSE, 0); -#endif dtw->layoutWidgets(); @@ -1514,12 +1519,12 @@ /* This loops through all the grandchildren of aux toolbox, * and for each that it finds, it performs an sp_search_by_data_recursive(), * looking for widgets that hold some "tracker" data (this is used by - * all toolboxes to refer to the unit selector). The default document units + * all toolboxes to refer to the unit selector). The default document units * is then selected within these unit selectors. * * Of course it would be nice to be able to refer to the toolbox and the * unit selector directly by name, but I don't yet see a way to do that. - * + * * This should solve: https://bugs.launchpad.net/inkscape/+bug/362995 */ if (GTK_IS_CONTAINER(aux_toolbox)) { @@ -1527,7 +1532,7 @@ for (GList *i = ch; i != NULL; i = i->next) { if (GTK_IS_CONTAINER(i->data)) { GList *grch = gtk_container_get_children (GTK_CONTAINER(i->data)); - for (GList *j = grch; j != NULL; j = j->next) { + for (GList *j = grch; j != NULL; j = j->next) { if (!GTK_IS_WIDGET(j->data)) // wasn't a widget continue; === modified file 'src/widgets/icon.cpp' --- src/widgets/icon.cpp 2011-02-20 12:07:30 +0000 +++ src/widgets/icon.cpp 2012-02-16 12:59:31 +0000 @@ -16,7 +16,7 @@ #endif #include -#include +#include #include #include === modified file 'src/widgets/sp-color-icc-selector.cpp' --- src/widgets/sp-color-icc-selector.cpp 2011-07-10 11:35:30 +0000 +++ src/widgets/sp-color-icc-selector.cpp 2012-02-16 12:59:31 +0000 @@ -14,14 +14,15 @@ #define noDEBUG_LCMS -#if ENABLE_LCMS -#include "color-profile-fns.h" +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) #include "color-profile.h" +#include "cms-system.h" +#include "color-profile-cms-fns.h" #ifdef DEBUG_LCMS #include "preferences.h" #endif // DEBUG_LCMS -#endif // ENABLE_LCMS +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) #ifdef DEBUG_LCMS @@ -128,6 +129,8 @@ _updating( FALSE ), _dragging( FALSE ), _fixupNeeded(0), + _fixupBtn(0), + _profileSel(0), _fooCount(0), _fooScales(0), _fooAdj(0), @@ -136,16 +139,17 @@ _fooLabel(0), _fooMap(0), _adj(0), + _slider(0), _sbtn(0), _label(0), _tt(0) -#if ENABLE_LCMS +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) , _profileName(""), _prof(), _profChannelCount(0), _profChangedID(0) -#endif // ENABLE_LCMS +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) { } @@ -168,41 +172,41 @@ /* -icSigRgbData -icSigCmykData -icSigCmyData +cmsSigRgbData +cmsSigCmykData +cmsSigCmyData */ #define SPACE_ID_RGB 0 #define SPACE_ID_CMY 1 #define SPACE_ID_CMYK 2 -#if ENABLE_LCMS -static icUInt16Number* getScratch() { +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) +static cmsUInt16Number* getScratch() { // bytes per pixel * input channels * width - static icUInt16Number* scritch = static_cast(g_new(icUInt16Number, 4 * 1024)); + static cmsUInt16Number* scritch = static_cast(g_new(cmsUInt16Number, 4 * 1024)); return scritch; } struct MapMap { - DWORD space; - DWORD inForm; + cmsUInt32Number space; + cmsUInt32Number inForm; }; -void getThings( DWORD space, gchar const**& namers, gchar const**& tippies, guint const*& scalies ) { +void getThings( cmsUInt32Number space, gchar const**& namers, gchar const**& tippies, guint const*& scalies ) { MapMap possible[] = { - {icSigXYZData, TYPE_XYZ_16}, - {icSigLabData, TYPE_Lab_16}, - //icSigLuvData - {icSigYCbCrData, TYPE_YCbCr_16}, - {icSigYxyData, TYPE_Yxy_16}, - {icSigRgbData, TYPE_RGB_16}, - {icSigGrayData, TYPE_GRAY_16}, - {icSigHsvData, TYPE_HSV_16}, - {icSigHlsData, TYPE_HLS_16}, - {icSigCmykData, TYPE_CMYK_16}, - {icSigCmyData, TYPE_CMY_16}, + {cmsSigXYZData, TYPE_XYZ_16}, + {cmsSigLabData, TYPE_Lab_16}, + //cmsSigLuvData + {cmsSigYCbCrData, TYPE_YCbCr_16}, + {cmsSigYxyData, TYPE_Yxy_16}, + {cmsSigRgbData, TYPE_RGB_16}, + {cmsSigGrayData, TYPE_GRAY_16}, + {cmsSigHsvData, TYPE_HSV_16}, + {cmsSigHlsData, TYPE_HLS_16}, + {cmsSigCmykData, TYPE_CMYK_16}, + {cmsSigCmyData, TYPE_CMY_16}, }; static gchar const *names[][6] = { @@ -259,7 +263,13 @@ tippies = tips[index]; scalies = scales[index]; } -#endif // ENABLE_LCMS + + +void getThings( Inkscape::ColorProfile *prof, gchar const**& namers, gchar const**& tippies, guint const*& scalies ) { + getThings( asICColorSpaceSig(prof->getColorSpace()), namers, tippies, scalies ); +} + +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) void ColorICCSelector::init() @@ -276,12 +286,12 @@ gtk_widget_show (t); gtk_box_pack_start (GTK_BOX (_csel), t, TRUE, TRUE, 0); -#if ENABLE_LCMS - //guint partCount = _cmsChannelsOf( icSigRgbData ); +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) + //guint partCount = _cmsChannelsOf( cmsSigRgbData ); gchar const** names = 0; gchar const** tips = 0; - getThings( icSigRgbData, names, tips, _fooScales ); -#endif // ENABLE_LCMS + getThings( cmsSigRgbData, names, tips, _fooScales ); +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) /* Create components */ row = 0; @@ -296,17 +306,22 @@ gtk_table_attach( GTK_TABLE (t), _fixupBtn, 0, 1, row, row + 1, GTK_FILL, GTK_FILL, XPAD, YPAD ); +#if GTK_CHECK_VERSION(2,24,0) + _profileSel = gtk_combo_box_text_new(); + gtk_combo_box_text_append_text( GTK_COMBO_BOX_TEXT(_profileSel), _("") ); +#else _profileSel = gtk_combo_box_new_text(); gtk_combo_box_append_text( GTK_COMBO_BOX(_profileSel), _("") ); +#endif gtk_widget_show( _profileSel ); gtk_combo_box_set_active( GTK_COMBO_BOX(_profileSel), 0 ); gtk_table_attach( GTK_TABLE(t), _profileSel, 1, 2, row, row + 1, GTK_FILL, GTK_FILL, XPAD, YPAD ); -#if ENABLE_LCMS +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) _profChangedID = g_signal_connect( G_OBJECT(_profileSel), "changed", G_CALLBACK(_profileSelected), (gpointer)this ); #else gtk_widget_set_sensitive( _profileSel, false ); -#endif // ENABLE_LCMS +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) row++; @@ -320,11 +335,11 @@ for ( guint i = 0; i < _fooCount; i++ ) { /* Label */ -#if ENABLE_LCMS +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) _fooLabel[i] = gtk_label_new_with_mnemonic( names[i] ); #else _fooLabel[i] = gtk_label_new_with_mnemonic( "." ); -#endif // ENABLE_LCMS +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) gtk_misc_set_alignment( GTK_MISC (_fooLabel[i]), 1.0, 0.5 ); gtk_widget_show( _fooLabel[i] ); gtk_table_attach( GTK_TABLE (t), _fooLabel[i], 0, 1, row, row + 1, GTK_FILL, GTK_FILL, XPAD, YPAD ); @@ -337,20 +352,20 @@ /* Slider */ _fooSlider[i] = sp_color_slider_new( _fooAdj[i] ); -#if ENABLE_LCMS +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) gtk_tooltips_set_tip( _tt, _fooSlider[i], tips[i], NULL ); #else gtk_tooltips_set_tip( _tt, _fooSlider[i], ".", NULL ); -#endif // ENABLE_LCMS +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) gtk_widget_show( _fooSlider[i] ); gtk_table_attach( GTK_TABLE (t), _fooSlider[i], 1, 2, row, row + 1, (GtkAttachOptions)(GTK_EXPAND | GTK_FILL), (GtkAttachOptions)GTK_FILL, XPAD, YPAD ); _fooBtn[i] = gtk_spin_button_new( _fooAdj[i], step, digits ); -#if ENABLE_LCMS +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) gtk_tooltips_set_tip( _tt, _fooBtn[i], tips[i], NULL ); #else gtk_tooltips_set_tip( _tt, _fooBtn[i], ".", NULL ); -#endif // ENABLE_LCMS +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) sp_dialog_defocus_on_enter( _fooBtn[i] ); gtk_label_set_mnemonic_widget( GTK_LABEL(_fooLabel[i]), _fooBtn[i] ); gtk_widget_show( _fooBtn[i] ); @@ -448,20 +463,24 @@ self->_adjustmentChanged( self->_fooAdj[0], SP_COLOR_ICC_SELECTOR(self->_csel) ); } -#if ENABLE_LCMS +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) void ColorICCSelector::_profileSelected( GtkWidget* /*src*/, gpointer data ) { ColorICCSelector* self = reinterpret_cast(data); gint activeIndex = gtk_combo_box_get_active( GTK_COMBO_BOX(self->_profileSel) ); +#if GTK_CHECK_VERSION(2,24,0) + gchar* name = (activeIndex != 0) ? gtk_combo_box_text_get_active_text( GTK_COMBO_BOX_TEXT(self->_profileSel) ) : 0; +#else gchar* name = (activeIndex != 0) ? gtk_combo_box_get_active_text( GTK_COMBO_BOX(self->_profileSel) ) : 0; +#endif //GTK_CHECK_VERSION self->_switchToProfile( name ); if ( name ) { g_free( name ); } } -#endif // ENABLE_LCMS +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) -#ifdef ENABLE_LCMS +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) void ColorICCSelector::_switchToProfile( gchar const* name ) { bool dirty = false; @@ -495,17 +514,21 @@ #ifdef DEBUG_LCMS g_message("Shoving in [%02x] [%02x] [%02x]", pre[0], pre[1], pre[2]); #endif // DEBUG_LCMS - icUInt16Number post[4] = {0,0,0,0}; + cmsUInt16Number post[4] = {0,0,0,0}; cmsDoTransform( trans, pre, post, 1 ); #ifdef DEBUG_LCMS g_message("got on out [%04x] [%04x] [%04x] [%04x]", post[0], post[1], post[2], post[3]); #endif // DEBUG_LCMS - guint count = _cmsChannelsOf( newProf->getColorSpace() ); +#if HAVE_LIBLCMS1 + guint count = _cmsChannelsOf( asICColorSpaceSig(newProf->getColorSpace()) ); +#elif HAVE_LIBLCMS2 + guint count = cmsChannelsOf( asICColorSpaceSig(newProf->getColorSpace()) ); +#endif gchar const** names = 0; gchar const** tips = 0; guint const* scales = 0; - getThings( newProf->getColorSpace(), names, tips, scales ); + getThings( asICColorSpaceSig(newProf->getColorSpace()), names, tips, scales ); for ( guint i = 0; i < count; i++ ) { gdouble val = (((gdouble)post[i])/65535.0) * (gdouble)scales[i]; @@ -555,11 +578,11 @@ #endif // DEBUG_LCMS } } -#endif // ENABLE_LCMS +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) void ColorICCSelector::_profilesChanged( std::string const & name ) { -#ifdef ENABLE_LCMS GtkComboBox* combo = GTK_COMBO_BOX(_profileSel); g_signal_handler_block( G_OBJECT(_profileSel), _profChangedID ); @@ -567,10 +590,18 @@ GtkTreeModel* model = gtk_combo_box_get_model( combo ); GtkTreeIter iter; while ( gtk_tree_model_get_iter_first( model, &iter ) ) { +#if GTK_CHECK_VERSION(2,24,0) + gtk_combo_box_text_remove( GTK_COMBO_BOX_TEXT(combo), 0 ); +#else gtk_combo_box_remove_text( combo, 0 ); +#endif } +#if GTK_CHECK_VERSION(2,24,0) + gtk_combo_box_text_append_text( GTK_COMBO_BOX_TEXT(combo), _("")); +#else gtk_combo_box_append_text( combo, _("")); +#endif gtk_combo_box_set_active( combo, 0 ); @@ -579,7 +610,11 @@ while ( current ) { SPObject* obj = SP_OBJECT(current->data); Inkscape::ColorProfile* prof = reinterpret_cast(obj); +#if GTK_CHECK_VERSION(2,24,0) + gtk_combo_box_text_append_text( GTK_COMBO_BOX_TEXT(combo), prof->name ); +#else gtk_combo_box_append_text( combo, prof->name ); +#endif if ( name == prof->name ) { gtk_combo_box_set_active( combo, index ); } @@ -589,8 +624,12 @@ } g_signal_handler_unblock( G_OBJECT(_profileSel), _profChangedID ); -#endif // ENABLE_LCMS -} +} +#else +void ColorICCSelector::_profilesChanged( std::string const & /*name*/ ) +{ +} +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) /* Helpers for setting color value */ @@ -612,13 +651,13 @@ _profilesChanged( (_color.icc) ? _color.icc->colorProfile : std::string("") ); ColorScales::setScaled( _adj, _alpha ); -#if ENABLE_LCMS +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) _setProfile( _color.icc ); _fixupNeeded = 0; gtk_widget_set_sensitive( _fixupBtn, FALSE ); if ( _prof && _prof->getTransfToSRGB8() ) { - icUInt16Number tmp[4]; + cmsUInt16Number tmp[4]; for ( guint i = 0; i < _profChannelCount; i++ ) { gdouble val = 0.0; if ( _color.icc->colors.size() > i ) { @@ -646,7 +685,7 @@ } #else //(void)color; -#endif // ENABLE_LCMS +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) _updateSliders( -1 ); @@ -656,7 +695,7 @@ #endif // DEBUG_LCMS } -#if ENABLE_LCMS +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) void ColorICCSelector::_setProfile( SVGICCColor* profile ) { #ifdef DEBUG_LCMS @@ -683,12 +722,16 @@ if ( profile ) { _prof = SP_ACTIVE_DOCUMENT->profileManager->find(profile->colorProfile.c_str()); - if ( _prof && _prof->getProfileClass() != icSigNamedColorClass ) { - _profChannelCount = _cmsChannelsOf( _prof->getColorSpace() ); + if ( _prof && (asICColorProfileClassSig(_prof->getProfileClass()) != cmsSigNamedColorClass) ) { +#if HAVE_LIBLCMS1 + _profChannelCount = _cmsChannelsOf( asICColorSpaceSig(_prof->getColorSpace()) ); +#elif HAVE_LIBLCMS2 + _profChannelCount = cmsChannelsOf( asICColorSpaceSig(_prof->getColorSpace()) ); +#endif gchar const** names = 0; gchar const** tips = 0; - getThings( _prof->getColorSpace(), names, tips, _fooScales ); + getThings( asICColorSpaceSig(_prof->getColorSpace()), names, tips, _fooScales ); if ( profChanged ) { for ( guint i = 0; i < _profChannelCount; i++ ) { @@ -731,11 +774,11 @@ g_message( "\\_________ %p::_setProfile()", this ); #endif // DEBUG_LCMS } -#endif // ENABLE_LCMS +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) void ColorICCSelector::_updateSliders( gint ignore ) { -#ifdef ENABLE_LCMS +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) if ( _color.icc ) { for ( guint i = 0; i < _profChannelCount; i++ ) { @@ -753,13 +796,13 @@ if ( _prof && _prof->getTransfToSRGB8() ) { for ( guint i = 0; i < _profChannelCount; i++ ) { if ( static_cast(i) != ignore ) { - icUInt16Number* scratch = getScratch(); - icUInt16Number filler[4] = {0, 0, 0, 0}; + cmsUInt16Number* scratch = getScratch(); + cmsUInt16Number filler[4] = {0, 0, 0, 0}; for ( guint j = 0; j < _profChannelCount; j++ ) { filler[j] = 0x0ffff * ColorScales::getScaled( _fooAdj[j] ); } - icUInt16Number* p = scratch; + cmsUInt16Number* p = scratch; for ( guint x = 0; x < 1024; x++ ) { for ( guint j = 0; j < _profChannelCount; j++ ) { if ( j == i ) { @@ -781,7 +824,7 @@ } #else (void)ignore; -#endif // ENABLE_LCMS +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) guint32 start = _color.toRGBA32( 0x00 ); guint32 mid = _color.toRGBA32( 0x7f ); @@ -820,7 +863,7 @@ g_message("ALPHA"); #endif // DEBUG_LCMS } else { -#if ENABLE_LCMS +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) for ( guint i = 0; i < iccSelector->_fooCount; i++ ) { if ( iccSelector->_fooAdj[i] == adjustment ) { match = i; @@ -834,7 +877,7 @@ } - icUInt16Number tmp[4]; + cmsUInt16Number tmp[4]; for ( guint i = 0; i < 4; i++ ) { tmp[i] = ColorScales::getScaled( iccSelector->_fooAdj[i] ) * 0x0ffff; } @@ -872,7 +915,7 @@ newColor.icc->colors.push_back( val ); } } -#endif // ENABLE_LCMS +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) } iccSelector->_updateInternals( newColor, scaled, iccSelector->_dragging ); iccSelector->_updateSliders( match ); === modified file 'src/widgets/sp-color-icc-selector.h' --- src/widgets/sp-color-icc-selector.h 2011-07-10 11:35:30 +0000 +++ src/widgets/sp-color-icc-selector.h 2012-02-16 12:59:31 +0000 @@ -1,18 +1,16 @@ #ifndef SEEN_SP_COLOR_ICC_SELECTOR_H #define SEEN_SP_COLOR_ICC_SELECTOR_H -#include +#include #include #include "../color.h" #include "sp-color-slider.h" #include "sp-color-selector.h" -#if ENABLE_LCMS -#include "color-profile.h" -#endif // ENABLE_LCMS - - +namespace Inkscape { +struct ColorProfile; +} struct SPColorICCSelector; struct SPColorICCSelectorClass; @@ -39,10 +37,10 @@ static void _profileSelected( GtkWidget* src, gpointer data ); void _recalcColor( gboolean changing ); -#if ENABLE_LCMS +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) void _setProfile( SVGICCColor* profile ); void _switchToProfile( gchar const* name ); -#endif // ENABLE_LCMS +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) void _updateSliders( gint ignore ); void _profilesChanged( std::string const & name ); @@ -68,12 +66,12 @@ GtkTooltips* _tt; /* tooltip container */ -#if ENABLE_LCMS +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) std::string _profileName; Inkscape::ColorProfile* _prof; guint _profChannelCount; gulong _profChangedID; -#endif // ENABLE_LCMS +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) private: // By default, disallow copy constructor and assignment operator === modified file 'src/widgets/sp-color-notebook.cpp' --- src/widgets/sp-color-notebook.cpp 2011-07-10 11:35:30 +0000 +++ src/widgets/sp-color-notebook.cpp 2012-02-16 12:59:31 +0000 @@ -1,5 +1,3 @@ -#define __SP_COLOR_NOTEBOOK_C__ - /* * A notebook with RGB, CMYK, CMS, HSL, and Wheel pages * @@ -37,6 +35,10 @@ #include "../inkscape.h" #include "../document.h" #include "../profile-manager.h" +#include "color-profile.h" +#include "cms-system.h" + +using Inkscape::CMSSystem; struct SPColorNotebookTracker { const gchar* name; @@ -81,18 +83,12 @@ return type; } -static void -sp_color_notebook_class_init (SPColorNotebookClass *klass) +static void sp_color_notebook_class_init(SPColorNotebookClass *klass) { - GtkObjectClass *object_class; - GtkWidgetClass *widget_class; - SPColorSelectorClass *selector_class; - - object_class = (GtkObjectClass *) klass; - widget_class = (GtkWidgetClass *) klass; - selector_class = SP_COLOR_SELECTOR_CLASS (klass); - - parent_class = SP_COLOR_SELECTOR_CLASS (g_type_class_peek_parent (klass)); + GtkObjectClass *object_class = reinterpret_cast(klass); + GtkWidgetClass *widget_class = reinterpret_cast(klass); + + parent_class = SP_COLOR_SELECTOR_CLASS(g_type_class_peek_parent(klass)); object_class->destroy = sp_color_notebook_destroy; @@ -208,9 +204,9 @@ /* tempory hardcoding to get types loaded */ SP_TYPE_COLOR_SCALES; SP_TYPE_COLOR_WHEEL_SELECTOR; -#if ENABLE_LCMS +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) SP_TYPE_COLOR_ICC_SELECTOR; -#endif // ENABLE_LCMS +#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) /* REJON: Comment out the next line to not use the normal GTK Color wheel. */ @@ -331,7 +327,7 @@ GtkWidget *rgbabox = gtk_hbox_new (FALSE, 0); -#if ENABLE_LCMS +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) /* Create color management icons */ _box_colormanaged = gtk_event_box_new (); GtkWidget *colormanaged = gtk_image_new_from_icon_name ("color-management-icon", GTK_ICON_SIZE_SMALL_TOOLBAR); @@ -357,7 +353,7 @@ gtk_widget_set_sensitive (_box_toomuchink, false); gtk_box_pack_start(GTK_BOX(rgbabox), _box_toomuchink, FALSE, FALSE, 2); -#endif //ENABLE_LCMS +#endif //defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) /* Create RGBA entry and color preview */ _rgbal = gtk_label_new_with_mnemonic (_("RGBA_:")); @@ -375,10 +371,10 @@ sp_set_font_size_smaller (rgbabox); gtk_widget_show_all (rgbabox); -#if ENABLE_LCMS +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) //the "too much ink" icon is initially hidden gtk_widget_hide(GTK_WIDGET(_box_toomuchink)); -#endif //ENABLE_LCMS +#endif //defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) gtk_table_attach (GTK_TABLE (table), rgbabox, 0, 2, row, row + 1, GTK_FILL, GTK_SHRINK, XPAD, YPAD); @@ -525,7 +521,7 @@ { g_return_if_fail( ( 0.0 <= alpha ) && ( alpha <= 1.0 ) ); -#if ENABLE_LCMS +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) /* update color management icon*/ gtk_widget_set_sensitive (_box_colormanaged, color.icc != NULL); @@ -541,7 +537,7 @@ gtk_widget_set_sensitive (_box_toomuchink, false); if (color.icc){ Inkscape::ColorProfile* prof = SP_ACTIVE_DOCUMENT->profileManager->find(color.icc->colorProfile.c_str()); - if ( prof && ( (prof->getColorSpace() == icSigCmykData) || (prof->getColorSpace() == icSigCmyData) ) ) { + if ( prof && CMSSystem::isPrintColorSpace(prof) ) { gtk_widget_show(GTK_WIDGET(_box_toomuchink)); double ink_sum = 0; for (unsigned int i=0; icolors.size(); i++){ @@ -557,7 +553,7 @@ gtk_widget_hide(GTK_WIDGET(_box_toomuchink)); } } -#endif //ENABLE_LCMS +#endif //defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) if ( !_updatingrgba ) { === modified file 'src/widgets/sp-color-notebook.h' --- src/widgets/sp-color-notebook.h 2011-07-10 11:35:30 +0000 +++ src/widgets/sp-color-notebook.h 2012-02-16 12:59:31 +0000 @@ -59,9 +59,9 @@ gulong _entryId; GtkWidget *_book; GtkWidget *_rgbal, *_rgbae; /* RGBA entry */ -#if ENABLE_LCMS +#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) GtkWidget *_box_outofgamut, *_box_colormanaged, *_box_toomuchink; -#endif //ENABLE_LCMS +#endif //defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) GtkWidget *_p; /* Color preview */ GtkWidget *_btn; GtkWidget *_popup; === modified file 'src/widgets/sp-color-scales.h' --- src/widgets/sp-color-scales.h 2011-07-10 11:35:30 +0000 +++ src/widgets/sp-color-scales.h 2012-02-16 12:59:31 +0000 @@ -1,7 +1,7 @@ #ifndef SEEN_SP_COLOR_SCALES_H #define SEEN_SP_COLOR_SCALES_H -#include +#include #include #include === modified file 'src/widgets/sp-color-wheel-selector.h' --- src/widgets/sp-color-wheel-selector.h 2011-07-10 11:35:30 +0000 +++ src/widgets/sp-color-wheel-selector.h 2012-02-16 12:59:31 +0000 @@ -1,7 +1,7 @@ #ifndef SEEN_SP_COLOR_WHEEL_SELECTOR_H #define SEEN_SP_COLOR_WHEEL_SELECTOR_H -#include +#include #include #include "../color.h" === modified file 'src/widgets/spinbutton-events.h' --- src/widgets/spinbutton-events.h 2011-07-10 11:35:30 +0000 +++ src/widgets/spinbutton-events.h 2012-02-16 12:59:31 +0000 @@ -9,7 +9,7 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include +#include #include /* GtkWidget */ gboolean spinbutton_focus_in (GtkWidget *w, GdkEventKey *event, gpointer data); === modified file 'src/widgets/spw-utilities.h' --- src/widgets/spw-utilities.h 2011-07-10 11:35:30 +0000 +++ src/widgets/spw-utilities.h 2012-02-16 12:59:31 +0000 @@ -18,9 +18,8 @@ SPObject, that reacts to modification. */ -#include - -typedef struct _GtkWidget GtkWidget; +#include +#include namespace Gtk { class Label; === modified file 'src/widgets/stroke-style.cpp' --- src/widgets/stroke-style.cpp 2010-09-12 19:44:58 +0000 +++ src/widgets/stroke-style.cpp 2012-02-16 12:59:31 +0000 @@ -18,7 +18,7 @@ #define noSP_SS_VERBOSE -#include +#include #include #include === modified file 'src/xml/attribute-record.h' --- src/xml/attribute-record.h 2009-12-23 15:38:43 +0000 +++ src/xml/attribute-record.h 2012-02-16 12:59:31 +0000 @@ -5,8 +5,7 @@ #ifndef SEEN_XML_SP_REPR_ATTR_H #define SEEN_XML_SP_REPR_ATTR_H -#include -#include +#include #include "gc-managed.h" #include "util/share.h" === modified file 'src/xml/comment-node.h' --- src/xml/comment-node.h 2009-12-23 15:38:43 +0000 +++ src/xml/comment-node.h 2012-02-16 12:59:31 +0000 @@ -15,7 +15,7 @@ #ifndef SEEN_INKSCAPE_XML_COMMENT_NODE_H #define SEEN_INKSCAPE_XML_COMMENT_NODE_H -#include +#include #include "xml/simple-node.h" namespace Inkscape { === modified file 'src/xml/croco-node-iface.cpp' --- src/xml/croco-node-iface.cpp 2009-12-23 15:38:43 +0000 +++ src/xml/croco-node-iface.cpp 2012-02-16 12:59:31 +0000 @@ -1,7 +1,7 @@ #include #include -#include +#include #include "xml/croco-node-iface.h" #include "xml/node.h" === modified file 'src/xml/event.h' --- src/xml/event.h 2009-12-23 15:38:43 +0000 +++ src/xml/event.h 2012-02-16 12:59:31 +0000 @@ -18,8 +18,7 @@ #ifndef SEEN_INKSCAPE_XML_SP_REPR_ACTION_H #define SEEN_INKSCAPE_XML_SP_REPR_ACTION_H -#include -#include +#include #include #include === modified file 'src/xml/node-event-vector.h' --- src/xml/node-event-vector.h 2009-12-23 15:38:43 +0000 +++ src/xml/node-event-vector.h 2012-02-16 12:59:31 +0000 @@ -14,7 +14,7 @@ #ifndef SEEN_INKSCAPE_XML_SP_REPR_EVENT_VECTOR #define SEEN_INKSCAPE_XML_SP_REPR_EVENT_VECTOR -#include +#include #include "xml/node.h" === modified file 'src/xml/node-observer.h' --- src/xml/node-observer.h 2009-12-23 15:38:43 +0000 +++ src/xml/node-observer.h 2012-02-16 12:59:31 +0000 @@ -18,7 +18,7 @@ #ifndef SEEN_INKSCAPE_XML_NODE_OBSERVER_H #define SEEN_INKSCAPE_XML_NODE_OBSERVER_H -#include +#include #include "util/share.h" #include "xml/xml-forward.h" === modified file 'src/xml/node.h' --- src/xml/node.h 2009-12-23 15:38:43 +0000 +++ src/xml/node.h 2012-02-16 12:59:31 +0000 @@ -18,7 +18,7 @@ #ifndef SEEN_INKSCAPE_XML_NODE_H #define SEEN_INKSCAPE_XML_NODE_H -#include +#include #include "gc-anchored.h" #include "util/list.h" #include "xml/xml-forward.h" === modified file 'src/xml/pi-node.h' --- src/xml/pi-node.h 2009-12-23 15:38:43 +0000 +++ src/xml/pi-node.h 2012-02-16 12:59:31 +0000 @@ -14,7 +14,7 @@ #ifndef SEEN_INKSCAPE_XML_PI_NODE_H #define SEEN_INKSCAPE_XML_PI_NODE_H -#include +#include #include "xml/simple-node.h" namespace Inkscape { === modified file 'src/xml/quote.cpp' --- src/xml/quote.cpp 2008-11-25 15:51:35 +0000 +++ src/xml/quote.cpp 2012-02-16 12:59:31 +0000 @@ -12,7 +12,7 @@ */ #include -#include +#include /** \return strlen(xml_quote_strdup(\a val)) (without doing the malloc). === modified file 'src/xml/rebase-hrefs.cpp' --- src/xml/rebase-hrefs.cpp 2009-12-23 15:38:43 +0000 +++ src/xml/rebase-hrefs.cpp 2012-02-16 12:59:31 +0000 @@ -7,9 +7,7 @@ #include "util/share.h" #include "xml/attribute-record.h" #include "xml/node.h" -#include -#include -#include +#include using Inkscape::XML::AttributeRecord; === modified file 'src/xml/rebase-hrefs.h' --- src/xml/rebase-hrefs.h 2009-12-23 15:38:43 +0000 +++ src/xml/rebase-hrefs.h 2012-02-16 12:59:31 +0000 @@ -1,7 +1,7 @@ #ifndef REBASE_HREFS_H_SEEN #define REBASE_HREFS_H_SEEN -#include +#include #include "util/list.h" #include "xml/attribute-record.h" struct SPDocument; === modified file 'src/xml/repr.h' --- src/xml/repr.h 2009-12-23 15:38:43 +0000 +++ src/xml/repr.h 2012-02-16 12:59:31 +0000 @@ -14,7 +14,7 @@ #define __SP_REPR_H__ #include -#include +#include #include "gc-anchored.h" #include "xml/node.h" === modified file 'src/xml/simple-node.cpp' --- src/xml/simple-node.cpp 2009-12-23 15:38:43 +0000 +++ src/xml/simple-node.cpp 2012-02-16 12:59:31 +0000 @@ -16,7 +16,7 @@ #include #include -#include +#include #include "xml/node.h" #include "xml/simple-node.h" === modified file 'src/xml/text-node.h' --- src/xml/text-node.h 2009-12-23 15:38:43 +0000 +++ src/xml/text-node.h 2012-02-16 12:59:31 +0000 @@ -15,7 +15,7 @@ #ifndef SEEN_INKSCAPE_XML_TEXT_NODE_H #define SEEN_INKSCAPE_XML_TEXT_NODE_H -#include +#include #include "xml/simple-node.h" namespace Inkscape {