KPager2 for Kicker

Various KDE 1.-4. Improvements

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

1
5.0
Available as/for: -
Description:

This is probably the most powerful pager on linux - yes it is a kicker applet! Check out the screenshot and help file for explanations.

///------#################-----
--------------------PATIENCE!-------------------
------#################-----///

Kicker of KDE 3.4 seems to have problems loading this applet. If you really want to test the applet, either
o kill kicker after starting KDE, wait until kicker is restarted and add kpager2, or
o start appletproxy /opt/kde3/share/apps/kicker/applets/kpager2.desktop

We are working on this.
KDE3.4 users! - Stay tuned.
KDE3.3 users! - Have fun! :)

PLEASE! -----------------------
For all of you experiencing this problem, give me you Versions of:
KDE, Qt, gcc, distribution.
thanks

------#################-----///


Installation:
=====================
untar kpager2-0.6.0.tar.bz2 and goto kpager2
make -f Makefile.cvs
./configure
make
su
make install
in kicker: right click menu -> Add -> Applet -> KPager2

Compilation Problems:
=====================
There might be some issues with the system clock. Since my computer believes a day has 19 hours, the file modification times are wrong and must be set by yourself before compiling. Do:
o find . -print -exec touch {} ;
Remove the autom4te.cache directory in case you don't use automake 1.7.

Packages:
=====================
o SuSE RPM's (thanks to Loki):
http://ftp.gwdg.de/pub/linux/misc/suser-guru/rpm/packages/Utilities/kpager2/
Last changelog:

16 years ago

0.6.0a
o repackaged
o a warning message

0.6.0
o new: 3ddesktop
o new: global key accelerators for 3d desktop switching
o new: "Show Only One Desktop" mode redesigned, getting scroll buttons (supporting dragndrop)
o new: a powerful midMouseButton, clipboard contents is inserted as an URL or command and executed!
o fix: redesigned config dialog
o fix: task menu considers NET::SkipTaskBar instead of NET::SkipPager (can't close/move kuake, kicker...)
o fix: task menu item sizes adjustable
o fix: graphics
o fix: animation sizes: wrong thumbnail sizes in single desktop mode

0.5.2 - fixes
o crash at rmb menu
o increased zoom factors
o 'dynamic' animations follow KControl (enabled?)
o removed a few disturbing assert()'s
o improved pixmap quality during animation

0.5.1 - stable?
o NEW: themes 'shadow', 'simple elegance'
o NEW: new frame style: Plain
o NEW: application launcher configurable
o FIX: Speedup: Double buffering!

o fix: URL dragging to desktop "1" will work now
o fix: Wrong position for shift animation in case of a corner widget
o fix: Why did animations pop up in 'show no windows' mode?
o fix: Text should generally appear ON windows, not behind
o fix: Rmb menu didn't close at all times when submenus were activated
o fix: Shift animation widget closes on leave event

rjmbos

16 years ago

Remove the directory autom4te.cache
and run configure again.

Report

brent

16 years ago

Started with a fresh extract, removed the directory, ran configure, ran make.

Make seems to run some normal make stuff, then runs ./configure, then back to make, then configure, then make... Did it about 5 times before I stopped it.

Hmmm :/

Report

IlMaz

16 years ago

I had the same problem....

Try this:
unpack the archive
go in the unpacked directory and type

find . -print -exec touch {} \;

(this will fix date issues wich are critical for make to work)

as stated by rjmbos go in the src directory and
"remove the files kpagermainwin* and
the references in the Makefile and 1
in main.cpp."

configure and make as usual....

Report

brent

16 years ago

Thanks, it worked :)

Had to remove the kpagermain* stuff in kpager2/src/Makefile after running config though.

Report

brent

16 years ago

Same as above. Same error, same OS and KDE version.

Report

rjmbos

16 years ago

I get the following build error:

