Mon Oct 22 23:47:15 2012 UTC ()
Make this compile with the current GNUstep.  Bump PKGREVISION.


(rh)
diff -r1.20 -r1.21 pkgsrc/sysutils/burn/Makefile
diff -r1.2 -r1.3 pkgsrc/sysutils/burn/distinfo
diff -r1.1 -r1.2 pkgsrc/sysutils/burn/patches/patch-aa
diff -r1.1 -r1.2 pkgsrc/sysutils/burn/patches/patch-ab
diff -r1.1 -r1.2 pkgsrc/sysutils/burn/patches/patch-ac

cvs diff -r1.20 -r1.21 pkgsrc/sysutils/burn/Attic/Makefile (expand / switch to unified diff)

--- pkgsrc/sysutils/burn/Attic/Makefile 2010/01/24 13:26:12 1.20
+++ pkgsrc/sysutils/burn/Attic/Makefile 2012/10/22 23:47:15 1.21
@@ -1,40 +1,42 @@ @@ -1,40 +1,42 @@
1# $NetBSD: Makefile,v 1.20 2010/01/24 13:26:12 wiz Exp $ 1# $NetBSD: Makefile,v 1.21 2012/10/22 23:47:15 rh Exp $
2# 2#
3 3
4DISTNAME= burn-0.4.1 4DISTNAME= burn-0.4.1
5PKGREVISION= 1 5PKGREVISION= 2
6CATEGORIES= sysutils gnustep 6CATEGORIES= sysutils gnustep
7MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gsburn/} 7MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gsburn/}
8 8
9MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= http://gsburn.sourceforge.net/ 10HOMEPAGE= http://gsburn.sourceforge.net/
11COMMENT= GNUstep based CD burning program 11COMMENT= GNUstep based CD burning program
12LICENSE= gnu-gpl-v2 12LICENSE= gnu-gpl-v2
13 13
14DEPENDS+= cdparanoia>=3.0.9.8:../../audio/cdparanoia 14DEPENDS+= cdparanoia>=3.0.9.8:../../audio/cdparanoia
15DEPENDS+= cdrtools>=1.10:../../sysutils/cdrtools 15DEPENDS+= cdrtools>=1.10:../../sysutils/cdrtools
16DEPENDS+= cdrdao>=1.1.5:../../sysutils/cdrdao 16DEPENDS+= cdrdao>=1.1.5:../../sysutils/cdrdao
17DEPENDS+= gworkspace-[0-9]*:../../sysutils/gworkspace 17DEPENDS+= gworkspace-[0-9]*:../../sysutils/gworkspace
18 18
19PKG_DESTDIR_SUPPORT= user-destdir 19PKG_DESTDIR_SUPPORT= user-destdir
20 20
21NO_CONFIGURE= YES 
22MAKE_FILE= GNUmakefile 21MAKE_FILE= GNUmakefile
23USE_TOOLS+= gmake 22USE_TOOLS+= gmake
24USE_LANGUAGES= objc 23USE_LANGUAGES= objc
25WRKSRC= ${WRKDIR}/Burn 24WRKSRC= ${WRKDIR}/Burn
26MAKE_JOBS_SAFE= no 25MAKE_JOBS_SAFE= no
27MAKE_ENV+= ADDITIONAL_CPPFLAGS=-D_POSIX_SOURCE 26MAKE_ENV+= ADDITIONAL_CPPFLAGS=-D_POSIX_SOURCE
28MAKE_ENV+= ADDITIONAL_LDFLAGS=-lutil 27MAKE_ENV+= ADDITIONAL_LDFLAGS=-lutil
29 28
30FIX_GNUSTEP_INSTALLATION_DIR= yes 29FIX_GNUSTEP_INSTALLATION_DIR= yes
31SUBST_FILES.gnustep_installation_dir+= Bundles/CDparanoia/GNUmakefile 30SUBST_FILES.gnustep_installation_dir+= Bundles/CDparanoia/GNUmakefile
32SUBST_FILES.gnustep_installation_dir+= Bundles/CDrecord/GNUmakefile 31SUBST_FILES.gnustep_installation_dir+= Bundles/CDrecord/GNUmakefile
33SUBST_FILES.gnustep_installation_dir+= Bundles/MkIsoFs/GNUmakefile 32SUBST_FILES.gnustep_installation_dir+= Bundles/MkIsoFs/GNUmakefile
34 33
35.include "../../devel/gnustep-make/gnustep.mk" 34.include "../../devel/gnustep-make/gnustep.mk"
36 35
 36do-configure:
 37 ${LN} -s AudioCD ${BUILDLINK_DIR.cdplayer}/include/CDPlayer
 38
