Remove /compat/linux/media from linux_base ports since the native
FreeBSD /media can not be accessed by a linux application.
PR: ports/138169
Submitted by: Martin Laabs <info at martinlaabs.de>
In preparation for adding new linux (Fedora 8) infrastructure ports all linux
base ports were unified. Now it's linux_base-fc4 turn: devel/linux-glib2
is incorporated.
Changes:
* emulation/linux_base-fc4:
. devel/linux-glib2 is incorporated;
. CONFLICTS is fixed;
. PORTREVISION is bumped;
* removed *_DEPENDS upon devel/linux-glib2 and PORTREVISION bumped:
. accessibility/linux-atk;
. astro/google-earth;
. audio/linux-openal;
. graphics/linux-XnViewMP;
. www/linux-mplayer-plugin;
. x11-toolkits/linux-gtk2;
. x11-toolkits/linux-pango;
* devel/linux-glib2:
. CONFLICTS is fixed;
. DEPRECATED;
. EXPIRATION_DATE is set;
Note: this should fix a bug for non-default linux base ports when glib2
files were installed both by a linux base and by linux-glib2 ports.
1. Add a symlink from /compat/linux/lib/librt.so.1 to
/compat/linux/usr/lib/librt.so.1. This bug exists only
at linux_base-fc4 _and_ osrelease=2.4.2.
2. Bump PORTREVISION.
Note: The symlink is created at pkg-install script since the first
run of '/compat/linux/sbin/ldconfig -r /compat/linux' seems to remove
the link.
Tijl Coosemans <tijl at ulyssis.org>:
-----
This is not really a bug of linux compat, but is because of the
following:
1. opening /path/to/somefile under linux compat first tries
/compat/linux/path/to/somefile then /path/to/somefile.
2. linux binaries have two search paths for librt.so.1:
/lib and /usr/lib.
3. fc4 has a librt.so.1 in /lib but it is rejected under 2.4.2
emulation.
4. fc4 does not have a librt.so.1 under /usr/lib so when the runtime
linker tries this search path it ends up opening FreeBSD
/usr/lib/librt.so.1 (because of point 1) and fails.
By adding a softlink in /compat/linux/usr/lib to the librt.so.1 in
/compat/linux/lib, the linker doesn't open the FreeBSD librt.so.1
anymore. Instead, under 2.4.2, it rejects this lib and then tries an
internal search path /lib/obsolete/linuxthreads where it finds the
correct version. Under 2.6.16 the softlink doesn't change anything,
so imho this is something the fc4 port/package should deal with.
-----
PR: 121494
Submitted by: Jason Bacon <jwbacon at tds.net>
Convinced by: Tijl Coosemans <tijl at ulyssis.org>
Patched by: bsam (me)
. add CONFLICTS;
. add a script LINUXBASE/usr/bin/lp to allow some programs (e.g. Acrobat
Reader) to print with default settings, MF-f8;
. deal (add and remove when necessary) with some share empty directories;
. bump PORTREVISION.
Remove rpm, as we don't provide a compelete linux system (use linux_dist
if you need one). rpm2cpio(.pl)+port (it's easy, there are several examples
in the ports tree) is the FreeBSD way.
Note, rpm didn't work anyway because of missing libs, so no feature is lost
with this patch.
Non working rpm noticed by: Anders Lindquist <andersl@KTH.SE>
XXX: fc6 needs a similar fix
o update compat-db package to the latest (4.2.52-3.fc4)
available for FC4, changes:
libdb_cxx-4.1.so and libdb_cxx-4.2.so are added;
o bump PORTREVISION;
o some polishing: sort DISTFILES by name and same changes to distinfo.
Approved by: netchild (mentor, implicit)
Prepare for linux infrostructure ports transition from FC3 to FC4:
o move dealing with linux locale files (creating empty ones) for
other linux ports to linux_base-fc4;
o remove all empty directories creation from pkg-plist to pkg-install
(which is executed when installing from ports tree and thus not only
installing from a package will create empty directories);
o substitute all @dirrmtry by @dirrm -- from package building point
of view this package (linux_base) should be removed after all other
linux ports. (approved in principle by mentor)
Approved by: netchild (mentor, implicit)
The upgrading of linux infrostructure ports from FC3 to FC4 is coming
soon:
o some empty linux mtree directories (which will be used by some other
ports) are added;
o PORTREVISION is bumpted.
Approved by: netchild (mentor, implicit)
o unbreak i386-6-exp build of graphics/linux-sdl_image: remove [1]
LINUX_BASE/usr/doc dealing from devel/linux-sdl12
to emulators/linux_base-fc4 -- this directory belongs to the
linux mtree;
o bump PORTREVISION for both ports;
o update emulators/linux_base-fc4 distribution to info-4.8-8.fc4.2
(previous one is not fetchable now).
Reported by: linimon [1]
Approved by: netchild (mentor, implicit)
o fix pkg-plist at linux_base-fc4 to unbrake pointyhat building
of x11-toolkits/linux-gtk ;-)
o update x11-toolkits/linux-gtk to a newer version (FC3 -> FC4)
o bump PORTREVISION for both ports
Pointed out by: pointyhat
Approved by: netchild (mentor, implicit)
- finish repo copy from fc3 to fc4 by updating to fc4 and connecting to
the build
- don't provide a var/log directory -> use the native one [1]
Submitted by: Boris Samorodov <bsam@ipt.ru>
Suggested by: netchild [1]
Repocopy by: marcus