You are not logged in.

#26 2006-01-17 18:44:01

whargoul
Member
From: Odense, Denmark
Registered: 2005-04-04
Posts: 546

Re: Fvwm 2.5.15 is out...

Snowman wrote:
baze wrote:

now all we need is someone to put it in unstable :>

That could take some time as neri is relatively busy. Here's an updated PKGBUILD:

pkgname=fvwm-devel
pkgver=2.5.15
pkgrel=1
pkgdesc="A multiple large virtual desktop window manager originally derived from twm"
url="http://www.fvwm.org"
depends=('imlib' 'fribidi' 'perl' 'x-server' 'libstroke' 'perl-tk' 'perl-x11-protocol')
source=(ftp://ftp.fvwm.org/pub/fvwm/version-2/fvwm-$pkgver.tar.bz2 
        $pkgname.desktop)
md5sums=('b56fc10535968ab8c059854c9c07c311' '3f5bcb246e035ff29aa5bf54487a3db4')

build() {
  cd $startdir/src/fvwm-$pkgver
  ./configure --prefix=/usr 
    --sysconfdir=/etc 
    --libexecdir=/usr/lib 
    --with-xft-prefix=/usr/X11R6 
    --with-fontconfig=/usr 
    --with-stroke
  make || return 1
  make DESTDIR=$startdir/pkg install
  mkdir -p $startdir/pkg/etc/fvwm
  cp sample.fvwmrc/* $startdir/pkg/etc/fvwm
  rm -f $startdir/pkg/etc/fvwm/{Makefile,Makefile.am,Makefile.in}
  install -Dm 644 ../$pkgname.desktop 
    $startdir/pkg/etc/X11/sessions/$pkgname.desktop
}

It needs perl-x11-protocol that I uploaded to AUR and fvwm.desktop from abs. It's for xorg in current.  Users of Xorg 7 in testing will need to change the --with-xft-prefix configure option and maybe the depends.  The new MenuStyle options are nice. Didn't tried FvwmTabs yet.
Enjoy! big_smile

Strangely I can't get it compile. It worked fine with the old PKGBUILD (from 2.5.14 with version number changed to 2.5.15). Here it was happen:

==> Starting build()...
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type:  
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable command logging... no
checking whether to enable debugging messages... no
checking for style of include used by make... GNU
checking for -gcc... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for X... libraries , headers 
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking imagepath... /usr/include/X11/bitmaps:/usr/include/X11/pixmaps
checking for -gcc... gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for library containing strerror... none required
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for Window... yes
checking size of Window... 4
checking for Pixel... yes
checking size of Pixel... 4
checking for void *... yes
checking size of void *... 4
checking build system type... config.sub: missing argument
Try `config.sub --help' for more information.
configure: error: /bin/sh ./config.sub   failed
./PKGBUILD: line 14: --sysconfdir=/etc: Ingen sådan fil eller filkatalog
./PKGBUILD: line 15: --libexecdir=/usr/lib: Ingen sådan fil eller filkatalog
./PKGBUILD: line 16: --with-xft-prefix=/usr/X11R6: Ingen sådan fil eller filkatalog
./PKGBUILD: line 17: --with-fontconfig=/usr: Ingen sådan fil eller filkatalog
./PKGBUILD: line 18: --with-stroke: command not found
make: *** Ingen angivne mål og ingen makefil fundet. Stop.

And yeah I now line 16 shouldn't be '--with-xft-prefix=/usr/X11R6', but I haven't seen this happen with the old PKGBUILD.  :?


Arch - It's something refreshing

Offline

#27 2006-01-17 20:44:49

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Fvwm 2.5.15 is out...

could be a copy & paste problem. Make sure there is no spaces after the

Offline

#28 2006-01-21 19:46:58

ozar
Member
From: USA
Registered: 2005-02-18
Posts: 1,686

Re: Fvwm 2.5.15 is out...

Hmm... just noticed that FVWM 2.5.16 is already out only a week after 2.5.15 was released:

http://fvwm.org/news/#2.5.16

Changes in beta release 2.5.16 (20-Jan-2006)

    * New features:
    * If the pointer can not be grabbed in functions, a message is printed to the console instead of beeping.
    * Bug Fixes:
    * Fixed a couple of build problems introduced in 2.5.15.


oz

Offline

#29 2006-01-21 22:19:51

whargoul
Member
From: Odense, Denmark
Registered: 2005-04-04
Posts: 546

Re: Fvwm 2.5.15 is out...

* Fixed a couple of build problems introduced in 2.5.15.

So it wasn't just me. smile


Arch - It's something refreshing

Offline

#30 2006-01-21 22:34:11

whargoul
Member
From: Odense, Denmark
Registered: 2005-04-04
Posts: 546

Re: Fvwm 2.5.15 is out...

Tell me, which packages provides XShm.h for X.org 7.0?


Arch - It's something refreshing

Offline

#31 2006-01-21 22:36:51

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Fvwm 2.5.15 is out...

whargoul wrote:

* Fixed a couple of build problems introduced in 2.5.15.

So it wasn't just me. smile

Hmmm... 2.5.15 built fine for me. :?
whargoul: Did you tried the suggestion I posted?

I haven't tried building 2.5.16 but changing the pkgver and md5sum in the PKGBUILD I posted  above should work.

Offline

#32 2006-01-21 22:48:22

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Fvwm 2.5.15 is out...

whargoul wrote:

Tell me, which packages provides XShm.h for X.org 7.0?

xextproto

Offline

#33 2006-01-21 22:50:15

whargoul
Member
From: Odense, Denmark
Registered: 2005-04-04
Posts: 546

Re: Fvwm 2.5.15 is out...

Snowman wrote:
whargoul wrote:

* Fixed a couple of build problems introduced in 2.5.15.

So it wasn't just me. smile

Hmmm... 2.5.15 built fine for me. :?
whargoul: Did you tried the suggestion I posted?

I haven't tried building 2.5.16 but changing the pkgver and md5sum in the PKGBUILD I posted  above should work.

It must be your PKGBUILD, because if I grab the PKGBUILD for 2.5.14 and just change it to 2.5.16, it goes find until this:

---snip---
make  all-recursive
make[1]: Entering directory `/var/abs/local/fvwm-devel/src/fvwm-2.5.16'
Making all in libs
make[2]: Entering directory `/var/abs/local/fvwm-devel/src/fvwm-2.5.16/libs'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..            -Wall -Wno-implicit-int -march=i686 -O2 -pipe -MT Graphics.o -MD -MP -MF ".deps/Graphics.Tpo" -c -o Graphics.o Graphics.c; 
then mv -f ".deps/Graphics.Tpo" ".deps/Graphics.Po"; else rm -f ".deps/Graphics.Tpo"; exit 1; fi
I filen inkluderet af ../libs/FImage.h:10,
                   af Graphics.c:34:
../libs/FShm.h:19:33: error: X11/extensions/XShm.h: Ingen sådan fil eller filkatalog
In file included from ../libs/FImage.h:10,
                 from Graphics.c:34:
../libs/FShm.h:31: fejl: syntax error before 'FShmSeg'
../libs/FShm.h:31: advarsel: definition af data uden angivelse af type eller lagringsklasse
../libs/FShm.h:32: fejl: syntax error before 'FShmSegmentInfo'
../libs/FShm.h:32: advarsel: definition af data uden angivelse af type eller lagringsklasse
In file included from Graphics.c:34:
../libs/FImage.h:17: fejl: syntax error before 'FShmSegmentInfo'
../libs/FImage.h:17: advarsel: intet semikolon i slutningen af struct eller union
../libs/FImage.h:18: advarsel: definition af data uden angivelse af type eller lagringsklasse
../libs/FImage.h:22: fejl: syntax error before '*' token
../libs/FImage.h:24: advarsel: definition af data uden angivelse af type eller lagringsklasse
../libs/FImage.h:26: fejl: syntax error before '*' token
../libs/FImage.h:29: advarsel: definition af data uden angivelse af type eller lagringsklasse
../libs/FImage.h:32: fejl: syntax error before 'FImage'
../libs/FImage.h:35: fejl: syntax error before 'FImage'
Graphics.c: In function 'CreateRotatedPixmap':
Graphics.c:338: fejl: 'fim' undeclared (first use in this function)
Graphics.c:338: fejl: (et kaldenavn der ikke er erklæret, rapporteres kun én gang
Graphics.c:338: fejl: per funktion)
Graphics.c:339: fejl: 'src_fim' undeclared (first use in this function)
Graphics.c: In function 'CreateGradientPixmap':
Graphics.c:922: fejl: 'fim' undeclared (first use in this function)
Graphics.c: In function 'CreateGradientPixmapFromString':
Graphics.c:1285: advarsel: pointer targets in passing argument 11 of 'CreateGradientPixmap' differ in signedness
make[2]: *** [Graphics.o] Fejl 1
make[2]: Leaving directory `/var/abs/local/fvwm-devel/src/fvwm-2.5.16/libs'
make[1]: *** [all-recursive] Fejl 1
make[1]: Leaving directory `/var/abs/local/fvwm-devel/src/fvwm-2.5.16'
make: *** [all] Fejl 2
==> ERROR: Build Failed.  Aborting...

So I need XShm.h


Arch - It's something refreshing

Offline

#34 2006-01-21 23:00:44

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Fvwm 2.5.15 is out...

My PKGBUILD works for the xorg in current. I did'nt tested it with xorg 7. Install xextproto and try makepkg again.

Offline

#35 2006-01-21 23:13:23

whargoul
Member
From: Odense, Denmark
Registered: 2005-04-04
Posts: 546

Re: Fvwm 2.5.15 is out...

Thanks Snowman, it is compiled now. But it is kinda funny that some packages doesn't exist, though it is installed. I now that is sounds odd, but xextproto was installed but I still had no XShm.h.


Arch - It's something refreshing

Offline

#36 2006-01-21 23:21:57

whargoul
Member
From: Odense, Denmark
Registered: 2005-04-04
Posts: 546

Re: Fvwm 2.5.15 is out...

May I ask what the advantage of compiling Fvwm with GTK?


Arch - It's something refreshing

Offline

#37 2006-02-07 03:24:21

grail
Member
Registered: 2005-02-22
Posts: 70

Re: Fvwm 2.5.15 is out...

I'm running xorg 7.0 and I tried to install fvwm-trans and got the error:

config.status: creating modules/FvwmGtk/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
cd . && /bin/sh /tmp/qpkg/src/fvwm-2.5.16/missing --run autoheader
rm -f stamp-h1
touch config.h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make  all-recursive
make[1]: Entering directory `/tmp/qpkg/src/fvwm-2.5.16'
Making all in libs
make[2]: Entering directory `/tmp/qpkg/src/fvwm-2.5.16/libs'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..  -I/usr/include -I/usr/include/freetype2          -Wall -Wno-implicit-int -march=i686 -O2 -pipe -MT Flocale.o -MD -MP -MF ".deps/Flocale.Tpo" -c -o Flocale.o Flocale.c;
then mv -f ".deps/Flocale.Tpo" ".deps/Flocale.Po"; else rm -f ".deps/Flocale.Tpo"; exit 1; fi
Flocale.c: In function 'FlocaleStringByteToCharOffset':
Flocale.c:238: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
Flocale.c: In function 'FlocaleStringCharToByteOffset':
Flocale.c:258: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
Flocale.c: In function 'FlocaleStringCharLength':
Flocale.c:275: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
Flocale.c: In function 'FlocaleStringToString2b':
Flocale.c:338: warning: pointer targets in passing argument 4 of 'FiconvCharsetToCharset' differ in signedness
Flocale.c:342: warning: pointer targets in assignment differ in signedness
Flocale.c: In function 'FlocaleEncodeString':
Flocale.c:453: warning: pointer targets in passing argument 1 of 'CombineChars' differ in signedness
Flocale.c: In function 'FlocaleEncodeWinString':
Flocale.c:569: warning: pointer targets in passing argument 1 of 'FlocaleUtf8ToUnicodeStr2b' differ in signedness
Flocale.c:574: warning: pointer targets in passing argument 3 of 'FlocaleStringToString2b' differ in signedness
Flocale.c: In function 'FlocaleRotateDrawString':
Flocale.c:760: warning: pointer targets in passing argument 3 of 'FlocaleStringToString2b' differ in signedness
Flocale.c: In function 'FlocaleDrawString':
Flocale.c:1837: warning: pointer targets in passing argument 2 of 'FlocaleStringNumberOfBytes' differ in signedness
Flocale.c:1862: warning: pointer targets in passing argument 2 of 'FlocaleStringNumberOfBytes' differ in signedness
Flocale.c:2033: warning: pointer targets in passing argument 3 of 'FlocaleStringToString2b' differ in signedness
Flocale.c: In function 'FlocaleDrawUnderline':
Flocale.c:2106: warning: pointer targets in passing argument 2 of 'FlocaleStringByteToCharOffset' differ in signedness
Flocale.c:2110: warning: pointer targets in passing argument 2 of 'FlocaleStringCharToByteOffset' differ in signedness
Flocale.c:2116: warning: pointer targets in passing argument 2 of 'FlocaleStringNumberOfBytes' differ in signedness
Flocale.c: In function 'FlocaleTextWidth':
Flocale.c:2208: warning: pointer targets in passing argument 1 of 'FlocaleUtf8ToUnicodeStr2b' differ in signedness
Flocale.c:2211: warning: pointer targets in passing argument 3 of 'FlocaleStringToString2b' differ in signedness
Flocale.c: In function 'FlocaleLoadFont':
Flocale.c:1374: warning: 'shadow_dir' may be used uninitialized in this function
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..  -I/usr/include -I/usr/include/freetype2          -Wall -Wno-implicit-int -march=i686 -O2 -pipe -MT PictureUtils.o -MD -MP -MF ".deps/PictureUtils.Tpo" -c -o PictureUtils.o PictureUtils.c;
then mv -f ".deps/PictureUtils.Tpo" ".deps/PictureUtils.Po"; else rm -f ".deps/PictureUtils.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..  -I/usr/include -I/usr/include/freetype2          -Wall -Wno-implicit-int -march=i686 -O2 -pipe -MT FScreen.o -MD -MP -MF ".deps/FScreen.Tpo" -c -o FScreen.o FScreen.c;
then mv -f ".deps/FScreen.Tpo" ".deps/FScreen.Po"; else rm -f ".deps/FScreen.Tpo"; exit 1; fi
FScreen.c: In function 'FScreenConfigureSLSScreens':
FScreen.c:597: warning: pointer targets in passing argument 4 of 'XParseGeometry' differ in signedness
FScreen.c:597: warning: pointer targets in passing argument 5 of 'XParseGeometry' differ in signedness
FScreen.c: In function 'FScreenGetGeometry':
FScreen.c:1296: warning: pointer targets in passing argument 4 of 'FScreenParseGeometryWithScreen' differ in signedness
FScreen.c:1296: warning: pointer targets in passing argument 5 of 'FScreenParseGeometryWithScreen' differ in signedness
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..  -I/usr/include -I/usr/include/freetype2          -Wall -Wno-implicit-int -march=i686 -O2 -pipe -MT Graphics.o -MD -MP -MF ".deps/Graphics.Tpo" -c -o Graphics.o Graphics.c;
then mv -f ".deps/Graphics.Tpo" ".deps/Graphics.Po"; else rm -f ".deps/Graphics.Tpo"; exit 1; fi
In file included from ../libs/FImage.h:10,
                 from Graphics.c:34:
../libs/FShm.h:19:33: error: X11/extensions/XShm.h: No such file or directory
In file included from ../libs/FImage.h:10,
                 from Graphics.c:34:
../libs/FShm.h:31: error: syntax error before 'FShmSeg'
../libs/FShm.h:31: warning: data definition has no type or storage class
../libs/FShm.h:32: error: syntax error before 'FShmSegmentInfo'
../libs/FShm.h:32: warning: data definition has no type or storage class
In file included from Graphics.c:34:
../libs/FImage.h:17: error: syntax error before 'FShmSegmentInfo'
../libs/FImage.h:17: warning: no semicolon at end of struct or union
../libs/FImage.h:18: warning: data definition has no type or storage class
../libs/FImage.h:22: error: syntax error before '*' token
../libs/FImage.h:24: warning: data definition has no type or storage class
../libs/FImage.h:26: error: syntax error before '*' token
../libs/FImage.h:29: warning: data definition has no type or storage class
../libs/FImage.h:32: error: syntax error before 'FImage'
../libs/FImage.h:35: error: syntax error before 'FImage'
Graphics.c: In function 'CreateRotatedPixmap':
Graphics.c:338: error: 'fim' undeclared (first use in this function)
Graphics.c:338: error: (Each undeclared identifier is reported only once
Graphics.c:338: error: for each function it appears in.)
Graphics.c:339: error: 'src_fim' undeclared (first use in this function)
Graphics.c: In function 'CreateGradientPixmap':
Graphics.c:922: error: 'fim' undeclared (first use in this function)
Graphics.c: In function 'CreateGradientPixmapFromString':
Graphics.c:1285: warning: pointer targets in passing argument 11 of 'CreateGradientPixmap' differ in signedness
make[2]: *** [Graphics.o] Error 1
make[2]: Leaving directory `/tmp/qpkg/src/fvwm-2.5.16/libs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/qpkg/src/fvwm-2.5.16'
make: *** [all] Error 2
==> ERROR: Build Failed.  Aborting...

any suggestions?

Offline

#38 2006-02-07 13:55:28

whargoul
Member
From: Odense, Denmark
Registered: 2005-04-04
Posts: 546

Re: Fvwm 2.5.15 is out...

Install xextproto and try again.


Arch - It's something refreshing

Offline

#39 2008-01-31 18:08:06

B15HOP
Member
From: Australia
Registered: 2005-02-10
Posts: 138

Re: Fvwm 2.5.15 is out...

yeah but /usr/X11R6 doesn't exist???


"The ecological crisis is a moral issue."

Offline

Board footer

Powered by FluxBB