You are not logged in.

#1 2004-04-01 03:09:11

vande198
Member
From: East Lansing, MI, USA
Registered: 2003-09-12
Posts: 98

redhat-artwork compile problems

I've been trying to get redhat-artwork to work via abs.  I made icon-slicer (a makedepend) first.  Here's my PKGBUILD:

pkgname=redhat-artwork
pkgver=0.88
pkgrel=1
makedepends=('icon-slicer')
pkgdesc="Redhat Artwork (Bluecurve) for GTK1/2 and QT/KDE"
depends=('gtk2' 'gtk' 'qt' 'kdelibs')
source=(http://download.fedora.us/fedora/fedora/1/i386/SRPMS.os/$pkgname-$pkgver-1.src.rpm)

build() {
  cd $startdir/src
  rpmunpack $pkgname-$pkgver-1.src.rpm
  gzip -dc $pkgname-$pkgver-1.cpio.gz | cpio -i
  tar -zxf $pkgname-$pkgver.tar.gz

  cd $pkgname-$pkgver

  ./configure --prefix=/usr --with-qt-dir=/opt/qt
  make || return 1
  make DESTDIR=$startdir/pkg install
}

However, I get this error:

   name a scope
redhatclient.cpp: In member function `void 
   KWinInternal::RedHatClient::captionChange(const QString&)':
redhatclient.cpp:991: error: `repaint' undeclared (first use this function)
redhatclient.cpp: In member function `void 
   KWinInternal::RedHatClient::paintEvent(QPaintEvent*)':
redhatclient.cpp:1005: error: no matching function for call to `QPainter::
   QPainter(KWinInternal::RedHatClient* const)'
/opt/qt/include/qpainter.h:421: error: candidates are: QPainter::QPainter(const 
   QPainter&)
/opt/qt/include/qpainter.h:70: error:                 QPainter::QPainter(const 
   QPaintDevice*, const QWidget*, bool)
/opt/qt/include/qpainter.h:69: error:                 QPainter::QPainter(const 
   QPaintDevice*, bool)
/opt/qt/include/qpainter.h:68: error:                 QPainter::QPainter()
redhatclient.cpp:1016: error: parse error before `::' token
redhatclient.cpp:1025: error: parse error before `::' token
redhatclient.cpp:1039: error: parse error before `::' token
redhatclient.cpp:1043: error: parse error before `::' token
redhatclient.cpp:1044: error: parse error before `::' token
redhatclient.cpp:1046: error: parse error before `::' token
redhatclient.cpp:1047: error: parse error before `::' token
redhatclient.cpp:1078: error: invalid conversion from `QColor (*)(...)' to `
   unsigned int'
redhatclient.cpp:1078: error:   initializing argument 1 of `
   QColor::QColor(unsigned int, unsigned int)'
redhatclient.cpp:1078: error: invalid conversion from `QColor (*)(...)' to `
   unsigned int'
redhatclient.cpp:1078: error:   initializing argument 1 of `
   QColor::QColor(unsigned int, unsigned int)'
redhatclient.cpp:1087: error: invalid conversion from `QColor (*)(...)' to `
   unsigned int'
redhatclient.cpp:1087: error:   initializing argument 1 of `
   QColor::QColor(unsigned int, unsigned int)'
redhatclient.cpp:1087: error: invalid conversion from `QColor (*)(...)' to `
   unsigned int'
redhatclient.cpp:1087: error:   initializing argument 1 of `
   QColor::QColor(unsigned int, unsigned int)'
redhatclient.cpp:1092: error: `isActive' undeclared (first use this function)
redhatclient.cpp:1110: error: `caption' undeclared (first use this function)
redhatclient.cpp:1117: error: parse error before `::' token
redhatclient.cpp:1120: error: `AlignLeft' undeclared (first use this function)
redhatclient.cpp:1120: error: `AlignVCenter' undeclared (first use this 
   function)
redhatclient.cpp:1122: error: parse error before `::' token
redhatclient.cpp:1144: error: parse error before `::' token
redhatclient.cpp:1145: error: invalid conversion from `QColor (*)(...)' to `
   unsigned int'
