GIMP for Mac

Gimp 2.4.7 released : packagers wanted

Installation and Mac OS specific issues.

Re: Gimp 2.4.7 released : packagers wanted

Postby theonehorst » Fri Aug 29, 2008 10:50 pm

Ok. here it is:

http://downloads.sourceforge.net/darwin ... irror=osdn

Auria, can you update the download page? thanks...
Members don't see the above ad. Register now - it's free!
User avatar
theonehorst
Jr. Member
 
Posts: 61
Joined: Thu Nov 29, 2007 6:33 am

Re: Gimp 2.4.7 released : packagers wanted

Postby Auria » Fri Aug 29, 2008 11:27 pm

Thanks ;D

I uopdated the dmg script, can you try again? (no need to upload again, just see if it works)
If it doesn't tell me how big you need...

EDIT: annoucement done :)
User avatar
Auria
Retired Staff
 
Posts: 479
Joined: Sun Mar 16, 2008 9:07 pm

Re: Gimp 2.4.7 released : packagers wanted

Postby theonehorst » Sat Aug 30, 2008 4:53 pm

I still get the:

hdiutil: convert failed - Die Ressource ist zeitweilig nicht verfügbar

error. means something like: resource is busy

it happens after copying the stuff to the image...
User avatar
theonehorst
Jr. Member
 
Posts: 61
Joined: Thu Nov 29, 2007 6:33 am

Re: Gimp 2.4.7 released : packagers wanted

Postby Auria » Sat Aug 30, 2008 7:28 pm

Hmm is GIMP open when you are trying to do this? Otherwise i don't know
User avatar
Auria
Retired Staff
 
Posts: 479
Joined: Sun Mar 16, 2008 9:07 pm

Re: Gimp 2.4.7 released : packagers wanted

Postby theonehorst » Sat Aug 30, 2008 7:58 pm

No its not open.... I have no idea :question:
User avatar
theonehorst
Jr. Member
 
Posts: 61
Joined: Thu Nov 29, 2007 6:33 am

Re: Gimp 2.4.7 released : packagers wanted

Postby Auria » Sat Aug 30, 2008 11:22 pm

Hmm we should get more people to test it. To know if it fails on your computer only, or on all 10.5 computers
User avatar
Auria
Retired Staff
 
Posts: 479
Joined: Sun Mar 16, 2008 9:07 pm

Re: Gimp 2.4.7 released : packagers wanted

Postby chachi » Sun Aug 31, 2008 1:43 pm

Happens here in Leopard on PPC too. I just made my own dmg and didn't even realize this new script was there ...LOL!
User avatar
chachi
Newbie
 
Posts: 16
Joined: Wed Apr 02, 2008 5:37 pm
Location: Colorado

Re: Gimp 2.4.7 released : packagers wanted

Postby Auria » Sun Aug 31, 2008 3:30 pm

okay! can any (or both) of you try removing the "open" line from the script, and tell me if now it works?
User avatar
Auria
Retired Staff
 
Posts: 479
Joined: Sun Mar 16, 2008 9:07 pm

Re: Gimp 2.4.7 released : packagers wanted

Postby chachi » Sun Aug 31, 2008 4:45 pm

I removed the open line from the script. Here's what I get now:

...
Copying files to disk image...
Compressing disk image...
"/Volumes/Gimp" unmounted successfully.
hdiutil: convert failed - Resource temporarily unavailable
Removing uncompressed transitory dmg...
Done!
User avatar
chachi
Newbie
 
Posts: 16
Joined: Wed Apr 02, 2008 5:37 pm
Location: Colorado

Re: Gimp 2.4.7 released : packagers wanted

Postby Auria » Sun Aug 31, 2008 6:00 pm

Ok, can you try making the line with "convert" this :

Code: Select all
/usr/bin/hdiutil convert -imagekey zlib-level=9 -verbose -format UDBZ ${TRANSITORY_FILENAME} -o ${FINAL_FILENAME}


try and post output. Then :

Code: Select all
/usr/bin/hdiutil convert -imagekey zlib-level=9 -debug -format UDBZ ${TRANSITORY_FILENAME} -o ${FINAL_FILENAME}


