How-To :: Empacotamento e Instalação do XFCE 4.12 no Debian


Enquanto ainda não foi testado no Debian Wheezy, segue o how-to de instalação do novíssimo XFCE 4.12 no Debian Jessie, os fontes usados são oriundos da PPA do Xubuntu-dev visto nesta dica recente: How-To :: upgrade do XFCE nos *buntus.

De cara já advirto que se você não tem paciência, coragem ou entendimento para saber lidar com problemas de dependências, este tutorial NÃO É PARA VOCÊ!

Dependências

E como de praxe para empacotar algo no Debian, segue o mínimo:

$ sudo apt-get update
$ sudo apt-get install build-essential devscripts dpkg-dev

De modo a deixar os pacotes com nomenclaturas próximas aos do Debian, editei-os todos! e isso se faz com o comando dch -i, dch -n, etc, então por exemplo para o caso do pacote xfce4-power-manager, removi toda a referência ao Ubuntu:

edição com o comando dch|debchange
edição com o comando dch|debchange

Mais abaixo, vocês verão que os pacotes xfce4-power-manager com essa modificação ficaram com os nomes: xfce4-power-manager_1.4.3-0_i386.deb, xfce4-power-manager-data_1.4.3-0_all.deb e xfce4-power-manager-plugins_1.4.3-0_i386.deb e não xfce4-power-manager_1.4.3-0ubuntu~14.04.2_i386.deb, xfce4-power-manager-data_1.4.3-0ubuntu~14.04.2_all.deb e xfce4-power-manager-plugins_1.4.3-0ubuntu~14.04.2_i386.deb.

e finalmente o XFCE 4.12

Como dito as fontes usadas são as das PPAs do Xubuntu-dev, se está com coragem de enfrentar o empacotamento e a instalação do novo XFCE, seguem os longos passos recém-adquiridos de minha memória:

XFCE 4.12.

mkdir XFCE-4.12 && cd XFCE-4.12/

dget -x -u https://launchpad.net/~xubuntu-dev/+archive/ubuntu/xfce-4.12/+files/catfish_1.2.2-1~14.04.dsc
cd catfish-1.2.2/
dch -i
mk-build-deps 
sudo dpkg -i catfish-build-deps_1.2.2-1_all
dpkg-buildpackage -rfakeroot -us -uc -b -tc 
cd ..

dget -x -u https://launchpad.net/~xubuntu-dev/+archive/ubuntu/xfce-4.12/+files/exo_0.10.4-0ubuntu1~14.04.1.dsc
cd exo-0.10.4/
dch -i
mk-build-deps 
sudo dpkg -i exo-build-deps_0.10.4-0_all.deb 
sudo apt-get -f install
dpkg-buildpackage -rfakeroot -us -uc -b -tc 
cd ..

dget -x -u https://launchpad.net/~xubuntu-dev/+archive/ubuntu/xfce-4.12/+files/garcon_0.4.0-0ubuntu1~14.04.dsc
cd garcon-0.4.0/
dch -i
mk-build-deps 
sudo dpkg -i garcon-build-deps_0.4.0-0_all.deb 
dpkg-buildpackage -rfakeroot -us -uc -b -tc
cd ..

dget -x -u https://launchpad.net/~xubuntu-dev/+archive/ubuntu/xfce-4.12/+files/gmusicbrowser_1.1.13~ds0-1ubuntu1~14.04.dsc
cd gmusicbrowser-1.1.13~ds0/
dch -i
mk-build-deps 
sudo dpkg -i gmusicbrowser-build-deps_1.1.13~ds0-1_all.deb 
sudo apt-get -f install
dpkg-buildpackage -rfakeroot -us -uc -b -tc 
cd ..

dget -x -u https://launchpad.net/~xubuntu-dev/+archive/ubuntu/xfce-4.12/+files/libxfce4util_4.12.1-0ubuntu1~14.04.dsc
cd libxfce4util-4.12.1/
dch -i
mk-build-deps 
sudo dpkg -i libxfce4util-build-deps_4.12.1-0_all.deb 
dpkg-buildpackage -rfakeroot -us -uc -b -tc 
sudo dpkg -i ../libxfce4util*.deb
cd ..

dget -x -u https://launchpad.net/~xubuntu-dev/+archive/ubuntu/xfce-4.12/+files/xfconf_4.12.0-0ubuntu1~14.04.dsc
cd xfconf-4.12.0/
dch -i
dpkg-buildpackage -rfakeroot -us -uc -b -tc 
mk-build-deps 
sudo dpkg -i xfconf-build-deps_4.12.0-0_all.deb 
sudo apt-get -f install
dpkg-buildpackage -rfakeroot -us -uc -b -tc 
sudo dpkg -i ../libxfconf-0-*.deb ../xfconf_4.12.0-0_i386.deb 
cd ..

dget -x -u https://launchpad.net/~xubuntu-dev/+archive/ubuntu/xfce-4.12/+files/libxfce4ui_4.12.0-0ubuntu1~14.04.dsc
cd libxfce4ui-4.12.0/
dch -i
mk-build-deps 
sudo dpkg -i libxfce4ui-build-deps_4.12.0-0_all.deb 
sudo apt-get -f install
dpkg-buildpackage -rfakeroot -us -uc -b -tc 
cd ..

dget -x -u https://launchpad.net/~xubuntu-dev/+archive/ubuntu/xfce-4.12/+files/lxpanel_0.6.2-0ubuntu2.dsc
cd lxpanel-0.6.2/
dch -i
mk-build-deps 
sudo dpkg -i lxpanel-build-deps_0.6.2-0_i386.deb 
sudo apt-get -f install
dpkg-buildpackage -rfakeroot -us -uc -b -tc 
cd ..