redhatclient.cpp:1145: error:   initializing argument 1 of `
   QColor::QColor(unsigned int, unsigned int)'
redhatclient.cpp:1148: error: request for member `hsv' in `lighterColor', which 
   is of non-aggregate type `QColor ()(...)'
redhatclient.cpp:1149: warning: assignment to `int' from `double'
redhatclient.cpp:1149: warning: argument to `int' from `double'
redhatclient.cpp:1165: error: `isVisible' undeclared (first use this function)
redhatclient.cpp:1174: error: `geometry' undeclared (first use this function)
redhatclient.cpp:1195: error: parse error before `::' token
redhatclient.cpp:1212: error: parse error before `::' token
redhatclient.cpp:1267: error: no matching function for call to `bitBlt(
   KWinInternal::RedHatClient* const, int, int, KPixmap*&)'
/opt/qt/include/qpixmap.h:249: error: candidates are: void 
   bitBlt(QPaintDevice*, int, int, const QPaintDevice*, int, int, int, int, 
   Qt::RasterOp, bool)
/opt/qt/include/qpixmap.h:252: error:                 void 
   bitBlt(QPaintDevice*, int, int, const QImage*, int, int, int, int, int)
/opt/qt/include/qpaintdevice.h:410: error:                 void 
   bitBlt(QPaintDevice*, const QPoint&, const QPaintDevice*, const QRect&, 
   Qt::RasterOp, bool)
/opt/qt/include/qimage.h:336: error:                 void bitBlt(QImage*, int, 
   int, const QImage*, int, int, int, int, int)
redhatclient.cpp: In member function `void 
   KWinInternal::RedHatClient::doShape()':
redhatclient.cpp:1332: error: `setMask' undeclared (first use this function)
redhatclient.cpp: In member function `void 
   KWinInternal::RedHatClient::showEvent(QShowEvent*)':
redhatclient.cpp:1340: error: parse error before `::' token
redhatclient.cpp: In member function `void 
   KWinInternal::RedHatClient::mouseDoubleClickEvent(QMouseEvent*)':
redhatclient.cpp:1347: error: `workspace' undeclared (first use this function)
redhatclient.cpp: In member function `void 
   KWinInternal::RedHatClient::maximizeChange(bool)':
redhatclient.cpp:1355: error: `setTipText' undeclared (first use this function)
redhatclient.cpp: In member function `void 
   KWinInternal::RedHatClient::activeChange(bool)':
redhatclient.cpp:1364: error: `repaint' undeclared (first use this function)
redhatclient.cpp: In member function `void 
   KWinInternal::RedHatClient::calcHiddenButtons()':
