From 5b195ca336c33f5f7408d47f5a2ed022884705aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0abata?= Date: Thu, 15 Oct 2020 13:40:00 +0200 Subject: [PATCH] RHEL 9.0.0 Alpha bootstrap The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/inkscape#62b4a6761a48e641833f3389b0e07288580a01bf --- .gitignore | 31 ++ Fedora-Color-Palette.gpl | 14 + inkscape-appdata.patch | 25 + inkscape-gcc11.patch | 289 ++++++++++ inkscape.spec | 1128 ++++++++++++++++++++++++++++++++++++++ sources | 1 + 6 files changed, 1488 insertions(+) create mode 100644 Fedora-Color-Palette.gpl create mode 100644 inkscape-appdata.patch create mode 100644 inkscape-gcc11.patch create mode 100644 inkscape.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..296587b 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,31 @@ +inkscape.tar.bz2 +/inkscape-0.48.0.tar.bz2 +/inkscape-0.48.1.tar.bz2 +/inkscape-0.48.2.tar.bz2 +/inkscape-0.48.3.1.tar.bz2 +/inkscape-0.48.4.tar.bz2 +/inkscape-0.48.5.tar.bz2 +/inkscape-0.91.tar.bz2 +/inkscape-0.92pre0.tar.bz2 +/inkscape-0.92pre1.tar.bz2 +/inkscape-0.92pre2.tar.bz2 +/inkscape-0.92pre3.tar.bz2 +/inkscape-0.92pre4.tar_Bv5Tl5T.bz2 +/inkscape-0.92pre5.tar.bz2 +/inkscape-0.92.0.tar.bz2 +/inkscape-0.92.1.tar_XlpI7qT.bz2 +/inkscape-r15604.tar.bz2 +/inkscape-r15686.tar.bz2 +/inkscape-r15740.tar.bz2 +/inkscape-0.92.2.tar.bz2 +/inkscape-0.92.3.tar.bz2 +/inkscape-INKSCAPE_0_92_3.tar.bz2 +/inkscape-INKSCAPE_0_92_4.tar.bz2 +/inkscape-master.tar.gz +/inkscape-INKSCAPE_1_0_BETA.tar.bz2 +/inkscape-1.0beta1.tar.bz2 +/inkscape-INKSCAPE_1_0_BETA2.tar.bz2 +/inkscape-INKSCAPE_1_0_RC1.tar.bz2 +/inkscape-1.0rc1_2020-04-09_09960d6f05.tar.xz +/inkscape-1.0_2020-05-01_4035a4fb49.tar.xz +/inkscape-1.0.1.tar.xz diff --git a/Fedora-Color-Palette.gpl b/Fedora-Color-Palette.gpl new file mode 100644 index 0000000..0a455e2 --- /dev/null +++ b/Fedora-Color-Palette.gpl @@ -0,0 +1,14 @@ +GIMP Palette +Name: Fedora RGB +Columns: 2 +# + 60 110 180 Fedora Blue + 41 65 114 Fedora Dark Blue +219 50 121 Friends Magenta +229 151 40 Features Orange +121 219 50 First Green +160 124 188 Freedom Purple + 0 0 0 Black + 76 76 76 Dark Grey +140 140 140 Grey +222 222 222 Light Grey diff --git a/inkscape-appdata.patch b/inkscape-appdata.patch new file mode 100644 index 0000000..3231adb --- /dev/null +++ b/inkscape-appdata.patch @@ -0,0 +1,25 @@ +From 16f50bf4c4df921b9e816e09971c4f9aa9bb8ade Mon Sep 17 00:00:00 2001 +From: Marc Jeanmougin +Date: Tue, 8 Sep 2020 00:59:36 +0200 +Subject: [PATCH] Fix appdata + +--- + org.inkscape.Inkscape.appdata.xml.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/org.inkscape.Inkscape.appdata.xml.in b/org.inkscape.Inkscape.appdata.xml.in +index a99ecddb20..e1febd5034 100644 +--- a/org.inkscape.Inkscape.appdata.xml.in ++++ b/org.inkscape.Inkscape.appdata.xml.in +@@ -39,7 +39,7 @@ + + + +- ++ + +

Inkscape 1.0.1

