-
 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  ... 29  30  31  32  33  34  35  36  37  38 

-

 cannot build GTFS support

 
 by robsn81 on: Dec 4 2012
 
Score 50%
robsn81robsn81
Institute of Immunology
-
Robby Engelmann 0

Institute of Immunology
Germany, Rostock
Last visit Jan 22 2014
0 Friends
0 Groups

More info
Send a message
Add as friend
Other contents
--

only with option -DBUILD_PROVIDER_TYPE_GTFS=OFF I get a sucessful build under ubuntu raring. Build-Deps are installed


Reply to this

-

 cannot build GTFS support

 
 by robsn81 on: Dec 4 2012
 
Score 50%
robsn81robsn81
Institute of Immunology
-
Robby Engelmann 0

Institute of Immunology
Germany, Rostock
Last visit Jan 22 2014
0 Friends
0 Groups

More info
Send a message
Add as friend
Other contents
--

only with -DBUILD_PROVIDER_TYPE_GTFS=OFF I get a successful build under ubuntu raring having all build deps installed.


Reply to this

-
.

 Re: cannot build GTFS support

 
 by fpuelz on: Dec 4 2012
 
Score 50%

What is the error message?
If all build deps are installed, cmake succeeds, but make fails? It may help to cleanup the build directory after changing eg. BUILD_PROVIDER_TYPE_GTFS.


Reply to this

-

 Re: cannot build GTFS support

 
 by fpuelz on: Dec 4 2012
 
Score 50%

There is a bug in 0.11alpha, that did not allow to build GTFS support without GTFS-realtime, which needs protocol buffers. Make sure you really have all build dependencies installed, ie. libprotobuf, protobuf-devel. It is an optional dependency, but that did not work correctly because of the bug. You can also use the development version (updated install script), in that version the bug is fixed. But for GTFS-realtime you still need procotol buffers.


Reply to this

-

 Compilation error

 
 by cmlr on: Dec 4 2012
 
Score 50%

While compiling engine, I get the following error, and then compile fails.

/home/carl/Downloads/Public-Transport/kdeplasma-applets-publictransport/src/engine/gtfs/gtfsrealtime.cpp:22:30: fatal error: gtfs-realtime.pb.h: No such file or directory


Reply to this

-

 Re: Compilation error

 
 by fpuelz on: Dec 4 2012
 
Score 50%

When I try to build from a fresh git clone, it works. Probably you are missing needed headers for Google protocol buffer? The file your build is complaining about gets generated using protobuf.


Reply to this

-

 Re: Re: Compilation error

 
 by cmlr on: Dec 4 2012
 
Score 50%

Thanks, that solved the problem!


Reply to this

-

 Re: Re: Compilation error

 
 by cmlr on: Dec 4 2012
 
Score 50%

But now that it's built, it doesn't respond when I click on "city" to search for a transportation network.


Reply to this

-
.

 Re: Re: Re: Compilation error

 
 by fpuelz on: Dec 4 2012
 
Score 50%

..what "city" do you mean? The transportation network gets chosen as "Service Provider" in the applet. A "City:" field is currently only used for cz_idnes, are you using this?


Reply to this

-

 Re: Re: Re: Re: Compilation error

 
 by cmlr on: Dec 4 2012
 
Score 50%

Sorry, I meant "country" and "service provider". Neither field responds to clicks.


Reply to this

-

 Re: Re: Re: Re: Re: Compilation error

 
 by cmlr on: Dec 6 2012
 
Score 50%

For the benefit of others, this has now been fixed in the development version.


Reply to this

-

 Error when compiling

 
 by Tumsa on: Dec 5 2012
 
Score 50%

Hi,
I tried to install this using the install.sh script but no matter what components I want to install I keep getting this error:

