You are not logged in.

#1 2004-06-23 12:03:22

dpb
Member
From: Cyperspace?
Registered: 2004-04-11
Posts: 231

[x11: theme] GTK+ 1 Theme Engines

Here's a few GTK theme engines to make your GTK apps prettier.

The make install didn't work when installing to $startdir/pkg/ with Xenophilia, so had to do it like this...

# Contributor: dpb <dpb [at] gna.org>
pkgname=gtk-engines-collection
pkgver=1.0
pkgrel=1
pkgdesc="Xenophilia, Flat, gtkstep and thinice gtk1 theme engines."
url="http://themes.freshmeat.net/"
depends=(gtk)
source=(
'http://themes.freshmeat.net/redir/xenophilia/24574/url_tgz/xenophilia-0.8.tar.gz'
'http://download.freshmeat.net/themes/flat/flat-1.2.x.tar.gz'
'http://download.freshmeat.net/themes/gtkstep_/gtkstep_-1.2.x.tar.gz'
'http://download.freshmeat.net/themes/thinice/thinice-1.2.x.tar.gz'
)
md5sums=('620127ce8e668588de2373783254a3e8' '5b9e6c974c2417b5793b5c930be29f5d'
'556c5915bfdd88956354ce0890e357b0' 'f2b6e8f4c3ea3710e27a59195f2abc9a')

build() {
#
# Xenophilia engine
#
  cd $startdir/src/Xenophilia-0.8
  ./configure --prefix=/usr
  make || return 1

  cd $startdir/src/Xenophilia-0.8/gtk-src/
  install -d $startdir/pkg/usr/lib/gtk/themes/engines
  chmod 755 libxeno.so.0.8
  cp -fdp libxeno.so.0.8 $startdir/pkg/usr/lib/gtk/themes/engines
  ln -fs libxeno.so.0.8 $startdir/pkg/usr/lib/gtk/themes/engines/libxeno.so.0
  ln -fs libxeno.so.0.8 $startdir/pkg/usr/lib/gtk/themes/engines/libxeno.so

  mkdir -p $startdir/pkg/usr/share/themes
  cd $startdir/src/Xenophilia-0.8/themes/
  cp -fdpR Xenophilia $startdir/pkg/usr/share/themes
  cp -fdpR Xeno Thin $startdir/pkg/usr/share/themes
  cp -fdpR Xeno Gradient $startdir/pkg/usr/share/themes
  cp -fdpR Xeno Buffed $startdir/pkg/usr/share/themes
  cp -fdpR Xeno Perkele $startdir/pkg/usr/share/themes
  cp -fdpR Xeno Helix $startdir/pkg/usr/share/themes

#
# Flat engine
#
  cd $startdir/src/gtk-flat-theme-0.1
  ./configure --prefix=/usr
  make || return 1
  make prefix=$startdir/pkg/usr install || return 1

#
# gtkstep engine
#
  cd $startdir/src/gtkstep-2.0
  ./configure --prefix=/usr
  make || return 1
  make prefix=$startdir/pkg/usr install || return 1

#
# thinice engine
#
  cd $startdir/src/gtk-thinice-theme-1.0.4
  ./configure --prefix=/usr
  make || return 1
  make prefix=$startdir/pkg/usr install || return 1
}

Offline

#2 2004-06-23 13:12:48

zeppelin
Member
From: Athens, Greece
Registered: 2004-03-05
Posts: 807
Website

Re: [x11: theme] GTK+ 1 Theme Engines

hmm interesting. but now how can I change the themes? thanks

Offline

#3 2004-06-23 13:43:00

dpb
Member
From: Cyperspace?
Registered: 2004-04-11
Posts: 231

Re: [x11: theme] GTK+ 1 Theme Engines

pacman -S gtk-theme-switch

and then run 'switch' to change them.

Offline

#4 2004-06-24 13:00:16

zeppelin
Member
From: Athens, Greece
Registered: 2004-03-05
Posts: 807
Website

Re: [x11: theme] GTK+ 1 Theme Engines

well I had switch2..
I did that didn't seem to work.. [it showed the themes though!]
it could be, because I have a GTK2 theme (yacacier3) that has some gtk1 stuff (it makes the menus that are selected Blue) but nothing else, I try to see the diff with xmms or xchm [wxgtk] but doesn't work. any ideas ?

Offline

#5 2004-06-24 13:33:45

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: [x11: theme] GTK+ 1 Theme Engines

