Subversion Repositories pub

Compare Revisions

No changes between revisions

Ignore whitespace Rev 45 → Rev 46

/nautilus-follow-symlink/branches/1.2.0/caja/INSTALL
0,0 → 1,0
link ../nautilus/INSTALL
Property changes:
Added: svn:special
+*
\ No newline at end of property
/nautilus-follow-symlink/branches/1.2.0/caja/bootstrap.sh
0,0 → 1,0
link ../nautilus/bootstrap.sh
Property changes:
Added: svn:special
+*
\ No newline at end of property
/nautilus-follow-symlink/branches/1.2.0/caja/ChangeLog
0,0 → 1,0
link ../nautilus/ChangeLog
Property changes:
Added: svn:special
+*
\ No newline at end of property
/nautilus-follow-symlink/branches/1.2.0/caja/src/refresh-layer.bash
0,0 → 1,27
#!/bin/bash
#
# This script shouldn't be executed unless new function calls
# or types are added
 
exec >layer.h
echo "Generating Nautilus to Caja preprocessor directives..." >&2
 
egrep --no-filename -o 'Nautilus[A-Z][^ ]*' *.c *.h |\
sort | uniq |\
sed -r -e 's/Nautilus([A-Z][^ ]*)/#define Nautilus\1 Caja\1/'
 
egrep --no-filename -o 'nautilus_[^(]*' *.c *.h | grep -v ' ' |\
sort | uniq |\
sed -r -e 's/nautilus_(.*)/#define nautilus_\1 caja_\1/'
 
egrep --no-filename -o 'NAUTILUS_TYPE_[A-Z_]*' *.c *.h |\
sort | uniq |\
sed -r -e 's/NAUTILUS_(.*)/#define NAUTILUS_\1 CAJA_\1/'
 
cat <<EOF
#undef NAUTILUS_COMMAND
#undef FSL_MSG_PREFIX
#define NAUTILUS_COMMAND "caja"
#define FSL_MSG_PREFIX "caja-follow-symlink"
EOF
 
/nautilus-follow-symlink/branches/1.2.0/caja/src/follow-symlink.c
0,0 → 1,0
link ../../nautilus/src/follow-symlink.c
Property changes:
Added: svn:special
+*
\ No newline at end of property
/nautilus-follow-symlink/branches/1.2.0/caja/src/nautilus-ext-follow-symlink.c
0,0 → 1,0
link ../../nautilus/src/nautilus-ext-follow-symlink.c
Property changes:
Added: svn:special
+*
\ No newline at end of property
/nautilus-follow-symlink/branches/1.2.0/caja/src/caja-layer/libnautilus-extension/nautilus-menu-provider.h
0,0 → 1,3
#include <libcaja-extension/caja-menu-provider.h>
 
#include "layer.h"
/nautilus-follow-symlink/branches/1.2.0/caja/src/Makefile.am
0,0 → 1,23
# $Id: Makefile.am 1307 2009-04-30 19:38:17Z toni $ #
#
 
# Required to correctly install the locale files (and to access them)
CPPFLAGS+=-DGNOMELOCALEDIR=\""$(datadir)/locale"\"
 
caja_extension_lib_LTLIBRARIES = libcaja-follow-symlink.la
 
# Must be installed in caja' extension dir
#caja_extension_libdir = $(libdir)/caja/extensions-1.0
# Cleaner way:
caja_extension_libdir = `pkg-config --variable=extensiondir libcaja-extension`
 
noinst_HEADERS=*.h caja-layer/libnautilus-extension/nautilus-menu-provider.h
 
libcaja_follow_symlink_la_SOURCES = follow-symlink.c nautilus-ext-follow-symlink.c
libcaja_follow_symlink_la_LIBADD = $(CAJA_EXTENSION_LIBS)
libcaja_follow_symlink_la_CFLAGS = $(CAJA_EXTENSION_CFLAGS)
# There's really no need to have versioned file names
libcaja_follow_symlink_la_LDFLAGS = -avoid-version
# See e.g. <http://www.seul.org/docs/autotut/#libtool> for version instructions
#libcaja_follow_symlink_la_LDFLAGS = -version-info 0:0:0
 
