@pavelgood
maybe you can build the .src.tar.gz with "makepkg --source" and provide it somehow.
I've tried to apply your patch and get stuck with the message
patching file jreen-1.1.1/cmake/jreenMacros.cmake
patch: **** malformed patch at line 5: MACRO (JREEN_WRAP_CPP outfiles )
Haven't worked with patches that much to solve it myself.
Search Criteria
Package Details: jreen 1.3.0-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/jreen.git (read-only, click to copy) |
---|---|
Package Base: | jreen |
Description: | Free and Opensource Jabber library, written in C++ using cross-platform framework Qt. |
Upstream URL: | http://qutim.org/jreen |
Keywords: | cpp library network qt xmpp |
Licenses: | GPL2 |
Conflicts: | jreen-git |
Provides: | jreen |
Submitter: | zizzfizzix |
Maintainer: | None |
Last Packager: | dude |
Votes: | 104 |
Popularity: | 0.000000 |
First Submitted: | 2011-11-14 17:00 (UTC) |
Last Updated: | 2018-02-15 06:20 (UTC) |
Required by (0)
Sources (1)
Latest Comments
« First ‹ Previous 1 2 3
rayman2200 commented on 2013-10-22 20:04 (UTC)
pavelgood commented on 2013-10-15 07:20 (UTC)
I got error when building:
CMake Error at cmake/jreenMacros.cmake:60 (QT4_CREATE_MOC_COMMAND):
QT4_CREATE_MOC_COMMAND Macro invoked with incorrect arguments for macro
named: QT4_CREATE_MOC_COMMAND
Call Stack (most recent call first):
CMakeLists.txt:138 (JREEN_WRAP_CPP)
-- Configuring incomplete, errors occurred!
This patch fix it:
--- libjreen-1.1.1/cmake/jreenMacros.cmake 2013-01-06 19:49:31.000000000 +0400
+++ libjreen-1.1.1-fix/cmake/jreenMacros.cmake 2013-10-14 12:14:09.117863475 +0400
@@ -18,9 +18,10 @@
MACRO (JREEN_WRAP_CPP outfiles )
# get include dirs
QT4_GET_MOC_FLAGS(moc_flags)
- QT4_EXTRACT_OPTIONS(moc_files moc_options ${ARGN})
+ #QT4_EXTRACT_OPTIONS(moc_files moc_options ${ARGN})
+ QT4_EXTRACT_OPTIONS(moc_files moc_options moc_target ${ARGN})
FOREACH (it ${moc_files})
GET_FILENAME_COMPONENT(_abs_FILE ${it} ABSOLUTE)
GET_FILENAME_COMPONENT(_abs_PATH ${_abs_FILE} PATH)
@@ -38,17 +39,19 @@
SET(_HAS_MOC true)
FOREACH (_current_MOC_INC ${_match})
STRING(REGEX MATCH "moc_[^ <\"]+\\.cpp" _current_MOC "${_current_MOC_INC}")
SET(_moc ${CMAKE_CURRENT_BINARY_DIR}/${_current_MOC})
- QT4_CREATE_MOC_COMMAND(${_abs_FILE} ${_moc} "${_moc_INCS}" "")
+ #QT4_CREATE_MOC_COMMAND(${_abs_FILE} ${_moc} "${_moc_INCS}" "")
+ QT4_CREATE_MOC_COMMAND(${_abs_FILE} ${_moc} "${_moc_INCS}" "${moc_options}" "${moc_target}")
MACRO_ADD_FILE_DEPENDENCIES(${_abs_FILE} ${_moc})
ENDFOREACH (_current_MOC_INC)
ENDIF()
IF(_match2)
FOREACH (_current_MOC_INC ${_match2})
STRING(REGEX MATCH "[^ <\"]+\\.moc" _current_MOC "${_current_MOC_INC}")
SET(_moc ${CMAKE_CURRENT_BINARY_DIR}/${_current_MOC})
- QT4_CREATE_MOC_COMMAND(${_header} ${_moc} "${_moc_INCS}" "")
+ #QT4_CREATE_MOC_COMMAND(${_header} ${_moc} "${_moc_INCS}" "")
+ QT4_CREATE_MOC_COMMAND(${_abs_FILE} ${_moc} "${_moc_INCS}" "${moc_options}" "${moc_target}")
MACRO_ADD_FILE_DEPENDENCIES(${_header} ${_moc})
ENDFOREACH (_current_MOC_INC)
ENDIF()
ENDIF()
@@ -56,9 +59,10 @@
FILE(READ ${_abs_FILE} _contents)
STRING(REGEX MATCHALL "Q_OBJECT|Q_GADGET" _match2 "${_contents}")
IF(_match2)
QT4_MAKE_OUTPUT_FILE(${_abs_FILE} moc_ cpp outfile)
- QT4_CREATE_MOC_COMMAND(${_abs_FILE} ${outfile} "${moc_flags}" "${moc_options}")
+ #QT4_CREATE_MOC_COMMAND(${_abs_FILE} ${outfile} "${moc_flags}" "${moc_options}")
+ QT4_CREATE_MOC_COMMAND(${_abs_FILE} ${outfile} "${moc_flags}" "${moc_options}" "${moc_target}")
SET(${outfiles} ${${outfiles}} ${outfile})
ENDIF()
ENDIF()
ENDFOREACH(it)
<deleted-account> commented on 2013-06-12 09:10 (UTC)
@sulhan: The project website appears to be down. As a workaround for now, you can get the source tarball from the Fedora mirror here: http://pkgs.fedoraproject.org/repo/pkgs/jreen/libjreen-1.1.1.tar.bz2/
adaptee commented on 2013-03-02 15:06 (UTC)
It tries to use Qt5 when both Qt4 and Qt5 are available and fails to build. Please add "-DQT_QMAKE_EXECUTABLE=qmake-qt4" to force it using Qt4
shulhan commented on 2013-02-23 01:15 (UTC)
I got error when building using packer.
++++
Aur Targets (2): jreen tomahawk-git
Proceed with installation? [Y/n]
Edit jreen PKGBUILD with $EDITOR? [Y/n] n
==> Making package: jreen 1.1.1-1 (Sat Feb 23 08:09:28 WIT 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
-> Downloading libjreen-1.1.1.tar.bz2...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:06 --:--:-- 0
Warning: Transient problem: HTTP error Will retry in 3 seconds. 3 retries
Warning: left.
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
Warning: Transient problem: HTTP error Will retry in 3 seconds. 2 retries
Warning: left.
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
Warning: Transient problem: HTTP error Will retry in 3 seconds. 1 retries
Warning: left.
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 503 Service Unavailable
==> ERROR: Failure while downloading libjreen-1.1.1.tar.bz2
Aborting...
The build failed.
Dependencies for `tomahawk-git' are not met, not building...
++++
Pinned Comments
jnbek commented on 2016-07-03 18:14 (UTC)