-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login



Sponsoring


-
- Content .- Fans (68) .- Knowledge Base  . 

PublicTransport

   0.11 beta  

Plasmoid Binary

Score 94%
PublicTransport
zoom


PublicTransport
zoom


PublicTransport
zoom


Minimum required   KDE 4.x
Downloads:  10322
Submitted:  Jun 3 2009
Updated:  Jan 17 2013

Description:

This is a Plasma data engine, applet and runner for public transport timetable data. The applet shows a departure/arrival board for a given stop. It can also show journeys to or from the given "home stop". It displays additional information like delays, news about journeys, routes, vehicle types (with icons). Timetable data is available for trams, buses, subway, trains, ferries and planes (using flightstats.com). You can set alarms for departures and filter departures (by type of vehicle, target/origin, delay, transport line string/number, intermediate stops). Filters can also be combined.
Timetable data gets received from provider plugins. Since version 0.11 there are two types of plugins: GTFS and script providers. Script providers need a network connection and can be used to read timetable data from any document type, eg. XML, binary or HTML. GTFS providers only need to import the GTFS feed once and can then be used offline (but a network connection can be used for GTFS-realtime).

My Blog: http://fpuelz-kde.blogspot.com/
PublicTransport on UserBase: http://userbase.kde.org/Plasma/Public_Transport
PublicTransport on KDE projects: https://projects.kde.org/projects/playground/base/publictransport
PublicTransport on ohloh.net: https://www.ohloh.net/p/publicTransport

You can donate me ;)

News
17.01.2013: Version 0.11 beta released
30.12.2012: Version 0.11 alpha 2 released
04.12.2012: Version 0.11 alpha released

Installation
To install PublicTransport download a package for your distribution. If there is no such package you can ask the appropriate packagers for your distribution to create one. Please leave a comment if a new package is created or if you use a package not mentioned in the download list here, so that I can add it.
If you want to install PublicTransport, but there are no packages available for you (yet?) or you want to try the newest version with no new package yet, you can use the installer script (install.sh) included in the Sources download.
But note that software installed with that installer script isn't managed by your package manager in any way and may produce conflicts with installed packages, eg. if PublicTransport is already installed via the package manager. The script should be quite easy to use and also lets you uninstall the software again. You need GIT to use the installer, because the sources are actually downloaded using GIT by the script (from git://anongit.kde.org/publictransport).

There's also a script for packagers, that can download tarballs for all PublicTransport components for a specific version.
You can clone the GIT repository from git://anongit.kde.org/publictransport (read only), which also clones all history. From your local clone of the repository you can checkout all tagged versions (see the HINTS_FOR_PACKAGE_MAINTAINERS file).
If you want to contribute code, you need a KDE account and you can clone the repository with SSH from this URL: git@git.kde.org:publictransport (read + write). You can of course also send me patches via email.

Note: The Sources tarball does not contain the sources, but a script to download them from it's GIT repository and the translations from KDE's SVN. The script asks for the version to compile and install.

Adding a Service Provider Plugin
- Install TimetableMate, maybe not included in the packages, but in the source archive.
- The filenames start with the country code, followed by "_" and an abbreviation of the service provider, e.g. "ch_sbb" for switzerland, service provider "SBB".
- You can test your script and the URLs with TimetableMate. It also offers syntax completion with documentation and templates for the parser functions, that get called by the data engine.
- Also works for GTFS providers
- After installation of your plugin you can open the configuration dialog of the public transport applet and the new provider should be in there.
- You can also open/edit existing providers by simply clicking "Open in TimetableMate..." in the provider data dialog (accessible from the configuration dialog).
- Checkout the documentation of the data engine, it contains much information about the data sources of the engine and how to create new provider plugins.

You are welcome to optimize the scripts in the existing providers in the "serviceProviders" directory in the data engine source directory.

Comments are appreciated.




Changelog:

17.01.2013:
(version 0.11 beta)
Many crash/bug fixes, visual polishing, see http://fpuelz-kde.blogspot.de/. (The install.sh script is actually unchanged, just select the new version)

30.12.2012:
(version 0.11 alpha 2)
Providers are now hosted on openDesktop.org, download via GHNS, many fixes etc. See http://fpuelz-kde.blogspot.de/. (The install.sh script is actually unchanged, just select the new version)

