diff --git a/desktop-base/Makefile b/desktop-base/Makefile new file mode 100644 index 0000000..3610cc0 --- /dev/null +++ b/desktop-base/Makefile @@ -0,0 +1,30 @@ +PIXMAPS=$(wildcard pixmaps/*.png) + +.PHONY: all clean install install-local +all: build-emblems build-logos +clean: clean-emblems clean-logos + +.PHONY: build-emblems clean-emblems install-emblems +build-emblems clean-emblems install-emblems: + @target=`echo $@ | sed s/-emblems//`; \ + $(MAKE) $$target -C emblems-pika || exit 1; + +.PHONY: build-logos clean-logos install-logos +build-logos clean-logos install-logos: + @target=`echo $@ | sed s/-logos//`; \ + $(MAKE) $$target -C pika-logos || exit 1; + + +install: install-emblems install-logos install-local + +install-local: + # pika logo in circle as default user face icon + install -d $(DESTDIR)/etc/skel + $(INSTALL_DATA) defaults/common/etc/skel/.face $(DESTDIR)/etc/skel + cd $(DESTDIR)/etc/skel && ln -s .face .face.icon + + # pixmaps files + mkdir -p $(DESTDIR)/usr/share/pixmaps + $(INSTALL_DATA) $(PIXMAPS) $(DESTDIR)/usr/share/pixmaps/ + +include Makefile.inc diff --git a/desktop-base/Makefile.inc b/desktop-base/Makefile.inc new file mode 100644 index 0000000..13bc46f --- /dev/null +++ b/desktop-base/Makefile.inc @@ -0,0 +1,7 @@ +INSTALL=install +INSTALL_PROGRAM=$(INSTALL) +# Don't use $(INSTALL) for data as debhelper >= 11 injects +# --strip-program=true which is specific to non-data files +#INSTALL_DATA=$(INSTALL) -m 644 +INSTALL_DATA=install -m 644 + diff --git a/desktop-base/README.md b/desktop-base/README.md new file mode 100644 index 0000000..ca4fe29 --- /dev/null +++ b/desktop-base/README.md @@ -0,0 +1 @@ +# desktop-base diff --git a/desktop-base/debian/.debhelper/generated/desktop-base/installed-by-dh_installdocs b/desktop-base/debian/.debhelper/generated/desktop-base/installed-by-dh_installdocs new file mode 100644 index 0000000..e69de29 diff --git a/desktop-base/debian/changelog b/desktop-base/debian/changelog new file mode 100644 index 0000000..aea7960 --- /dev/null +++ b/desktop-base/debian/changelog @@ -0,0 +1,5 @@ +desktop-base (13.3-101pika1) pika; urgency=medium + + * First version of the PikaOS OS desktop-base package + + -- Ward Nakchbandi Thu, 06 Jun 2024 00:35:00 +0200 diff --git a/desktop-base/debian/compat b/desktop-base/debian/compat new file mode 100644 index 0000000..b1bd38b --- /dev/null +++ b/desktop-base/debian/compat @@ -0,0 +1 @@ +13 diff --git a/desktop-base/debian/control b/desktop-base/debian/control new file mode 100644 index 0000000..6c9e59a --- /dev/null +++ b/desktop-base/debian/control @@ -0,0 +1,15 @@ +Source: desktop-base +Section: x11 +Priority: optional +Maintainer: Ward Nakchbandi +Build-Depends: debhelper (>= 13), + librsvg2-bin, + optipng + +Rules-Requires-Root: no +Standards-Version: 4.6.2 + +Package: desktop-base +Architecture: all +Depends: librsvg2-common, +Description: common files for the Desktops on PikaOS \ No newline at end of file diff --git a/desktop-base/debian/copyright b/desktop-base/debian/copyright new file mode 100644 index 0000000..d26a780 --- /dev/null +++ b/desktop-base/debian/copyright @@ -0,0 +1 @@ +License: GPL-3+ or CC-BY-SA-3.0 diff --git a/desktop-base/debian/debhelper-build-stamp b/desktop-base/debian/debhelper-build-stamp new file mode 100644 index 0000000..3e0f2ed --- /dev/null +++ b/desktop-base/debian/debhelper-build-stamp @@ -0,0 +1 @@ +desktop-base diff --git a/desktop-base/debian/desktop-base.lintian-overrides b/desktop-base/debian/desktop-base.lintian-overrides new file mode 100644 index 0000000..b1d71f3 --- /dev/null +++ b/desktop-base/debian/desktop-base.lintian-overrides @@ -0,0 +1,14 @@ +# The following folders are created in order to point alternatives to them. +# They filled by update-alternatives in postinst during installation. +desktop-base binary: package-contains-empty-directory [usr/share/icons/vendor/128x128/emblems/] +desktop-base binary: package-contains-empty-directory [usr/share/icons/vendor/256x256/emblems/] +desktop-base binary: package-contains-empty-directory [usr/share/icons/vendor/64x64/emblems/] +desktop-base binary: package-contains-empty-directory [usr/share/icons/vendor/scalable/emblems/] + +# We do want the pika user icon in circle logo to be copied for newly created users +desktop-base: package-contains-file-in-etc-skel [etc/skel/.face.icon] +desktop-base: package-contains-file-in-etc-skel [etc/skel/.face] + +# to make lintian/ftp-master happy :-/ +desktop-base: package-contains-file-in-etc-skel etc/skel/.face.icon +desktop-base: package-contains-file-in-etc-skel etc/skel/.face diff --git a/desktop-base/debian/desktop-base.postinst.debhelper b/desktop-base/debian/desktop-base.postinst.debhelper new file mode 100644 index 0000000..598c82c --- /dev/null +++ b/desktop-base/debian/desktop-base.postinst.debhelper @@ -0,0 +1,7 @@ +# Automatically added by dh_icons/13.6ubuntu1 +if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then + if command -v update-icon-caches >/dev/null; then + update-icon-caches /usr/share/icons/desktop-base + fi +fi +# End automatically added section diff --git a/desktop-base/debian/desktop-base.postrm.debhelper b/desktop-base/debian/desktop-base.postrm.debhelper new file mode 100644 index 0000000..12e956f --- /dev/null +++ b/desktop-base/debian/desktop-base.postrm.debhelper @@ -0,0 +1,5 @@ +# Automatically added by dh_icons/13.6ubuntu1 +if command -v update-icon-caches >/dev/null; then + update-icon-caches /usr/share/icons/desktop-base +fi +# End automatically added section diff --git a/desktop-base/debian/desktop-base.substvars b/desktop-base/debian/desktop-base.substvars new file mode 100644 index 0000000..978fc8b --- /dev/null +++ b/desktop-base/debian/desktop-base.substvars @@ -0,0 +1,2 @@ +misc:Depends= +misc:Pre-Depends= diff --git a/desktop-base/debian/files b/desktop-base/debian/files new file mode 100644 index 0000000..dd8b562 --- /dev/null +++ b/desktop-base/debian/files @@ -0,0 +1,2 @@ +desktop-base_100.0_all.deb x11 optional +desktop-base_100.0_amd64.buildinfo x11 optional diff --git a/desktop-base/debian/maintscript b/desktop-base/debian/maintscript new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/desktop-base/debian/maintscript @@ -0,0 +1 @@ + diff --git a/desktop-base/debian/postinst b/desktop-base/debian/postinst new file mode 100644 index 0000000..9fdfb41 --- /dev/null +++ b/desktop-base/debian/postinst @@ -0,0 +1,52 @@ +#!/bin/sh +set -e + +# Tag to allow some debhelper commands to inject relevant code +#DEBHELPER# + +if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-remove" ]; then + # Vendor logo alternative + mkdir -p /usr/share/images/vendor-logo || true + echo "Setting up vendor-logo alternative" + update-alternatives --install \ + /usr/share/images/vendor-logos \ + vendor-logos \ + /usr/share/desktop-base/pika-logos 50 \ + --slave /usr/share/icons/vendor/64x64/emblems/emblem-vendor.png \ + emblem-vendor-64 \ + /usr/share/icons/desktop-base/64x64/emblems/emblem-pika.png \ + --slave /usr/share/icons/vendor/128x128/emblems/emblem-vendor.png \ + emblem-vendor-128 \ + /usr/share/icons/desktop-base/128x128/emblems/emblem-pika.png \ + --slave /usr/share/icons/vendor/256x256/emblems/emblem-vendor.png \ + emblem-vendor-256 \ + /usr/share/icons/desktop-base/256x256/emblems/emblem-pika.png \ + --slave /usr/share/icons/vendor/scalable/emblems/emblem-vendor.svg \ + emblem-vendor-scalable \ + /usr/share/icons/desktop-base/scalable/emblems/emblem-pika.svg \ + --slave /usr/share/icons/vendor/64x64/emblems/emblem-vendor-symbolic.png \ + emblem-vendor-symbolic-64 \ + /usr/share/icons/desktop-base/64x64/emblems/emblem-pika-symbolic.png \ + --slave /usr/share/icons/vendor/128x128/emblems/emblem-vendor-symbolic.png \ + emblem-vendor-symbolic-128 \ + /usr/share/icons/desktop-base/128x128/emblems/emblem-pika-symbolic.png \ + --slave /usr/share/icons/vendor/256x256/emblems/emblem-vendor-symbolic.png \ + emblem-vendor-symbolic-256 \ + /usr/share/icons/desktop-base/256x256/emblems/emblem-pika-symbolic.png \ + --slave /usr/share/icons/vendor/scalable/emblems/emblem-vendor-symbolic.svg \ + emblem-vendor-symbolic-scalable \ + /usr/share/icons/desktop-base/scalable/emblems/emblem-pika-symbolic.svg \ + --slave /usr/share/icons/vendor/64x64/emblems/emblem-vendor-white.png \ + emblem-vendor-white-64 \ + /usr/share/icons/desktop-base/64x64/emblems/emblem-pika-white.png \ + --slave /usr/share/icons/vendor/128x128/emblems/emblem-vendor-white.png \ + emblem-vendor-white-128 \ + /usr/share/icons/desktop-base/128x128/emblems/emblem-pika-white.png \ + --slave /usr/share/icons/vendor/256x256/emblems/emblem-vendor-white.png \ + emblem-vendor-white-256 \ + /usr/share/icons/desktop-base/256x256/emblems/emblem-pika-white.png \ + --slave /usr/share/icons/vendor/scalable/emblems/emblem-vendor-white.svg \ + emblem-vendor-white-scalable \ + /usr/share/icons/desktop-base/scalable/emblems/emblem-pika-white.svg \ + --force +fi diff --git a/desktop-base/debian/prerm b/desktop-base/debian/prerm new file mode 100644 index 0000000..614e739 --- /dev/null +++ b/desktop-base/debian/prerm @@ -0,0 +1,12 @@ +#!/bin/sh +set -e + +# Tag to allow some debhelper commands to inject relevant code +#DEBHELPER# + +if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ]; then + # Remove vendor logos alternative, all slaves get removed automatically + update-alternatives --remove \ + vendor-logos \ + /usr/share/desktop-base/pika-logos +fi diff --git a/desktop-base/debian/rules b/desktop-base/debian/rules new file mode 100755 index 0000000..2d33f6a --- /dev/null +++ b/desktop-base/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh $@ diff --git a/desktop-base/debian/source/format b/desktop-base/debian/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/desktop-base/debian/source/format @@ -0,0 +1 @@ +3.0 (native) diff --git a/desktop-base/debian/source/lintian-overrides b/desktop-base/debian/source/lintian-overrides new file mode 100644 index 0000000..db8f106 --- /dev/null +++ b/desktop-base/debian/source/lintian-overrides @@ -0,0 +1,2 @@ +# we ignore ${Misc:Depends} because it would bring gconf and dconf +desktop-base source: debhelper-but-no-misc-depends desktop-base diff --git a/desktop-base/debian/tests/control b/desktop-base/debian/tests/control new file mode 100644 index 0000000..e5f92c4 --- /dev/null +++ b/desktop-base/debian/tests/control @@ -0,0 +1,2 @@ +Tests: validate-xmls-lint, validate-svgs-xmllint +Depends: libxml2-utils diff --git a/desktop-base/debian/tests/validate-svgs-xmllint b/desktop-base/debian/tests/validate-svgs-xmllint new file mode 100755 index 0000000..f533b1c --- /dev/null +++ b/desktop-base/debian/tests/validate-svgs-xmllint @@ -0,0 +1,22 @@ +#!/bin/bash + +dir_name=$(dirname $0) +. ${dir_name}/xmllint-functions + +XML_FILE_PATTERN="*.svg" +XML_LINT_SUMMARY="svgs-xmllint-summary.csv" +if [[ -n ${AUTOPKGTEST_ARTIFACTS} ]] ; then + XML_LINT_SUMMARY="${AUTOPKGTEST_ARTIFACTS}/${XML_LINT_SUMMARY}" +fi + + +xml_lint_command="lint_xmls ${XML_FILE_PATTERN} ${XML_LINT_SUMMARY}" +echo "$0: running '${xml_lint_command}'..." +${xml_lint_command} +xml_lint_result=$? + +echo "$0: '${xml_lint_command}' returned ${xml_lint_result}" + + +exit ${xml_lint_result} + diff --git a/desktop-base/debian/tests/validate-xmls-lint b/desktop-base/debian/tests/validate-xmls-lint new file mode 100755 index 0000000..a24762d --- /dev/null +++ b/desktop-base/debian/tests/validate-xmls-lint @@ -0,0 +1,22 @@ +#!/bin/bash + +dir_name=$(dirname $0) +. ${dir_name}/xmllint-functions + +XML_FILE_PATTERN="*.xml" +XML_LINT_SUMMARY="xmls-lint-summary.csv" +if [[ -n ${AUTOPKGTEST_ARTIFACTS} ]] ; then + XML_LINT_SUMMARY="${AUTOPKGTEST_ARTIFACTS}/${XML_LINT_SUMMARY}" +fi + + +xml_lint_command="lint_xmls ${XML_FILE_PATTERN} ${XML_LINT_SUMMARY}" +echo "$0: running '${xml_lint_command}'..." +${xml_lint_command} +xml_lint_result=$? + +echo "$0: '${xml_lint_command}' returned ${xml_lint_result}" + + +exit ${xml_lint_result} + diff --git a/desktop-base/debian/tests/xmllint-functions b/desktop-base/debian/tests/xmllint-functions new file mode 100755 index 0000000..c92301b --- /dev/null +++ b/desktop-base/debian/tests/xmllint-functions @@ -0,0 +1,48 @@ +#!/bin/bash + +lint_xmls() { + local xml_file_pattern=$1 + local xml_lint_summary=$2 + + if [ "$#" -ne 2 ] ; then + echo "$0: wrong number of arguments." + echo "Expected:" + echo " $0 xml_file_pattern summary_file_name" + return 255 + fi + + echo "Running xmllint for pattern '${xml_file_pattern}'" + echo "Current directory is '$(pwd)'" + echo "Result will be stored in ${xml_lint_summary}" + echo + + echo "file,xmllint_status" > ${xml_lint_summary} + + local files_list=$(find . -name "${xml_file_pattern}") + local nb_files=$(echo "${files_list}" | wc -l) + local nb_ok=0 + local nb_errors=0 + + echo "${nb_files} files will be checked" + + while IFS= read -d $'\n' -r xml_file ; do + xmllint --noout ${xml_file} + local xmllint_result=$? + echo "${xml_file},${xmllint_result}" >> ${xml_lint_summary} + if [ ${xmllint_result} -eq 0 ] ; then + echo "'${xml_file}' is OK" + ((nb_ok++)) + else + echo "'${xml_file}' has errors" + ((nb_errors++)) + fi + done <<< "${files_list}" + + echo "Results of xmllint for pattern '${xml_file_pattern}'" + echo " Checked: ${nb_files}" + echo " OK: ${nb_ok}" + echo " Errors: ${nb_errors}" + + return ${nb_errors} + +} diff --git a/desktop-base/defaults/common/etc/skel/.face b/desktop-base/defaults/common/etc/skel/.face new file mode 100644 index 0000000..79ea387 --- /dev/null +++ b/desktop-base/defaults/common/etc/skel/.face @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/desktop-base/defaults/kde/etc/xdg/autostart/xdg-user-dirs-kde.desktop b/desktop-base/defaults/kde/etc/xdg/autostart/xdg-user-dirs-kde.desktop new file mode 100644 index 0000000..41c26cf --- /dev/null +++ b/desktop-base/defaults/kde/etc/xdg/autostart/xdg-user-dirs-kde.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Type=Application +Name=User folders update +TryExec=xdg-user-dirs-update +Exec=xdg-user-dirs-update +StartupNotify=false +NoDisplay=true + +X-KDE-autostart-phase=1 diff --git a/desktop-base/defaults/kde/etc/xdg/kcm-about-distrorc b/desktop-base/defaults/kde/etc/xdg/kcm-about-distrorc new file mode 100644 index 0000000..9fbed57 --- /dev/null +++ b/desktop-base/defaults/kde/etc/xdg/kcm-about-distrorc @@ -0,0 +1,3 @@ +[General] +LogoPath=emblem-pika +Version=4 diff --git a/desktop-base/defaults/kde/etc/xdg/kickoffrc b/desktop-base/defaults/kde/etc/xdg/kickoffrc new file mode 100644 index 0000000..d1e5eba --- /dev/null +++ b/desktop-base/defaults/kde/etc/xdg/kickoffrc @@ -0,0 +1,2 @@ +[Branding] +Homepage=https://www.pika-os.com/ diff --git a/desktop-base/defaults/kde/etc/xdg/plasma-workspace/env/env.sh b/desktop-base/defaults/kde/etc/xdg/plasma-workspace/env/env.sh new file mode 100644 index 0000000..3aacc07 --- /dev/null +++ b/desktop-base/defaults/kde/etc/xdg/plasma-workspace/env/env.sh @@ -0,0 +1,7 @@ +## from http://standards.freedesktop.org/menu-spec/latest/ + +# XDG_CONFIG_DIRS +if [ -z "${XDG_CONFIG_DIRS}" ] ; then + XDG_CONFIG_DIRS=/etc/xdg:/usr/share/desktop-base/kf5-settings + export XDG_CONFIG_DIRS +fi diff --git a/desktop-base/defaults/kde/kf5-settings/baloofilerc b/desktop-base/defaults/kde/kf5-settings/baloofilerc new file mode 100644 index 0000000..694400b --- /dev/null +++ b/desktop-base/defaults/kde/kf5-settings/baloofilerc @@ -0,0 +1,2 @@ +[General] +only basic indexing=true diff --git a/desktop-base/defaults/kde/kf5-settings/kdeglobals b/desktop-base/defaults/kde/kf5-settings/kdeglobals new file mode 100644 index 0000000..69e9c65 --- /dev/null +++ b/desktop-base/defaults/kde/kf5-settings/kdeglobals @@ -0,0 +1,5 @@ +[General] +XftAntialias=true +XftHintStyle=hintslight +XftSubPixel=rgb +BrowserApplication=firefox.desktop diff --git a/desktop-base/defaults/kde/kf5-settings/kscreenlockerrc b/desktop-base/defaults/kde/kf5-settings/kscreenlockerrc new file mode 100644 index 0000000..b3761c0 --- /dev/null +++ b/desktop-base/defaults/kde/kf5-settings/kscreenlockerrc @@ -0,0 +1,2 @@ +[Greeter] +WallpaperPlugin=org.kde.image diff --git a/desktop-base/emblems-pika/Makefile b/desktop-base/emblems-pika/Makefile new file mode 100644 index 0000000..d0dbe5a --- /dev/null +++ b/desktop-base/emblems-pika/Makefile @@ -0,0 +1,75 @@ +TARGET_DIR = usr/share/icons/desktop-base +TARGET_DIR_SCALABLE = $(TARGET_DIR)/scalable/emblems +# Generic folder for alternatives +TARGET_VENDOR = usr/share/icons/vendor +# TODO remove installing to _legacy early in bullseye cycle +TARGET_DIR_LEGACY = usr/share/icons/hicolor +TARGET_DIR_SCALABLE_LEGACY = $(TARGET_DIR_LEGACY)/scalable/emblems + +.PHONY: build clean install + +EMBLEMS = $(basename $(wildcard *.svg)) +$(info Emblems: '$(EMBLEMS)') +# TODO remove installing to _legacy early in bullseye cycle +RESOLUTIONS := 64 128 256 +$(info Resolutions: '$(RESOLUTIONS)') +RESOLUTIONS_LEGACY := 16 22 32 36 48 64 128 256 +$(info Legacy Resolutions: '$(RESOLUTIONS_LEGACY)') + +# The build: target should depend on all PNGs to generate +$(info $(foreach SVG,$(EMBLEMS),$(foreach RES,$(RESOLUTIONS_LEGACY),$(SVG)-$(RES)x$(RES).png))) +build: $(foreach SVG,$(EMBLEMS),$(foreach RES,$(RESOLUTIONS_LEGACY),$(SVG)-$(RES)x$(RES).png)) + +# Dynamically add rules for PNG generation for each resolution, for each emblem file +define SVG_TO_PNG_RULE +$1-$2x$2.png: $1.svg + rsvg-convert $$< -w $2 -h $2 -o $$@.raw + optipng $$@.raw -out $$@ +endef +$(foreach EMBLEM,$(EMBLEMS),$(foreach RES,$(RESOLUTIONS_LEGACY),$(eval $(call SVG_TO_PNG_RULE,$(EMBLEM),$(RES))))) + +clean: + rm -f *.png.raw + rm -f *.png + +install: + # Generic vendor folders, created empty and will be populated with + # update-alternatives + for RES in $(RESOLUTIONS) ; do \ + RES_DIR=$(DESTDIR)/$(TARGET_VENDOR)/$${RES}x$${RES}/emblems ; \ + install -d $${RES_DIR} ; \ + done + install -d $(DESTDIR)/$(TARGET_VENDOR)/scalable/emblems + # Install PNG icons for each resolution + for RES in $(RESOLUTIONS) ; do \ + EMBLEMS_DIR=$(DESTDIR)/$(TARGET_DIR)/$${RES}x$${RES}/emblems ; \ + install -d $${EMBLEMS_DIR} ; \ + for EMBLEM in $(EMBLEMS) ; do \ + PNG_SOURCE=$${EMBLEM}-$${RES}x$${RES}.png ; \ + $(INSTALL_DATA) $${PNG_SOURCE} $${EMBLEMS_DIR}/$${EMBLEM}.png ; \ + done ; \ + done + # TODO remove installing to _legacy early in bullseye cycle + for RES in $(RESOLUTIONS_LEGACY) ; do \ + EMBLEMS_DIR=$(DESTDIR)/$(TARGET_DIR_LEGACY)/$${RES}x$${RES}/emblems ; \ + install -d $${EMBLEMS_DIR} ; \ + for EMBLEM in $(EMBLEMS) ; do \ + PNG_SOURCE=$${EMBLEM}-$${RES}x$${RES}.png ; \ + $(INSTALL_DATA) $${PNG_SOURCE} $${EMBLEMS_DIR}/$${EMBLEM}.png ; \ + $(INSTALL_DATA) $${EMBLEM}.icon $${EMBLEMS_DIR}/ ; \ + done ; \ + done + # Install SVG emblems in the scalable emblems dir + for EMBLEM in $(EMBLEMS) ; do \ + EMBLEMS_DIR=$(DESTDIR)/$(TARGET_DIR_SCALABLE) ; \ + install -d $${EMBLEMS_DIR} ; \ + $(INSTALL_DATA) $${EMBLEM}.svg $${EMBLEMS_DIR}/ ; \ + done + for EMBLEM in $(EMBLEMS) ; do \ + EMBLEMS_DIR=$(DESTDIR)/$(TARGET_DIR_SCALABLE_LEGACY) ; \ + install -d $${EMBLEMS_DIR} ; \ + $(INSTALL_DATA) $${EMBLEM}.svg $${EMBLEMS_DIR}/ ; \ + $(INSTALL_DATA) $${EMBLEM}.icon $${EMBLEMS_DIR}/ ; \ + done + +include ../Makefile.inc diff --git a/desktop-base/emblems-pika/emblem-debian-symbolic.icon b/desktop-base/emblems-pika/emblem-debian-symbolic.icon new file mode 100644 index 0000000..dde7381 --- /dev/null +++ b/desktop-base/emblems-pika/emblem-debian-symbolic.icon @@ -0,0 +1,2 @@ +[Icon Data] +DisplayName=PikaOS Symbolic diff --git a/desktop-base/emblems-pika/emblem-debian-symbolic.svg b/desktop-base/emblems-pika/emblem-debian-symbolic.svg new file mode 100644 index 0000000..45cb85f --- /dev/null +++ b/desktop-base/emblems-pika/emblem-debian-symbolic.svg @@ -0,0 +1,122 @@ + + + +image/svg+xml \ No newline at end of file diff --git a/desktop-base/emblems-pika/emblem-debian-white.icon b/desktop-base/emblems-pika/emblem-debian-white.icon new file mode 100644 index 0000000..3fbe588 --- /dev/null +++ b/desktop-base/emblems-pika/emblem-debian-white.icon @@ -0,0 +1,2 @@ +[Icon Data] +DisplayName= White diff --git a/desktop-base/emblems-pika/emblem-debian-white.svg b/desktop-base/emblems-pika/emblem-debian-white.svg new file mode 100644 index 0000000..c6ef149 --- /dev/null +++ b/desktop-base/emblems-pika/emblem-debian-white.svg @@ -0,0 +1,127 @@ + + + +image/svg+xml \ No newline at end of file diff --git a/desktop-base/emblems-pika/emblem-debian.icon b/desktop-base/emblems-pika/emblem-debian.icon new file mode 100644 index 0000000..09b241d --- /dev/null +++ b/desktop-base/emblems-pika/emblem-debian.icon @@ -0,0 +1,2 @@ +[Icon Data] +DisplayName=PikaOS diff --git a/desktop-base/emblems-pika/emblem-debian.svg b/desktop-base/emblems-pika/emblem-debian.svg new file mode 100644 index 0000000..6ae2775 --- /dev/null +++ b/desktop-base/emblems-pika/emblem-debian.svg @@ -0,0 +1,122 @@ + + + +image/svg+xml \ No newline at end of file diff --git a/desktop-base/logo.png b/desktop-base/logo.png new file mode 100644 index 0000000..cef5e8f Binary files /dev/null and b/desktop-base/logo.png differ diff --git a/desktop-base/pika-logos/Makefile b/desktop-base/pika-logos/Makefile new file mode 100644 index 0000000..d69077b --- /dev/null +++ b/desktop-base/pika-logos/Makefile @@ -0,0 +1,31 @@ +dir = usr/share/desktop-base/pika-logos + +.PHONY: build clean install + +LOGOS = $(basename $(wildcard *.svg)) +$(info Logos: '$(LOGOS)') +RESOLUTIONS := 64 128 256 +$(info Resolutions: '$(RESOLUTIONS)') + +# The build: target should depend on all PNGs to generate +$(info $(foreach SVG,$(LOGOS),$(foreach RES,$(RESOLUTIONS),$(SVG)-$(RES).png))) +build: $(foreach SVG,$(LOGOS),$(foreach RES,$(RESOLUTIONS),$(SVG)-$(RES).png)) + +# Dynamically add rules for PNG generation for each resolution, for each logo file +define SVG_TO_PNG_RULE +$1-$2.png: $1.svg + rsvg-convert $$< -h $2 -o $$@.raw + optipng $$@.raw -out $$@ +endef +$(foreach LOGO,$(LOGOS),$(foreach RES,$(RESOLUTIONS),$(eval $(call SVG_TO_PNG_RULE,$(LOGO),$(RES))))) + +clean: + rm -f *.png.raw + rm -f *.png + +install: + install -d $(DESTDIR)/$(dir) + $(INSTALL_DATA) $(wildcard *.svg) $(DESTDIR)/$(dir) + $(INSTALL_DATA) $(wildcard *.png) $(DESTDIR)/$(dir) + +include ../Makefile.inc diff --git a/desktop-base/pika-logos/logo-text-version.svg b/desktop-base/pika-logos/logo-text-version.svg new file mode 100644 index 0000000..77b6630 --- /dev/null +++ b/desktop-base/pika-logos/logo-text-version.svg @@ -0,0 +1,203 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/desktop-base/pika-logos/logo-text.svg b/desktop-base/pika-logos/logo-text.svg new file mode 100644 index 0000000..df3201a --- /dev/null +++ b/desktop-base/pika-logos/logo-text.svg @@ -0,0 +1,226 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/desktop-base/pika-logos/logo.svg b/desktop-base/pika-logos/logo.svg new file mode 100644 index 0000000..0033d17 --- /dev/null +++ b/desktop-base/pika-logos/logo.svg @@ -0,0 +1,125 @@ + +image/svg+xml diff --git a/desktop-base/pixmaps/debian-security.png b/desktop-base/pixmaps/debian-security.png new file mode 100644 index 0000000..25873c8 Binary files /dev/null and b/desktop-base/pixmaps/debian-security.png differ diff --git a/desktop-base/source/debian-security.xcf b/desktop-base/source/debian-security.xcf new file mode 100644 index 0000000..63cd510 Binary files /dev/null and b/desktop-base/source/debian-security.xcf differ diff --git a/desktop-base/source/salsa-debian-icon.svg b/desktop-base/source/salsa-debian-icon.svg new file mode 100644 index 0000000..6ca40e3 --- /dev/null +++ b/desktop-base/source/salsa-debian-icon.svg @@ -0,0 +1,233 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + +