From ee849553d0a5e93ee3c13f6e7953f8032194f478b3d76eb938d0443cab7c40b2 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Mon, 23 Oct 2017 10:16:21 +0000 Subject: [PATCH] - Update to 0.12.0: * Add data transferred to file operation dialog. * Bump versions * Disable context-menu actions that cannot be used * Don't export github templates * Fix partially visible toggled path buttons * Add functions to get and set search settings * Fix mistakes in listview column width calculation * Add archiver separator only when needed * Add a separator before archiver actions * Enable XDS subfolder drop * UI improvements for Fm::MountOperationPasswordDialog() * Respect inactiveness when drawing text * Grey out files that have been Ctrl-X'ed (#88) * Ignore button for error dialog * Inline renaming for detailed list view (#110) * Remove redundant code. * Prefer local paths if they exist * Removed QFileInfo (as @PCMan recommended) * Simplification, optimization and a fix * Really focus text entry on showing dialog * Two small fixes * Keep selection on reloading (if not CPU-intensive) * Added back/forward buttons and fixed 3 issues * Reload button, hidden shortcut and a fix * Implement FileDialog::selectMimeTypeFilter() and QString FileDialog::selectedMimeTypeFilter(). * Initialize folder_ to null * Fixed the quote issue * Always preserve explicitly set labels * Update OK button text and state when needed OBS-URL: https://build.opensuse.org/package/show/X11:LXQt/libfm-qt?expand=0&rev=7 --- libfm-qt-0.11.2.tar.xz | 3 - libfm-qt-0.11.2.tar.xz.asc | 16 --- libfm-qt-0.12.0.tar.xz | 3 + libfm-qt-0.12.0.tar.xz.asc | 16 +++ libfm-qt.changes | 195 +++++++++++++++++++++++++++++++++++++ libfm-qt.spec | 24 +++-- 6 files changed, 230 insertions(+), 27 deletions(-) delete mode 100644 libfm-qt-0.11.2.tar.xz delete mode 100644 libfm-qt-0.11.2.tar.xz.asc create mode 100644 libfm-qt-0.12.0.tar.xz create mode 100644 libfm-qt-0.12.0.tar.xz.asc diff --git a/libfm-qt-0.11.2.tar.xz b/libfm-qt-0.11.2.tar.xz deleted file mode 100644 index 5a199a0..0000000 --- a/libfm-qt-0.11.2.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d6154760fd89eea9c4f87acce4c8c692852229ed8d5bbaf25f4a8517024f74fd -size 130456 diff --git a/libfm-qt-0.11.2.tar.xz.asc b/libfm-qt-0.11.2.tar.xz.asc deleted file mode 100644 index b492271..0000000 --- a/libfm-qt-0.11.2.tar.xz.asc +++ /dev/null @@ -1,16 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iQIzBAABCgAdFiEEfHM7pfWFqtZp5NI6QsnI069epeMFAlhav4IACgkQQsnI069e -peOWVRAAi3S9kKujcGsK1dXhN/r5nO6jE0UlUt6RJhbHodOc4PFVqg1CRZfjlnrg -FqC5RvDkpAQ1A8QyoYOrVpSe7OYRrdQV9WUcEwMiQhJvr8csJMeVdUdOf/s8e3LV -c6Xv6bAVNqsQKG0g598mhV+81yDHwk6buOtn6h3c/oxZM3DxZbpZarBmGa1tmQMb -+dx2FXnn4Ms5aKJasboosnlU+NaycALOmCnqEPlDJNhV5MIbdq3WpNCnPQScgfGm -PezgNbtI/o6KXYnAovbBGBJWzhqpdMPfD/opXpQGYtBCFgRAOah+InR8cCZ1uKJ5 -YZFZgndKfzkvWh4uXnnbeMD6eBbsJb1HlN5xU6vsmH0pmqRUr42czhHR9uJpwJj5 -dRfpPtT+eUEjwx3S/AGKSktpjEPTlWV4faOeSkfeI2qNiUZ9VsAN0aTMO5XwgVnO -2YfqVLJVrjpaXyop7dln9Uqsi1wdrM5h5Co8VYf6YFPb8RelrwvD5Kui09FFhbGP -1HNEET+cWCxZWBAN4N9GUjBVQDjH8So7feCtk0gK1+fRdKyeX/p39FK5A5M1PSr0 -ri9wCVeQH9lc4bJjCM8mCbi852Wu3OejaiBvDeBtpL1ugytjiTn5C/0TTdLJtHPc -sR2ba4QYEprwlJJDiGONg9nKZV6k8vzyCnk2/h/MYr6w2uQ4NNI= -=P8wr ------END PGP SIGNATURE----- diff --git a/libfm-qt-0.12.0.tar.xz b/libfm-qt-0.12.0.tar.xz new file mode 100644 index 0000000..d2252d1 --- /dev/null +++ b/libfm-qt-0.12.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a2cc4fc811aff6a83507e41770152cb01ea564668a33f4c878c7132a42b4f693 +size 181924 diff --git a/libfm-qt-0.12.0.tar.xz.asc b/libfm-qt-0.12.0.tar.xz.asc new file mode 100644 index 0000000..a40ec20 --- /dev/null +++ b/libfm-qt-0.12.0.tar.xz.asc @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCgAdFiEEfHM7pfWFqtZp5NI6QsnI069epeMFAlnrmHUACgkQQsnI069e +peMBHw/9E4sX1U70UvST70lANRR17Z0odN22pyTChw2ov0noGN+gOp3nC8lGY1lI +w02/IimzlUNlBxVX6ZGl7XnYPopaaHytb+8H1SzlWCrKzUfIkODpyEUQ0lldEh/n +wBbAk6s84Vzr7SzfRkgZWSI07/p2kWemMARedgl8Q3RG+jULDDrkkbgRlbZiyo+m +u/DR7atABjb3oRWf8WGuYxlXf42AyyZhapwDF7hkS1XpLcGbAwCJ6GWZSzpNRA9o +93Mo9ZV5Cd/z3KJP4VWK80mEcOaambla8tVh61Q5K9yboxH0ytrRVKJthYkN9bvQ +Mpcoj8ATq9YwZRT7L/kZ0LK/iM6/1hcdjiM9aIFg1WlvxIVNTYFYoJHDt+CqfX1c +6DUyEtNGN16BUyVCZgrZO7Kuc/7UaTG0hQyru2YSK5YYb9yMzZTqyF/9b7N8TWzM +Qa0nllJRorpMc9c/BoChoi8YNLkYC+W7eQe7/EapJu5nS3CCOicU0QsNjbOUqfNm +OqiWxZytJS6gaGGK8Wa/ATFtlK55M00mNAx+Hz4aI0jJsFmyw0YS875Cu0O88o/b +hX0kjLCN83MTPUaRr12SlVMFKWG1rLUWvaa3EUBdlRkBNTqdTgZavH6j4BXZR3iL +zstrwLYxJRbgq0aBR4ARF67yBasOwGg/lnXSKRMmtPlUVxl8rsk= +=9/BP +-----END PGP SIGNATURE----- diff --git a/libfm-qt.changes b/libfm-qt.changes index b255393..2febfec 100644 --- a/libfm-qt.changes +++ b/libfm-qt.changes @@ -1,3 +1,198 @@ +------------------------------------------------------------------- +Mon Oct 23 10:13:16 UTC 2017 - mvetter@suse.com + +- Update to 0.12.0: + * Add data transferred to file operation dialog. + * Bump versions + * Disable context-menu actions that cannot be used + * Don't export github templates + * Fix partially visible toggled path buttons + * Add functions to get and set search settings + * Fix mistakes in listview column width calculation + * Add archiver separator only when needed + * Add a separator before archiver actions + * Enable XDS subfolder drop + * UI improvements for Fm::MountOperationPasswordDialog() + * Respect inactiveness when drawing text + * Grey out files that have been Ctrl-X'ed (#88) + * Ignore button for error dialog + * Inline renaming for detailed list view (#110) + * Remove redundant code. + * Prefer local paths if they exist + * Removed QFileInfo (as @PCMan recommended) + * Simplification, optimization and a fix + * Really focus text entry on showing dialog + * Two small fixes + * Keep selection on reloading (if not CPU-intensive) + * Added back/forward buttons and fixed 3 issues + * Reload button, hidden shortcut and a fix + * Implement FileDialog::selectMimeTypeFilter() and QString FileDialog::selectedMimeTypeFilter(). + * Initialize folder_ to null + * Fixed the quote issue + * Always preserve explicitly set labels + * Update OK button text and state when needed + * Initialize FileInfo::isShortcut_ (#113) + * Set the selected index current + * Fixd open/save and overwrite prompt + * Set open/save text + * Several important fixes + * Added a missing change + * Preliminary fixes + * Hide UI implementation details for Fm::FileDialog. + * Revert the backward incompatible changes in the constructor of Fm::FolderView. + * Fix a bug in creating new folder for Fm::FileDialog. + * Implement toolbar and quick view mode switches for the Fm::FileDialog class. + * Correctly check file types and test the existence of the selected files as needed. + * Correctly handle item activation. + * Correctly handle filename selection for Fm::FileDialog. + * Correctly handle selected files. + * Implement filename filtering for Fm::FileDialog. + * Check nullity of FileInfo before calling FolderMenu + * Arrange Custom Actions + * Support custom folder icons + * Fix multiple pasting of the same cut file(s) + * Fix KDE clipboard tag for cut file(s) + * Add a basic skeleton for Fm::FileDialog. + * Check nullity of QMimeData (#109) + * MountOperationQuestionDialog: Fix handling responses + * Fix all height issues in horizontal layouts (#103) + * Removed a redundant variable (left there from old tests) + * Fix major bugs in Directory Tree + * Consider desktop text color, now that everything is done here + * Inline Renaming + * Fix compact view regression (#102) + * Fix detailed list crash on double clicking folders + * Removed my garbage + * Fixed issues about spacings and click region + * Make Fm::FolderItemDelegate support painting text shadows and margins so it can completely replace PCManFM::DesktopItemDelegate. + * Avoid using grid size on QListView since this disables any spacing settings. + * liblxqt make no sense for libfm-qt + * Copied issue template + * Add noexcept to move constructors and operator=() so they can be used with STL containers. + * FolderView: Optimize selectAll() (#97) + * Emit fileSizeChanged when needed + * Drops Qt5Core_VERSION_STRING (#96) + * Update size column info (#90) + * Fix Detailed List view DND (#94) + * folderview: Don't allow D&D by Back or Forward + * More fixes (#87) + * Added a missing change signal (#86) + * Fix single items when seaching (#85) + * Check for nullity of IconInfo (#84) + * Address compiler warnings + * Remove addRoots() return type + * Remove the unused data/translations/ entry + * Fix broken folder unmount message caused by incorrect FilePath & GFile* comparison. (#80) + * Remove some superfluous semicolons that lead to pedantic warnings (#79) + * Ensure one item per file (#77) + * Fix the broken filesystem status (free disk space) display. (#78) + * Don't make items current on mouseover (#72) + * Fixes a FTBFS in superbuild mode (#75) + * Replace start tilde in PathEdit (#73) + * Really cancel pending thumbnail jobs on chdir (#74) + * Move fixes (#70) + * Fix invalid pointers (#69) + * Continue file selection on next/previous row (#76) + * Code reformat: use 4-space indentation to match the coding style of other LXQt components. + * Make all constructors explicit so we don't get unwanted object construction by C++. + * Prevent a crash since GObjectPtr's move ctor frees resources + * GObjectPtr: Detect & handle "self-assignment" + * Fix compatibility with Qt 5.6. + * No thumbnail for thumbnails + * Fix thumbnail update + * Fixed `PathBar::setPath()` + * Use real name for renaming + * Prevent a crash plus fallback icon + * Fix custom actions + * volumemanager: Return IconInfo as shared_ptr + * FolderModelItem: Check IconInfo existence + * Bookmarks: Check validity of insert position + * Fix a potential crash of bookmark items when the format of the bookmark file is not correct. + * Only load desktop entry files for native filesystems. + * Fix the missing icon and display name handling of desktop entry files in Fm::FileInfo. + * IconEngine: Use weak_ptr for the parent IconInfo + * PathBar: Avoid leak upon QLayout::replaceWidget() + * Use const iterators + * Use the new lxqt-build-tools new FindExif module + * Fix the incorrect header inclusion in fileoperation.cpp. + * Fix incorrect #include of libfmqtglobals.h. + * Fix a bug when copying to and pasting from "x-special/gnome-copied-files" mime-type. + * Fix bugs in the Custom Actions C++ port. + * Try to port libfm custom actions to C++. + * Try to update the content of a folder after its mount status is changed. Handle cancelled dir listing job properly. + * Rename namespace Fm2 to Fm. + * Remove unused header files of the old C API wrappers. + * Fix bugs in search:// support and finish porting file searching to C++. Fix several bugs in Fm2::FileInfo which caused by null parent dir. + * Add a missing test case for places view. + * Try to add support for menu:// and search:// URI scheme implemented in libfm. + * Correctly destroy Fm2::Job objects when their worker threads terminate. + * Fix incorrect handling of PathBar button creation which causes infinite loop when the underlying GFile implementation contains bugs. + * Fix incorrect path of application menu URI. + * Fix QThread related bugs in PathEdit which causes memory leaks. + * Fix a bug in DirTreeModelItem causing crashes. Also speed up batch insertion of large amount of items. + * Use const iterators (#61) + * Fix the broken folder reload(). + * Make all Fm2::Job derived classes reimplement exec() instead of run() method. The new run() method will emit finished() signal automatically when exec() returns. + * Fix memory leaks caused by incorrect use of QThread. + * Fix a memory leak in Fm::ThumbnailJob. + * Fix memory leaks caused by broken cache. + * Fix wrong size of generated thumbnails by external thumbnailers. + * Fix memory bugs in Fm2::GErrorPtr and improve the error handling of Fm2::Job and Fm2::Folder. + * Fix some errors related to incorrect use of std::remove() in Fm2::Folder. Replace QList with std::vector and use binary search when inserting items for the Fm::DirTreeModelItem. + * Change the handling of Fm::FolderView::selChanged signal to make it more efficient. + * Port to the new Fm2::TotalSizeJob API. + * Fix compatibility with libfm custom actions. + * Add some compatibility API which helps migrating old C APIs to the new C++ implementation. + * Convert datetime to locale-aware strings using QDateTime. + * Use QCollator to perform file sorting. + * Fix detailed view. + * Finish porting DirTreeModel to the new API. Fix bugs in Fm2::FilePath and Fm2::FileInfo APIs. + * Port the libfm terminal emulator related APIs to C++. + * Rename some methods in Fm2::Folder and Fm2::FileInfo for consistency. + * Port to the new IconInfo API and deprecate manual icon update when the theme is changed. + * Rename Fm::Icon to Fm::IconInfo. + * Port emblem support to the new libfm C++ API. + * Remove unused files, including some old APIs. Replace QVector in BrowseHistory with STL vector. + * Fix a bug in Fm::FileMenu. + * Port file-click handling to the new C++ API. + * Fix bugs in Fm::PathBar getting wrong path when a path button is toggled. + * Remove Fm::FilePath(const char* path_str) to avoid ambiguity. + * Replace all NULL with C++ 11 nullptr; + * Fix FilePath related errors caused by incomplete porting. + * Make Fm::FolderConfig support the new Fm::FilePath class. + * Fix Fm::BookmarkAction to use the new C++ API. + * Fix missing icons of places view caused by memory errors. + * Fix memory errors in Fm2::Bookmarks::reorder(). Add a small test case for the places view. + * Share the same places model among all views. + * Port most of the existing UI-related APIs to the new C++ APIs (excluding the file operations). + * Port the path bar to the new Fm2 API. + * Implement VolumeManager class which is a QObject wrapper of gio GVolumeMonitor. + * Add some getters for Volume and Mount classes. + * Properly associate external thumbnailers with mimetypes they support and fix thumbnail generation from thumbnailers. + * Start porting thumbnail loaders to the new C++ APIs. Add new Fm::ThumbnailJob used to load thumbnails for a given file list. Add commonDirPath paramter to Fm::FileInfoJob to reduce memory usage. + * Add the missing test case for folder view. + * Start porting Fm::FolderModel and Fm::FolderView to the new libfm core c++ API. + * Work in progress. + * Add a c++ wrapper for GFileMonitor. Add LIBFM_QT_API declaration for all public headers. + * Port error handling mechanism of FmJob to C++ and improve the GError wrapper class. + * Bump year + * Add gioptrs.h which defines smart pointer types wrapping gio related data types. Add some basic skeleton for various I/O jobs classes. + * Start porting Copyjob and add basic skeleton for untrash and symlink jobs. + * Finish porting FmFolder to C++. + * Add a very simple test case to test the new Fm core C++ code. Fix bugs in smart pointers and do empty base class optimization for CStrPtr. + * Improve Fm::Folder. + * Rename UserInfo to UserInfoCache. + * Port Fm::Bookmarks to C++. + * Port FmDeepCountJob to C++. + * Add basic skeletion to Fm::VolumeManager. + * Implement Fm2::UserInfo, which is a cache for uid/gid name mapping. + * Add basic skeleton for other C++ classes waiting for porting. + * Add GSignalHandler to do automatic signal/slot connection management with type safety for GObject. + * Add basic skeleton for the C++ 11 port of FmFileInfoJob. + * Try to port Fm::Folder and Fm::DirListJob to Qt5 and C++ 11. + * Try to port FmIcon, FmFileInfo, and FmMimeType of libfm to clean C++. + * Add smart pointer for GObject-derived classes and add Fm::FilePath class which wraps GFile. + ------------------------------------------------------------------- Fri Feb 24 18:16:42 UTC 2017 - sfalken@opensuse.org diff --git a/libfm-qt.spec b/libfm-qt.spec index 1acc49a..9999401 100644 --- a/libfm-qt.spec +++ b/libfm-qt.spec @@ -17,33 +17,35 @@ Name: libfm-qt -Version: 0.11.2 +Version: 0.12.0 Release: 0 Summary: Library providing components to build desktop file managers License: LGPL-2.1+ Group: Development/Libraries/C and C++ Url: http://lxqt.org -Source: https://downloads.lxqt.org/%{name}/%{version}/%{name}-%{version}.tar.xz -Source1: https://downloads.lxqt.org/%{name}/%{version}/%{name}-%{version}.tar.xz.asc +Source: https://github.com/lxde/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz +Source1: https://github.com/lxde/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz.asc Source2: libfm-qt.keyring BuildRequires: cmake >= 3.0.2 -BuildRequires: lxqt-build-tools-devel +BuildRequires: lxqt-build-tools-devel >= 0.4.0 BuildRequires: cmake(KF5WindowSystem) # Needs private headers, see xdndworkaround.cpp BuildRequires: libQt5Gui-private-headers-devel BuildRequires: libqt5-qttools-devel BuildRequires: pkgconfig BuildRequires: cmake(Qt5LinguistTools) -BuildRequires: pkgconfig(Qt5Widgets) -BuildRequires: pkgconfig(Qt5X11Extras) +BuildRequires: pkgconfig(Qt5Widgets) >= 5.2 +BuildRequires: pkgconfig(Qt5X11Extras) >= 5.2 BuildRequires: pkgconfig(Qt5Xdg) BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(gio-unix-2.0) BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(libexif) BuildRequires: pkgconfig(libfm) >= 1.2.0 BuildRequires: pkgconfig(libmenu-cache) >= 0.4.0 BuildRequires: pkgconfig(lxqt) BuildRequires: pkgconfig(x11) +Provides: libfm-qt BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -64,6 +66,9 @@ build desktop file managers. Summary: Development files for libfm-qt Group: Development/Libraries/C and C++ Requires: libfm-qt3 >= %{version} +Requires: pkgconfig +# libfm-qt has an -I on a path from menu-cache-devel +Requires: pkgconfig(libmenu-cache) >= 0.4.0 %description -n libfm-qt-devel Libfm-Qt libraries for development @@ -84,12 +89,12 @@ make %{?_smp_mflags} %files -n libfm-qt3 %defattr(-,root,root) %doc LICENSE README.md -%{_libdir}/libfm-qt.so.3 -%{_libdir}/libfm-qt.so.3.1.0 +%{_libdir}/libfm-qt.so.* %files -n libfm-qt-devel %defattr(-,root,root) %doc %{_datadir}/cmake/fm-qt +%dir %{_datadir}/libfm-qt/ %{_includedir}/libfm-qt/ %{_libdir}/libfm-qt.so %{_libdir}/pkgconfig/libfm-qt.pc @@ -97,5 +102,8 @@ make %{?_smp_mflags} %{_datadir}/cmake/fm-qt/fm-qt-config.cmake %{_datadir}/cmake/fm-qt/fm-qt-targets-*.cmake %{_datadir}/cmake/fm-qt/fm-qt-targets.cmake +%{_datadir}/libfm-qt/archivers.list +%{_datadir}/libfm-qt/terminals.list +%{_datadir}/mime/packages/libfm-qt-mimetypes.xml %changelog