majintao0131 / yaml-cpp

Automatically exported from code.google.com/p/yaml-cpp
MIT License
0 stars 0 forks source link

Request for a debian package #116

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Look for a debian package of yaml-cpp (even a non-official one) and don't 
find any.
2. Try to build one yourself, and discover the nightmare of mixing cmake & 
debian build scripts (looks like the latter are exporting weird env variable 
that cause cmake to fail). Anyway, I didn't succeed at all...

What is the expected output? What do you see instead?
I don't have the exact errors here (I had tried this some weeks ago).

It would be *really* nice to have a debian package for yaml-cpp. I just can't 
redistribute my program in the form of a .deb package because yaml-cpp won't 
compile under the debian build environment...

What version of the product are you using? On what operating system?
It was on a debian stable, and I was trying to package yaml-cpp 0.2.6

Please provide any additional information below.
Debian's various package creation ressources don't mention cmake ([1], [2]).
As an alternative, it looks like CPack supports .deb creation, but the CMake 
wiki is far from understandable on this point [3]. The current version of cmake 
is 2.8.5, so I do hope it's supported...

[1] http://www.debian.org/doc/manuals/maint-guide/index.en.html
[2] http://wiki.debian.org/HowToPackageForDebian
[3] http://www.itk.org/Wiki/CMake:CPackPackageGenerators#DEB_.28UNIX_only.29

Original issue reported on code.google.com by zorun...@gmail.com on 24 Aug 2011 at 9:22

GoogleCodeExporter commented 9 years ago
I'm happy to accept a patch for this, but I don't have debian installed, so I 
can't play around with it.

Original comment by jbe...@gmail.com on 6 Sep 2011 at 5:19

GoogleCodeExporter commented 9 years ago
Neither do I...

I opened this bug report because it would ease the distribution of a project
I'm contributing to.

I'll be as pleased as you to see a debian guru passing by :)
From what I've experienced, their tools are somewhat *not* user-friendly...

Original comment by zorun...@gmail.com on 6 Sep 2011 at 1:22

GoogleCodeExporter commented 9 years ago
My debian packagins skills are a bit rusty, but it did not appear to be too 
difficult to get some basic packages. I had to add a bit of trickery to get 
cmake to build both static and shared libraries - there may be a better way to 
do that than I used.

If you drop the attached .tar.gz in the source you should be able to build deb 
packages.

Original comment by wich...@outlook.com on 15 Dec 2011 at 3:40

Attachments:

GoogleCodeExporter commented 9 years ago
yaml-cpp is included Debian wheezy (testing) and Ubuntu 12.10 now.
http://packages.debian.org/search?keywords=yaml-cpp
http://packages.ubuntu.com/search?keywords=yaml-cpp

Original comment by damage3...@gmail.com on 2 Nov 2012 at 11:51

GoogleCodeExporter commented 9 years ago
Thanks for the note, @damage3025. I'll close this issue now.

Original comment by jbe...@gmail.com on 3 Nov 2012 at 12:24