commit 1824bae0d5dc2549c69e1916b30c5c6115c559930e911cd4bb15514cded31a4f Author: Christophe Marin Date: Thu Sep 12 11:40:55 2024 +0000 KDE release gear 24.08.1 OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/tokodon?expand=0&rev=47 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/applications.keyring b/applications.keyring new file mode 100644 index 0000000..2998088 Binary files /dev/null and b/applications.keyring differ diff --git a/tokodon-24.05.2.tar.xz b/tokodon-24.05.2.tar.xz new file mode 100644 index 0000000..5d00084 --- /dev/null +++ b/tokodon-24.05.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9af7f0df71defd6bcbd264cf7ec4b4f6e9138472ffb9acefb0601f37b73d72eb +size 539764 diff --git a/tokodon-24.05.2.tar.xz.sig b/tokodon-24.05.2.tar.xz.sig new file mode 100644 index 0000000..c2a3025 --- /dev/null +++ b/tokodon-24.05.2.tar.xz.sig @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCgAdFiEE2BwMs463Je9mkcOFu0YzUNbvMe8FAmaDnToACgkQu0YzUNbv +Me+PLhAAleCeSTm7473Pk8cLxbmMzn91VJ7U7gf7nYMJq8geJcdYBYfwxLbSWPEm +6HJV7ucTnYNnTcKdjgs9L9jzH1rclCSYmYO6GHssm6NiDHqKauNCuCfNSS5QGlIo +Jc8m4jPCjCh1ide8aJuDS/2G28pRlNZ4vWOHoQ7wRh2+OG54EcLiP8IMM4D/SBMb +z7U9K2HyaeGyAobY4M/tV94i1gmiQzdt4JiHHAbpoRJ5ChgMwBlV1XAHQYmAt2no +G4zJ4g/ARkazGbdlj/RucHGk+n0XdpsAdNWG7OR7pJSaHC5uXGuM3qTNl1/h5Pst +ailhAQV6rZIXIsLMsNqycou+eOFSA8bvLZK8awiYIUgIjClNwL7eTr9hq/LrZY27 +Tv7bE9VfrEJqLT/WystTBE41b+Ns3e0E+nsLhfqXOVf7krh/6Id5WyPtR6V0BPv9 +CmXVeGJIVXQovUoDbzzhzGpWCLOxRuDRBflWohCAzQCqxfHfNY2JmLZ4/6DFbfPf +YADLsufcaz+KZ3YOJuMdYDy2qkxGox9pWvZTNd4uPYd/o6KQSo4g6O37LwXyek1O +xtqrLo++JjGtB1jTazwXyLcuUozfi1fXdO92/bayhvBBfWzHk/+dAezWXJ8IDOAC +lduBkLmevp9H6z3Cx8uV1n4mUaBv0LDo7r7fDUErvYGfnhAkxms= +=s29/ +-----END PGP SIGNATURE----- diff --git a/tokodon-24.08.0.tar.xz b/tokodon-24.08.0.tar.xz new file mode 100644 index 0000000..55a9895 --- /dev/null +++ b/tokodon-24.08.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:24d42173986608608277f17f5687cc25f6c93968c0923945cca27da13ae4078a +size 567328 diff --git a/tokodon-24.08.0.tar.xz.sig b/tokodon-24.08.0.tar.xz.sig new file mode 100644 index 0000000..6d7cee0 --- /dev/null +++ b/tokodon-24.08.0.tar.xz.sig @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCgAdFiEE2BwMs463Je9mkcOFu0YzUNbvMe8FAma+4OsACgkQu0YzUNbv +Me86Zw//YFoIh50AW6FfzJFiKJXJU+P6lP7ofEx1RwKYffQeyVLiSBJUghPYVI/Z +2yoN9M616VWzyAW8SfE17ivF9jHMoDGIZCHMCR8SpB59Y2B4yXyyZ1OcTkZUAob5 +Lz4smh3o5K121PdnroqDG3LM/OnGp7zJOnPSBnxQXQLUr5VnQMFiWTpwhU+FKkRo +K+yv0LeU6GT0zJa9fndZlpuN1CBk29yyLLFtsNk0YNm+eHMcBMCLtF8KeimSIAWa +QYfe9AupwtILaLBIyZx1Bmlx0Wxwx8tznE46bUxLnCx8vYIldoXIlvI4YWZWULoB +DVozO1af3crS/qTpqI201+JPLOAoc7YQtZJzXzjWF1iEpWfvnVEODtfQaxD2R68U +iRxkGoa2ZINaLq5t0mgFIwUoFfbgeO69dkQurOS0dz97diXbltom8fSR9tZxV3/v +LknbWljjgI6G6SvOzAKupqgIA6AWq1AY6NP3Yeso2Hdi/Js9KxsvbsoWO/9LnxrQ +SuSfm9R3aIbW7Asyg45H1nko0Na/TnlGQVQJ2U5PRz7KVuLSTRJ1NHZ2+gkUgiOY +aNPJQOKYHv+60lVWWPINZGicJiQ7FG5okruhA3eHFRN3WtVsy5h2UzU6GD/ET/vu +B1GVivx9tHFo/6azjiRW4G8hqGWGS6nfTvrSn6aSmQnXjmAJLg0= +=vI+y +-----END PGP SIGNATURE----- diff --git a/tokodon-24.08.1.tar.xz b/tokodon-24.08.1.tar.xz new file mode 100644 index 0000000..7c80131 --- /dev/null +++ b/tokodon-24.08.1.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:62db86fb40a8c36f88421a09b0ddffecd8266a9c25204b9183715ddbcd74333b +size 567916 diff --git a/tokodon-24.08.1.tar.xz.sig b/tokodon-24.08.1.tar.xz.sig new file mode 100644 index 0000000..2546298 --- /dev/null +++ b/tokodon-24.08.1.tar.xz.sig @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCgAdFiEE2BwMs463Je9mkcOFu0YzUNbvMe8FAmbf/TEACgkQu0YzUNbv +Me8sXQ//Z679X2I1rpyK+wKA8DB8rL8PWYSBnVMkiE6Ki1flG8pyvw/JEh0Cq4oW +eFVKFYASpWcrhK9mC3ymZf//Wj0wMQm+yLZAKVbG5IWMOiz29skTAbh4rleiB6Ay +j+kq0KpFenhzhCsl+TXgRpsRnLozNRws4l9UugGodgSBCTbWzNsQgXRGsydsVcr+ +AE1bzHAxkUxVgONVbDPUPQ1rQQWojkjZjHqiA1GDwVeLnaDkBtOQ6UnxplC6FKIX +jdMztxLjzJnEgU/GB1E0hRrPlURHLQ+VzHCalgXRgNIdVkDtTl+FooHmREpE1MCF +UmMJzoW7awqbB1/G9gUTiBtGbFWYB7YR0WOZp7xLkQAaOZfz5EpIDUQm1KHupuM6 +G694HVPhSlvPC+fkBa8Df/ZKNuHtRkVg/BFPWakVZCypVRI3YJeOuw63qCtMXOAy +ubOzE6OvVPYDqQF4vZDAm/Tsf5RDHkI0sN8C82jKEndp6BwmEJzPkm6fXMbsGVnX +/lz6dIjJ8rHe303P/YDj00YxAcAG5HBgZhCUR+Cz05vvfOIobO43GtavoyW6Q7Kk +TDoW3zFL7s2sC9nDjPZj4d3xObx1iMpp1x5+h7GRvrmhCCzwBmTHQAQzBBxSbxxc +6A4RDHnHWy4SV5WlHoky6UDlKYiXQDbzafoA8kAo1Vx8Ds98OGo= +=LbCh +-----END PGP SIGNATURE----- diff --git a/tokodon.changes b/tokodon.changes new file mode 100644 index 0000000..22abd9b --- /dev/null +++ b/tokodon.changes @@ -0,0 +1,383 @@ +------------------------------------------------------------------- +Tue Sep 10 14:11:53 UTC 2024 - Christophe Marin + +- Update to 24.08.1 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/24.08.1/ +- Changes since 24.08.0: + * Stop opening the sidebar on startup (kde#492030) + * Fix registration not working + * Fix erroneous if check that was using the wrong arguments list + * Add KCrash + * mention everyone in replies + * Do not reload accounts when initially setting the application proxy (kde#492383) + * Only emit reload accounts signal if they actually were + * Fix creating new account on mobile (kde#491928) + * flatpak: Update LuaJIT to a snapshot + * Close modal sidebar when clicking on an entry (kde#491929) + +------------------------------------------------------------------- +Mon Aug 19 07:14:53 UTC 2024 - Christophe Marin + +- Update to 24.08.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/gear/24.08.0/ +- Too many changes since 24.05.2, only listing bugfixes: + * Only print out HTTP warnings for errors we don't explicitly handle (kde#486825) + * Silently fail when 404'ing on featured tags (kde#484475) + * Allow pasting bitmap images directly, like from the Internet (kde#488629) + * Add an option to pop out the post composer by default (kde#489379) + * Do not overwrite existing text in composer (kde#489781) + * Let users be able to clear content warning (kde#488631) + * Actually propagate the spoiler text to the composer when editing a post (kde#488631) + * Specify that you're "saving" an edit in the composer (kde#488632) + * Prevent notes field on profiles from stopping keyboard navigation (kde#488236) + * Support PageUp/PageDown keys to quickly navigate the timeline (kde#487507) + * Explain why some posts can't be boosted (kde#488172) + * Fix wrong "%1 boosted" label on certain posts (kde#485637) + * Don't enforce the spellchecker even when it's disabled (kde#486465) + * Fix the content font not actually affecting the post text (kde#481911) + * Copy the spoiler text in replies (kde#486691) + * Improve wording of the "Discard Draft" dialog (kde#484191) + +------------------------------------------------------------------- +Tue Jul 2 13:55:23 UTC 2024 - Christophe Marin + +- Update to 24.05.2 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/24.05.2/ +- Changes since 24.05.1: + * Fix the private post notice messing with the post width in odd ways + * Disable hidden post menu entries + * Fix the loading indicator not showing up initially on the timeline + * Let users be able to clear content warning (kde#488631) + * Actually propagate the spoiler text to the composer when editing a post (kde#488631) + * Prevent notes field on profiles from stopping keyboard navigation (kde#488236) + +------------------------------------------------------------------- +Wed Jun 12 07:35:07 UTC 2024 - Christophe Marin + +- Update to 24.05.1 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/24.05.1/ +- Changes since 24.05.0: + * Support PageUp/PageDown keys to quickly navigate the timeline (kde#487507) + * 🍒 Fix possible segfault after logout on timeline pages + * Only clear page stack if authentication was successful + * Don't allow continuing without inputting an authorization code + * 🍒 Fix non-functional authorization link + * Fix wrong "%1 boosted" label on certain posts (kde#485637) + * Revert "Re-enable Appium tests on the CI" + +------------------------------------------------------------------- +Sun May 19 09:57:54 UTC 2024 - Christophe Marin + +- Update to 24.05.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/gear/24.05.0/ +- Changes since 24.04.80: + * Don't enforce the spellchecker even when it's disabled (kde#486465) + * Fix the content font not actually affecting the post text (kde#481911) + * Fix multiple fullscreen images appearing on top of each other + * Improve mentions in the composer, move content warning field + * Copy the spoiler text in replies (kde#486691) + * Fix pasting text content in the status composer + +------------------------------------------------------------------- +Fri May 3 09:17:40 UTC 2024 - Christophe Marin + +- Update to 24.04.80 + * New feature release +- Too many changes since 24.02.2, only listing bugfixes: + * Make QtWebView optional, overhaul auth (again) (kde#483938) + * Resolve remote posts in the search box (kde#485080) + * Allow popping out the status composer on desktop (kde#470048) + * Remove minimum window size on mobile (kde#482844) + * Refresh the thread if we reply to it (kde#480695) + * PostContent: assorted bidirectionality fixes (kde#475043) + * Add initial setup flow where required (kde#477927) + +------------------------------------------------------------------- +Tue Apr 9 18:10:02 UTC 2024 - Christophe Marin + +- Update to 24.02.2 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/24.02.2/ +- Changes since 24.02.1: + * Resolve remote posts in the search box (kde#485080) + * In the case that login fails, fall back to showing the network error + * Comply with the flathub quality guidelines + * Add branding color + * Fix placeholder string in recent translation fix + * Fix untranslatable string, improve format + * Disable grouping follow notifications for now + +------------------------------------------------------------------- +Wed Mar 27 08:31:06 UTC 2024 - Julius Enriquez + +- Add qt6-webview dep to fix login (boo#1222024) + +------------------------------------------------------------------- +Tue Mar 19 15:28:12 UTC 2024 - Christophe Marin + +- Update to 24.02.1 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/24.02.1/ +- Changes since 24.02.0: + * Remove minimum window size on mobile (kde#482844) + * Use since_id instead of min_id in grabbing push notifications + * Post push notifications in reverse order + * Reimplement an early exit when there's no accounts with no notifications + * Add NotificationHandler::lastNotificationClosed signal + * Create only one NotificationHandler and put it in AccountManager + * flatpak: Switch to non-preview runtime + * Fix keyboard navigatin in the Sidebar + * Add margins to the video player controls + * Don't allow opening a context menu for an image if it's hidden + * Fix spacing on post info that has an application + * Disable interactivity of the alt and other attachment chip + * Hide embed action for private posts + * Fix z order of the link indicator + * Hide interaction buttons on most notifications except for mentions + * Prevent crash when grouped notifications are used on initialization + * Enable grouping notifications by default + +------------------------------------------------------------------- +Fri Feb 23 14:01:10 UTC 2024 - Christophe Marin + +- Update to 24.02.0 + * New feature release +- Changes since 24.01.95: + * Hide interaction buttons on most notifications except for mentions + * Prevent crash when grouped notifications are used on initialization + * Enable grouping notifications by default + * Disable boosting private (followers-only) posts + * Add 24.02 release note + * Remove image attachment captions + * Fix bottom margin on settings button in sidebar + * Refresh the thread if we reply to it (kde#480695) + * Hide actions on mobile that are already present in the bottom bar + * TapHandler fixes to hopefully solve page switching woes + +------------------------------------------------------------------- +Fri Feb 9 16:10:18 UTC 2024 - Christophe Marin + +- Update to 24.01.95 + * https://kde.org/announcements/megarelease/6/rc2/ + +------------------------------------------------------------------- +Fri Dec 15 21:31:51 UTC 2023 - Christophe Marin + +- Require extra-cmake-modules at build time + +------------------------------------------------------------------- +Tue Dec 5 14:20:45 UTC 2023 - Christophe Marin + +- Update to 23.08.4 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/23.08.4/ +- Changes since 23.08.3: + * Force the fullscreen image viewer focus so keybinds work + * Protect against a notification missing a post (kde#475825) + +------------------------------------------------------------------- +Tue Nov 7 17:05:45 UTC 2023 - Christophe Marin + +- Update to 23.08.3 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/23.08.3/ +- Changes since 23.08.2: + * Fix account switcher not working in certain sections (kde#475897) + * snapcraft: fix package, gnome-keyring not gnome-keychain + * snapcraft: Bundle gnome-keychain for libsecret. New content pack. + Use kirigami-addons meta package. + * Add CI template for building APKs on invent + * snapcraft: Add missing qml module for purpose. + * snapcraft: remove quote accidently placed at the end of LD_LIBRARY_PATH.. + * snapcraft: Set LD_LIBRARY_PATH at runtime to include libs in subdirs + not found. Add missing qml module. + * snapcraft: add missing libblas and add to LD search path. Add libsecret dep. + * Remove _L1 from cherry-picking error + * Fix some weird attachment issues if they don't exist locally + * snapcraft: add missing dep libmpv. + * snapcraft: initial import snapcraft files. + +------------------------------------------------------------------- +Tue Oct 10 18:28:31 UTC 2023 - Christophe Marin + +- Update to 23.08.2 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/23.08.2/ +- Changes since 23.08.1: + * Protect against notifications that don't have a post associated (kde#475057) + * Require kirigami-addons 0.11 + * Fix the follows page in notifications not working at all + * Use the TextArea's implicitHeight when calculating composer height (kde#471519) + +------------------------------------------------------------------- +Tue Sep 12 11:56:59 UTC 2023 - Christophe Marin + +- Update to 23.08.1 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/23.08.1/ +- Changes since 23.08.0: + * Add release note for the past two versions + +------------------------------------------------------------------- +Sun Aug 20 14:00:32 UTC 2023 - Christophe Marin + +- Update to 23.08.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/gear/23.08.0/ +- Changes since 23.07.90: + * Add fake identity so the timeline test works again + * Use upload icons instead of download icons in the profile editor + * You did implement account editing, uncomment the arrow + * Use display name instead of the username in the timeline name + * Stop Qt Quick from complaining because "there's no place to replace" + * Improve Poll, by removing the invalid state and registering it properly + * Stop UserInfo from reading the pageStack if nothing has been added to it + * Fix AbstractAccount::apiUrl to strip slashes + * Stop interactions with posts causing the entire delegate to reload + * Improve default language selection when the preference is missing + * Add support for more poll options, if Pleroma/Akkoma reports it + * Handle Pleroma/Akkoma storing max post characters differently + * Fix my dumb mistake of adding two of the same property + * Set a maximum line count so link descriptions elide properly + * Fix the instance name sometimes getting out of sync in switcher + * Overhaul status composer attachment grid to match expected behavior + +------------------------------------------------------------------- +Mon Aug 14 08:03:48 UTC 2023 - Christophe Marin + +- Update to 23.07.90 + * New feature release +- Changes since 23.07.80: + * Fix spacing in LinkPreview + * Show Link Preview only when Post Content is visible. + +------------------------------------------------------------------- +Tue Aug 1 10:14:43 UTC 2023 - Christophe Marin + +- Update to 23.07.80 + * New feature release +- Too many changes since 23.04.3, only listing bugfixes: + * Open account links inside Tokodon (kde#472496) + * Respect the filter action, so users can completely hide filtered posts (kde#471211) + * Set the custom icon theme to the main icon theme, not the fallback (kde#467143) + * Squash yet another duplicate accounts bug (kde#466440) + * Better communique state of search progress (kde#467206) + * Add a loading placeholder for searching (kde#467206) + * When user hides media, automatically pause the video (kde#467214) + * Fix -v arg not working when tokodon is already running (kde#467205) + * Allow submitting posts by pressing CTRL+ENTER or CTRL+RETURN (kde#467164) + * Make the composer text automatically focused (kde#467162) + +------------------------------------------------------------------- +Tue Jul 4 10:20:46 UTC 2023 - Christophe Marin + +- Update to 23.04.3 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/23.04.3/ +- No code change since 23.04.2 + +------------------------------------------------------------------- +Tue Jun 6 20:02:02 UTC 2023 - Christophe Marin + +- Update to 23.04.2 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/23.04.2/ +- Changes since 23.04.1: + * Fix obvious copy/paste mistakes + * When going to separate app pages, clear the whole pageStack + * Squash yet another duplicate accounts bug (kde#466440) + * Fix reading invalid accounts from conf + +------------------------------------------------------------------- +Wed May 24 12:17:27 UTC 2023 - Christophe Marin + +- Require kirigami-addons + +------------------------------------------------------------------- +Tue May 9 10:48:00 UTC 2023 - Christophe Marin + +- Update to 23.04.1 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/23.04.1/ +- Changes since 23.04.0: + * fix full screen image preview on NotificationPage + * fix new post action on NotificationPage + * Fix visible binding loop on TimelinePage + +------------------------------------------------------------------- +Sat Apr 15 08:46:48 UTC 2023 - Christophe Marin + +- Update to 23.04.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/gear/23.04.0/ + +------------------------------------------------------------------- +Fri Mar 31 16:42:51 UTC 2023 - Christophe Marin + +- Update to 23.03.90 + * New feature release + +------------------------------------------------------------------- +Sat Mar 18 18:19:00 UTC 2023 - Christophe Marin + +- Update to 23.03.80 + * New feature release + +------------------------------------------------------------------- +Fri Feb 17 11:29:42 UTC 2023 - Christophe Marin + +- Update to 23.02.0: + * https://carlschwan.eu/2023/02/17/tokodon-23.02.0-release/ + * Post composer revamp + * The models for timelines has been completely refactored + * The search field introduced during the last released got a + nice visual refresh + * It is now possible to configure the color scheme used by + Tokodon independently from the Plasma color scheme + +------------------------------------------------------------------- +Mon Jan 2 08:51:38 UTC 2023 - Christophe Marin + +- Update to 23.01.0 + * New timeline design + * Searching post, accounts, tags is now possible + * Hashtag Handling + * Conversation View + * Poll Support + * Account Editor + * Real-Time Timeline Update + +------------------------------------------------------------------- +Tue Dec 20 12:06:07 UTC 2022 - Christophe Marin + +- Update to 22.11.2 + * New account switcher + * Image previews are now contained inside the window + * Improvements in loading media + * Support for custom emojis + +------------------------------------------------------------------- +Fri Nov 18 06:43:18 UTC 2022 - Christophe Giboudeaux + +- Init tokodon diff --git a/tokodon.spec b/tokodon.spec new file mode 100644 index 0000000..bf5b4ca --- /dev/null +++ b/tokodon.spec @@ -0,0 +1,109 @@ +# +# spec file for package tokodon +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define kf6_version 6.3.0 +%define qt6_version 6.6.0 + +%bcond_without released +Name: tokodon +Version: 24.08.1 +Release: 0 +Summary: Mastodon client by KDE +License: GPL-3.0-only +URL: https://apps.kde.org/tokodon/ +Source0: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz +%if %{with released} +Source1: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig +Source2: applications.keyring +%endif +BuildRequires: fdupes +BuildRequires: hicolor-icon-theme +BuildRequires: kf6-extra-cmake-modules >= %{kf6_version} +BuildRequires: pkgconfig +BuildRequires: cmake(KF6ColorScheme) >= %{kf6_version} +BuildRequires: cmake(KF6Config) >= %{kf6_version} +BuildRequires: cmake(KF6CoreAddons) >= %{kf6_version} +BuildRequires: cmake(KF6DBusAddons) >= %{kf6_version} +BuildRequires: cmake(KF6I18n) >= %{kf6_version} +BuildRequires: cmake(KF6KIO) >= %{kf6_version} +BuildRequires: cmake(KF6Kirigami) >= %{kf6_version} +BuildRequires: cmake(KF6KirigamiAddons) >= 0.11.40 +BuildRequires: cmake(KF6Notifications) >= %{kf6_version} +BuildRequires: cmake(KF6Purpose) >= %{kf6_version} +BuildRequires: cmake(KF6QQC2DesktopStyle) >= %{kf6_version} +BuildRequires: cmake(KF6WindowSystem) >= %{kf6_version} +BuildRequires: cmake(MpvQt) +BuildRequires: cmake(Qt6Core) >= %{qt6_version} +BuildRequires: cmake(Qt6Gui) >= %{qt6_version} +BuildRequires: cmake(Qt6Keychain) +BuildRequires: cmake(Qt6Quick) >= %{qt6_version} +BuildRequires: cmake(Qt6QuickControls2) >= %{qt6_version} +BuildRequires: cmake(Qt6Svg) >= %{qt6_version} +BuildRequires: cmake(Qt6Test) >= %{qt6_version} +BuildRequires: cmake(Qt6WebSockets) >= %{qt6_version} +BuildRequires: cmake(Qt6WebView) >= %{qt6_version} +BuildRequires: cmake(Qt6Widgets) >= %{qt6_version} +BuildRequires: pkgconfig(mpv) +# It can only build on the same platforms as Qt Webengine +ExclusiveArch: x86_64 %{x86_64} aarch64 riscv64 +Requires: kf6-kirigami-imports >= %{kf6_version} +Requires: kf6-kitemmodels-imports >= %{kf6_version} +Requires: kf6-sonnet-imports >= %{kf6_version} +Requires: kirigami-addons6 +Requires: qt6-declarative-imports >= %{qt6_version} +Requires: qt6-webview >= %{qt6_version} +Requires: qt6-webview-imports >= %{qt6_version} + +%description +Tokodon is a Mastodon client. It allows you to interact with the Fediverse +community. + +%lang_package + +%prep +%autosetup -p1 + +%build +%cmake_kf6 + +%kf6_build + +%install +%kf6_install + +%fdupes %{buildroot} + +%find_lang tokodon tokodon.lang + +%files +%license LICENSES/* +%doc README.md +%{_kf6_applicationsdir}/org.kde.tokodon.desktop +%{_kf6_appstreamdir}/org.kde.tokodon.appdata.xml +%{_kf6_bindir}/tokodon +%{_kf6_debugdir}/tokodon.categories +%{_kf6_iconsdir}/hicolor/scalable/apps/org.kde.tokodon.svg +%{_kf6_iconsdir}/hicolor/scalable/actions/*.svg +%{_kf6_notificationsdir}/tokodon.notifyrc +%{_kf6_plugindir}/kf6/purpose/tokodonplugin.so +# TODO: only installed if kunifiedpush BR is present +# %%{_kf6_sharedir}/dbus-1/services/org.kde.tokodon.service + +%files lang -f tokodon.lang + +%changelog