dget -x -u https://launchpad.net/~xubuntu-dev/+archive/ubuntu/xfce-4.12/+files/menulibre_2.0.6-1ubuntu1~14.04.dsc
cd menulibre-2.0.6/
dch -i
mk-build-deps 
sudo dpkg -i menulibre-build-deps_2.0.6-1_all.deb 
sudo apt-get -f install
dpkg-buildpackage -rfakeroot -us -uc -b -tc 
cd ..

dget -x -u https://launchpad.net/~xubuntu-dev/+archive/ubuntu/xfce-4.12/+files/mousepad_0.4.0-0ubuntu1~14.04.dsc
cd mousepad-0.4.0/
dch -i
mk-build-deps 
sudo dpkg -i mousepad-build-deps_0.4.0-0_all.deb 
sudo apt-get -f install
dpkg-buildpackage -rfakeroot -us -uc -b -tc
cd ..

dget -x -u https://launchpad.net/~xubuntu-dev/+archive/ubuntu/xfce-4.12/+files/mugshot_0.2.5-1~14.04.dsc
cd mugshot-0.2.5/
dch -i
mk-build-deps 
sudo dpkg -i mugshot-build-deps_0.2.5-1_all.deb 
dpkg-buildpackage -rfakeroot -us -uc -b -tc 
cd ..

dget -x -u https://launchpad.net/~xubuntu-dev/+archive/ubuntu/xfce-4.12/+files/parole_0.8.0-0ubuntu1~14.04.dsc
cd parole-0.8.0/
dch -i
mk-build-deps 
sudo dpkg -i ../libxfce4ui-2-dev_4.12.0-0_i386.deb ../libxfce4ui-2-0_4.12.0-0_i386.deb ../libxfce4ui-common_4.12.0-0_all.deb 
sudo dpkg -i parole-build-deps_0.8.0-0_all.deb 
sudo apt-get -f install
dpkg-buildpackage -rfakeroot -us -uc -b -tc 
cd ..

dget -x -u https://launchpad.net/~xubuntu-dev/+archive/ubuntu/xfce-4.12/+files/ristretto_0.8.0-0ubuntu1~14.04.dsc
cd ristretto-0.8.0/
dch -i
mk-build-deps 
sudo dpkg -i ../libxfce4ui-1-dev_4.12.0-0_i386.deb ../libexo-1-dev_0.10.4-0_i386.deb ../libxfce4ui-1-0_4.12.0-0_i386.deb ../libexo-1-0_0.10.4-0_i386.deb 
sudo dpkg -i ristretto-build-deps_0.8.0-0_all.deb 
sudo apt-get -f install
dpkg-buildpackage -rfakeroot -us -uc -b -tc 
cd ..

dget -x -u https://launchpad.net/~xubuntu-dev/+archive/ubuntu/xfce-4.12/+files/xfce4-panel_4.12.0-0ubuntu1~14.04.dsc
cd xfce4-panel-4.12.0/
dch -i
mk-build-deps 
sudo dpkg -i ../libgarcon-1-0_0.4.0-0_i386.deb ../libgarcon-1-0-dev_0.4.0-0_i386.deb ../libgarcon-common_0.4.0-0_all.deb 
sudo dpkg -i xfce4-panel-build-deps_4.12.0-0_all.deb 
dpkg-buildpackage -rfakeroot -us -uc -b -tc 
cd ..

dget -x -u https://launchpad.net/~xubuntu-dev/+archive/ubuntu/xfce-4.12/+files/thunar_1.6.6-0ubuntu1~14.04.dsc
cd thunar-1.6.6/
dch -i
mk-build-deps 
sudo dpkg -i ../xfce4-panel-dev_4.12.0-0_i386.deb ../xfce4-panel_4.12.0-0_i386.deb ../exo-utils_0.10.4-0_i386.deb 
sudo dpkg -i thunar-build-deps_1.6.6-0_i386.deb 
sudo apt-get -f install
dpkg-buildpackage -rfakeroot -us -uc -b -tc 
cd ..

dget -x -u https://launchpad.net/~xubuntu-dev/+archive/ubuntu/xfce-4.12/+files/thunar-archive-plugin_0.3.1-3build1~14.04.dsc
cd thunar-archive-plugin-0.3.1/
dch -i
mk-build-deps 
sudo dpkg -i ../libthunarx-2-dev_1.6.6-0_i386.deb ../libthunarx-2-0_1.6.6-0_i386.deb ../thunar-data_1.6.6-0_all.deb ../thunar_1.6.6-0_i386.deb 
sudo dpkg -i thunar-archive-plugin-build-deps_0.3.1-3build1_all.deb 
dpkg-buildpackage -rfakeroot -us -uc -b -tc 
cd ..

dget -x -u https://launchpad.net/~xubuntu-dev/+archive/ubuntu/xfce-4.12/+files/thunar-volman_0.8.1-0ubuntu1~14.04.dsc
cd thunar-volman-0.8.1/
dch -i
mk-build-deps 
sudo dpkg -i thunar-volman-build-deps_0.8.1-0_all.deb 
dpkg-buildpackage -rfakeroot -us -uc -b -tc 
cd ..

dget -x -u https://launchpad.net/~xubuntu-dev/+archive/ubuntu/xfce-4.12/+files/tumbler_0.1.31-0ubuntu1~14.04.dsc
cd tumbler-0.1.31/
dch -i
mk-build-deps 
sudo dpkg -i tumbler-build-deps_0.1.31-0_all.deb 
sudo apt-get -f install
dpkg-buildpackage -rfakeroot -us -uc -b -tc 
cd ..

dget -x -u https://launchpad.net/~xubuntu-dev/+archive/ubuntu/xfce-4.12/+files/xfburn_0.5.2-1~14.04.dsc
cd xfburn-0.5.2/
dch -i
mk-build-deps 
sudo dpkg -i xfburn-build-deps_0.5.2-1_i386.deb 
sudo apt-get -f install
dpkg-buildpackage -rfakeroot -us -uc -b -tc 
cd ..

