You are not logged in.

#1 2004-08-19 16:42:42

oz
Member
Registered: 2004-05-20
Posts: 102

[Multimedia:Graphics] Wings 3D package

Wings 3D is a powerful, fast, and easy 3D subdivision modeler.

It needs ESDL which I didn't know there was already a package for (somewhere).  After I uploaded my ESDL package I noticed there was already another version.  Somebody needs to unify all these respositories/wiki incoming/forums stuff; hard to find anything.   Anyway, my esdl package is in incoming as esdl-0.94.0615-1.tar.gz along with the Wings package itself.

Wings 3D PKGBUILD:

# Contributor: Chris Osgood <archlinux at functionalfuture.com>
pkgname=wings3d
pkgver=0.98.24
pkgrel=1
pkgdesc="Wings 3D is a subdivision modeler inspired by Nendo and Mirai from Izware."
url="http://www.wings3d.com"
license="BSD"
depends=('erlang' 'esdl' 'perl')
source=(http://dl.sourceforge.net/sourceforge/wings/wings-$pkgver.tar.bz2)
md5sums=('04289d0d5169ccd92a2edb30a59b59cb')

build() {
  cd $startdir/src/wings-$pkgver
  patch -Np1 -i ../../wings3d.patch
  make || return 1
  mkdir -p $startdir/pkg/usr/bin
  cp ../../wings3d $startdir/pkg/usr/bin
  mkdir -p $startdir/pkg/usr/lib/erlang/lib
  mv $startdir/src/wings-$pkgver $startdir/pkg/usr/lib/erlang/lib
}

Additional stuff (in case you don't get the package from incoming):

wings3d:  (used to start Wings)

#!/bin/sh
xterm -e erl -run wings_start start_halt

wings3d.patch:  (used to allow makepkg to work)

diff -ru wings-0.98.24_orig/plugins_src/accel/Makefile wings-0.98.24/plugins_src/accel/Makefile
--- wings-0.98.24_orig/plugins_src/accel/Makefile       2004-04-21 07:27:18.000000000 -0400
+++ wings-0.98.24/plugins_src/accel/Makefile    2004-08-19 11:08:50.000000000 -0400
@@ -33,7 +33,7 @@
    GL_LIBS =
  else
    LIBS = -shared -fpic
-   GL_LIBS = -lGLU -lGL
+   GL_LIBS = -L/usr/X11R6/lib -lGLU -lGL
  endif
 endif

Offline

#2 2004-08-19 17:05:58

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: [Multimedia:Graphics] Wings 3D package

cool tool :-)

oz: you are very active this week! great!


The impossible missions are the only ones which succeed.

Offline

#3 2004-08-19 17:29:04

punkrockguy318
Member
From: New Jersey
Registered: 2004-02-15
Posts: 711
Website

Re: [Multimedia:Graphics] Wings 3D package

oz wrote:

Wings 3D is a powerful, fast, and easy 3D subdivision modeler.

It needs ESDL which I didn't know there was already a package for (somewhere).  After I uploaded my ESDL package I noticed there was already another version.  Somebody needs to unify all these respositories/wiki incoming/forums stuff; hard to find anything.   Anyway, my esdl package is in incoming as esdl-0.94.0615-1.tar.gz along with the Wings package itself.

Wings 3D PKGBUILD:

# Contributor: Chris Osgood <archlinux at functionalfuture.com>
pkgname=wings3d
pkgver=0.98.24
pkgrel=1
pkgdesc="Wings 3D is a subdivision modeler inspired by Nendo and Mirai from Izware."
url="http://www.wings3d.com"
license="BSD"
depends=('erlang' 'esdl' 'perl')
source=(http://dl.sourceforge.net/sourceforge/wings/wings-$pkgver.tar.bz2)
md5sums=('04289d0d5169ccd92a2edb30a59b59cb')

build() {
  cd $startdir/src/wings-$pkgver
  patch -Np1 -i ../../wings3d.patch
  make || return 1
  mkdir -p $startdir/pkg/usr/bin
  cp ../../wings3d $startdir/pkg/usr/bin
  mkdir -p $startdir/pkg/usr/lib/erlang/lib
  mv $startdir/src/wings-$pkgver $startdir/pkg/usr/lib/erlang/lib
}

Additional stuff (in case you don't get the package from incoming):

wings3d:  (used to start Wings)

#!/bin/sh
xterm -e erl -run wings_start start_halt

wings3d.patch:  (used to allow makepkg to work)

diff -ru wings-0.98.24_orig/plugins_src/accel/Makefile wings-0.98.24/plugins_src/accel/Makefile
--- wings-0.98.24_orig/plugins_src/accel/Makefile       2004-04-21 07:27:18.000000000 -0400
+++ wings-0.98.24/plugins_src/accel/Makefile    2004-08-19 11:08:50.000000000 -0400
@@ -33,7 +33,7 @@
    GL_LIBS =
  else
    LIBS = -shared -fpic
-   GL_LIBS = -lGLU -lGL
+   GL_LIBS = -L/usr/X11R6/lib -lGLU -lGL
  endif
 endif

Would you mind if I added this package to my tur?


If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing.   1 Corinthians 13:2

Offline

#4 2004-08-19 17:42:36

oz
Member
Registered: 2004-05-20
Posts: 102

Re: [Multimedia:Graphics] Wings 3D package

punkrockguy318 wrote:

Would you mind if I added this package to my tur?

No problem, go right ahead!

Offline

#5 2004-08-20 14:50:13

punkrockguy318
Member
From: New Jersey
Registered: 2004-02-15
Posts: 711
Website

Re: [Multimedia:Graphics] Wings 3D package

oz:  do you have a PKGBUILD for esdl?


If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing.   1 Corinthians 13:2

Offline

#6 2004-08-20 16:48:01

oz
Member
Registered: 2004-05-20
Posts: 102

Re: [Multimedia:Graphics] Wings 3D package

My version of ESDL is on the ftp server as esdl-0.94.0615-1.tar.gz.   That tarball has the PKGBUILD in it.

I've updated the Wings 3D PKGBUILD to be more lightweight and clean:

# Contributor: Chris Osgood <archlinux at functionalfuture.com>
pkgname=wings3d
pkgver=0.98.24
pkgrel=2
pkgdesc="Wings 3D is a subdivision modeler inspired by Nendo and Mirai from Izware."
url="http://www.wings3d.com"
license="BSD"
depends=('erlang' 'esdl' 'perl')
source=(http://dl.sourceforge.net/sourceforge/wings/wings-$pkgver.tar.bz2)
md5sums=('04289d0d5169ccd92a2edb30a59b59cb')

build() {
  cd $startdir/src/wings-$pkgver
  patch -Np1 -i ../../wings3d.patch
  make || return 1
  mkdir -p $startdir/pkg/usr/bin
  cp ../../wings3d $startdir/pkg/usr/bin
  mkdir -p $startdir/pkg/usr/lib/erlang/lib/wings-$pkgver
  cp -r $startdir/src/wings-$pkgver/ebin $startdir/pkg/usr/lib/erlang/lib/wings-$pkgver
  cp -r $startdir/src/wings-$pkgver/icons $startdir/pkg/usr/lib/erlang/lib/wings-$pkgver
  cp -r $startdir/src/wings-$pkgver/plugins $startdir/pkg/usr/lib/erlang/lib/wings-$pkgver
}

Offline

Board footer

Powered by FluxBB