#1  
Old 08-06-2011, 09:01 AM
cckwes's Avatar
cckwes cckwes is offline
MeeGo Greeter
 
Join Date: Feb 2011
Location: Malaysia
Posts: 110
Thanked: 66 times
Lightbulb libdmtx package for Harmattan, base for barcode read/write application

Hi, following this post and nicolai suggestion on package libdmtx and/or zbar for Harmattan, i have take packaging libdmtx as my packaging lesson (since i'm a packaging noob).

I have prepare 2 packages which are libdmtx-0.7.4 and libdmtx-dev-0.7.4 which would act as base library for barcode reader/generator application for Harmattan.

Here are the download links:
libdmtx_0.7.4-Harmattan1_armel.deb
libdmtx-dev_0.7.4-Harmattan1_armel.deb

Since this is the first time i try deb packaging and i make these packages using scratchbox, please help me test/verify it with a real device (n950) and drop me a line if you found any bug. Thank you!

P/S: Special thanks to Kaj-Michael Lang who is the original package maintainer of libdmtx for Maemo, i took his source package as base to build libdmtx packages for Harmattan.
__________________
Hi, I'm a MeeGo Greeter! Welcome to the world of MeeGo!

Members say Hello | How to contribute to MeeGo | MeeGo FAQ | Community Communication | Community Guidelines | Glossary | Developer's Guide

If I can help with anything else, just ask!

My Developer's blog: http://blog.linux4us.org
Reply With Quote

The Following 3 Users Say Thank You to cckwes For This Useful Post:
  #2  
Old 08-06-2011, 11:17 AM
dragly dragly is offline
Junior Member
 
Join Date: Jul 2011
Posts: 20
Thanked: 19 times
Default Re: libdmtx package for Harmattan, base for barcode read/write application

Hi, I know lardman is working on porting mbarcode from Maemo to Meego, but I'm not sure how he's handling the libdmtx and libzbar packages at the moment. In fact, I think he will be working on porting libzxing to Meego since it has been reported to perform better.

In any case, thanks for building the packages. Maybe you could use the Open Build Service to make them available through a repository as well? I don't know how big the need is, but that would at least make it easier if you should upload a new version.

http://wiki.meego.com/Getting_started_with_OBS
Reply With Quote

The Following 2 Users Say Thank You to dragly For This Useful Post:
  #3  
Old 08-06-2011, 03:14 PM
cckwes's Avatar
cckwes cckwes is offline
MeeGo Greeter
 
Join Date: Feb 2011
Location: Malaysia
Posts: 110
Thanked: 66 times
Default Re: libdmtx package for Harmattan, base for barcode read/write application

Just a little bit update from me, after some learning progress, i've ported Zbar to Harmattan.

Due to much of the developer using Qt/Qml when writing apps for Harmattan, hence i only ported libzbar-qt to Harmattan. Python and gtk support would be available in case there are users requested for it.

Below are a list of libzbar deb packages that i've ported to Harmattan:
  1. libzbar0_0.10-Harmattan1_armel.deb
  2. libzbar-dev_0.10-Harmattan1_armel.deb
  3. libzbarqt0_0.10-Harmattan1_armel.deb
  4. libzbarqt-dev_0.10-Harmattan1_armel.deb
  5. zbar-tools_0.10-Harmattan1_armel.deb

Once again, please help me test it on a real N9(50) device and tell me if you found any bugs or problem, your effort is appreciated.

With the porting of libdmtx and Zbar library to Harmattan, i hope that i would at least helping those who want to develop barcode reader/generator application for Harmattan. Let's get Meego rolling!

P/S: How can i change the name of the thread to include zbar library? Thanks
__________________
Hi, I'm a MeeGo Greeter! Welcome to the world of MeeGo!

Members say Hello | How to contribute to MeeGo | MeeGo FAQ | Community Communication | Community Guidelines | Glossary | Developer's Guide

If I can help with anything else, just ask!

My Developer's blog: http://blog.linux4us.org
Reply With Quote

The Following User Says Thank You to cckwes For This Useful Post:
  #4  
Old 08-06-2011, 03:18 PM
cckwes's Avatar
cckwes cckwes is offline
MeeGo Greeter
 
Join Date: Feb 2011
Location: Malaysia
Posts: 110
Thanked: 66 times
Default Re: libdmtx package for Harmattan, base for barcode read/write application

Quote:
Originally Posted by dragly View Post
Hi, I know lardman is working on porting mbarcode from Maemo to Meego, but I'm not sure how he's handling the libdmtx and libzbar packages at the moment. In fact, I think he will be working on porting libzxing to Meego since it has been reported to perform better.
Thanks for your information, already contacted lardman for further coordination.

Quote:
Originally Posted by dragly View Post
In any case, thanks for building the packages. Maybe you could use the Open Build Service to make them available through a repository as well? I don't know how big the need is, but that would at least make it easier if you should upload a new version.

http://wiki.meego.com/Getting_started_with_OBS
I would attempt to build on OBS, i guess i would need some time to do this as i'm a packaging noob

Thanks again for your precious feedback
__________________
Hi, I'm a MeeGo Greeter! Welcome to the world of MeeGo!

Members say Hello | How to contribute to MeeGo | MeeGo FAQ | Community Communication | Community Guidelines | Glossary | Developer's Guide

If I can help with anything else, just ask!

My Developer's blog: http://blog.linux4us.org
Reply With Quote
  #5  
Old 08-06-2011, 05:11 PM
lardman lardman is offline
Member
 
Join Date: Feb 2010
Posts: 47
Thanked: 66 times
Default Re: libdmtx package for Harmattan, base for barcode read/write application

Sorry for the late attendance in this thread.

I've "ported" zbar and libdmtx already, I'll push them to my OBS once I work out how.

I've also created a new spin on the previous mBarcode, with a daemon called PhotoAnalyser that sits and waits for new photos to appear, then runs various plugins on said new files (currently just barcode scanning, but I envisage things like OCR and other recognition functions). The barcode plugin sends out a DBus message which is listened for by mBarcode-lite (which is mBarcode, but without the inbuilt scanning and decoding).

I'll push all this code to the mBarcode Garage project page this evening and also see if I can get it all to build in OBS.

I'm also planning on building and eventually using ZXing's C++ port, but I have a few other things to sort out first, and zbar + libdmtx are sufficient for the time being. ZXing looks like it might be a better bet in the long term though as it supports a wide range of barcode types. The only stumbling block will be porting over the extra Java features to the C++ code, but that sounds at least vaguely interesting
Reply With Quote

The Following 2 Users Say Thank You to lardman For This Useful Post:
  #6  
Old 08-06-2011, 08:02 PM
nielsmayer
Guest
 
Posts: n/a
Default Re: libdmtx package for Harmattan, base for barcode read/write application

Quote:
Originally Posted by lardman View Post
The only stumbling block will be porting over the extra Java features to the C++ code, but that sounds at least vaguely interesting
Has anybody figured out a way to get http://gcc.gnu.org/java/ integrated into Qt? That would probably be the nicest way to integrate java into a Qt program -- as a .o :-)

BTW, these look interesting and use GCJ
http://jusb.sourceforge.net/
http://jphoto.sourceforge.net/
Reply With Quote
  #7  
Old 08-06-2011, 11:58 PM
cckwes's Avatar
cckwes cckwes is offline
MeeGo Greeter
 
Join Date: Feb 2011
Location: Malaysia
Posts: 110
Thanked: 66 times
Default Re: libdmtx package for Harmattan, base for barcode read/write application

Thanks for your work, i'm sure the original package maintainer has better quality than me, the newbie learner

Anyway, thanks for bringing mbarcode to Harmattan, as a smartphone is a body without its soul if it doesn't has a barcode reader
__________________
Hi, I'm a MeeGo Greeter! Welcome to the world of MeeGo!

Members say Hello | How to contribute to MeeGo | MeeGo FAQ | Community Communication | Community Guidelines | Glossary | Developer's Guide

If I can help with anything else, just ask!

My Developer's blog: http://blog.linux4us.org
Reply With Quote
  #8  
Old 08-07-2011, 06:46 AM
lardman lardman is offline
Member
 
Join Date: Feb 2010
Posts: 47
Thanked: 66 times
Default Re: libdmtx package for Harmattan, base for barcode read/write application

Quote:
Originally Posted by nielsmayer View Post
Has anybody figured out a way to get http://gcc.gnu.org/java/ integrated into Qt? That would probably be the nicest way to integrate java into a Qt program -- as a .o :-)
I've not looked at that for a long while, I'll do some digging. If anyone else has any luck please do let me know.

@cckwes:
Quote:
Thanks for your work, i'm sure the original package maintainer has better quality than me, the newbie learner

Anyway, thanks for bringing mbarcode to Harmattan, as a smartphone is a body without its soul if it doesn't has a barcode reader
I'm sure your packages are fine, well done for getting cracking and adding them
Reply With Quote
  #9  
Old 11-30-2011, 03:08 PM
opro opro is offline
Junior Member
 
Join Date: Oct 2011
Posts: 11
Default Re: libdmtx package for Harmattan, base for barcode read/write application

so can I somewhere download mbarcode?
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Markets Today for Harmattan (N9/N950) - Stock quotes tracking application scifiguy Handset 9 08-06-2011 04:32 PM
libdmtx or Zbar for Harmattan cckwes Application Developer Support 2 08-06-2011 09:05 AM
Quran application for Harmattan msameer Handset 6 07-21-2011 05:52 PM
Meego does not read the SD card fedefox Netbook 14 02-07-2011 09:28 PM
A Must Read!!For Meego to win in our communities easily! laolu Netbook 12 07-28-2010 01:51 PM


All times are GMT. The time now is 02:38 AM.