You are not logged in.

#1 2005-01-27 00:49:59

Benedict_White
Member
From: Sussex, UK
Registered: 2004-05-27
Posts: 331
Website

[new] openMotif

Sorry, someone in my office was going to replace Arch with Red Hat to get motif, so I had to make this PKBUILD for openMotif.

It does brake the convention as it has an upper case character in the package name butr I did that to get the package to download.

It does seem to work, as in I installed it and ran a couple of demo programs, though help could not be found.

Here is the simple package build if any one wants to test it:

#PKBUILD by Benedict White of CSE mostly an edited version of the lesstif PKGBUILD


pkgname=openMotif
pkgver=2.2.3
pkgrel=1
pkgdesc="Open Motif"
depends=('x-server')
conflicts=(lesstif)
source=(http://www.motifzone.com/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('94c96a0f94ee0d5e41d3dba2188b263d')

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr
  make || return 1

  make DESTDIR=$startdir/pkg install

  # clean-up
  #
  rm -rf $startdir/pkg/usr/LessTif
  rm -f $startdir/pkg/usr/lib/X11/mwm/README
  # conflicts with Shell from perl
  rm -f $startdir/pkg/usr/man/man3/Shell.3
  # conflicts with tcl
  rm -f $startdir/pkg/usr/man/man3/Object.3
}


Kind regards

Benedict White

Offline

#2 2005-01-27 01:04:10

Benedict_White
Member
From: Sussex, UK
Registered: 2004-05-27
Posts: 331
Website

Re: [new] openMotif

Sorry, the source line is wrong, I just munged it together offline to get it to build with a pre downloaded package.

It should read:

source=(ftp://ftp.ics.com/pub/Products/Motif/om2.2.3/src/$pkgname-$pkgver.tar.gz)

Which makes the PKBUILD look like this:

#PKBUILD by Benedict White of CSE mostly an edited version of the lesstif PKGBUILD


pkgname=openMotif
pkgver=2.2.3
pkgrel=1
pkgdesc="Open Motif"
depends=('x-server')
source=(ftp://ftp.ics.com/pub/Products/Motif/om2.2.3/src/$pkgname-$pkgver.tar.gz)
conflicts=(lesstif)
md5sums=('94c96a0f94ee0d5e41d3dba2188b263d')

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr
  make || return 1

  make DESTDIR=$startdir/pkg install

  # clean-up
  #
  rm -rf $startdir/pkg/usr/LessTif
  rm -f $startdir/pkg/usr/lib/X11/mwm/README
  # conflicts with Shell from perl
  rm -f $startdir/pkg/usr/man/man3/Shell.3
  # conflicts with tcl
  rm -f $startdir/pkg/usr/man/man3/Object.3
}


Kind regards

Benedict White

Offline

#3 2005-01-27 06:56:42

STiAT
Member
From: Vienna, Austria
Registered: 2004-12-23
Posts: 606

Re: [new] openMotif

Thank you for the package, some programs don't work with lesstiff.

But where did you get the openmotif package like this? I always got a version where i permanently had to copy files when i wanted to build a package to distribute (!?)

//STi


Ability is nothing without opportunity.

Offline

#4 2005-01-27 09:29:03

Benedict_White
Member
From: Sussex, UK
Registered: 2004-05-27
Posts: 331
Website

Re: [new] openMotif

STiAT wrote

Thank you for the package, some programs don't work with lesstiff.

No problem, anything to help Arch.

But where did you get the openmotif package like this? I always got a version where i permanently had to copy files when i wanted to build a package to distribute (!?)

I just downloaded the open source version, read a little, edited the lesstif package and build openMotif.

Nothing to it really.

Building Arch packages is so easy, especially for straightforward packages.


Kind regards

Benedict White

Offline

#5 2005-01-27 21:02:06

STiAT
Member
From: Vienna, Austria
Registered: 2004-12-23
Posts: 606

Re: [new] openMotif

I didn't talk bout this wink

I've tried to create an RPM in former times (CCux Linux ALPHA, where i'm developer as well), and couldn't find a package i could install doing configure and make, rather it was strange packed in subfolders without any makefiles and so on...

Finally, we stuck with lesstif, and they're still not providing openmotif (i've given up CCux when i found out about ARCH).

I've built a couple of packages for ARCH now, including some patchwork and so on... it was just about that i had openmotif in bad memory.

At least i could build OpenCV without any patch using the openmotif package (for lesstif i needed a small configure patch to get it running).

// STi


Ability is nothing without opportunity.

Offline

#6 2005-01-27 21:44:50

Benedict_White
Member
From: Sussex, UK
Registered: 2004-05-27
Posts: 331
Website

Re: [new] openMotif

STiAT wrote:

At least i could build OpenCV without any patch using the openmotif package (for lesstif i needed a small configure patch to get it running).

I am pleased it helps. It is the motif package but licensed for distribution for free only on free open source platforms. (Not GPL)

Perhaps you ought to vote for it?

If there is not much interest, I won't maintain the package.

That said, the package was easy, anyone could do it once they found the source.

What is opencv, and do you have a PKGBUILD?


Kind regards

Benedict White

Offline

#7 2005-01-27 22:05:29

STiAT
Member
From: Vienna, Austria
Registered: 2004-12-23
Posts: 606

Re: [new] openMotif

OpenCV is biometrics library for facefinding by Intel.

I've got a package for 0.9.5, even when 0.9.6 is the latest (but 0.9.6 seems not to be able to import xml cascardes, so i'm still using 0.9.5 to play around a bit).

I've no decent internet connection right now, so i will be uploading everything tomorrow to my local mirror (PKGBUILD, filelist, source, patch, binary) within some games and apps i've built right now. I've built a version with lesstif now, for the "public", but you'll easily be able to use it with openmotif.

// STi


Ability is nothing without opportunity.

Offline

#8 2005-01-28 05:21:50

STiAT
Member
From: Vienna, Austria
Registered: 2004-12-23
Posts: 606

Re: [new] openMotif

http://bbs.archlinux.org/viewtopic.php?t=9526

for the OpenCV build (lesstif)

// STi


Ability is nothing without opportunity.

Offline

Board footer

Powered by FluxBB