/nautilus-follow-symlink/branches/1.2.0/caja/src/follow-symlink.h
0,0 → 1,0
link ../../nautilus/src/follow-symlink.h
Property changes:
Added: svn:special
+*
\ No newline at end of property
/nautilus-follow-symlink/branches/1.2.0/caja/src/nautilus-ext-follow-symlink.h
0,0 → 1,0
link ../../nautilus/src/nautilus-ext-follow-symlink.h
Property changes:
Added: svn:special
+*
\ No newline at end of property
/nautilus-follow-symlink/branches/1.2.0/caja/src/common.h
0,0 → 1,0
link ../../nautilus/src/common.h
Property changes:
Added: svn:special
+*
\ No newline at end of property
/nautilus-follow-symlink/branches/1.2.0/caja/src/layer.h
0,0 → 1,16
#define NautilusFileInfo CajaFileInfo
#define NautilusMenuItem CajaMenuItem
#define NautilusMenuProvider CajaMenuProvider
#define NautilusMenuProviderIface CajaMenuProviderIface
#define nautilus_file_info_get_file_type caja_file_info_get_file_type
#define nautilus_file_info_get_location caja_file_info_get_location
#define nautilus_file_info_get_name caja_file_info_get_name
#define nautilus_file_info_get_parent_location caja_file_info_get_parent_location
#define nautilus_file_info_get_uri caja_file_info_get_uri
#define nautilus_file_info_get_uri_scheme caja_file_info_get_uri_scheme
#define nautilus_file_info_is_directory caja_file_info_is_directory
#define nautilus_menu_item_new caja_menu_item_new
#define nautilus_module_initialize caja_module_initialize
#define nautilus_module_list_types caja_module_list_types
#define nautilus_module_shutdown caja_module_shutdown
#define NAUTILUS_TYPE_MENU_PROVIDER CAJA_TYPE_MENU_PROVIDER
/nautilus-follow-symlink/branches/1.2.0/caja/Makefile.am
0,0 → 1,33
 
SUBDIRS = po src
ACLOCAL_AMFLAGS = -I m4
 
