Package Details: cadet-gtk 0.6.1-1

Git Clone URL: https://aur.archlinux.org/cadet-gtk.git (read-only, click to copy)
Package Base: cadet-gtk
Description: A GTK based GUI for the CADET subsystem of GNUnet.
Upstream URL: https://gitlab.com/gnunet-messenger/cadet-gtk
Licenses: GPL3
Conflicts: cadet-gtk-git
Submitter: grufo
Maintainer: grufo (TheJackiMonster)
Last Packager: grufo
Votes: 2
Popularity: 0.000001
First Submitted: 2021-08-18 01:21 (UTC)
Last Updated: 2021-10-24 15:39 (UTC)

Latest Comments

micwoj92 commented on 2023-07-06 21:04 (UTC)

Fails to build with lots of errors.

==> Starting build()...
In file included from src/gnunet.c:5:
src/gnunet.h:13:10: fatal error: gnunet/platform.h: No such file or directory
   13 | #include <gnunet/platform.h>
      |          ^~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from src/messaging.h:9,
                 from src/gtk.c:8:
src/gnunet.h:13:10: fatal error: gnunet/platform.h: No such file or directory
   13 | #include <gnunet/platform.h>
      |          ^~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from src/gui/dialog/../../storage/keys.h:9,
                 from src/gui/dialog/../../storage.h:15,
                 from src/gui/dialog/chat_file.c:5,
                 from src/gui/chat.c:16:
/usr/include/gnunet/gnunet_crypto_lib.h:48:2: error: #error "Only <gnunet_util_lib.h> can be included directly."
   48 | #error "Only <gnunet_util_lib.h> can be included directly."
      |  ^~~~~
/usr/include/gnunet/gnunet_crypto_lib.h:132:28: error: expected ‘;’ before ‘struct’
  132 | GNUNET_NETWORK_STRUCT_BEGIN
      |                            ^
      |                            ;
......
  140 | struct GNUNET_CRYPTO_EccSignaturePurpose
      | ~~~~~~                      
/usr/include/gnunet/gnunet_crypto_lib.h:147:17: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘GNUNET_PACKED’
  147 |   uint32_t size GNUNET_PACKED;
      |                 ^~~~~~~~~~~~~
/usr/include/gnunet/gnunet_crypto_lib.h:376:31: error: field ‘value’ has incomplete type
  376 |   struct GNUNET_ShortHashCode value;
      |                               ^~~~~
/usr/include/gnunet/gnunet_crypto_lib.h:379:26: error: expected ‘;’ before ‘struct’
  379 | GNUNET_NETWORK_STRUCT_END
      |                          ^
      |                          ;
......
  387 | struct GNUNET_CRYPTO_SymmetricInitializationVector
      | ~~~~~~                    
/usr/include/gnunet/gnunet_crypto_lib.h:448:25: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘GNUNET_PACKED’
  448 |   int32_t remaining_ops GNUNET_PACKED;
      |                         ^~~~~~~~~~~~~
/usr/include/gnunet/gnunet_crypto_lib.h:2504:26: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘GNUNET_PACKED’
 2504 |   uint32_t pre_secret[8] GNUNET_PACKED;
      |                          ^~~~~~~~~~~~~
In file included from src/gui/../storage/../storage/keys.h:9,
                 from src/gui/../storage/../storage.h:15,
                 from src/gui/../storage/files.h:8,
                 from src/gui/keys.c:7:
/usr/include/gnunet/gnunet_crypto_lib.h:48:2: error: #error "Only <gnunet_util_lib.h> can be included directly."
   48 | #error "Only <gnunet_util_lib.h> can be included directly."
      |  ^~~~~
/usr/include/gnunet/gnunet_crypto_lib.h:132:28: error: expected ‘;’ before ‘struct’
  132 | GNUNET_NETWORK_STRUCT_BEGIN
      |                            ^
      |                            ;
......
  140 | struct GNUNET_CRYPTO_EccSignaturePurpose
      | ~~~~~~                      
/usr/include/gnunet/gnunet_crypto_lib.h:147:17: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘GNUNET_PACKED’
  147 |   uint32_t size GNUNET_PACKED;
      |                 ^~~~~~~~~~~~~
/usr/include/gnunet/gnunet_crypto_lib.h:376:31: error: field ‘value’ has incomplete type
  376 |   struct GNUNET_ShortHashCode value;
      |                               ^~~~~
