Skip to content

Commit

Permalink
complete-rework-test
Browse files Browse the repository at this point in the history
  • Loading branch information
taukakao committed Feb 19, 2025
1 parent 42c61f8 commit f65c681
Show file tree
Hide file tree
Showing 191 changed files with 24,027 additions and 16,072 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,10 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Get the version
id: get_version
run: echo "{VERSION}={$(cat VERSION)}" >> $GITHUB_OUTPUT

- name: Install build dependencies
run: |
apt install -y debhelper python3 gettext build-essential desktop-file-utils ninja-build meson libadwaita-1-dev make libnm-dev libnma-dev libnma-gtk4-dev
apt-get update
apt-get build-dep -y .
- name: Build .deb package
run: |
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,15 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Get the version
id: get_version
run: echo "{VERSION}={$(cat VERSION)}" >> $GITHUB_OUTPUT
- name: Set meson version by tag
id: set_version
run: |
sed -i 's/VTESTING/${{ github.ref_name }}/g' meson.build
- name: Install build dependencies
run: |
apt install -y debhelper python3 gettext build-essential desktop-file-utils ninja-build meson libadwaita-1-dev make libnm-dev libnma-dev libnma-gtk4-dev
apt-get update
apt-get build-dep -y .
- name: Build .deb package
run: |
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ debian/vanilla-first-setup
debian/.debhelper
*/__pycache__
*.pyc
/localbuild
vanilla_first_setup/vanilla-first-setup.gresource
.buildconfig
install/
localegen/
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# TODO: adjust readme

<div align="center">
<img src="data/icons/hicolor/scalable/apps/org.vanillaos.FirstSetup.svg">
<h1>Vanilla OS First Setup</h1>
Expand Down
1 change: 0 additions & 1 deletion VERSION

This file was deleted.

25 changes: 0 additions & 25 deletions __first_setup_cleanup

This file was deleted.

14 changes: 0 additions & 14 deletions __first_setup_reset_session

This file was deleted.

File renamed without changes.
5 changes: 2 additions & 3 deletions data/firstsetup.desktop → data/firstsetup-session.desktop
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
[Desktop Entry]
Name=FirstSetup
Comment=This session provides a First Setup interface
Exec=env GNOME_SHELL_SESSION_MODE=firstsetup gnome-session --session=firstsetup
TryExec=gnome-shell
Icon=
Exec=env GNOME_SHELL_SESSION_MODE=firstsetup /usr/bin/gnome-session
TryExec=/usr/bin/gnome-session
Type=Application
DesktopNames=vanilla:GNOME
X-GDM-SessionRegisters=true
Expand Down
3 changes: 0 additions & 3 deletions data/firstsetup.session

This file was deleted.

19 changes: 0 additions & 19 deletions data/firstsetup.session.conf

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

106 changes: 0 additions & 106 deletions data/icons/hicolor/symbolic/actions/vanilla-puzzle-piece-symbolic.svg

This file was deleted.

40 changes: 8 additions & 32 deletions data/icons/meson.build
Original file line number Diff line number Diff line change
@@ -1,44 +1,20 @@
application_id = 'org.vanillaos.FirstSetup'

icons_dir = join_paths(get_option('datadir'), 'icons')

scalable_dir = join_paths('hicolor', 'scalable', 'apps')
symbolic_dir = join_paths('hicolor', 'symbolic')
actions_dir = join_paths(symbolic_dir, 'actions')
symbolic_dir = join_paths('hicolor', 'symbolic', 'apps')


install_data(
join_paths(scalable_dir, ('@0@.svg').format(application_id)),
install_dir: join_paths(get_option('datadir'), 'icons', scalable_dir)
join_paths(scalable_dir, 'org.vanillaos.FirstSetup.svg'),
install_dir: join_paths(icons_dir, scalable_dir)
)


install_data(
join_paths(symbolic_dir, 'apps', ('@0@-symbolic.svg').format(application_id)),
install_dir: join_paths(get_option('datadir'), 'icons', symbolic_dir, 'apps')
join_paths(scalable_dir, 'org.vanillaos.FirstSetup-flower.svg'),
install_dir: join_paths(icons_dir, scalable_dir)
)

install_data(
join_paths(scalable_dir, ('org.vanillaos.FirstSetup-flower.svg').format(application_id)),
install_dir: join_paths(get_option('datadir'), 'icons', scalable_dir)
)

install_data(
join_paths(actions_dir, 'background-app-ghost-symbolic.svg'),
install_dir: join_paths(get_option('datadir'), 'icons', 'hicolor', 'scalable', 'actions')
)
install_data(
join_paths(actions_dir, 'vanilla-container-terminal-symbolic.svg'),
install_dir: join_paths(get_option('datadir'), 'icons', 'hicolor', 'scalable', 'actions')
)
install_data(
join_paths(actions_dir, 'vanilla-package-symbolic.svg'),
install_dir: join_paths(get_option('datadir'), 'icons', 'hicolor', 'scalable', 'actions')
)
install_data(
join_paths(actions_dir, 'vanilla-puzzle-piece-symbolic.svg'),
install_dir: join_paths(get_option('datadir'), 'icons', 'hicolor', 'scalable', 'actions')
)
install_data(
join_paths(actions_dir, 'vanilla-history-undo-symbolic.svg'),
install_dir: join_paths(get_option('datadir'), 'icons', 'hicolor', 'scalable', 'actions')
join_paths(symbolic_dir, 'org.vanillaos.FirstSetup-symbolic.svg'),
install_dir: join_paths(icons_dir, symbolic_dir)
)
Loading

0 comments on commit f65c681

Please sign in to comment.