compiling a downloaded Gnome theme from source

Compiz, KDE, Gnome, Fluxbox, etc...

Moderator: Moderators

compiling a downloaded Gnome theme from source

Postby bennypr0fane » Mon May 20, 2013 21:16

Hello,
I am trying to compile a Gnome shell theme.
The make command gives me this:
Code: Select all
# make
valac --pkg gtk+-3.0 elegance-colors-gui.vala -o elegance-colors-gui
bennypr0fane> make: valac: Kommando nicht gefunden
make: *** [elegance-colors-gui] Fehler 127

The instructions say the dependencies, which I tried to install before make, are these: glib2-devel gtk3-devel vala . While installing vala seems to have worked, I guess the other 2 are named differently in SL, so I don't know how to search for them in entropy :-(
here's what the makefile looks like: http://pastebin.sabayon.org/pastie/12657
here's the link to the theme http://satya164.deviantart.com/art/Gnom ... -305966388
Btw this is my third try altogether at compiling something from source, the first two being a while back and unsuccessful. ;-|
Isn't there some sort of list of common Linux packages used by most distros where one can look up their respective names for each distro?
I did not try to use portage for this, because the way I understand it, it will only compile/install packages from the repos, which does not apply here, as this is just a downloaded tarball.
One different approach, is there maybe an extra repo for SL that contains themes and shell extensions? :alien:
The ones I found in Rigo apart from the pre-installed ones, are just for Gnome 2.

