Package Details: gnustep-gui 0.29.0-1

Git Clone URL: https://aur.archlinux.org/gnustep-gui.git (read-only, click to copy)
Package Base: gnustep-gui
Description: The GNUstep GUI class library
Upstream URL: http://www.gnustep.org/
Licenses: LGPL
Conflicts: gnustep-gui-svn
Submitter: Barthalion
Maintainer: Beebo
Last Packager: Beebo
Votes: 16
Popularity: 0.96
First Submitted: 2018-01-16 18:39 (UTC)
Last Updated: 2021-05-31 13:34 (UTC)

Pinned Comments

aksh1618 commented on 2019-01-21 17:13 (UTC)

Add gpg keys using

gpg --recv-keys 83AAE47CE829A4146EF83420CA868D4C99149679

RemoteAdmin commented on 2018-02-06 04:20 (UTC)

Do not build with flite installed. Currently, flite1 only is supported.

I have contacted the gnustep team and they are working on a fix to add support for flite. Till then flite1 must be used.

Latest Comments

carstene1ns commented on 2021-05-31 08:18 (UTC)

Please remove the ICU fix (lines 23-32 in PKGBUILD). It is not needed anymore and breaks regenerating the config.h, so certain features get not built anymore.

anna3106 commented on 2021-05-20 20:38 (UTC)

This did not build for me in a clean chroot.

Missing libjpeg:

checking jpeglib.h usability... no
checking jpeglib.h presence... no
checking for jpeglib.h... no
GNUstep requires libjpeg to support JPEG images, but this library
can't be found. If you really want to compile GNUstep without
JPEG support, pass the --disable-jpeg option to ./configure.
Note that this isn't recommended. For more information, see:
http://gnustep.made-it.com/BuildGuide/index.html#JPEG
configure: error: libjpeg not found.
==> ERROR: A failure occurred in build().
    Aborting...

Missing libtiff:

checking tiffio.h usability... no
checking tiffio.h presence... no
checking for tiffio.h... no
configure: WARNING: Cannot find libtiff header and/or library
* The GUI library reqiures the TIFF library
* Use --with-tiff-library to specify the tiff library
* directory if it is not in the usual place(s)
* You may also have to specify --with-jpeg-library if the jpeg
* library is needed by tiff,
configure: error: gnustep-gui will not compile without tiff
==> ERROR: A failure occurred in build().
    Aborting...

Adding libjpeg and libtiff to the depends array fixes this, but I am not sure if this is the best approach.

power_frontier commented on 2021-05-16 16:37 (UTC)

@micwoj92 Thanks for the tip :-) Those packages are not in AUR repo and I have them installed from the Manjaro stable branch and they not updated them yet with the new versions of the Arch repo, so I will wait a little till Manjaro update the branch and I suppose it will work.

micwoj92 commented on 2021-05-16 09:22 (UTC) (edited on 2021-05-16 09:22 (UTC) by micwoj92)

@Beebo Could you move some dependencies to optdepends based on this?

https://github.com/gnustep/libs-gui/blob/master/INSTALL#L20

micwoj92 commented on 2021-05-16 09:21 (UTC)

@power_frontier, I had same problem, update your system to latest gnustep-base and gnustep-make.

power_frontier commented on 2021-05-11 10:42 (UTC) (edited on 2021-05-11 10:46 (UTC) by power_frontier)

I have a problem building it:

Compiling file NSTextCheckingController.m ...
En el fichero incluido desde ../Headers/AppKit/NSTextCheckingController.h:31,
                 desde NSTextCheckingController.m:25:
../Headers/AppKit/NSTextCheckingClient.h:93:29: error: nombre de tipo ‘NSAttributedStringKey’ desconocido
   93 | - (void) removeAnnotation: (NSAttributedStringKey)annotationName
      |                             ^~~~~~~~~~~~~~~~~~~~~
make[4]: *** [/usr/share/GNUstep/Makefiles/rules.make:515: obj/libgnustep-gui.obj/NSTextCheckingController.m.o] Error 1
make[3]: *** [/usr/share/GNUstep/Makefiles/Instance/library.make:278: internal-library-all_] Error 2
make[2]: *** [/usr/share/GNUstep/Makefiles/Master/rules.make:297: libgnustep-gui.all.library.variables] Error 2
make[1]: *** [/usr/share/GNUstep/Makefiles/Master/library.make:37: internal-all] Error 2
make: *** [/usr/share/GNUstep/Makefiles/Master/serial-subdirectories.make:53: internal-all] Error 2
==> ERROR: Se produjo un fallo en build().
    Cancelando...

Beebo commented on 2021-01-25 13:45 (UTC)

Package appears to build correctly now.

daruma commented on 2021-01-17 16:55 (UTC)