04.12.2012:
(version 0.11 alpha)
Many improvements, new features, GTFS support, etc. See http://fpuelz-kde.blogspot.de/.
Update: Improved install script, automatically select latest version for installation, show available versions sorted by date, allow switching to another version when starting the script again with the repository already cloned
Update 2: Allow selecting git HEAD for installation again (the script shows Current_Development_Version for it), HEAD contains a fix for building with GTFS support but without protocol buffers installed

18.10.2011:
(version 0.10 RC2)
Applet:
- Fix link errors
- Fix memory leaks
- Fix applet collapsing to popup icon in desktop
- Drawing performance improvements
- Use of KPixmapCache for vehicle type icons
- New monochrome icons, shown in the popup icon
- Add possibility to put the applet into the notification area
- Better layout adjustments for small sizes
- Change applet tooltip according to current departure group in popup icon
- Shorter alarm names, alarm names in notifications
- Nicer alarm background
- Fix color groups and route time display for arrivals
TimetableMate:
- Fix for missing KWebKitPart include file, it now uses KWebView directly
Library:
- Fix a crash with GraphicalTimetableLine (missing null pointer check)




LicenseGPL
Source(Source)
Arch(by cmlr)
Ubuntu(deb i386 packages by takanowaka (outdated v. 0.8.3)
Ubuntu(x86_64 by Chillawowa (outdated version 0.8.3))
Gentoo(ebuild by Finswimmer)
Mandriva(x86_64 by tigger-gg, outdated, v 0.5.4)
openSUSE Tumbleweed
openSUSE 13.2
Donate
Send to a friend
Subscribe
Other  Artwork  from fpuelz
Report inappropriate content



goto page: prev  ... 20  21  22  23  24  25  26  27  28  29  30  31  32  33  34  35 ...

-

 Filters

 
 by Stephan42 on: Feb 4 2011
 
Score 50%

Is it possible connect filter conditions with "OR"? My Tram-Stop has 5 Lines but usually I'm only interested in two of them. But if I add two destination conditions I get no results. :-(


Reply to this

-

 Re: Filters

 
 by fpuelz on: Feb 4 2011
 
Score 50%

Yes: The button labeled "Add Filter" adds a new OR filter (it shows a separator line with text "or"). The little add button on the right of a filter adds a new AND constraint to that filter.

There are help texts for the widgets in the configuration dialog using the help button from the windeco.


Reply to this

-

 Re: Re: Filters

 
 by Stephan42 on: Feb 4 2011
 
Score 50%

That was exactly, what I was looking for! Thanks!


Reply to this

-

 geolocation floods .xsession-e

 
 by Weaselweb on: Feb 4 2011
 
Score 50%

.xsession-errors
I get lots of requests to "http://ipinfodb.com/ip_query.php" in my .xsession-errors, 2-3 per second.
This increases this file >500MB.
Any idea how to stop that?


Reply to this

-

 Re: geolocation floods .xsession-e

 
 by fpuelz on: Feb 4 2011
 
Score 50%

I have no such error in my .xsession-errors. The geolocation data engine should only get queried by the publictransport applet if the button "near stops" in the configuration dialog is clicked. Did you use that function? What makes you sure that the applet causes the errors?


Reply to this

-

 Re: Re: geolocation floods .xsession-e

 
 by Weaselweb on: Feb 5 2011
 
Score 50%

When I removed the publictransprt plasmoid there weren't any new entries.
But somehow plasma used an older version. With the KDE launch today publictransport seems to work nicely (without flooding .xsession-errors).
Thanks for your work.


Reply to this

-

 Notes for 0.10b2

 
 by kovariadam on: Feb 5 2011
 
Score 50%

Hi,
thanks for updated version. However, I found these 2 issues:
First when you add stop, you type, it adds correct stops to the list, everything OK except when you press arrow down to move to some item on the bottom. It immediately selects the first from the list.

Second, I don't know why, but when using the Czech CHAPS provider in city Brno and stop name Technologický park, I'm getting "No departures" in the plasmoid.

Can you check it please?


Adam
Reply to this

-

 Notes for 0.10b2

 
 by kovariadam on: Feb 5 2011
 
Score 50%

Hi,
thanks for updated version. However, I found these 2 issues:
First when you add stop, you type, it adds correct stops to the list, everything OK except when you press arrow down to move to some item on the bottom. It immediately selects the first from the list.

Second, I don't know why, but when using the Czech CHAPS provider in city Brno and stop name Technologický park, I'm getting "No departures" in the plasmoid.

Can you check it please?


Adam
Reply to this

-

 Re: Notes for 0.10b2

 
 by fpuelz on: Feb 7 2011
 
Score 50%

I will correct the bug with the stop suggestion list for the next version. It shouldn't load new suggestions when a suggestion gets selected from the list. Thanks for the hint!

I just tried the CHAPS provider in city Brno with stop name Technologický park, and it worked for me. You could try to open the web page with the timetable data by clicking "Open in Web Browser" in the applet's context menu. If there was no error it should show the page. You can send me the (new) logfile for the parsing scripts. It's in "~/.kde/share/apps/plasma_engine_publictransport/accessors.log".


Reply to this

-

 Re: Re: Notes for 0.10b2

 
 by kovariadam on: Feb 8 2011
 
Score 50%

I sent you a message.


Reply to this

-

 Symlink

 
 by Finswimmer on: Feb 7 2011
 
Score 50%

Hello,

could you change the symlinks in plasma-dataengine-publictransport-0.10/accessorInfos/CMakeLists.txt to relative symlinks?
This seems to be the only way to create an ebuild for gentoo. otherwise I get a violation as the symlink tries to create files outside the sandbox.


Reply to this

-

 Re: Symlink

 
 by fpuelz on: Feb 7 2011
 
Score 50%

Done :)
Will be in the next version.