SOURCES/kpager2-0.5.0/kpager2/src> make
if /bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I.-I. -I.. -I/opt/kde3/include -I/usr/lib/qt3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -MT kpagermainwin.moc.lo -MD -MP -MF ".deps/kpagermainwin.moc.Tpo" \
-c -o kpagermainwin.moc.lo `test -f 'kpagermainwin.moc.cpp' || echo './'`kpagermainwin.moc.cpp; \
then mv -f ".deps/kpagermainwin.moc.Tpo" ".deps/kpagermainwin.moc.Plo"; \
else rm -f ".deps/kpagermainwin.moc.Tpo"; exit 1; \
fi
kpagermainwin.moc.cpp:22: error: syntax error before `::' token
kpagermainwin.moc.cpp:27: error: syntax error before `::' token
kpagermainwin.moc.cpp:28: error: `KPagerMainWindow' was not declared in this
scope
kpagermainwin.moc.cpp:28: error: syntax error before `::' token
kpagermainwin.moc.cpp:31: error: syntax error before `::' token
kpagermainwin.moc.cpp:39: error: syntax error before `::' token
kpagermainwin.moc.cpp:50: error: syntax error before `::' token
kpagermainwin.moc.cpp:59: error: ISO C++ forbids declaration of `metaObj' with
no type
kpagermainwin.moc.cpp:67: error: invalid conversion from `QMetaObject*' to `int
'
kpagermainwin.moc.cpp:68: error: syntax error before `.' token
kpagermainwin.moc.cpp:72: error: syntax error before `::' token
kpagermainwin.moc.cpp:81: error: syntax error before `::' token
kpagermainwin.moc.cpp:91: error: syntax error before `::' token
kpagermainwin.moc.cpp:97: error: syntax error before `::' token
kpagermainwin.moc.cpp:102: error: syntax error before `::' token
kpagermainwin.moc.cpp:28: warning: `QMetaObjectCleanUp
cleanUp_KPagerMainWindow(...)' declared `static' but never defined
make: *** [kpagermainwin.moc.lo] Error 1

I have been able to successfully build the previous version (0.4.1). So it
must be something in the new code.

Though the changes for kpagermainwin are not big:

pager> diff kpager2-0.4.1/kpager2/kpagermainwin.cpp kpager2-0.5.0/kpager2/src/
20a21,24
> #include "version.h"
>
> #ifndef KPAGER_IS_APPLET
>
163c167
<
---
> #endif

and
pager> diff kpager2-0.4.1/kpager2/kpagermainwin.h kpager2-0.5.0/kpager2/src/
20a21,24
> #include "version.h"
>
> #ifndef KPAGER_IS_APPLET
>
59a64,65
> #endif
>

Does anyone have an idea for a solution?

Report

C

lucher

16 years ago

The files kpagermainwin.* are obsolete. The class is still provided for the case that I want to make kpager2 a standalone app again (and I will need it then).

Either you remove the moc file and run autotools again, or just remove the files from the project.

Best regards

Report

rjmbos

16 years ago

I removed the files kpagermainwin* and
the references in the Makefile and 1
in main.cpp. After that the build
finished successfully. It's super to
have the pager with this style and
functionality integrated in kicker!

Can't you build a binary from the lib you have now, For those that want to have kpager living outside kicker?

Report

gnumdk

16 years ago

Can't locate object method "path" via package "Request" at /usr/share/autoconf/Autom4te/C4che.pm line 69, line 111.

Report

rjmbos

16 years ago

Remove the directory autom4te.cache
and run configure again. This works
for me...

Report

japc

16 years ago

Hey, lucher,

pls, check your system clock :)

Keep up the good work.

Report

brent

16 years ago

Yeah, I get the same error when I run ./configure

checking whether build environment is sane... configure: error: newly created file is older than distributed files!
Check your system clock

Report

redrat

16 years ago

for FILE in `find . -name '*'`; do touch $FILE; done

should help.

red

Report

bardack

16 years ago

When I try to compile Kpager2 0.4.1 make fails at the beginning...

cd . && /bin/sh /home/bardack/download/themes/kde/improvements/kpager2-0.4.1/admin/missing --run aclocal-1.7
cd . && \
/bin/sh /home/bardack/download/themes/kde/improvements/kpager2-0.4.1/admin/missing --run automake-1.7 --foreign Makefile
Can't locate object method "path" via package "Request" at /usr/share/autoconf/Autom4te/C4che.pm line 69, line 111.
configure.in: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.in: You should verify that configure.in invokes AM_INIT_AUTOMAKE,
configure.in: that aclocal.m4 is present in the top-level directory,
configure.in: and that aclocal.m4 was recently regenerated (using aclocal).
configure.in: required file `./install-sh' not found
configure.in: required file `./mkinstalldirs' not found
configure.in: required file `./missing' not found
Makefile.am:30: unused variable: `_SOURCES'
make: *** [Makefile.in] Error 1