OOOR maybe someone wants to add this theme to the repos? It's omptimised for Gnome 3.6 and 3.8 and allows for chosing the colors, it cames with its own settings application, so it's acutally like having a set of different themes.
Pretty please?` :roll: :mrgreen:
bennypr0fane
Baby Hen
 
Posts: 14
Joined: Fri May 10, 2013 11:23

Re: compiling a downloaded Gnome theme from source

Postby svantoviit » Tue May 21, 2013 0:21

Compiling directly from source isn't the supported way to install packages in Sabayon, anyway…

bennypr0fane wrote:Isn't there some sort of list of common Linux packages used by most distros where one can look up their respective names for each distro?

You have to look up them in the databases of the distros and compare. For example here:
http://www.debian.org/distrib/packages
http://packages.ubuntu.com/
https://apps.fedoraproject.org/packages/
http://gpo.zugaina.org/

bennypr0fane wrote:valac: Kommando nicht gefunden

Of course, the compiler executables are named according the version of vala installed.
/usr/bin/valac-0.12 for dev-lang/vala-0.12, /usr/bin/valac-0.14 for dev-lang/vala-0.14 etc.
You need to create a symlink in /usr/bin called valac pointing to the compiler version you want use. For example:
Code: Select all
# cd /usr/bin/
# ln -s valac-0.18 valac

bennypr0fane wrote: I guess the other 2 are named differently in SL

The glib2-devel package includes the header files for the GLib library. Probably included in dev-libs/glib
gtk3-devel: libraries and header files that are needed for writing applications with version 3 of the GTK+ widget toolkit
Probably included in x11-libs/gtk+-3.6.3, maybe in x11-libs/gtk+extra
glib and gtk+ should be installed, if not, run as root:
Code: Select all
equo i -a dev-libs/glib:2 gtk+:3 gtk+extra


bennypr0fane wrote:maybe someone wants to add this theme to the repos?

You have to address such wishes in the Bugzilla.
Last edited by svantoviit on Tue May 21, 2013 11:06, edited 2 times in total.
svantoviit
Old Dear Hen
 
Posts: 651
Joined: Sun Feb 28, 2010 17:55

Re: compiling a downloaded Gnome theme from source

Postby sabayonino » Tue May 21, 2013 10:28

make: valac: Kommando nicht gefunden


if you want to compile G-Theme from source by yourself maybe you nedd dev-lang/vala package ..

Code: Select all
# equo i dev-lang/vala


:roll:
User avatar
sabayonino
Sagely Hen
 
Posts: 2583
Joined: Sun Sep 21, 2008 1:12
Location: Italy

Re: compiling a downloaded Gnome theme from source

Postby svantoviit » Tue May 21, 2013 11:26

sabayonino wrote:maybe you nedd dev-lang/vala package…

bennypr0fane has vala already installed as stated.

The thing is, there are several dev-lang/vala packages in entropy
Code: Select all
$ equo s -vq dev-lang/vala
dev-lang/vala-0.10.4-r2
dev-lang/vala-0.12.1-r1
dev-lang/vala-0.14.2-r2
dev-lang/vala-0.16.1-r2
dev-lang/vala-0.18.1

Each of them has its own executable:
Code: Select all
$ ls /usr/bin/ | grep valac
valac-0.12
valac-0.14
valac-0.16
valac-0.18

But there is no valac executable:
Code: Select all
$ which valac
which: no valac in (/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.7.2:/opt/nvidia-cg-toolkit/bin:/usr/games/bin)

so a symbolic link to one of the executables named valac has to be created, since there is no virtual package nor an eselect module available in entropy to select it.
svantoviit
Old Dear Hen
 
Posts: 651
Joined: Sun Feb 28, 2010 17:55

Re: compiling a downloaded Gnome theme from source

Postby bennypr0fane » Tue May 21, 2013 16:05

svantoviit wrote:Compiling directly from source isn't the supported way to install packages in Sabayon, anyway…

Well which IS the supported/recommended method to install packages that are not available for Sabayon (but only in .deb, .rpm or as source code)?
It's not like resolving dependencies to compile from source is my favorite hobby, so if there is another, less fiddly method, I'd much prefer that...
bennypr0fane wrote:Isn't there some sort of list of common Linux packages used by most distros where one can look up their respective names for each distro?

You have to look up them in the databases of the distros and compare. For example here:
http://www.debian.org/distrib/packages
http://packages.ubuntu.com/
https://apps.fedoraproject.org/packages/
http://gpo.zugaina.org/


But these lists don't contain the package names for Sabayon do they?

bennypr0fane wrote:maybe someone wants to add this theme to the repos?

You have to address such wishes in the Bugzilla.


Ok, I wouldn't have thought of Bugzilla for requesting packages, but I'll take a look!
bennypr0fane
Baby Hen
 
Posts: 14
Joined: Fri May 10, 2013 11:23

Re: compiling a downloaded Gnome theme from source

Postby svantoviit » Tue May 21, 2013 16:31

bennypr0fane wrote:But these lists don't contain the package names for Sabayon do they?

No, they don't. But they give you a more precise description of the package and it's "contents". Then you can compare it to the contents of Sabayon packages and find the corresponding.
Remember that in Debian or Fedora you can have separate packages for some components, but in the Gentoo world these can be hidden under a USE-Flag.
svantoviit
Old Dear Hen
 
Posts: 651
Joined: Sun Feb 28, 2010 17:55

Re: compiling a downloaded Gnome theme from source

Postby bennypr0fane » Wed May 22, 2013 22:13

svantoviit wrote:No, they don't. But they give you a more precise description of the package and it's "contents". Then you can compare it to the contents of Sabayon packages and find the corresponding.

Really, that's what Sabyon users do each time they need to find a missing dependency? I can hardly imagine that.
Anyway I find it an awful lot of trouble to go to.
Now, what's the recommenden method?
bennypr0fane
Baby Hen
 
Posts: 14
Joined: Fri May 10, 2013 11:23

Re: compiling a downloaded Gnome theme from source

Postby svantoviit » Wed May 22, 2013 22:57

bennypr0fane wrote:…that's what Sabyon users do each time they need to find a missing dependency?

The recommended way to install packages in Sabayon is using a package manager, preferably Entropy, but you can use Portage as well, if you know, what you are doing.
Both package managers take care of dependencies, so you don't have to look for any.

Compiling stuff directly from source is not supported, so you are on your own. And yes, it can be complicated and cause a lot of troubles.

If you miss anything, request it via the Bugzilla.
svantoviit
Old Dear Hen
 
Posts: 651
Joined: Sun Feb 28, 2010 17:55

Re: compiling a downloaded Gnome theme from source

Postby bennypr0fane » Wed May 22, 2013 23:48

svantoviit wrote:The recommended way to install packages in Sabayon is using a package manager, preferably Entropy, but you can use Portage as well, if you know, what you are doing.
Both package managers take care of dependencies, so you don't have to look for any.

Thank you, but I thought I mentioned that the package I want to install is not in the Sabayon repos and thus I cannot use Entropy or Portage for it. I meant, if not compiling from source, what are my options for installing packages that are not available in the repos (but only as .deb, rpm, or source code)? And, if more than one, which is recommended?
bennypr0fane
Baby Hen
 
Posts: 14
Joined: Fri May 10, 2013 11:23

Re: compiling a downloaded Gnome theme from source

Postby svantoviit » Thu May 23, 2013 2:20

You can compile from source directly, you can even install rpms and debs on Sabayon, but it's neither recommended nor supported.
svantoviit
Old Dear Hen
 
Posts: 651
Joined: Sun Feb 28, 2010 17:55


Return to 3D Desktops and Window Managers

Who is online

Users browsing this forum: No registered users and 1 guest

cron