Author Topic: package discussion from: Re: (New) Joe's Window Manager (JWM)  (Read 2865 times)

Offline AndrzejL

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 12802
  • RLU #490933
    • Wordpress On The Wardrobe...
ok ive created an  RPM ...

http://dl.dropbox.com/u/5639762/jwm-2.0.1-1Sproggy2011.i586.rpm

Please download and test and tell me what you think before i send it to Tex

Kori ;D ;D ;D

Quote
[andrzejl@wishmasbell ~]$ su
Password:
[root@wishmasbell andrzejl]# apt-get install http://dl.dropbox.com/u/5639762/jwm-2.0.1-1Sproggy2011.i586.rpm
Get:1 http://dl.dropbox.com/u/5639762/jwm-2.0.1-1Sproggy2011.i586.rpm [90.1kB]
Fetched 90.1kB in 3s (27.4kB/s)                        
Reading Package Lists... Done
Building Dependency Tree... Done
Selecting jwm for 'jwm-2.0.1-1Sproggy2011.i586.rpm'
The following NEW packages will be installed:
  jwm
0 upgraded, 1 newly installed, 0 removed and 0 not upgraded.
Need to get 0B/90.1kB of archives.
After unpacking 197kB of additional disk space will be used.
Committing changes...
error: failed to stat /home/andrzejl/.gvfs: Permission denied
Preparing                                ############################## [100%]
Updating / installing
  jwm-2.0.1-1Sproggy2011.i586            ############################## [100%]
Done.
[root@wishmasbell andrzejl]#

Installation successful. Now will try using it.

Andy

Offline AndrzejL

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 12802
  • RLU #490933
    • Wordpress On The Wardrobe...
Re: package discussion from: Re: (New) Joe's Window Manager (JWM)
« Reply #1 on: March 06, 2011, 11:24:18 AM »
I don't get the JWM in

PCC > Boot  > Autologin

Can this be amended?

I will try logging in manually.

Andy

Offline AndrzejL

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 12802
  • RLU #490933
    • Wordpress On The Wardrobe...
Re: package discussion from: Re: (New) Joe's Window Manager (JWM)
« Reply #2 on: March 06, 2011, 11:27:53 AM »
There is no JWM entry in the Sessions in KDM...

Can't log into the JWM.

Waiting for a amended package.

Andy

Offline AndrzejL

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 12802
  • RLU #490933
    • Wordpress On The Wardrobe...
Re: package discussion from: Re: (New) Joe's Window Manager (JWM)
« Reply #3 on: March 06, 2011, 12:18:46 PM »
ok added update for session ... give it a try now

http://dl.dropbox.com/u/5639762/jwm-2.0.1-2Sproggy2011.i586.rpm

Quote
[andrzejl@wishmasbell ~]$ su
Password:
[root@wishmasbell andrzejl]# apt-get install http://dl.dropbox.com/u/5639762/jwm-2.0.1-2Sproggy2011.i586.rpm
Get:1 http://dl.dropbox.com/u/5639762/jwm-2.0.1-2Sproggy2011.i586.rpm [91.0kB]
Fetched 91.0kB in 7s (12.4kB/s)                                                
Reading Package Lists... Done
Building Dependency Tree... Done
Selecting jwm for 'jwm-2.0.1-2Sproggy2011.i586.rpm'
The following packages will be upgraded
  jwm
1 upgraded, 0 newly installed, 0 removed and 0 not upgraded.
Need to get 0B/91.0kB of archives.
After unpacking 89B of additional disk space will be used.
Committing changes...
error: failed to stat /home/andrzejl/.gvfs: Permission denied
Preparing                                ############################## [100%]
Updating / installing
  jwm-2.0.1-2Sproggy2011.i586            ############################## [100%]
Cleaning up / removing
  jwm-2.0.1-1Sproggy2011.i586            ############################## [100%]
Done.
[root@wishmasbell andrzejl]#

Installation successful.

Testing.

Andy

Offline AndrzejL

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 12802
  • RLU #490933
    • Wordpress On The Wardrobe...