37.include "../../audio/cdplayer/buildlink3.mk" 39.include "../../audio/cdplayer/buildlink3.mk"
38.include "../../x11/gnustep-back/buildlink3.mk" 40.include "../../x11/gnustep-back/buildlink3.mk"
39.include "../../mk/pthread.buildlink3.mk" 41.include "../../mk/pthread.buildlink3.mk"
40.include "../../mk/bsd.pkg.mk" 42.include "../../mk/bsd.pkg.mk"

cvs diff -r1.2 -r1.3 pkgsrc/sysutils/burn/Attic/distinfo (expand / switch to unified diff)

--- pkgsrc/sysutils/burn/Attic/distinfo 2009/04/25 12:07:04 1.2
+++ pkgsrc/sysutils/burn/Attic/distinfo 2012/10/22 23:47:15 1.3
@@ -1,8 +1,8 @@ @@ -1,8 +1,8 @@
1$NetBSD: distinfo,v 1.2 2009/04/25 12:07:04 rh Exp $ 1$NetBSD: distinfo,v 1.3 2012/10/22 23:47:15 rh Exp $
2 2
3SHA1 (burn-0.4.1.tar.gz) = 7beb4610a8ca8ff6eb84e905f962d71dcc28a59b 3SHA1 (burn-0.4.1.tar.gz) = 7beb4610a8ca8ff6eb84e905f962d71dcc28a59b
4RMD160 (burn-0.4.1.tar.gz) = 9b2b794b2e607d7a627e23ee45bf61dd74e0074a 4RMD160 (burn-0.4.1.tar.gz) = 9b2b794b2e607d7a627e23ee45bf61dd74e0074a
5Size (burn-0.4.1.tar.gz) = 554243 bytes 5Size (burn-0.4.1.tar.gz) = 554243 bytes
6SHA1 (patch-aa) = 5c306e0fe5a7bc154494c04fd00d6c888388f30a 6SHA1 (patch-aa) = 7276928e9c9a590810ba6eb9294701780ce42f25
7SHA1 (patch-ab) = 0d22bb31aa041e656f317f4ce68bf6b9d937bc32 7SHA1 (patch-ab) = 465cd737ba5b24390599de3c8b6587088e6b3030
8SHA1 (patch-ac) = bdc2e026e1ae6192f1df6a902a3e3ca3f2797b5c 8SHA1 (patch-ac) = 8202a3aa5398c01d5665c78d710c8641562db403

cvs diff -r1.1 -r1.2 pkgsrc/sysutils/burn/patches/Attic/patch-aa (expand / switch to unified diff)

--- pkgsrc/sysutils/burn/patches/Attic/patch-aa 2009/04/25 12:07:04 1.1
+++ pkgsrc/sysutils/burn/patches/Attic/patch-aa 2012/10/22 23:47:15 1.2
@@ -1,16 +1,36 @@ @@ -1,16 +1,36 @@
1$NetBSD: patch-aa,v 1.1 2009/04/25 12:07:04 rh Exp $ 1$NetBSD: patch-aa,v 1.2 2012/10/22 23:47:15 rh Exp $
2 2
3--- ExtProgressIndicator.m.orig 2005-05-13 01:58:49.000000000 +1000 3Make this compile with recent versions of GNUstep.
 4
 5--- ExtProgressIndicator.m.orig 2005-05-12 15:58:49.000000000 +0000