Any hints?

Bye bye.

Francesco

Report

C

lucher

16 years ago

Sorry, I don't :(

Try to open the kdevelop project and use the reconfigure tools.

Or just create a new project and add all source files in directory /kpager2.

just an idea

Report

rjmbos

16 years ago

It is not possible to download the 0.4 version. Server error??

Report

C

lucher

16 years ago

works fine for me...

Report

rjmbos

16 years ago

It was a server indeed. I can download it now too. The make fails however;

SOURCES/kpager2-0.4.0/admin/missing --run aclocal-1.7
/home/richard/packages/SOURCES/kpager2-0.4.0/admin/missing: line 46: aclocal-1.7: command not found
WARNING: `aclocal-1.7' is missing on your system. You should only need it if
you modified `acinclude.m4' or `configure.in'. You might want
to install the `Automake' and `Perl' packages. Grab them from
any GNU archive site.
cd . && \
/bin/sh /home/richard/packages/SOURCES/kpager2-0.4.0/admin/missing --run automake-1.7 --foreign Makefile
/home/richard/packages/SOURCES/kpager2-0.4.0/admin/missing: line 46: automake-1.7: command not found
WARNING: `automake-1.7' is missing on your system. You should only need it if
you modified `Makefile.am', `acinclude.m4' or `configure.in'.
You might want to install the `Automake' and `Perl' packages.
Grab them from any GNU archive site.
cd . && perl admin/am_edit Makefile.in
cd . && /bin/sh /home/richard/packages/SOURCES/kpager2-0.4.0/admin/missing --run autoconf
Can't locate object method "path" via package "Request" at /usr/share/autoconf/Autom4te/C4che.pm line 69, line 111.
make: *** [configure] Error 1

I did not have such problems with the previous version.

Report

C

lucher

16 years ago

ouch! (again)

It worked fine for me. Since this problem occured the first time I do a test, extract the archive in a directory, named randomly, and run ./configure.

Try 0.4.1

Best regards
Sebastian

Report

rjmbos

16 years ago

