head 1.7; access; symbols pkgsrc-2026Q1:1.7.0.108 pkgsrc-2026Q1-base:1.7 pkgsrc-2025Q4:1.7.0.106 pkgsrc-2025Q4-base:1.7 pkgsrc-2025Q3:1.7.0.104 pkgsrc-2025Q3-base:1.7 pkgsrc-2025Q2:1.7.0.102 pkgsrc-2025Q2-base:1.7 pkgsrc-2025Q1:1.7.0.100 pkgsrc-2025Q1-base:1.7 pkgsrc-2024Q4:1.7.0.98 pkgsrc-2024Q4-base:1.7 pkgsrc-2024Q3:1.7.0.96 pkgsrc-2024Q3-base:1.7 pkgsrc-2024Q2:1.7.0.94 pkgsrc-2024Q2-base:1.7 pkgsrc-2024Q1:1.7.0.92 pkgsrc-2024Q1-base:1.7 pkgsrc-2023Q4:1.7.0.90 pkgsrc-2023Q4-base:1.7 pkgsrc-2023Q3:1.7.0.88 pkgsrc-2023Q3-base:1.7 pkgsrc-2023Q2:1.7.0.86 pkgsrc-2023Q2-base:1.7 pkgsrc-2023Q1:1.7.0.84 pkgsrc-2023Q1-base:1.7 pkgsrc-2022Q4:1.7.0.82 pkgsrc-2022Q4-base:1.7 pkgsrc-2022Q3:1.7.0.80 pkgsrc-2022Q3-base:1.7 pkgsrc-2022Q2:1.7.0.78 pkgsrc-2022Q2-base:1.7 pkgsrc-2022Q1:1.7.0.76 pkgsrc-2022Q1-base:1.7 pkgsrc-2021Q4:1.7.0.74 pkgsrc-2021Q4-base:1.7 pkgsrc-2021Q3:1.7.0.72 pkgsrc-2021Q3-base:1.7 pkgsrc-2021Q2:1.7.0.70 pkgsrc-2021Q2-base:1.7 pkgsrc-2021Q1:1.7.0.68 pkgsrc-2021Q1-base:1.7 pkgsrc-2020Q4:1.7.0.66 pkgsrc-2020Q4-base:1.7 pkgsrc-2020Q3:1.7.0.64 pkgsrc-2020Q3-base:1.7 pkgsrc-2020Q2:1.7.0.60 pkgsrc-2020Q2-base:1.7 pkgsrc-2020Q1:1.7.0.40 pkgsrc-2020Q1-base:1.7 pkgsrc-2019Q4:1.7.0.62 pkgsrc-2019Q4-base:1.7 pkgsrc-2019Q3:1.7.0.58 pkgsrc-2019Q3-base:1.7 pkgsrc-2019Q2:1.7.0.56 pkgsrc-2019Q2-base:1.7 pkgsrc-2019Q1:1.7.0.54 pkgsrc-2019Q1-base:1.7 pkgsrc-2018Q4:1.7.0.52 pkgsrc-2018Q4-base:1.7 pkgsrc-2018Q3:1.7.0.50 pkgsrc-2018Q3-base:1.7 pkgsrc-2018Q2:1.7.0.48 pkgsrc-2018Q2-base:1.7 pkgsrc-2018Q1:1.7.0.46 pkgsrc-2018Q1-base:1.7 pkgsrc-2017Q4:1.7.0.44 pkgsrc-2017Q4-base:1.7 pkgsrc-2017Q3:1.7.0.42 pkgsrc-2017Q3-base:1.7 pkgsrc-2017Q2:1.7.0.38 pkgsrc-2017Q2-base:1.7 pkgsrc-2017Q1:1.7.0.36 pkgsrc-2017Q1-base:1.7 pkgsrc-2016Q4:1.7.0.34 pkgsrc-2016Q4-base:1.7 pkgsrc-2016Q3:1.7.0.32 pkgsrc-2016Q3-base:1.7 pkgsrc-2016Q2:1.7.0.30 pkgsrc-2016Q2-base:1.7 pkgsrc-2016Q1:1.7.0.28 pkgsrc-2016Q1-base:1.7 pkgsrc-2015Q4:1.7.0.26 pkgsrc-2015Q4-base:1.7 pkgsrc-2015Q3:1.7.0.24 pkgsrc-2015Q3-base:1.7 pkgsrc-2015Q2:1.7.0.22 pkgsrc-2015Q2-base:1.7 pkgsrc-2015Q1:1.7.0.20 pkgsrc-2015Q1-base:1.7 pkgsrc-2014Q4:1.7.0.18 pkgsrc-2014Q4-base:1.7 pkgsrc-2014Q3:1.7.0.16 pkgsrc-2014Q3-base:1.7 pkgsrc-2014Q2:1.7.0.14 pkgsrc-2014Q2-base:1.7 pkgsrc-2014Q1:1.7.0.12 pkgsrc-2014Q1-base:1.7 pkgsrc-2013Q4:1.7.0.10 pkgsrc-2013Q4-base:1.7 pkgsrc-2013Q3:1.7.0.8 pkgsrc-2013Q3-base:1.7 pkgsrc-2013Q2:1.7.0.6 pkgsrc-2013Q2-base:1.7 pkgsrc-2013Q1:1.7.0.4 pkgsrc-2013Q1-base:1.7 pkgsrc-2012Q4:1.7.0.2 pkgsrc-2012Q4-base:1.7 pkgsrc-2012Q3:1.6.0.28 pkgsrc-2012Q3-base:1.6 pkgsrc-2012Q2:1.6.0.26 pkgsrc-2012Q2-base:1.6 pkgsrc-2012Q1:1.6.0.24 pkgsrc-2012Q1-base:1.6 pkgsrc-2011Q4:1.6.0.22 pkgsrc-2011Q4-base:1.6 pkgsrc-2011Q3:1.6.0.20 pkgsrc-2011Q3-base:1.6 pkgsrc-2011Q2:1.6.0.18 pkgsrc-2011Q2-base:1.6 pkgsrc-2011Q1:1.6.0.16 pkgsrc-2011Q1-base:1.6 pkgsrc-2010Q4:1.6.0.14 pkgsrc-2010Q4-base:1.6 pkgsrc-2010Q3:1.6.0.12 pkgsrc-2010Q3-base:1.6 pkgsrc-2010Q2:1.6.0.10 pkgsrc-2010Q2-base:1.6 pkgsrc-2010Q1:1.6.0.8 pkgsrc-2010Q1-base:1.6 pkgsrc-2009Q4:1.6.0.6 pkgsrc-2009Q4-base:1.6 pkgsrc-2009Q3:1.6.0.4 pkgsrc-2009Q3-base:1.6 pkgsrc-2009Q2:1.6.0.2 pkgsrc-2009Q2-base:1.6 pkgsrc-2009Q1:1.5.0.30 pkgsrc-2009Q1-base:1.5 pkgsrc-2008Q4:1.5.0.28 pkgsrc-2008Q4-base:1.5 pkgsrc-2008Q3:1.5.0.26 pkgsrc-2008Q3-base:1.5 cube-native-xorg:1.5.0.24 cube-native-xorg-base:1.5 pkgsrc-2008Q2:1.5.0.22 pkgsrc-2008Q2-base:1.5 cwrapper:1.5.0.20 pkgsrc-2008Q1:1.5.0.18 pkgsrc-2008Q1-base:1.5 pkgsrc-2007Q4:1.5.0.16 pkgsrc-2007Q4-base:1.5 pkgsrc-2007Q3:1.5.0.14 pkgsrc-2007Q3-base:1.5 pkgsrc-2007Q2:1.5.0.12 pkgsrc-2007Q2-base:1.5 pkgsrc-2007Q1:1.5.0.10 pkgsrc-2007Q1-base:1.5 pkgsrc-2006Q4:1.5.0.8 pkgsrc-2006Q4-base:1.5 pkgsrc-2006Q3:1.5.0.6 pkgsrc-2006Q3-base:1.5 pkgsrc-2006Q2:1.5.0.4 pkgsrc-2006Q2-base:1.5 pkgsrc-2006Q1:1.5.0.2 pkgsrc-2006Q1-base:1.5 pkgsrc-2005Q4:1.4.0.6 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.4.0.4 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.4.0.2 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.3.0.4 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.3.0.2 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.2.0.4 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.2.0.2 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.1.0.4 pkgsrc-2004Q1-base:1.1 pkgsrc-2003Q4:1.1.0.2 pkgsrc-2003Q4-base:1.1; locks; strict; comment @# @; 1.7 date 2012.10.22.03.08.29; author rh; state Exp; branches; next 1.6; 1.6 date 2009.04.13.12.45.04; author rh; state Exp; branches; next 1.5; 1.5 date 2006.03.24.19.05.31; author joerg; state Exp; branches; next 1.4; 1.4 date 2005.05.02.06.35.55; author rh; state Exp; branches; next 1.3; 1.3 date 2004.11.16.07.58.21; author rh; state Exp; branches; next 1.2; 1.2 date 2004.04.11.03.20.34; author rh; state dead; branches; next 1.1; 1.1 date 2003.07.06.08.51.34; author rh; state Exp; branches; next ; desc @@ 1.7 log @Update gworkspace to 0.9.1. Changes are mostly bugfixes including the ability to compile with clang and the modern Objective-C runtime. @ text @$NetBSD$ Add missing includes. --- GWorkspace/Desktop/GWDesktopManager.m.orig 2012-03-28 18:45:01.000000000 +0000 +++ GWorkspace/Desktop/GWDesktopManager.m @@@@ -31,6 +31,14 @@@@ #import "GWorkspace.h" #import "GWViewersManager.h" #import "TShelf/TShelfWin.h" +#include +#include + +#if defined(__DragonFly__) +#include +#elif (defined(BSD) && BSD >= 199306) +#include +#endif #define RESV_MARGIN 10 @ 1.6 log @Update gworkspace to 0.8.6. This is a major restructure of the GNUstep workspace manager. This also changes the filesystem layout to be more hier(7) compliant. @ text @d3 3 a5 1 --- GWorkspace/Desktop/GWDesktopManager.m.orig 2007-02-23 01:30:56.000000000 +1000 d8 3 a10 3 #include "GWorkspace.h" #include "GWViewersManager.h" #include "TShelf/TShelfWin.h" @ 1.5 log @Use getfsstat on DragonFly. Older NetBSD should most likely use it as well. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.4 2005/05/02 06:35:55 rh Exp $ d3 1 a3 1 --- GWorkspace/Desktop/GWDesktopManager.m.orig 2005-04-01 09:43:39.000000000 +1000 a19 88 @@@@ -748,9 +756,39 @@@@ static GWDesktopManager *desktopManager } if (removables == nil) { +#if (defined(BSD) && BSD >= 199306) + removables = [NSArray arrayWithObjects: @@"/mnt", nil]; +#else removables = [NSArray arrayWithObjects: @@"/mnt/floppy", @@"/mnt/cdrom", nil]; +#endif } +#if (defined(BSD) && BSD >= 199306) +#if defined(__DragonFly__) + struct statfs *mntbuf; +#else + struct statvfs *mntbuf; +#endif + int mntsize = getmntinfo(&mntbuf, MNT_NOWAIT); + + for (i = 0; i < mntsize; i++) { + if (strcmp(mntbuf[i].f_mntfromname, [fullPath cString]) == 0 || + strcmp(mntbuf[i].f_mntonname, [fullPath cString]) == 0) { + *removableFlag = [removables containsObject: + [NSString stringWithCString: mntbuf[i].f_mntonname]]; +#if defined(__DragonFly__) + *writableFlag = ( mntbuf[i].f_flags & MNT_RDONLY ) ? NO : YES; +#else + *writableFlag = ( mntbuf[i].f_flag & MNT_RDONLY ) ? NO : YES; +#endif + *unmountableFlag = YES; + *fileSystemType = [NSString stringWithCString: mntbuf[i].f_fstypename]; + *description = *fileSystemType; + + return YES; + } + } +#else /* !BSD */ mtab = [NSString stringWithContentsOfFile: mtabpath]; mounts = [mtab componentsSeparatedByString: @@"\n"]; @@@@ -782,6 +820,7 @@@@ static GWDesktopManager *desktopManager } } } +#endif return NO; } @@@@ -801,11 +840,31 @@@@ static GWDesktopManager *desktopManager } if (reserved == nil) { +#if (defined(BSD) && BSD >= 199306) + reserved = [NSArray arrayWithObjects: @@"procfs", @@"kernfs", nil]; +#else reserved = [NSArray arrayWithObjects: @@"proc", @@"devpts", @@"shm", @@"usbdevfs", @@"devpts", @@"sysfs", @@"tmpfs", nil]; +#endif } +#if (defined(BSD) && BSD >= 199306) + names = [NSMutableArray array]; +#if defined(__DragonFly__) + struct statfs *mntbuf; +#else + struct statvfs *mntbuf; +#endif + int mntsize = getmntinfo(&mntbuf, MNT_NOWAIT); + + for (i = 0; i < mntsize; i++) { + if ([reserved containsObject: [NSString stringWithCString: + mntbuf[i].f_fstypename]] == NO) { + [names addObject: [NSString stringWithCString: mntbuf[i].f_mntonname]]; + } + } +#else mtab = [NSString stringWithContentsOfFile: mtabpath]; mounts = [mtab componentsSeparatedByString: @@"\n"]; names = [NSMutableArray array]; @@@@ -825,6 +884,7 @@@@ static GWDesktopManager *desktopManager } } } +#endif return names; } @ 1.4 log @Update gworkspace to 0.7.1. There is no list of changes, but this version fixes a number of bugs, adds a tabbed shelf, no longer uses GWLib, and runs more smoothly overall. @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 @@@@ -31,6 +31,12 @@@@ d12 3 a14 1 +#if (defined(BSD) && BSD >= 199306) d20 1 a20 1 @@@@ -748,9 +754,31 @@@@ static GWDesktopManager *desktopManager d32 3 d36 1 d44 3 d48 1 d60 1 a60 1 @@@@ -782,6 +810,7 @@@@ static GWDesktopManager *desktopManager d68 1 a68 1 @@@@ -801,11 +830,27 @@@@ static GWDesktopManager *desktopManager d83 3 d87 1 d100 1 a100 1 @@@@ -825,6 +870,7 @@@@ static GWDesktopManager *desktopManager @ 1.3 log @Update GWLib and gworkspace to 0.6.5. Changes are too numerous to list here. They include new applications (Desktop, Finder, Inspector), tons of bug fixes, and feature enhancements. This closes PR pkg/28116 by Francois Briere, thanks! @ text @d1 14 a14 8 --- Finder/GNUmakefile.preamble.orig 2004-11-08 13:41:09.000000000 -0500 +++ Finder/GNUmakefile.preamble 2004-11-08 13:41:32.000000000 -0500 @@@@ -15,7 +15,7 @@@@ ADDITIONAL_LDFLAGS += # Additional library directories the linker should search -ADDITIONAL_LIB_DIRS += -L../FSNode/$(GNUSTEP_OBJ_DIR) +ADDITIONAL_LIB_DIRS += -L../FSNode/FSNode.framework/Versions/Current d16 1 a16 1 ADDITIONAL_TOOL_LIBS += d18 76 @ 1.2 log @Update gworkspace to 0.6.3. Notable changes include: * GWNet new subproject GWNet is a smb and ftp file viewer. * GWorkspace/GWSplitView.m -updateDiskSpaceInfo: rewritten. * Viewers/IconsViewer/PathIcon.m -mouseUp: implemented. * GWorkspace/Inspectors/Tools.m fixed a bug that crashed the app because a view created in Gorm was not retained before releasing its window. * applied patch by Matt Rice that changes the usage of setStringValue: on many NSButtons to setTitle. * Viewers/IconsViewer/IconsPanel.m Viewers/IconsViewer/IconsPath.m Viewers/IconsViewer/IconsViewer.m Viewers/SmallIconsViewer/SmallIcon.m Viewers/SmallIconsViewer/SmallIconsPanel.m Viewers/SmallIconsViewer/SmallIconsViewer.m applied patch by S.J. Chun to not access superviews before they are set. * added the "GWRemoteFilenamesPboardType" in all the classes that implements the DraggingDestination protocol * GWLib/FSWatcher.m added a NSNotificationQueue. * GWorkspace/Fiend/Fiend.m GWorkspace/FiendLeaf/FiendLeaf.m added DraggingDestination methods to the window. * GWorkspace/Recycler/Recycler.m the DraggingDestination is now the window. * ContentViewers/PdfViewer/PdfViewer.m applied a patch (by Charles Philip Chan ) to make the pdf Inspector work with Ghostscript 8. * GWorkspace/main.m the key equivalent for "Quit" is now "Q". * Version 0.6.2 * GWorkspace/GWorkspace.m check the defaults for "NoWarnOnQuit" * ClipBook/ClipBookWindow.m added the DraggingDestination methods and removed them from the subviews. added support for the NSColorPboardType type. * ContentViewers/PasteboardViewer/PasteboardViewer.m added support for the NSColorPboardType pasteboard type. * Version 0.6.1 * ClipBook new subproject. * GWorkspace/Resources removed some duplicate files. * GWorkspace/TShelf/TShelfIconsView.m creates pasteboard icons also from dnd. * GWorkspace/TShelf/TShelfView.m reset the current selection when changing from a pasteboard tab to a normal one. * GWorkspace/FileOperations/FileOperation.m in -doDuplicate changed the suffix "_copy" appended to the file name to a prepended string, that is, "copy_of_". * All the DraggingSources now consider also the offset in -dragImage:at:offset:event:pasteboard:source:slideBack: (on GNUstep this does nothing but I need it for osx) * GWorkspace/Resources/Icons Added some icons for Mac OS X. * GWLib/externs.m added icons names. * GWorkspace/FileOperations/FileOperation.m Now works on Mac OS X, too. * GWorkspace/Resources/English.lproj Modified some .nib files. * A new Viewer opened on "/" now saves in the defaults its own shelf content and doesn't use anymore the shelf content of the main viewer. * Utilities/thumbnailer/thumbnailerInfo.plist moved "Make thumbnail(s)" and "Remove thumbnail(s)" in a submenu. they are now "Thumbnails/Make thumbnail(s)" and "Thumbnails/Remove thumbnail(s)". German translation by Martin Brecher . * GWorkspace/Resources/German.lproj updated German Localized.strings (by Martin Brecher ) * ContentViewers/AppViewer/AppViewer.m shows also the extensions. * now the miniwindow icons reflect current directory icon instead of view type. * a new root viewer created has now the same shelf content of the first one. * Info->Preferences->Hidden files It is now possible to define directories as hidden. * ContentViewers/PasteboardViewer/PasteboardViewer.m Added a dummy implementation of GormNSBrowser, GormNSTableView, GormNSOutlineView, GormNSMenu, GormNSPopUpButtonCell and GormNSPopUpButton Now the viewer seems to works with all the Gorm objects. * ContentViewers/PasteboardViewer/PasteboardViewer.m Enabled. Actually it works with many Gorm objects. Problems with: NSBrowser, NSTableView, NSOutlineView and NSPopUpMenu. * ContentViewers/PasteboardViewer New contents viewer inspector. * Added support for cut, copy and paste operation to the Tabbed Shelf. * GWorkspace/TShelf/TShelfPBIcon.h GWorkspace/TShelf/TShelfPBIcon.m New files. * GWorkspace/Resources/Icons/ Added: Pboard.tiff, colorPboard.tiff, filecontsPboard.tiff Files, gormPboard.tiff, rtfPboard.tiff, rtfdPboard.tiff, stringPboard.tiff, tiffPboard.tiff. * GWorkspace/GWorkspace.m Added a "Do you really want to quit?" dialog in -applicationShouldTerminate:. Added some keyEquivalents to the tabbed shelf menues. * GWorkspace/TShelf/TShelfWin.m Reduced the height of the shelf by 6 pts. * GWorkspace/Desktop/DesktopView.m GWorkspace/Shelf/Shelf.m in -fileSystemDidChange: fixed a bug that leaved a renamed icon locked. * GWorkspace/FileOperations/FileOperation.m -calculateNumFiles doesn't block anymore. the stop button now works and the GWFileSystemDidChangeNotification is sent only with the processed files. * Viewers/SmallIconsViewer/SmallIconsPanel.m in -selectIconWithPath: now the view scroll to show the icon. * GWorkspace/Inspectors/Tools.m after setting the default application, the applications icons are now shown correctly. * Version 0.6 * GWLib/GWProtocol.h and GWorkspace/GWorkspace.m -sortedDirectoryContentsAtPath: -checkHiddenFiles:atPath: -setCachedMax: -addWatcherForPath: -removeWatcherForPath: -lockFiles:inDirectoryAtPath: -unLockFiles:inDirectoryAtPath: -isLockedPath: -existsAndIsDirectoryFileAtPath: -typeOfFileAt: -isPakageAtPath: -sortTypeForDirectoryAtPath: -setSortType:forDirectoryAtPath: -setDefSortType: -defSortType -setHideSysFiles: -hideSysFiles -iconForFile:ofType: -smallIconForFile: -smallIconForFiles: -smallHighlightIcon -setUseThumbnails: -imageExtensions all these methods have been moved in GWLib @ text @d1 11 a11 31 $NetBSD: patch-aa,v 1.1 2003/07/06 08:51:34 rh Exp $ --- Utilities/thumbnailer/main.m.orig 2003-06-30 23:40:26.000000000 +1000 +++ Utilities/thumbnailer/main.m @@@@ -677,18 +677,26 @@@@ int main(int argc, char** argv, char **e exit(0); } +#if GS_WITH_GC CREATE_AUTORELEASE_POOL (pool); +#endif thumbnailer = [Thumbnailer new]; +#if GS_WITH_GC RELEASE (pool); +#endif if (thumbnailer != nil) { +#if GS_WITH_GC CREATE_AUTORELEASE_POOL (pool); +#endif [NSApplication sharedApplication]; NSRegisterServicesProvider(thumbnailer, @@"Thumbnailer"); [[NSRunLoop currentRunLoop] run]; +#if GS_WITH_GC RELEASE (pool); +#endif } exit(0); @ 1.1 log @Update GWLib and gworkspace to 0.5.3. There are numerous changes, including much improved viewers and inspectors, improved iconisation, and many bug fixes. While at it, replace home grown PLIST substitution with standard GNUstep buildlink2.mk symbols. @ text @d1 1 a1 1 $NetBSD$ @