dget -x -u https://launchpad.net/~xubuntu-dev/+archive/ubuntu/xfce-4.12/+files/xfce4-appfinder_4.12.0-0ubuntu1~14.04.dsc
cd xfce4-appfinder-4.12.0/
dch -i
mk-build-deps 
sudo dpkg -i xfce4-appfinder-build-deps_4.12.0-0_all.deb 
dpkg-buildpackage -rfakeroot -us -uc -b -tc 
cd ..

dget -x -u https://launchpad.net/~xubuntu-dev/+archive/ubuntu/xfce-4.12/+files/xfce4-clipman-plugin_1.2.6-1~14.04.dsc
cd xfce4-clipman-plugin-1.2.6/
dch -i
mk-build-deps 
sudo dpkg -i xfce4-clipman-plugin-build-deps_1.2.6-1_all.deb 
sudo apt-get -f install
dpkg-buildpackage -rfakeroot -us -uc -b -tc 
cd ..

dget -x -u https://launchpad.net/~xubuntu-dev/+archive/ubuntu/xfce-4.12/+files/xfce4-dev-tools_4.12.0-0ubuntu1~14.04.dsc
cd xfce4-dev-tools-4.12.0/
dch -i
mk-build-deps 
sudo dpkg -i xfce4-dev-tools-build-deps_4.12.0-0_all.deb 
dpkg-buildpackage -rfakeroot -us -uc -b -tc 
cd ..

dget -x -u https://launchpad.net/~xubuntu-dev/+archive/ubuntu/xfce-4.12/+files/xfce4-indicator-plugin_2.3.2-0ubuntu3~14.10.dsc
cd xfce4-indicator-plugin-2.3.2/
dch -i
mk-build-deps 
sudo dpkg -i xfce4-indicator-plugin-build-deps_2.3.2-0_all.deb 
sudo apt-get -f install
dpkg-buildpackage -rfakeroot -us -uc -b -tc 
cd ..

dget -x -u https://launchpad.net/~xubuntu-dev/+archive/ubuntu/xfce-4.12/+files/xfce4-mailwatch-plugin_1.2.0-2~14.04.dsc
cd xfce4-mailwatch-plugin-1.2.0/
dch -i
mk-build-deps 
sudo dpkg -i xfce4-mailwatch-plugin-build-deps_1.2.0-2_all.deb 
sudo apt-get -f install
dpkg-buildpackage -rfakeroot -us -uc -b -tc 
cd ..

dget -x -u https://launchpad.net/~xubuntu-dev/+archive/ubuntu/xfce-4.12/+files/xfce4-mixer_4.11.0-1ubuntu1~14.04.dsc
cd xfce4-mixer-4.11.0/
dch -i
mk-build-deps 
sudo dpkg -i xfce4-mixer-build-deps_4.11.0-1_all.deb 
sudo apt-get -f install
dpkg-buildpackage -rfakeroot -us -uc -b -tc 
cd ..

dget -x -u https://launchpad.net/~xubuntu-dev/+archive/ubuntu/xfce-4.12/+files/xfce4-mount-plugin_0.6.7-1~14.04.dsc
cd xfce4-mount-plugin-0.6.7/
dch -i
mk-build-deps 
sudo dpkg -i xfce4-mount-plugin-build-deps_0.6.7-1_all.deb 
sudo apt-get -f install
dpkg-buildpackage -rfakeroot -us -uc -b -tc 
cd ..

dget -x -u https://launchpad.net/~xubuntu-dev/+archive/ubuntu/xfce-4.12/+files/xfce4-netload-plugin_1.2.4-0ubuntu1~14.04.dsc
cd xfce4-netload-plugin-1.2.4/
dch -i
mk-build-deps 
sudo dpkg -i xfce4-netload-plugin-build-deps_1.2.4-0_all.deb 
dpkg-buildpackage -rfakeroot -us -uc -b -tc 
cd ..

dget -x -u https://launchpad.net/~xubuntu-dev/+archive/ubuntu/xfce-4.12/+files/xfce4-power-manager_1.4.3-0ubuntu1~14.04.1.dsc
dpkg -l | grep build-deps
cd xfce4-power-manager-1.4.3/
dch -i
sudo apt-get install libupower-glib-dev libpolkit-gobject-1-dev libsystemd-daemon-dev libsystemd-login-dev
nano debian/control ### editar a versão do pacote libupower-glib-dev
mk-build-deps
sudo dpkg -i xfce4-power-manager-build-deps_1.4.3-0_all.deb 
sudo apt-get -f install
dpkg-buildpackage -rfakeroot -us -uc -b -tc 
cd ..

dget -x -u https://launchpad.net/~xubuntu-dev/+archive/ubuntu/xfce-4.12/+files/xfce4-screenshooter_1.8.2-0ubuntu1~14.04.dsc
cd xfce4-screenshooter-1.8.2/
dch -i
mk-build-deps 
sudo dpkg -i xfce4-screenshooter-build-deps_1.8.2-0_all.deb 
sudo apt-get -f install
dpkg-buildpackage -rfakeroot -us -uc -b -tc 
cd ..

dget -x -u https://launchpad.net/~xubuntu-dev/+archive/ubuntu/xfce-4.12/+files/xfce4-session_4.12.0-0ubuntu1~14.10.dsc
cd xfce4-session-4.12.0/
dch -i
mk-build-deps 
sudo dpkg -i xfce4-session-build-deps_4.12.0-0_all.deb 
dpkg-buildpackage -rfakeroot -us -uc -b -tc 
cd ..

dget -x -u https://launchpad.net/~xubuntu-dev/+archive/ubuntu/xfce-4.12/+files/xfce4-settings_4.12.0-0ubuntu1~14.04.dsc
cd xfce4-settings-4.12.0/
dch -i
mk-build-deps 
sudo dpkg -i xfce4-settings-build-deps_4.12.0-0_all.deb 
sudo apt-get -f install
dpkg-buildpackage -rfakeroot -us -uc -b -tc 
cd ..

