[needs upgrade] Code::Blocks 8.02 -> 10.05

Bug #322350 reported by Kai Mast
32
This bug affects 5 people
Affects Status Importance Assigned to Milestone
codeblocks (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

Binary package hint: codeblocks

Please upgrade Codeblocks to the current release, which is 10.5.

Tags: patch
Revision history for this message
Festor (festor-deactivatedaccount) wrote :

stable release > nightly build

Changed in codeblocks:
status: New → Invalid
Revision history for this message
Kai Mast (kai-mast) wrote :

There is a new release (10.5). I think now its time for an upgrade.

Sourcecode can be found here: http://www.codeblocks.org/downloads/25

Changed in codeblocks (Ubuntu):
status: Invalid → New
description: updated
Revision history for this message
Kai Mast (kai-mast) wrote :

This PPA contains the upgraded packages: https://launchpad.net/~pasgui/+archive/ppa

Cosme Domínguez (cosme)
Changed in codeblocks (Ubuntu):
status: New → Confirmed
Cosme Domínguez (cosme)
summary: - [needs upgrade]codeblocks
+ [needs upgrade] Code::Blocks 8.02 -> 10.05
Changed in codeblocks (Ubuntu):
assignee: nobody → Cosme Domínguez (cosme)
status: Confirmed → In Progress
Revision history for this message
Cosme Domínguez (cosme) wrote :

There is a debian folder in upstream tarball joined to build system (autotools) of Codeblocks...

Changed in codeblocks (Ubuntu):
assignee: Cosme Domínguez (cosme) → nobody
status: In Progress → Confirmed
Cosme Domínguez (cosme)
tags: added: patch
Revision history for this message
Cosme Domínguez (cosme) wrote :

Well, debian.tar.gz available...

Changelog:

codeblocks (10.05-0ubuntu1) maverick; urgency=low

  * New upstream release. Closes (LP: #322350)
   - Start from work of pasgui <email address hidden>
  * Add debian/get-source-orig script that removes all
    windows prebuilt binaries
  * debian/control
   - Split architecture-independent files of codeblocks
     package in codeblocks-common package
   - Add codeblocks-contrib-debug package
  * debian/patches
   - Refresh 01_codeblocks_plugin_path
   - Add 02_bootstrap patch that fixes FTBFS
   - Drop 02_ftbfs_gcc44 and 03_ftbfs_glib221 (merged in upstream)
  * lintian stuff
   - fixed source-contains-prebuilt-windows-binary
   - fixed binary-without-manpage
   - fixed desktop-command-not-in-package
   - removed all overrides except for script-not-executable in
     codeblocks-common package

 -- Cosme Domínguez Díaz <email address hidden> Sat, 24 Jul 2010 02:37:40 +0000

And upload to my PPA: https://launchpad.net/~cosme/+archive/my-builds/+packages

Changed in codeblocks (Ubuntu):
status: Confirmed → New
Revision history for this message
Cosme Domínguez (cosme) wrote :

And please, remove debian upstream before extract and copy debian.tar.gz

Revision history for this message
Cosme Domínguez (cosme) wrote :

Update debian.tar.gz, fixed some things...

codeblocks (10.05-0ubuntu1) maverick; urgency=low

  * New upstream release. Closes (LP: #322350)
   - Start from work of pasgui <email address hidden>
  * Add debian/get-source-orig script that removes all
    windows prebuilt binaries
  * debian/control
   - Split architecture-independent files of codeblocks
     package in codeblocks-common package
   - Add codeblocks-contrib-debug package
  * debian/patches
   - Refresh 01_codeblocks_plugin_path
   - Drop 02_ftbfs_gcc44 and 03_ftbfs_glib221 (merged in upstream)
  * lintian stuff
   - fixed source-contains-prebuilt-windows-binary
   - fixed binary-without-manpage
   - fixed desktop-command-not-in-package
   - removed all overrides except for script-not-executable in
     codeblocks-common package

 -- Cosme Domínguez Díaz <email address hidden> Mon, 26 Jul 2010 22:34:27 +0000

Revision history for this message
Fabrice Coutadeur (fabricesp) wrote :

Hi,

I've seen several things that needs to be fixed:
- debian: you have a Makefile.in and Makefile.am file in the directory. I think they should be deleted.
- debian/lintian: you also have a Makefile.am and Makefile.in files there

Lintian also throw some wishlist messages:
- libcodeblocks0: no-symbols-control-file
- codeblocks-dbg: extended-description-is-probably-too-short
- codeblocks-contrib-dbg: extended-description-is-probably-too-short
- codeblocks-dev: extended-description-is-probably-too-short
and a warning:
W: libwxsmithlib0: description-contains-duplicated-word for for

- debian/control:
  * you don't need to build depend on quilt for 3.0(quilt) format.
  * latest standards-version is 3.9.1. Please update
- what happend to the sharedmime file?
- The copyright file changed. I think that the previous one is the good one...
- did you considered moving to a dh7 tiny rules file? This would make, I think, your rules file smaller and easier to maintain.
- what you are doing in get-orig-source can be achieve wit hthe watch file (it can execute a script after downloading the file)

As soon as you get an updated package, p lease change back the status to New and subscribe again sponsors.

Thanks for your work,

Fabrice

Changed in codeblocks (Ubuntu):
status: New → Incomplete
assignee: nobody → Cosme Domínguez (cosme)
status: Incomplete → In Progress
Cosme Domínguez (cosme)
Changed in codeblocks (Ubuntu):
status: In Progress → New
Revision history for this message
Cosme Domínguez (cosme) wrote :

New update:

codeblocks (10.05-0ubuntu1) maverick; urgency=low

  * New upstream release. Closes (LP: #322350)
   - Switch to dpkg-source 3.0 (quilt) format
   - Remove unneeded README.source
   - Update debian/watch, codeblocks now uses berlios.de host
   - Add debian/get-source-orig script that removes all
     Windows prebuilt binaries
  * debian/control
   - Add libbz2-dev and zlib1g-dev to
     Build-Depends (necessary for libhelp_plugin.so)
   - Add codeblocks-contrib-debug package
   - Bump Standards-Version to 3.9.1
   - Split architecture-independent files of codeblocks
     package in codeblocks-common package
  * debian/rules
   - Add CXXFLAGS variable
   - Add parallel build support
   - Clean and simplify some things
  * debian/patches
   - Refresh 01_codeblocks_plugin_path
   - Add 02_no_Makefiles_in_debian_dir to remove any link
     in codeblocks build system to deleted Makefiles of debian directory
   - Drop 02_ftbfs_gcc44 and 03_ftbfs_glib221 (merged in upstream)
  * lintian stuff
   - fixed source-contains-prebuilt-windows-binary
   - fixed binary-without-manpage
   - fixed desktop-command-not-in-package
   - fixed no-symbols-control-file
   - removed all overrides except for script-not-executable in
     codeblocks-common package

 -- Cosme Domínguez Díaz <email address hidden> Thu, 29 Jul 2010 12:19:46 +0000

Then...

* you don't need to build depend on quilt for 3.0(quilt) format.

I think not -> http://wiki.debian.org/Projects/DebSrc3.0#Doesa3.0.28quilt.29sourcepackageneedtobuild-dependonquilt.3F

* The copyright file changed. I think that the previous one is the good one...

Done

* what you are doing in get-orig-source can be achieve with the watch file (it can execute a script after downloading the file)

-> I do not know how to do it (execute a script) and the information that I found about watch file & uscan doesn't help
-> I update watch file to use berlios.de host but uscan resolves a incorrect newer release (10.05-debian1-src > 10.05-src)
-> I think that a bash script is more easy to understand and mantain that watch file & uscan system... also, I don't see any way to make a checksum of upstream tarball with that system...

Revision history for this message
Cosme Domínguez (cosme) wrote :

I forget remove:

echo "Removing debian upstream directory"
rm -rf codeblocks-$CODEBLOCKS_VERSION/debian

of get-orig-source.

Reupload debian.tar.gz

Revision history for this message
Cosme Domínguez (cosme) wrote :

Revert symbols control file -> FTBFS on i386 arch

I think that this is the final version.

Changed in codeblocks (Ubuntu):
assignee: Cosme Domínguez (cosme) → nobody
Revision history for this message
Stefano Rivera (stefanor) wrote :

get-orig-source: Please use the command execution (action) feature of uscan. (Or at the very least, a get-orig-source rule in debian/rules, as recommended by Debian Policy) Also, please pass "--owner root --group root" to tar when creating the orig.tar.bz2.

The new debian policy is recommending against shipping .la files, can we drop them?

Changed in codeblocks (Ubuntu):
status: New → Incomplete
Revision history for this message
Stefano Rivera (stefanor) wrote :

> * you don't need to build depend on quilt for 3.0(quilt) format.
> I think not -> http://wiki.debian.org/Projects/DebSrc3.0#Doesa3.0.28quilt.29sourcepackageneedtobuild-dependonquilt.3F

Corrcect, so why not remove debian/rules from the rules file.

> -> I do not know how to do it (execute a script) and the information that I found about watch file & uscan doesn't help

Look for "action" in the manpage.

Cosme Domínguez (cosme)
Changed in codeblocks (Ubuntu):
assignee: nobody → Cosme Domínguez (cosme)
status: Incomplete → In Progress
Revision history for this message
Cosme Domínguez (cosme) wrote :

codeblocks (10.05-0ubuntu1) maverick; urgency=low

  * New upstream release. Closes (LP: #322350)
   - Switch to dpkg-source 3.0 (quilt) format
   - Remove unneeded README.source
   - Add debian/get-source-orig script that removes all
     Windows prebuilt binaries
  * Bump Standards-Version to 3.9.1
   - Stop shipping *.la files
  * debian/control
   - Add cdbs package as Build-Depend
   - Add libbz2-dev and zlib1g-dev packages as
     Build-Depends (needed by libhelp_plugin.so)
   - Remove dpatch package of Build-Depends
   - Add codeblocks-contrib-debug package
   - Split architecture-independent files of codeblocks
     package in codeblocks-common package
  * debian/rules
   - Switch to CDBS rules system
   - Add parallel build support
   - Add a call to debian/get-source-orig script
   - Use lzma compression (saves 23,5 MB of free space)
  * debian/patches
   - Refresh 01_codeblocks_plugin_path
   - Add 02_no_Makefiles_in_debian_dir to remove any link
     in codeblocks build system to deleted Makefiles of debian directory
   - Drop 02_ftbfs_gcc44 and 03_ftbfs_glib221 (merged in upstream)
  * debian/watch
   - Update to use the new host (berlios.de)

 -- Cosme Domínguez Díaz <email address hidden> Mon, 09 Aug 2010 04:38:38 +0200

To get de source

-> unpack debian.tar.gz file
-> run fakeroot debian/rules get-orig-source
-> remove upstream debian dir
-> copy debian dir of debian.tar.gz file

Any comment is appreciated

About uscan & watch file:

-> uscan detects bad the current version of codeblocks (codeblocks-10.05-1debian-src.tar.bz2 > codeblocks-10.05-src.tar.bz2)
-> I still don't know how to make a checksum and exclude files. I see uscan manpage but I still don't understand half of it

...and get-orig-source script works without any problem... ¬_¬

If anyone knows how to fix uscan & watch, go ahead! I'm not going to spend more time.

Changed in codeblocks (Ubuntu):
assignee: Cosme Domínguez (cosme) → nobody
status: In Progress → New
Revision history for this message
Stefano Rivera (stefanor) wrote :

Uploading, package is at acceptable quality and the freeze is nigh, although it could still use some future work in the next release.

> -> I still don't know how to make a checksum and exclude files. I see uscan manpage but I still don't understand half of it

That's ok, it's at least policy compliant now.

Remaining issues:
* The package doesn't clean properly, building it twice results in a config.log being added to a debian-changes-XXX quilt patch.
* There are better ways to handle parallel building these days, in particular, the way to check if building should be parallel is to look in the DEB_BUILD_OPTIONS environment variable (see debian policy).
* The shared libraries should probably have symbol files.

Changed in codeblocks (Ubuntu):
importance: Undecided → Wishlist
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package codeblocks - 10.05-0ubuntu1

---------------
codeblocks (10.05-0ubuntu1) maverick; urgency=low

  * New upstream release. Closes (LP: #322350)
   - Switch to dpkg-source 3.0 (quilt) format
   - Remove unneeded README.source
   - Add debian/get-source-orig script that removes all
     Windows prebuilt binaries
  * Bump Standards-Version to 3.9.1
   - Stop shipping *.la files
  * debian/control
   - Add cdbs package as Build-Depend
   - Add libbz2-dev and zlib1g-dev packages as
     Build-Depends (needed by libhelp_plugin.so)
   - Remove dpatch package of Build-Depends
   - Add codeblocks-contrib-debug package
   - Split architecture-independent files of codeblocks
     package in codeblocks-common package
  * debian/rules
   - Switch to CDBS rules system
   - Add parallel build support
   - Add a call to debian/get-source-orig script
   - Use lzma compression (saves 23,5 MB of free space)
  * debian/patches
   - Refresh 01_codeblocks_plugin_path
   - Add 02_no_Makefiles_in_debian_dir to remove any link
     in codeblocks build system to deleted Makefiles of debian directory
   - Drop 02_ftbfs_gcc44 and 03_ftbfs_glib221 (merged in upstream)
  * debian/watch
   - Update to use the new host (berlios.de)
 -- Cosme Dominguez Diaz <email address hidden> Mon, 09 Aug 2010 04:38:38 +0200

Changed in codeblocks (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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