Advertising

Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum https://forum.linuxiarze.pl

How to build the latest Tint2 with a tintconf gui frontend that actually works

Started by Lizbeth, May 30, 2015, 12:31:47 AM

Previous topic - Next topic

Lizbeth

This is technicall a cross post as i poseted it in reply to another post but i thought it was best to give it its own attention


also here is a debian independent binary for tint2 ver 0.12rc5 that is supposed to have a tint2conf, a gui tool to edit tint2.  also i haven't tested it yet.  the source is here:  https://gitlab.com/o9000/tint2


if you wish to make your own debian binary of it

start by installing some dependencies:


sudo apt-get install build-essential autoconf automake autotools-dev dh-make debhelper devscripts fakeroot xutils lintian pbuilder dh-make cmake git


also we need some more specific dependencies that require the enabling of source repos which sparky has by enabled default so


sudo apt-get build-dep tint2



now create a directory to build it in

mkdir build directory

cd build directory

mkdir tint2

cd tint2


now we clone the git directory where the new tint2 is located

git clone https://gitlab.com/o9000/tint2.git

to build the source we need an original tarball in a specific format but the git directory doesn't include the required version number for the tarball to be built so

mv tint2 tint2-0.12

cd tint2-0.12


now we need to build an origional source tarball

dh_make -p tint2-0.12 --createorig

this puts that compressed file in the next higher directory in the tree. 

it will ask what type of binary you want to build.  press i for indpendent and hit return twice

when it finishes, continue the build

now per the build instructions for the package

mkdir build

cd build

cmake -DCMAKE_INSTALL_PREFIX=/usr ../


i got an error asking for librsvg-2.0 so i then searched synaptic for the file

sudo synaptic

enter librsvg-2 into the search field and installed the file that matches that as well as it's -dev version

reran the

Quotecmake -DCMAKE_INSTALL_PREFIX=/usr ../

with no errors.  if you get other errors just search synaptic, install the matching file and its -dev version, usually right below or above it in synaptic

then did

make


now the build instructions ask us to sudo make install but instead, since we are building the independent binary, we will

cd ..

dpkg-buildpackage -b


when that finishes

cd ..

sudo dpkg -i tint2-0.12_0.12-1_all.deb

and now you just need to restart tint2.  i vote for using the taskl manager, lxtask, and seacring for tint2 and killing that by right clicking over it and selecting kill and then running tint2 from the main menu->run command and typing tint2 in the gexec window

i havent tested the build yet in debian but on another distro i could edit tint2 with the command tint2conf and it should show in the applications under preferences or system



View the most recent posts on the forum