Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eepm
Commits
7e6b967e
Commit
7e6b967e
authored
4 months ago
by
Ivan Mazhukin
Committed by
Vitaly Lipatov
4 months ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm desktop: add metapackage's support (eterbug #17617)
parent
3831ddf5
master
devel
Tags unavailable
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
5 deletions
+19
-5
epm-desktop
bin/epm-desktop
+13
-3
gnome.json
desktop.d/gnome.json
+3
-1
hyprland.json
desktop.d/hyprland.json
+3
-1
No files found.
bin/epm-desktop
View file @
7e6b967e
...
@@ -36,12 +36,14 @@ copy_files_if_absent() {
...
@@ -36,12 +36,14 @@ copy_files_if_absent() {
sudorun
mkdir
-p
"
$target_dir
"
sudorun
mkdir
-p
"
$target_dir
"
for
file
in
"
$source_dir
"
/
*
.json
;
do
for
file
in
"
$source_dir
"
/
*
.json
;
do
filename
=
$(
basename
"
$file
"
)
filename
=
$(
basename
"
$file
"
)
target_file
=
"
$target_dir
/
$filename
"
target_file
=
"
$target_dir
/
$filename
"
if
[
!
-f
"
$target_file
"
]
;
then
if
[
!
-f
"
$target_file
"
]
||
!
grep
-q
"metapackages"
"
$target_file
"
;
then
sudorun
cp
"
$file
"
"
$target_file
"
sudorun
cp
"
$file
"
"
$target_file
"
fi
fi
done
done
}
}
...
@@ -123,6 +125,12 @@ get_repo_version() {
...
@@ -123,6 +125,12 @@ get_repo_version() {
fi
fi
fi
fi
}
}
install_de_meta
()
{
local
metapackages
=
$(
get_value
"
$de_name
"
"metapackages"
)
[
-n
"
$metapackages
"
]
&&
epm
install
--manual-requires
$metapackages
return
}
install_de
()
{
install_de
()
{
local
de_name
=
$1
local
de_name
=
$1
...
@@ -135,13 +143,15 @@ install_de() {
...
@@ -135,13 +143,15 @@ install_de() {
fi
fi
message
"Installing
$de_name
with dependencies:
$dependencies
"
message
"Installing
$de_name
with dependencies:
$dependencies
"
if
!
install_de_meta
$metapackages
;
then
message
"Failed to install
$de_name
."
&&
return
1
fi
if
epm
install
$dependencies
;
then
if
epm
install
$dependencies
;
then
message
"
$de_name
successfully installed."
message
"
$de_name
successfully installed."
update_installed_status
"
$de_name
"
true
update_installed_status
"
$de_name
"
true
else
else
message
"Failed to install
$de_name
."
message
"Failed to install
$de_name
."
&&
return
1
return
1
fi
fi
}
}
...
...
This diff is collapsed.
Click to expand it.
desktop.d/gnome.json
View file @
7e6b967e
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
"version"
:
"46.4"
,
"version"
:
"46.4"
,
"installed"
:
false
,
"installed"
:
false
,
"dependencies"
:
[
"gnome-shell"
,
"gdm"
],
"dependencies"
:
[
"gnome-shell"
,
"gdm"
],
"description"
:
"Window management and application launching for GNOME"
"description"
:
"Window management and application launching for GNOME"
,
"metapackages"
:
[
"test"
]
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
desktop.d/hyprland.json
View file @
7e6b967e
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
"version"
:
"0.42.0"
,
"version"
:
"0.42.0"
,
"installed"
:
false
,
"installed"
:
false
,
"dependencies"
:
[
"hyprland"
,
"kitty"
,
"waybar"
,
"wlogout"
,
"fonts-ttf-fira-code-nerd"
,
"hyprpaper"
,
"hyprshot"
,
"wofi"
,
"pwvucontrol"
,
"cliphist"
,
"polkit-gnome"
],
"dependencies"
:
[
"hyprland"
,
"kitty"
,
"waybar"
,
"wlogout"
,
"fonts-ttf-fira-code-nerd"
,
"hyprpaper"
,
"hyprshot"
,
"wofi"
,
"pwvucontrol"
,
"cliphist"
,
"polkit-gnome"
],
"description"
:
"Hyprland is a dynamic tiling Wayland compositor that doesn't sacrifice on its looks"
"description"
:
"Hyprland is a dynamic tiling Wayland compositor that doesn't sacrifice on its looks"
,
"metapackages"
:
[
"hyprland"
]
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment