| Summary: | [RFE] support builds without gnome-vfs | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Steve <y9t7sypezp> | ||||||
| Component: | inkscape | Assignee: | Gwyn Ciesla <gwync> | ||||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | rawhide | CC: | duffy, gwync, jonathan.underwood, lkundrak | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2016-02-15 12:01:44 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Attachments: |
|
||||||||
|
Description
Steve
2016-02-14 07:36:14 UTC
The "Import Clip Art ..." menu item is present, and the dialog is displayed, but it is not functional. When a search term is entered, there are no network transactions. The menu item should probably not be listed, if the dialog is not functional. See also: Bug 653516 - Inkscape should not require deprecated GnomeVFS Created attachment 1127144 [details]
proposed inkscape.spec patch to allow building without gnome-vfs
This patch should allow Inkscape to be built with gnome-vfs by default and without gnome-vfs with the rpmbuild option "--without gnome-gvs".
Test cases:
$ rpmbuild --nobuild inkscape.spec
$ rpmbuild --nobuild --without gnome-gvs inkscape.spec
$ rpmbuild --nobuild --with gnome-gvs inkscape.spec
Tests should be done with and without gnome-vfs2-devel installed.
Notes:
1. I left in a debug echo to show that the two conditions are handled.
2. This change suppresses an rpmbuild warning:
-#%{_datadir}/inkscape/clipart
+#%%{_datadir}/inkscape/clipart
(In reply to Steve from comment #2) ... > This patch should allow Inkscape to be built with gnome-vfs by default and > without gnome-vfs with the rpmbuild option "--without gnome-gvs". > > Test cases: > $ rpmbuild --nobuild inkscape.spec > $ rpmbuild --nobuild --without gnome-gvs inkscape.spec > $ rpmbuild --nobuild --with gnome-gvs inkscape.spec Urk! It's gnome-vfs. I didn't read my own test results. :-( Tests without gnome-vfs2-devel installed, so the errors are expected: $ rpmbuild --nobuild inkscape.spec opt_gnome_vfs: '--with-gnome-vfs' error: Failed build dependencies: gnome-vfs2-devel >= 2.0 is needed by inkscape-0.91-20.fc23.x86_64 $ rpmbuild --nobuild --without gnome-vfs inkscape.spec opt_gnome_vfs: '--without-gnome-vfs' $ rpmbuild --nobuild --with gnome-vfs inkscape.spec opt_gnome_vfs: '--with-gnome-vfs' error: Failed build dependencies: gnome-vfs2-devel >= 2.0 is needed by inkscape-0.91-20.fc23.x86_64 I have removed the dependency on gnome-vfs from the rawhide (F24) package. (In reply to Jonathan Underwood from comment #4) > I have removed the dependency on gnome-vfs from the rawhide (F24) package. Thanks, Jonathan. That's even better.[1] And thanks for cleaning up the spec file. [1] http://pkgs.fedoraproject.org/cgit/rpms/inkscape.git/commit/inkscape.spec?id=4fc0e61bd3a44c786ff470b7ca0532355d22602c |