summaryrefslogtreecommitdiffstats
path: root/debian/_base/metapackages/desktop-base/Makefile
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-10-01 00:46:40 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-10-01 00:46:40 +0900
commit7352e415faa46b6b46dc532b47212693b3ee62df (patch)
treecb5caabc816c926873ba0f4687a8b6c576dbfaa8 /debian/_base/metapackages/desktop-base/Makefile
parent1b98f3e6c21df364a121486c18c5969886612d19 (diff)
downloadtde-packaging-7352e415faa46b6b46dc532b47212693b3ee62df.tar.gz
tde-packaging-7352e415faa46b6b46dc532b47212693b3ee62df.zip
DEB: updated after metapackages have been consolidated in one folder in main repo.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'debian/_base/metapackages/desktop-base/Makefile')
-rw-r--r--debian/_base/metapackages/desktop-base/Makefile79
1 files changed, 79 insertions, 0 deletions
diff --git a/debian/_base/metapackages/desktop-base/Makefile b/debian/_base/metapackages/desktop-base/Makefile
new file mode 100644
index 000000000..6552ca238
--- /dev/null
+++ b/debian/_base/metapackages/desktop-base/Makefile
@@ -0,0 +1,79 @@
+DEFAULT_BACKGROUND=desktop-background
+
+INSTALL=install -m 0644
+BACKGROUNDS=$(wildcard backgrounds/*.png backgrounds/*.jpg backgrounds/*.svg backgrounds/*.tga)
+EMBLEMS=$(wildcard emblems/*png emblems/*icon)
+SPLASH=$(wildcard splash/*.png)
+PIXMAPS=$(wildcard pixmaps/*.png)
+DESKTOPFILES=$(wildcard *.desktop)
+SKELETON_DIR = $(DESTDIR)/etc/skel
+
+all:
+# make -C usplash/moreblue-orbit
+
+clean:
+# make -C usplash/moreblue-orbit clean
+
+install:
+ # splashy theme
+ mkdir -p $(DESTDIR)/usr/share/splashy/themes/moreblue-orbit
+ $(INSTALL) $(wildcard splashy/moreblue-orbit/*) $(DESTDIR)/usr/share/splashy/themes/moreblue-orbit
+ # usplash theme
+# make -C usplash/moreblue-orbit install DESTDIR=$(CURDIR)/debian/usplash-theme-debian-desktop/usr/lib/usplash
+ # background files
+ mkdir -p $(DESTDIR)/usr/share/images/desktop-base
+ $(INSTALL) $(BACKGROUNDS) $(DESTDIR)/usr/share/images/desktop-base
+ cd $(DESTDIR)/usr/share/images/desktop-base && ln -s $(DEFAULT_BACKGROUND) default
+ # splash files
+ $(INSTALL) $(SPLASH) $(DESTDIR)/usr/share/images/desktop-base
+ # emblems
+ mkdir -p $(DESTDIR)/usr/share/icons/hicolor/48x48/emblems
+ $(INSTALL) $(EMBLEMS) $(DESTDIR)/usr/share/icons/hicolor/48x48/emblems/
+ # desktop files
+ mkdir -p $(DESTDIR)/usr/share/desktop-base
+ $(INSTALL) $(DESKTOPFILES) $(DESTDIR)/usr/share/desktop-base/
+ # pixmaps files
+ mkdir -p $(DESTDIR)/usr/share/pixmaps
+ $(INSTALL) $(PIXMAPS) $(DESTDIR)/usr/share/pixmaps/
+ # TDM theme
+ mkdir -p $(DESTDIR)/etc/default/tdm.d
+ $(INSTALL) tdm-theme/tdm.d/10_desktop-base $(DESTDIR)/etc/default/tdm.d
+ mkdir -p $(DESTDIR)/usr/share/apps/tdm/themes/debian-moreblue
+ $(INSTALL) $(wildcard tdm-theme/debian-moreblue/*) $(DESTDIR)/usr/share/apps/tdm/themes/debian-moreblue
+ mkdir -p $(DESTDIR)/usr/share/apps/tdm/themes/moreblue-orbit
+ $(INSTALL) $(wildcard tdm-theme/moreblue-orbit/*) $(DESTDIR)/usr/share/apps/tdm/themes/moreblue-orbit
+ mkdir -p $(DESTDIR)/usr/share/apps/tdm/themes/nightly
+ $(INSTALL) $(wildcard tdm-theme/nightly/*) $(DESTDIR)/usr/share/apps/tdm/themes/nightly
+ # KSPLASH theme
+ mkdir -p $(DESTDIR)/usr/share/apps/ksplash/Themes/debian-moreblue-default
+ $(INSTALL) $(wildcard ksplash-theme/debian-moreblue-default/*) $(DESTDIR)/usr/share/apps/ksplash/Themes/debian-moreblue-default
+ mkdir -p $(DESTDIR)/usr/share/apps/ksplash/Themes/debian-moreblue-moodin
+ $(INSTALL) $(wildcard ksplash-theme/debian-moreblue-moodin/*) $(DESTDIR)/usr/share/apps/ksplash/Themes/debian-moreblue-moodin
+ mkdir -p $(DESTDIR)/usr/share/apps/ksplash/Themes/moreblue-orbit-default
+ $(INSTALL) $(wildcard ksplash-theme/moreblue-orbit-default/*) $(DESTDIR)/usr/share/apps/ksplash/Themes/moreblue-orbit-default
+ mkdir -p $(DESTDIR)/usr/share/apps/ksplash/Themes/moreblue-orbit-moodin
+ $(INSTALL) $(wildcard ksplash-theme/moreblue-orbit-moodin/*) $(DESTDIR)/usr/share/apps/ksplash/Themes/moreblue-orbit-moodin
+ mkdir -p $(DESTDIR)/usr/share/apps/ksplash/Themes/nightly-default
+ $(INSTALL) $(wildcard ksplash-theme/nightly-default/*) $(DESTDIR)/usr/share/apps/ksplash/Themes/nightly-default
+ mkdir -p $(DESTDIR)/usr/share/apps/ksplash/Themes/nightly-moodin
+ $(INSTALL) $(wildcard ksplash-theme/nightly-moodin/*) $(DESTDIR)/usr/share/apps/ksplash/Themes/nightly-moodin
+ # TDE setup
+ mkdir -p $(DESTDIR)/etc/trinity
+ $(INSTALL) profiles/tde-profile/tdeglobals $(DESTDIR)/etc/trinity
+ mkdir -p $(DESTDIR)/etc/trinity/tdm
+ $(INSTALL) profiles/tde-profile/tdm/backgroundrc $(DESTDIR)/etc/trinity/tdm
+ mkdir -p $(DESTDIR)/usr/share/desktop-base/profiles/tde-profile/share/config
+ $(INSTALL) $(wildcard profiles/tde-profile/share/config/*) $(DESTDIR)/usr/share/desktop-base/profiles/tde-profile/share/config
+ # XFCE setup; uses the more general XDG
+ mkdir -p $(DESTDIR)/usr/share/desktop-base/profiles/xdg-config/xfce4/mcs_settings
+ $(INSTALL) $(wildcard profiles/xdg-config/xfce4/mcs_settings/*) $(DESTDIR)/usr/share/desktop-base/profiles/xdg-config/xfce4/mcs_settings
+ mkdir -p $(DESTDIR)/usr/share/desktop-base/profiles/xdg-config/xfce4-session
+ $(INSTALL) $(wildcard profiles/xdg-config/xfce4-session/*) $(DESTDIR)/usr/share/desktop-base/profiles/xdg-config/xfce4-session
+ # GNOME background descriptor
+ mkdir -p $(DESTDIR)/usr/share/gnome-background-properties
+ $(INSTALL) gnome-backgrounds.xml $(DESTDIR)/usr/share/gnome-background-properties/debian.xml
+ # Compositor control files
+ mkdir -p "$(SKELETON_DIR)"
+ $(INSTALL) kompmgr-rc-files/xcompmgrrc "$(SKELETON_DIR)/.xcompmgrrc"
+ $(INSTALL) kompmgr-rc-files/compton-tde.conf "$(SKELETON_DIR)/.compton-tde.conf"
+