Kwinacqua_Mod

KDE 3.x Window Decorations

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
5 .0
Description:

11/04/2002:

A few new alterations (See screenshoot 2)

1) The right hand button has now been made wider.

2) The title bar font now has a subtle drop shadow

3) You can choose if you want the bottom edges rounded (Edit the acqua/Acqua.cpp file, and alter the #undef BOTTOMROUNDED to #def to enable these.)

4) The edge of the window is not black, it is now grey, which makes it softer.

Were looking into ways of making this deco have some form of transparency when inactive.... Any ideas and sugestions will be very much appreciated! Please post them here if you do.

PS: If you wish to use the deco from screenshot 1, please download from: http://www.thormedia.co.uk/linux/decorations/kwinaqua_mod.tgz

10/23/2002:

This decoration was initially created by Mr. James Liu, and has been modifed by M.J.Soto.

This version has all corners rounded, and the Close, Min, Max buttons are located on the left side of the window. Also the GTK mouse pointer bug has now been fixed.

Please read the following carefully to install (Tried and tested on SuSE 8.1, with KDE 3.0.4 and QT-3.0.5):

1) Download and extract the decoration
2) CD in to the kwinacqua_mod directory
3) ./configure --prefix=/opt/kde3 --includedir=/opt/kde3/include --with-qt-includes=/usr/lib/qt-3.0.5/include/ --with-qt-libraries=/usr/lib/qt-3.0.5/lib --with-extra-includes=/opt/kde3/include

(NB: Those are the ones working on SuSE 8.1. Set the above to the correct locations of KDE headers an QT, and NOT as root, just user)

4) cd acqua/
5) rm *.moc
6) for i in *.h; do moc -o `basename $i .h`.moc $i; done
6) edit the Makefile
7) replace ALL instances of kde2 with kde3
8) save out the Makefile
9) make (as user)
10) su (this will then prompt you for root password)
11) make install
12) exit

You should now be back to normal user, exit again, and restart KDE.

When restarted, goto Control Center -> Look and Feel -> Windows Decoration, and choose Acqua.

Enjoy!

manor

18 years ago

! YEAHHHHHHHHHHH !

Puhhhh ! After a lot of pain i got it !

I had problems (see above) to compile this decoration.

I tried everything: Found alternative
old gcc 2.95 for 8.1 from SuSE. Then i had the problem
"qt >= 2.2.2 not foun/usr/lib/gcc-lib/i486-suse-linux/3.2/d". --enable-mt didn't help me.

Last thing i made (and that worked !)
I symlinked every file that config.log wasn't able to find

example: /usr/lib/gcc-lib/i486-suse-linux/3.2/cpp0
to /usr/bin
and /usr/lib/gcc-lib/i486-suse-linux/3.2/crtbegin.o to /usr/lib

after 7 or 8 files i had enough ! Config.log wanted every object file out of
/usr/lib/gcc-lib/i486-suse-linux/3.2/ !

So i exported this path as LD_Library Path and the gcc check from configure
didn't say "... C++ compiler cannot create executables." anymore.

The only problem now was that the qt libs were not found. Believe me i had it already
in my ld.so.conf and exported it as QTDIR.

Finally i tried "--enable-mt" and it worked !!!!

Now my question to users of SuSE 8.1:

Did your SuSE put /usr/lib/gcc-lib/i486-suse-linux/3.2/ in your LD_Library Path or
do you have symlinks in /usr/bin (cpp0) ?

It would help me a lot, because i want to repair it the proper way not as i did it.

Wow ! This decoration is it worth to do this ! :-)

Report

seblueye

18 years ago

Have problems with ,,compiling'' the .moc-files.

Can anybody send me the created .moc-files (STEP 6) from ./kwinacqua_mod/acqua directory?

Cauz Suse.Workstation hasn't moc?!

Thanx

Cya.
SeBluEye

Report

C

thormedia

18 years ago

I think you will find that moc is not in your path.

Either export it, or add it to your /etc/profile.

To find moc, do this:

find / -iname moc

Mine is in: /usr/lib/qt-3.0.5/bin/moc

Hope this sorts you out!

Report

manor

18 years ago

I want to use this decoration too.
Spent the whole night to read newsgroups - made symlinks from cpp to cpp0 - nothing helped.

Would someone with a SuSE 8.1
provide a rpm ?

buahahahahaha :(

Report

soto

18 years ago

looks like you never installed c++ suport! check your installation...

Report

manor

18 years ago

installed that my Distribution
provides under "Development".

I had no problems with dependencies
or something else.

Some apps compile fine.

Report

wizactive

18 years ago

I got that compiled, it complained bacouse I only have qt-3.0.5 but it worked fine after I removed exit from qt check in configure =)

Report

beorn

18 years ago

Somewhat unrelated, this, but wouldn't it be neat if the kicker had rounded corners too?

Report

soto

18 years ago

like it was an oval instead of a rectangle?

For one thing that would involve patching kicker; I'm not the right guy to ask!

Report

soto

18 years ago

Just to keep the record straight; this decoration is the happy child of Mr. James Liu.

I just played with it; added a couple of lines and deleted a couple of others. In a very crude manner too, since I'm not a programmer!

Report

manor

18 years ago

Hi thormedia !

Great work ! The screenshots look
very cool !!!

Alas, i am not able to compile it :-(

I use SuSE 8.1 too and have problems to compile a lot of programs that worked with 7.3 and gcc 2.95

It's every time the same problem:

checking for c++... c++
checking whether the C++ compiler (c++ ) works... no
configure: error: installation or configuration problem: C++ compiler cannot create executables.

But i was able to compile other programs like sim (kde icq messenger).

I opened config.log and here is what i have there:

configure:1201: checking whether we are using GNU C
configure:1210: gcc -E conftest.c
configure:1229: checking whether gcc accepts -g
configure:1294: checking for c++
configure:1326: checking whether the C++ compiler (c++ ) works
configure:1347: rm -rf SunWS_cache; c++ -o conftest conftest.C 1>&5
c++: installation problem, cannot exec `cpp0': No such file or directory
configure: failed program was:

#line 1342 "configure"
#include "confdefs.h"

int main(){return(0);}

Can anyone help me with my problem ?

Thanks in advance for help.

And thanks for kwinacqua_mod !

Report

kailed

18 years ago

HI,

[dan@karma ~ ] > rpm -qf /usr/lib/gcc-lib/i486-suse-linux/3.2/cpp0
cpp-3.2-36

Bye.

Report

manor

18 years ago

I had the same output cpp-3.2-36
in console.

It is installed.

Report

12345678910
product-maker Base: 4 x 5.0 Ratings
Be the first to comment
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
updated Nov 04 2002
added Oct 22 2002
downloads 24h
0
mediaviews 24h 0
pageviews 24h 0
System Tags linux unix