Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update debian packaging #75

Merged
merged 1 commit into from
Feb 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@ usr/*
debian/theme-manager/*
debian/*debhelper*
*.mo

# snap packaging
*.snap
13 changes: 13 additions & 0 deletions data/schema/org.mamolinux.theme-manager.gschema.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<schemalist>
<schema id="org.mamolinux.theme-manager" path="/org/mamolinux/theme-manager/">
<child name="theme-settings" schema="org.mamolinux.theme-manager.ThemeSettings"/>
</schema>
<schema id="org.mamolinux.theme-manager.ThemeSettings" path="/org/mamolinux/theme-manager/theme-settings/">
<key name="last-changed" type="i">
<default>0</default>
<summary>Theme update time</summary>
<description>Last time when the theme was updated.</description>
</key>
</schema>
</schemalist>
1 change: 1 addition & 0 deletions data/theme-manager-autostart.desktop.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[Desktop Entry]
Name=Theme Manager Indicator
Comment=Start indicator for Theme Manager.
GenericName=Indicator to change theme automatically.
Exec=theme-manager --indicator
Icon=theme-manager
Terminal=false
Expand Down
1 change: 1 addition & 0 deletions data/theme-manager.desktop.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[Desktop Entry]
Name=Theme Manager
Comment=Very simple Python3-based GUI application to randomly choose and set different theme variants on linux.
GenericName=Change theme automatically.
Exec=theme-manager
Icon=theme-manager
Terminal=false
Expand Down
3 changes: 1 addition & 2 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,8 @@ override_dh_install:
dh_install -O--buildsystem=pybuild
rm -rf debian/theme-manager/usr/lib/python*/dist-packages/ThemeManager/__pycache__
install -D -m 0644 debian/theme-manager.1 debian/theme-manager/usr/share/man/man1/theme-manager.1
install -D -m 0644 data/org.mamolinux.theme-manager.gschema.xml.in debian/theme-manager/usr/share/glib-2.0/schemas/org.mamolinux.theme-manager.gschema.xml
install -D -m 0644 data/theme-manager-autostart.desktop.in debian/theme-manager/etc/xdg/autostart/theme-manager-autostart.desktop
rm -f debian/theme-manager/usr/share/glib-2.0/schemas/gschemas.compiled

override_dh_auto_install:
dh_auto_install --destdir=$(CURDIR)/$(DEB_SOURCE)
dh_auto_install --destdir=$(CURDIR)/$(DEB_SOURCE) -O--buildsystem=pybuild
Loading