[needs-packaging] cryptote needs packaging

Bug #1413380 reported by Qichang Liang
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu
Fix Released
Wishlist
Unassigned

Bug Description

Cryptote is a light-weight, easy to use GUI text editor which supports encryption.

http://panthema.net/2009/cryptote/

yet it is not in the Ubuntu repository at the moment.

I have just packaged this software for the upcoming 15.04 release, and it is available at this ppa:

https://launchpad.net/~kcleung-users/+archive/ubuntu/cryptote

Please have a look, and help me upload this software to the 15.04 universe repository

Revision history for this message
Martin Brláž (brmato) wrote : Nový mail

Ahoj,
tento mail je starý, teda neaktívny a nekontrolujem ho takmer nikdy. Môj nový mail je <email address hidden>.

Ďakujem,
Martin Brláž.

Revision history for this message
ԜаӀtеr Ⅼарсһуnѕkі (wxl) wrote : Re: cryptote needs packaging

Please don't subscribe everyone.

Revision history for this message
Martin Brláž (brmato) wrote : Nový mail

Ahoj,
tento mail je starý, teda neaktívny a nekontrolujem ho takmer nikdy. Môj nový mail je <email address hidden>.

Ďakujem,
Martin Brláž.

Revision history for this message
Rick Flynn (flynn1959) wrote : Re: [Bug 1413380] Re: cryptote needs packaging

OK

On Wed, Jan 21, 2015 at 4:41 PM, Walter Lapchynski <
<email address hidden>> wrote:

> Please don't subscribe everyone.
>
> --
> You received this bug notification because you are a member of Lubuntu,
> which is subscribed to the bug report.
> https://bugs.launchpad.net/bugs/1413380
>
> Title:
> cryptote needs packaging
>
> Status in Ubuntu:
> New
>
> Bug description:
> Cryptote is a light-weight, easy to use GUI text editor which
> supports encryption.
>
> http://panthema.net/2009/cryptote/
>
> yet it is not in the Ubuntu repository at the moment.
>
> I have just packaged this software for the upcoming 15.04 release, and
> it is available at this ppa:
>
> https://launchpad.net/~kcleung-users/+archive/ubuntu/cryptote
>
> Please have a look, and help me upload this software to the 15.04
> universe repository
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+bug/1413380/+subscriptions
>

Revision history for this message
Brian Murray (brian-murray) wrote : Re: cryptote needs packaging

*** This is an automated message ***

This bug is tagged needs-packaging which identifies it as a request for a new package in Ubuntu. As a part of the managing needs-packaging bug reports specification, https://wiki.ubuntu.com/QATeam/Specs/NeedsPackagingBugs, all needs-packaging bug reports have Wishlist importance. Subsequently, I'm setting this bug's status to Wishlist.

summary: - cryptote needs packaging
+ [needs-packaging] cryptote needs packaging
Changed in ubuntu:
importance: Undecided → Wishlist
Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

Thanks for packaging cryptote and help to make ubuntu better!

The package has quite a lot of issues that needs to be addressed before uploading to ubuntu. I did a first quick pass and encourage you to fix those before subscribing back the ubuntu sponsors:
- debian/copyright doesn't follow DEP5 (http://dep.debian.net/deps/dep5/), please use this as a template.
- the version makes people think that this package is available in debian, which is not the case. Please reference it as 0.5.390-0ubuntuX
(where -0 means "this version wasn't in debian" and ubuntuX == ubuntu+number as you did previously.
- debian/compat is referecing debhelper 5, we tend to rather use debhelper 9 nowdays.
- debian/control references as well debhelper 5 instead of 9
- debian/rules: there are some lintian errors on it, make clean doesn't really clean the package and have some rules missing:
W: cryptote source: debian-rules-ignores-make-clean-error line 46
W: cryptote source: debian-rules-missing-recommended-target build-indep
W: cryptote source: debian-rules-missing-recommended-target build-arch
Please, consider here as well to use debhelper 9 as the rules will be way easier.

debian/rules would be simply something like:
#!/usr/bin/make -f

#DH_VERBOSE=1

%:
    dh $@

and from that, you can read some debhelper documentation if you need to override some default parameters.
* debian/menu is not in use in ubuntu, if you don't intend to upload that package to debian, please remove it.

That's already quite enough for a first look, please get that package updated in the ppa and feel free to resubscribe the sponsoring list!
Thanks :)

Changed in ubuntu:
status: New → Incomplete
Revision history for this message
Rigels Gordani (rgordani) wrote :

Thanks for the build I tryied to install it on Ubuntu 14.04 x86_64.

lsb_release -rd
Description: Ubuntu 14.04.1 LTS
Release: 14.04

sudo dpkg -i cryptote_0.5.390-1ubuntu3_amd64.deb