Re: package discussion from: Re: (New) Joe's Window Manager (JWM)
« Reply #4 on: March 06, 2011, 12:21:08 PM »
JWM present in the PCC > Boot >  Setup Autologin.

Rebooting.

Andy

Offline AndrzejL

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 12802
  • RLU #490933
    • Wordpress On The Wardrobe...
Re: package discussion from: Re: (New) Joe's Window Manager (JWM)
« Reply #5 on: March 06, 2011, 12:27:57 PM »
Hey Sproggy. So far so good. Thanks Dude.

It's a go for all the other testers.

I could log into the JWM. Its bit ugly without all the theme / eyecandy but its fast / light.

Few things so far:

Menu is not in perfect shape. Only few items to be chosen from.

Terminal from the menu - not working. I got Firefox running duh. Must be a missing dependance.

Will investigate. Asking for help in testing / investigating.

Andy

Offline gseaman

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3799
Re: package discussion from: Re: (New) Joe's Window Manager (JWM)
« Reply #6 on: March 06, 2011, 12:39:32 PM »
I've installed. I'll log into jwm and report back.

Galen

Offline gseaman

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3799
Re: package discussion from: Re: (New) Joe's Window Manager (JWM)
« Reply #7 on: March 06, 2011, 12:44:08 PM »
The package works. I am running firefox from the menu. The only programs in the menu that actually start are firefox and gimp. And as already reported, there is very little in the menu.

Galen

Offline AndrzejL

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 12802
  • RLU #490933
    • Wordpress On The Wardrobe...
Re: package discussion from: Re: (New) Joe's Window Manager (JWM)
« Reply #8 on: March 06, 2011, 12:45:11 PM »
Ok lovely.

Code: [Select]
man jwm
tells me...

Quote
FILES
       /etc/system.jwmrc
              The default JWM configuration file.

       ~/.jwmrc
              Local configuration file. Copy the default configuration file to
              this location to make user-specific changes.

Had to run

Code: [Select]
cp /etc/system.jwmrc ~/.jwmrc
to create local conf file.

Now... About terminal from menu.

Quote
[andrzejl@wishmasbell ~]$ cat ~/.jwmrc | grep Terminal
      <Program icon="rxvt.png" label="Terminal">rxvt</Program>

I dont have rxvt installed so its either to make jwm dependent on this package or change entry to xterm...

Quote
[andrzejl@wishmasbell ~]$ cat ~/.jwmrc | grep Terminal
      <Program icon="rxvt.png" label="Terminal">xterm</Program>

Works as a charm.

Andy
« Last Edit: March 06, 2011, 12:47:28 PM by AndrzejL »

Offline Hootiegibbon

  • Hero Member
  • *****
  • Posts: 4151
Re: package discussion from: Re: (New) Joe's Window Manager (JWM)
« Reply #9 on: March 06, 2011, 01:23:48 PM »
Thanks to Sproggy and Andy

Looks like it a configuration job now and despite it being xml  this looks pretty good.

I wonder if there is a config tool for it....

Will split the chat to a more deserving place

Jase


I am Hootiegibbon, undisputed champion fo the typo

My .dotfiles

Offline AndrzejL

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 12802
  • RLU #490933
    • Wordpress On The Wardrobe...
Re: package discussion from: Re: (New) Joe's Window Manager (JWM)
« Reply #10 on: March 06, 2011, 01:34:45 PM »
http://dl.dropbox.com/u/7798898/PCLinuxOS/Videos/JWM.avi

So far so great.

Menu is doable / editable.

Added thunar as a file manager... Cool.

Working away. For me its almost a go. Hootiegibbon said he will come up with nice config over the week and will have it ready on next weekend. This could be added to the package.

Andy

Offline AndrzejL

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 12802
  • RLU #490933
    • Wordpress On The Wardrobe...
Re: package discussion from: Re: (New) Joe's Window Manager (JWM)
« Reply #11 on: March 06, 2011, 06:08:47 PM »
ok you guys create the config and where it needs to go and i will add it to the package then ship it to Tex ;D ;D ;D ;D