dget -x -u https://launchpad.net/~xubuntu-dev/+archive/ubuntu/xfce-4.12/+files/xfce4-systemload-plugin_1.1.1-2ubuntu1~14.04.dsc
cd xfce4-systemload-plugin-1.1.1/
dch -i
mk-build-deps 
sudo dpkg -i xfce4-systemload-plugin-build-deps_1.1.1-2_all.deb 
dpkg-buildpackage -rfakeroot -us -uc -b -tc 
cd ..

dget -x -u https://launchpad.net/~xubuntu-dev/+archive/ubuntu/xfce-4.12/+files/xfce4-taskmanager_1.1.0-0ubuntu1~14.04.dsc
cd xfce4-taskmanager-1.1.0/
dch -i
mk-build-deps 
sudo dpkg -i xfce4-taskmanager-build-deps_1.1.0-0_i386.deb 
dpkg-buildpackage -rfakeroot -us -uc -b -tc 
cd ..

dget -x -u https://launchpad.net/~xubuntu-dev/+archive/ubuntu/xfce-4.12/+files/xfce4-timer-plugin_1.6.0-1~14.04.dsc
cd xfce4-timer-plugin-1.6.0/
dch -i
mk-build-deps 
sudo dpkg -i xfce4-timer-plugin-build-deps_1.6.0-1_all.deb 
dpkg-buildpackage -rfakeroot -us -uc -b -tc 
cd ..

dget -x -u https://launchpad.net/~xubuntu-dev/+archive/ubuntu/xfce-4.12/+files/xfce4-volumed_0.2.0-0ubuntu2~14.04.dsc
cd xfce4-volumed-0.2.0/
dch -i
mk-build-deps 
sudo dpkg -i xfce4-volumed-build-deps_0.2.0-0_all.deb 
sudo apt-get -f install
dpkg-buildpackage -rfakeroot -us -uc -b -tc 
cd ..

dget -x -u https://launchpad.net/~xubuntu-dev/+archive/ubuntu/xfce-4.12/+files/xfce4-weather-plugin_0.8.5-0ubuntu1~14.04.dsc
cd xfce4-weather-plugin-0.8.5/
dch -i
mk-build-deps 
sudo dpkg -i xfce4-weather-plugin-build-deps_0.8.5-0_all.deb 
dpkg-buildpackage -rfakeroot -us -uc -b -tc 
cd ..

dget -x -u https://launchpad.net/~xubuntu-dev/+archive/ubuntu/xfce-4.12/+files/xfce4-whiskermenu-plugin_1.4.3-0ubuntu1~14.04.dsc
cd xfce4-whiskermenu-plugin-1.4.3/
dch -i
mk-build-deps 
sudo dpkg -i xfce4-whiskermenu-plugin-build-deps_1.4.3-0_all.deb 
dpkg-buildpackage -rfakeroot -us -uc -b -tc 
cd ..

dget -x -u https://launchpad.net/~xubuntu-dev/+archive/ubuntu/xfce-4.12/+files/xfce4-xkb-plugin_0.7.0-0ubuntu1~ppa0.12.04.1.dsc
cd xfce4-xkb-plugin-0.7.0/
dch -i
mk-build-deps 
sudo dpkg -i xfce4-xkb-plugin-build-deps_0.7.0-0_all.deb 
sudo apt-get -f install
dpkg-buildpackage -rfakeroot -us -uc -b -tc 
cd ..

dget -x -u https://launchpad.net/~xubuntu-dev/+archive/ubuntu/xfce-4.12/+files/xfdesktop4_4.12.0-0ubuntu1~14.04.dsc
cd xfdesktop4-4.12.0/
dch -i
mk-build-deps 
sudo dpkg -i xfdesktop4-build-deps_4.12.0-0_all.deb 
dpkg-buildpackage -rfakeroot -us -uc -b -tc 
cd ..

dget -x -u https://launchpad.net/~xubuntu-dev/+archive/ubuntu/xfce-4.12/+files/xfwm4_4.12.0-0ubuntu1~14.04.dsc
cd xfwm4-4.12.0/
dch -i
mk-build-deps 
sudo dpkg -i xfwm4-build-deps_4.12.0-0_all.deb 
dpkg-buildpackage -rfakeroot -us -uc -b -tc 
cd ..

Terminado o empacotamento e a instalação de alguns novos pacotes, é chegada (opcional) de empacotar os pacotes do XFCE Extra, como dito são pacotes opcionais!

XFCE 4.12 Extras.

mkdir XFCE-4.12-EXTRAS && cd XFCE-4.12-EXTRAS/

dget -x -u https://launchpad.net/~xubuntu-dev/+archive/ubuntu/extras/+files/libmpris2client_0.1.0-0ubuntu1~14.04.dsc
cd libmpris2client-0.1.0/
dch -i
mk-build-deps 
sudo dpkg -i libmpris2client-build-deps_0.1.0-0_all.deb 
dpkg-buildpackage -rfakeroot -us -uc -b -tc 
cd ..

dget -x -u https://launchpad.net/~xubuntu-dev/+archive/ubuntu/extras/+files/skippy-xd_0.5.1~git20150224~ubuntu14.04.1.dsc
dch -i
mk-build-deps 
sudo dpkg -i skippy-xd-build-deps_0.5.1~git20150224_all.deb 
dpkg-buildpackage -rfakeroot -us -uc -b -tc 
cd ..

dget -x -u https://launchpad.net/~xubuntu-dev/+archive/ubuntu/extras/+files/thunar-dropbox-plugin_0.2.1%2Bdfsg1-1~14.04.dsc
cd thunar-dropbox-plugin-0.2.1+dfsg1/
dch -i
mk-build-deps 
sudo dpkg -i thunar-dropbox-plugin-build-deps_0.2.1+dfsg1-1_all.deb 
dpkg-buildpackage -rfakeroot -us -uc -b -tc 
cd ..

