You are not logged in.

#1 2008-01-13 04:04:17

mrmarcus66
Member
From: Algarve
Registered: 2007-12-26
Posts: 16
Website

wine 0.9.53 & photoshop CS2

I want to test Photoshop CS2 on wine 0.9.53. However Arch seems to only support version 0.9.50. I have managed to install CS2 but I cannot activate it. I think the newer version of wine is on it's way to fixing this issue as it's a P1 problem in their bugzilla.

What's the best way for me to get a newer version? Are they any special requirement to building $ installing wine on arch?

Offline

#2 2008-01-13 05:12:45

Abadaar
Member
From: Stockholm, Sweden
Registered: 2006-11-10
Posts: 28

Re: wine 0.9.53 & photoshop CS2

You can download the PKGBUILD for wine 0.9.50 from the cvs, open it, change pkgver=0.9.50 to pkgver=0.9.53, comment out the md5 check and do an makepkg in that folder. You might need to install a few extra utilities to be able to build it.

My 0.9.53 PKGBUILD is as follows:

# $Id: PKGBUILD,v 1.50 2007/12/08 08:32:41 tpowa Exp $
# Maintainer: Dale Blount <dale@archlinux.org>
# Contributor: Matt Smith (Majik) <darkknight@helpdesk.zaz.net>
pkgname=wine
pkgver=0.9.53
pkgrel=1
pkgdesc="Emulator of the Windows 3.x and Win32 APIs"
url="http://www.winehq.com"
arch=('i686')
license=('LGPL')
depends=('freetype2' 'fontconfig' 'libjpeg' 'libungif' 'alsa-lib' 'glut' 'libldap' 'libxslt' 'lcms' 'libxxf86dga' 'freeglut' \
         'libxinerama' 'libxcursor' 'libxrandr' 'libxrender' 'libxdamage')
makedepends=('alsa-lib' 'sane' 'fontforge' 'flex' 'bison')
source=(http://easynews.dl.sourceforge.net/sourceforge/wine/wine-$pkgver.tar.bz2)

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr --sysconfdir=/etc --enable-opengl --with-x
  make depend || return 1
  make || return 1
  make prefix=$startdir/pkg/usr install || return 1
  # expand conflicts with textutils ( doesn't exist anymore ? )
  # mv $startdir/pkg/usr/bin/expand $startdir/pkg/usr/bin/wine-expand || return 1
  mkdir -p $startdir/pkg/etc/wine
  # mkdir -p $startdir/pkg/etc/profile.d
  # cp -r $startdir/src/$pkgname-$pkgver/documentation/samples $startdir/pkg/etc/wine
}
# md5sums=('1f2a34569b4a76eb270f5ad206a464b8')

Offline

#3 2008-01-13 12:15:46

mrmarcus66
Member
From: Algarve
Registered: 2007-12-26
Posts: 16
Website

Re: wine 0.9.53 & photoshop CS2

Many thanks. I will try this in a bit! I just work up!

Offline

#4 2008-01-13 14:18:43

Fackamato
Member
Registered: 2006-03-31
Posts: 579

Re: wine 0.9.53 & photoshop CS2

mrmarcus66 wrote:

Many thanks. I will try this in a bit! I just work up!

I'm also interested in this, could you perhaps post later when you have got it working, with the results? I.e. if it's very slow, or actually usable smile

Thanks

Offline

#5 2008-01-14 03:27:31

mrmarcus66
Member
From: Algarve
Registered: 2007-12-26
Posts: 16
Website

Re: wine 0.9.53 & photoshop CS2

I used to be able to start photoshop CS2. Now I get the following error when after it's finnished checking for plugins,

err:shell:HCR_GetFolderAttributes HCR_GetFolderAttributes should be called for simple PIDL's only!
fixme:font:WineEngRemoveFontResourceEx :stub
X Error of failed request:  BadAtom (invalid Atom parameter)
  Major opcode of failed request:  17 (X_GetAtomName)
  Atom id in failed request:  0x0
  Serial number of failed request:  273
  Current serial number in output stream:  273
[nigel@nigel-laptop Adobe Photoshop CS2]$


I get a feeling this is caused by a font issue. I have no idea how to start to fix it. When I complied the new version of wine, I had to install some dependencys like fontconfig. I found out after compiling and installing it good practice to remove the old version of wine first. Oh well, I really can't be arsed right now.

Offline

#6 2008-01-24 15:01:58

tomato
Member
Registered: 2007-09-20
Posts: 72

Re: wine 0.9.53 & photoshop CS2

It loks like the same bug found here:
http://bugs.winehq.org/show_bug.cgi?id=10993

I think that it's related to the way wine uses X, not Photoshop or Flash itself.

I'm checking the patch posted on bugzilla:

