I disown this package as i said here: https://aur.archlinux.org/packages/cutegram-git/
Now this package is orphan
Search Criteria
Package Details: libqtelegram-bzr 82-1
Package Actions
| Package Base: | libqtelegram-bzr |
|---|---|
| Description: | Telegram library written in Qt based on telegram-cli code |
| Upstream URL: | https://launchpad.net/libqtelegram |
| Category: | lib |
| Licenses: | |
| Submitter: | Llumex03 |
| Maintainer: | None |
| Last Packager: | Llumex03 |
| Votes: | 4 |
| First Submitted: | 2015-01-21 19:24 |
| Last Updated: | 2015-03-03 18:59 |
Dependencies (7)
- libmediainfo
- openssl
- qt5-base
- qt5-multimedia
- thumbnailer-bzr
- bzr (make)
- cmake (make)
Required by (0)
Sources
Latest Comments
Comment by Llumex03
Comment by ogarcia
I put a bug into upstream: https://bugs.launchpad.net/libqtelegram/+bug/1435710
They say that they will apply it shortly...
Comment by nylocx
For those who don't like to edit the PKGBUILD on there own I used maxfs patch and edited the PKGBUILD.
https://bpaste.net/show/dc7eff8b5ffa
Maybe someone can file this upstream, I dont want to create a ubuntu one account just for this bug ;), I hope someone here allready has one.
Comment by maxf
Sorry, I didn't know that the tabs would be killed...
Reupload to pastebin: http://pastebin.com/5L1Qcsft
Comment by svalo
I did create the patch file in src/fix_build.patch but when it is appied sayspatch: **** malformed patch at line 4: set (CORE_HEADERS
Don't know if I was doing it right, however if I manually edit the file it works, thanks!
Comment by maxf
Fix for build errors:
Some headers were moved from lib/core to lib/util. For some reason nobody cleaned up the CMakeLists afterwards:
fix_build.patch:
--- a/lib/core/CMakeLists.txt 2015-03-10 14:00:43.193447000 +0100
+++ b/lib/core/CMakeLists.txt 2015-03-10 13:59:29.429009994 +0100
@@ -1,10 +1,7 @@
set (CORE_HEADERS
abstractapi.h
api.h
- asserter.h
connection.h
- constants.h
- cryptoutils.h
dc.h
dcauth.h
dcprovider.h
@@ -16,9 +13,7 @@
querymethods.h
session.h
sessionmanager.h
- settings.h
- tlvalues.h
- utils.h)
+ settings.h)
if(NOT CLICK_MODE)
INSTALL(FILES ${CORE_HEADERS}
PKGBUILD:
prepare() {
patch -d $srcdir/libqtelegram -p1 < fix_build.patch
cd $_pkgname
mkdir -p build
}
To fix the race condition with gtest (crashes with -j12 otherwise) replace make by make googletest && make in build().
Comment by Llumex03
Added missing dependency but the compilation errors are still present.
Comment by talonz
@pedrogabriel i just deleted those entries in src/libqtelegram/lib/core/CMakeLists.txt so it looked like this.
set (CORE_HEADERS
abstractapi.h
api.h
connection.h
dc.h
dcauth.h
dcprovider.h
endpoint.h
eventtimer.h
inboundpkt.h
outboundpkt.h
query.h
querymethods.h
session.h
sessionmanager.h
settings.h
)
dont know how this affects things in the build but it has built for me now and cutegram is running fine as far as i can see
Comment by pedrogabriel
What should I do to fix the following error?
CMake Error at lib/core/cmake_install.cmake:44 (file):
file INSTALL cannot find
"/var/cache/pacman/pkg/libqtelegram-bzr3399/libqtelegram-bzr/src/libqtelegram/lib/core/asserter.h".
Call Stack (most recent call first):
lib/cmake_install.cmake:89 (include)
cmake_install.cmake:37 (include)
Comment by hypernetoman
Hello!
The failed installation problem occurs because the cmake_install.cmake file tries to install non-existent files.
I've fixed this issue by modifying the file "src/libqtelegram-bzr/build/lib/core/cmake_install.cmake" and replacing the last part with the following:
file(INSTALL DESTINATION "/usr/include/libqtelegram/core" TYPE FILE FILES
"/var/package-builds/aur/libqtelegram-bzr/src/libqtelegram/lib/core/abstractapi.h"
"/var/package-builds/aur/libqtelegram-bzr/src/libqtelegram/lib/core/api.h"
"/var/package-builds/aur/libqtelegram-bzr/src/libqtelegram/lib/core/connection.h"
"/var/package-builds/aur/libqtelegram-bzr/src/libqtelegram/lib/core/dc.h"
"/var/package-builds/aur/libqtelegram-bzr/src/libqtelegram/lib/core/dcauth.h"
"/var/package-builds/aur/libqtelegram-bzr/src/libqtelegram/lib/core/dcprovider.h"
"/var/package-builds/aur/libqtelegram-bzr/src/libqtelegram/lib/core/endpoint.h"
"/var/package-builds/aur/libqtelegram-bzr/src/libqtelegram/lib/core/eventtimer.h"
"/var/package-builds/aur/libqtelegram-bzr/src/libqtelegram/lib/core/inboundpkt.h"
"/var/package-builds/aur/libqtelegram-bzr/src/libqtelegram/lib/core/outboundpkt.h"
"/var/package-builds/aur/libqtelegram-bzr/src/libqtelegram/lib/core/query.h"
"/var/package-builds/aur/libqtelegram-bzr/src/libqtelegram/lib/core/querymethods.h"
"/var/package-builds/aur/libqtelegram-bzr/src/libqtelegram/lib/core/session.h"
"/var/package-builds/aur/libqtelegram-bzr/src/libqtelegram/lib/core/sessionmanager.h"
"/var/package-builds/aur/libqtelegram-bzr/src/libqtelegram/lib/core/settings.h"
)
endif()
Bear in mind that you'll have to let makepkg fail once so it generates this file; then you can retry with `makepkg -ei`.
I hope this helps.