In file included from /home/aer/Downloads/publictransport/publictransport/build/libpublictransporthelper/moc_serviceproviderdatadialog.cpp:10:0,
from /home/aer/Downloads/publictransport/publictransport/build/libpublictransporthelper/publictransporthelper_automoc.cpp:8:
/home/aer/Downloads/publictransport/publictransport/build/libpublictransporthelper/../../libpublictransporthelper/serviceproviderdatadialog.h:55:5: error: a class-key must be used when declaring a friend
/home/aer/Downloads/publictransport/publictransport/build/libpublictransporthelper/../../libpublictransporthelper/serviceproviderdatadialog.h:55:5: error: friend declaration does not name a class or function
/home/aer/Downloads/publictransport/publictransport/build/libpublictransporthelper/../../libpublictransporthelper/serviceproviderdatadialog.h:56:5: error: a class-key must be used when declaring a friend
/home/aer/Downloads/publictransport/publictransport/build/libpublictransporthelper/../../libpublictransporthelper/serviceproviderdatadialog.h:56:5: error: friend declaration does not name a class or function
/home/aer/Downloads/publictransport/publictransport/build/libpublictransporthelper/../../libpublictransporthelper/serviceproviderdatadialog.h:128:5: error: a class-key must be used when declaring a friend
/home/aer/Downloads/publictransport/publictransport/build/libpublictransporthelper/../../libpublictransporthelper/serviceproviderdatadialog.h:128:5: error: friend declaration does not name a class or function
make[2]: *** [libpublictransporthelper/CMakeFiles/publictransporthelper.dir/publictransporthelper_automoc.o] Error 1
make[1]: *** [libpublictransporthelper/CMakeFiles/publictransporthelper.dir/all] Error 2
make: *** [all] Error 2


Any ideas what's wrong with my machine?


Reply to this

-

 Re: Error when compiling

 
 by fpuelz on: Dec 5 2012
 
Score 50%

Pedantic warnings are turned on on your machine and are treated as errors, eg. with -pedantic-errors compiler flag. You should try to disable that flag to compile.
Or update to the current development version, I've just fixed the warnings in GIT.


Reply to this

-

 Re: Re: Error when compiling

 
 by Tumsa on: Dec 6 2012
 
Score 50%