EXTRA_DIST = \
po/ChangeLog README \
po/POTFILES.in po/*.po \
kludges/* \
bootstrap.sh \
@PACKAGE@.spec.in @PACKAGE@.spec \
debian/changelog debian/control debian/compat debian/copyright \
debian/dirs debian/docs debian/README.Debian debian/rules
 
# Extra files to get rid of when distcleaning
DISTCLEANFILES = \
intltool-extract \
intltool-merge \
intltool-update \
po/.intltool-merge-cache
 
C_EXTENSIONDIR=`pkg-config --variable=extensiondir libcaja-extension`
 
forceinstall: all
pkg-config --atleast-version=1.2 libcaja-extension
sudo install -m644 src/.libs/libcaja-follow-symlink.so $(C_EXTENSIONDIR)/
-killall -9 caja
 
forceuninstall:
sudo $(RM) $(C_EXTENSIONDIR)/libcaja-follow-symlink.so
-killall -9 caja
 
#ACLOCAL_AMFLAGS = -I m4
 
/nautilus-follow-symlink/branches/1.2.0/caja/README
0,0 → 1,2
Note this package is generated directly from nautilus-follow-symlink,
that's why it references nautilus in multiple files.
/nautilus-follow-symlink/branches/1.2.0/caja/LGPL
0,0 → 1,0
link ../nautilus/LGPL
Property changes:
Added: svn:special
+*
\ No newline at end of property
/nautilus-follow-symlink/branches/1.2.0/caja/kludges
0,0 → 1,0
link ../nautilus/kludges
Property changes:
Added: svn:special
+*
\ No newline at end of property
/nautilus-follow-symlink/branches/1.2.0/caja/po/ca.po
0,0 → 1,0
link ../../nautilus/po/ca.po
Property changes:
Added: svn:special
+*
\ No newline at end of property
/nautilus-follow-symlink/branches/1.2.0/caja/po/es.po
0,0 → 1,0
link ../../nautilus/po/es.po
Property changes:
Added: svn:special
+*
\ No newline at end of property
/nautilus-follow-symlink/branches/1.2.0/caja/po/ChangeLog
0,0 → 1,0
link ../../nautilus/po/ChangeLog
Property changes:
Added: svn:special
+*
\ No newline at end of property
/nautilus-follow-symlink/branches/1.2.0/caja/po/POTFILES.in
0,0 → 1,0
link ../../nautilus/po/POTFILES.in
Property changes:
Added: svn:special
+*
\ No newline at end of property
/nautilus-follow-symlink/branches/1.2.0/caja/caja-follow-symlink.spec.in
0,0 → 1,94
#
# spec file for caja-follow-symlink rpm
#
# based on the spec file for nautilus-follow-symlink
#
 
%define is_mandrake %(test -e /etc/mandrake-release && echo 1 || echo 0)
%define is_suse %(test -e /etc/SuSE-release && echo 1 || echo 0)
%define is_fedora 0%{?fedora}
%define is_redhat 0%{?rhl}
%define is_rhel 0%{?rhel}
 
%define distname generic
%define disttag .generic_lsb
 
%if %{is_fedora}
%define distname fedora
%define disttag %{dist}
%endif
%if %{is_redhat}
%define distname redhat
%define disttag %{dist}
%endif
%if %{is_mandrake}
%define distname mandrake
%define disttag .mdk
%endif
%if %{is_suse}
%define distname suse
%define disttag .suse
%endif
%if %{is_rhel}
%define distname rhel
%define disttag %{dist}
%endif
 
%define api_version 2.0
 
Name: @PACKAGE@
Version: @VERSION@
Release: 1%{?disttag}
Summary: caja plugin to open the location pointed by a symlink
 
Group: User Interface/Desktops
License: LGPL
URL: http://p.outlyer.net./caja-follow-symlink/
Source0: %{url}/files/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
BuildRequires: intltool, libtool, caja-devel, gtk2-devel
Requires: caja-extensions
AutoReqProv: yes
Prefix: /usr
 
%description
This extension adds a context menu option to symbolic links to folders which
opens the pointed folder instead of the symbolic link.
 
%prep
echo Building %{name}-%{version}-%{release}
%setup -q -n %{name}-%{version}
 
 
%build
%configure
make %{?_smp_mflags}
 
 
%install
make install DESTDIR=%buildroot
rm -f $RPM_BUILD_ROOT/%{_libdir}/caja/extensions-%{api_version}/*.{l,}a
 
# create %{name}.lang with the locale data. To be included by %files
%find_lang %{name}
 
%clean
[ ${RPM_BUILD_ROOT} != "/" ] && rm -rf $RPM_BUILD_ROOT
 
 
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog
%_libdir/caja/extensions-%{api_version}/*.so
 
 
%changelog
* Thu Aug 9 2012 Toni Corvera <outlyer@gmail.com> - 1.2.1
- Removed the *upstream revision
 
* Thu Apr 30 2009 Toni Corvera <outlyer@gmail.com> - 1.1-1~upstream
- Packaging cleanup
 
* Wed Jun 4 2008 Toni Corvera <outlyer@gmail.com> - 1.0.99+pre.2-1upstream
- Initial package
/nautilus-follow-symlink/branches/1.2.0/caja/debian/rules
0,0 → 1,110
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.
 
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
 
# http://wiki.debian.org/Hardening#dpkg-buildflags
CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
 
# Worarounds (couter-measures to Debian's [Sid] hardened flags
# as of this writing)
# doing funny stuff with printf-like funcions will make
# gcc paranoid, -Werror=format-security is defined in
# dpkg-buildflags
CFLAGS+=-Wno-error=format-security
# _FORTIFY_SOURCE=2 is defined in dpkg-buildflags, it produces
# bogus multiple-definition errors for unistd.h functions
CPPFLAGS+=-U_FORTIFY_SOURCE
 
 
configure: configure-stamp
configure-stamp:
dh_testdir
# Add here commands to configure the package.
test -f configure || ./dist clean gen
./configure --prefix=/usr --disable-static \
CFLAGS="$(CFLAGS)" \
CPPFLAGS="$(CPPFLAGS)" \
LDFLAGS="$(LDFLAGS)"
 
touch configure-stamp
 
 
build: build-stamp
 
build-stamp: configure-stamp
dh_testdir
 
# Add here commands to compile the package.
$(MAKE) FINAL=1
#docbook-to-man debian/caja-follow-symlink.sgml > caja-follow-symlink.1
 
touch build-stamp
 
clean:
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
 
# Add here commands to clean up after the build process.
-$(MAKE) clean
 
dh_clean
 
install: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
 
# Add here commands to install the package into debian/caja-follow-symlink.
$(MAKE) install DESTDIR=$(CURDIR)/debian/caja-follow-symlink
# There's really no need for the .la file
rm -f $(CURDIR)/debian/caja-follow-symlink/`pkg-config --variable=extensiondir libcaja-extension`/*.la
 
 
# Build architecture-independent files here.
binary-indep: build install
# We have nothing to do by default.
 
# Build architecture-dependent files here.
binary-arch: build install
dh_testdir
dh_testroot
dh_installchangelogs ChangeLog
dh_installdocs
dh_installexamples
# dh_install
# dh_installmenu
# dh_installdebconf
# dh_installlogrotate
# dh_installemacsen
# dh_installpam
# dh_installmime
# dh_installinit
# dh_installcron
# dh_installinfo
dh_installman
dh_link
dh_strip
dh_compress
dh_fixperms
# dh_perl
# dh_python
# dh_makeshlibs
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
 
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure
Property changes:
Added: svn:executable
+*
\ No newline at end of property
/nautilus-follow-symlink/branches/1.2.0/caja/debian/README.Debian
0,0 → 1,12
caja-follow-symlink for Debian
------------------------------
 
This is an unofficial debian package created directly from the upstream
source, by the upstream author.
I'm no Debian Developer so I can't guarantee a strict following of the
Debian Policy.
 
I use Debian Sid, when possible I try to build against packages available in
Debian Stable but sometimes published packages will only work in Unstable.
 
-- Toni Corvera <outlyer@outlyer.gmail>, Sun, 12 Aug 2012 14:52:03 +0200
/nautilus-follow-symlink/branches/1.2.0/caja/debian/control
0,0 → 1,14
Source: nautilus-follow-symlink
Section: contrib/mate
Priority: extra
Maintainer: Toni Corvera <outlyer@gmail.com>
Build-Depends: debhelper (>= 5.0.0), gcc, pkg-config, libglib2.0-dev (>= 2.16), libcaja-extension-dev, intltool (>= 0.18), gettext
Standards-Version: 3.6.2
Homepage: http://p.outlyer.net/caja-follow-symlink/
 
Package: caja-follow-symlink
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: caja plugin to open the location pointed by a symlink
This extension adds a context menu option to symbolic links to
folders which opens the pointed folder instead of the symbolic link.
/nautilus-follow-symlink/branches/1.2.0/caja/debian/dirs
0,0 → 1,0
link ../../nautilus/debian/dirs
Property changes:
Added: svn:special
+*
\ No newline at end of property
/nautilus-follow-symlink/branches/1.2.0/caja/debian/compat
0,0 → 1,0
link ../../nautilus/debian/compat
Property changes:
Added: svn:special
+*
\ No newline at end of property
/nautilus-follow-symlink/branches/1.2.0/caja/debian/changelog
0,0 → 1,0
link ../../nautilus/debian/changelog
Property changes:
Added: svn:special
+*
\ No newline at end of property
/nautilus-follow-symlink/branches/1.2.0/caja/debian/copyright
0,0 → 1,0
link ../../nautilus/debian/copyright
Property changes:
Added: svn:special
+*
\ No newline at end of property
/nautilus-follow-symlink/branches/1.2.0/caja/debian/docs
0,0 → 1,0
link ../../nautilus/debian/docs
Property changes:
Added: svn:special
+*
\ No newline at end of property
/nautilus-follow-symlink/branches/1.2.0/caja/configure.ac
0,0 → 1,97
dnl $Id: configure.ac 2517 2012-08-12 02:56:55Z toni $
 
AC_INIT(caja-follow-symlink, [1.2.0])
AC_CONFIG_SRCDIR([src/follow-symlink.c])
 
dnl Cross-compilation
AC_CANONICAL_SYSTEM
AC_CANONICAL_BUILD
AC_ARG_PROGRAM
 
AM_INIT_AUTOMAKE([1.7 foreign])
AC_REVISION(SVN $Rev: 2517 $)
 
AC_CONFIG_HEADER(src/config.h)
AC_CONFIG_MACRO_DIR([m4])
 
dnl default FLAGS, if none provided (note to self: ':=' is not portable)
if test -z "$CPPFLAGS" ; then
CPPFLAGS="-pedantic-errors"
fi
if test -z "$CFLAGS" ; then
CFLAGS="-Werror -Winline"
fi
 
dnl Extra flags always set (might be overridden by user's)
dnl CPPFLAGS="$CPPFLAGS"
# -O2 Showed problems in Fedora 17 (GCC 4.7) (not in previous versions nor in
# Debian's GCC 4.7.1 though (?)
# (solution was adding extern definition of ferror_unlocked
CFLAGS="-I\"$PWD/src/caja-layer\" -O2 -Wall -std=gnu99 $CFLAGS"
# -z relro -> read-only relocation ld flag
LDFLAGS="-Wl,--as-needed -Wl,-z,relro $LDFLAGS"
 
# libtool, DISABLE_STATIC should go before PROG_LIBTOOL
AM_DISABLE_STATIC
AM_PROG_LIBTOOL
 
AC_PROG_INSTALL
AC_LANG_C
AC_PROG_CC
 
# intltool
AC_PROG_INTLTOOL(0.18)
GETTEXT_PACKAGE=caja-follow-symlink
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [gettext domain])
ALL_LINGUAS="ca es" dnl Implied en
#AM_GNU_GETTEXT_VERSION dnl autoreconf only runs autopoint if this is present
AM_GLIB_GNU_GETTEXT
 
# string.h and stdlib.h are used
dnl defines STDC_HEADERS if ANSI-compliant headers are present
AC_HEADER_STDC
dnl Xref: http://www.seul.org/docs/autotut/#libtool
#AC_CHECK_HEADERS(sys/stat.h,,AC_MSG_ERROR([required header file missing]))
 
# glib-2.0: ensure it's present
dnl and set GLIB_CFLAGS and GLIB_LIBS
dnl The newer API in GNOME 2.22 requires 2.16 (maybe 2.14?),
dnl gio is the only module required (probably)
AM_PATH_GLIB_2_0(2.16.0, [], [], gio)
 
# pkg-config: ensure libcaja-extension is found by pkg-config
PKG_CHECK_MODULES(CAJA_EXTENSION, [libcaja-extension])
 
#AC_DEFINE(_GNU_SOURCE)
 
dnl Incorporate the result of tests
#CFLAGS="$CFLAGS $CAJA_EXTENSION_CFLAGS"
#LIBS="$LIBS $CAJA_EXTENSION_LIBS"
dnl GTK-3 migration safeguard <http://live.gnome.org/GnomeGoals/UseGseal>
CFLAGS="$CFLAGS -DGSEAL_ENABLE"
 
cat <<EOF
 
##############################################################################
# Config:
#
# Flags:
# CFLAGS = $CFLAGS
# Caja: $CAJA_EXTENSION_CFLAGS
# CPPFLAGS = $CPPFLAGS
# LDFLAGS = $LDFLAGS
# LIBS = $LIBS
# Caja: $CAJA_EXTENSION_LIBS
# LDADD = $LDADD
# CC = $CC
# CPP = $CPP
##############################################################################
 
EOF
 
AC_OUTPUT([Makefile
src/Makefile
po/Makefile.in
caja-follow-symlink.spec
])
/nautilus-follow-symlink/branches/1.2.0/caja/AUTHORS
0,0 → 1,0
link ../nautilus/AUTHORS
Property changes:
Added: svn:special
+*
\ No newline at end of property