Sweet!

Andy

Offline clarms

  • Full Member
  • ***
  • Posts: 72
Re: package discussion from: Re: (New) Joe's Window Manager (JWM)
« Reply #12 on: April 01, 2011, 11:02:04 PM »
Made my own custom package a while back that includes a session that you can log in to.
It's all in the specfile. It uses the current snapshot. I'm not a dropbox package creator though. I could post the specfile if you're interested and if that is proper for the forum.

Offline AndrzejL

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 12802
  • RLU #490933
    • Wordpress On The Wardrobe...
Re: package discussion from: Re: (New) Joe's Window Manager (JWM)
« Reply #13 on: April 02, 2011, 08:13:10 AM »
Please do - and share screenshot and you jwmrc.

To be honest Sproggy's package is working perfectly fine and is about 99% ready. It's just Hootiegibbon's weekend takes a month to come up with jwmrc file... (He hates the XML :D)...

Andy

Offline clarms

  • Full Member
  • ***
  • Posts: 72
Re: package discussion from: Re: (New) Joe's Window Manager (JWM)
« Reply #14 on: April 10, 2011, 01:30:47 PM »
Please see these as examples only. The session creation is only a guess! It does work for me, but that does not mean it is correct. It could make your drink warm, make your pet look at you funny, or make your computer explode.

jwm.spec
Code: [Select]
%define name jwm
%define version 500
%define release %mkrel 1

Summary: JWM is a window manager for the X11 Window System.
Name: %{name}
Version: %{version}
Release: %{release}
Source: %{name}-%{version}.tar.bz2
License: GPL2
Group: Graphical desktop/JWM
URL: http://www.joewing.net/programs/jwm/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
# where is Xlib
# BuildRequires: Xlib

%description
JWM is a window manager for the X11 Window System.
JWM is written in C and uses only Xlib at a minimum.

The following libraries can also be used if available:

libfribidi for bi-directional text support.
libjpeg for JPEG icons and backgrounds.
libpng for PNG icons and backgrounds.
libXext for the shape extension.
libXext for the render extension.
libXmu for rounded corners.
libxft for antialiased and true type fonts.
libXinerama for multiple head support.
libXpm for XPM icons and backgrounds

%prep
%setup -q

# seems to be fixed as of version 500
# for version 498
#cd src
#perl -pi -e "s,#     include <fribidi/fribidi_char_sets.h>,#     include <fribidi/fribidi-char-sets.h>,g" jwm.h
#cd -

%build
%configure2_5x

%make

%install
[ "$RPM_BUILD_ROOT" != "$HOME" ] && rm -rf $RPM_BUILD_ROOT

# Install with leading dirs and must end with a filename.
install -D -m 644 example.jwmrc %{buildroot}%{_sysconfdir}/system.jwmrc
install -D -m 644 jwm.1 %{buildroot}%{_mandir}/man1/jwm.1
install -D src/jwm %{buildroot}%{_bindir}/jwm

install -D -m 644 src/x.xpm %{buildroot}%{_datadir}/icons/x.xpm

# wmsession support
mkdir -p $RPM_BUILD_ROOT/etc/X11/wmsession.d/
cat << EOF > $RPM_BUILD_ROOT/etc/X11/wmsession.d/18JWM
NAME=JWM
ICON=x.xpm
EXEC=/usr/bin/jwm
DESC=Jwm window manager
SCRIPT:
exec /usr/bin/jwm
EOF

%clean
[ "$RPM_BUILD_ROOT" != "$HOME" ] && rm -rf $RPM_BUILD_ROOT

%post
%{make_session}

%postun
%{make_session}

%files
%defattr(-,root,root)
%doc README
%config(noreplace) /etc/X11/wmsession.d/18JWM
%{_sysconfdir}/system.jwmrc
%{_bindir}/jwm
%{_mandir}/man1/jwm.1*
%{_datadir}/icons/x.xpm

%changelog
* Wed Feb 16 2011 My Name <myemail@example.com> 500-1
- latest
- fribidi patch seems fixed upstream