Merge pull request #124 from bgstack15/staging

add Makefile
This commit is contained in:
grassmunk 2020-05-10 11:22:12 -07:00 committed by GitHub
commit 486baa93bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
28 changed files with 125 additions and 9275 deletions

125
Makefile Normal file
View File

@ -0,0 +1,125 @@
# File: Makefile for Chicago95
# Location: Chicago95 source package
# License: CC-BY-SA 4.0
# Author: bgstack15
# Title: Makefile for Chicago95 source package
# Purpose: Group theme files for easy installation and uninstallation
# History:
# Usage:
# Reference:
# Improve:
# Dependencies:
APPNAME = chicago95
APPVERSION = 0.0.2beta
SRCDIR = $(CURDIR)
prefix = /usr
SYSCONFDIR = $(DESTDIR)/etc
DEFAULTDIR = $(DESTDIR)/etc/sysconfig # for debian use '$(DESTDIR)/etc/default'
BINDIR = $(DESTDIR)$(prefix)/bin
LIBEXECDIR = $(DESTDIR)$(prefix)/libexec
SBINDIR = $(DESTDIR)$(prefix)/sbin
SHAREDIR = $(DESTDIR)$(prefix)/share
DOCDIR = $(SHAREDIR)/doc/$(APPNAME)
APPDIR = $(SHAREDIR)/$(APPNAME)
APPSDIR = $(SHAREDIR)/applications
ICONSDIR = $(SHAREDIR)/icons
MIMEDIR = $(SHAREDIR)/mime
MANDIR = $(SHAREDIR)/man
XDGAUTODIR = $(SYSCONFDIR)/xdg/autostart
FONTDIR = $(SHAREDIR)/fonts
THEMESDIR = $(SHAREDIR)/themes
SOUNDSDIR = $(SHAREDIR)/sounds
awkbin :=$(shell which awk)
chmodbin :=$(shell which chmod)
cpbin :=$(shell which cp)
echobin :=$(shell which echo)
falsebin :=$(shell which false)
findbin :=$(shell which find)
grepbin :=$(shell which grep)
gzipbin :=$(shell which gzip)
installbin :=$(shell which install)
rmbin :=$(shell which rm)
rmdirbin :=$(shell which rmdir)
sedbin :=$(shell which sed)
sortbin :=$(shell which sort)
truebin :=$(shell which true)
uniqbin :=$(shell which uniq)
xargsbin :=$(shell which xargs)
.PHONY: clean install install_files build_man uninstall list deplist deplist_opts
list:
@$(MAKE) -pRrq -f $(lastword $(MAKEFILE_LIST)) : 2>/dev/null | ${awkbin} -v RS= -F: '/^# File/,/^# Finished Make data base/ {if ($$1 !~ "^[#.]") {print $$1}}' | ${sortbin} | ${grepbin} -E -v -e '^[^[:alnum:]]' -e '^$@$$'
install: install_all
install_all: install_cursors install_doc install_fonts install_greeter install_gtk_theme install_icons install_login_sound install_boot_screen
install_cursors:
${installbin} -dm0755 ${ICONSDIR}/Chicago95_Cursor_Black \
${ICONSDIR}/Chicago95_Cursor_White \
${ICONSDIR}/Chicago95_Emerald
${cpbin} -pr ${SRCDIR}/Cursors/Chicago95_Cursor_Black/* ${ICONSDIR}/Chicago95_Cursor_Black
${cpbin} -pr ${SRCDIR}/Cursors/Chicago95_Cursor_White/* ${ICONSDIR}/Chicago95_Cursor_White
${cpbin} -pr ${SRCDIR}/Cursors/Chicago95_Emerald/* ${ICONSDIR}/Chicago95_Emerald
${findbin} ${ICONSDIR}/Chicago95* ! -type d -exec ${chmodbin} 0644 {} +
install_doc:
${installbin} -dm0755 ${DOCDIR}
${installbin} -m0644 -t ${DOCDIR} ${SRCDIR}/*md Screenshots/SCREENSHOTS.md
@# rename a few files
${installbin} -m0644 ${SRCDIR}/Plymouth/Readme.md ${DOCDIR}/Plymouth-readme.md
${installbin} -m0644 ${SRCDIR}/Lightdm/Chicago95/README.md ${DOCDIR}/Lightdm-readme.md
install_fonts:
${installbin} -dm0755 ${FONTDIR}/truetype
${installbin} -m0644 -t ${FONTDIR}/truetype ${SRCDIR}/Fonts/vga_font/*ttf
install_greeter:
${installbin} -dm0755 ${SHAREDIR}/lightdm-webkit/themes
${cpbin} -pr ${SRCDIR}/Lightdm/Chicago95 ${SHAREDIR}/lightdm-webkit/themes/
${findbin} ${SHAREDIR}/lightdm-webkit/themes/Chicago95 ! -type d -exec ${chmodbin} 0644 {} +
install_gtk_theme:
${installbin} -dm0755 ${THEMESDIR}
${cpbin} -pr ${SRCDIR}/Theme/Chicago95 ${THEMESDIR}
${rmbin} -r ${THEMESDIR}/Chicago95/misc
${findbin} ${THEMESDIR}/Chicago95 ! -type d -exec ${chmodbin} 0644 {} +
@# xfce4-terminal theme
${installbin} -dm0755 ${SHAREDIR}/xfce4/terminal/colorschemes
${installbin} -m0644 -t ${SHAREDIR}/xfce4/terminal/colorschemes ${SRCDIR}/Extras/Chicago95.theme
install_icons:
${installbin} -dm0755 ${ICONSDIR}
${cpbin} -pr ${SRCDIR}/Icons/* ${ICONSDIR}/
${findbin} ${ICONSDIR}/Chicago95* ! -type d ! -type l -exec ${chmodbin} 0644 {} +
install_login_sound:
${installbin} -dm0755 ${SOUNDSDIR}/Chicago95
# pending addition of debian/chicago95-startup.desktop to source ${XDGAUTODIR}
${installbin} -m0644 ${SRCDIR}/Extras/Microsoft\ Windows\ 95\ Startup\ Sound.ogg ${SOUNDSDIR}/Chicago95/startup.ogg
# pending addition of debian/chicago95-startup.desktop to source ${XDGAUTODIR}
#${installbin} -m0644 -t ${XDGAUTODIR} ${SRCDIR}/Extras/chicago95-startup.desktop
install_boot_screen:
${installbin} -dm0755 ${SHAREDIR}/plymouth/themes/Chicago95 ${SHAREDIR}/plymouth/themes/RetroTux
${installbin} -m0644 -t ${SHAREDIR}/plymouth/themes/Chicago95 ${SRCDIR}/Plymouth/Chicago95/*
${installbin} -m0644 -t ${SHAREDIR}/plymouth/themes/RetroTux ${SRCDIR}/Plymouth/RetroTux/*
uninstall:
${rmbin} -r ${ICONSDIR}/Chicago95_Cursor_Black \
${ICONSDIR}/Chicago95_Cursor_White \
${ICONSDIR}/Chicago95_Emerald \
${DOCDIR} \
${FONTDIR}/truetype/LessPerfectDOSVGA.ttf \
${FONTDIR}/truetype/MorePerfectDOSVGA.ttf \
${SHAREDIR}/lightdm-webkit/themes/Chicago95 \
${THEMESDIR}/Chicago95 ${SHAREDIR}/xfce4/terminal/colorschemes/Chicago95.theme \
${ICONSDIR}/Chicago95 ${ICONSDIR}/Chicago95-tux \
${SOUNDSDIR}/Chicago95 \
${SHAREDIR}/plymouth/themes/Chicago95 ${SHAREDIR}/plymouth/themes/RetroTux 2>/dev/null || :
clean:
-@${echobin} "target $@ not implemented yet! Gotta say unh." && ${falsebin}

View File

@ -1,14 +0,0 @@
style "button" = "default"
{
xthickness = 0
ythickness = 0
engine "pixmap"
{
border = { 0, 0, 0, 0}
}
}
class "GtkToolBar" style "button"
widget_class "*GtkButton" style "button"

17
debian/README.Debian vendored
View File

@ -1,17 +0,0 @@
chicago95 for Devuan
* What is not implemented
- KDE/SDDM components
- Everything from the Extras/ directory (except the Xfce4-terminal
theme and startup sound)
* Additional dependencies for Devuan and Debian users
- You need to install an additional apt source to get some packages
not bundled in upstream Devuan and Debian.
echo 'deb http://download.opensuse.org/repositories/home:/bgstack15/Debian_Unstable/ /' | sudo tee -a /etc/apt/sources.list.d/home:bgstack15.list
wget -nv https://download.opensuse.org/repositories/home:bgstack15/Debian_Unstable/ Release.key -O- | apt-key add -
- Install plymouth and lightdm-webkit2-greeter
-- B Stack <bgstack15@gmail.com> Tue, 10 Sep 2019 20:42:20 -0400

17
debian/changelog vendored
View File

@ -1,17 +0,0 @@
chicago95 (0.0.1-1+devuan) obs; urgency=low
* Initial release for Devuan. Features include:
- Cursor themes
- Xfce4-terminal color scheme
- Startup sound
- Fonts for terminal
- Icon themes
- Lightdm theme (lightdm-webkit2-greeter)
- Plymouth splash screens
- Gtk/metacity/xfce graphical themes
* Special dependencies not available in stock Devuan:
- lightdm-webkit2-greeter
- plymouth
- See README.Debian file for more info
-- B Stack <bgstack15@gmail.com> Tue, 10 Sep 2019 20:42:20 -0400

View File

@ -1,8 +0,0 @@
[Desktop Entry]
Type=Application
Name=Chicago95 startup sound
Exec=play /usr/share/sounds/Chicago95/startup.ogg
NoDisplay=true
Terminal=false
Categories=
GenericName=startup sound

View File

@ -1 +0,0 @@
# You must remove unused comment lines for the released package.

View File

@ -1,3 +0,0 @@
Cursors/Chicago95_Cursor_Black /usr/share/icons/
Cursors/Chicago95_Cursor_White /usr/share/icons/
Cursors/Chicago95_Emerald /usr/share/icons/

View File

@ -1,4 +0,0 @@
*.md
Plymouth/Readme.md
Screenshots/SCREENSHOTS.md
Lightdm/Chicago95/README.md

View File

@ -1 +0,0 @@
Fonts/vga_font /usr/share/fonts/truetype/

View File

@ -1 +0,0 @@
Lightdm/Chicago95 /usr/share/lightdm-webkit/themes/

View File

@ -1,2 +0,0 @@
Extras/Chicago95.theme /usr/share/xfce4/terminal/colorschemes/
Theme/Chicago95 /usr/share/themes/

View File

@ -1,2 +0,0 @@
Icons/Chicago95 /usr/share/icons/
Icons/Chicago95-tux /usr/share/icons/

View File

@ -1,2 +0,0 @@
debian/usr/share/sounds/Chicago95/startup.ogg /usr/share/sounds/Chicago95/
debian/chicago95-startup.desktop /etc/xdg/autostart/

View File

@ -1,2 +0,0 @@
Plymouth/Chicago95 /usr/share/plymouth/themes/
Plymouth/RetroTux /usr/share/plymouth/themes/

View File

@ -1,19 +0,0 @@
#!/bin/sh
set -e
case "$1" in
configure| abort-upgrade|abort-remove|abort-deconfigure)
update-alternatives --install /usr/share/plymouth/themes/default.plymouth default.plymouth /usr/share/plymouth/themes/Chicago95/Chicago95.plymouth 80
update-alternatives --install /usr/share/plymouth/themes/default.plymouth default.plymouth /usr/share/plymouth/themes/RetroTux/RetroTux.plymouth 70
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
#DEBHELPER#
exit 0

View File

@ -1,25 +0,0 @@
#!/bin/sh
set -e
case "$1" in
remove|deconfigure)
update-alternatives --remove default.plymouth /usr/share/plymouth/themes/Chicago95/Chicago95.plymouth
update-alternatives --remove default.plymouth /usr/share/plymouth/themes/RetroTux/RetroTux.plymouth
;;
upgrade)
;;
failed-upgrade)
;;
*)
echo "prerm called with unknown argument \`$1'" >&2
exit 1
;;
esac
#DEBHELPER#
exit 0

1
debian/clean vendored
View File

@ -1 +0,0 @@
# You must remove unused comment lines for the released package.

1
debian/compat vendored
View File

@ -1 +0,0 @@
11

88
debian/control vendored
View File

@ -1,88 +0,0 @@
Source: chicago95
Section: misc
Priority: optional
Maintainer: B Stack <bgstack15@gmail.com>
Build-Depends: debhelper (>=11~)
Standards-Version: 4.1.4
Homepage: https://github.com/grassmunk/Chicago95
Package: chicago95-theme-all
Architecture: all
Multi-Arch: foreign
Depends: ${misc:Depends}, ${shlibs:Depends},
chicago95-theme-cursors,
chicago95-theme-doc,
chicago95-theme-fonts,
chicago95-theme-greeter,
chicago95-theme-gtk,
chicago95-theme-icons,
chicago95-theme-plymouth,
chicago95-theme-login-sound,
Description: XFCE Windows 95 Total Conversion
Assets to allow customization of Xfce to look as
close to Microsoft Windows 95 as possible.
Package: chicago95-theme-cursors
Architecture: all
Multi-Arch: foreign
Depends: ${misc:Depends}, ${shlibs:Depends},
Description: Mouse cursor themes for Chicago95
Mouse cursors for the Chicago95 theme suite.
Package: chicago95-theme-doc
Architecture: all
Multi-Arch: foreign
Depends: ${misc:Depends}, ${shlibs:Depends},
Description: Documentation for Chicago95
Documentation and readmes for the Chicago95 theme
suite, including ultimate ricing guides.
Package: chicago95-theme-fonts
Architecture: all
Multi-Arch: foreign
Depends: ${misc:Depends}, ${shlibs:Depends},
Description: Fonts for Chicago95
Terminal fonts for the Chicago95 theme suite.
Overall system fonts are proprietary but described
in the documentation for the theme.
Package: chicago95-theme-greeter
Architecture: all
Multi-Arch: foreign
Depends: ${misc:Depends}, ${shlibs:Depends},
lightdm-webkit2-greeter,
Description: Lightdm webkit greeter for Chicago95
Currently broken because no debian derivative yet
packages lightdm-webkit2-greeter.
WORKHERE https://build.opensuse.org/package/show/home:antergos/lightdm-webkit2-greeter
Package: chicago95-theme-gtk
Architecture: all
Multi-Arch: foreign
Depends: ${misc:Depends}, ${shlibs:Depends},
Description: GTK and WM themes for Chicago95
Themes for GTK2, GTK3, Metacity, and more, for the
Chicago95 theme suite.
Package: chicago95-theme-icons
Architecture: all
Multi-Arch: foreign
Depends: ${misc:Depends}, ${shlibs:Depends},
Description: Icon themes for Chicago95
Icon themes for Chicago95 theme suite.
Package: chicago95-theme-plymouth
Architecture: all
Multi-Arch: foreign
Depends: ${misc:Depends}, ${shlibs:Depends},
plymouth
Description: Plymouth theme for Chicago95
Currently broken because Devuan does not package plymouth.
Package: chicago95-theme-login-sound
Architecture: all
Multi-Arch: foreign
Depends: ${misc:Depends}, ${shlibs:Depends},
sox
Description: Login sound for Chicago95
XDG autostart and sound file for Chicago95 theme suite.

8999
debian/copyright vendored

File diff suppressed because it is too large Load Diff

1
debian/links vendored
View File

@ -1 +0,0 @@
# You must remove unused comment lines for the released package.

View File

@ -1 +0,0 @@
# You must remove unused comment lines for the released package.

17
debian/postrm vendored
View File

@ -1,17 +0,0 @@
#!/bin/sh
set -e
case "$1" in
purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
;;
*)
echo "postrm called with unknown argument \`$1'" >&2
exit 1
;;
esac
#DEBHELPER#
exit 0

20
debian/preinst vendored
View File

@ -1,20 +0,0 @@
#!/bin/sh
set -e
case "$1" in
install|upgrade)
;;
abort-upgrade)
;;
*)
echo "preinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
#DEBHELPER#
exit 0

24
debian/rules vendored
View File

@ -1,24 +0,0 @@
#!/usr/bin/make -f
# You must remove unused comment lines for the released package.
#export DH_VERBOSE = 1
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
export debuilddir="debian"
export buildroot="${debuilddir}/${appname}"
export _datadir="/usr/share"
export _bindir="/usr/bin"
%:
dh $@
override_dh_auto_install:
dh_auto_install
install -m0755 -d ${buildroot}${_datadir}/sounds/Chicago95
install -m0644 "Extras/Microsoft Windows 95 Startup Sound.ogg" ${buildroot}${_datadir}/sounds/Chicago95/startup.ogg
override_dh_auto_clean:
rm -f ${buildroot}${_datadir}/sounds/Chicago95/startup.ogg
dh_auto_clean

View File

@ -1 +0,0 @@
3.0 (quilt)

View File

@ -1,2 +0,0 @@
#abort-on-upstream-changes
#unapply-patches

2
debian/watch vendored
View File

@ -1,2 +0,0 @@
# You must remove unused comment lines for the released package.
version=3