4+++ ExtProgressIndicator.m 6+++ ExtProgressIndicator.m
5@@ -22,8 +22,11 @@ 7@@ -22,8 +22,11 @@
6 */ 8 */
7  9
8 #include <AppKit/NSColor.h> 10 #include <AppKit/NSColor.h>
9+#include <AppKit/NSGraphics.h> 11+#include <AppKit/NSGraphics.h>
10 #include <AppKit/NSParagraphStyle.h> 12 #include <AppKit/NSParagraphStyle.h>
11+#include <AppKit/NSAttributedString.h> 13+#include <AppKit/NSAttributedString.h>
12 #include <Foundation/Foundation.h> 14 #include <Foundation/Foundation.h>
13+#include <GNUstepGUI/GSTheme.h> 15+#include <GNUstepGUI/GSTheme.h>
14  16
15 #include "ExtProgressIndicator.h" 17 #include "ExtProgressIndicator.h"
16  18
 19@@ -79,7 +82,7 @@
 20
 21 // Calculate the inside rect to be drawn
 22 if (_isBezeled) {
 23- NSSize borderSize = _sizeForBorderType (NSBezelBorder);
 24+ NSSize borderSize = [[GSTheme theme] sizeForBorderType: NSBezelBorder];
 25 origRect = NSInsetRect(_bounds, borderSize.width, borderSize.height);
 26 } else
 27 origRect = _bounds;
 28@@ -96,7 +99,7 @@
 29 if (value > _maxValue)
 30 value = _maxValue;
 31
 32- if (_isVertical){
 33+ if ([self isVertical]){
 34 fillRect.size.height = 1;
 35 fillRect.origin.y += NSHeight(origRect) * (value / (_maxValue - _minValue));
 36 } else {

cvs diff -r1.1 -r1.2 pkgsrc/sysutils/burn/patches/Attic/patch-ab (expand / switch to unified diff)

--- pkgsrc/sysutils/burn/patches/Attic/patch-ab 2009/04/25 12:07:04 1.1
+++ pkgsrc/sysutils/burn/patches/Attic/patch-ab 2012/10/22 23:47:15 1.2
@@ -1,12 +1,23 @@ @@ -1,12 +1,23 @@
1$NetBSD: patch-ab,v 1.1 2009/04/25 12:07:04 rh Exp $ 1$NetBSD: patch-ab,v 1.2 2012/10/22 23:47:15 rh Exp $
2 2
3--- WorkInProgress.m.orig 2005-05-13 01:58:49.000000000 +1000 3Make this work with recent versions of GNUstep.
 4
 5--- WorkInProgress.m.orig 2005-05-12 15:58:49.000000000 +0000
4+++ WorkInProgress.m 6+++ WorkInProgress.m
5@@ -23,6 +23,7 @@ 7@@ -23,6 +23,7 @@
6  8
7 #include <Foundation/Foundation.h> 9 #include <Foundation/Foundation.h>
8 #include <AppKit/AppKit.h> 10 #include <AppKit/AppKit.h>
9+#include <GNUstepGUI/GSTheme.h> 11+#include <GNUstepGUI/GSTheme.h>
10  12
11 #include "Functions.h" 13 #include "Functions.h"
12 #include "Constants.h" 14 #include "Constants.h"
 15@@ -77,7 +78,7 @@ static NSString *nibName = @"WorkInProgr
 16 [super drawRect: rect];
 17
 18 // Calculate the inside rect to be drawn
 19- NSSize borderSize = _sizeForBorderType (NSBezelBorder);
 20+ NSSize borderSize = [[GSTheme theme] sizeForBorderType: NSBezelBorder];
 21 r = NSInsetRect(_bounds, borderSize.width, borderSize.height);
 22
 23 value = [self doubleValue];

cvs diff -r1.1 -r1.2 pkgsrc/sysutils/burn/patches/Attic/patch-ac (expand / switch to unified diff)

--- pkgsrc/sysutils/burn/patches/Attic/patch-ac 2009/04/25 12:07:04 1.1
+++ pkgsrc/sysutils/burn/patches/Attic/patch-ac 2012/10/22 23:47:15 1.2
@@ -1,13 +1,15 @@ @@ -1,13 +1,15 @@
1$NetBSD: patch-ac,v 1.1 2009/04/25 12:07:04 rh Exp $ 1$NetBSD: patch-ac,v 1.2 2012/10/22 23:47:15 rh Exp $
 2
 3Prevent a crash if item is nil.
2 4
3--- DriversPrefs.m.orig 2005-05-13 01:58:49.000000000 +1000 5--- DriversPrefs.m.orig 2005-05-13 01:58:49.000000000 +1000
4+++ DriversPrefs.m 6+++ DriversPrefs.m
5@@ -198,7 +198,7 @@ static DriversPrefs *singleInstance = ni 7@@ -198,7 +198,7 @@ static DriversPrefs *singleInstance = ni
6 - (BOOL) outlineView: (NSOutlineView *)outlineView 8 - (BOOL) outlineView: (NSOutlineView *)outlineView
7 isItemExpandable: (id) item 9 isItemExpandable: (id) item
8 { 10 {
9- if ([availableDrives objectForKey: ((DriversTableItem*)item)->display]) { 11- if ([availableDrives objectForKey: ((DriversTableItem*)item)->display]) {
10+ if (item && [availableDrives objectForKey: ((DriversTableItem*)item)->display]) { 12+ if (item && [availableDrives objectForKey: ((DriversTableItem*)item)->display]) {
11 return YES; 13 return YES;
12 } 14 }
13 return NO; 15 return NO;