Opened 18 years ago

Closed 17 years ago

Last modified 9 years ago

#10506 closed update (invalid)

UPDATE: diffs for CocoaDialog to 2.1.1

Reported by: rjkroege@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: mww@…, rjkroege@…
Port: CocoaDialog

Description (last modified by ryandesign (Ryan Carsten Schmidt))

--- Portfile	2006-08-18 13:37:58.000000000 -0700
+++ Portfile.new	2006-08-18 14:56:00.000000000 -0700
@@ -3,7 +3,7 @@
 PortSystem 1.0
 
 name		CocoaDialog
-version		1.2.0
+version		2.1.1
 categories	aqua sysutils
 platforms	darwin
 maintainers	mww@opendarwin.org
@@ -18,24 +18,18 @@
 homepage	http://cocoadialog.sourceforge.net/
 master_sites	sourceforge:cocoadialog
 distfiles	${name}-src-${version}.tgz
-checksums	md5 433c407768fe05bb88bcaf3a408a919b
+checksums	md5 c6d9b49a1aee3cea16d0f6da7f37cedf
 
 worksrcdir	cocoadialog
-
 use_configure	no
 
-build.type	pbx
-build.target	-buildstyle Deployment
+build.cmd	xcodebuild
+build.args	-configuration Deployment build
+build.target	-target $name
 
-set xcodebuilddir		build
-platform darwin 8 {
-	if {$xcodeversion == "2.1"} {
-		set xcodebuilddir	build/Deployment
-	}
-}
 
 destroot	{
 	xinstall -m 755 -d ${destroot}/Applications/DarwinPorts/
-	file copy ${worksrcpath}/${xcodebuilddir}/CocoaDialog.app \
+	file copy ${worksrcpath}/build/Deployment/CocoaDialog.app \
 		${destroot}/Applications/DarwinPorts/
 }

Change History (7)

comment:1 Changed 18 years ago by markd@…

Committed. But it doesn't run for me. Please test and give feedback if it works ok for you.

comment:2 Changed 18 years ago by markd@…

Cc: rjkroege@… added
Summary: UPDATE: diffs for CocoaDialog to 2.1.1BUG: Cocoadialog-2.1.1 fails to start
Type: enhancementdefect

This port now fails to start up. It quits right after launch with this in the console:

Unknown dialog type: -psn_0_14548993
Usage: CocoaDialog type [options]
	Available types:
		fileselect, filesave, msgbox, yesno-msgbox, ok-msgbox,
		textbox, progressbar, inputbox, standard-inputbox,
		secure-inputbox, secure-standard-inputbox
		dropdown, standard-dropdown, bubble.
	Global Options:
		--help, --debug, --title, --width, --height,
		--string-output, --no-newline

See http://cocoadialog.sourceforge.net/documentation.html
for detailed documentation.
Last edited 9 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:3 Changed 18 years ago by pipping@…

Milestone: Port Bugs

comment:4 Changed 18 years ago by rjkroege@…

So, it's not suppose to start up unless provided with command line arguments. So, I don't think that is a bug. That being said, it doesn't work right on my PowerPC Mac so that is an issue.

comment:5 Changed 17 years ago by rjkroege@…

I have since verified that CocoaDialog works fine on PowerPC. This is not a bug. Please mark it as closed.

CocoaDialog must be invoked with a command line argument specifying the type of widget to display. As per this example.

cocoa_dialog = /Applications/MacPorts/CocoaDialog.app/Contents/MacOS/CocoaDialog
$cocoa_dialog bubble --title 'Macports sez' --text 'you are a nerd' --no-timeout 

comment:6 Changed 17 years ago by nox@…

Milestone: Port Bugs
Resolution: invalid
Status: newclosed
Version: 1.2

comment:7 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: CocoaDialog added
Summary: BUG: Cocoadialog-2.1.1 fails to startUPDATE: diffs for CocoaDialog to 2.1.1
Type: defectupdate
Note: See TracTickets for help on using tickets.