/usr/include/gnunet/gnunet_crypto_lib.h:379:26: error: expected ‘;’ before ‘struct’
  379 | GNUNET_NETWORK_STRUCT_END
      |                          ^
      |                          ;
......
  387 | struct GNUNET_CRYPTO_SymmetricInitializationVector
      | ~~~~~~                    
/usr/include/gnunet/gnunet_crypto_lib.h:448:25: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘GNUNET_PACKED’
  448 |   int32_t remaining_ops GNUNET_PACKED;
      |                         ^~~~~~~~~~~~~
/usr/include/gnunet/gnunet_crypto_lib.h:2504:26: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘GNUNET_PACKED’
 2504 |   uint32_t pre_secret[8] GNUNET_PACKED;
      |                          ^~~~~~~~~~~~~
src/gui.c: In function ‘CGTK_init_ui’:
src/gui.c:51:9: warning: ‘hdy_title_bar_new’ is deprecated [-Wdeprecated-declarations]
   51 |         GtkWidget* titleBar = hdy_title_bar_new();
      |         ^~~~~~~~~
In file included from /usr/include/libhandy-1/handy.h:59,
                 from src/gui.c:10:
/usr/include/libhandy-1/hdy-title-bar.h:25:12: note: declared here
   25 | GtkWidget *hdy_title_bar_new (void);
      |            ^~~~~~~~~~~~~~~~~
In file included from src/main.c:6:
src/gnunet.h:13:10: fatal error: gnunet/platform.h: No such file or directory
   13 | #include <gnunet/platform.h>
      |          ^~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from src/messaging.h:9,
                 from src/messaging.c:5:
src/gnunet.h:13:10: fatal error: gnunet/platform.h: No such file or directory
   13 | #include <gnunet/platform.h>
      |          ^~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from src/storage/../storage/keys.h:9,
                 from src/storage/../storage.h:15,
                 from src/storage/files.h:8,
                 from src/storage/download.h:8,
                 from src/storage/download.c:5:
/usr/include/gnunet/gnunet_crypto_lib.h:48:2: error: #error "Only <gnunet_util_lib.h> can be included directly."
   48 | #error "Only <gnunet_util_lib.h> can be included directly."
      |  ^~~~~
/usr/include/gnunet/gnunet_crypto_lib.h:132:28: error: expected ‘;’ before ‘struct’
  132 | GNUNET_NETWORK_STRUCT_BEGIN
      |                            ^
      |                            ;
......
  140 | struct GNUNET_CRYPTO_EccSignaturePurpose
      | ~~~~~~                      
/usr/include/gnunet/gnunet_crypto_lib.h:147:17: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘GNUNET_PACKED’
  147 |   uint32_t size GNUNET_PACKED;
      |                 ^~~~~~~~~~~~~
/usr/include/gnunet/gnunet_crypto_lib.h:376:31: error: field ‘value’ has incomplete type
  376 |   struct GNUNET_ShortHashCode value;
      |                               ^~~~~
/usr/include/gnunet/gnunet_crypto_lib.h:379:26: error: expected ‘;’ before ‘struct’
  379 | GNUNET_NETWORK_STRUCT_END
      |                          ^
      |                          ;
......
  387 | struct GNUNET_CRYPTO_SymmetricInitializationVector
      | ~~~~~~                    
/usr/include/gnunet/gnunet_crypto_lib.h:448:25: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘GNUNET_PACKED’
  448 |   int32_t remaining_ops GNUNET_PACKED;
      |                         ^~~~~~~~~~~~~
/usr/include/gnunet/gnunet_crypto_lib.h:2504:26: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘GNUNET_PACKED’
 2504 |   uint32_t pre_secret[8] GNUNET_PACKED;
      |                          ^~~~~~~~~~~~~
In file included from src/storage/../storage/keys.h:9,
                 from src/storage/../storage.h:15,
                 from src/storage/files.h:8,
                 from src/storage/files.c:5:
/usr/include/gnunet/gnunet_crypto_lib.h:48:2: error: #error "Only <gnunet_util_lib.h> can be included directly."
   48 | #error "Only <gnunet_util_lib.h> can be included directly."
      |  ^~~~~
/usr/include/gnunet/gnunet_crypto_lib.h:132:28: error: expected ‘;’ before ‘struct’
  132 | GNUNET_NETWORK_STRUCT_BEGIN
      |                            ^
      |                            ;
......
  140 | struct GNUNET_CRYPTO_EccSignaturePurpose
      | ~~~~~~                      
