add debian packaging

This commit is contained in:
B Stack 2019-09-13 14:04:11 -04:00
parent 05fb412277
commit 3db4a10b36
26 changed files with 9261 additions and 0 deletions

17
debian/README.Debian vendored Normal file
View File

@ -0,0 +1,17 @@
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 Normal file
View File

@ -0,0 +1,17 @@
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

8
debian/chicago95-startup.desktop vendored Normal file
View File

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

1
debian/chicago95-theme-all.install vendored Normal file
View File

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

View File

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

4
debian/chicago95-theme-doc.docs vendored Normal file
View File

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

1
debian/chicago95-theme-fonts.install vendored Normal file
View File

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

View File

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

2
debian/chicago95-theme-gtk.install vendored Normal file
View File

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

2
debian/chicago95-theme-icons.install vendored Normal file
View File

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

View File

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

View File

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

View File

@ -0,0 +1,19 @@
#!/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

25
debian/chicago95-theme-plymouth.prerm vendored Normal file
View File

@ -0,0 +1,25 @@
#!/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 Normal file
View File

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

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
11

88
debian/control vendored Normal file
View File

@ -0,0 +1,88 @@
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 Normal file

File diff suppressed because it is too large Load Diff

1
debian/links vendored Normal file
View File

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

1
debian/patches/series vendored Normal file
View File

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

17
debian/postrm vendored Normal file
View File

@ -0,0 +1,17 @@
#!/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 Normal file
View File

@ -0,0 +1,20 @@
#!/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 Executable file
View File

@ -0,0 +1,24 @@
#!/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

1
debian/source/format vendored Normal file
View File

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

2
debian/source/local-options vendored Normal file
View File

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

2
debian/watch vendored Normal file
View File

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