and post output too. Thanks for helping out!

EDIT: another possible test : add the following line after the "unmount" one.

Code: Select all
/usr/bin/hdiutil detach "/Volumes/${USERNAME}"
User avatar
Auria
Retired Staff
 
Posts: 479
Joined: Sun Mar 16, 2008 9:07 pm

Re: Gimp 2.4.7 released : packagers wanted

Postby chachi » Sun Aug 31, 2008 6:40 pm

verbose output:

Creating disk image...
/dev/disk6 Apple_partition_scheme
/dev/disk6s1 Apple_partition_map
/dev/disk6s2 Apple_HFS /Volumes/Gimp
created: /Users/chachi/src/darwingimp/skeleton/gimp-wla.sparseimage
Copying files to disk image...
Compressing disk image...
"/Volumes/Gimp" unmounted successfully.
hdiutil: convert: processing "gimp-wla.sparseimage"
DIBackingStoreInstantiatorProbe: interface 0, score 100, CBSDBackingStore
DIBackingStoreInstantiatorProbe: interface 1, score -1000, CBundleBackingStore
DIBackingStoreInstantiatorProbe: interface 2, score -1000, CRAMBackingStore
DIBackingStoreInstantiatorProbe: interface 3, score 100, CCarbonBackingStore
DIBackingStoreInstantiatorProbe: interface 4, score -1000, CDevBackingStore
DIBackingStoreInstantiatorProbe: interface 5, score -1000, CCURLBackingStore
DIBackingStoreInstantiatorProbe: interface 6, score -1000, CVectoredBackingStore
DIBackingStoreInstantiatorProbe: selecting CBSDBackingStore
convert: unable to recognize "gimp-wla.sparseimage":
Resource temporarily unavailable.hdiutil: convert: result: 35
hdiutil: convert failed - Resource temporarily unavailable
Removing uncompressed transitory dmg...
Done!


debug output:

Creating disk image...
/dev/disk7 Apple_partition_scheme
/dev/disk7s1 Apple_partition_map
/dev/disk7s2 Apple_HFS /Volumes/Gimp
created: /Users/chachi/src/darwingimp/skeleton/gimp-wla.sparseimage
Copying files to disk image...
Compressing disk image...
"/Volumes/Gimp" unmounted successfully.
DIIsInitialized: returning YESDIIsInitialized: returning YESDIBackingStoreNewWithCFURL: entry with
/Users/chachi/src/darwingimp/skeleton/gimp-wla.sparseimage
writeable: false
DIBackingStoreInstantiatorProbe: entry
/Users/chachi/src/darwingimp/skeleton/gimp-wla.sparseimage
writeable: false
DIBackingStoreInstantiatorProbe: probing interface 0 CBSDBackingStore
CBSDBackingStore::newProbe score 100 for file://localhost/Users/chachi/src/darwi ... parseimage
DIBackingStoreInstantiatorProbe: probing interface 1 CBundleBackingStore
CBundleBackingStore::newProbe score -1000 for file://localhost/Users/chachi/src/darwi ... parseimage
DIBackingStoreInstantiatorProbe: probing interface 2 CRAMBackingStore
CRAMBackingStore::probe: scheme "file": not ram: or ramdisk: scheme.
CRAMBackingStore::probe: score -1000 for file://localhost/Users/chachi/src/darwi ... parseimage
DIBackingStoreInstantiatorProbe: probing interface 3 CCarbonBackingStore
CCarbonBackingStore::newProbe: setting initial rval to +100
CCarbonBackingStore::newProbe score 100 for file://localhost/Users/chachi/src/darwi ... parseimage
DIBackingStoreInstantiatorProbe: probing interface 4 CDevBackingStore
CDevBackingStore::newProbe: not /dev/disk or /dev/rdisk (/Users/chachi/src/darwingimp/skeleton/gimp-wla.sparseimage).CDevBackingStore::newProbe score -1000 for
DIBackingStoreInstantiatorProbe: probing interface 5 CCURLBackingStore
CCURLBackingStore::probe: scheme is
file
CCURLBackingStore::probe: not recognized URL scheme.
CCURLBackingStore::probe: score -1000 for file://localhost/Users/chachi/src/darwi ... parseimage
DIBackingStoreInstantiatorProbe: probing interface 6 CVectoredBackingStore
CVectoredBackingStore::newProbe not "vectored" scheme.
CVectoredBackingStore::newProbe score -1000 for file://localhost/Users/chachi/src/darwi ... parseimage
DIBackingStoreNewWithCFURL: CBSDBackingStore
opening /Users/chachi/src/darwingimp/skeleton/gimp-wla.sparseimage setPermission 1716
CBSDBackingStore::OpenLockFriendly: mapping flags 0x00000000 -> 0x00000014 (locks are MANDATORY)
CBSDBackingStore:OpenLockFriendly: could not open with lock 35
DIBackingStoreNewWithCFURL: instantiator returned 35
DIBackingStoreNewWithCFURL: returning 0x00000023
DIResolveURLToBackingStore: unable to resolve to any backing store class. 35.
DIResolveURLToDiskImage: resolving backing store/file encoding failed. 35.
hdiutil: convert failed - Resource temporarily unavailable
Removing uncompressed transitory dmg...
Done!