/usr/include/gnunet/gnunet_crypto_lib.h:147:17: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘GNUNET_PACKED’
  147 |   uint32_t size GNUNET_PACKED;
      |                 ^~~~~~~~~~~~~
/usr/include/gnunet/gnunet_crypto_lib.h:376:31: error: field ‘value’ has incomplete type
  376 |   struct GNUNET_ShortHashCode value;
      |                               ^~~~~
/usr/include/gnunet/gnunet_crypto_lib.h:379:26: error: expected ‘;’ before ‘struct’
  379 | GNUNET_NETWORK_STRUCT_END
      |                          ^
      |                          ;
......
  387 | struct GNUNET_CRYPTO_SymmetricInitializationVector
      | ~~~~~~                    
/usr/include/gnunet/gnunet_crypto_lib.h:448:25: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘GNUNET_PACKED’
  448 |   int32_t remaining_ops GNUNET_PACKED;
      |                         ^~~~~~~~~~~~~
/usr/include/gnunet/gnunet_crypto_lib.h:2504:26: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘GNUNET_PACKED’
 2504 |   uint32_t pre_secret[8] GNUNET_PACKED;
      |                          ^~~~~~~~~~~~~
src/storage/files.c: In function ‘CGTK_get_filehash’:
src/storage/files.c:188:32: error: storage size of ‘hashcode’ isn’t known
  188 |         struct GNUNET_HashCode hashcode;
      |                                ^~~~~~~~
src/storage/files.c:194:16: warning: implicit declaration of function ‘GNUNET_h2s_full’ [-Wimplicit-function-declaration]
  194 |         return GNUNET_h2s_full(&hashcode);
      |                ^~~~~~~~~~~~~~~
In file included from src/storage/keys.h:9,
                 from src/storage/keys.c:5:
/usr/include/gnunet/gnunet_crypto_lib.h:48:2: error: #error "Only <gnunet_util_lib.h> can be included directly."
   48 | #error "Only <gnunet_util_lib.h> can be included directly."
      |  ^~~~~
/usr/include/gnunet/gnunet_crypto_lib.h:132:28: error: expected ‘;’ before ‘struct’
  132 | GNUNET_NETWORK_STRUCT_BEGIN
      |                            ^
      |                            ;
......
  140 | struct GNUNET_CRYPTO_EccSignaturePurpose
      | ~~~~~~                      
/usr/include/gnunet/gnunet_crypto_lib.h:147:17: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘GNUNET_PACKED’
  147 |   uint32_t size GNUNET_PACKED;
      |                 ^~~~~~~~~~~~~
/usr/include/gnunet/gnunet_crypto_lib.h:376:31: error: field ‘value’ has incomplete type
  376 |   struct GNUNET_ShortHashCode value;
      |                               ^~~~~
/usr/include/gnunet/gnunet_crypto_lib.h:379:26: error: expected ‘;’ before ‘struct’
  379 | GNUNET_NETWORK_STRUCT_END
      |                          ^
      |                          ;
......
  387 | struct GNUNET_CRYPTO_SymmetricInitializationVector
      | ~~~~~~                    
/usr/include/gnunet/gnunet_crypto_lib.h:448:25: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘GNUNET_PACKED’
  448 |   int32_t remaining_ops GNUNET_PACKED;
      |                         ^~~~~~~~~~~~~
/usr/include/gnunet/gnunet_crypto_lib.h:2504:26: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘GNUNET_PACKED’
 2504 |   uint32_t pre_secret[8] GNUNET_PACKED;
      |                          ^~~~~~~~~~~~~
src/storage/keys.c: In function ‘CGTK_hash_compare_in_storage’:
src/storage/keys.c:117:40: error: storage size of ‘hashcode’ isn’t known
  117 |                 struct GNUNET_HashCode hashcode;
      |                                        ^~~~~~~~
src/storage/keys.c:120:43: warning: implicit declaration of function ‘GNUNET_h2s_full’ [-Wimplicit-function-declaration]
  120 |                 const char* hash_string = GNUNET_h2s_full(&hashcode);
      |                                           ^~~~~~~~~~~~~~~
In file included from src/storage/../storage/keys.h:9,
                 from src/storage/../storage.h:15,
                 from src/storage/files.h:8,
                 from src/storage/upload.h:8,
                 from src/storage/upload.c:5:
