View | Details | Raw Unified
Collapse All | Expand All

(-) nspluginwrapper-0.9.90.1-orig/Makefile (-1 / +1 lines)
 Lines 35-41    Link Here 
npviewer_LDFLAGS = -L/usr/X11R6/$(lib) -lX11 -lXext -lXt -ldl -lpthread
npviewer_LDFLAGS = -L/usr/X11R6/$(lib) -lX11 -lXext -lXt -ldl -lpthread
npviewer_LDFLAGS += $(GTK_LDFLAGS)
npviewer_LDFLAGS += $(GTK_LDFLAGS)
ifeq ($(ARCH),i386)
ifeq ($(ARCH),i386)
npviewer_LDFLAGS += -Wl,-shared
npviewer_LDFLAGS += -Wl,-shared -L/emul/linux/x86/usr/lib
endif
endif
npconfig_PROGRAM = npconfig
npconfig_PROGRAM = npconfig
(-) nspluginwrapper-0.9.90.1-orig/configure (-1 / +1 lines)
 Lines 260-266    Link Here 
echo "VERSION=$VERSION" >>$config_mak
echo "VERSION=$VERSION" >>$config_mak
echo "#define NPW_VERSION \"$VERSION\"" >> $config_h
echo "#define NPW_VERSION \"$VERSION\"" >> $config_h
pkglibdir="$prefix/lib/$PACKAGE"
pkglibdir="$prefix/$lib/$PACKAGE"
echo "pkglibdir=$pkglibdir" >> $config_mak
echo "pkglibdir=$pkglibdir" >> $config_mak
echo "#define NPW_LIBDIR \"$pkglibdir\"" >> $config_h
echo "#define NPW_LIBDIR \"$pkglibdir\"" >> $config_h
(-) nspluginwrapper-0.9.90.1-orig/src/npw-config.c (-2 / +4 lines)
 Lines 80-90    Link Here 
static const char *get_system_mozilla_plugin_dir(void)
static const char *get_system_mozilla_plugin_dir(void)
{
{
  static const char default_dir[] = LIBDIR "/mozilla/plugins";
  static const char default_dir[] = LIBDIR "/nsbrowser/plugins";
  const char *dir;
  const char *dir;
  if (access("/etc/SuSE-release", F_OK) == 0) {
  if (access("/etc/SuSE-release", F_OK) == 0) {
	dir = LIBDIR "/firefox/plugins";			// new plugins location (10.1?)
	dir = LIBDIR "/nsbrowser/plugins";			// new plugins location (10.1?)
	if (access(dir, F_OK) != 0)
	if (access(dir, F_OK) != 0)
	  dir = "/opt/MozillaFirefox/lib/plugins";	// XXX not lib64 aware?
	  dir = "/opt/MozillaFirefox/lib/plugins";	// XXX not lib64 aware?
  }
  }
 Lines 109-114    Link Here 
static const char **get_mozilla_plugin_dirs(void)
static const char **get_mozilla_plugin_dirs(void)
{
{
  static const char *default_dirs[] = {
  static const char *default_dirs[] = {
	"/usr/lib32/nsbrowser/plugins",
	"/usr/lib64/nsbrowser/plugins",
	"/usr/lib/mozilla/plugins",
	"/usr/lib/mozilla/plugins",
	"/usr/lib64/mozilla/plugins",
	"/usr/lib64/mozilla/plugins",
	"/usr/lib/browser-plugins",
	"/usr/lib/browser-plugins",