From mboxrd@z Thu Jan 1 00:00:00 1970 X-Received: by 10.50.114.74 with SMTP id je10mr5469436igb.0.1431094067992; Fri, 08 May 2015 07:07:47 -0700 (PDT) X-BeenThere: voidlinux@googlegroups.com Received: by 10.140.33.71 with SMTP id i65ls1273208qgi.34.gmail; Fri, 08 May 2015 07:07:47 -0700 (PDT) X-Received: by 10.140.100.136 with SMTP id s8mr54234qge.2.1431094067788; Fri, 08 May 2015 07:07:47 -0700 (PDT) Date: Fri, 8 May 2015 07:07:47 -0700 (PDT) From: norvegh To: voidlinux@googlegroups.com Message-Id: <8a070e4d-af17-47d4-9de9-162ff01569a5@googlegroups.com> Subject: Problem packaging kompare MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_2431_1944847874.1431094067423" ------=_Part_2431_1944847874.1431094067423 Content-Type: multipart/alternative; boundary="----=_Part_2432_209627331.1431094067423" ------=_Part_2432_209627331.1431094067423 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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 " 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 " 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" ------=_Part_2432_209627331.1431094067423 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Hello,

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

=3D> WARN= ING: libkomparediff2-4.14.2_1: libkomparediff2.so.4 not found in common/shl= ibs!

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

=    SONAME: libkomparediff2.so.4 <-> UNKNOWN PKG PLEASE FIX!=
=3D> 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 'libkom= parediff2'
pkgname=3Dlibkomparediff2
version=3D4.14.2
revision=3D1=
short_desc=3D"Library to compare files and strings"
maintainer=3D"xx= x <...@xxx.com>"
license=3D"GPL-2+"
homepage=3D"http://www.kde.= org/"
distfiles=3D"http://download.kde.org/stable/${version}/src/${pkgna= me}-${version}.tar.xz"
checksum=3D70c670a69a0b31ab8fb12ccda54662e0f435fe= d9d9a2b390de68150a1c1e0e6a
build_style=3Dcmake
hostmakedepends=3D"cma= ke automoc4 pkg-config"
makedepends=3D"kdelibs-devel qt-devel phonon-dev= el"

libkomparediff2-devel_package()
{
    =     depends=3D"libkomparediff2>=3D${version}_${revision}"=
        short_desc+=3D" - developmen= t files"
        pkg_install()
&nb= sp;       {
     =            vmove usr/incl= ude/libkomparediff2
        &nbs= p;       vmove usr/lib/cmake/libkomparediff2<= br>        }
}

###############= #################################
# Template file for 'kompare'
pkgna= me=3Dkompare
version=3D4.14.2
revision=3D1
short_desc=3D"File diff= erence viewer"
maintainer=3D"xxx <...@xxx.com>"
license=3D"GPL-= 2"
homepage=3D"http://www.caffeinated.me.uk/kompare/"
distfiles=3D"ht= tp://download.kde.org/stable/${version}/src/${pkgname}-${version}.tar.xz"checksum=3Daeb210d0601573e302ea772e5e4e3b9ea20628de38288169fec4b74bbd69ea= a8
build_style=3Dcmake
hostmakedepends=3D"cmake automoc4 pkg-config"<= br>makedepends=3D"kdelibs-devel qt-devel phonon-devel libkomparediff2-devel= "

------=_Part_2432_209627331.1431094067423-- ------=_Part_2431_1944847874.1431094067423--