dget -x -u https://launchpad.net/~xubuntu-dev/+archive/ubuntu/extras/+files/xfce4-hamster-plugin_1.6-0ubuntu1~14.04.dsc
cd xfce4-hamster-plugin-1.6/
dch -i
mk-build-deps 
sudo dpkg -i xfce4-hamster-plugin-build-deps_1.6-0_all.deb 
dpkg-buildpackage -rfakeroot -us -uc -b -tc 
cd ..

dget -x -u https://launchpad.net/~xubuntu-dev/+archive/ubuntu/extras/+files/xfce4-pulseaudio-plugin_0.2.2-0ubuntu1~14.04.dsc
dch -i
mk-build-deps
sudo dpkg -i xfce4-pulseaudio-plugin-build-deps_0.2.2-0_all.deb 
dpkg-buildpackage -rfakeroot -us -uc -b -tc 
cd ..

dget -x -u https://launchpad.net/~xubuntu-dev/+archive/ubuntu/extras/+files/xfce4-soundmenu-plugin_0.7.0-0ubuntu1~14.04.dsc
cd xfce4-soundmenu-plugin-0.7.0/
dch -i
mk-build-deps 
sudo dpkg -i ../libmpris2client-dev_0.1.0-0_i386.deb ../libmpris2client0_0.1.0-0_i386.deb 
sudo dpkg -i xfce4-soundmenu-plugin-build-deps_0.7.0-0_all.deb 
sudo apt-get -f install
dpkg-buildpackage -rfakeroot -us -uc -b -tc 
cd ..

dget -x -u https://launchpad.net/~xubuntu-dev/+archive/ubuntu/extras/+files/xfdashboard_0.3.91-0ubuntu1~14.04.dsc
cd xfdashboard-0.3.91/
dch -i
mk-build-deps 
sudo dpkg -i xfdashboard-build-deps_0.3.91-0ubuntu1~14.04_all.deb 
sudo apt-get -f install
dpkg-buildpackage -rfakeroot -us -uc -b -tc 
cd ..

Remoção de todo o XFCE e dos pacotes -dev.

Visando deixar um sistema limpo, convém remover todo o XFCE (se porventura instalado) e os pacotes -dev instalados pelos meta-pacotes *-buil-deps:

$ dpkg --get-selections | awk '{if ($2=="install") print $1}' > debianpkgs && cat debianpkgs | grep build-deps | xargs -l1 sudo apt-get -q --purge remove -y
$ dpkg --get-selections | awk '{if ($2=="install") print $1}' > debianpkgs && cat debianpkgs | grep xfce | xargs -l1 sudo apt-get -q --purge remove -y

Este slideshow necessita de JavaScript.

Instalação do novo XFCE.

Entre no diretório onde estão os .debs do XFCE e Extras (caso os tenha empacotados) e execute:

$ sudo apt-get update
$ sudo dpkg -i *.deb
$ sudo apt-get -f install

Este slideshow necessita de JavaScript.

Problemas.

Nesse árduo trabalhio tive somente 2 problemas, um com o pacote xfce4-indicator-plugin, que sequer foi empacotado, e outro com o pacote xfce4-power-manager no qual tive que alterar o arquivo control editando as versões de duas dependências (que pedem versões anteriores dos pacotes que vem instalados no Jessie), alterei a versões por versões mais altas os pacotes foram empacotados mas não conseguiram ser instalados:

o pacote pede uma versão anterior ao pacote que está instalado no Jessie, uma solução seria um downgrade, mas não vou fazer isso!
o pacote pede uma versão anterior ao pacote que está instalado no Jessie, uma solução seria um downgrade, mas não vou fazer isso!

Para o caso do xfce4-power-manager modificarei novamente o arquivo debian/control para ver se consigo empacotá-lo e instalá-lo normalmente.

Downloads.

Abaixo encontram-se os links para download dos pacotes tanto do xfce 4.12 quanto dos extras:

XFCE 4.12 i686

XFCE 4.12 Extras i686

Junto aos pacotes, vão os arquivos .changes que indicam as alterações que fiz com o comando dch -i.

IntÉ!

Anúncios
How-To :: Empacotamento e Instalação do XFCE 4.12 no Debian

