Void Linux discussion
 help / color / mirror / Atom feed
* Problem packaging kompare
@ 2015-05-08 14:07 norvegh
  2015-05-08 14:14 ` Duncan O
  0 siblings, 1 reply; 3+ messages in thread
From: norvegh @ 2015-05-08 14:07 UTC (permalink / raw)
  To: voidlinux


[-- Attachment #1.1: Type: text/plain, Size: 2020 bytes --]

Hello, 

I tried to package kompare, which also needs libkomparediff2.
I managed to build a package for libkomparediff2, but I got this warning at 
the end of the building process:

=> WARNING: libkomparediff2-4.14.2_1: libkomparediff2.so.4 not found in 
common/shlibs!

Then, when I tried to build kompare I got these errors:

   SONAME: libkomparediff2.so.4 <-> UNKNOWN PKG PLEASE FIX!
=> ERROR: kompare-4.14.2_1: cannot guess required shlibs, aborting!

My templates are below. I would like to contribute to the project, but 
right now I am stuck and don't know what I am doing wrong.

################################################
# Template file for 'libkomparediff2'
pkgname=libkomparediff2
version=4.14.2
revision=1
short_desc="Library to compare files and strings"
maintainer="xxx <x...@xxx.com>"
license="GPL-2+"
homepage="http://www.kde.org/"
distfiles="http://download.kde.org/stable/${version}/src/${pkgname}-${version}.tar.xz"
checksum=70c670a69a0b31ab8fb12ccda54662e0f435fed9d9a2b390de68150a1c1e0e6a
build_style=cmake
hostmakedepends="cmake automoc4 pkg-config"
makedepends="kdelibs-devel qt-devel phonon-devel"

libkomparediff2-devel_package()
{
        depends="libkomparediff2>=${version}_${revision}"
        short_desc+=" - development files"
        pkg_install()
        {
                vmove usr/include/libkomparediff2
                vmove usr/lib/cmake/libkomparediff2
        }
}

################################################
# Template file for 'kompare'
pkgname=kompare
version=4.14.2
revision=1
short_desc="File difference viewer"
maintainer="xxx <x...@xxx.com>"
license="GPL-2"
homepage="http://www.caffeinated.me.uk/kompare/"
distfiles="http://download.kde.org/stable/${version}/src/${pkgname}-${version}.tar.xz"
checksum=aeb210d0601573e302ea772e5e4e3b9ea20628de38288169fec4b74bbd69eaa8
build_style=cmake
hostmakedepends="cmake automoc4 pkg-config"
makedepends="kdelibs-devel qt-devel phonon-devel libkomparediff2-devel"


[-- Attachment #1.2: Type: text/html, Size: 2505 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Problem packaging kompare
  2015-05-08 14:07 Problem packaging kompare norvegh
@ 2015-05-08 14:14 ` Duncan O
  2015-05-08 14:29   ` norvegh
  0 siblings, 1 reply; 3+ messages in thread
From: Duncan O @ 2015-05-08 14:14 UTC (permalink / raw)
  To: voidlinux


[-- Attachment #1.1: Type: text/plain, Size: 2386 bytes --]

hi, you have to append
libkomparediff2.so.4 libkomparediff2-4.14.2_1
to void-packages/common/shlibs

Its currently used to resolve dependencies.

Am Freitag, 8. Mai 2015 16:07:47 UTC+2 schrieb norvegh:
>
> Hello, 
>
> I tried to package kompare, which also needs libkomparediff2.
> I managed to build a package for libkomparediff2, but I got this warning 
> at the end of the building process:
>
> => WARNING: libkomparediff2-4.14.2_1: libkomparediff2.so.4 not found in 
> common/shlibs!
>
> Then, when I tried to build kompare I got these errors:
>
>    SONAME: libkomparediff2.so.4 <-> UNKNOWN PKG PLEASE FIX!
> => ERROR: kompare-4.14.2_1: cannot guess required shlibs, aborting!
>
> My templates are below. I would like to contribute to the project, but 
> right now I am stuck and don't know what I am doing wrong.
>
> ################################################
> # Template file for 'libkomparediff2'
> pkgname=libkomparediff2
> version=4.14.2
> revision=1
> short_desc="Library to compare files and strings"
> maintainer="xxx <x....@xxx.com <javascript:>>"
> license="GPL-2+"
> homepage="http://www.kde.org/"
> distfiles="
> http://download.kde.org/stable/${version}/src/${pkgname}-${version}.tar.xz
> "
> checksum=70c670a69a0b31ab8fb12ccda54662e0f435fed9d9a2b390de68150a1c1e0e6a
> build_style=cmake
> hostmakedepends="cmake automoc4 pkg-config"
> makedepends="kdelibs-devel qt-devel phonon-devel"
>
> libkomparediff2-devel_package()
> {
>         depends="libkomparediff2>=${version}_${revision}"
>         short_desc+=" - development files"
>         pkg_install()
>         {
>                 vmove usr/include/libkomparediff2
>                 vmove usr/lib/cmake/libkomparediff2
>         }
> }
>
> ################################################
> # Template file for 'kompare'
> pkgname=kompare
> version=4.14.2
> revision=1
> short_desc="File difference viewer"
> maintainer="xxx <x....@xxx.com <javascript:>>"
> license="GPL-2"
> homepage="http://www.caffeinated.me.uk/kompare/"
> distfiles="
> http://download.kde.org/stable/${version}/src/${pkgname}-${version}.tar.xz
> "
> checksum=aeb210d0601573e302ea772e5e4e3b9ea20628de38288169fec4b74bbd69eaa8
> build_style=cmake
> hostmakedepends="cmake automoc4 pkg-config"
> makedepends="kdelibs-devel qt-devel phonon-devel libkomparediff2-devel"
>
>

[-- Attachment #1.2: Type: text/html, Size: 6338 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Problem packaging kompare
  2015-05-08 14:14 ` Duncan O
@ 2015-05-08 14:29   ` norvegh
  0 siblings, 0 replies; 3+ messages in thread
From: norvegh @ 2015-05-08 14:29 UTC (permalink / raw)
  To: voidlinux


[-- Attachment #1.1: Type: text/plain, Size: 278 bytes --]

Wow, that was fast! :)
Thanks, it works now.

On Friday, May 8, 2015 at 4:14:58 PM UTC+2, Duncaen wrote:
>
> hi, you have to append
> libkomparediff2.so.4 libkomparediff2-4.14.2_1
> to void-packages/common/shlibs
>
> Its currently used to resolve dependencies.
>
>
>

[-- Attachment #1.2: Type: text/html, Size: 990 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-05-08 14:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-08 14:07 Problem packaging kompare norvegh
2015-05-08 14:14 ` Duncan O
2015-05-08 14:29   ` norvegh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).