Active Topics

 


Reply
Thread Tools
Berserk's Avatar
Posts: 199 | Thanked: 156 times | Joined on May 2010 @ Holland
#1
EDIT:
For anyone with the same problem of the changelog not showing on the package page, here is the solution that worked for me (saves you from scrolling..).
I did this in WinXP with Madde Terminal (included in Nokia Qt SDK).


Pack your packagename-version directory into packagename-version.orig.tar.gz BEFORE you run "mad dh_make --createorig --single -e name@host.com -c gpl" in Madde.
It will say that it skips creating the orig, but that's OK.

When editing the files in the src/debian dir, make sure that in changelog you use the same version as in your .desktop file, and top-level directory name.

Then run "mad dpkg-buildpackage -rfakeroot -sa" in Madde, and it will make:
- package_version.dsc
- package_version.tar.gz
- package_version_target.changes
- package_version_target.deb
With the debian directory inside the .tar.gz

Thanks to Nicolai




I've uploaded a few times to Extras-devel now, but so far my changelog has never shown up on the package page
Also, in Faster Application Manager, it says that it's not available..

Can anyone tell me what I might be doing wrong, or better: tell me which steps are needed to get it to show up?
I'm using the Maemo Extras Assistant to upload packages, which asks for the .changes file first, so it's definately uploaded.

Please help!
Thanks in advance.


(debian/changelog has 2 empty lines at the end,
.changes file has 1 empty line at the end)

My debian/changelog file contains the following format:
Code:
packagename (0.2-1) unstable; urgency=low

  * Fixed: problem
  * Change 1
  * Change 2

 -- My Name <my@email.com>  Sat, 11 Sep 2010 18:45:23 +0200

packagename (0.1-1) unstable; urgency=low[/SIZE] [SIZE=3]

  * Initial release

 -- My Name <my@email.com>  Thu, 09 Sep 2010 22:10:00 +0200
(Unchanged after running 'mad dpkg-buildpackage -rfakeroot -sa' in Madde Terminal)

Code:
Format: 1.8
Date: Sat, 11 Sep 2010 18:45:23 +0200
Source: packagename
Binary: packagename
Architecture: source armel
Version: 0.2-1
Distribution: unstable
Urgency: low
Maintainer: My Name <my@email.com>
Changed-By: My Name <my@email.com>
Description: 
 packagename - Short description.
Changes: 
 packagename (0.2-1) unstable; urgency=low
 .
   * Fixed: problem
   * Change 1
   * Change 2
Checksums-Sha1: 
 0a73f5851596fe6351e1cad33a41b2a04549576b 814 packagename_0.2-1.dsc
 c2951e98f0bb597e9427364471d7014b603de595 113059 packagename_0.2.orig.tar.gz
 c90ef5e4173281a31dae9515615fb01ec11a0fb0 8728 packagename_0.2-1.diff.gz
 527760985fa3a0d9a053718a5c031a8b9a9b2521 145052 packagename_0.2-1_armel.deb
Checksums-Sha256: 
 bc107ff9e39a868bcad263cdbd7c1ce7be627097ab30c9e62758eb03bd806b3f 814 packagename_0.2-1.dsc
 4be056eeaf14d2ce7430b305a8452f67d531bc809877cb4670ef599faf37f7ac 113059 packagename_0.2.orig.tar.gz
 e973e9fc7847e0c83014a85d2238b858b45297c86e87851ffe51e829a7a5543d 8728 packagename_0.2-1.diff.gz
 2f6cdab507fb4149d3f8b7194f211cbcfb6923b77068d413156d391466148714 145052 packagename_0.2-1_armel.deb
Files: 
 78b4477bd64d1b82287714cb01f7bed9 814 user/utilities optional packagename_0.2-1.dsc
 7a562061e06b2d099bdfe2db1583544f 113059 user/utilities optional packagename_0.2.orig.tar.gz
 c617bb45dff00bfe92287c2a69a400b0 8728 user/utilities optional packagename_0.2-1.diff.gz
 8b9e5bb89f438832e1163c8762946f77 145052 user/utilities optional packagename_0.2-1_armel.deb
Bugtracker: http://www.link.to/bugtracker
__________________
Wallpaeper - Desktop background manager (in Extras!)
Config Reader - Export all Gconf to an HTML file + compare feature (Extras-testing)
Even though these programs are available for free, I would appreciate any donations