Reply to this

-

 Re: Re: Symlink

 
 by Finswimmer on: Feb 8 2011
 
Score 50%

Great :)
Thank you!


Reply to this

-

 Re: Re: Symlink

 
 by Finswimmer on: Feb 13 2011
 
Score 50%

beta3 still seems to have absolute links.
Unfortunaly, this is a showstopper for gentoo...


Reply to this

-

 Re: Re: Re: Symlink

 
 by fpuelz on: Feb 13 2011
 
Score 50%

It shouldn't, at least for me it now creates relative symlinks. The CMakeLists.txt only contains filenames as symlink targets.

But the symlinks are installed to absolute pathes, of course. They are installed to the same path as the other service provider files.

Maybe the symlinks haven't been overwritten, because they existed from a beta2 installation (check modified time)? For me they're replaced automatically (like the other installed files).


Reply to this

-

 Re: Re: Re: Re: Symlink

 
 by Finswimmer on: Feb 13 2011
 
Score 50%

plasma-dataengine-publictransport-0.10/accessorInfos/CMakeLists.txt:

install( CODE "${SYMLINK} at_oebb.xml ${ACCESSOR_DIR}/at_default.xml)" )

in order to get no problems with gentoo:

install( CODE "${SYMLINK} at_oebb.xml ./at_default.xml)" )

Tobi


Reply to this

-

 Re: Re: Re: Re: Re: Symlink

 
 by fpuelz on: Feb 13 2011
 
Score 50%

That doesn't install the symlinks to the install dir, but to the dir in which cmake was called. So they won't be used by the data engine.

I don't understand why it's still a problem for packaging. The other files are installed to the same directory as the symlinks. Why doesn't it complain about them?


Reply to this

-

 Re: Re: Re: Re: Re: Re: Symlink

 
 by Finswimmer on: Feb 13 2011
 
Score 50%

Gentoo is compiling all packages itselfs.
Therefore it has a sandbox in which all files are compiled.
Gentoo does not allow to create files outside of the sandbox.
It seems that somehow $ACCESSOR_DIR is pointing to /usr/share/apps/plasma_engine_publictransport/accessorInfos.

This is set here? set( ACCESSOR_DIR ${DATA_INSTALL_DIR}/plasma_engine_publictransport/accessorInfos )


Although the content looks like us_default.xml -> us_septa.xml.

This seems to be a relative soft link?
It is a link from one file to another in the same directory.
So it should work to use something like that "ln -s us_septa.xml ./us_default.xml

I used this to make it compile on Gentoo.
As it is a relative link it should be indepented from the working directory as the . is not evaluated...?

Thank you
Tobi



-

 Re: Re: Re: Re: Re: Re: Symlink

 
 by fpuelz on: Feb 13 2011
 
Score 50%

Yes, $ACCESSOR_DIR points to (something like) /usr/share/apps/plasma_engine_publictransport/accessorInfos. The .xml- and .js-files are also installed there by CMake.

