View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0011355CMakeCPackpublic2010-10-23 17:002011-02-07 10:41
ReporterPetri Hodju 
Assigned ToEric NOULARD 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake-2-8 
Target VersionFixed in VersionCMake-2-8 
Summary0011355: [PATCH] Added optional debian binary package fields
DescriptionThe attached patch adds support for missing debian binary package fields in the debian package generator. It also changes the behaviour a bit by not including the optional fields in the package if the corresponding CMake variable is set but is empty. Here are the added fields and their corresponding CMake variables:

Pre-Depends - CMAKE_DEBIAN_PACKAGE_PREDEPENDS
Enhances - CMAKE_DEBIAN_PACKAGE_ENHANCES
Breaks - CMAKE_DEBIAN_PACKAGE_BREAKS
Conflicts - CMAKE_DEBIAN_PACKAGE_CONFLICTS
Provides - CMAKE_DEBIAN_PACKAGE_PROVIDES
Replaces - CMAKE_DEBIAN_PACKAGE_REPLACES
TagsNo tags attached.
Attached Filespatch file icon 0001-added-missing-optional-debian-binary-package-fields.patch [^] (3,430 bytes) 2010-10-23 17:00 [Show Content]
patch file icon 0001-added-missing-optional-debian-binary-package-fields-CORRECTED.patch [^] (3,431 bytes) 2010-10-24 12:29 [Show Content]

 Relationships
related to 0008342closedEric NOULARD The Deb Generator needs support for the fields Conflicts and Replaces 

  Notes
(0022668)
Petri Hodju (reporter)
2010-10-24 12:30

There was still bug in the patch. The url field inclusion test was missing dereference operator for the second operand.
(0022669)
Eric NOULARD (developer)
2010-10-24 15:18

Thank you Petri,

I'll try to have a look (and may be merge your patch)
during this week.
(0022673)
Eric NOULARD (developer)
2010-10-25 13:53

I'm reviewing the patch.
Small note to say that the vars are

CPACK_DEBIAN_PACKAGE_xxx
and not
CMAKE_DEBIAN_PACKAGE_xxx as stated in the initial
 description...

i.e. the patch is good the description is not.
(0022675)
Eric NOULARD (developer)
2010-10-25 14:46

I've just merged your patch into next.
I did add some documentation about the extra fields in CPackDeb.cmake
that way one can have the CPackDeb documentation with

cmake --help-module CPackDeb

(it was already the case for other options).

commit a74972402910610ab3ab62066d6b9e65b5202078
Author: Eric NOULARD <eric.noulard@gmail.com>
Date: Mon Oct 25 20:40:45 2010 +0200

    CPackDeb Added several optional debian binary package fields
    
    This fixes bugs 0011355 and 0008342.
    The merged patch is a contribution from Michael Lasmanis and Petri Hodju
    with some extra documentation added by the merger.
(0022678)
Eric NOULARD (developer)
2010-10-25 14:48

commit a74972402910610ab3ab62066d6b9e65b5202078
Author: Eric NOULARD <eric.noulard@gmail.com>
Date: Mon Oct 25 20:40:45 2010 +0200

    CPackDeb Added several optional debian binary package fields
    
    This fixes bugs 0011355 and 0008342.
    The merged patch is a contribution from Michael Lasmanis and Petri Hodju
    with some extra documentation added by the merger.
(0025314)
David Cole (manager)
2011-02-07 10:41

Closing resolved issues that have not been updated in more than 3 months.

 Issue History
Date Modified Username Field Change
2010-10-23 17:00 Petri Hodju New Issue
2010-10-23 17:00 Petri Hodju File Added: 0001-added-missing-optional-debian-binary-package-fields.patch
2010-10-23 18:08 Eric NOULARD Relationship added related to 0008342
2010-10-24 12:29 Petri Hodju File Added: 0001-added-missing-optional-debian-binary-package-fields-CORRECTED.patch
2010-10-24 12:30 Petri Hodju Note Added: 0022668
2010-10-24 15:18 Eric NOULARD Note Added: 0022669
2010-10-25 13:47 Eric NOULARD Status new => assigned
2010-10-25 13:47 Eric NOULARD Assigned To => Eric NOULARD
2010-10-25 13:53 Eric NOULARD Note Added: 0022673
2010-10-25 14:46 Eric NOULARD Note Added: 0022675
2010-10-25 14:48 Eric NOULARD Note Added: 0022678
2010-10-25 14:48 Eric NOULARD Status assigned => resolved
2010-10-25 14:48 Eric NOULARD Fixed in Version => CMake-2-8
2010-10-25 14:48 Eric NOULARD Resolution open => fixed
2011-02-07 10:41 David Cole Note Added: 0025314
2011-02-07 10:41 David Cole Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team