I see three different versions of Python (2.3, 2.4, and 2.5) among ports
for 4.2 Current. Which one is considered stable so that it can be used
for building other ports? MenuMaker requires 2.4 or latter. I used 2.5
to compile the package but it was brought to my attention that
2.5 might not be considered stable.
Cheers,
Predrag
Predrag Punosevac wrote:
Dear All,
I just compiled MenuMaker on 4.2 -current and works like a charm.
Here is a long description
MenuMaker is application finding and menu generation utility. It is
capable of
finding lots of installed programs and generating the root menu
consistent
across all supported X window managers, so one will get (almost) the
same menu
no matter what WM is currently used. It is pure Python application
hence it
runs on every relevant system.
Supported X window managers:
- BlackBox
- Deskmenu
- FluxBox
- IceWM
- OpenBox, version 3
- PekWM
- WindowMaker
- XFCE, version 4
I am a n00b when it comes to OpenBSD (using it less than three
months). I have a few questions that a probably trivial but I need
some clarification and supervision to get this easy port out. My
ultimate goal to learn on this application how to port software to
OpenBSD and then do try to do couple more ports before the release of
the 4.3.
So here are my questions
1. I installed 4.2 snapshot for the i386 generated on 01/18/2008. I
have not cvsup the source and rebuild the latest kernel.
Is it really necessary to keep cvsup the source and build latest
kernel or can I just keep reinstalling snapshots? I am asking this
because
the computer, I am using to build the packages is unfortunately PIII
1Gh . I promise, I will build much faster machine specially for this
purpose in next couple of weeks but for now this one was the only one
available.
2. I took the ports snapshot which was generated on 01/20/2008
using ftp. I was little bit concern that this ports three will not
work on
01/18/2008 snapshot but it did. Could you clarify to me how often is
ports tree changing and should I constantly cvsup to the latest ports
three or can I just stick with snapshots? Obviously this question is
related to question 1 as I am really trying to keep my kernel and user
land in sync and trying to stay as current as possible.
3. I read
http://www.openbsd.org/papers/opencon07-portstutorial/index.html and
it looks to me that I could just slightly modify the
Makefile for the same FreeBSD port. This is probably due to the fact
that the port is really easy to build.
Here how it looks
# New ports collection makefile for: menumaker
# Date created: 2007-03-21
# Whom: alepulver
#
# $FreeBSD: ports/deskutils/menumaker/Makefile,v 1.1 2007/03/23
00:31:58 alepulv
er Exp $
#
PORTNAME= menumaker
PORTVERSION= 0.99.7
CATEGORIES= deskutils
MASTER_SITES= SF
MAINTAINER= [EMAIL PROTECTED]
COMMENT= Menu generator for X Window Managers and desktop
environments
USE_PYTHON= yes
GNU_CONFIGURE= yes
INFO= mmaker
.include <bsd.port.mk>
However I did compile port manually just to be on the safe side.
I fetched the source code. Being aware that it is written in Python I
compiled from the ports Python version 2.5.
Then I run run ./configure. The GNU configuration tool keep
complaining that I do not have Python binaries and I realized that
the ./configure was looking for binaries in /usr/local/bin/python
while our binaries are in /usr/local/bin/python2.5 (apparently I chose
the
latest version of Python despite the fact that anything bigger than
2.3 would do it)
I renamed the binaries and run ./configure. It went smoothly.
I then run make and make install. Everything went like a charm.
I compiled the Openbox to test the program. Then I run mmaker openbox
and I started the X with the Openbox as a window manager.
The menu was populated in the proper way.
This is obviously not the way to build the port and tomorrow I will
try to rebuild it following directions from slides. Is there anything
that
I should know beside slides and links listed on them in order to
create the port properly?
Finally, when I crate the port how do I commit the port to a
port-tree so that people can test.
Thank you so much for your patience with me in this matter. I know how
idiotic are my questions.
Kind Regards,
Predrag Punosevac
P.S. My ultimate goal is to try to port PDFEdit and SSVNC for the 4.3
release. I am in particularly interested what people think of
SSVNC. I looked also SHIMMER, TUNAPIE, MIRO, SciLab, aircrack-ng,
clive, youtube-dl (The last two are useful for watching
videos on YouTube and GoogleVideo).
Obviously this is the very large number of ports and even if I was
doing nothing else but porting software to OpenBSD I am not sure I
could do all of them for the release of 4.3. I would love to try at
least TunaPie for 4.3 release but I do not know how realistic it is.
I also want to apologize to Jacob Mauser for not testing his K3b so
far. Actually the PIII which runs current has only CD-ROM and
until I build new computer I will not be able to run the tests.
I have two DVD-RW on other computers (one running OpenBSD 4.2 release
and one running FreeBSD 6.2 stable) but they are fully functional and
used for my work on daily basis. I am also very keen to try to
test PJSUA as the VoIP is very important application for my work. I
would also like to attempt porting Ekiga but I think that my knowledge
is insufficient for such job right now.