Void Linux discussion
 help / color / mirror / Atom feed
From: norvegh <nor...@gmail.com>
To: voidlinux@googlegroups.com
Subject: Problem packaging kompare
Date: Fri, 8 May 2015 07:07:47 -0700 (PDT)	[thread overview]
Message-ID: <8a070e4d-af17-47d4-9de9-162ff01569a5@googlegroups.com> (raw)


[-- 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 --]

             reply	other threads:[~2015-05-08 14:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-08 14:07 norvegh [this message]
2015-05-08 14:14 ` Duncan O
2015-05-08 14:29   ` norvegh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8a070e4d-af17-47d4-9de9-162ff01569a5@googlegroups.com \
    --to="nor..."@gmail.com \
    --cc=voidlinux@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).