$ cat wintab.patch
*** dlls/winex11.drv/wintab.c  2008-01-13 04:47:13.000000000 +0100
--- wintab.c    2008-01-13 23:30:45.000000000 +0100
***************
*** 514,519 ****
--- 514,520 ----
      for (loop=0; loop < num_devices; loop++)
      {
          int class_loop;
+         if (devices[loop].type == NULL) continue;
          char *device_type = XGetAtomName(data->display, devices[loop].type);

          TRACE("Device %i:  [id %d|name %s|type %s|num_classes %d|use %s]\n",

with modified arch PKGBUILD:

$ cat PKGBUILD
# $Id: PKGBUILD,v 1.51 2008/01/14 21:34:16 dale Exp $
# Maintainer: Dale Blount <dale@archlinux.org>
# Contributor: Matt Smith (Majik) <darkknight@helpdesk.zaz.net>
pkgname=wine
pkgver=0.9.53
pkgrel=1
pkgdesc="Emulator of the Windows 3.x and Win32 APIs"
url="http://www.winehq.com"
arch=('i686')
license=('LGPL')
depends=('freetype2' 'fontconfig' 'libjpeg' 'libungif' 'alsa-lib' 'glut' 'libldap' 'libxslt' 'lcms' 'libxxf86dga' 'freeglut' \
         'libxinerama' 'libxcursor' 'libxrandr' 'libxrender' 'libxdamage')
makedepends=('alsa-lib' 'sane' 'fontforge' 'flex' 'bison')
source=(http://easynews.dl.sourceforge.net/sourceforge/wine/wine-$pkgver.tar.bz2
        wintab.patch)
md5sums=('48fe690c6f37302401adde4cf5db7c19'
         '0437c7deefc5869126c570d9eba2651c')

build() {
  cd $startdir/src/$pkgname-$pkgver
  patch -Np0 -i ${startdir}/src/wintab.patch || return 1
  ./configure --prefix=/usr --sysconfdir=/etc --enable-opengl --with-x
  make depend || return 1
  make || return 1
  make prefix=$startdir/pkg/usr install || return 1
  # expand conflicts with textutils ( doesn't exist anymore ? )
  # mv $startdir/pkg/usr/bin/expand $startdir/pkg/usr/bin/wine-expand || return 1
  mkdir -p $startdir/pkg/etc/wine
  # mkdir -p $startdir/pkg/etc/profile.d
  # cp -r $startdir/src/$pkgname-$pkgver/documentation/samples $startdir/pkg/etc/wine
}

when the compilation will end, I'll post the results

EDIT: Yes, it fixes the regression
who's the wine package maintainer?

Last edited by tomato (2008-01-24 15:11:53)


sorry for my miserable english, it's my third language ; )

Offline

#7 2008-01-25 01:25:45

mrmarcus66
Member
From: Algarve
Registered: 2007-12-26
Posts: 16
Website

Re: wine 0.9.53 & photoshop CS2

Interesting, I would like to retest photoshop then. I take it I can't use yaourt to install wine and use that patch u posted?

What is the best way to recompile wine with that patch.

Step 1, remove wine
Step 2 download your PGK file?
Step 3 make makepkg using your file?

Offline

#8 2008-01-25 08:48:34

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

Re: wine 0.9.53 & photoshop CS2

Sounds reasonable smile


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#9 2008-01-25 12:38:29

Abadaar
Member
From: Stockholm, Sweden
Registered: 2006-11-10
Posts: 28

Re: wine 0.9.53 & photoshop CS2

Thanks tomato, now I have Photoshop CS2 trial running here. Need it for a graphics course, after that I'm back to the GIMP smile

Offline

#10 2008-01-25 18:26:37

jdhore
Member
From: NYC
Registered: 2007-08-01
Posts: 156

Re: wine 0.9.53 & photoshop CS2

Also, Wine 0.9.54 JUST came out (about 3 hours ago as of me typing this) and supposedly, it has full Photoshop CS/CS2 support (It's one of the new features they're specifically touting). To get it on Arch, my suggestion would just be to change the pkgver field in the pkgbuild that was posted earlier in the thread to 0.9.54 instead of 0.9.53.

Offline

#11 2008-01-25 23:36:09

[vEX]
Member
From: Sweden
Registered: 2006-11-23
Posts: 450

Re: wine 0.9.53 & photoshop CS2

No more disappearing windows in Photoshop? yikes


PC: Antec P182B | Asus P8Z77-V PRO | Intel i5 3570k | 16GB DDR3 | GeForce 450GTS | 4TB HDD | Pioneer BDR-207D | Asus Xonar DX | Altec Lansing CS21 | Eizo EV2736W-BK | Arch Linux x86_64
HTPC: Antec NSK2480 | ASUS M3A78-EM (AMD 780G) | AMD Athlon X3 425 | 8GB DDR2 | GeForce G210 | 2TB HDD | Arch Linux x86_64
Server: Raspberry Pi (model B) | 512MB RAM | 750GB HDD | Arch Linux ARM

Offline

#12 2008-01-26 02:40:42

mrmarcus66
Member
From: Algarve
Registered: 2007-12-26
Posts: 16
Website

Re: wine 0.9.53 & photoshop CS2

I have removed wine 0.9.53 and complied and added wine 0.9.54. I am now able to run photoshop again, however I am not able to activate my product(error about disk space!)! I am going to try and delete my .wine folder and reinstall photoshop CS2 but so far it looks like it's back square one!

I will post my results here tomorrow!

Offline

#13 2008-02-03 01:35:09

synthead
Member
Registered: 2006-05-09
Posts: 1,337

Re: wine 0.9.53 & photoshop CS2

Might take a look at the winehq.org page @ http://appdb.winehq.org/objectManager.p … n&iId=2631

It looks like CS2 is working great in Wine, as it is on one of their top-10 lists.  I can't help you much more from there as I have not used CS2 ...

Offline

Board footer

Powered by FluxBB