import sources

This commit is contained in:
Adam Samalik 2023-06-21 13:09:54 +02:00 committed by root
parent c19ebecc6a
commit 3ab1e9f6d3
10 changed files with 1537 additions and 10 deletions

0
.do-not-sync-with-fedora Normal file
View File

30
.gitignore vendored
View File

@ -1,4 +1,28 @@
SOURCES/ImageMagick-6.9.9.38-1.fc32.src.rpm
SOURCES/inkscape-0.92.3.tar.bz2
/ImageMagick-6.9.9.38-1.fc32.src.rpm
inkscape.tar.bz2
/ImageMagick-6.9.9.38-1.fc27.src.rpm
/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
/ImageMagick-6.9.9.38-1.fc32.src.rpm
/inkscape-1.0.1.tar.xz
/libgdl-3.34.0-3.fc33.src.rpm
/gdlmm-3.7.3-16.fc33.src.rpm
/double-conversion-3.1.5-3.fc33.src.rpm
/double-conversion-3.1.5-3.fc32.src.rpm

1
.inkscape.metadata Normal file
View File

@ -0,0 +1 @@
e1886317f8e6d4fb340f6a783fe410aaff9f28a7 inkscape-0.92.3.tar.bz2

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +0,0 @@
--- !Policy
product_versions:
- rhel-9
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: desktop-qe.desktop-ci.tier1-gating.functional}

View File

@ -0,0 +1,17 @@
From: Lubomir Rintel <lkundrak@v3.sk>
https://bugzilla.redhat.com/show_bug.cgi?id=458845
Index: inkscape-0.48.2/inkscape.desktop.in
===================================================================
--- inkscape-0.48.2.orig/inkscape.desktop.in
+++ inkscape-0.48.2/inkscape.desktop.in
@@ -6,7 +6,7 @@ _X-GNOME-FullName=Inkscape Vector Graphi
_Comment=Create and edit Scalable Vector Graphics images
Type=Application
Categories=Graphics;VectorGraphics;GTK;
-MimeType=image/svg+xml;image/svg+xml-compressed;application/vnd.corel-draw;application/pdf;application/postscript;image/x-eps;application/illustrator;
+MimeType=image/svg+xml;image/svg+xml-compressed;application/vnd.corel-draw;application/pdf;application/postscript;image/x-eps;application/illustrator;image/cgm;image/x-wmf;application/x-xccx;application/x-xcgm;application/x-xcdt;application/x-xsk1;application/x-xcmx;image/x-xcdr;
Exec=inkscape %F
TryExec=inkscape
Terminal=false

View File

@ -0,0 +1,11 @@
--- inkscape-0.91/inkscape.desktop.in~ 2015-01-29 09:53:06.000000000 -0600
+++ inkscape-0.91/inkscape.desktop.in 2015-01-29 09:54:08.680065820 -0600
@@ -14,7 +14,7 @@
Icon=inkscape
X-Ayatana-Desktop-Shortcuts=Drawing
-[Drawing Shortcut Group]
+[X-Drawing Shortcut Group]
_Name=New Drawing
Exec=inkscape
TargetEnvironment=Unity

View File

@ -0,0 +1,64 @@
=== modified file 'src/ui/clipboard.cpp'
--- src/ui/clipboard.cpp 2016-04-02 15:15:43 +0000
+++ src/ui/clipboard.cpp 2016-04-07 16:30:32 +0000
@@ -146,8 +146,6 @@
void _setClipboardColor(guint32);
void _userWarn(SPDesktop *, char const *);
- void _inkscape_wait_for_targets(std::list<Glib::ustring> &);
-
// private properites
SPDocument *_clipboardSPDoc; ///< Document that stores the clipboard until someone requests it
Inkscape::XML::Node *_defs; ///< Reference to the clipboard document's defs node
@@ -1302,9 +1300,7 @@
*/
Glib::ustring ClipboardManagerImpl::_getBestTarget()
{
- // GTKmm's wait_for_targets() is broken, see the comment in _inkscape_wait_for_targets()
- std::list<Glib::ustring> targets; // = _clipboard->wait_for_targets();
- _inkscape_wait_for_targets(targets);
+ std::list<Glib::ustring> targets = _clipboard->wait_for_targets();
// clipboard target debugging snippet
/*
@@ -1456,39 +1452,6 @@
desktop->messageStack()->flash(Inkscape::WARNING_MESSAGE, msg);
}
-
-// GTKMM's clipboard::wait_for_targets is buggy and might return bogus, see
-//
-// https://bugs.launchpad.net/inkscape/+bug/296778
-// http://mail.gnome.org/archives/gtk-devel-list/2009-June/msg00062.html
-//
-// for details. Until this has been fixed upstream we will use our own implementation
-// of this method, as copied from /gtkmm-2.16.0/gtk/gtkmm/clipboard.cc.
-void ClipboardManagerImpl::_inkscape_wait_for_targets(std::list<Glib::ustring> &listTargets)
-{
- //Get a newly-allocated array of atoms:
- GdkAtom* targets = NULL;
- gint n_targets = 0;
- gboolean test = gtk_clipboard_wait_for_targets( gtk_clipboard_get(GDK_SELECTION_CLIPBOARD), &targets, &n_targets );
- if (!test || (targets == NULL)) {
- return;
- }
-
- //Add the targets to the C++ container:
- for (int i = 0; i < n_targets; i++)
- {
- //Convert the atom to a string:
- gchar* const atom_name = gdk_atom_name(targets[i]);
-
- Glib::ustring target;
- if (atom_name) {
- target = Glib::ScopedPtr<char>(atom_name).get(); //This frees the gchar*.
- }
-
- listTargets.push_back(target);
- }
-}
-
/* #######################################
ClipboardManager class
####################################### */

25
inkscape-appdata.patch Normal file
View File

@ -0,0 +1,25 @@
From 16f50bf4c4df921b9e816e09971c4f9aa9bb8ade Mon Sep 17 00:00:00 2001
From: Marc Jeanmougin <marc@jeanmougin.fr>
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 @@
</screenshot>
</screenshots>
<releases>
- <release version="1.0" date="2020-09-07">
+ <release version="1.0.1" date="2020-09-07">
<description>
<p>Inkscape 1.0.1</p>
<ul>
--
2.26.2

View File

@ -1,2 +1,2 @@
SHA512 (ImageMagick-6.9.9.38-1.fc32.src.rpm) = 0eb6ba55c02ce7ff1b7ea6a54841e4347bf03f1b6d657277ea0634c2bf2f29e68e940ac0e5ffd2d1b52a0e3b5eb68d4d5805ce51a58c7d4ddbd683cbf45a7103
SHA512 (inkscape-0.92.3.tar.bz2) = af3c0f672a108e583f3c92cde1451b3f1f5319c1669891005c230e73b3485aa8951af6d7b21c7ccd9e4acbca8eaa5a3bb61ae1d828e81885bc7b61a8ae933687
SHA512 (ImageMagick-6.9.9.38-1.fc32.src.rpm) = 0eb6ba55c02ce7ff1b7ea6a54841e4347bf03f1b6d657277ea0634c2bf2f29e68e940ac0e5ffd2d1b52a0e3b5eb68d4d5805ce51a58c7d4ddbd683cbf45a7103