Ivan Vučica | 23 May 13:19
Picon
Gravatar

Command lien tools that use appkit

Hi,

for QuartzCore I'll be implementing small command-line tools that in fact open an AppKit window with NSOpenGLView as the content view.

This sort of thing is not officially supported in Cocoa (a bundle is required, or hacks with CPSEnableForegroundOperation() are required). However, it works just fine with GNUstep.

Except for one small error that I just noticed and don't remember seeing before.

"Bad application class '(null)' specified"

Looks like in gui's Source/Functions.m, NSApplicationMain() is explicitly demanding that the bundle and its info dictionary exist, and that NSPrincipalClass is specified, instead of either defaulting to NSApplication, or simply checking whether the class is already initialized.

Since NSApp is a global variable, this should work fine:

Index: Source/Functions.m
===================================================================
--- Source/Functions.m    (revision 35156)
+++ Source/Functions.m    (working copy)
<at> <at> -70,7 +70,7 <at> <at>
   className = [infoDict objectForKey: <at> "NSPrincipalClass"];
   appClass = NSClassFromString(className);
 
-  if (appClass == 0)
+  if (appClass == 0 && NSApp == nil)
     {
       NSLog( <at> "Bad application class '% <at> ' specified", className);
       appClass = [NSApplication class];

Thoughts?
--
Ivan Vučica - ivan <at> vucica.net



_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep <at> gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep
Ivan Vučica | 21 May 21:15
Picon
Gravatar

DBus Menu in Gtk theme

Hi all,


Since I recently installed Ubuntu 12.04, I'm only now familiarizing myself with development on desktop environments.

Unity's global menu looks quite cool. Looks like we could plug into it over DBus.
  https://launchpad.net/dbusmenu

It'd prevent adding custom views as menu subviews and any custom painting of menus, but that probably won't affect many apps (and would be optional as part of the Gtk theme, anyway).

Any thoughts?
--
Ivan Vučica - ivan <at> vucica.net


_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep <at> gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep
Stefan Bidi | 21 May 17:42
Picon

First release of corebase coming soon

For those of you not familiar with the project, the GNUstep-corebase project is a free software implementation of the CoreFoundation library.

I plan on making a release of GNUstep-corebase in a few weeks.  Since this is the first release, and the code is still alpha quality at best, I have decided to do a prolonged testing phase.  This testing phase will be split in 2 subphases.

The first will be a 3 week period, ending June 10th.  This will be the time to test the code and look for inconsistencies.  Essentially, I want to make sure the code compiles in your favorite platform and all tests pass.  New tests can be added to the existing CF-types only, there is no plans to add another type/class before the release.  I will still be doing some work on the library at this time, but do not plan on adding anything new.

The second phase will end on June 24th and will lead to the release.  This is your normal code freeze.  I'd like to get the bugs that were found during the previous phase corrected during this time if they were not already fixed.  I really do not want to add any new tests at this stage unless it is something that can be easily fixed.  Anything requiring a deeper look will be postponed to the next release.

To build -corebase you will need gnustep-make, gnustep-base, libobjc, libicu and the zoneinfo directory.  The dependency on gnustep-base and libobjc will be optional at the time of release.  Being a pure C library, corebase doesn't need these libraries unless you want to interface with the objc runtime (ie toll-free bridged classes).  I have not decided what to do with libicu at this point since it provides core functionality.  If there is enough demand, it will be optional as well.

Adam, would you be able to make the release during the week of June 24th?  I can move the dates around if you need me to.

Thanks
Stef

_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep <at> gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep
Ivan Vučica | 19 May 23:15
Picon
Gravatar

Script for installation on Ubuntu updated

Hi all,

The script I already mentioned a couple of times is updated, and now also lives in a Mercurial repository instead of on my Dropbox account.

https://bitbucket.org/ivucica/gnustep-ubuntu

It's updated for latest GNUstep (which now seems to require libgnutls-dev), and is verified to work on latest Ubuntu LTS - that is, 12.04 -- that I've switched to. I've also added installation of libxslt-dev, which was not previously installed in the script.

On a 2009 MacBook, longest step of the installation is (naturally) clang, and takes between half an hour and an hour. I'm quite happy with the experience; while the installation process is lengthy, by replacing compiling step of clang with a precompiled version would probably make the installation speedy enough to make a casual Linux user or a new GNUstep developer happy. For now, however, I'm trying to make sure that the installed GNUstep offers the most features, so installing clang from source is probably not a bad idea. (Depending on how much clang is in flux, that is.)

I'd love it if someone would verify the steps that I'm taking and inform me of any extraneous ones.
--
Ivan Vučica - ivan <at> vucica.net



_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep <at> gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep
Ivan Vučica | 19 May 23:01
Picon
Gravatar

GNUTLS now a hard requirement for -base?

Hi all,

looks like GNUTLS is now a *hard* requirement for -base? Documentation -- that is, the INSTALL file shipping with -base -- still states openssl is an optional install, and doesn't mention GNUTLS in any way.

Having libssl-dev package on Ubuntu installed doesn't help.

I had to install libgnutls-dev to compile; without it, even with libssl-dev, I get the following error:

checking for xsltApplyStylesheet in -lxslt... no

You do not appear to have usable libxslt headers/library.
Building without them will disable the XSLT extensions.
If you really want to build gnustep-base without XSLT support,
add --disable-xslt to the configure arguments to avoid warning.
configure: WARNING: Missing support for XSLT functionality.
checking for libgnutls-config... no
checking for libgnutls - version >= 1.4.0... no
*** The libgnutls-config script installed by libgnutls could not be found
*** If libtgnuls was installed in PREFIX, make sure PREFIX/bin is in
*** your path.
no

You do not appear to have usable libgnutls headers/library.
Building without them will disable SSL/TLS/HTTPS in NSStream
and NSConnection.
If you really want to build gnustep-base without TLS support,
add --disable-tls to the configure arguments.
configure: error: Missing support for TLS functionality.
make: *** [base.make] Error 1

I do see that I can add --disable-tls, but shouldn't that be done automatically? I understand the reasons why one may want to force users to explicitly add this, nonetheless that was not the practice with OpenSSL.

Would --disable-tls also disable the use of OpenSSL?

--
Ivan Vučica - ivan <at> vucica.net



_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep <at> gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep
Andre Tampubolon | 16 May 15:56
Gravatar

Using GNUStep with TDM GCC

I'm using TDM GCC, and I'd like to learn Objective-C, so I gave GNUStep
a look.
I found that the GNUStep installer also includes GCC, which I already have.

Is there any way to use the Objective-C libraries with TDM GCC, so I
don't have to install the entire GNUStep package.

--

-- 
AT
Riccardo Mottola | 15 May 14:32
Picon
Favicon

GNUmail - SMTP authentication

Hi,

any GNUMail users out there? I seek some help in debugging and fixing 
SMTP with authentication! It is broken in the current repository, but it 
is broken also in the Debian supplied stuff and in the old tarballs I 
had. Thus I supect it has been broken since a long time, but my ISP did 
not require it some years ago when I was a regular GNUMail users.

It is one of my bigger issues with GNUMail/Pantomime currently

Thanks.

Riccardo
Ivan Vučica | 14 May 20:58
Picon
Gravatar

Using vim to contribute to GNUstep

Hi all!


Does anyone have a set of settings for vim's cindent that automatically uses as correct indentation style as possible?

What code editors do you use to contribute to the core GNUstep?

--
Ivan Vučica - ivan <at> vucica.net


_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep <at> gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep
Dan Hitt | 14 May 03:39
Picon

sound editor or viewer, or application for displaying graphs (probably in a scroll view)

Is there a GNUstep application which displays waveforms?

These could be waveforms from sound files, or other sources.

What about one that draws graphs (which is of course related,
especially if it can handle sampled data with hundreds
of thousands of samples, i suppose in some kind of scroll view)?

(I am aware of many fine applications such as Audacity, but
wondering if there's a specifically GNUstep one, which need not
be very full featured.)

I looked at
    http://www.nongnu.org/gap/
and saw OresmeKit (for drawing graphs) --- but it's not released yet,
and when it is i presume that it won't be an app but a
framework to be used in creating apps.

I also googled around, and found lists of sound editors,
such as
    http://appindex.freecode.com/search?page=1&q=sound+editor
but searching for sound+gnustep just gives one result (which is
not for waveform display):
    http://appindex.freecode.com/search?page=1&q=sound+gnustep

Thanks in advance for any reference to any app, or for suggestions
on how i could do a better search.

dan
Riccardo Mottola | 11 May 10:46
Picon
Favicon

ANN: Zipper 1.4

|Z I P P E R   1.4
-----------------

I'm happy to announce that yesterday the GNUstep Application Project 
released version 1.4 of Zipper. It was adopted by GAP in accordance with 
the original author and the license changed to GPL v2.

Zipper is an archive tool which allow viewing of various formats and 
creation of tarball (with GWorkspace Service).

What's new in this 1.4 release?

|||* First version released by GAP
* Interface redone in Gorm
* Extensive fixes to BSD tar support
* Bug fixes in the handling of archiver outputs, options and dates
* Portability fixes and crash fixes
* Updated infrastructure to current GNUstep make and runtime
* Macintosh port (to prove portability)

Where to find it?
In the GAP project: http://gap.nongnu.org/zipper/index.html

Many thanks to Sebastian Reitenbach who contacted the original Author, 
Dirk Olmes, to make the move and who with Philippe Roussel helped during 
tested and debugging sessions.

Riccardo Mottola,
GNUstep Application Project maintainer and co-leader
Dan Hitt | 9 May 07:31
Picon

build of project center 0.6.0 conks out with undefined _fileTypes at line 96 of PCAddFilesPanel.m

Hi All,

I'm trying to set up a gnustep system.

I'm using a debian 6.0.4 system, with gcc 4.4.5.

There are no debian/gnustep packages installed;
instead (per Fred) i built my own:
  gnustep-startup-0.28.0
  gworkspace-0.9.0
  gorm-1.2.12
  ProjectCenter-0.6.0

The first three of these built without issue, and the
first two (the gnustep startup and gworkspace) i've
been using for a few days.

These all came from pointers in http://gnustep.org/

So, my first question is whether i'm using the
right versions of these packages (or whether maybe
gnustep.org is no longer the right site, or the current
versions all exist on https://github.com/ or
somewhere else).

Second, as to the exact error that stopped the
compilation --- there are some warnings earlier
(e.g., redefinition of "_" occurs 3 times).  It finally
conks out in the method:
    - (void)setFileTypes:(NSArray *)fileTypes
    {
      NSString  *path = nil;

      ASSIGN(_fileTypes, fileTypes);

      path = [_browser path];
      [self validateVisibleColumns];
      [_browser setPath:path];

      [self display];
    }
at the ASSIGN line.

Thanks in advance for any pointers or suggestions!

dan

Gmane