Thanks, I tried to install the current development version with the install script and I'm not getting that error anymore.
But I'm getting a new error. :)
CMakeFiles/plasma_engine_publictransport.dir/gtfs-realtime.pb.o: In function `GoogleOnceInit':
/usr/include/google/protobuf/stubs/once.h:115: undefined reference to `pthread_once'
/usr/include/google/protobuf/stubs/once.h:115: undefined reference to `pthread_once'
/usr/include/google/protobuf/stubs/once.h:115: undefined reference to `pthread_once'
/usr/include/google/protobuf/stubs/once.h:115: undefined reference to `pthread_once'
/usr/include/google/protobuf/stubs/once.h:115: undefined reference to `pthread_once'
CMakeFiles/plasma_engine_publictransport.dir/gtfs-realtime.pb.o:/usr/include/google/protobuf/stubs/once.h:115: more undefined references to `pthread_once' follow
collect2: ld gab 1 als Ende-Status zurück
make[2]: *** [lib/plasma_engine_publictransport.so] Fehler 1
make[1]: *** [engine/CMakeFiles/plasma_engine_publictransport.dir/all] Fehler 2
make: *** [all] Fehler 2

I'm not sure but from googling I think it's just a matter of adding -pthread somewhere but I'm not a C/C++ programmer so I don't know where. :)
Sorry for the trouble, I thought I had a pretty standard Ubuntu 12.04 installation. :/


Reply to this

-

 Re: Re: Re: Error when compiling

 
 by fpuelz on: Dec 6 2012
 
Score 50%

Could be.. It links to pthread for TimetableMate but not for the data engine. Can you try to modify a line in publictransport/engine/CMakeLists.txt?
Change line 131 from

set( LIBS ${LIBS} ${PROTOBUF_LIBRARY} )

to

set( LIBS ${LIBS} ${PROTOBUF_LIBRARY} pthread )

If that works I'll fix it. Not sure why it works for me, though.


Reply to this

-

 Re: Re: Re: Re: Error when compiling

 
 by Tumsa on: Dec 6 2012
 
Score 50%

It works, thank you!


Reply to this

-

 Re: Re: Re: Re: Re: Error when compiling

 
 by fpuelz on: Dec 6 2012
 
Score 50%

Great :) Fixed in git HEAD.


Reply to this

-
.

 Cannot import script extension qt/regular tarball

 
 by EliasP on: Jan 17 2013
 
Score 50%

When clicking on "Configure...", I just see the message "Cannot import script extension qt" in the "Stop" input field.

Any idea what could be missing? I've built it with marble + protobuf support and without GPS support.

Using KDE 4.9.97 (4.10 RC2) and Qt 4.8.4.

Also: Could you provide also just a regular source tarball instead of/additional to the script? This would make it much easier for source based distributions such as Gentoo to package it and I assume the same goes for binary distributions with automated toolchains for packaging.


Reply to this

-

 Re: Cannot import script extension qt/regular tarb

 
 by fpuelz on: Jan 18 2013
 
Score 50%

You need the Qt bindings for QtScript. On openSuse the package is called qt4-qtscript.

You can get a tarball in a one-liner (see HINTS_FOR_PACKAGE_MAINTAINERS file):
> git archive --format=tar --remote=git://anongit.kde.org/publictransport unstable-0.11-beta | gzip > publictransport_unstable-0.11-beta.tar.gz

It's just too big to upload it here.

Git should be easy to integrate into automated build processes, eg. openBuildService can download sources from git repositories as far as I know.


Reply to this

-
.

 Re: Cannot import script extension qt/regular tarb

 
 by EliasP on: Jan 18 2013
 
Score 50%

Quote:
You need the Qt bindings for QtScript. On openSuse the package is called qt4-qtscript.


I have qt-script-4.8.4 installed, that's why I was wondering why it fails.


Reply to this

-

 Re: Re: Cannot import script extension qt/regular

 
 by fpuelz on: Jan 18 2013
 
Score 50%

qt-script in Gentoo seems to only contain the QtScript module ("The ECMAScript module for the Qt toolkit"). This is also needed of course.

But it seems that you need the package qtscriptgenerator in Gentoo. In openSuse the bindings are in the package qt4-qtscript with description "Qt bindings generator for Qt Script", ie. it is different from qt-script in Gentoo.


Reply to this

-
.

 Re: Cannot import script extension qt/regular

 
 by EliasP on: Jan 22 2013
 
Score 50%

I installed qtscriptgenerator-0.2.0, restarted KDE but it's unfortunately still the same situation as before.

Do you have any other idea what could be wrong?


Reply to this

-
.

 Re: Re: Cannot import script extension qt/regular

 
 by truffing on: Aug 18 2014
 
Score 50%

I had the same error message and installing qtscript did not help at first glance.
But I finally got it working by deleting ~/.kde4/share/apps/plasma_engine_publictransport. It seems that the error state is saved to disk...


Reply to this

-
.

 timetablemate build error

 
 by mistermaulwurf on: Apr 19 2013
 
Score 50%

v0.11-beta: Building the plasmoid alone works fine, but when I try to build with -DINSTALL_TIMETABLEMATE=ON, the build always exits with this error:

[ 36%] Built target timetablemate_automoc
[ 37%] Generating javascriptcompletiongeneric.h, javascriptcompletiongeneric.cpp, index.html, helper.html, network.html, networkrequest.html, resultobject.html, storage.html, datastreamprototype.html, enums.html, default.css
The input file (--input_script) does not exist: ../../../../engine/script/scriptapi.h
/bin/sh: Zeile 1: 5471 Abgebrochen (Speicherabzug geschrieben) ../completiongenerator/completiongenerator --out_completion /home/sepp/publictransport-plasmoid/src/engine/timetablemate/src --out_doc /home/sepp/publictransport-plasmoid/src/engine/timetablemate/src
make[2]: *** [engine/timetablemate/src/javascriptcompletiongeneric.h] Fehler 134
make[1]: *** [engine/timetablemate/src/CMakeFiles/timetablemate.dir/all] Fehler 2
make: *** [all] Fehler 2

I can't find the source of this error. Can someone please help me?


Reply to this

-
.

 Re: timetablemate build error

 
 by mistermaulwurf on: Apr 19 2013
 
Score 50%

I got it: the hardcoded paths in completiongenerator/main.cpp were wrong.

changing the paths from "../../../../foo" to "../../../foo" works


Reply to this

goto page: prev  ... 29  30  31  32  33  34  35  36  37  38 

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.