Package fails to install with the following messages:

Selecting previously unselected package cryptote.
(Reading database ... 623337 files and directories currently installed.)
Preparing to unpack cryptote_0.5.390-1ubuntu3_amd64.deb ...
Unpacking cryptote (0.5.390-1ubuntu3) ...
dpkg: dependency problems prevent configuration of cryptote:
 cryptote depends on libstdc++6 (>= 4.9); however:
  Version of libstdc++6:amd64 on system is 4.8.2-19ubuntu1.
 cryptote depends on libwxbase2.8-0 (>= 2.8.12.1+dfsg2); however:
  Version of libwxbase2.8-0:amd64 on system is 2.8.12.1+dfsg-2ubuntu2.
 cryptote depends on libwxgtk2.8-0 (>= 2.8.12.1+dfsg2); however:
  Version of libwxgtk2.8-0:amd64 on system is 2.8.12.1+dfsg-2ubuntu2.

dpkg: error processing package cryptote (--install):
 dependency problems - leaving unconfigured
Processing triggers for shared-mime-info (1.2-0ubuntu3) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for mime-support (3.54ubuntu1.1) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Errors were encountered while processing:
 cryptote

Revision history for this message
Qichang Liang (kcleung-users) wrote : Re: [Bug 1413380] Re: [needs-packaging] cryptote needs packaging

Hi Didier,

> - debian/copyright doesn't follow DEP5 (http://dep.debian.net/deps/dep5/), please use this as a template.

fixed