I was unable to compile the package as it is. I had to add the line below to build() in the PKGBUILD. The line is added just before the make command is called. The reason this necessary is due to a change in the ICU (https://github.com/unicode-org/icu)

I got the code from this mailing list: https://www.mail-archive.com/gnustep-dev@gnu.org/msg13969.html

echo "/*
 * Define TRUE/FALSE to be used with UBool parameters, as these are no longer
 * defined in ICU as of ICU 68.
 */
#ifndef TRUE
#define TRUE 1
#endif
#ifndef FALSE
#define FALSE 0
#endif" >> Source/config.h

starfry commented on 2020-07-21 14:16 (UTC) (edited on 2020-07-21 14:17 (UTC) by starfry)

Having trouble building..

 Compiling file NSWorkspace.m ...
In file included from /usr/include/Foundation/Foundation.h:41,
                 from ../Headers/AppKit/NSUserInterfaceLayout.h:31,
                 from ../Headers/AppKit/NSView.h:39,
                 from NSWorkspace.m:98:
/usr/include/Foundation/NSAppleEventDescriptor.h:38:1: error: ‘NSAppleEventDescriptor’ redeclared as different kind of symbol
   38 | @end
      | ^
In file included from NSWorkspace.m:94: ../Headers/AppKit/NSWorkspace.h:169:14: error: previous declaration of ‘NSAppleEventDescriptor’
  169 | typedef void NSAppleEventDescriptor;
      |              ^~~~~~~~~~~~~~~~~~~~~~

starfry commented on 2020-07-21 14:09 (UTC)

Re the gpg key, I had to get the key from here: https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=gnustep&download=1

aksh1618 commented on 2019-01-21 17:13 (UTC)

Add gpg keys using

gpg --recv-keys 83AAE47CE829A4146EF83420CA868D4C99149679

Lone_Wolf commented on 2018-10-18 19:13 (UTC)

https://bugs.archlinux.org/task/60482

SpaceboyRoss commented on 2018-10-18 18:52 (UTC)

Errors while building error "gnustep-base is configured to use 'traditional' exceptions, but you are building for 'native' exceptions." error "There are two separate exception handling mechanisms available ... one based on the standard setjmp() function (which does not require special compiler support), and one 'native' version where the compiler manages the exception handling. If you try to use both in the same executable, exception handlers will not work... which can be pretty disastrous. This error is telling you that the gnustep-base library was built using one form of exception handling, but that the gnustep-make package you are using is building code to use the other form of exception handling ... with the consequence that exception handling would be broken in the program you are building. So, somehow your gnustep-base and gnustep-make package are incompatible, and you need to replace one of them with a version configured to match the other."

RemoteAdmin commented on 2018-03-18 04:55 (UTC)

@raininja I disagree. It works fine whether you have flite1 installed or not thus making it an optional dependency.

I won't add --disable-speech as it would disable flite whether it is installed or not.

raininja commented on 2018-03-18 04:21 (UTC)

I just turned off speech --disable-speech in the PKGBUILD to correct the build error concerning flite. I recommend that you either add that to your PKGBUILD or remove the opt dependency as it needs flite(1) to build. It's not optional, but you could make it so by adding a prompt to the PKGBUILD ( or disabling speech as I did ).

RemoteAdmin commented on 2018-02-06 04:20 (UTC)

Do not build with flite installed. Currently, flite1 only is supported.

I have contacted the gnustep team and they are working on a fix to add support for flite. Till then flite1 must be used.

RemoteAdmin commented on 2018-01-26 05:56 (UTC)

@Lone_Wolf @cylgalad I see. I have added an optional dependency to flite1 and asked upstream whether version 2 is supported. I will check back if I get an answer

Lone_Wolf commented on 2018-01-25 14:46 (UTC) (edited on 2018-01-25 14:47 (UTC) by Lone_Wolf)

Gnustep-gui does check for presence of flite.

checking for new_utterance in -lflite... no

checking flite/flite.h usability... no

checking flite/flite.h presence... no

checking for flite/flite.h... no

I've tried building with flite installed and that does indeed fail. log here : https://app.box.com/s/c8u2wll61ww2z2guf3n7pu0qiqjciuc2

The flite1 aur package does provide an older version of flite, this sounds like we need upstream verification which flite versions are supported.

cylgalad commented on 2018-01-24 16:03 (UTC)

I found a solution: I replaced official package flite with AUR flite1 (https://aur.archlinux.org/packages/flite1/), maybe you should had it to the dependencies at some point.

RemoteAdmin commented on 2018-01-24 04:42 (UTC)

@cylgalad I'm sry but I tried building it again and it worked fine.

Have you tried to build in a clean chroot (https://wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_Clean_Chroot)?

If the error persists than please send me your logs via mail.

cylgalad commented on 2018-01-23 16:23 (UTC) (edited on 2018-01-23 16:26 (UTC) by cylgalad)

I got build failure: gnustep-gui 0.25.1-4 -> 0.26.2-1:

" Linking app GSSpeechServer ...

/usr/bin/ld: cannot find -lflite_cmu_us_kal"