summaryrefslogtreecommitdiff
path: root/modules/freya/packages/patches
diff options
context:
space:
mode:
Diffstat (limited to 'modules/freya/packages/patches')
-rw-r--r--modules/freya/packages/patches/aquamarine-fix-cmake.patch25
-rw-r--r--modules/freya/packages/patches/hyprland-fix-cmake.patch33
-rw-r--r--modules/freya/packages/patches/overskride-fix-meson.patch67
3 files changed, 0 insertions, 125 deletions
diff --git a/modules/freya/packages/patches/aquamarine-fix-cmake.patch b/modules/freya/packages/patches/aquamarine-fix-cmake.patch
deleted file mode 100644
index bd29649..0000000
--- a/modules/freya/packages/patches/aquamarine-fix-cmake.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 7b6f11ed0708d8775f42107e19d9099835e2498e Mon Sep 17 00:00:00 2001
-From: Freya Murphy <freya@freyacat.org>
-Date: Mon, 5 Aug 2024 17:52:48 -0400
-Subject: [PATCH] fix cmake
-
----
- CMakeLists.txt | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index bb7a4d6..7f7e7ff 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -19,7 +19,7 @@ set(INCLUDE ${CMAKE_INSTALL_FULL_INCLUDEDIR})
- set(LIBDIR ${CMAKE_INSTALL_FULL_LIBDIR})
-
- find_package(PkgConfig REQUIRED)
--find_package(OpenGL REQUIRED COMPONENTS "GLES2")
-+find_package(OpenGL REQUIRED)
- find_package(hyprwayland-scanner 0.4.0 REQUIRED)
- pkg_check_modules(
- deps
---
-2.45.1
-
diff --git a/modules/freya/packages/patches/hyprland-fix-cmake.patch b/modules/freya/packages/patches/hyprland-fix-cmake.patch
deleted file mode 100644
index 1ac9782..0000000
--- a/modules/freya/packages/patches/hyprland-fix-cmake.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From 33fac66982422104cc1c2664f9a841fc96295c13 Mon Sep 17 00:00:00 2001
-From: Freya Murphy <freya@freyacat.org>
-Date: Mon, 5 Aug 2024 20:35:50 -0400
-Subject: [PATCH] fix cmake
-
----
- CMakeLists.txt | 4 +---
- 1 file changed, 1 insertion(+), 3 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index fa58b63d..51ea6cfa 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -85,7 +84,7 @@ if(LEGACY_RENDERER)
- else()
- set(GLES_VERSION "GLES3")
- endif()
--find_package(OpenGL REQUIRED COMPONENTS ${GLES_VERSION})
-+find_package(OpenGL REQUIRED)
-
- pkg_check_modules(
- deps
-@@ -314,7 +313,6 @@ protocolwayland()
-
- # tools
- add_subdirectory(hyprctl)
--add_subdirectory(hyprpm)
-
- # binary and symlink
- install(TARGETS Hyprland)
---
-2.45.1
-
diff --git a/modules/freya/packages/patches/overskride-fix-meson.patch b/modules/freya/packages/patches/overskride-fix-meson.patch
deleted file mode 100644
index a57e097..0000000
--- a/modules/freya/packages/patches/overskride-fix-meson.patch
+++ /dev/null
@@ -1,67 +0,0 @@
-From fa401fc5082dbf4dc048e05222c752a14b808a53 Mon Sep 17 00:00:00 2001
-From: Freya Murphy <freya@freyacat.org>
-Date: Sat, 10 Aug 2024 15:14:15 -0400
-Subject: [PATCH] fix meson
-
----
- src/meson.build | 47 -----------------------------------------------
- 1 file changed, 47 deletions(-)
-
-diff --git a/src/meson.build b/src/meson.build
-index f64920f..11c45a7 100644
---- a/src/meson.build
-+++ b/src/meson.build
-@@ -25,50 +25,3 @@ gnome.compile_resources('overskride',
- install: true,
- install_dir: pkgdatadir,
- )
--
--conf = configuration_data()
--conf.set_quoted('VERSION', meson.project_version())
--conf.set_quoted('GETTEXT_PACKAGE', 'overskride')
--conf.set_quoted('LOCALEDIR', join_paths(get_option('prefix'), get_option('localedir')))
--conf.set_quoted('PKGDATADIR', pkgdatadir)
--
--configure_file(
-- input: 'config.rs.in',
-- output: 'config.rs',
-- configuration: conf
--)
--
--# Copy the config.rs output to the source directory.
--run_command(
-- 'cp',
-- join_paths(meson.project_build_root(), 'src', 'config.rs'),
-- join_paths(meson.project_source_root(), 'src', 'config.rs'),
-- check: true
--)
--
--cargo_bin = find_program('cargo')
--cargo_opt = [ '--manifest-path', meson.project_source_root() / 'Cargo.toml' ]
--cargo_opt += [ '--target-dir', meson.project_build_root() / 'src' ]
--cargo_env = [ 'CARGO_HOME=' + meson.project_build_root() / 'cargo-home' ]
--
--if get_option('buildtype') == 'release'
-- cargo_opt += [ '--release' ]
-- rust_target = 'release'
--else
-- rust_target = 'debug'
--endif
--
--cargo_build = custom_target(
-- 'cargo-build',
-- build_by_default: true,
-- build_always_stale: true,
-- output: meson.project_name(),
-- console: true,
-- install: true,
-- install_dir: get_option('bindir'),
-- command: [
-- 'env', cargo_env,
-- cargo_bin, 'build',
-- cargo_opt, '&&', 'cp', 'src' / rust_target / meson.project_name(), '@OUTPUT@',
-- ]
--)
---
-2.45.2
-