> - the version makes people think that this package is available in debian, which is not the case. Please reference it as 0.5.390-0ubuntuX
> (where -0 means "this version wasn't in debian" and ubuntuX == ubuntu+number as you did previously.

However, when I looked at the changeling, it has this order:

cryptote (0.5.390-1ubuntu3) vivid; urgency=low (the one you
inspected last time in my ppa)
  * Fixing compilation errors in secmem.h by explicitly naming parent class
 -- Qichang Liang <email address hidden> Thu, 25 Dec 2014
01:23:30 +1300

cryptote (0.5.390-1ubuntu2) lucid; urgency=medium
  * Adding correct build dependencies
 -- Timo Bingmann <email address hidden> Fri, 18 Oct 2013 21:26:03 +0200

cryptote (0.5.390-1ubuntu1) lucid; urgency=medium
  * First public upstream beta release 0.5.390
 -- Timo Bingmann <email address hidden> Mon, 3 Aug 2009 23:03:03 +0200

cryptote (0.0.366-1ubuntu1) lucid; urgency=medium
  * Upstream beta release 0.0.366
 -- Timo Bingmann <email address hidden> Mon, 9 Feb 2009 13:59:15 +0000

cryptote (0.0.330-1ubuntu1) lucid; urgency=low
  * Upstream beta release 0.0.330
 -- Timo Bingmann <email address hidden> Tue, 29 Jul 2008 19:39:15 +0000

cryptote (0.0.259-1ubuntu1) lucid; urgency=low
  * Upstream beta release 0.0.259
 -- Timo Bingmann <email address hidden> Tue, 22 Jul 2008 17:20:25 +0200

Though none of the previous versions were publicly released.

So for the current version, should I use:

cryptote (0.5.390-0ubuntu3)

or

cryptote (0.5.390-0ubuntu1)

I am very confused

> - debian/compat is referecing debhelper 5, we tend to rather use debhelper 9 nowdays.
fixed

> - debian/control references as well debhelper 5 instead of 9
fixed

> - debian/rules: there are some lintian errors on it, make clean doesn't really clean the package and have some rules missing:
> W: cryptote source: debian-rules-ignores-make-clean-error line 46
> W: cryptote source: debian-rules-missing-recommended-target build-indep
> W: cryptote source: debian-rules-missing-recommended-target build-arch
> Please, consider here as well to use debhelper 9 as the rules will be way easier.
>
> debian/rules would be simply something like:
> #!/usr/bin/make -f
>
> #DH_VERBOSE=1
>
> %:
> dh $@
>
> and from that, you can read some debhelper documentation if you need to override some default parameters.

I am going to look into that. I think there is only one binary
package, so there should not be build-indep stuff.

> * debian/menu is not in use in ubuntu, if you don't intend to upload that package to debian, please remove it.

Here is another problem: I want to get cryptote into 15.04 as soon as
possible, but I don't rule out uploading that package in the future.
So what should I do with debian/menu?

And alternatively, do you have power to sponsor new Debian packages?

Thanks!

Qichang

Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :
Download full text (3.2 KiB)

Le 25/01/2015 11:35, <email address hidden> a écrit :
> Hi Didier,
>
Hey Qichang

>
>> - the version makes people think that this package is available in debian, which is not the case. Please reference it as 0.5.390-0ubuntuX
>> (where -0 means "this version wasn't in debian" and ubuntuX == ubuntu+number as you did previously.
> However, when I looked at the changeling, it has this order:
>
> cryptote (0.5.390-1ubuntu3) vivid; urgency=low (the one you
> inspected last time in my ppa)
> * Fixing compilation errors in secmem.h by explicitly naming parent class
> -- Qichang Liang <email address hidden> Thu, 25 Dec 2014
> 01:23:30 +1300
>
> cryptote (0.5.390-1ubuntu2) lucid; urgency=medium
> * Adding correct build dependencies
> -- Timo Bingmann <email address hidden> Fri, 18 Oct 2013 21:26:03 +0200
>
> cryptote (0.5.390-1ubuntu1) lucid; urgency=medium
> * First public upstream beta release 0.5.390
> -- Timo Bingmann <email address hidden> Mon, 3 Aug 2009 23:03:03 +0200
>
> cryptote (0.0.366-1ubuntu1) lucid; urgency=medium
> * Upstream beta release 0.0.366
> -- Timo Bingmann <email address hidden> Mon, 9 Feb 2009 13:59:15 +0000
>
> cryptote (0.0.330-1ubuntu1) lucid; urgency=low
> * Upstream beta release 0.0.330
> -- Timo Bingmann <email address hidden> Tue, 29 Jul 2008 19:39:15 +0000
>
> cryptote (0.0.259-1ubuntu1) lucid; urgency=low
> * Upstream beta release 0.0.259
> -- Timo Bingmann <email address hidden> Tue, 22 Jul 2008 17:20:25 +0200
>
> Though none of the previous versions were publicly released.
>
> So for the current version, should I use:
>
> cryptote (0.5.390-0ubuntu3)
>
> or
>
> cryptote (0.5.390-0ubuntu1)
>
> I am very confused
>

As you already have to downgrade the version compared to the ppa, please
use: 0.5.390-0ubuntu1.
>> - debian/rules: there are some lintian errors on it, make clean doesn't really clean the package and have some rules missing:
>> W: cryptote source: debian-rules-ignores-make-clean-error line 46
>> W: cryptote source: debian-rules-missing-recommended-target build-indep
>> W: cryptote source: debian-rules-missing-recommended-target build-arch
>> Please, consider here as well to use debhelper 9 as the rules will be way easier.
>>
>> debian/rules would be simply something like:
>> #!/usr/bin/make -f
>>
>> #DH_VERBOSE=1
>>
>> %:
>> dh $@
>>
>> and from that, you can read some debhelper documentation if you need to override some default parameters.
> I am going to look into that. I think there is only one binary
> package, so there should not be build-indep stuff.

Keep me posted once you have done a build with this new debian/rules!
>
>
>
>> * debian/menu is not in use in ubuntu, if you don't intend to upload that package to debian, please remove it.
> Here is another problem: I want to get cryptote into 15.04 as soon as
> possible, but I don't rule out uploading that package in the future.
> So what should I do with debian/menu?

You will have to reupload a version to debian anyway, so I would say,
include a .menu once you are uploading that to Debian NEW again? (and
we'll then just sync it up from Debian in Ubuntu)
>
> And alternatively, do you have power to sponsor n...

Read more...

Revision history for this message
Qichang Liang (kcleung-users) wrote :

I have fixed all the problems mentioned, the package passes the lintian test and is uploaded at:

https://launchpad.net/~kcleung-users/+archive/ubuntu/cryptote

Please have a look

Revision history for this message
Timmi (cadout) wrote : Re: [Bug 1413380] [NEW] cryptote needs packaging

WTF man!!!
REMOVE!

On Wed, Jan 21, 2015 at 4:32 PM, Launchpad Bug Tracker <
<email address hidden>> wrote:

> You have been subscribed to a public bug by Qichang Liang (kcleung-users):
>
> Cryptote is a light-weight, easy to use GUI text editor which supports
> encryption.
>
> http://panthema.net/2009/cryptote/
>
> yet it is not in the Ubuntu repository at the moment.
>
> I have just packaged this software for the upcoming 15.04 release, and
> it is available at this ppa:
>
> https://launchpad.net/~kcleung-users/+archive/ubuntu/cryptote
>
> Please have a look, and help me upload this software to the 15.04
> universe repository
>
> ** Affects: ubuntu
> Importance: Undecided
> Status: New
>
>
> ** Tags: needs-packaging
> --
> cryptote needs packaging
> https://bugs.launchpad.net/bugs/1413380
> You received this bug notification because you are a member of Lubuntu,
> which is subscribed to the bug report.
>

Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :
Changed in ubuntu:
status: Incomplete → Fix Released
Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

Thanks for your work here and for the additional fixes we dealt by emails :)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.