make sure you do not mix gtk and gtk2 themes:
unfortunately switch and switch2 show all themes, but normally most of them are gtk2 (that's because they are all installed in one dir /usr/share/themes/)

however, if you want to change a gtk2-theme, you need switch2 and if you want to change a gtk1-theme, you need switch --- and you also must know what theme what gtk{1,2} is

xmms needs gtk1


The impossible missions are the only ones which succeed.

Offline

#6 2004-06-24 18:00:00

zeppelin
Member
From: Athens, Greece
Registered: 2004-03-05
Posts: 807
Website

Re: [x11: theme] GTK+ 1 Theme Engines

yes but I want both gtk2 and gtk1 themes [for each app]
I'm using GNOME 2.6 [and it has Theme Details] there you can do some magical work [combine different themes]

the point is that eg I choose Flat [the one this PKGBUILD provides] and xmms just doesn't change.

I remember xmms having eyecandy menus in RedHat 8
I had SlackWare 9, 9.1 and now Arch(GNU)Linux and I never made it.. :{

I did switch and xmms just doesn't like it..

r u sure that switch2 is gtk2 only? [i mean it uses GTK2 it self but is it gtk2 only and switch1 uses gtk1 but is it for GTk1 themes only?]
both ways my system doesn't obey to those apps tongue

Offline

#7 2004-06-24 22:32:04

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: [x11: theme] GTK+ 1 Theme Engines

i wanted to check if my system acts the same ... indeed, it does:

switch does not change anything for all themes i have installed, except "6nome-sandy" theme that will change the colour of the widgets, but in the console keep telling me:

Gtk-WARNING **: Unable to locate loadable module in module_path: "libpixmap.so",

and if i apply this theme, it says

Gtk-CRITICAL **: file gtkentry.c: line 440 (gtk_entry_set_text): assertion `text != NULL' failed.

this is indeed very strange --- has anybody managed to change the gtk1-theme on arch?


The impossible missions are the only ones which succeed.

Offline

#8 2004-06-24 23:12:10

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: [x11: theme] GTK+ 1 Theme Engines

i doubt that anyone managed, as i found out what happened:
we are missing the gtk-engines 0.12 (we have 2.2 that is for gtk2, but 0.12 is for gtk1)

i'm packaging it right now


The impossible missions are the only ones which succeed.

Offline

#9 2004-06-24 23:17:57

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: [x11: theme] GTK+ 1 Theme Engines

:-) ok, it works finally using switch to change gtk1 themes --- i will include gtk1-engines in extra soon

:-( unfortunately this:

Gtk-CRITICAL **: file gtkentry.c: line 440 (gtk_entry_set_text): assertion `text != NULL' failed.

stayed


The impossible missions are the only ones which succeed.

Offline

#10 2004-06-25 00:37:49

zeppelin
Member
From: Athens, Greece
Registered: 2004-03-05
Posts: 807
Website

Re: [x11: theme] GTK+ 1 Theme Engines

well I saw your package. does it work now? xmms gets a better eyecandy in menus? tongue
I avoid gtk1 like hell tongue but wx* app wrap with it.. and not only those apps [but a lot of others too]

anyways, do you think you can add those themes too in extra?
thanks man!

ps. this says maintainer: None!
http://www.archlinux.org/packages.php?id=3868

Offline

#11 2004-06-25 10:45:45

dpb
Member
From: Cyperspace?
Registered: 2004-04-11
Posts: 231

Re: [x11: theme] GTK+ 1 Theme Engines

Strange. switch has worked for me all the time...

Offline

#12 2004-06-25 13:38:13

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: [x11: theme] GTK+ 1 Theme Engines

zeppelin wrote:

well I saw your package. does it work now? xmms gets a better eyecandy in menus? tongue

if this pkg is installed, switch works (only for gtk1-themes and gtk1+gtk2-themes, but not for gtk2-only-themes)

zeppelin wrote:

I avoid gtk1 like hell tongue but wx* app wrap with it.. and not only those apps [but a lot of others too]

anyways, do you think you can add those themes too in extra?
thanks man!

i'm checking what would be the best: either including only themes that work for gtk1 AND gtk2 or naming the pkgs that contain gtk1-stuff with gtk1-... instead of gtk-...

zeppelin wrote:

ps. this says maintainer: None!
http://www.archlinux.org/packages.php?id=3868

ups, i forgot - now it should be set right


The impossible missions are the only ones which succeed.

Offline

Board footer

Powered by FluxBB