11 comentários sobre “How-To :: Empacotamento e Instalação do XFCE 4.12 no Debian

    1. Não postarei script porque é mais fácil você adicionar o repo do Stretch e atualizar apenas os pacotes do XFCE, que seguir esse tutorial, que aqui empacotei tudo, adicionei num repositório local e depois instalei via apt-get update, vou postar os passos (os quais você não deve seguir ao pé da letra pois eu instalei via apt-get, no tradicional: adicionar repo > apt-get update > apt-get install xfce4.

      Se te interessar segue os códigos, ordem e artimanhas usadas:


      apt-get source catfish
      cd catfish-1.2.2/
      mk-build-deps
      sudo dpkg -i catfish-build-deps_1.2.2-1_all.deb
      sudo apt-get -f install
      dpkg-buildpackage -us -uc -b -tc
      cd ..

      apt-get source exo
      cd exo-0.10.4/
      mk-build-deps
      sudo dpkg -i exo-build-deps_0.10.4-2_all.deb
      sudo apt-get -f install
      dpkg-buildpackage -us -uc -b -tc
      cd ..

      apt-get source garcon
      cd garcon-0.4.0/
      mk-build-deps
      sudo dpkg -i garcon-build-deps_0.4.0-2_all.deb
      sudo apt-get -f install
      dpkg-buildpackage -us -uc -b -tc
      cd ..

      apt-get source gmusicbrowser
      cd gmusicbrowser-1.1.14~ds0/
      mk-build-deps
      sudo dpkg -i gmusicbrowser-build-deps_1.1.14~ds0-1_all.deb
      sudo apt-get -f install
      dpkg-buildpackage -us -uc -b -tc
      cd ..

      apt-get source libxfce4util
      cd libxfce4util-4.12.1/
      mk-build-deps
      sudo dpkg -i libxfce4util-build-deps_4.12.1-2_all.deb
      sudo apt-get -f install
      dpkg-buildpackage -us -uc -b -tc
      cd ..

      apt-get source xfconf
      cd xfconf-4.12.0/
      mk-build-deps
      sudo dpkg -i xfconf-build-deps_4.12.0-2_all.deb
      sudo apt-get -f install
      dpkg-buildpackage -us -uc -b -tc
      cd ..

      apt-get source libxfce4ui
      cd libxfce4ui-4.12.1/
      mk-build-deps
      sudo dpkg -i libxfce4ui-build-deps_4.12.1-2_all.deb
      sudo apt-get -f install
      dpkg-buildpackage -us -uc -b -tc
      cd ..

      apt-get source lxpanel
      cd lxpanel-0.8.1/
      mk-build-deps
      sudo dpkg -i lxpanel-build-deps_0.8.1-1_i386.deb
      sudo apt-get -f install
      dpkg-buildpackage -us -uc -b -tc
      cd ..

      apt-get source menulibre
      cd menulibre-2.0.6/
      mk-build-deps
      sudo dpkg -i menulibre-build-deps_2.0.6-1_all.deb
      sudo apt-get -f install
      dpkg-buildpackage -us -uc -b -tc
      cd ..

      apt-get source mugshot
      cd mugshot-0.2.5/
      mk-build-deps
      sudo dpkg -i mugshot-build-deps_0.2.5-1_all.deb
      sudo apt-get -f install
      dpkg-buildpackage -us -uc -b -tc
      cd ..

      apt-get source parole
      cd parole-0.8.0/
      mk-build-deps
      sudo dpkg -i parole-build-deps_0.8.0-2_all.deb
      sudo apt-get -f install
      dpkg-buildpackage -us -uc -b -tc
      cd ..

      apt-get source ristretto
      cd ristretto-0.8.0/
      mk-build-deps
      sudo dpkg -i ristretto-build-deps_0.8.0-1_all.deb
      sudo apt-get -f install
      dpkg-buildpackage -us -uc -b -tc
      cd ..

      apt-get source xfce4-panel
      cd xfce4-panel-4.12.0/
      mk-build-deps
      sudo dpkg -i xfce4-panel-build-deps_4.12.0-2_all.deb
      sudo apt-get -f install
      dpkg-buildpackage -us -uc -b -tc
      cd ..

      apt-get source thunar
      cd thunar-1.6.9/
      mk-build-deps
      sudo dpkg -i thunar-build-deps_1.6.9-1_i386.deb
      sudo apt-get -f install
      dpkg-buildpackage -us -uc -b -tc
      cd ..

      apt-get source thunar-archive-plugin
      cd thunar-archive-plugin-0.3.1/
      mk-build-deps
      sudo dpkg -i thunar-archive-plugin-build-deps_0.3.1-3_all.deb
      sudo apt-get -f install
      dpkg-buildpackage -us -uc -b -tc
      cd ..

      apt-get source thunar-volman
      cd thunar-volman-0.8.1/
      mk-build-deps
      sudo dpkg -i thunar-volman-build-deps_0.8.1-2_all.deb
      sudo apt-get -f install
      dpkg-buildpackage -us -uc -b -tc
      cd ..

      apt-get source thunar-media-tags-plugin
      cd thunar-media-tags-plugin-0.2.1/
      mk-build-deps
      sudo dpkg -i thunar-media-tags-plugin-build-deps_0.2.1-1_all.deb
      sudo apt-get -f install
      dpkg-buildpackage -us -uc -b -tc
      cd ..

      apt-get source tumbler
      cd tumbler-0.1.31/
      mk-build-deps
      sudo dpkg -i tumbler-build-deps_0.1.31-2_all.deb
      sudo apt-get -f install
      dpkg-buildpackage -us -uc -b -tc
      cd ..

      apt-get source xfburn
      cd xfburn-0.5.2/
      mk-build-deps
      sudo dpkg -i xfburn-build-deps_0.5.2-1_i386.deb
      sudo apt-get -f install
      dpkg-buildpackage -us -uc -b -tc
      cd ..

      apt-get source xfce4-appfinder
      cd xfce4-appfinder-4.12.0/
      mk-build-deps
      sudo dpkg -i xfce4-appfinder-build-deps_4.12.0-2_all.deb
      sudo apt-get -f install
      dpkg-buildpackage -us -uc -b -tc
      cd ..

      apt-get source xfce4-clipman-plugin
      cd xfce4-clipman-plugin-1.2.6/
      mk-build-deps
      sudo dpkg -i xfce4-clipman-plugin-build-deps_1.2.6-1_all.deb
      sudo apt-get -f install
      dpkg-buildpackage -us -uc -b -tc
      cd ..

      apt-get source xfce4-dev-tools
      cd xfce4-dev-tools-4.12.0/
      mk-build-deps
      sudo dpkg -i xfce4-dev-tools-build-deps_4.12.0-2_all.deb
      sudo apt-get -f install
      dpkg-buildpackage -us -uc -b -tc
      cd ..

      apt-get source xfce4-indicator-plugin
      cd xfce4-indicator-plugin-1.0.0/
      mk-build-deps
      sudo dpkg -i xfce4-indicator-plugin-build-deps_1.0.0-1_all.deb
      sudo apt-get -f install
      dpkg-buildpackage -us -uc -b -tc
      cd ..

      apt-get source xfce4-mailwatch-plugin
      cd xfce4-mailwatch-plugin-1.2.0/
      mk-build-deps
      sudo dpkg -i xfce4-mailwatch-plugin-build-deps_1.2.0-2_all.deb
      sudo apt-get -f install
      dpkg-buildpackage -us -uc -b -tc
      cd ..

      dget -x -u http://http.debian.net/debian/pool/main/x/xfce4-mixer/xfce4-mixer_4.11.0-1.dsc
      cd xfce4-mixer-4.11.0/
      mk-build-deps
      sudo dpkg -i xfce4-mixer-build-deps_4.11.0-1_all.deb
      sudo apt-get -f install
      dpkg-buildpackage -us -uc -b -tc
      cd ..

      apt-get source xfce4-mount-plugin
      cd xfce4-mount-plugin-0.6.7/
      mk-build-deps
      sudo dpkg -i xfce4-mount-plugin-build-deps_0.6.7-1_all.deb
      sudo apt-get -f install
      dpkg-buildpackage -us -uc -b -tc
      cd ..

      apt-get source xfce4-netload-plugin
      cd xfce4-netload-plugin-1.2.4/
      mk-build-deps
      sudo dpkg -i xfce4-netload-plugin-build-deps_1.2.4-1_all.deb
      sudo apt-get -f install
      dpkg-buildpackage -us -uc -b -tc
      cd ..

      apt-get source xfce4-screenshooter
      cd xfce4-screenshooter-1.8.2/
      mk-build-deps
      sudo dpkg -i xfce4-screenshooter-build-deps_1.8.2-2_all.deb
      sudo apt-get -f install
      dpkg-buildpackage -us -uc -b -tc
      cd ..

      apt-get source xfce4-session
      cd xfce4-session-4.12.1/
      mk-build-deps
      sudo dpkg -i ../libxfce4ui-1-dev_4.12.1-2_i386.deb ../libxfce4ui-1-0_4.12.1-2_i386.deb
      sudo dpkg -i xfce4-session-build-deps_4.12.1-3_all.deb
      sudo apt-get -f install
      dpkg-buildpackage -us -uc -b -tc
      cd ..

      apt-get source xfce4-settings
      cd xfce4-settings-4.12.0/
      mk-build-deps
      sudo dpkg -i xfce4-settings-build-deps_4.12.0-2_all.deb
      sudo apt-get -f install
      dpkg-buildpackage -us -uc -b -tc
      cd ..

      apt-get source xfce4-systemload-plugin
      cd xfce4-systemload-plugin-1.1.2/
      mk-build-deps
      sudo dpkg -i xfce4-systemload-plugin-build-deps_1.1.2-1_all.deb
      sudo apt-get -f install
      dpkg-buildpackage -us -uc -b -tc
      cd ..

      apt-get source xfce4-taskmanager
      cd xfce4-taskmanager-1.1.0/
      mk-build-deps
      sudo dpkg -i xfce4-taskmanager-build-deps_1.1.0-1_i386.deb
      sudo apt-get -f install
      dpkg-buildpackage -us -uc -b -tc
      cd ..

      apt-get source xfce4-timer-plugin
      cd xfce4-timer-plugin-1.6.0/
      mk-build-deps
      sudo dpkg -i xfce4-timer-plugin-build-deps_1.6.0-1_all.deb
      sudo apt-get -f install
      dpkg-buildpackage -us -uc -b -tc
      cd ..

      apt-get source xfce4-volumed
      cd xfce4-volumed-0.1.13/
      mk-build-deps
      sudo dpkg -i xfce4-volumed-build-deps_0.1.13-5_all.deb
      sudo apt-get -f install
      dpkg-buildpackage -us -uc -b -tc
      cd ..

      apt-get source xfce4-weather-plugin
      cd xfce4-weather-plugin-0.8.5/
      mk-build-deps
      sudo dpkg -i xfce4-weather-plugin-build-deps_0.8.5-2_all.deb
      sudo apt-get -f install
      dpkg-buildpackage -us -uc -b -tc
      cd ..

      apt-get source xfce4-whiskermenu-plugin
      cd xfce4-whiskermenu-plugin-1.5.0/
      mk-build-deps
      sudo dpkg -i xfce4-whiskermenu-plugin-build-deps_1.5.0-2_all.deb
      sudo apt-get -f install
      dpkg-buildpackage -us -uc -b -tc
      cd ..

      apt-get source xfce4-xkb-plugin
      cd xfce4-xkb-plugin-0.7.1/
      mk-build-deps
      sudo dpkg -i xfce4-xkb-plugin-build-deps_0.7.1-2_all.deb
      sudo apt-get -f install
      dpkg-buildpackage -us -uc -b -tc
      cd ..

      apt-get source xfdesktop4
      cd xfdesktop4-4.12.2/
      mk-build-deps
      sudo dpkg -i xfdesktop4-build-deps_4.12.2-1_all.deb
      sudo apt-get -f install
      dpkg-buildpackage -us -uc -b -tc
      cd ..

      apt-get source xfwm4
      cd xfwm4-4.12.3/
      mk-build-deps
      sudo dpkg -i xfwm4-build-deps_4.12.3-1_i386.deb
      sudo apt-get -f install
      dpkg-buildpackage -us -uc -b -tc
      cd ..

      apt-get source xfce4-notifyd
      cd xfce4-notifyd-0.2.4/
      mk-build-deps
      sudo dpkg -i xfce4-notifyd-build-deps_0.2.4-3_all.deb
      sudo apt-get -f install
      dpkg-buildpackage -us -uc -b -tc
      cd ..

      apt-get source xfce4-terminal
      cd xfce4-terminal-0.6.3/
      mk-build-deps
      sudo dpkg -i xfce4-terminal-build-deps_0.6.3-1_all.deb
      sudo apt-get -f install
      dpkg-buildpackage -us -uc -b -tc
      cd ..

      sudo apt-get -f install
      apt-get source gtk2-engines-murrine
      cd gtk2-engines-murrine-0.98.1.1/
      mk-build-deps
      sudo dpkg -i gtk2-engines-murrine-build-deps_0.98.1.1-5_all.deb
      sudo apt-get -f install
      dpkg-buildpackage -us -uc -b -tc
      cd ..

      apt-get source gtk3-engines-xfce
      cd gtk2-engines-xfce-3.2.0/
      mk-build-deps
      sudo dpkg -i gtk2-engines-xfce-build-deps_3.2.0-2_all.deb
      sudo apt-get -f install
      dpkg-buildpackage -us -uc -b -tc
      cd ..

      apt-get source murrine-themes
      cd murrine-themes-0.98.9/
      mk-build-deps
      sudo dpkg -i murrine-themes-build-deps_0.98.9_all.deb
      sudo apt-get -f install
      dpkg-buildpackage -us -uc -b -tc
      cd ..

      dget -x -u http://http.debian.net/debian/pool/main/m/mousepad/mousepad_0.4.0-2.dsc
      cd mousepad-0.4.0/
      mk-build-deps
      sudo dpkg -i mousepad-build-deps_0.4.0-2_all.deb
      sudo apt-get -f install
      dpkg-buildpackage -us -uc -b -tc
      cd ..

      dget -x -u http://http.debian.net/debian/pool/main/x/xfce4-power-manager/xfce4-power-manager_1.4.4-4.dsc
      cd xfce4-power-manager-1.4.4/
      mk-build-deps
      sudo dpkg -i xfce4-power-manager-build-deps_1.4.4_all.deb
      sudo apt-get -f install
      dpkg-buildpackage -us -uc -b -tc
      cd ..

      cd ..
      dget -x -u http://http.debian.net/debian/pool/main/o/orage/orage_4.12.1-1.dsc
      cd orage-4.12.1/
      mk-build-deps
      sudo dpkg -i orage-build-deps_4.12.1-1_all.deb
      sudo apt-get -f install
      dpkg-buildpackage -us -uc -b -tc
      cd ..

      apt-get source xfce4-quicklauncher-plugin
      cd xfce4-quicklauncher-plugin-1.9.4/
      mk-build-deps
      sudo dpkg -i xfce4-quicklauncher-plugin-build-deps_1.9.4-11_all.deb
      dpkg-buildpackage -us -uc -b -tc
      cd ..

      apt-get source xfce4
      cd xfce4-4.12.1/
      mk-build-deps
      sudo dpkg -i xfce4-build-deps_4.12.1_all.deb
      sudo apt-get -f install
      dpkg-buildpackage -us -uc -b -tc
      cd ..

      apt-get source libnotify-bin
      cd libnotify-0.7.6/
      mk-build-deps
      sudo dpkg -i libnotify-build-deps_0.7.6-2_all.deb
      sudo apt-get -f install
      dpkg-buildpackage -us -uc -b -tc
      cd ..

      apt-get source tango-icon-theme
      cd ../tango-icon-theme-0.8.90/
      mk-build-deps
      sudo dpkg -i tango-icon-theme-build-deps_0.8.90-5_all.deb
      sudo apt-get -f install
      dpkg-buildpackage -us -uc -b -tc
      cd ..

      dget -x -u http://http.debian.net/debian/pool/main/x/xfwm4-themes/xfwm4-themes_4.10.0-2.dsc
      cd xfwm4-themes-4.10.0/
      mk-build-deps
      sudo dpkg -i xfwm4-themes-build-deps_4.10.0-2_all.deb
      sudo apt-get -f install
      dpkg-buildpackage -us -uc -b -tc
      cd ..

      mv -v ~/xfce/{*.changes,*.deb} ~/build/debs/
      updebs.sh

      dpkg –get-selections | awk ‘{if ($2==”install”) print $1}’ > debianpkgs && cat debianpkgs | grep build-deps | xargs -l1 sudo apt-get –purge remove -y

      dpkg –get-selections | awk ‘{if ($2==”install”) print $1}’ > debianpkgs && cat debianpkgs | grep xfce4 | xargs -l1 sudo apt-get –purge remove -y

      dpkg –get-selections | awk ‘{if ($2==”install”) print $1}’ > debianpkgs && cat debianpkgs | grep tumbler | xargs -l1 sudo apt-get –purge remove -y

      sudo apt-get –purge remove libexo-common libexo-helpers xfdesktop4-data thunar-data libgarcon-common

      sudo apt-get install xfce4 -V

      sudo apt-get install xfce4 xfce4-screenshooter thunar-archive-plugin thunar-media-tags-plugin xfce4-power-manager gtk3-engines-xfce -V

      Curtir

    1. Não! é dget mesmo. O dget dependendo de como você utilizá-lo baixa os sources e inicia o empacotamento, como em:

      $ dget -x -u --build URL_do_arquivo.dsc

      Para usá-lo você deve instalar o pacote devscripts.

      Outra motivo pelo qual não postarei os passos detalhados sobre como empacotar na unha é que estou sem saco para usar Debian.

      Curtir

      1. Obrigado pelas respostas!
        Desculpe minha ignorância e repetição! xD
        Ah, agora entendi! Sabia que tinha algo errado!
        Eu dei uma cansada do Arch, apesar de ter me apaixonado pela distro. Por isso voltei ao Debian, mas, como eu disse antes, suas dicas me bateram uma saudade do Slack.
        Vou brincar um pouco mais e mais uma vez, obrigado!

        Curtir

Deixe um comentário

Preencha os seus dados abaixo ou clique em um ícone para log in:

Logotipo do WordPress.com

Você está comentando utilizando sua conta WordPress.com. Sair / Alterar )

Imagem do Twitter

Você está comentando utilizando sua conta Twitter. Sair / Alterar )

Foto do Facebook

Você está comentando utilizando sua conta Facebook. Sair / Alterar )

Foto do Google+

Você está comentando utilizando sua conta Google+. Sair / Alterar )

Conectando a %s