redhatclient.cpp:1397: error: `isVisible' undeclared (first use this function)
redhatclient.cpp:1398: error: `hide' undeclared (first use this function)
redhatclient.cpp:1405: error: `show' undeclared (first use this function)
redhatclient.cpp: At global scope:
redhatclient.cpp:1410: error: syntax error before `::' token
redhatclient.cpp: In member function `void 
   KWinInternal::RedHatClient::menuButtonPressed()':
redhatclient.cpp:1437: error: `rect' undeclared (first use this function)
redhatclient.cpp:1439: error: `mapToGlobal' undeclared (first use this 
   function)
redhatclient.cpp:1440: error: `setDown' undeclared (first use this function)
redhatclient.cpp: At global scope:
redhatclient.cpp:1447: error: syntax error before `*' token
redhatclient.cpp:1466: error: parse error before `}' token
In file included from redhatclient.cpp:1468:
redhatclient.moc: In static member function `static QMetaObject* 
   KWinInternal::RedHatClient::staticMetaObject()':
redhatclient.moc:54: error: no class template named `Client' in `KWinInternal'
redhatclient.moc: In member function `virtual void* 
   KWinInternal::RedHatClient::qt_cast(const char*)':
redhatclient.moc:78: error: parse error before `::' token
In file included from redhatclient.cpp:1468:
redhatclient.moc: In member function `virtual bool 
   KWinInternal::RedHatClient::qt_invoke(int, QUObject*)':
redhatclient.moc:87: error: parse error before `::' token
In file included from redhatclient.cpp:1468:
redhatclient.moc: In member function `virtual bool 
   KWinInternal::RedHatClient::qt_emit(int, QUObject*)':
redhatclient.moc:94: error: parse error before `::' token
redhatclient.moc: In member function `virtual bool 
   KWinInternal::RedHatClient::qt_property(int, int, QVariant*)':
redhatclient.moc:100: error: parse error before `::' token
make[5]: *** [redhatclient.lo] Error 1
make[5]: Leaving directory `/home/jake/abs/redhat-artwork/src/redhat-artwork-0.88/art/kde/kwin/Bluecurve'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/jake/abs/redhat-artwork/src/redhat-artwork-0.88/art/kde/kwin'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/jake/abs/redhat-artwork/src/redhat-artwork-0.88/art/kde'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/jake/abs/redhat-artwork/src/redhat-artwork-0.88/art'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jake/abs/redhat-artwork/src/redhat-artwork-0.88'
make: *** [all-recursive-am] Error 2
==> ERROR: Build Failed.  Aborting...

(sorry it's so long)
Any suggestions?


"To be a Spartan is to be a philosopher much more than to be an athlete."
Plato, the <i>Protagoras</i>, 342e-343a

Offline

#2 2004-06-07 18:29:15

mig
Member
From: Richmond, VA
Registered: 2004-04-18
Posts: 33

Re: redhat-artwork compile problems

This is a nasty task.  Have you given it up?  I am trying to wade through it right now, perhaps we could work together.

Offline

#3 2004-06-07 19:46:57

contrasutra
Member
From: New Jersey
Registered: 2003-07-26
Posts: 507

Re: redhat-artwork compile problems

It compiled fine on GCC 3.3.x, so I assume it's because of GCC 3.4.0. I don't know how to solve the problem though. tongue


"Contrary to popular belief, penguins are not the salvation of modern technology.  Neither do they throw parties for the urban proletariat."

Offline

#4 2004-06-08 06:31:48

mig
Member
From: Richmond, VA
Registered: 2004-04-18
Posts: 33

Re: redhat-artwork compile problems

Ok, I've made a nice little redhat-artwork package, the only thing I really don't like about it, is that you can not choose between gnome/gtk or kde/qt, it needs both.  I don't really have the know-how to hack to configuration scripts like that, altough I am trying.

BTW, if anyone wants the PKGBUILD I will post.

Offline

#5 2004-06-08 09:12:25

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

Re: redhat-artwork compile problems

this seems to be a gcc 3.4 issue [maybe you should google for a patch in the source of redhat-artwork that will make the sources gcc 3.4 -compatible]

mig, what did you change [maybe you compile with gcc 3.3?]
post the PKGBUILD
{i didn't quite well understood, but Redhat's artwork is mostly know in GNOME so just cut KDE off}

Offline

#6 2004-06-08 20:18:57

mig
Member
From: Richmond, VA
Registered: 2004-04-18
Posts: 33

Re: redhat-artwork compile problems

I am using gcc-3.4.0

Here is the pkgbuild, you will need rpmunpack to use it:

pkgname=redhat-artwork
pkgver=0.96
pkgrel=1
makedepends=('icon-slicer')
pkgdesc="Redhat Artwork (Bluecurve) for GTK1/2 and QT/KDE"
depends=('gtk2' 'gtk' 'qt' 'kdelibs' 'gdk-pixbuf' 'kdebase')
source=(http://download.fedora.redhat.com/pub/fedora/linux/core/development/SRPMS/redhat-artwork-0.96-1.src.rpm)

build() {
  cd $startdir/src
  rpmunpack $pkgname-$pkgver-1.src.rpm
  gzip -dc $pkgname-$pkgver-1.cpio.gz | cpio -i
  tar -zxf $pkgname-$pkgver.tar.gz

  cd $pkgname-$pkgver

  ./configure --prefix=/usr --with-qt-dir=/opt/qt
  make || return 1
  make DESTDIR=$startdir/pkg install
}

In my opinion, this is a dodgy way to do things.  I would like, in the future, to have seperate KDE and GNOME packages.  Also, I have not looked into the precompiled rpm's, will do that tonight.

Lemme know if you need the icon-slicer PKGBUILD

Offline

#7 2004-06-08 23:07:01

famavolat
Member
From: Louisville, KY
Registered: 2003-09-22
Posts: 80
Website

Re: redhat-artwork compile problems

mig wrote:

Lemme know if you need the icon-slicer PKGBUILD

pkgname=icon-slicer
pkgver=0.3
pkgrel=1
pkgdesc="icon-slicer is a utility for generating icon themes and libXcursor cursor themes."
url="http://freedesktop.org/Software/icon-slicer"
source=(http://freedesktop.org/Software/icon-slicer/releases/$pkgname-$pkgver.tar.gz)
md5sums=(5c5374d4f265b0abe4daef1d03f87104)

build() {
  cd $startdir/src
  tar -zxf $pkgname-$pkgver.tar.gz
  cd $pkgname-$pkgver
  ./configure --prefix=/usr
  make || return 1
  make prefix=$startdir/pkg/usr install
}

Does this look right?

Edit: I couldn't get the redhat-artwork package to work untill I installed perlxml. sad
And for some odd reason everything is working but the bluecurve window border.

Offline

#8 2004-06-09 02:57:08

mig
Member
From: Richmond, VA
Registered: 2004-04-18
Posts: 33

Re: redhat-artwork compile problems

famavolat wrote:
mig wrote:

Lemme know if you need the icon-slicer PKGBUILD

pkgname=icon-slicer
pkgver=0.3
pkgrel=1
pkgdesc="icon-slicer is a utility for generating icon themes and libXcursor cursor themes."
url="http://freedesktop.org/Software/icon-slicer"
source=(http://freedesktop.org/Software/icon-slicer/releases/$pkgname-$pkgver.tar.gz)
md5sums=(5c5374d4f265b0abe4daef1d03f87104)

build() {
  cd $startdir/src
  tar -zxf $pkgname-$pkgver.tar.gz
  cd $pkgname-$pkgver
  ./configure --prefix=/usr
  make || return 1
  make prefix=$startdir/pkg/usr install
}

Does this look right?

Edit: I couldn't get the redhat-artwork package to work untill I installed perlxml. sad
And for some odd reason everything is working but the bluecurve window border.

That PKGBUILD is fine.  The thing about the window borders, they need to be located in the /opt/gnome/share/themes directory.  I will fix this tonight.

Offline

#9 2004-06-09 03:54:47

mig
Member
From: Richmond, VA
Registered: 2004-04-18
Posts: 33

Re: redhat-artwork compile problems

Ok, here it is:


redhat-artwork PKGBUILD:

pkgname=redhat-artwork
pkgver=0.96
pkgrel=1
makedepends=('icon-slicer')
pkgdesc="Redhat Artwork (Bluecurve) for GTK1/2 and QT/KDE"
depends=('gtk2' 'gtk' 'qt' 'kdelibs' 'gdk-pixbuf' 'kdebase')
install=redhat-artwork.install
source=(http://download.fedora.redhat.com/pub/fedora/linux/core/development/SRPMS/redhat-artwork-0.96-1.src.rpm)

build() {
  cd $startdir/src
  rpmunpack $pkgname-$pkgver-1.src.rpm
  gzip -dc $pkgname-$pkgver-1.cpio.gz | cpio -i
  tar -zxf $pkgname-$pkgver.tar.gz

  cd $pkgname-$pkgver

  ./configure --prefix=/usr --with-qt-dir=/opt/qt
  make || return 1
  make DESTDIR=$startdir/pkg install
}

and here is the install script:

redhat-artwork.install

# move metacity Bluecurve themes to proper place

post_install() {
 mkdir /opt/gnome/share/themes/Bluecurve
 mv /usr/share/themes/Bluecurve/metacity-1 /opt/gnome/share/themes/Bluecurve/
 mv /usr/share/themes/Bluecurve-classic /opt/gnome/share/themes/

 /bin/true
}

post_remove() {

 rm -rf /opt/gnome/share/themes/Bluecurve
 rm -rf /opt/gnome/share/themes/Bluecurve-classic

 /bin/true
}

op=$1
shift
$op $*

Try this out, it works for me.

Offline

#10 2004-06-09 03:55:16

mig
Member
From: Richmond, VA
Registered: 2004-04-18
Posts: 33

Re: redhat-artwork compile problems

...

Offline

#11 2004-06-09 06:23:16

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: redhat-artwork compile problems

Why can't you do that moving within the PKGBUILD?  It looks like there's nothing magical that you're doing.


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

#12 2004-06-09 06:31:34

mig
Member
From: Richmond, VA
Registered: 2004-04-18
Posts: 33

Re: redhat-artwork compile problems

Xentac wrote:

Why can't you do that moving within the PKGBUILD?  It looks like there's nothing magical that you're doing.

What about the removal of the directories once one wants to remove the package?

Offline

#13 2004-06-09 06:37:10

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: redhat-artwork compile problems

If you directories exist inside the package, then pacman will remove them like normal.

I didn't want to actually have to write out the lines, but thus:

mkdir $startdir/pkg/opt/gnome/share/themes/Bluecurve

mv $startdir/pkg/usr/share/themes/Bluecurve/metacity-1 $startdir/pkg/opt/gnome/share/themes/Bluecurve/

mv $startdir/pkg/usr/share/themes/Bluecurve-classic $startdir/pkg/opt/gnome/share/themes/

You're not doing anything "special" by copying the files.  To makepkg there's no difference where the files come from, they're just packaged up like everything else.


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

#14 2004-06-09 07:22:44

mig
Member
From: Richmond, VA
Registered: 2004-04-18
Posts: 33

Re: redhat-artwork compile problems

Xentac wrote:

If you directories exist inside the package, then pacman will remove them like normal.

I didn't want to actually have to write out the lines, but thus:

mkdir $startdir/pkg/opt/gnome/share/themes/Bluecurve

mv $startdir/pkg/usr/share/themes/Bluecurve/metacity-1 $startdir/pkg/opt/gnome/share/themes/Bluecurve/

mv $startdir/pkg/usr/share/themes/Bluecurve-classic $startdir/pkg/opt/gnome/share/themes/

You're not doing anything "special" by copying the files.  To makepkg there's no difference where the files come from, they're just packaged up like everything else.

Hey man, we are all learning here.  Thank you for the information.

Here is the new PKGBUILD:

pkgname=redhat-artwork
pkgver=0.96
pkgrel=1
makedepends=('icon-slicer')
pkgdesc="Redhat Artwork (Bluecurve) for GTK1/2 and QT/KDE"
depends=('gtk2' 'gtk' 'qt' 'kdelibs' 'gdk-pixbuf' 'kdebase')
source=(http://download.fedora.redhat.com/pub/fedora/linux/core/development/SRPMS/redhat-artwork-0.96-1.src.rpm)

build() {
  cd $startdir/src
  rpmunpack $pkgname-$pkgver-1.src.rpm
  gzip -dc $pkgname-$pkgver-1.cpio.gz | cpio -i
  tar -zxf $pkgname-$pkgver.tar.gz

  cd $pkgname-$pkgver

  ./configure --prefix=/usr --with-qt-dir=/opt/qt
  make || return 1
  make DESTDIR=$startdir/pkg install

  mkdir -p $startdir/pkg/opt/gnome/share/themes/Bluecurve
  mv $startdir/pkg/usr/share/themes/Bluecurve/metacity-1 $startdir/pkg/opt/gnome/share/themes/Bluecurve/
  mv $startdir/pkg/usr/share/themes/Bluecurve-classic $startdir/pkg/opt/gnome/share/themes/
}

Offline

#15 2004-06-09 08:30:41

mig
Member
From: Richmond, VA
Registered: 2004-04-18
Posts: 33

Re: redhat-artwork compile problems

Would it be worth it to use a precompiled rpm file and just do some directory copying instead of useing the source rpm to compile?  It would be easier to seperate a KDE and GNOME version I think.

Offline

#16 2004-06-09 14:59:11

famavolat
Member
From: Louisville, KY
Registered: 2003-09-22
Posts: 80
Website

Re: redhat-artwork compile problems

Wow. Thanks again... I have been looking for a way to get this theme on arch for awhile. If you need any help doing a KDE and Gnome version I would be glad to help.  wink

Offline

#17 2004-08-06 19:22:55

madhattr
Member
Registered: 2004-05-12
Posts: 39

Re: redhat-artwork compile problems

i justed tryed to compile this and it didnt work the link for redhat-artwork is too old

Offline

#18 2004-08-06 20:39:54

madhattr
Member
Registered: 2004-05-12
Posts: 39

Re: redhat-artwork compile problems

mig wrote:

BTW, if anyone wants the PKGBUILD I will post.

Yes if you could send me the packagebuild for Redhat-artwork that would be great
madhattr@linuxmail.org

Offline

#19 2004-08-08 19:13:49

Abaddon
Member
From: Poland
Registered: 2004-05-03
Posts: 249

Re: redhat-artwork compile problems

Is there any chance to install artwork only for qt without gtk? (I don't have gtk* installed on my system and I don't want to).


Gnome - The weakest link!
Linux, *not* GNU/Linux!

Offline

#20 2004-08-08 19:35:07

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: redhat-artwork compile problems

no, RPMs are binary, and they fuck up with other versions of GTK or QT. If you want to make KDE or Gnome packages, create two copies of your PKGBUILD, in one of them, set gtk2 as makedepend and qt as depend, and then rm -rf the gtk part from it after the make install part. Same goes for the other way around.

Offline

#21 2004-08-12 22:21:05

hypermegachi
Member
Registered: 2004-07-25
Posts: 311

Re: redhat-artwork compile problems

grep: /usr/lib/libGL.la: No such file or directory
/usr/bin/sed: can't read /usr/lib/libGL.la: No such file or directory
libtool: link: `/usr/lib/libGL.la' is not a valid libtool archive
make[6]: *** [kwin3_bluecurve.la] Error 1
make[6]: Leaving directory `/var/abs/local/bluecurve/src/redhat-artwork-0.97/art/kde/kwin/Bluecurve'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/var/abs/local/bluecurve/src/redhat-artwork-0.97/art/kde/kwin/Bluecurve'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/var/abs/local/bluecurve/src/redhat-artwork-0.97/art/kde/kwin'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/abs/local/bluecurve/src/redhat-artwork-0.97/art/kde'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/abs/local/bluecurve/src/redhat-artwork-0.97/art'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/abs/local/bluecurve/src/redhat-artwork-0.97'
make: *** [all-recursive-am] Error 2
==> ERROR: Build Failed.  Aborting...

those are the error messages i get....anyone got any hints?  thanks.

EDIT:

fix is here: http://bbs.archlinux.org/viewtopic.php? … t=libgl+la[/b]

Offline

#22 2004-08-16 10:03:15

Matt3030
Member
From: Victoria, BC
Registered: 2004-08-13
Posts: 12

Re: redhat-artwork compile problems

Hey there.. I created the package and it appears to install correctly but It only seems to install the gtk and gtk2 themes.. the qt isn't installing for me. Does anybody have an insight as to why this might be?

Offline

#23 2004-08-17 06:53:32

famavolat
Member
From: Louisville, KY
Registered: 2003-09-22
Posts: 80
Website

Re: redhat-artwork compile problems

Matt3030 wrote:

Hey there.. I created the package and it appears to install correctly but It only seems to install the gtk and gtk2 themes.. the qt isn't installing for me. Does anybody have an insight as to why this might be?

It's probably not installing the qt theme correctly (obviously). I'm looking into this package again. I will post what I come up with.

Edit:

pkgname=icon-slicer
pkgver=0.3
pkgrel=1
pkgdesc="icon-slicer is a utility for generating icon themes and libXcursor cursor themes."
url="http://freedesktop.org/Software/icon-slicer"
source=(http://freedesktop.org/Software/icon-slicer/releases/$pkgname-$pkgver.tar.gz)
md5sums=(5c5374d4f265b0abe4daef1d03f87104)

build() {
  cd $startdir/src
  tar -zxf $pkgname-$pkgver.tar.gz
  cd $pkgname-$pkgver
  ./configure --prefix=/usr
  make || return 1
  make prefix=$startdir/pkg/usr install
}pkgname=icon-slicer
pkgname=redhat-artwork
pkgver=0.96
pkgrel=1
makedepends=('icon-slicer' 'perlxml')
pkgdesc="Redhat Artwork (Bluecurve) for GTK1/2 and QT/KDE"
depends=('gtk2' 'gtk' 'qt' 'kdelibs' 'gdk-pixbuf' 'kdebase')
source=(ftp://download.fedora.redhat.com/pub/fedora/linux/core/2/SRPMS/redhat-artwork-0.96-1.src.rpm)
md5sums=(e47ff1e725236159f975d8a46ef6e359)

build() {
  cd $startdir/src
  rpmunpack $pkgname-$pkgver-1.src.rpm
  gzip -dc $pkgname-$pkgver-1.cpio.gz | cpio -i
  tar -zxf $pkgname-$pkgver.tar.gz

  cd $pkgname-$pkgver

  ./configure --prefix=/usr --with-qt-dir=/opt/qt
  make || return 1
  make DESTDIR=$startdir/pkg install

  mkdir -p $startdir/pkg/opt/gnome/share/themes/Bluecurve
  mv $startdir/pkg/usr/share/themes/Bluecurve/metacity-1 $startdir/pkg/opt/gnome/share/themes/Bluecurve/
  mv $startdir/pkg/usr/share/themes/Bluecurve-classic $startdir/pkg/opt/gnome/share/themes/
}

These two will get the GTK side working but I'm not sure about Qt yet. It's acting kinda strange. It looks like everything installs correctly but as you can see it's not showing up in kde control center.

Edit2:
From what I can tell it's not packaging the qt, kde or xmms parts of the package. Hmm.. the hole gets deeper..
I think there is something fundamentally wrong with the makefile that's being built. I can't find the cause of the problem just yet. And now it's time to sack out till tomorrow. Signing off...

Offline

#24 2004-08-17 19:56:26

Matt3030
Member
From: Victoria, BC
Registered: 2004-08-13
Posts: 12

Re: redhat-artwork compile problems

Ok cool.. good to know it's not just me. Thanks for looking into it again. I'd really love to have a unified desktop and gtk-qt-themer doesn't do it for me as it is right now.

Offline

#25 2004-09-07 02:49:26

mig
Member
From: Richmond, VA
Registered: 2004-04-18
Posts: 33

Re: redhat-artwork compile problems

This is a PKGBUILD for the newest redhat-artwork:

pkgname=redhat-artwork
pkgver=0.98
pkgrel=2
makedepends=('icon-slicer')
pkgdesc="Redhat Artwork (Bluecurve) for GTK1/2 and QT/KDE"
depends=('gtk2' 'gtk' 'qt' 'kdelibs' 'gdk-pixbuf' 'kdebase')
source=(http://download.fedora.redhat.com/pub/fedora/linux/core/development/SRPMS/redhat-artwork-0.98-1.src.rpm)

build() {
  cd $startdir/src
  rpmunpack $pkgname-$pkgver-1.src.rpm
  gzip -dc $pkgname-$pkgver-1.cpio.gz | cpio -i
  tar -zxf $pkgname-$pkgver.tar.gz

  cd $pkgname-$pkgver

  ./configure --prefix=/usr --with-qt-dir=/opt/qt
  make || return 1
  make DESTDIR=$startdir/pkg install

  mkdir -p $startdir/pkg/opt/gnome/share/themes/Bluecurve
  mv $startdir/pkg/usr/share/themes/Bluecurve/metacity-1 $startdir/pkg/opt/gnome/share/themes/Bluecurve/
  mv $startdir/pkg/usr/share/themes/Bluecurve-classic $startdir/pkg/opt/gnome/share/themes/
} 

Enjoy!

Offline

Board footer

Powered by FluxBB