News and announcements

obmenugen 0.5 compiles OK with gdc 0.24 (patch inside)

Written for OpenBox Menu Generator by Pável Varela Rodríguez on 2011-12-30

The sources have not to be changed, only Makefile.

The patch (makefile.patch):

========= COPY FROM HERE =========
diff -r 95a123079c5e -r 9dc7d52ff8ec Makefile
--- a/Makefile Fri Dec 16 15:07:48 2011 -0500
+++ b/Makefile Fri Dec 30 11:49:26 2011 -0500
@@ -1,7 +1,7 @@
+CC=dmd
+CFLAGS=-v1 -I./src/ -O -release -inline -od$(OBJDIR)
 PREFIX=/usr/
 BUILDPREFIX=./usr/
-CC=dmd
-CFLAGS=-O -release -inline -od$(OBJDIR)
 OBJDIR=/tmp/

 EXECUTABLE=obmenugen
@@ -16,6 +16,7 @@

 $(EXECUTABLE): $(SOURCES)
+ mkdir -p $(BUILDPREFIX)/$(BINDIR)
  $(CC) $(CFLAGS) -of$(BUILDPREFIX)/$(BINDIR)$@ $^
========== TO HERE ===============

How to apply it:
1.- Save patch to makefile.patch
2.- Uncompress obmenugen-0.5-r72.tar.bz2
3.- 'cd obmenugen-0.5-r72/'
5.- patch Makefile: 'patch -p1 < /path/to/makefile.patch'
5.- make CC=gdmd obmenugen

Now you should have ./usr/bin/obmenugen compiled with gdc (binary is about 50% larger than the one compiled with dmd, but it rans at the exact same speed [measured])

All of you out there using GDC, enjoy this, and thanks again for using obmenugen

Contributed Gentoo's EBUILD for obmenugen v0.5

Written for OpenBox Menu Generator by Pável Varela Rodríguez on 2011-12-28

Hi all, the user RodionD [https://launchpad.net/~rodion2000] graciously wanted to share a Gentoo's EBUILD he has made to create an obmenugen's package for that Linux distribution. This is for the latest version (0.5).

Thanks a lot RodionD, you have become a really active contributor.

The EBUILD [obmenugen-0.5-r72.ebuild]

======= COPY FROM HERE ========
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=3

inherit versionator
DESCRIPTION="Flexible, easy to use and (really) fast static/dinamic menu
generator for the Openbox Window Manager."
HOMEPAGE="https://launchpad.net/obmenugen"
SRC_URI="http://launchpad.net/${PV}/${PV}/+download/${PN}-${PVR}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="!x11-misc/obmenugen-bin"
RDEPEND="${DEPEND}
               x11-wm/openbox
               dev-lang/dmd:1
               dev-libs/phobos:1
               app-text/txt2tags"

S=${WORKDIR}/${PN}-${PVR}

src_install() {
       cd ${S}/usr/bin
       dobin obmenugen
       cd ${S}/usr/share/doc/obmenugen/html
       dohtml obmenugen.html
       cd ${S}/translations
       dodir /usr/share/obmenugen/translations/de/LC_MESSAGES
       insinto /usr/share/obmenugen/translations/de/LC_MESSAGES
       doins ./de/LC_MESSAGES/obmenugen.po
       dodir /usr/share/obmenugen/translations/es/LC_MESSAGES
       insinto /usr/share/obmenugen/translations/es/LC_MESSAGES
       doins ./es/LC_MESSAGES/obmenugen.po
       dodir /usr/share/obmenugen/translations/fr/LC_MESSAGES
       insinto /usr/share/obmenugen/translations/fr/LC_MESSAGES
       doins ./fr/LC_MESSAGES/obmenugen.po
       dodir /usr/share/obmenugen/translations/ro/LC_MESSAGES
       insinto /usr/share/obmenugen/translations/ro/LC_MESSAGES
       doins ./ro/LC_MESSAGES/obmenugen.po
       dodir /usr/share/obmenugen/translations/ru/LC_MESSAGES
       insinto /usr/share/obmenugen/translations/ru/LC_MESSAGES
       doins ./ru/LC_MESSAGES/obmenugen.po
       dodir /usr/share/obmenugen/translations/uk/LC_MESSAGES
       insinto /usr/share/obmenugen/translations/uk/LC_MESSAGES
       doins ./uk/LC_MESSAGES/obmenugen.po
       dodir /usr/share/obmenugen/translations/zh/LC_MESSAGES
       insinto /usr/share/obmenugen/translations/zh/LC_MESSAGES
       doins ./zh/LC_MESSAGES/obmenugen.po
}

======= TO HERE ========

Please, be kind to report any (un)successful stories using this ebuild to me or directly to RodionD.

Thanks again to RodionD and to all people out there using and contributing to obmenugen

v0.5 Released (finally!) ;-)

Written for OpenBox Menu Generator by Pável Varela Rodríguez on 2011-12-16

The most important change in this version is the port to D 1.x. The D 2.x compilation nightmare is over. There are also a lot of minor bugfixes, some of them not that minor, :D and a few (but really useful) new features.
Hope you enjoy it and any kind of feedback is welcome.

Updated on 2011-12-16.

On the road of obmenugen v0.5

Written for OpenBox Menu Generator by Pável Varela Rodríguez on 2010-06-23

Last days I've been working a lot on obmenugen. Solving some bugs I'd discovered by myself and some other that have been reported by users (please, more feedback would be really appreciated, I don't have more than 2 or three bug reports).

Other important change I've made to the code is porting it to D 1. By this I'm improving the maintainability of the app, since D 2.0 changes a lot I spend more time adapting obmenugen to the library than actually using the library. The last stable source code only compiles against DMD 2.029 and not any other version, and that's really annoying. The branch I had ported to DMD 1 compiles, at least, against the last 3 version of DMD (I'm sure it compiles against more versions, but I couldn't test it yet). Even compiles using GDC 0.24. With D 2.0 and libphobos 2.x as base that was absoluttely imposible.

The code is really alpha quality, I keep my hands on it's neck yet, but I feel I will be releasing obmenugen v0.5 really soon, say, 15 days.

See you

v0.4 Final released

Written for OpenBox Menu Generator by Pável Varela Rodríguez on 2009-12-08

This new version introduces Internalization support. By now English and Spanish languages are supported out of the box. Soon will be also available German and French translations. Contact me if you want to help translating.

Please, test it and report bugs or any kind of feedback. That would be great.

15 of 7 results