mainncurses - Support: sr #109531, Options for packaging ncurses

 
 

sr #109531: Options for packaging ncurses

Submitter:  None
Submitted:  Tue 17 Jul 2018 11:49:29 PM UTC
   
 
Category:  None Priority:  3 - Low
Severity:  3 - Normal Status:  Done
Privacy:  Public Assigned to:  None
Originator Email:  -email is unavailable- Open/Closed:  Open
Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 06 Aug 2018 06:06:28 PM UTC, comment #2: 

What is unclear to me is how to build debug shared libraries.
libncurses_g.so

Maarten <maartenbe>
Sun 05 Aug 2018 07:11:32 PM UTC, comment #1: 

ncurses' normal and debug libraries are both static.
That's mentioned in the INSTALL file:

    --with-debug
Generate debug-libraries (default).  These are named by adding "_g" to the root, e.g., libncurses_g.a

Thomas Dickey <dickey>
Group administrator
Tue 17 Jul 2018 11:49:29 PM UTC, original submission:  

Hello,

I would like to package ncurses for conan, a C/C++ package manager.
This manager provides development packages for developers.
Developers may enable or disable certain options: such as enabling debug and having static or shared libraries.

Current script is available at https://github.com/madebr/conan-ncurses

My question goes about the configuration options:
What configure options must I provide?

+---------+---------+----------------------------------------+
| Shared  |  Debug  |   Options                              |
+---------+---------+----------------------------------------+
|  false  |  false  |  --without-shared --without-cxx-shared |
|         |         |  --without-debug --without-normal      |
+---------+---------+----------------------------------------+
|  false  |  true   |  --without-shared --without-cxx-shared |
|         |         |  --with-debug --without-normal         |
+---------+---------+----------------------------------------+
|  true   |  false  |  --with-shared --with-cxx-shared       |
|         |         |  --without-debug --without-normal      |
+---------+---------+----------------------------------------+
|  true   |  true   |  --with-shared --with-cxx-shared       |
|         |         |  --with-debug --without-normal         |
+---------+---------+----------------------------------------+

Is this correct?
Because the lib folder for Shared=true and Debug=True contains both static and shared libraries.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by maartenbe (Posted a comment)
  • -email is unavailable- added by dickey (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-08-05 dickey StatusWorks For Me Done
    2018-08-05 dickey Priority5 - Normal 3 - Low
        StatusNone Works For Me

    Back to the top

    Powered by Savane 3.12.
    Corresponding source code