detach code returns:

hdiutil: detach failed - No such file or directory


I'm more than happy to help!!!
User avatar
chachi
Newbie
 
Posts: 16
Joined: Wed Apr 02, 2008 5:37 pm
Location: Colorado

Re: Gimp 2.4.7 released : packagers wanted

Postby Auria » Sun Aug 31, 2008 7:22 pm

Thanskf or the info, though i'm still not sure how to fix it :/ i'll think about it, i just have no clue
User avatar
Auria
Retired Staff
 
Posts: 479
Joined: Sun Mar 16, 2008 9:07 pm

Re: Gimp 2.4.7 released : packagers wanted

Postby chachi » Mon Sep 01, 2008 4:04 pm

This works for me. See if it does for you:

Code: Select all
# get OS major version
OSXVER=`uname -r | cut -f 1 -d '.'`

ARCH=`uname -p`
if [ $OSXVER -lt 9 ]; then
FINAL_FILENAME=gimp_VERSION_tiger_"$ARCH"
else
FINAL_FILENAME=gimp_VERSION_leopard_"$ARCH"
fi

USERNAME="Gimp"
TRANSITORY_FILENAME="gimp-wla.sparseimage"

echo "Creating and attaching disk image..."
/usr/bin/hdiutil create -type SPARSE -size 300m -fs HFS+ -volname "$USERNAME" -attach "$TRANSITORY_FILENAME"

echo "Copying files to disk image..."
cp -R ./output/Gimp.app /Volumes/"$USERNAME"/Gimp.app
cp -R ./output/LICENSE.txt /Volumes/"$USERNAME"/LICENSE.txt

# open the window so that the icon database is generated
open /Volumes/"$USERNAME"
sleep 3

echo "Detaching disk image..."
/usr/bin/hdiutil detach /Volumes/"$USERNAME"

echo "Compressing disk image..."
/usr/bin/hdiutil convert -imagekey zlib-level=9 -format UDBZ ./"$TRANSITORY_FILENAME" -o ./"$FINAL_FILENAME"

echo "Removing uncompressed transitory dmg..."
/bin/rm -f ./"$TRANSITORY_FILENAME"

echo "Done!"
User avatar
chachi
Newbie
 
Posts: 16
Joined: Wed Apr 02, 2008 5:37 pm
Location: Colorado

Re: Gimp 2.4.7 released : packagers wanted

Postby Auria » Mon Sep 01, 2008 5:39 pm

hey, many thanks for playing with it :D

Updated in SVN.
User avatar
Auria
Retired Staff
 
Posts: 479
Joined: Sun Mar 16, 2008 9:07 pm

Re: Gimp 2.4.7 released : packagers wanted

Postby chachi » Mon Sep 01, 2008 5:47 pm

You're welcome! Any time Auria!!
User avatar
chachi
Newbie
 
Posts: 16
Joined: Wed Apr 02, 2008 5:37 pm
Location: Colorado

PreviousNext

Return to GIMP for Mac

cron

Who is online

Users browsing this forum: No registered users and 3 guests