How do you guys compile this application? I got some errors even
before starting to compile :(

Unpacking gives:
SOURCES> tar xfj kpager2-0.3.2.tar.bz2
tar: kpager2/kpager2/config.cpp: time stamp 2004-09-15 11:19:23 is 397751 s in the future
tar: kpager2/kpager2/config.h: time stamp 2004-09-15 10:38:30 is 395298 s in the future
...
tar: kpager2/kpager2/Makefile.in: time stamp 2004-09-14 11:20:23 is 311411 s inthe future
tar: kpager2/ChangeLog: time stamp 2004-09-15 11:30:42 is 398430 s in the future

SOURCES> ls -l kpager2/kpager2/Makefile.in kpager2/ChangeLog
-rw-r--r-- 1 richard users 4512 2004-09-15 11:30 kpager2/ChangeLog
-rw-r--r-- 1 richard users 34037 2004-09-14 11:20 kpager2/kpager2/Makefile.in


A touch of those files solved that issue..

There are some broken links in kpager2/kpager2, the broken links are:
./panner.cpp -> share/panner.cpp
./panner.h -> share/panner.h
./taskcontainer.cpp -> share/taskcontainer.cpp
./taskcontainer.h -> share/taskcontainer.h
./tasklmbmenu.cpp -> share/tasklmbmenu.cpp
./tasklmbmenu.h -> share/tasklmbmenu.h
./taskmanager.cpp -> share/taskmanager.cpp
./taskmanager.h -> share/taskmanager.h
./taskrmbmenu.cpp -> share/taskrmbmenu.cpp
./taskrmbmenu.h -> share/taskrmbmenu.h


configure says:
SOURCES/kpager2> ./configure
configure: error: cannot find sources (acinclude.m4) in . or ..

and autoreconf -f -i says:
kpager2> autoreconf -f -i says
autoreconf: cannot chdir to says: No such file or directory
/usr/share/aclocal/avifile.m4:21: warning: underquoted definition of AM_PATH_AVIFILE
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/automake.html#Extending%20aclocal
aclocal: configure.in: 54: macro `AM_KDE_WITH_NLS' not found in library
autoreconf: aclocal failed with exit status: 1


I think something is not good....
Oh and I have the following packages installed:
kdebase3-devel-3.3.0-8
qt3-devel-3.3.3-11
kdepim3-devel-3.3.0-18
qt3-3.3.3-11
kdelibs3-devel-3.3.0-14


--
Richard

Report

C

lucher

16 years ago

I've uploaded the latest development snapshot from today.

Just do the following:

Ignore wrong dates and times.
Skip wrong files when you extract.
Copy files from kpager2/share to kpager2.

./configure
make

It seems that the packaging tool of kdevelop3.1 changed. Really funny. With each major release kdevelop becomes more unusable. (I upgraded last week). Today I wanted to change the development directory from kpager2-0.3.2 to kpager2-0.3.3. It took me 4 hours to repair the Autmake options and other project files. I simply don't know what they are doing. Even removing files from the project doesn't work properly. KDevelop just forgot to put the necessary files into the tar (or both of us are expected to be linux-newbies).

Best regards

Report

rjmbos

16 years ago

Much better! And it works rather
well too. It sometimes hangs, while
firing an assert:
KPager: received SIGNAL(KApplication::backgroundChanged(int==6)) with KBackgroundIface->isCommon()==1
KPager: received SIGNAL(KApplication::backgroundChanged(int==4)) with KBackgroundIface->isCommon()==1
ASSERT: "i <= nodes" in /usr/lib/qt3/include/qvaluelist.h (372)

Looking forward to the version that
can be integrated with kicker.

Report

C

lucher

16 years ago

Thanks

The ASSERT seems to appear whenever a window has been closed, but only sometimes. As long as I couldn't find its origin (and I am seeking for its origin since version 0.2) I can't integrate it into an important app like kicker since it would block kicker, too.

Report

rjmbos

16 years ago

Perhaps you can add an --enable-debug option to configure? It just happened
to me again, while I as actually not doing anything with the pager. Just let it print what it is doing. Perhaps it easier to catch what goes wrong this way?

Report

C

lucher

16 years ago

Resolved!

I produced an output of 10k, just to follow all function calls and returns - but now I got it - hopefully.

Please, go on with testing. I want to make it perfectly stable before the kicker port.

Report

16 years ago

0.6.0a
o repackaged
o a warning message

0.6.0
o new: 3ddesktop
o new: global key accelerators for 3d desktop switching
o new: "Show Only One Desktop" mode redesigned, getting scroll buttons (supporting dragndrop)
o new: a powerful midMouseButton, clipboard contents is inserted as an URL or command and executed!
o fix: redesigned config dialog
o fix: task menu considers NET::SkipTaskBar instead of NET::SkipPager (can't close/move kuake, kicker...)
o fix: task menu item sizes adjustable
o fix: graphics
o fix: animation sizes: wrong thumbnail sizes in single desktop mode

0.5.2 - fixes
o crash at rmb menu
o increased zoom factors
o 'dynamic' animations follow KControl (enabled?)
o removed a few disturbing assert()'s
o improved pixmap quality during animation

0.5.1 - stable?
o NEW: themes 'shadow', 'simple elegance'
o NEW: new frame style: Plain
o NEW: application launcher configurable
o FIX: Speedup: Double buffering!

o fix: URL dragging to desktop "1" will work now
o fix: Wrong position for shift animation in case of a corner widget
o fix: Why did animations pop up in 'show no windows' mode?
o fix: Text should generally appear ON windows, not behind
o fix: Rmb menu didn't close at all times when submenus were activated
o fix: Shift animation widget closes on leave event

12345678910
Be the first to comment
WOteB2
Mar 26 2010
File (click to download) Version Description PackagetypeArchitecture Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.6.0a
updated Mar 31 2005
added Jul 23 2003
downloads 24h
0
mediaviews 24h 0
pageviews 24h 1