/usr/include/gnunet/gnunet_crypto_lib.h:48:2: error: #error "Only <gnunet_util_lib.h> can be included directly."
   48 | #error "Only <gnunet_util_lib.h> can be included directly."
      |  ^~~~~
/usr/include/gnunet/gnunet_crypto_lib.h:132:28: error: expected ‘;’ before ‘struct’
  132 | GNUNET_NETWORK_STRUCT_BEGIN
      |                            ^
      |                            ;
......
  140 | struct GNUNET_CRYPTO_EccSignaturePurpose
      | ~~~~~~                      
/usr/include/gnunet/gnunet_crypto_lib.h:147:17: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘GNUNET_PACKED’
  147 |   uint32_t size GNUNET_PACKED;
      |                 ^~~~~~~~~~~~~
/usr/include/gnunet/gnunet_crypto_lib.h:376:31: error: field ‘value’ has incomplete type
  376 |   struct GNUNET_ShortHashCode value;
      |                               ^~~~~
/usr/include/gnunet/gnunet_crypto_lib.h:379:26: error: expected ‘;’ before ‘struct’
  379 | GNUNET_NETWORK_STRUCT_END
      |                          ^
      |                          ;
......
  387 | struct GNUNET_CRYPTO_SymmetricInitializationVector
      | ~~~~~~                    
/usr/include/gnunet/gnunet_crypto_lib.h:448:25: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘GNUNET_PACKED’
  448 |   int32_t remaining_ops GNUNET_PACKED;
      |                         ^~~~~~~~~~~~~
/usr/include/gnunet/gnunet_crypto_lib.h:2504:26: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘GNUNET_PACKED’
 2504 |   uint32_t pre_secret[8] GNUNET_PACKED;
      |                          ^~~~~~~~~~~~~
In file included from src/storage/keys.h:9,
                 from src/storage.h:15,
                 from src/storage.c:5:
/usr/include/gnunet/gnunet_crypto_lib.h:48:2: error: #error "Only <gnunet_util_lib.h> can be included directly."
   48 | #error "Only <gnunet_util_lib.h> can be included directly."
      |  ^~~~~
/usr/include/gnunet/gnunet_crypto_lib.h:132:28: error: expected ‘;’ before ‘struct’
  132 | GNUNET_NETWORK_STRUCT_BEGIN
      |                            ^
      |                            ;
......
  140 | struct GNUNET_CRYPTO_EccSignaturePurpose
      | ~~~~~~                      
/usr/include/gnunet/gnunet_crypto_lib.h:147:17: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘GNUNET_PACKED’
  147 |   uint32_t size GNUNET_PACKED;
      |                 ^~~~~~~~~~~~~
/usr/include/gnunet/gnunet_crypto_lib.h:376:31: error: field ‘value’ has incomplete type
  376 |   struct GNUNET_ShortHashCode value;
      |                               ^~~~~
/usr/include/gnunet/gnunet_crypto_lib.h:379:26: error: expected ‘;’ before ‘struct’
  379 | GNUNET_NETWORK_STRUCT_END
      |                          ^
      |                          ;
......
  387 | struct GNUNET_CRYPTO_SymmetricInitializationVector
      | ~~~~~~                    
/usr/include/gnunet/gnunet_crypto_lib.h:448:25: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘GNUNET_PACKED’
  448 |   int32_t remaining_ops GNUNET_PACKED;
      |                         ^~~~~~~~~~~~~
/usr/include/gnunet/gnunet_crypto_lib.h:2504:26: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘GNUNET_PACKED’
 2504 |   uint32_t pre_secret[8] GNUNET_PACKED;
      |                          ^~~~~~~~~~~~~
==> ERROR: A failure occurred in build().
    Aborting...

grufo commented on 2021-08-20 14:06 (UTC)

@FabioLolix

I am not sure I agree. With the $conflicts variable set if I have already installed cadet-gtk-git and I try to install cadet-gtk, pacman will ask me if I want to remove cadet-gtk-git. Without the $conflicts variable only a file conflict error will be generated instead, and it will be up to the user to figure out what went wrong.

FabioLolix commented on 2021-08-19 04:33 (UTC)

'base packages' don't need to provide/conflicts themselves or 'variations', are 'variations' that need to provide/conflicts the 'base package'.

grufo commented on 2021-08-19 02:02 (UTC)

@FabioLolix

Why should conflicts=(cadet-gtk-git) not be needed?

FabioLolix commented on 2021-08-18 07:10 (UTC)

conflicts=(cadet-gtk-git) is not needed