
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
Komics is a panel applet for KDE Desktop Environment. It is useful to get comics strips from internet: it warns you when strips are ready, opens them automatically and stores them on the disk if you wish.
16 years ago
1.4:
Minor bugfixes. Strips can be removed from fetch list without being dropped
from configuration panel (see "activated" option). Some new strips (Simon Vermeersch) added.
1.3:
Added support for HTTP Referrer header. KDE proxy settings are automatically
used when retrieving strips. When saving a strip the date numbers are padded
with leading zeroes (Oleg Kourapov). The application can be loaded in the system tray
(running the "komics" executable).
1.2:
Added support for multiple downloads for each strip. Added a simple DCOP interface. Added new scripts. Little UI enhancements were made.
1.1:
Little bugfixes. Added a "Autodownload when ready" and a "Play sound when ready" options. Added a new script.
1.0:
Left-click on the icon now stops processing. Icons for all kicker sizes were added. APPLY Button was added to configuration dialog. Other scripts were added. Right-click menu is shown "aligned" to kicker. A directory for configuration storing now is automatically created in ~/.kde if doesn't exists. Added a default configuration.
1.0rc2:
Some bugfixes on icon handling were made, and 2 new scripts were added (foxtrot.pl and userfrienly.pl - by Chris Quilley). Strips are singulary selectable through a right-click menu.
1.0rc1:
first release
16 years ago
1.4:
Minor bugfixes. Strips can be removed from fetch list without being dropped
from configuration panel (see "activated" option). Some new strips (Simon Vermeersch) added.
1.3:
Added support for HTTP Referrer header. KDE proxy settings are automatically
used when retrieving strips. When saving a strip the date numbers are padded
with leading zeroes (Oleg Kourapov). The application can be loaded in the system tray
(running the "komics" executable).
1.2:
Added support for multiple downloads for each strip. Added a simple DCOP interface. Added new scripts. Little UI enhancements were made.
1.1:
Little bugfixes. Added a "Autodownload when ready" and a "Play sound when ready" options. Added a new script.
1.0:
Left-click on the icon now stops processing. Icons for all kicker sizes were added. APPLY Button was added to configuration dialog. Other scripts were added. Right-click menu is shown "aligned" to kicker. A directory for configuration storing now is automatically created in ~/.kde if doesn't exists. Added a default configuration.
1.0rc2:
Some bugfixes on icon handling were made, and 2 new scripts were added (foxtrot.pl and userfrienly.pl - by Chris Quilley). Strips are singulary selectable through a right-click menu.
1.0rc1:
first release
markusk21
12 years ago
When I left-klick and choose a comic, komics seems to load or something. But nothing more happens.
In the strips configuration are always Strip name and Strip URL set. But nothing more. Execute, Save as and Referrer are empty. Is that correct?
Report
lengau
13 years ago
The main download for this is down, but you can still get it at
http://www.linuxsoft.cz/en/redirect.php?id_ldownload=11281
Alex
Report
bugi
15 years ago
You could also use following patch while installing komics:
--- src/scripts/dilbert.pl.orig 2005-02-02 14:01:25.964429648 +0100
+++ src/scripts/dilbert.pl 2005-02-02 14:02:55.788901068 +0100
@@ -5,7 +5,7 @@
our $url = 'http://www.dilbert.com';
our $prefix = 'http://www.dilbert.com';
-our $attr_value = 'Today\'s Dilbert Comic';
+our $attr_value = 'Today\'s Comic';
our $attr_name = 'alt';
our $regex = '';
Report
devriesz
16 years ago
#! /bin/bash
regexp='.*\(imggif.php?i=/upload/d[0-9]\{1,4\}.gif\).*'
main_url="http://www.foksuk.nl/"
img_url=$(wget -qO - $main_url | sed -n "[email protected][email protected]$main_url\[email protected]")
imgname=~/Cartoon_van_de_dag.gif
wget -qO $imgname "$img_url"
echo -n "$imgname" # outputs the path to the comic image, that will be enough for comics
*credits go to Aru (mandrakeusers.org) who has a solution for every problem :)*
Report
devriesz
16 years ago
#!/usr/bin/perl
use strict;
use warnings;
our $url = 'http://www.foksuk.nl';
our $prefix = 'http://www.foksuk.nl/';
our $attr_value = '';
our $attr_name = '';
our $regex = 'd\d+\.(gif|jpg)';
$0=~m|^(.*/).*?$|;
require $1.'komics.pm';
It works, the comic is downloaded to /tmp/kde-xxxx/ but then is given the extension php instead of gif. (url=http://www.foksuk.nl/imggif.php?i=/upload/d686.gif file=komics1aFwAeb.php) So I guess komics looks till imggif.php and not further when it places the file in /tmp/kde-xxxx.
Kuickshow, the app I use to view, doesn't do php. Kview does, but not in komics.
Thanks for your time :)
Report
devriesz
16 years ago
For people who like the Dutch comic Dirk Jan, use this script:
#! /bin/bash
url="http://www.rotterdamsdagblad.nl/dirkjan/"
ar_day=(zaterdag maandag dinsdag woensdag donderdag vrijdag zaterdag)
printf "${url}${ar_day[$(date +'%w')]}.jpg\n"
*Made possible with help from Papaschtroumpf and Aru*
Report
troycarpenter
16 years ago
1. The Activated flag partially works...When clicking on the icon to download all active comics, it works fine downloading only the active comics. However, when you right-click to get the individual list of comics, the corresponding comic in the master list is downloaded regardless of what your smaller list says.
For instance, if you deactivate a number of comics, and you want to individually download the comic that is third in your list, you will get "Calvin and Hobbes" instead, since it is third in the master list.
2. When running komics in the system-tray, clicking on the icon doesn't work, and this error is spit out:
QButton::setState() / setOn: (unnamed) Only toggle buttons may be switched
The only way to get comics when in systray operation is to download them individually...now see problem #1.
Report
anonymous-hive
16 years ago
http://bugi.j.com.pl/komics-1.4-RightClickMenu.patch
Report
bugi
16 years ago
http://bugi.j.com.pl/komics-1.4-RightClickMenu.patch
Report
eric
16 years ago
remove the last ';' on line 32.
Report
somekool
16 years ago
well, do i miss anything ?
Report
psch
16 years ago
Compiled fine on my SuSE 9.1/KDE 3.3.1,
but am unable to use it !
When I select a comics in the list, I see the clock icon for a fraction of a second appearing, an then getting back to the question mark.
I'm just unable to view any comics... ;(
GreetZ,
Phil
Report
domine
16 years ago
Report
psch
16 years ago
So seemed to be solved now :)
Report
zho40
16 years ago
Use of uninitialized value in concatenation (.) or string at ziggy.pl line 13.
Any ideas?
Report
domine
16 years ago
use strict;
use warnings;
Report
prjanique
16 years ago
stripdialogview.cpp:406: ambiguous overload for `bool ? const char[2] : QString'
stripdialogview.cpp:406: candidates are: operator ?:(bool, QString, QString)
stripdialogview.cpp:406: operator ?:(bool, const char *, constchar *)
make[3]: *** [stripdialogview.lo] Error 1
make[3]: Leaving directory `/home/jinjiru/Personal_Files/komics/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/jinjiru/Personal_Files/komics/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jinjiru/Personal_Files/komics'
make: *** [all] Error 2
Report
domine
16 years ago
criteria->setText( 2, (dayName <= 0 ? "*" : QDate::longDayName(dayName) ) );
with
criteria->setText( 2, (dayName <= 0 ? QString("*") : QDate::longDayName(dayName) ) );
What GCC version do you use? What linux distribution?
Report
MDonoughe
16 years ago
cd . && /bin/sh ~/komics/admin/missing --run autoheader
Can't locate object method "path" via package "Request" at /usr/share/autoconf/Autom4te/C4che.pm line 69, line 112.
autoheader-2.58: /usr/bin/autom4te failed with exit status: 1
make: *** [config.h.in] Error 1
"if you have Gnu Autoconf 2.58. Upgrading to 2.59 fixes it.
Report
laktose
16 years ago
removing autom4te.cache fixes it also.
Report
laktose
16 years ago
I cannot get it to compile under any circumstances.
Report
domine
16 years ago
autoconf 2.57
automake 1.7.7
libtool 1.4.3
m4 1.4
make 3.80
If someone makes an RPM package I will upload it, of course :-)
Report
domine
16 years ago
make -f Makefile.cvs
and then "./configure ..."
Report
Yaba
16 years ago
Report
brockers
16 years ago
Report