pentoo-desktop/pentoo-system: move some things out of system which belong in desktop

This commit is contained in:
Rick Farina (Zero_Chaos) 2018-07-16 14:10:28 -04:00
parent c50faef087
commit fcbdc8cdb9
No known key found for this signature in database
GPG key ID: A5DD1427DD11F94A
5 changed files with 26 additions and 33 deletions

View file

@ -17,12 +17,14 @@ DEPEND="!pentoo/pentoo-etc-portage
!!<pentoo/pentoo-2014.3"
RDEPEND="pentoo? ( !<pentoo/pentoo-system-2014.3 )"
#moving remaining desktop stuff to from pentoo-system
DEPEND="${DEPEND} !<pentoo/pentoo-system-2018.2-r1"
#X windows stuff
PDEPEND="X? (
!livecd-stage1? ( || ( x11-base/xorg-server dev-libs/wayland ) )
app-admin/genmenu
|| ( net-misc/networkmanager net-misc/wicd net-wireless/wifi-radar )
|| ( net-misc/networkmanager net-wireless/wifi-radar )
x11-apps/xdm
app-arch/file-roller
@ -102,6 +104,23 @@ PDEPEND="${PDEPEND}
)"
src_install() {
#/usr/bin
use enlightenment && newbin "${FILESDIR}"/dokeybindings-2012.1 dokeybindings
dodir /etc/env.d
use kde && echo 'XSESSION="KDE-4"' > "${ED}"/etc/env.d/90xsession
use xfce && echo 'XSESSION="Xfce4"' > "${ED}"/etc/env.d/90xsession
insinto /etc/skel
newins "${FILESDIR}"/Xdefaults .Xdefaults
insinto /etc/skel/.config/gtk-3.0/
newins "${FILESDIR}"/gtk3-settings.ini settings.ini
insinto /etc/skel/.config/xfce4/terminal/
doins "${FILESDIR}"/terminalrc
insinto /usr/share/pentoo/wallpaper
doins "${FILESDIR}"/domo-roolz.jpg
doins "${FILESDIR}"/domo-roolz-shmoocon2014.png

View file

@ -13,7 +13,7 @@ LICENSE="GPL-3"
SRC_URI="http://dev.pentoo.ch/~zero/distfiles/pentoo-grubtheme.tar.xz"
IUSE_VIDEO_CARDS="video_cards_nvidia video_cards_virtualbox video_cards_vmware"
IUSE="+2fa bindist enlightenment kde livecd livecd-stage1 pax_kernel qemu windows-compat +X +xfce ${IUSE_VIDEO_CARDS}"
IUSE="+2fa livecd livecd-stage1 pax_kernel qemu windows-compat +X ${IUSE_VIDEO_CARDS}"
S="${WORKDIR}"
@ -45,7 +45,6 @@ PDEPEND="${PDEPEND}
app-portage/portage-utils
|| ( app-admin/syslog-ng virtual/logger )
|| ( sys-process/fcron virtual/cron )
sys-apps/gptfdisk
sys-apps/pcmciautils
!arm? ( !livecd-stage1? ( || ( sys-kernel/genkernel sys-kernel/genkernel-next )
|| ( sys-boot/grub:2 sys-boot/grub:0 sys-boot/grub-static sys-boot/systemd-boot )
@ -129,16 +128,15 @@ PDEPEND="${PDEPEND}
sys-fs/fuse-exfat
sys-fs/btrfs-progs
sys-process/atop
pax_kernel? ( x11-misc/xdialog )
x11-libs/libdlo
"
# This causes me more build frustration than anything but metasploit. diaf
#!livecd-stage1? ( amd64? ( livecd? ( sys-fs/zfs ) ) )
PDEPEND="${PDEPEND}
X? ( sys-apps/gptfdisk
pax_kernel? ( x11-misc/xdialog )
)"
src_install() {
#insinto /boot/grub
#doins "${FILESDIR}"/pentoo.xpm.gz
insinto /usr/share/grub/themes/
doins -r pentoo
@ -150,9 +148,6 @@ src_install() {
newexe "${FILESDIR}"/sudo_toggle_hardened.desktop toggle_hardened.desktop
fi
#/usr/bin
use enlightenment && newbin "${FILESDIR}"/dokeybindings-2012.1 dokeybindings
#/etc
insinto /etc
echo "Pentoo Release ${PV}" > pentoo-release
@ -160,19 +155,6 @@ src_install() {
newins "${FILESDIR}"/motd-2018.1 motd
newins "${FILESDIR}"/issue.pentoo.logo issue.pentoo.logo
dodir /etc/env.d
use kde && echo 'XSESSION="KDE-4"' > "${ED}"/etc/env.d/90xsession
use xfce && echo 'XSESSION="Xfce4"' > "${ED}"/etc/env.d/90xsession
insinto /etc/skel
newins "${FILESDIR}"/Xdefaults .Xdefaults
insinto /etc/skel/.config/gtk-3.0/
newins "${FILESDIR}"/gtk3-settings.ini settings.ini
insinto /etc/skel/.config/xfce4/terminal/
doins "${FILESDIR}"/terminalrc
#/etc/portage/postsync.d
exeinto /etc/portage/postsync.d
doexe "${FILESDIR}"/layman-sync
@ -197,14 +179,6 @@ src_install() {
}
pkg_postinst() {
#needed to handle the grubsplash installation
#mount-boot_pkg_postinst
if [[ "${REPLACING_VERSIONS}" < "2014.2" ]]; then
ewarn "Wicd has been replaced as the default network manager in favor of the"
ewarn "significantly more usable networkmanager. It is suggested that you run:"
ewarn "emerge -C wicd && emerge --oneshot networkmanager"
fi
if [[ "${REPLACING_VERSIONS}" < "2014.3-r3" ]]; then
#some things meant for QA and testing only slipped through from the build box onto 2014.RC3, so we cleanup here
if ! use livecd; then