The symlinks are installed using eg. "ln -s us_default.xml $ACCESSOR_DIR/us_septa.xml". So the symlinks are relative softlinks and written into $ACCESSOR_DIR. They point to files in the same dir, so the symlinks can point to eg. "./us_septa.xml". But the target dir for the symlink (second argument, the dir, in which the symlink should be created) needs to b $ACCESSOR_DIR, because otherwise they're created in the working dir. I just run it from the "build" dir, and it created the symlinks in the build dir.

The symlinks need to be in /usr/share/apps/plasma_engine_publictransport/accessorInfos.

Maybe you got this wrong: The symlinks aren't created first and then installed, but directly created in $ACCESSOR_DIR.
Maybe it would work if they're created in the build dir and then copied to their destination? But doesn't copying a symlink copies the linked file?



-

 Re: Re: Re: Re: Re: Re: Symlink

 
 by Finswimmer on: Feb 14 2011
 
Score 50%

[quote]Maybe you got this wrong: The symlinks aren't created first and then installed, but directly created in $ACCESSOR_DIR.
Maybe it would work if they're created in the build dir and then copied to their destination? But doesn't copying a symlink copies the linked file?
[quote]

Hmm. This is exactly the problem as Gentoo does not allow creating files outside its sandbox.


-rw-r--r-- 1 tobi 0 Feb 14 20:24 1
lrwxrwxrwx 1 tobi 1 Feb 14 20:24 2 -> 1
drwxr-xr-x 2 tobi 40 Feb 14 20:24 dest

mv 2 dest/

ls dest/
lrwxrwxrwx 1 tobi 1 Feb 14 20:24 2 -> 1

So this would work.
I think that this is the way it is meant to be, because make only builds files and install moves them to the correct folder?

Thank you



-

 Re: Re: Re: Re: Re: Re: Symlink

 
 by fpuelz on: Feb 14 2011
 
Score 50%

"because make only builds files and install moves them to the correct folder"

Hm.. yes. But in this case make does nothing with the symlinks and make install "installs" the symlinks by creating them in the target directory. So it should not be a problem with a sandbox used for compiling but one used for installing?

I'll google, how to tell CMake to move files while installing. It didn't work with "cmake -E rename oldname newname", because my /home is on another filesystem than root and CMake then complains with "Invalid cross-device link".



-

 Set filtered # of departures

 
 by Finswimmer on: Feb 9 2011
 
Score 50%

Hello,

I do not know if it is possible.
At the moment one can only say that the widget should show a special number of departures.
But if you filter you do not get 20 departures. Instead you get only two as these two are the only matching within the next 20 departures.
So...It would be nice to say that there should always be 10 departures wether they are filtered or not.
(I know that the widget then needs to fetch 20 departures, filter, check if there are enough departures remaining and, maybe, re-fetch more derpartures.

Thank you
Tobi


Reply to this

-

 Re: Set filtered # of departures

 
 by fpuelz on: Feb 9 2011
 
Score 50%

It already loads as much departures as possible with the used service provider. For de_db it gets approx. 100 deartures, others mostly show less departures. Then it filters out departures and after that it cuts them to the maximum number of departures. It would work better if the filters could be added to the requests, but they are too complex and most service providers only support very easy filters if at all.
So if you use too restrictive filters, you may get less departures than the configured maximum number, depending on the used service provider.
If it shows less filtered departures than you can find on the results website, there is an error.
The only solution would be to fetch more departures, as you said. I will think about it.


Reply to this

-

 Re: Re: Set filtered # of departures

 
 by Finswimmer on: Feb 9 2011
 
Score 50%

You do not have to do this.
I just thought it would be a general problem. But I see that all filtered departures are shown. Because Darmstadt has so many departures it will only show 4 filtered, but this is ok.

I just was curious how it works.

Thank you!


Reply to this

goto page: prev  ... 20  21  22  23  24  25  26  27  28  29  30  31  32  33  34  35 ...

Add commentBack






-

-
How do you like Plasma 5?
 The best KDE Desktop ever.
 Definitely a nice improvement.
 Not decided yet. Haven't tried it yet.
 I do not like some of the changes.
 KDE is taking the wrong way.
 I am still sticking with KDE 3.5.
 I have no opinion, but wanted to vote anyway.

resultmore




 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
News RSS   
Discussion RSS   
Events RSS   

Participate
Groups
Forum
Add Artwork
Public API
About KDE-Look.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2001-2014 KDE-Look.org Team  
All rights reserved. KDE-Look.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.