Last edited by Berserk; 2010-09-13 at 08:10. Reason: Solution in first post
 
nicolai's Avatar
Posts: 1,637 | Thanked: 4,424 times | Joined on Apr 2009 @ Germany
#2
Are you sure the changelog file is in the
debian directory?
 

The Following User Says Thank You to nicolai For This Useful Post:
Berserk's Avatar
Posts: 199 | Thanked: 156 times | Joined on May 2010 @ Holland
#3
Yes, it's in packagename-version/debian
So the debian directory is in the same directory as appname.pro and the src directory

It is also specified in appname_version.diff
__________________
Wallpaeper - Desktop background manager (in Extras!)
Config Reader - Export all Gconf to an HTML file + compare feature (Extras-testing)
Even though these programs are available for free, I would appreciate any donations
 
nicolai's Avatar
Posts: 1,637 | Thanked: 4,424 times | Joined on Apr 2009 @ Germany
#4
About which package do we talk?
Wallpaeper?
The wallpaeper package in extras-devel does not has
a debian directory.

regards
nicolai
 

The Following User Says Thank You to nicolai For This Useful Post:
Berserk's Avatar
Posts: 199 | Thanked: 156 times | Joined on May 2010 @ Holland
#5
Yes that's the package

I've noticed that I have 3 files on the source page:
wallpaeper_0.3-1.dsc
wallpaeper_0.3.orig.tar.gz
wallpaeper_0.3-1.diff.gz

And your Calendar Home Widget has 2:
cal-home-widget_0.9.dsc
cal-home-widget_0.9.tar.gz

It seems that I'm uploading the wrong files? even though the Assistant asks for those, according to the .changes file.

I've also noticed that it doesn't matter which version I make it, it always adds "-1" to it, which is the build-version, I believe..

I'll re-read the packaging tutorials, thanks for your help so far!
__________________
Wallpaeper - Desktop background manager (in Extras!)
Config Reader - Export all Gconf to an HTML file + compare feature (Extras-testing)
Even though these programs are available for free, I would appreciate any donations

Last edited by Berserk; 2010-09-11 at 22:13.
 
Berserk's Avatar
Posts: 199 | Thanked: 156 times | Joined on May 2010 @ Holland
#6
I think it's solved..
On the Packaging a Qt application wiki page it said that the dh_make command creates an archive with the unchanged upstream source (orig.tar.gz).

After I run "mad dh_make --createorig --single -e my@email.com -c gpl" it doesn't make an .orig.tar.gz archive.. it makes a directory called "wallpaeper-0.4.orig" next to "wallpaeper-0.4".

When editing the debian/changelog file, I changed the version 0.4-1 to 0.4. I didn't do this with previous versions.

Then I manually packed the "wallpaeper-0.4" dir (with debian dir in it) into "wallpaeper-0.4.orig.tar.gz".
After that I ran "mad dpkg-buildpackage -rfakeroot -sa" as usual.
No "-S" argument, because I want to have the .deb for testing.



It then made wallpaeper_0.4.dsc, wallpaeper_0.4.tar.gz, the .changes file and the .deb file.
Seems to be OK, since I see those files on all package-source pages

I'll rebuild and upload it as 0.3.1 tomorrow, hoping this will work..
__________________
Wallpaeper - Desktop background manager (in Extras!)
Config Reader - Export all Gconf to an HTML file + compare feature (Extras-testing)
Even though these programs are available for free, I would appreciate any donations
 

The Following User Says Thank You to Berserk For This Useful Post:
Berserk's Avatar
Posts: 199 | Thanked: 156 times | Joined on May 2010 @ Holland
#7
Thank you very much, Nicolai!
If you didn't notice the archive didn't have a debian dir, I'd probably never figure it out :P

As you can see, it works now!
http://maemo.org/packages/view/wallpaeper/

So the problem was indeed that dh_make made an .orig dir, instead of an .orig.tar.gz arhive..

I'm also glad I got rid of the "-1" appended to every version number.. I did that by editing the version in debian/changelog.

Thanks
__________________
Wallpaeper - Desktop background manager (in Extras!)
Config Reader - Export all Gconf to an HTML file + compare feature (Extras-testing)
Even though these programs are available for free, I would appreciate any donations

Last edited by Berserk; 2010-09-12 at 22:49.
 

The Following User Says Thank You to Berserk For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 18:44.