+
    +-- +2.26.2 + diff --git a/inkscape-gcc11.patch b/inkscape-gcc11.patch new file mode 100644 index 0000000..794fc70 --- /dev/null +++ b/inkscape-gcc11.patch @@ -0,0 +1,289 @@ +diff --git a/src/extension/system.cpp b/src/extension/system.cpp +index 08de0b4..418f5ba 100644 +--- a/src/extension/system.cpp ++++ b/src/extension/system.cpp +@@ -174,7 +174,7 @@ open_internal(Extension *in_plug, gpointer in_data) + // skip all the rest if we already found a function to open it + // since they're ordered by preference now. + if (!*pimod) { +- gchar const *ext = dynamic_cast(in_plug)->get_extension(); ++ gchar const *ext = dynamic_cast(*in_plug).get_extension(); + + gchar *filenamelower = g_utf8_strdown(filename, -1); + gchar *extensionlower = g_utf8_strdown(ext, -1); +@@ -384,7 +384,7 @@ save_internal(Extension *in_plug, gpointer in_data) + // skip all the rest if we already found someone to save it + // since they're ordered by preference now. + if (!*pomod) { +- gchar const *ext = dynamic_cast(in_plug)->get_extension(); ++ gchar const *ext = dynamic_cast(*in_plug).get_extension(); + + gchar *filenamelower = g_utf8_strdown(filename, -1); + gchar *extensionlower = g_utf8_strdown(ext, -1); +diff --git a/src/object/object-set.cpp b/src/object/object-set.cpp +index bf41bb0..dafa2c1 100644 +--- a/src/object/object-set.cpp ++++ b/src/object/object-set.cpp +@@ -242,7 +242,7 @@ void ObjectSet::set(SPObject *object, bool persist_selection_context) { + _clear(); + _add(object); + if(dynamic_cast(this)) +- return dynamic_cast(this)->_emitChanged(persist_selection_context); ++ return dynamic_cast(*this)._emitChanged(persist_selection_context); + } + + void ObjectSet::setReprList(std::vector const &list) { +@@ -257,7 +257,7 @@ void ObjectSet::setReprList(std::vector const &list) { + } + _emitSignals(); + if(dynamic_cast(this)) +- return dynamic_cast(this)->_emitChanged();// ++ return dynamic_cast(*this)._emitChanged();// + } + + +diff --git a/src/selection-chemistry.cpp b/src/selection-chemistry.cpp +index 88c5d8d..c4c3788 100644 +--- a/src/selection-chemistry.cpp ++++ b/src/selection-chemistry.cpp +@@ -680,7 +680,7 @@ static void sp_edit_select_all_full(SPDesktop *dt, bool force_all_layers, bool i + + switch (inlayer) { + case PREFS_SELECTION_LAYER: { +- if ( (onlysensitive && dynamic_cast(dt->currentLayer())->isLocked()) || ++ if ( (onlysensitive && dynamic_cast(*dt->currentLayer()).isLocked()) || + (onlyvisible && dt->itemIsHidden(dynamic_cast(dt->currentLayer()))) ) + return; + +@@ -775,7 +775,7 @@ Inkscape::XML::Node* ObjectSet::group() { + Geom::Affine item_t(Geom::identity()); + if (t_str) + sp_svg_transform_read(t_str, &item_t); +- item_t *= dynamic_cast(doc->getObjectByRepr(current->parent()))->i2doc_affine(); ++ item_t *= dynamic_cast(*doc->getObjectByRepr(current->parent())).i2doc_affine(); + // FIXME: when moving both clone and original from a transformed group (either by + // grouping into another parent, or by cut/paste) the transform from the original's + // parent becomes embedded into original itself, and this affects its clones. Fix +@@ -869,7 +869,7 @@ static void ungroup_impl(ObjectSet *set) + + SPItem *original = use; + while (dynamic_cast(original)) { +- original = dynamic_cast(original)->get_original(); ++ original = dynamic_cast(*original).get_original(); + } + + if (groups.find(original) != groups.end()) { +@@ -1651,7 +1651,8 @@ void ObjectSet::applyAffine(Geom::Affine const &affine, bool set_i2d, bool compe + && includes( sp_textpath_get_path_item(dynamic_cast(item->firstChild())) )); + + // ...both a flowtext and its frame? +- bool transform_flowtext_with_frame = (dynamic_cast(item) && includes( dynamic_cast(item)->get_frame(nullptr))); // (only the first frame is checked so far) ++ bool transform_flowtext_with_frame = (dynamic_cast(item) && includes( ++dynamic_cast(*item).get_frame(nullptr))); // (only the first frame is checked so far) + + // ...both an offset and its source? + bool transform_offset_with_source = (dynamic_cast(item) && dynamic_cast(item)->sourceHref) && includes( sp_offset_get_source(dynamic_cast(item)) ); +@@ -2048,19 +2049,21 @@ std::vector sp_get_same_fill_or_stroke_color(SPItem *sel, std::vectorstyle->getFillPaintServer() : iter->style->getStrokePaintServer(); + + if ((dynamic_cast(sel_server) || dynamic_cast(sel_server) || +- (dynamic_cast(sel_server) && dynamic_cast(sel_server)->getVector()->isSwatch())) ++ (dynamic_cast(sel_server) && dynamic_cast(*sel_server).getVector()->isSwatch())) + && + (dynamic_cast(iter_server) || dynamic_cast(iter_server) || +- (dynamic_cast(iter_server) && dynamic_cast(iter_server)->getVector()->isSwatch()))) { +- SPGradient *sel_vector = dynamic_cast(sel_server)->getVector(); +- SPGradient *iter_vector = dynamic_cast(iter_server)->getVector(); ++ (dynamic_cast(iter_server) && dynamic_cast(*iter_server).getVector()->isSwatch()))) { ++ SPGradient *sel_vector = dynamic_cast(*sel_server).getVector(); ++ SPGradient *iter_vector = dynamic_cast(*iter_server).getVector(); + if (sel_vector == iter_vector) { + match = true; + } + + } else if (dynamic_cast(sel_server) && dynamic_cast(iter_server)) { +- SPPattern *sel_pat = dynamic_cast(sel_server)->rootPattern(); +- SPPattern *iter_pat = dynamic_cast(iter_server)->rootPattern(); ++ SPPattern *sel_pat = dynamic_cast(*sel_server).rootPattern(); ++ SPPattern *iter_pat = dynamic_cast(*iter_server).rootPattern(); + if (sel_pat == iter_pat) { + match = true; + } +diff --git a/src/text-chemistry.cpp b/src/text-chemistry.cpp +index 151be25..cce1642 100644 +--- a/src/text-chemistry.cpp ++++ b/src/text-chemistry.cpp +@@ -134,7 +134,7 @@ text_put_on_path() + + if (SP_IS_TEXT(text)) { + // Replace any new lines (including sodipodi:role="line") by spaces. +- dynamic_cast(text)->remove_newlines(); ++ dynamic_cast(*text).remove_newlines(); + } + + Inkscape::Text::Layout const *layout = te_get_layout(text); +diff --git a/src/ui/clipboard.cpp b/src/ui/clipboard.cpp +index cca4172..fe9638e 100644 +--- a/src/ui/clipboard.cpp ++++ b/src/ui/clipboard.cpp +@@ -334,7 +334,7 @@ void ClipboardManagerImpl::copySymbol(Inkscape::XML::Node* symbol, gchar const* + SPObject *cmobj = _clipboardSPDoc->getObjectByRepr(repr); + if (cmobj && !user_symbol) { // convert only stock symbols + if (!Geom::are_near(scale_units, 1.0, Geom::EPSILON)) { +- dynamic_cast(cmobj)->scaleChildItemsRec( ++ dynamic_cast(*cmobj).scaleChildItemsRec( + Geom::Scale(scale_units), Geom::Point(0, SP_ACTIVE_DESKTOP->getDocument()->getHeight().value("px")), + false); + } +diff --git a/src/ui/dialog/filedialogimpl-gtkmm.cpp b/src/ui/dialog/filedialogimpl-gtkmm.cpp +index 5874cac..f119c81 100644 +--- a/src/ui/dialog/filedialogimpl-gtkmm.cpp ++++ b/src/ui/dialog/filedialogimpl-gtkmm.cpp +@@ -639,7 +639,7 @@ void FileSaveDialogImplGtk::fileNameChanged() { + Glib::ustring::size_type pos = name.rfind('.'); + if ( pos == Glib::ustring::npos ) return; + Glib::ustring ext = name.substr( pos ).casefold(); +- if (extension && Glib::ustring(dynamic_cast(extension)->get_extension()).casefold() == ext ) return; ++ if (extension && Glib::ustring(dynamic_cast(*extension).get_extension()).casefold() == ext ) return; + if (knownExtensions.find(ext) == knownExtensions.end()) return; + fromCB = true; + fileTypeComboBox.set_active_text(knownExtensions[ext]->get_filetypename(true)); +diff --git a/src/ui/dialog/filter-effects-dialog.cpp b/src/ui/dialog/filter-effects-dialog.cpp +index 9b1e130..d1e8efd 100644 +--- a/src/ui/dialog/filter-effects-dialog.cpp ++++ b/src/ui/dialog/filter-effects-dialog.cpp +@@ -477,8 +477,8 @@ private: + + for(int i = 0; i < cols; ++i) { + _tree.append_column_numeric_editable("", _columns.cols[i], "%.2f"); +- dynamic_cast( +- _tree.get_column_cell_renderer(i))->signal_edited().connect( ++ dynamic_cast( ++ *_tree.get_column_cell_renderer(i)).signal_edited().connect( + sigc::mem_fun(*this, &MatrixAttr::rebind)); + } + +@@ -575,7 +575,7 @@ public: + if(w == &_label) + return ""; + else +- return dynamic_cast(w)->get_as_attribute(); ++ return dynamic_cast(*w).get_as_attribute(); + } + + void clear_store() +@@ -2571,7 +2571,7 @@ void FilterEffectsDialog::PrimitiveList::on_drag_end(const Glib::RefPtr(get_parent())->get_vadjustment(); ++ auto a = dynamic_cast(*get_parent()).get_vadjustment(); + double v = a->get_value() + _autoscroll_y; + + if(v < 0) +@@ -2586,7 +2586,7 @@ bool FilterEffectsDialog::PrimitiveList::on_scroll_timeout() + + + if(_autoscroll_x) { +- auto a_h = dynamic_cast(get_parent())->get_hadjustment(); ++ auto a_h = dynamic_cast(*get_parent()).get_hadjustment(); + double h = a_h->get_value() + _autoscroll_x; + + if(h < 0) +diff --git a/src/ui/dialog/paint-servers.cpp b/src/ui/dialog/paint-servers.cpp +index ec49312..2c6852f 100644 +--- a/src/ui/dialog/paint-servers.cpp ++++ b/src/ui/dialog/paint-servers.cpp +@@ -283,7 +283,7 @@ Glib::RefPtr PaintServersDialog::get_pixbuf(SPDocument *document, G + preview_document->getRoot()->requestDisplayUpdate(SP_OBJECT_MODIFIED_FLAG); + preview_document->ensureUpToDate(); + +- Geom::OptRect dbox = dynamic_cast(rect)->visualBounds(); ++ Geom::OptRect dbox = dynamic_cast(*rect).visualBounds(); + + if (!dbox) { + return pixbuf; +diff --git a/src/ui/dialog/svg-fonts-dialog.cpp b/src/ui/dialog/svg-fonts-dialog.cpp +index 000f7ba..0c4bce9 100644 +--- a/src/ui/dialog/svg-fonts-dialog.cpp ++++ b/src/ui/dialog/svg-fonts-dialog.cpp +@@ -826,13 +826,13 @@ Gtk::VBox* SvgFontsDialog::glyphs_tab(){ + glyph_from_path_button.set_label(_("Get curves from selection...")); + glyph_from_path_button.signal_clicked().connect(sigc::mem_fun(*this, &SvgFontsDialog::set_glyph_description_from_selected_path)); + +- dynamic_cast( _GlyphsList.get_column_cell_renderer(0))->signal_edited().connect( ++ dynamic_cast( *_GlyphsList.get_column_cell_renderer(0)).signal_edited().connect( + sigc::mem_fun(*this, &SvgFontsDialog::glyph_name_edit)); + +- dynamic_cast( _GlyphsList.get_column_cell_renderer(1))->signal_edited().connect( ++ dynamic_cast( *_GlyphsList.get_column_cell_renderer(1)).signal_edited().connect( + sigc::mem_fun(*this, &SvgFontsDialog::glyph_unicode_edit)); + +- dynamic_cast( _GlyphsList.get_column_cell_renderer(2))->signal_edited().connect( ++ dynamic_cast( *_GlyphsList.get_column_cell_renderer(2)).signal_edited().connect( + sigc::mem_fun(*this, &SvgFontsDialog::glyph_advance_edit)); + + _glyphs_observer.signal_changed().connect(sigc::mem_fun(*this, &SvgFontsDialog::update_glyphs)); +diff --git a/src/ui/widget/ink-flow-box.cpp b/src/ui/widget/ink-flow-box.cpp +index 8485dd9..4b1ebe2 100644 +--- a/src/ui/widget/ink-flow-box.cpp ++++ b/src/ui/widget/ink-flow-box.cpp +@@ -72,7 +72,7 @@ void InkFlowBox::on_toggle(gint pos, Gtk::ToggleButton *tbutton) + bool active = true; + for (auto child : tbutton->get_parent()->get_children()) { + if (tbutton != child) { +- dynamic_cast(child)->set_active(active); ++ dynamic_cast(*child).set_active(active); + active = false; + } + } +@@ -97,7 +97,7 @@ void InkFlowBox::on_global_toggle(Gtk::ToggleButton *tbutton) + bool active = true; + for (auto child : tbutton->get_parent()->get_children()) { + if (tbutton != child) { +- dynamic_cast(child)->set_active(active); ++ dynamic_cast(*child).set_active(active); + active = false; + } + } +diff --git a/src/ui/widget/spin-button-tool-item.cpp b/src/ui/widget/spin-button-tool-item.cpp +index b283939..b8c639c 100644 +--- a/src/ui/widget/spin-button-tool-item.cpp ++++ b/src/ui/widget/spin-button-tool-item.cpp +@@ -207,7 +207,7 @@ SpinButtonToolItem::process_tab(int increment) + if(dynamic_cast(tool_item)) { + // (1) The tool item is a SpinButtonToolItem, in which case, we just pass + // focus to its spin-button +- dynamic_cast(tool_item)->grab_button_focus(); ++ dynamic_cast(*tool_item).grab_button_focus(); + handled = true; + } + else if(dynamic_cast(tool_item->get_child())) { +diff --git a/src/widgets/desktop-widget.cpp b/src/widgets/desktop-widget.cpp +index ebeb8ca..c25a217 100644 +--- a/src/widgets/desktop-widget.cpp ++++ b/src/widgets/desktop-widget.cpp +@@ -1848,7 +1848,7 @@ void SPDesktopWidget::namedviewModified(SPObject *obj, guint flags) + std::vector ch = Glib::wrap(GTK_CONTAINER(aux_toolbox))->get_children(); + for (auto i:ch) { + if (GTK_IS_CONTAINER(i->gobj())) { +- std::vector grch = dynamic_cast(i)->get_children(); ++ std::vector grch = dynamic_cast(*i).get_children(); + for (auto j:grch) { + + if (!GTK_IS_WIDGET(j->gobj())) // wasn't a widget +diff --git a/src/xml/repr-io.cpp b/src/xml/repr-io.cpp +index ac9794e..fc08250 100644 +--- a/src/xml/repr-io.cpp ++++ b/src/xml/repr-io.cpp +@@ -912,7 +912,7 @@ void sp_repr_write_stream( Node *repr, Writer &out, gint indent_level, + { + switch (repr->type()) { + case Inkscape::XML::TEXT_NODE: { +- if( dynamic_cast(repr)->is_CData() ) { ++ if( dynamic_cast(*repr).is_CData() ) { + // Preserve CDATA sections, not converting '&' to &, etc. + out.printf( "", repr->content() ); + } else { diff --git a/inkscape.spec b/inkscape.spec new file mode 100644 index 0000000..9545caf --- /dev/null +++ b/inkscape.spec @@ -0,0 +1,1128 @@ +%define debug_package %{nil} + +Name: inkscape +Version: 1.0.1 +Release: 2%{?dist} +Summary: Vector-based drawing program using SVG + +# Inkscape tags their releases with underscores and in ALLCAPS +%global repotag %(echo %{name}_%{version} |tr "." "_" |tr "[:lower:]" "[:upper:]") + +License: GPLv2+ and CC-BY +URL: https://inkscape.org/ +Source0: https://inkscape.org/gallery/item/21571/inkscape-1.0.1.tar.xz + +# Fedora Color Palette, GIMP format, CC-BY 3.0 +Source2: Fedora-Color-Palette.gpl + +Patch1: inkscape-gcc11.patch +# Backported from upstream +Patch2: inkscape-appdata.patch + +Provides: bundled(libcroco) +Provides: bundled(libgdl) + +BuildRequires: gcc-c++ +BuildRequires: aspell-devel aspell-en +BuildRequires: atk-devel +BuildRequires: boost-devel +BuildRequires: cairo-devel +BuildRequires: dos2unix +BuildRequires: desktop-file-utils +BuildRequires: double-conversion-devel +BuildRequires: freetype-devel +BuildRequires: gc-devel >= 6.4 +BuildRequires: gdlmm-devel +BuildRequires: gettext +BuildRequires: gsl-devel +BuildRequires: gtkmm30-devel +BuildRequires: gtkspell3-devel +%if ! 0%{?flatpak} +BuildRequires: ImageMagick-c++-devel +%endif +BuildRequires: intltool +BuildRequires: lcms2-devel +BuildRequires: libpng-devel >= 1.2 +BuildRequires: libwpg-devel +BuildRequires: libxml2-devel >= 2.6.11 +BuildRequires: libxslt-devel >= 1.0.15 +BuildRequires: pango-devel +BuildRequires: pkgconfig +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: poppler-glib-devel +BuildRequires: popt-devel +BuildRequires: libappstream-glib +BuildRequires: libtool +BuildRequires: potrace-devel +BuildRequires: cmake +BuildRequires: libwpd-devel +BuildRequires: dbus-glib-devel +BuildRequires: libjpeg-devel +BuildRequires: libsigc++20-devel +BuildRequires: libsoup-devel + +# Disable all for now. TODO: Be smarter +%if 0 +Requires: dia +Requires: ghostscript +Requires: perl(Image::Magick) +Requires: transfig +Requires: gimp +%endif +Requires: python3 +Requires: python3-lxml +Requires: python3-numpy +Requires: python3-scour + +# Weak dependencies for the LaTeX plugin +Suggests: pstoedit +Suggests: tex(latex) +Suggests: tex(dvips) +Suggests: texlive-amsmath +Suggests: texlive-amsfonts + +%description +Inkscape is a vector graphics editor, with capabilities similar to +Illustrator, CorelDraw, or Xara X, using the W3C standard Scalable Vector +Graphics (SVG) file format. It is therefore a very useful tool for web +designers and as an interchange format for desktop publishing. + +Inkscape supports many advanced SVG features (markers, clones, alpha +blending, etc.) and great care is taken in designing a streamlined +interface. It is very easy to edit nodes, perform complex path operations, +trace bitmaps and much more. + + +%package view +Summary: Viewing program for SVG files + +%description view +Viewer for files in W3C standard Scalable Vector Graphics (SVG) file +format. + + +%package docs +Summary: Documentation for Inkscape + +%description docs +Tutorial and examples for Inkscape, a graphics editor for vector +graphics in W3C standard Scalable Vector Graphics (SVG) file format. + + +%prep +%autosetup -n inkscape-1.0.1_2020-09-07_3bc2e813f5 -p1 +pathfix.py -pni "%{__python3} %{py3_shbang_opts}" . +find . -name CMakeLists.txt | xargs sed -i 's|COMMAND python |COMMAND %{__python3} |g' + +#strip invalid tag +sed -i /url/d org.inkscape.Inkscape.appdata.xml.in + +# https://bugs.launchpad.net/inkscape/+bug/314381 +# A couple of files have executable bits set, +# despite not being executable +find . -name '*.cpp' | xargs chmod -x +find . -name '*.h' | xargs chmod -x + +# Fix end of line encodings +dos2unix -k -q share/extensions/*.py + +%build +#export CFLAGS="${CFLAGS:--O2 -g -pipe -Wall -Werror=format-security -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection}" +#export CXXFLAGS="${CXXFLAGS:--O2 -g -pipe -Wall -Werror=format-security -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection}" +#export FFLAGS="${FFLAGS:--O2 -g -pipe -Wall -Werror=format-security -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules}" +#export FCFLAGS="${FCFLAGS:--O2 -g -pipe -Wall -Werror=format-security -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules}" +#export LDFLAGS="${LDFLAGS:--Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld}" +sed -i /FORTIFY_SOURCE/d CMakeLists.txt +cmake \ + -DCMAKE_C_FLAGS_RELEASE:STRING="-DNDEBUG" \ + -DCMAKE_CXX_FLAGS_RELEASE:STRING="-DNDEBUG" \ + -DCMAKE_Fortran_FLAGS_RELEASE:STRING="-DNDEBUG" \ + -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ + -DINCLUDE_INSTALL_DIR:PATH=%{_includedir} \ + -DLIB_INSTALL_DIR:PATH=%{_libdir} \ + -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=%{_datadir} \ +%if "lib64" == "lib64" + -DLIB_SUFFIX=64 \ +%endif + -DBUILD_SHARED_LIBS:BOOL=OFF . + +%make_build + + +%install +%make_install +find $RPM_BUILD_ROOT -type f -name 'lib*.a' | xargs rm -f + +# No skencil anymore +rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/extensions/sk2svg.sh + +# Install Fedora Color Pallette +install -pm 644 %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/inkscape/palettes/ + +%find_lang %{name} --with-man + +rm -rf $RPM_BUILD_ROOT%{_datadir}/inkscape/doc +rm -f $RPM_BUILD_ROOT%{_datadir}/doc/inkscape/copyright + + +%check +# Validate appdata file +appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/metainfo/*.appdata.xml + +# Validate desktop file +desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.inkscape.Inkscape.desktop + + +%files -f %{name}.lang +%{!?_licensedir:%global license %%doc} +%license COPYING +%doc AUTHORS NEWS.md README.md +%{_bindir}/inkscape +%dir %{_datadir}/inkscape +%{_datadir}/inkscape/attributes +%{_datadir}/inkscape/branding +%{_datadir}/inkscape/extensions +%if 0%{?flatpak} +# Pulls in ruby +%exclude %{_datadir}/inkscape/extensions/simplepath.rb +%endif +%{_datadir}/inkscape/filters +%{_datadir}/inkscape/fonts +%{_datadir}/inkscape/icons +%{_datadir}/inkscape/keys +%{_datadir}/inkscape/markers +%{_datadir}/inkscape/palettes +%{_datadir}/inkscape/paint +%{_datadir}/inkscape/pixmaps +%{_datadir}/inkscape/screens +%{_datadir}/inkscape/symbols +%{_datadir}/inkscape/templates +%{_datadir}/inkscape/ui +%{_datadir}/metainfo/org.inkscape.Inkscape.appdata.xml +%{_datadir}/applications/org.inkscape.Inkscape.desktop +%{_mandir}/man1/*.1* +%exclude %{_mandir}/man1/inkview.1* +%{_datadir}/inkscape/tutorials +%{_datadir}/icons/hicolor/*/apps/*.png +%{_datadir}/bash-completion/completions/inkscape + +%files view +%{!?_licensedir:%global license %%doc} +%license COPYING +%doc AUTHORS NEWS.md README.md +%{_bindir}/inkview +%{_mandir}/man1/inkview.1* +%{_mandir}/*/man1/inkview.1* + + +%files docs +%license COPYING +%dir %{_datadir}/inkscape +%{_datadir}/inkscape/examples + + +%changelog +* Fri Sep 11 2020 Kalev Lember - 1.0.1-2 +- Fix appdata 1.0.1 release info + +* Tue Sep 08 2020 Gwyn Ciesla - 1.0.1-1 +- 1.0.1 + +* Thu Sep 03 2020 Jeff Law - 1.0-8 +- Refine dynamic casts to avoid -Wnonnull warning with gcc-11 + +* Mon Aug 17 2020 Kalev Lember - 1.0-7 +- Drop two unneeded dependencies +- Validate appdata file in check rather than install section +- Use desktop-file-validate instead of desktop-file-install +- Drop unused gtk2 buildrequires + +* Tue Jul 28 2020 Fedora Release Engineering - 1.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Jul 14 2020 Tom Stellard - 1.0-5 +- Use make macros +- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro + +* Mon Jul 13 2020 Gwyn Ciesla - 1.0-4 +- Poppler 0.90.0 rebuild. + +* Tue Jun 23 2020 Gwyn Ciesla - 1.0-3 +- BR python3-setuptools. + +* Thu May 07 2020 Gwyn Ciesla - 1.0-2 +- Fix runtime dependencies. + +* Fri May 01 2020 Gwyn Ciesla - 1.0-1 +- 1.0 final + +* Wed Apr 15 2020 Gwyn Ciesla - 1.0-0.rc1.1 +- Download version with extensions. + +* Sat Apr 11 2020 Gwyn Ciesla - 1.0-0.rc1 +- 1.0 RC1 + +* Wed Jan 29 2020 Fedora Release Engineering - 1.0-0.beta.5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Jan 17 2020 Marek Kasik - 1.0-0.beta.4 +- Rebuild for poppler-0.84.0 + +* Wed Dec 04 2019 Gwyn Ciesla - 1.0-0.beta.3 +- 1.0 beta 2 + +* Mon Oct 14 2019 Gwyn Ciesla - 1.0-0.beta.2 +- 1.0 beta 1 + +* Tue Sep 24 2019 Christoph Junghans - 1.0-0.beta.1 +- Rebuild for libdouble-conversion + +* Mon Sep 09 2019 Gwyn Ciesla - 1.0-0.beta +- 1.0 beta + +* Mon Sep 09 2019 Kalev Lember - 0.92.4-12.git179c1e14 +- Use upstream appdata + +* Fri Aug 30 2019 Miro Hrončok - 0.92.4-11.git179c1e14 +- Explicitly depend on Python 3 interpreter +- Use python3 explicitly when building + +* Mon Aug 26 2019 Gwyn Ciesla - 0.92.4-10.git179c1e14 +- git snapshot for Python 3. + +* Tue Aug 20 2019 Susi Lehtola - 0.92.4-9 +- Rebuilt for GSL 2.6. + +* Thu Jul 25 2019 Fedora Release Engineering - 0.92.4-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu Jun 20 2019 Kalev Lember - 0.92.4-7 +- Don't hardcode /usr prefix + +* Wed Jun 12 2019 Kalev Lember - 0.92.4-6 +- Avoid ruby dep for flatpak builds + +* Wed Mar 27 2019 Gwyn Ciesla - 0.92.4-5 +- Build without -D_FORTIFY_SOURCE=2 to work around https://bugs.launchpad.net/inkscape/+bug/1778951 + +* Fri Feb 08 2019 Gwyn Ciesla - 0.92.4-4 +- Drop gvfs. + +* Fri Feb 01 2019 Fedora Release Engineering - 0.92.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jan 25 2019 Marek Kasik - 0.92.4-2 +- Rebuild for poppler-0.73.0 + +* Thu Jan 17 2019 Gwyn Ciesla - 0.92.4-1 +- 0.92.4 + +* Tue Jan 15 2019 Gwyn Ciesla - 0.92.3-11 +- End of line patch. + +* Mon Jan 14 2019 Gwyn Ciesla - 0.92.3-10 +- Alternate out of bounds patch. + +* Fri Jan 11 2019 Gwyn Ciesla - 0.92.3-9 +- Patch for out of bounds. + +* Tue Dec 04 2018 Gwyn Ciesla - 0.92.3-8 +- Add bundled provides. + +* Tue Sep 11 2018 Gwyn Ciesla - 0.92.3-7 +- Fix shebang handling. + +* Tue Aug 28 2018 Michael Cronenworth - 0.92.3-6 +- Rebuild for ImageMagick 6.9.10 + +* Tue Aug 14 2018 Marek Kasik - 0.92.3-5 +- Rebuild for poppler-0.67.0 + +* Fri Jul 20 2018 Debarshi Ray - 0.92.3-4 +- Fix FTBFS due to Python2 +- Remove GTK3-based BuildRequires + +* Fri Jul 13 2018 Fedora Release Engineering - 0.92.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Jun 27 2018 Gwyn Ciesla - 0.92.3-2 +- Fix for crash, 1575842. + +* Tue Apr 17 2018 Gwyn Ciesla - 0.92.3-1 +- 0.92.3. + +* Fri Mar 23 2018 Marek Kasik - 0.92.2-8 +- Rebuild for poppler-0.63.0 + +* Thu Mar 01 2018 Iryna Shcherbina - 0.92.2-7 +- Update Python 2 dependency declarations to new packaging standards + (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) + +* Wed Feb 14 2018 David Tardon - 0.92.2-6 +- rebuild for poppler 0.62.0 + +* Wed Feb 07 2018 Fedora Release Engineering - 0.92.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jan 11 2018 Igor Gnatenko - 0.92.2-4 +- Remove obsolete scriptlets + +* Wed Nov 08 2017 David Tardon - 0.92.2-3 +- rebuild for poppler 0.61.0 + +* Fri Oct 06 2017 David Tardon - 0.92.2-2 +- rebuild for poppler 0.60.1 + +* Mon Sep 25 2017 Gwyn Ciesla - 0.92.2-1 +- 0.92.2 final. + +* Fri Sep 08 2017 David Tardon - 0.92.1-15.20170713bzr15740 +- rebuild for poppler 0.59.0 + +* Tue Sep 05 2017 Adam Williamson - 0.92.1-14.20170713bzr15740 +- Rebuild for ImageMagick 6 reversion, drop ImageMagick 7 patch + +* Sun Aug 27 2017 Ville Skyttä - 0.92.1-13.20170713bzr15740 +- Own the /usr/lib/inkscape dir +- %%langify non-English man pages + +* Fri Aug 25 2017 Michael Cronenworth - 0.92.1-12.20170713bzr15740 +- Rebuilt for ImageMagick + +* Tue Aug 08 2017 Gwyn Ciesla - 0.92.1-11.20170713bzr15740 +- Require aspell-en + +* Thu Aug 03 2017 David Tardon - 0.92.1-10.20170713bzr15740 +- rebuild for poppler 0.57.0 + +* Wed Aug 02 2017 Fedora Release Engineering - 0.92.1-9.20170713bzr15740 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Sun Jul 30 2017 Kevin Fenzi - 0.92.1-8.20170713bzr15740 +- Rebuilt for ImageMagick + +* Wed Jul 26 2017 Fedora Release Engineering - 0.92.1-7.20170713bzr15740 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Thu Jul 13 2017 Gwyn Ciesla - 0.92.1-6.20170713bzr15740 +- Updated snapshot. + +* Fri Jun 23 2017 Gwyn Ciesla - 0.92.1-5.20170510bzr15686 +- Move from gtkspell to gtkspell3, BZ 1464487. + +* Wed May 10 2017 Gwyn Ciesla - 0.92.1-4.20170510bzr15686 +- Update to fix on Wayland. +- Fix CFLAGS. + +* Tue Mar 28 2017 David Tardon - 0.92.1-3.20170321bzr15604 +- rebuild for poppler 0.53.0 + +* Tue Mar 21 2017 Gwyn Ciesla - 0.92.1-2.20170321bzr15604 +- Snapshot to fix gcc7 FTBFS. + +* Thu Feb 16 2017 Jon Ciesla - 0.92.1-1 +- 0.92.1 final. + +* Fri Feb 10 2017 Fedora Release Engineering - 0.92.0-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Jan 05 2017 Jon Ciesla - 0.92.0-11 +- 0.92 final. + +* Fri Dec 30 2016 Jon Ciesla - 0.92-10.pre5 +- 0.92pre5. + +* Thu Dec 22 2016 Jon Ciesla - 0.92-9.pre4 +- 0.92pre4. + +* Fri Dec 16 2016 David Tardon - 0.92-8.pre3 +- rebuild for poppler 0.50.0 + +* Mon Nov 28 2016 Jon Ciesla - 0.92-7.pre3 +- 0.92pre3. +- Include Fedora Color Palette, BZ 981748 + +* Wed Nov 23 2016 David Tardon - 0.92-6.pre2 +- rebuild for poppler 0.49.0 + +* Fri Oct 28 2016 Jon Ciesla - 0.92-5.pre2 +- Require python-scour, BZ 1389772. + +* Fri Oct 28 2016 Jon Ciesla - 0.92-4.pre2 +- BR potrace-devel, BZ 1389772. + +* Fri Oct 21 2016 Jon Ciesla - 0.92-3.pre2 +- Fix release tag. + +* Fri Oct 21 2016 Marek Kasik - 0.92-2.pre2 +- Rebuild for poppler-0.48.0 + +* Wed Oct 19 2016 Jon Ciesla - 0.92-0.pre2 +- 0.92pre2. + +* Mon Jul 18 2016 Marek Kasik - 0.92-1.pre1 +- Rebuild for poppler-0.45.0 + +* Tue Jun 14 2016 Jon Ciesla - 0.92-0.pre1 +- 0.92pre1. +- Drop docs requirement on main package, BZ 1247239. + +* Tue May 17 2016 Jon Ciesla - 0.92-0.pre0 +- 0.92pre0, BZ 1336412. + +* Tue May 3 2016 Marek Kasik - 0.91-27 +- Rebuild for poppler-0.43.0 + +* Fri Apr 08 2016 Jon Ciesla - 0.91-26 +- Fix FTBFS with patch from https://bugzilla.gnome.org/show_bug.cgi?id=586626 + +* Mon Feb 22 2016 Orion Poplawski +- Rebuild for gsl 2.1 + +* Tue Feb 16 2016 Jonathan Underwood - 0.91-24 +- Add Requires for gvfs + +* Mon Feb 15 2016 Jonathan Underwood - 0.91-23 +- Break appdata file out of spec into its own file +- Validate appdata file once installed +- Add BuildRequires for libappstream-glib (provides appstream-util) +- Remove commented out line in file list +- Re-add export CXXFLAGS="%%{optflags} -std=c++11" to fix build + +* Mon Feb 15 2016 Jonathan Underwood - 0.91-22 +- Drop --disable-strict-build since this is fixed: + https://bugzilla.gnome.org/show_bug.cgi?id=752797 +- Drop export CXXFLAGS="%%{optflags} -std=c++11" since that's now default + +* Mon Feb 15 2016 Jonathan Underwood - 0.91-21 +- Remove BuildRequires for gnome-vfs2-devel + +* Thu Feb 04 2016 Fedora Release Engineering - 0.91-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Fri Jan 22 2016 Marek Kasik - 0.91-19 +- Rebuild for poppler-0.40.0 + +* Fri Jan 15 2016 Jonathan Wakely - 0.91-18 +- Rebuilt for Boost 1.60 + +* Wed Sep 23 2015 Kalev Lember - 0.91-17 +- Fix the build with latest glibmm24 + +* Thu Aug 27 2015 Jonathan Wakely - 0.91-16 +- Rebuilt for Boost 1.59 + +* Wed Aug 05 2015 Jonathan Wakely 0.91-15 +- Rebuilt for Boost 1.58 + +* Tue Aug 4 2015 Jonathan Underwood - 0.91-14 +- Remove some entries from unused Requires block that we now + explicitly Require or Suggests. + +* Tue Aug 4 2015 Jonathan Underwood - 0.91-13 +- Add Suggests deps for packages needed to enable LaTeX fragment + embedding + +* Wed Jul 29 2015 Fedora Release Engineering - 0.91-12 +- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159 + +* Thu Jul 23 2015 Adam Williamson - 0.91-11 +- --disable-strict-build (as gtkmm currently uses a deprecated glibmm symbol) + +* Wed Jul 22 2015 David Tardon +- rebuild for Boost 1.58 + +* Wed Jul 22 2015 Marek Kasik - 0.91-10 +- Rebuild (poppler-0.34.0) + +* Wed Jun 17 2015 Fedora Release Engineering - 0.91-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Fri Jun 5 2015 Marek Kasik - 0.91-8 +- Rebuild (poppler-0.33.0) + +* Wed Apr 29 2015 Kalev Lember - 0.91-7 +- Rebuilt for GCC 5 ABI change + +* Thu Mar 26 2015 Richard Hughes - 0.91-6 +- Add an AppData file for the software center + +* Fri Mar 06 2015 Jon Ciesla - 0.91-5 +- ImageMagick rebuild. + +* Thu Feb 12 2015 Peter Robinson 0.91-4 +- Cleanup spec +- Use %%license +- Drop (now unneeded) perl requirements (rhbz#579390) +- Drop ChangeLog as details are covered in NEWS + +* Wed Feb 04 2015 Petr Machata - 0.91-3 +- Bump for rebuild. + +* Fri Jan 30 2015 Jon Ciesla - 0.91-2 +- Move tutorials into main package, BZ 1187686. + +* Thu Jan 29 2015 Jon Ciesla - 0.91-1 +- Latest upstream. + +* Tue Jan 27 2015 Petr Machata - 0.48.5-7 +- Rebuild for boost 1.57.0 + +* Fri Jan 23 2015 Marek Kasik - 0.48.5-6 +- Rebuild (poppler-0.30.0) +- Backport commit "Fix build with poppler 0.29.0 (Bug #1399811)" + +* Fri Jan 09 2015 Jon Ciesla - 0.48.5-5 +- Added aspell support, BZ 1171934. + +* Thu Nov 27 2014 Marek Kasik - 0.48.5-4 +- Rebuild (poppler-0.28.1) + +* Thu Aug 28 2014 Jitka Plesnikova - 0.48.5-3 +- Perl 5.20 rebuild + +* Sat Aug 16 2014 Fedora Release Engineering - 0.48.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Mon Jul 21 2014 Jon Ciesla - 0.48.5-1 +- Latest bugfix release. +- Spurious comma patch upstreamed. +- Dropped Freetype, poppler, gc patches. + +* Sat Jun 07 2014 Fedora Release Engineering - 0.48.4-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Tue Jun 03 2014 Jon Ciesla - 0.48.4-17 +- Switch to lcms2. + +* Tue May 27 2014 David Tardon - 0.48.4-16 +- switch to librevenge-based import libs + +* Fri May 23 2014 Petr Machata - 0.48.4-15 +- Rebuild for boost 1.55.0 + +* Thu May 15 2014 Lubomir Rintel - 0.48.4-14 +- Fix build with new Poppler and GC (Sandro Mani, #1097945) + +* Wed May 14 2014 Jon Ciesla - 0.48.4-13 +- poppler rebuild. + +* Mon Mar 31 2014 Jon Ciesla - 0.48.4-12 +- ImageMagick rebuild. +- Patch for Freetype path. + +* Wed Oct 09 2013 Jon Ciesla - 0.48.4-11 +- ImageMagick rebuild. + +* Mon Aug 19 2013 Marek Kasik - 0.48.4-10 +- Rebuild (poppler-0.24.0) + +* Sat Aug 03 2013 Fedora Release Engineering - 0.48.4-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Tue Jul 30 2013 Petr Machata - 0.48.4-8 +- Rebuild for boost 1.54.0 + +* Wed Jul 24 2013 Petr Pisar - 0.48.4-7 +- Perl 5.18 rebuild + +* Tue Jun 25 2013 Jon Ciesla - 0.48.4-6 +- libpoppler rebuild. + +* Mon Mar 18 2013 Jon Ciesla - 0.48.4-5 +- ImageMagick rebuild. + +* Fri Feb 15 2013 Jon Ciesla - 0.48.4-4 +- Fix FTBFS. + +* Thu Feb 14 2013 Fedora Release Engineering - 0.48.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Fri Jan 18 2013 Marek Kasik - 0.48.4-2 +- Rebuild (poppler-0.22.0) + +* Thu Dec 06 2012 Jon Ciesla - 0.48.3.1-4 +- 0.48.4, fix XXE security flaw. +- Correct man page ownership. + +* Thu Dec 06 2012 Jon Ciesla - 0.48.3.1-4 +- Fix directory ownership, BZ 873817. +- Fix previous changelog version. + +* Mon Nov 19 2012 Nils Philippsen - 0.48.3.1-3 +- update sourceforge download URL + +* Thu Nov 01 2012 Jon Ciesla - 0.48.3.1-2 +- Allow loading large XML, BZ 871012. + +* Fri Oct 05 2012 Jon Ciesla - 0.48.3.1-1 +- Lastest upstream. + +* Thu Oct 04 2012 Jon Ciesla - 0.48.2-13 +- Added dep on uniconvertor, BZ 796424. + +* Thu Jul 19 2012 Fedora Release Engineering - 0.48.2-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Mon Jul 09 2012 Petr Pisar - 0.48.2-11 +- Perl 5.16 rebuild + +* Mon Jul 2 2012 Marek Kasik - 0.48.2-10 +- Rebuild (poppler-0.20.1) + +* Wed Jun 27 2012 Petr Pisar - 0.48.2-9 +- Perl 5.16 rebuild + +* Sat Jun 23 2012 Rex Dieter +- 0.48.2-8 +- fix icon/desktop-file scriptlets (#739375) +- drop .desktop vendor (f18+) +- inkscape doesn't build with poppler-0.20.0 (#822413) + +* Fri Jun 15 2012 Petr Pisar - 0.48.2-7 +- Perl 5.16 rebuild + +* Mon Jun 11 2012 Adel Gadllah - 0.48.2-6 +- Rebuild for new poppler + +* Wed Apr 11 2012 Peter Robinson - 0.48.2-5 +- Rebuild for ImageMagik + +* Thu Mar 8 2012 Daniel Drake - 0.48.2-4 +- Fix build with GCC 4.7 + +* Tue Feb 28 2012 Fedora Release Engineering - 0.48.2-3 +- Rebuilt for c++ ABI breakage + +* Fri Jan 13 2012 Fedora Release Engineering - 0.48.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue Nov 15 2011 German Ruiz - 0.48.2-1 +- New upstream version +- Fix glib include compile problem +- Fix compilation against libpng-1.5 + +* Fri Oct 28 2011 Rex Dieter - 0.48.1-10 +- rebuild(poppler) + +* Fri Sep 30 2011 Marek Kasik - 0.48.1-9 +- Rebuild (poppler-0.18.0) + +* Mon Sep 19 2011 Marek Kasik - 0.48.1-8 +- Rebuild (poppler-0.17.3) + +* Thu Jul 21 2011 Petr Sabata - 0.48.1-7 +- Perl mass rebuild + +* Tue Jul 19 2011 Petr Sabata - 0.48.1-6 +- Perl mass rebuild + +* Fri Jul 15 2011 Marek Kasik - 0.48.1-5 +- Rebuild (poppler-0.17.0) + +* Sun Mar 13 2011 Marek Kasik - 0.48.1-4 +- Rebuild (poppler-0.16.3) + +* Wed Feb 09 2011 Fedora Release Engineering - 0.48.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Wed Feb 09 2011 Lubomir Rintel - 0.48.1-2 +- Re-enable GVFS for OCAL + +* Mon Feb 07 2011 Lubomir Rintel - 0.48.1-1 +- Bump release + +* Fri Feb 04 2011 Lubomir Rintel - 0.48.0-10 +- Drop gnome-vfs requirement +- Fix Rawhide build + +* Sat Jan 01 2011 Rex Dieter - 0.48.0-9 +- rebuild (poppler) + +* Wed Dec 15 2010 Rex Dieter - 0.48.0-8 +- rebuild (poppler) + +* Wed Dec 08 2010 Caolán McNamara - 0.48.0-7 +- rebuilt (libwpd) + +* Sun Nov 14 2010 Lubomir Rintel - 0.48.0-6 +- rebuilt (poppler) + +* Tue Oct 05 2010 Nils Philippsen - 0.48.0-5 +- Rebuild for poppler update + +* Wed Sep 29 2010 jkeating - 0.48.0-4 +- Rebuilt for gcc bug 634757 + +* Wed Sep 29 2010 Dan Horák - 0.48.0-3 +- drop the s390(x) ExcludeArch + +* Mon Sep 20 2010 Tom "spot" Callaway - 0.48.0-2 +- rebuild for new ImageMagick + +* Wed Aug 25 2010 Lubomir Rintel - 0.48.0-1 +- New upstream release +- Drop el5 support + +* Thu Aug 19 2010 Rex Dieter - 0.48-0.5.20100505bzr +- rebuild (poppler) + +* Tue Jul 27 2010 David Malcolm - 0.48-0.4.20100505bzr +- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild + +* Tue Jun 01 2010 Marcela Maslanova - 0.48-0.3.20100505bzr +- Mass rebuild with perl-5.12.0 + +* Wed May 05 2010 Lubomir Rintel - 0.48-0.2.20100505bzr +- Move to later snapshot +- Drop uniconvertor patch + +* Tue Apr 06 2010 Caolán McNamara - 0.48-0.2.20100318bzr +- Resolves: rhbz#565106 fix inkscape-0.47-x11.patch to not clobber INKSCAPE_LIBS + +* Thu Mar 18 2010 Lubomir Rintel - 0.48-0.1.20100318bzr +- Update to latest bazaar snapshot + +* Thu Feb 18 2010 Lubomir Rintel - 0.47-7 +- Fix build + +* Wed Jan 20 2010 Stepan Kasal - 0.47-6 +- ExcludeArch: s390 s390x + +* Fri Jan 15 2010 Stepan Kasal - 0.47-5 +- require perl(:MODULE_COMPAT_5.10.x) because the package requires libperl.so +- the same for inkscape-view + +* Fri Jan 8 2010 Owen Taylor - 0.47-4 +- Remove loudmouth BuildRequires; there is no current usage of loudmouth in the code + +* Sun Dec 06 2009 Lubomir Rintel - 0.47-2 +- Fix Rawhide build. + +* Wed Nov 25 2009 Lubomir Rintel - 0.47-1 +- Stable release + +* Mon Nov 23 2009 Adam Jackson 0.47-0.18.pre4.20091101svn +- Fix RHEL6 build. + +* Mon Sep 07 2009 Lubomir Rintel - 0.47-0.17.pre4.20091101svn +- Icon for main window (#532325) + +* Mon Sep 07 2009 Lubomir Rintel - 0.47-0.16.pre4.20091101svn +- Move to a later snapshot +- python-lxml and numpy seem to be rather popular, add them as hard deps + +* Mon Sep 07 2009 Lubomir Rintel - 0.47-0.16.pre3.20091017svn +- Move to a later snapshot + +* Mon Sep 07 2009 Lubomir Rintel - 0.47-0.16.pre3.20090925svn +- Move to a later snapshot +- Drop debugging compiler flags, enable optimizations again +- Make it build on everything since EL5 again + +* Mon Sep 07 2009 Lubomir Rintel - 0.47-0.16.pre2.20090907svn +- Move inkview man page to -view subpackage (#515358) +- Add license, etc. to main package + +* Mon Sep 07 2009 Lubomir Rintel - 0.47-0.15.pre2.20090907svn +- Update to a post-pre2 snapshot + +* Mon Aug 10 2009 Lubomir Rintel - 0.47-0.15.pre1.20090629svn +- Update to a post-pre1 snapshot +- Drop upstreamed CRC32 fix + +* Fri Jul 24 2009 Fedora Release Engineering - 0.47-0.14.pre0.20090629svn +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Mon Jun 29 2009 Lubomir Rintel - 0.47-0.13.pre0.20090629svn +- Update to a newer snapshot + +* Tue Jun 16 2009 Lubomir Rintel - 0.47-0.12.pre0.20090616svn +- Update to post-pre0 snapshot + +* Tue Jun 02 2009 Lubomir Rintel - 0.47-0.11.20090602svn +- More recent snapshot +- Upstream removed rasterized icons again + +* Sat May 23 2009 Lubomir Rintel - 0.47-0.10.20090518svn +- Rebuild for new poppler + +* Mon May 18 2009 Lubomir Rintel - 0.47-0.9.20090518svn +- Update past upstream Beta release + +* Mon May 18 2009 Lubomir Rintel - 0.47-0.8.20090508svn +- Fix ODG export + +* Fri May 08 2009 Lubomir Rintel - 0.47-0.7.20090508svn +- Update to a post-alpha snapshot +- Upstream applied our GCC 4.4 patch + +* Fri Apr 10 2009 Lubomir Rintel - 0.47-0.6.20090410svn +- Update to newer snapshot +- Fix doc/incview reversed subpackage content + +* Wed Mar 04 2009 Lubomir Rintel - 0.47-0.6.20090301svn +- Rebuild for new ImageMagick + +* Wed Mar 04 2009 Lubomir Rintel - 0.47-0.5.20090301svn +- Split documentation and inkview into subpackages + +* Mon Mar 02 2009 Lubomir Rintel - 0.47-0.4.20090301svn +- Bump to later SVN snapshot to fix inkscape/+bug/331864 +- Fix a startup crash when compiled with GCC 4.4 +- It even runs now! :) + +* Fri Feb 27 2009 Lubomir Rintel - 0.47-0.4.20090227svn +- Enable the test suite + +* Fri Feb 27 2009 Lubomir Rintel - 0.47-0.3.20090227svn +- Past midnight! :) +- More recent snapshot, our gcc44 fixes now upstream +- One more gcc44 fix, it even compiles now +- We install icons now, update icon cache +- Disable inkboard, for it won't currently compile + +* Thu Feb 26 2009 Lubomir Rintel - 0.47-0.3.20090226svn +- Later snapshot +- Compile with GCC 4.4 + +* Tue Jan 06 2009 Lubomir Rintel - 0.47-0.3.20090105svn +- Update to newer SVN +- Drop upstreamed patches +- Enable WordPerfect Graphics support +- Enable embedded Perl scripting +- Enable Imagemagick support +- Disable OpenSSL due to licensing issues + +* Thu Aug 14 2008 Lubomir Rintel - 0.47-0.3.20080814svn +- Update to today's SVN snapshot +- Drop the upstreamed poppler patch + +* Wed Aug 13 2008 Lubomir Rintel - 0.47-0.2.20080705svn +- Rediff patches for zero fuzz +- Use uniconvertor to handle CDR and WMF (#458845) + +* Wed Jul 09 2008 Lubomir Rintel - 0.47-0.1.20080705svn +- Subversion snapshot + +* Wed Jul 09 2008 Lubomir Rintel - 0.46-4 +- Fix compile issues with newer gtk and poppler + +* Thu Jun 26 2008 Lubomir Rintel - 0.46-3 +- Remove useless old hack, that triggered an assert after gtkfilechooser switched to gio + +* Fri Apr 11 2008 Lubomir Kundrak - 0.46-2.1 +- More buildrequires more flexible, so that this builds on RHEL + +* Sat Apr 05 2008 Lubomir Kundrak - 0.46-2 +- Fix LaTeX rendering, #441017 + +* Tue Mar 25 2008 Lubomir Kundrak - 0.46-1 +- 0.46 released + +* Sun Mar 23 2008 Lubomir Kundrak - 0.46-0.3.pre3 +- Rebuild for newer Poppler + +* Wed Mar 12 2008 Lubomir Kundrak - 0.46-0.2.pre3 +- Probably last prerelease? + +* Fri Feb 22 2008 Lubomir Kundrak - 0.46-0.2.pre2 +- Panel icon sizes + +* Sun Feb 17 2008 Lubomir Kundrak - 0.46-0.1.pre2 +- 0.46pre2 +- Dropping upstreamed patches + +* Sat Feb 16 2008 Lubomir Kundrak - 0.45.1+0.46pre1-5 +- Attempt to fix the font selector (#432892) + +* Thu Feb 14 2008 Lubomir Kundrak - 0.45.1+0.46pre1-4 +- Tolerate recoverable errors in OCAL feeds +- Fix OCAL insecure temporary file usage (#432807) + +* Wed Feb 13 2008 Lubomir Kundrak - 0.45.1+0.46pre1-3 +- Fix crash when adding text objects (#432220) + +* Thu Feb 07 2008 Lubomir Kundrak - 0.45.1+0.46pre1-2 +- Build with gcc-4.3 + +* Wed Feb 06 2008 Lubomir Kundrak - 0.45.1+0.46pre1-1 +- 0.46 prerelease +- Minor cosmetic changes to satisfy the QA script +- Dependency on Boost +- Inkboard is not optional +- Merge from Denis Leroy's svn16571 snapshot: +- Require specific gtkmm24-devel versions +- enable-poppler-cairo +- No longer BuildRequire libsigc++20-devel + +* Wed Dec 5 2007 Denis Leroy - 0.45.1-5 +- Rebuild with new openssl + +* Sun Dec 02 2007 Lubomir Kundrak - 0.45.1-4 +- Added missing dependencies for modules (#301881) + +* Sun Dec 02 2007 Lubomir Kundrak - 0.45.1-3 +- Satisfy desktop-file-validate, so that Rawhide build won't break + +* Sat Dec 01 2007 Lubomir Kundrak - 0.45.1-2 +- Use GTK print dialog +- Added compressed SVG association (#245413) +- popt headers went into popt-devel, post Fedora 7 +- Fix macro usage in changelog + +* Wed Mar 21 2007 Denis Leroy - 0.45.1-1 +- Update to bugfix release 0.45.1 +- Added R to ImageMagick-perl (#231563) + +* Wed Feb 7 2007 Denis Leroy - 0.45-1 +- Update to 0.45 +- Enabled inkboard, perl and python extensions +- Added patch for correct python autodetection +- LaTex patch integrated upstreamed, removed +- Some rpmlint cleanups + +* Wed Dec 6 2006 Denis Leroy - 0.44.1-2 +- Added patches to fix LaTex import (#217699) +- Added patch to base postscript import on pstoedit plot-svg + +* Thu Sep 7 2006 Denis Leroy - 0.44.1-1 +- Update to 0.44.1 +- Removed png export patch, integrated upstream +- Some updated BRs + +* Mon Aug 28 2006 Denis Leroy - 0.44-6 +- FE6 Rebuild + +* Tue Aug 22 2006 Denis Leroy - 0.44-5 +- Removed skencil Require (bug 203229) + +* Thu Aug 10 2006 Denis Leroy - 0.44-4 +- Added patch to fix png dpi export problem (#168406) + +* Wed Aug 9 2006 Denis Leroy - 0.44-3 +- Bumping up release to fix upgrade path + +* Wed Jun 28 2006 Denis Leroy - 0.44-2 +- Update to 0.44 +- Removed obsolete patches +- Disabled experimental perl and python extensions +- Added pstoedit, skencil, gtkspell and LittleCms support +- Inkboard feature disabled pending further security tests + +* Tue Feb 28 2006 Denis Leroy - 0.43-3 +- Rebuild + +* Mon Jan 16 2006 Denis Leroy - 0.43-2 +- Updated GC patch, bug 171791 + +* Sat Dec 17 2005 Denis Leroy - 0.43-1 +- Update to 0.43 +- Added 2 patches to fix g++ 4.1 compilation issues +- Enabled new jabber/loudmouth-based inkboard feature + +* Mon Sep 26 2005 Denis Leroy - 0.42.2-2 +- rebuilt with newer glibmm + +* Thu Sep 1 2005 Michael Schwendt - 0.42.2-1 +- update to 0.42.2 + +* Thu Aug 18 2005 Michael Schwendt - 0.42-3 +- rebuilt +- add patch to repair link-check of GC >= 6.5 (needs pthread and dl) + +* Fri Jul 29 2005 Michael Schwendt - 0.42-2 +- Extend ngettext/dgettext patch for x86_64 build. + +* Tue Jul 26 2005 Michael Schwendt - 0.42-1 +- update to 0.42 (also fixes #160326) +- BR gnome-vfs2-devel +- no files left in %%_libdir/inkscape +- include French manual page +- GCC4 patch obsolete, 64-bit patch obsolete, dgettext patch split off + +* Tue May 31 2005 Michael Schwendt - 0.41-7 +- append another 64-bit related patch (dgettext configure check failed) + +* Tue May 31 2005 Michael Schwendt - 0.41-6 +- remove explicit aclocal/autoconf calls in %%build as they create a + bad Makefile for FC4/i386, which causes build to fail (#156228), + and no comment explains where they were added/needed + +* Tue May 31 2005 Michael Schwendt - 0.41-5 +- bump and rebuild as 0.41-4 failed in build system setup + +* Wed May 25 2005 Jeremy Katz - 0.41-4 +- add patch for gcc4 problems (ignacio, #156228) +- fix build on 64bit boxes. sizeof(int) != sizeof(void*) + +* Sun May 22 2005 Jeremy Katz - 0.41-3 +- rebuild on all arches + +* Thu Apr 07 2005 Michael Schwendt +- rebuilt + +* Wed Feb 09 2005 Phillip Compton - 0.41-1 +- 0.41. +- enable python. + +* Sat Dec 04 2004 Phillip Compton - 0.40-1 +- 0.40. + +* Tue Nov 16 2004 Phillip Compton - 0.40-0.pre3 +- 0.40pre3. + +* Thu Nov 11 2004 Phillip Compton - 0.39-0.fdr.2 +- post/postun for new mime system. +- Dropped redundant BR XFree86-devel. + +* Sun Aug 29 2004 Phillip Compton - 0:0.39-0.fdr.1 +- 0.39. + +* Sat Apr 10 2004 P Linnell 0:0.38.1-0.fdr.1 +- respin real fix for Provides/Requires for perl(SpSVG) + +* Fri Apr 9 2004 P Linnell 0:0.38.1-0.fdr.0 +- respin with updated tarball with fix for postscript printing + +* Thu Apr 8 2004 P Linnell 0:0.38-0.fdr.2 +- respin to fix provides + +* Thu Apr 8 2004 P Linnell 0:0.38.0.fdr.1 +- version upgrade with many improvements and bug fixes + +* Fri Mar 19 2004 P Linnell 0:0.37.0.fdr.7 +- repsin - sourceforge does not allow reloading files with same name +* Tue Mar 16 2004 P Linnell 0:0.37.0.fdr.6 +- fix typo in provides +* Tue Mar 16 2004 P Linnell 0:0.37.0.fdr.5 +- add %%{release} to provides perl(SpSVG) = %%{epoch}:%%{version}:%%{release} only +* Tue Mar 16 2004 P Linnell 0:0.37.0.fdr.4 +- add %%{release} to provides +* Sun Mar 14 2004 P Linnell 0:0.37.0.fdr.3 +- add arch dependent flags +* Thu Mar 11 2004 P Linnell 0:0.37.0.fdr.2 +- add libsigc++-devel instead of add libsigc++ - duh +- add BuildRequires: perl-XML-Parser +- fix package name to follow package naming guidelines +* Mon Mar 1 2004 P Linnell 0:0.37.1.fdr.1 +- disable static libs +- enable inkjar +* Tue Feb 10 2004 P Linnell 0:0.37.0.fdr.1 +- pgp'd tarball from inkscape.org +- clean out the cvs tweaks in spec file +- enable gnome-print +- add the new tutorial files +- make sure .mo file gets packaged +- add provides: perlSVG +- submit to Fedora QA +* Sat Feb 7 2004 P Linnell +- rebuild of current cvs +- tweaks to build cvs instead of dist tarball +- add inkview +* Sat Dec 20 2003 P Linnell +- First crack at Fedora/RH spec file +- nuke gnome print - it won't work (bug is filed already) diff --git a/sources b/sources new file mode 100644 index 0000000..2ce0f01 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (inkscape-1.0.1.tar.xz) = 70145e02fe7c3ffbfa3dcea690bfe3315131fb9a507c70bcdc1d0db394d207e3bd04d7cc86c3b625597bddfd2b6e09a03841aece6d2ffb6517fe1c619193ec96