[ATrpms-devel] Twinkle
Tako Schotanus
quintesse at palacio-cristal.com
Wed Oct 4 23:30:43 CEST 2006
OK, I was quite surprised when my "home grown" twinkle rpm got upgraded
today.
Turns out twinkle has been accepted in the Fedora repository somewhere
so I guess this means you can forget about the specs I sent you before :-)
Cheers,
-Tako
Tako Schotanus wrote:
> Axel Thimm wrote:
>> On Thu, May 18, 2006 at 11:20:12PM +0200, Tako Schotanus wrote:
>>
>>> Ah yes, I forget the problem was not compiling the stuff, it was
>>> installing it.
>>>
>>> So I got a nice package right now, but installing it gives the
>>> following error:
>>>
>>> error: Failed dependencies:
>>> libresolv.so.2(GLIBC_PRIVATE) is needed by
>>> twinkle-0.7-tako1.i386
>>>
>>> Any idea how to solve that? (Besides asking the author not to use
>>> that particular function in libresolv of course ;-)
>>>
>>
>> You could ask rpm to ignore it, but who knows what havoc that could
>> create. It would be better to coordinate this upstream. Maybe the
>> author will be glad to have something like this spotted and will fix
>> this right away.
>>
> Ok, I talked to the author and although he agrees that this should be
> done properly he currently has no idea how ("it compiles doesn't it?")
> and no time to look into it right now. So he suggested that if
> ignoring the error was an option we should do that for now.
>
> At the same time I noticed that a new RPM for FC had appeared on his
> website so I installed it and it works fine!
>
> I extracted the spec-file and yes, it ignores the error about the
> private symbols.
>
> So what do you thin Axel?
>
> I included the spec-file that I extracted from the RPM (it's pretty
> simple).
>
> Cheers,
> -Tako
>
> PS: Twinkle's author would be happy to see his work appear in ATrpms,
> but I wasn't able to reach the guy yet who built the RPM. Dunno if it
> is any problem to go ahead and use his spec file?
>
> ------------------------------------------------------------------------
>
> Summary: A SIP Soft Phone
> Name: twinkle
> Version: 0.8
> Release: 1
> License: GPL
> Group: Productivity/Telephony/SIP/Clients
> Source: %{name}-%{version}.tar.gz
> Prefix: %{_prefix}
> BuildRoot: %{_tmppath}/making_of_%{name}_%{version}
> Packager: Ilya Konstantinov
> URL: http://www.twinklephone.com
> Requires: alsa-lib
> Requires: commoncpp2 >= 1.3.0
> Requires: ccrtp >= 1.3.4
> Requires: kdelibs >= 3.2.0
> Requires: libsndfile
> Requires: speex
> Requires: boost
> BuildRequires: alsa-lib-devel
> BuildRequires: qt-devel
> BuildRequires: commoncpp2-devel
> BuildRequires: ccrtp-devel
> BuildRequires: kdelibs-devel
> BuildRequires: libsndfile-devel
> BuildRequires: speex-devel
> BuildRequires: boost-devel
> %define _use_internal_dependency_generator 0
> %define __find_requires %{_builddir}/%{name}-%{version}/find-requires
>
> %description
> Twinkle is a SIP based soft phone for making telephone calls
> over IP networks.
>
> %prep
> %setup -q
> # Creating a custom find_requires, a workaround for RPM's find-requires issues
> find_requires=`rpm --eval %%{__find_requires}`
> echo "$find_requires | grep -v GLIBC_PRIVATE" > %{__find_requires}
> chmod +x %{__find_requires}
>
> %build
> autoreconf -fi
> %configure
> make
>
> %install
> rm -rf %{buildroot}
> %makeinstall
> install -d 755 %{buildroot}%{_datadir}/pixmaps
> install -m 644 src/gui/images/twinkle48.png %{buildroot}%{_datadir}/pixmaps/twinkle.png
> install -d 755 %{buildroot}%{_datadir}/applications
> install -m 644 twinkle.desktop %{buildroot}%{_datadir}/applications/twinkle.desktop
>
> %clean
> rm -rf %{buildroot}
>
> %files
> %defattr(-, root, root)
> %doc AUTHORS COPYING README ChangeLog
> %{_bindir}/%{name}
> %{_datadir}/%{name}
> %{_datadir}/pixmaps/twinkle.png
> %{_datadir}/applications/twinkle.desktop
>
> %post
> update-desktop-database %{_datadir}/applications
>
> %postun
> update-desktop-database %{_datadir}/applications
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> atrpms-devel mailing list
> atrpms-devel at atrpms.net
> http://lists.atrpms.net/mailman/listinfo/atrpms-devel
More information about the atrpms-devel
mailing list