maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Looking for some help to get some packages into the repo (https://talk.maemo.org/showthread.php?t=98121)

jonwil 2016-11-05 00:32

Looking for some help to get some packages into the repo
 
I am working on a transit app for my local transit agency and to do what I want I need to get some other packages into the repos so my package can depend on them.

I want to use gtfs2db from https://github.com/simonsouth/gtfs2db, can anyone help me get it packaged for Maemo and into the repos?
gtfs2db needs libcsv from http://sourceforge.net/projects/libcsv/ which also needs to be put into the repos and it needs libzip2 from http://www.nih.at/libzip/ (we have libzip1 in the repos, dont know if gtfs2db will work with libzip1 or if it needs libzip2)

If we can get all of these things into the repos (presumably extras-devel) I will have all the things I need to write my transit app. (debian packaging is the one thing I dont know how to do)

Android_808 2016-11-05 10:37

Re: Looking for some help to get some packages into the repo
 
Doing libcsv for you at the moment. Will upload here so that you can build and test locally before submitting to repo to check it works ok. Modifying the latest Jessie version.

Android_808 2016-11-05 17:58

Re: Looking for some help to get some packages into the repo
 
2 Attachment(s)
Sorry for the delay, went out for a bit. Then came home to have Firefox keep hanging and segfaulting on laptop.

The initial package is done (attached) but it's not 100% perfect.

I've had to remove the dfsg patches but they don't do anything critical (one removes a pdf, the other corrects some spelling mistakes). It was building OK but the clean stage to rebuild the package if needed wasn't able to correctly remove the patches.

There are a few warnings regarding aclocal and autoconf/automake versions but they should be okay as we aren't modifying any of the files.

Be warned: I haven't tested the output *debs so there may still be some errors.

You will need to remove the .txt from the dsc file when running dpkg-source -x libcsv_3.0.3-1.dsc, I had to add it to get upload working.

jonwil 2016-11-06 08:14

Re: Looking for some help to get some packages into the repo
 
Ok so with that plus the libzip packages already in the repo I am able to get gtfs2db from that git repo to compile and run. Running it on https://gtfsrt.api.translink.com.au/GTFS/SEQ_GTFS.zip generates a sqlite db but with no entries. What I dont know is whether there is something wrong with the data, something wrong with gtfs2db or something wrong with one of the dependencies I am using (libcsv, libzip or sqlite)

Can anyone help me get it working?

Android_808 2016-11-06 09:26

Re: Looking for some help to get some packages into the repo
 
have you tried it outside of Maemo, ie host Debian/Ubuntu with their own packages etc? At least then you can eliminate the data if they work.

I know the instructions stated libzip2, Debian I think it was had libzip1 2 and 4 when I checked yesterday??

i'm out today but if i get a chance i'll try packaging libzip2. gtfs2db is a bit different as it doesn't use a makefile but should be easy enough. All depends if the laptop decides to play nice with firefox. kept hanging then segfaulting yesterday but think i've fixed it now (damaged ffmpeg install, not sure how related but didn't crash after reinstalling package).


All times are GMT. The time now is 02:06.

vBulletin® Version 3.8.8