maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [ANNOUNCE] Ansel-A: Digital Darkroom for the N900 (https://talk.maemo.org/showthread.php?t=55861)

attila77 2010-06-11 12:21

Re: [ANNOUNCE] Ansel-A: Digital Darkroom for the N900
 
Quote:

Originally Posted by lostinmirkwood (Post 710023)
Just an open question, since it's headed on 4am here in NJ, at what point do the amount of bug/issues make someone retract a release? (I'm not going to, I think honestly it works sort of well) or do I carry on as I have in -devel and fix-release++? and try to get a new version into -testing as fast as possible and vote down this one?

IIRC it gets demoted on either -10 or if the maintainer thumbs it down.

StOoZ 2010-06-11 12:30

Re: [ANNOUNCE] Ansel-A: Digital Darkroom for the N900
 
wwoooow thank u very much

lostinmirkwood 2010-06-11 20:51

Re: [ANNOUNCE] Ansel-A: Digital Darkroom for the N900
 
Quote:

Originally Posted by mece (Post 710045)
(I don't know how you build your packages, just thought I'd mention how I do mine, in case it helps)

I currently use py2deb, then extras-assistant. I have to look at your approach

Quote:

Originally Posted by mece (Post 710045)
dch -i
to increment version and add changelog entry. And that does not and should not do anything to the control file. Only changelog.

to create the files for extras i do a
dpkg-buildpackage -sn -S

I used a build.py file I found while doing research on py2deb it currently it looks like this (notice the bugtracker change? :), but when I place a carriage return in the description, python complains.

attila77 2010-06-11 20:56

Re: [ANNOUNCE] Ansel-A: Digital Darkroom for the N900
 
Quote:

Originally Posted by lostinmirkwood (Post 711197)
but when I place a carriage return in the description, python complains.

Use \n or triple-quotes.

s = """one
two
three"""

s = "one\ntwo\nthree"

dscobsct 2010-06-11 23:42

Re: [ANNOUNCE] Ansel-A: Digital Darkroom for the N900
 
loving this app. well done to the dev, one thing is does it open png's, havent been able to so far.

M_99 2010-06-12 00:02

Re: [ANNOUNCE] Ansel-A: Digital Darkroom for the N900
 
Didn't much testing yet, but have to say thank you very much for this great app ;)

CU - M_99

v13 2010-06-12 11:35

Re: [ANNOUNCE] Ansel-A: Digital Darkroom for the N900
 
I've done some work in packaging ansela. Get those two:

ansela.tgz and debian.tgz.

The first is a slightly modified version of ansela. Use diff to see changes. The second is a proper debian/ directory that installs ansela using cdbs.

How it works:
  • Develop in the directory where ansela.tgz is expanded. No need to store files in predefined directories.
  • When creating a new release, change the version in setup.py and run ./sdist
  • Create a new directory (e.g. 1.0) and copy dist/ansela.X-Y.tar.gz in there.
  • Link ansela.X-Y.tar.gz to ansela_X.Y.orig.tar.gz
  • Unpack ansela.X-Y.tar.gz.
  • Go to the extracted directory (e.g. ansela-0.9) and unpack the debian.tgz.
  • Issue "dch -i" and add a proper comment. Don't forget to change the version from the entry you're changing and include your true name.
  • Issue "dpkg-buildpackage -rfakeroot"

This should leave you with a .deb, a .changes, a .dsc, etc... in the parent directory.

Using this method you will not depend on py2deb which (in my experience) will cause you a lot of pain. You will be able to change the debian/* files as you wish. In fact, the included debian.tgz needs some work in there (your full name, etc...)

If you create a garage project with svn I can commit those changes there directly.

M_99 2010-06-12 23:56

Re: [ANNOUNCE] Ansel-A: Digital Darkroom for the N900
 
Not a real bug, but a little bit irritating - in verson 0.9-1 the "photo browser search location" does not remember the setting of including memory card after closing ansel-a.

CU - M_99

lostinmirkwood 2010-06-14 17:35

Re: [ANNOUNCE] Ansel-A: Digital Darkroom for the N900
 
Quote:

Originally Posted by v13 (Post 711849)
I've done some work in packaging ansela.
If you create a garage project with svn I can commit those changes there directly.


Wow, thanks v13,
I have a garage project here https://garage.maemo.org/projects/ansela/

I have to take a look at this, thanks so much for your help. packaging is quite a new concept for me.

lostinmirkwood 2010-06-14 17:37

Re: [ANNOUNCE] Ansel-A: Digital Darkroom for the N900
 
Quote:

Originally Posted by M_99 (Post 712626)
Not a real bug, but a little bit irritating - in verson 0.9-1 the "photo browser search location" does not remember the setting of including memory card after closing ansel-a.

CU - M_99

I need to figure out the correct way to write a config file in python; since I'd rater not just have a .txt file with a value sitting in it. otherwise, I'm going to just create an xml file and parse the xml.


All times are GMT. The time now is 07:09.

vBulletin® Version 3.8.8