heimdal packaging
by Orion Poplawski
I'm starting to take a look at the heimdal package review:
https://bugzilla.redhat.com/show_bug.cgi?id=613001
heimdal is an alternative kerberos implementation to MIT-Kerberos. I'm
assuming we will want to explore the use of alternative to allow coexistence.
One trick part it for EL6 support. I'm assuming that there really is no way
we'll get alternatives support into the RHEL6 krb5 package. In that case is
it acceptable to fall back to the /usr/heimdal/ prefix for the package?
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA Division FAX: 303-415-9702
3380 Mitchell Lane orion(a)cora.nwra.com
Boulder, CO 80301 http://www.cora.nwra.com
12 years, 2 months
ExclusiveArch and dependencies
by Björn Persson
I have a question regarding the use of ExclusiveArch.
At https://fedoraproject.org/wiki/Architectures#ExcludeArch_.26_ExclusiveArch
it says that only packages which are exclusively architecture-specific should
use ExclusiveArch. Is it appropriate to extend this to packages which aren't
architecture-specific themselves, but which depend on a package that is
available only on some architectures?
The reason why I'm asking is that some packages with Ada code which I maintain
can't be built on architectures where Gnat, the Ada compiler, is unavailable,
and apparently this annoys the people who work on secondary architectures. The
proposed workaround is to add ExclusiveArch entries to the Ada packages,
listing the architectures where the gcc-gnat package is available, and then
update those entries when someone manages to bootstrap Gnat on a new
architecture. I'd like to know if this use of ExclusiveArch is acceptable, or
if I'll run the risk of being told that it's against the rules and must be
removed.
Björn Persson
12 years, 2 months
installing an icon to the desktop?
by Erik Blankinship
Using a .desktop file in my rpm, I have successfully put my gui software
into the gnome application menu.
I am wondering if there is a way to also put the icon onto the gnome desktop
when installing the rpm?
12 years, 4 months
Issues with Fortran modules
by Orion Poplawski
See https://bugzilla.redhat.com/show_bug.cgi?id=660035 for the spark for this.
Apparently there is a "GFORTRAN module version" number assigned to Fortran
modules created by gfortran:
==> /usr/lib/gfortran/modules/hdf5.mod <==
GFORTRAN module version '4' created from ../../../fortran/src/HDF5.f90 on Thu
Oct 28 14:43:23 2010
==> /usr/lib/gfortran/modules/netcdf.mod <==
GFORTRAN module version '0' created from netcdf4.f90 on Mon Apr 19 20:30:19 2010
Now, apparently from gcc 4.4.3 -> 4.5.1 this changed from 0 to 4, and
apparently there is no backwards compatibility:
Fatal Error: Wrong module version '0' (expected '4') for file 'netcdf.mod'
opened at (1)
So, it makes sense to me to encode this into the rpm dependencies somehow.
Perhaps gcc-gfortran can provides a gfortran-abi(VERSION) and the gfortran
module packages can require it. rpm would need to automatically generate the
requires though.
Thoughts? Suggestions?
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA Division FAX: 303-415-9702
3380 Mitchell Lane orion(a)cora.nwra.com
Boulder, CO 80301 http://www.cora.nwra.com
12 years, 4 months
how to handle a common (base) package
by Orcan Ogetbil
Hello all,
During the review [1] of the redland-bindings package , I came across
a situation where there are common %doc files that need to be shared
across different bindings. These are:
%doc AUTHORS COPYING COPYING.LIB ChangeLog
%doc LICENSE.txt NEWS README TODO
%doc LICENSE.html NEWS.html README.html TODO.html
%doc LICENSE-2.0.txt NOTICE
%doc RELEASE.html
The package has perl, php, python and ruby bindings, each of which has
its own subpackage, i.e.
perl-redland
php-redland
python-redland
ruby-redland
and the above are the only common files across. The question is, where
do these files go?
Shall we make a common package and make all the binding subpackages
depend on it? If so, what shall be the name of the common package? I
need to add that some of the bindings have different licenses, so some
of the above license files may be irrelevant for some of the bindings.
Thanks,
Orcan
[1] https://bugzilla.redhat.com/show_bug.cgi?id=659082
12 years, 4 months
Packaging of .po files for Drupal
by Volker Fröhlich
Dear list readers,
the PHP CMS Drupal can be extended with modules.
These modules usually ship with .po files. These files are the original source
of translation, when the module is activated. There are no .mo files. Drupal
parses the .po files and eventually puts the results into its database.
The .po files go to
%{_datadir}/drupal6/modules/name_of_the_module/translations.
Usually the .po files are called de.po, ja.po and so forth. In other cases,
there are also prefixes, such as includes.*.po, includes-views.*.po.
I suppose, these files should be labeled %lang, but %find_lang doesn't seem to
work. How should we treat that case?
Volker Fröhlich
12 years, 4 months
"No translations found" error in rpmbuild
by Erik Blankinship
In the %install of my spec file I do this:
Name: sunny
...
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -01 --skip-build --root $RPM_BUILD_ROOT
%find_lang %{name}
unfortunately, my rpmbuild dies with this error:
"No translations found for sunny in
/home/erikb/rpmbuild/BUILDROOT/sunny-1.0-1.i386"
Peeking into the BUILDROOT, I find I have these valid .mo and .po files with
my translations in my buildroot (all copied over by my setup.py):
BUILDROOT/sunny-1.0-1.i386/usr/share/sunny/locale/da/sunny.mo
BUILDROOT/sunny-1.0-1.i386/usr/share/sunny/locale/de/sunny.mo
BUILDROOT/sunny-1.0-1.i386/usr/share/sunny/po/da.po
BUILDROOT/sunny-1.0-1.i386/usr/share/sunny/po/de.po
Any suggestions how to get the translations into my application? I am not
sure why rpmbuild is not finding the files it needs. Thank you!
(Note: if I remove %find_lang, my rpm builds successfully)
12 years, 4 months
double click to install in f11
by Erik Blankinship
I am trying to make it easy for gnome software to be installed by novices
using OLPC F11 installations (
http://wiki.laptop.org/go/Release_notes/10.1.3 )
In olpc F11 , double clicking in gnome to install an rpm is not working for
me.
Is there any way to go enable this double-click-to-install functionality in
F11? Or to make my rpm delivered via usb stick easy to install without
terminal and rpm -i myCoolApp.rpm ?
Thanks!
12 years, 4 months
/etc/mtab is listed in setup and util-linux
by Richard W.M. Jones
[Reposted from devel, this is a more appropriate list]
febootstrap doesn't like:
febootstrap: error: /etc/mtab is a config file which is listed in two
packages
(setup-2.8.30-1.fc15.noarch.rpm,
util-linux-2.19-0.2.fc15.x86_64.rpm)
Is it OK for a %config file to exist in two RPMs?
Wouldn't RPM always create an .rpmsave or .rpmnew file in these
circumstances?
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine. Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/
12 years, 4 months
About -finline-functions
by Sergio Belkin
Hi,
I've read that "-O3" is not so good, what about -finline-functions
for g++. Is that flag allowed?
Thanks in advance!
--
--
Sergio Belkin http://www.sergiobelkin.com
Watch More TV http://sebelk.blogspot.com
LPIC-2 Certified
12 years, 4 months