Package Details: libcrossguid-git 0.2.2.r52.gca1bf4b-3

Git Clone URL: https://aur.archlinux.org/libcrossguid-git.git (read-only, click to copy)
Package Base: libcrossguid-git
Description: Lightweight cross platform C++ GUID/UUID library
Upstream URL: https://github.com/graeme-hill/crossguid
Licenses: MIT
Conflicts: libcrossguid
Provides: libcrossguid
Submitter: cgirard
Maintainer: cgirard
Last Packager: cgirard
Votes: 25
Popularity: 0.000000
First Submitted: 2015-08-12 09:48 (UTC)
Last Updated: 2024-10-03 08:43 (UTC)

Latest Comments

cgirard commented on 2024-10-03 08:44 (UTC)

Added the patch to make it build again. Sorry for the delay.

<deleted-account> commented on 2023-05-23 22:02 (UTC)

No longer builds with gcc13

Please refer to https://gcc.gnu.org/gcc-13/porting_to.html

(#include <cstdint>)

ericwoud commented on 2022-09-08 12:18 (UTC) (edited on 2022-09-10 08:07 (UTC) by ericwoud)

I see where the confusion started, see the following pull request:

https://github.com/graeme-hill/crossguid/pull/61/commits/8639fad55cc1b0b3504ba36b2e2e3c8a8a5345cb

But it was not pulled... However even in the Readme is says #include <crossguid/guid.hpp>

Perhapse it can be solved with a symbolic link so that

#include <crossguid/guid.hpp>

and

#include <guid.hpp>

Will both work? Like so:

install -D -m644 include/crossguid/guid.hpp "${pkgdir}/usr/include/crossguid/guid.hpp"

ln -srT "${pkgdir}/usr/include/crossguid/guid.hpp" "${pkgdir}/usr/include/guid.hpp"

ericwoud commented on 2022-09-02 19:41 (UTC) (edited on 2022-09-02 20:55 (UTC) by ericwoud)

Could you please change the line:

install -D -m644 include/crossguid/guid.hpp "${pkgdir}/usr/include/guid.hpp"

To:

install -D -m644 include/crossguid/guid.hpp "${pkgdir}/usr/include/crossguid/guid.hpp"

The directory tree on the crossguid repo shows it should be there.

Also see the file test/Test.cpp in the crossguid repo itself, it states:

#include <crossguid/guid.hpp>

Which makes it clear the file path should be /usr/include/crossguid/guid.hpp

For me the problem is, Kodi build with external crossguid (using your package) doesn't build, because it cannot find the include dir of crossguid.

Could you correct it?

cgirard commented on 2019-12-04 15:01 (UTC)

Thanks. Done.

LittleHuba commented on 2019-12-02 22:47 (UTC)

You should provide the pkgconfig file that is generated by CMake.

cgirard commented on 2018-03-23 14:09 (UTC)

Thanks, corrected.

shemhamforash commented on 2018-03-14 10:43 (UTC) (edited on 2018-03-14 10:47 (UTC) by shemhamforash)

Again some things have changed (package doesn't build anymore):

  • xgtest has been renamed to crossguid-test

check(){ cd "$srcdir"/libcrossguid ./crossguid-test }

  • Guid.hpp has been renamed to guid.hpp and now resides in the include folder
  • libxg.a has been renamed to libcrossguid.a

package() { cd "$srcdir"/libcrossguid install -D -m644 libcrossguid.a "${pkgdir}/usr/lib/libcrossguid.a" install -D -m644 include/crossguid/guid.hpp "${pkgdir}/usr/include/guid.hpp" install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" }

cgirard commented on 2017-06-26 09:33 (UTC)

Thanks for the head-up. Corrected.

gkaklas commented on 2017-06-24 00:01 (UTC)

It doesn't build, seems like some things have changed: - guid.h has been renamed to Guid.hpp - The project uses cmake now, "cd $srcdir/libcrossguid; cmake .; make" seems sufficient make produces the following: - libxg.a (previously "libcrossguid.a") - xgtest (previously "test")