Code not very portable. It installs on Fedora but doesn't move to custom locations easily
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| byobu |
High
|
Dustin Kirkland | ||
| byobu (Ubuntu) |
High
|
Unassigned |
Bug Description
I've done the majority of the work in my "portability branch" to put byobu under autotools support.
This will make it much easier to incorporate byobu into package building systems.
There are some static paths I may have missed, but the majority of the work is done.
--
Derek
Related branches
Changed in byobu: | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Dustin Kirkland (kirkland) |
Dustin Kirkland (kirkland) wrote : | #1 |
ermo | Rune Morling (ermo) wrote : | #2 |
I'd be very interested in helping out with this as I'm currently simply copying <srcdir>/{etc,usr} to my <buildroot> and I'm also including a Makefile snippet copied from the .deb source to generate translations in a clean way on Foresight Linux.
goozbach: Do you by any chance have an up-to-date autotooled branch of Byobu up your sleeve that I could help test?
Dustin Kirkland (kirkland) wrote : | #3 |
goozbach-
Hiya, so Maverick is open for development and I have a little window to do some Byobu development... Given the current state of the branch, what else would you like to see moved around? If there's any chance of avoiding autoconf, I'd like to try to avoid them.
Dustin Kirkland (kirkland) wrote : | #4 |
ermo-
Hi, what's "unclean" about the current translations setup? I'd like to get that fixed for you, if possible.
ermo | Rune Morling (ermo) wrote : | #5 |
Dustin-
I was referring to conary recipe 'cleanliness' :)
I pruned the Makefile in debian/rules to only contain this:
[ermo@mrwing byobu]$ cat Makefile
# -*- makefile -*-
# Ripped from debian/rules Makefile
PKG=byobu
update-pot:
rm -f po/${PKG}.pot
xgettext -f po/POTFILES.Shell -o po/${PKG}.pot -L Shell
xgettext -f po/POTFILES.Python -o po/${PKG}.pot -L Python -j
for po in po/*.po ; do \
msgmerge $${po} po/${PKG}.pot -o $${po} ; \
done
install-po: update-pot
for po in po/*.po ; do \
lang=$${po#po/}; lang=$${lang%.po}; \
mkdir -p usr/share/
msgfmt $${po} -o usr/share/
done
install: install-po
[ermo@mrwing byobu]$
This allows me to generate the translations in in a clean way in the recipe:
[ermo@mrwing byobu]$ cat byobu.recipe
# Copyright (c) 2010 Foresight Linux
# This file is distributed under the terms of the MIT License.
# A copy is available at http://
class Byobu(BuildPack
name = 'byobu'
version = '2.75'
buildRequires = ['bash:runtime', 'desktop-
packageSummary = "Byobu is to GNU Screen what GNOME is to Xorg."
packageDesc
Byobu is a Japanese term for decorative, multi-panel screens that serve as folding room dividers.
As an open source project, Byobu is an elegant enhancement of the otherwise functional, plain,
practical GNU Screen. Byobu includes an enhanced profile and configuration utilities for the GNU
screen window manager, such as toggle-able system status notifications.
See http://
"""
def setup(r):
# Add translations using a debian/rules Makefile snippet
# -- note that this does not install byobu as such!
# Need to use the 'install' target to generate the translation succesfully
# Do the actual install.
# Byobu appears to follow the Linux FHS, so this is the easiest way to do it
# -- incidentally, this is also the way the .deb does it.
r.Run('cp -arv %(builddir)
# Replace Ubuntu-specific /var/run/screen dir to FL's /tmp/uscreens/ dir
# FIXME: May need to fix more perms
# Avoid /usr/bin/
# r.ComponentSpec
# Make sure that we include /usr/share/
# - if we don't, the help text in the menu won't show when selected.
[ermo@mrwing byob...
Dustin Kirkland (kirkland) wrote : | #6 |
Thanks for this bug report, and for all the information. I'm going to close this bug for now, since Byobu is in the official Fedora distribution now:
* https:/
Changed in byobu: | |
status: | Triaged → Fix Released |
Changed in byobu: | |
status: | Fix Released → In Progress |
Changed in byobu (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → High |
Launchpad Janitor (janitor) wrote : | #7 |
This bug was fixed in the package byobu - 3.0-0ubuntu1
---------------
byobu (3.0-0ubuntu1) maverick; urgency=low
[ Dustin Kirkland ]
* usr/bin/byobu: allow users to specify their own -S, LP: #610134
* Makefile.am, configure.ac, etc/byobu/
usr/bin/byobu, usr/bin/
usr/
usr/
usr/
usr/
usr/
usr/
usr/
usr/
usr/
usr/
usr/
usr/
usr/
- Positively massive changeset, enabling users of Unix/Linux distros
for which Byobu is not packaged (as well as non-root users of any
Unix/Linux distro) to $(./configure && make && make install) byobu!
LP: #609851, #608995, #503554
- I think this is a significant enough milestone to bump version to 3.0
* install, manpages, rules: update package build/install procedures to
use configure && make && make install
* debian/control:
- depend on automake
- autoconf for new build
- bump standards
- use breaks instead of conflicts
* AUTHORS, README: update email address and install instructions
* debian/rules, usr/bin/
- deprecate the byobu-export utility
* usr/share/
* usr/share/
key
* debian/
* configure.ac: fixup BYOBU_PREFIX in the configure, LP: #611157
* rpm/byobu.spec: deprecated; byobu is now in Fedora proper; please use
that package if you require RPMs
* configure.ac, usr/bin/byobu: bump to version 3.0
-- Dustin Kirkland <email address hidden> Mon, 02 Aug 2010 20:14:08 -0400
Changed in byobu (Ubuntu): | |
status: | In Progress → Fix Released |
Changed in byobu: | |
status: | In Progress → Fix Released |
Hi goozbach-
So I've moved everything around in the source branch, hopefully to make it more portable. Does that help? Is the autoconf/automake stuff easier now? Is your branch up to date?