Bug#750817: ITP: x265 -- x265 HEVC Encoder
On 2014-06-09 20:06:53, Reinhard Tartler wrote: On Sun, Jun 8, 2014 at 4:25 AM, Andrei POPESCU andreimpope...@gmail.com wrote: Control: reassign -1 wnpp On Sb, 07 iun 14, 08:47:41, Rico Tzschichholz wrote: Package: x265 Severity: wishlist Package: wnpp Severity: wishlist Package name: x265 URL : https://bitbucket.org/multicoreware/x265/wiki/Home License : GPL2, BSD Description : free library for encoding H265/HEVC video streams. This package is going to be maintained under the pkg-multimedia umbrella. Since this package is probably going to be similar to x264, I guess it's easiest to track the github mirror of the upstream mercurial repo. It seems that there is no upstream mailing list, nor other way to contact the upstream devs at this point. Luca, can you confirm or correct this? I took a first look at the package, and it builds a shared library by default (good). Unfortunately, it doesn't provide a proper SONAME: $ objdump -p libx265.so | grep SONAME SONAME libx265.so This makes me wonder if it's worth building it as shared library in debian as this point, or if we wouldn't be better of with a static library only. I wonder what is upstream's take on this? I've started to work on x265. The upstream build systems is a lot saner now. The shared library has a proper SONAME and it's no longer necessary to patch the build system. The inital packaging can be found at http://anonscm.debian.org/cgit/pkg-multimedia/x265.git. I'm going to play with it a day or two and then I'll probably upload it. Cheers -- Sebastian Ramacher signature.asc Description: Digital signature
Bug#750817: ITP: x265 -- x265 HEVC Encoder
You might want to patch source/CMakeLists.txt: --- a/source/CMakeLists.txt +++ b/source/CMakeLists.txt @@ -34,16 +34,16 @@ # System architecture detection string(TOLOWER ${CMAKE_SYSTEM_PROCESSOR} SYSPROC) -set(X86_ALIASES x86 i386 i686 x86_64 amd64) +set(X86_ALIASES x86 i386 i686) list(FIND X86_ALIASES ${SYSPROC} X86MATCH) if(${SYSPROC} STREQUAL OR X86MATCH GREATER -1) message(STATUS Detected x86 system processor) set(X86 1) add_definitions(-DX265_ARCH_X86=1) -if(${CMAKE_SIZEOF_VOID_P} MATCHES 8) -set(X64 1) -add_definitions(-DX86_64=1) -endif() +elseif(${SYSPROC} STREQUAL x86_64 OR amd64) +message(STATUS Detected x64 system processor) +set(X64 1) +add_definitions(-DX86_64=1) elseif(${SYSPROC} STREQUAL armv6l) message(STATUS Detected ARM system processor) set(ARM 1) @@ -282,11 +282,13 @@ set_target_properties(x265-shared PROPERTIES OUTPUT_NAME x265) endif() if(UNIX AND NOT APPLE) -set_target_properties(x265-shared PROPERTIES LINK_FLAGS -Wl,-Bsymbolic,-znoexecstack) +set_target_properties(x265-shared PROPERTIES VERSION ${X265_BUILD} LINK_FLAGS -Wl,-Bsymbolic,-znoexecstack) +else() +set_target_properties(x265-shared PROPERTIES VERSION ${X265_LATEST_TAG}) endif() if(X265_LATEST_TAG) # shared library is not installed if a tag is not found -set_target_properties(x265-shared PROPERTIES VERSION ${X265_LATEST_TAG} SOVERSION ${X265_BUILD}) +set_target_properties(x265-shared PROPERTIES SOVERSION ${X265_BUILD}) install(TARGETS x265-shared LIBRARY DESTINATION ${LIB_INSTALL_DIR} ARCHIVE DESTINATION ${LIB_INSTALL_DIR}) The first part patches the 64 bit system detection, though it's more cosmetics. The second part is more important, it ensures that the library will be named after its soname and there will only one link be created. For example: libx265.so.22 (file), libx265.so (link) -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#750817: ITP: x265 -- x265 HEVC Encoder
I made some scripts and stuff a while ago to build proper (I guess, but I could be wrong) Debian packages. If you want to create a package from a current hg snapshot, it automatically patches the cmake file and adds all the version information. https://github.com/darealshinji/Debian/tree/master/x265 The source package builds an additional 10bit version under a different name (libx265-10b) too. It works fine on Ubuntu: https://launchpad.net/~djcj/+archive/x265/+packages https://launchpad.net/%7Edjcj/+archive/x265/+packages Maybe you can use some of the stuff. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#750817: ITP: x265 -- x265 HEVC Encoder
This version will store the 10 bit libs in a subfolder, like in the x264 package: https://github.com/darealshinji/Debian/tree/master/x265-new -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#750817: ITP: x265 -- x265 HEVC Encoder
Hi, On 10.06.2014 02:06, Reinhard Tartler wrote: I took a first look at the package, and it builds a shared library by default (good). Unfortunately, it doesn't provide a proper SONAME: $ objdump -p libx265.so | grep SONAME SONAME libx265.so It does have a proper SONAME, when I'm building it (with default options): $ objdump -p libx265.so | grep SONAME SONAME libx265.so.22 How does your x265/build/linux/x265_config.h look like? It should contain: #ifndef X265_CONFIG_H #define X265_CONFIG_H /* Defines generated at build time */ /* Incremented each time public API is changed, X265_BUILD is used as * the shared library SONAME on platforms which support it. It also * prevents linking against a different version of the static lib */ #define X265_BUILD 22 #endif The only strange thing is that the generated libx265.so.22 is a symlink to libx265.so.1.1, but I guess this doesn't really matter, as long as libx265.so.22 is there. This makes me wonder if it's worth building it as shared library in debian as this point, or if we wouldn't be better of with a static library only. I wonder what is upstream's take on this? I would appreciate it if a shared library would be build, so that other programs (like FFmpeg) can use it. Best regards, Andreas -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#750817: ITP: x265 -- x265 HEVC Encoder
On Sun, Jun 8, 2014 at 4:25 AM, Andrei POPESCU andreimpope...@gmail.com wrote: Control: reassign -1 wnpp On Sb, 07 iun 14, 08:47:41, Rico Tzschichholz wrote: Package: x265 Severity: wishlist Package: wnpp Severity: wishlist Package name: x265 URL : https://bitbucket.org/multicoreware/x265/wiki/Home License : GPL2, BSD Description : free library for encoding H265/HEVC video streams. This package is going to be maintained under the pkg-multimedia umbrella. Since this package is probably going to be similar to x264, I guess it's easiest to track the github mirror of the upstream mercurial repo. It seems that there is no upstream mailing list, nor other way to contact the upstream devs at this point. Luca, can you confirm or correct this? I took a first look at the package, and it builds a shared library by default (good). Unfortunately, it doesn't provide a proper SONAME: $ objdump -p libx265.so | grep SONAME SONAME libx265.so This makes me wonder if it's worth building it as shared library in debian as this point, or if we wouldn't be better of with a static library only. I wonder what is upstream's take on this? -- regards, Reinhard -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#750817: ITP: x265 -- x265 HEVC Encoder
On 10/06/14 02:06, Reinhard Tartler wrote: On Sun, Jun 8, 2014 at 4:25 AM, Andrei POPESCU andreimpope...@gmail.com wrote: Control: reassign -1 wnpp On Sb, 07 iun 14, 08:47:41, Rico Tzschichholz wrote: Package: x265 Severity: wishlist Package: wnpp Severity: wishlist Package name: x265 URL : https://bitbucket.org/multicoreware/x265/wiki/Home License : GPL2, BSD Description : free library for encoding H265/HEVC video streams. This package is going to be maintained under the pkg-multimedia umbrella. Since this package is probably going to be similar to x264, I guess it's easiest to track the github mirror of the upstream mercurial repo. +1 It seems that there is no upstream mailing list, nor other way to contact the upstream devs at this point. Luca, can you confirm or correct this? I'm quite sure there is a mailing list. https://mailman.videolan.org/listinfo/x265-devel I took a first look at the package, and it builds a shared library by default (good). Unfortunately, it doesn't provide a proper SONAME: $ objdump -p libx265.so | grep SONAME SONAME libx265.so This makes me wonder if it's worth building it as shared library in debian as this point, or if we wouldn't be better of with a static library only. I wonder what is upstream's take on this? Upstream should be notified, I'd advise to just provide the static library given the kind of usecase. lu -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#750817: ITP: x265 -- x265 HEVC Encoder
Control: reassign -1 wnpp On Sb, 07 iun 14, 08:47:41, Rico Tzschichholz wrote: Package: x265 Severity: wishlist Package: wnpp Severity: wishlist Package name: x265 URL : https://bitbucket.org/multicoreware/x265/wiki/Home License : GPL2, BSD Description : free library for encoding H265/HEVC video streams. -- System Information: Debian Release: jessie/sid APT prefers utopic-proposed APT policy: (500, 'utopic-proposed'), (500, 'utopic'), (500, 'trusty-updates'), (500, 'trusty-security'), (500, 'trusty-proposed') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.15.0-5-generic (SMP w/4 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -- http://wiki.debian.org/FAQsFromDebianUser Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic http://nuvreauspam.ro/gpg-transition.txt signature.asc Description: Digital signature
Bug#750817: ITP: x265 -- x265 HEVC Encoder
Control: reassign -1 wnpp On Sb, 07 iun 14, 08:47:41, Rico Tzschichholz wrote: Package: x265 Severity: wishlist Package: wnpp Severity: wishlist Package name: x265 URL : https://bitbucket.org/multicoreware/x265/wiki/Home License : GPL2, BSD Description : free library for encoding H265/HEVC video streams. -- System Information: Debian Release: jessie/sid APT prefers utopic-proposed APT policy: (500, 'utopic-proposed'), (500, 'utopic'), (500, 'trusty-updates'), (500, 'trusty-security'), (500, 'trusty-proposed') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.15.0-5-generic (SMP w/4 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -- http://wiki.debian.org/FAQsFromDebianUser Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic http://nuvreauspam.ro/gpg-transition.txt signature.asc Description: Digital signature
Bug#750817: ITP: x265 -- x265 HEVC Encoder
Package: x265 Severity: wishlist Package: wnpp Severity: wishlist Package name: x265 URL : https://bitbucket.org/multicoreware/x265/wiki/Home License : GPL2, BSD Description : free library for encoding H265/HEVC video streams. -- System Information: Debian Release: jessie/sid APT prefers utopic-proposed APT policy: (500, 'utopic-proposed'), (500, 'utopic'), (500, 'trusty-updates'), (500, 'trusty-security'), (500, 'trusty-proposed') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.15.0-5-generic (SMP w/4 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org