mirror of
https://git.launchpad.net/~ubuntu-qt-code/ubuntu/+source/calamares/+git/calamares
synced 2025-06-12 19:21:32 +00:00
Drop -support-appstream-1.0.patch.
This commit is contained in:
parent
95307f7bd7
commit
4930e95fb6
2
debian/changelog
vendored
2
debian/changelog
vendored
@ -6,6 +6,8 @@ calamares (3.3.1-0ubuntu1) noble; urgency=medium
|
|||||||
* Enabled AppStream and AppData (it is no longer enabled by default upstream
|
* Enabled AppStream and AppData (it is no longer enabled by default upstream
|
||||||
but should be enabled by us).
|
but should be enabled by us).
|
||||||
* Dropped lp-2045741.patch, it's included in the latest upstream release.
|
* Dropped lp-2045741.patch, it's included in the latest upstream release.
|
||||||
|
* Dropped support-appstream-1.0.patch, upstream has overhauled AppStream
|
||||||
|
handling and this patch is no longer applicable.
|
||||||
|
|
||||||
-- Aaron Rainbolt <arraybolt3@ubuntu.com> Thu, 18 Jan 2024 20:29:45 +0000
|
-- Aaron Rainbolt <arraybolt3@ubuntu.com> Thu, 18 Jan 2024 20:29:45 +0000
|
||||||
|
|
||||||
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
@ -1,3 +1,2 @@
|
|||||||
0001-replace-pkexec-by-sudo.patch
|
0001-replace-pkexec-by-sudo.patch
|
||||||
apport-package-hook.patch
|
apport-package-hook.patch
|
||||||
support-appstream-1.0.patch
|
|
||||||
|
82
debian/patches/support-appstream-1.0.patch
vendored
82
debian/patches/support-appstream-1.0.patch
vendored
@ -1,82 +0,0 @@
|
|||||||
Description: Support building with appstream 1.0.x
|
|
||||||
Following similar fixes in some KDE packages
|
|
||||||
Author: Rik Mills <rikmills@kde.org>
|
|
||||||
|
|
||||||
--- a/src/modules/packagechooser/CMakeLists.txt
|
|
||||||
+++ b/src/modules/packagechooser/CMakeLists.txt
|
|
||||||
@@ -25,18 +25,18 @@
|
|
||||||
#
|
|
||||||
option(BUILD_APPSTREAM "Support appstream: items in PackageChooser (requires libappstream-qt)" ON)
|
|
||||||
if(BUILD_APPSTREAM)
|
|
||||||
- find_package(AppStreamQt)
|
|
||||||
+ find_package(AppStreamQt5)
|
|
||||||
set_package_properties(
|
|
||||||
- AppStreamQt
|
|
||||||
+ AppStreamQt5
|
|
||||||
PROPERTIES
|
|
||||||
DESCRIPTION "Support for AppStream (cache) data"
|
|
||||||
URL "https://github.com/ximion/appstream"
|
|
||||||
PURPOSE "AppStream provides package data"
|
|
||||||
TYPE OPTIONAL
|
|
||||||
)
|
|
||||||
- if(AppStreamQt_FOUND)
|
|
||||||
- add_definitions(-DHAVE_APPSTREAM_VERSION=${AppStreamQt_VERSION_MAJOR})
|
|
||||||
- list(APPEND _extra_libraries AppStreamQt)
|
|
||||||
+ if(AppStreamQt5_FOUND)
|
|
||||||
+ add_definitions(-DHAVE_APPSTREAM_VERSION=${AppStreamQt5_VERSION_MAJOR})
|
|
||||||
+ list(APPEND _extra_libraries AppStreamQt5)
|
|
||||||
list(APPEND _extra_src ItemAppStream.cpp)
|
|
||||||
endif()
|
|
||||||
endif()
|
|
||||||
--- a/src/modules/packagechooser/Config.cpp
|
|
||||||
+++ b/src/modules/packagechooser/Config.cpp
|
|
||||||
@@ -16,7 +16,7 @@
|
|
||||||
|
|
||||||
#ifdef HAVE_APPSTREAM_VERSION
|
|
||||||
#include "ItemAppStream.h"
|
|
||||||
-#include <AppStreamQt/pool.h>
|
|
||||||
+#include <AppStreamQt5/pool.h>
|
|
||||||
#include <memory>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
--- a/src/modules/packagechooser/ItemAppStream.cpp
|
|
||||||
+++ b/src/modules/packagechooser/ItemAppStream.cpp
|
|
||||||
@@ -17,9 +17,9 @@
|
|
||||||
#include "utils/Logger.h"
|
|
||||||
#include "utils/Variant.h"
|
|
||||||
|
|
||||||
-#include <AppStreamQt/image.h>
|
|
||||||
-#include <AppStreamQt/pool.h>
|
|
||||||
-#include <AppStreamQt/screenshot.h>
|
|
||||||
+#include <AppStreamQt5/image.h>
|
|
||||||
+#include <AppStreamQt5/pool.h>
|
|
||||||
+#include <AppStreamQt5/screenshot.h>
|
|
||||||
|
|
||||||
/// @brief Return number of pixels in a size, for < ordering purposes
|
|
||||||
static inline quint64
|
|
||||||
--- a/src/modules/packagechooserq/CMakeLists.txt
|
|
||||||
+++ b/src/modules/packagechooserq/CMakeLists.txt
|
|
||||||
@@ -36,18 +36,18 @@
|
|
||||||
#
|
|
||||||
option(BUILD_APPSTREAM "Support appstream: items in PackageChooser (requires libappstream-qt)" ON)
|
|
||||||
if(BUILD_APPSTREAM)
|
|
||||||
- find_package(AppStreamQt)
|
|
||||||
+ find_package(AppStreamQt5)
|
|
||||||
set_package_properties(
|
|
||||||
- AppStreamQt
|
|
||||||
+ AppStreamQt5
|
|
||||||
PROPERTIES
|
|
||||||
DESCRIPTION "Support for AppStream (cache) data"
|
|
||||||
URL "https://github.com/ximion/appstream"
|
|
||||||
PURPOSE "AppStream provides package data"
|
|
||||||
TYPE OPTIONAL
|
|
||||||
)
|
|
||||||
- if(AppStreamQt_FOUND)
|
|
||||||
- add_definitions(-DHAVE_APPSTREAM_VERSION=${AppStreamQt_VERSION_MAJOR})
|
|
||||||
- list(APPEND _extra_libraries AppStreamQt)
|
|
||||||
+ if(AppStreamQt5_FOUND)
|
|
||||||
+ add_definitions(-DHAVE_APPSTREAM_VERSION=${AppStreamQt5_VERSION_MAJOR})
|
|
||||||
+ list(APPEND _extra_libraries AppStreamQt5)
|
|
||||||
list(APPEND _extra_src ${_packagechooser}/ItemAppStream.cpp)
|
|
||||||
endif()
|
|
||||||
endif()
|
|
Loading…
x
Reference in New Issue
Block a user