view release on metacpan or search on metacpan
src/subversion/build/generator/gen_base.py
src/subversion/build/generator/gen_make.py
src/subversion/build/generator/gen_msvc_dsp.py
src/subversion/build/generator/gen_vcnet_vcproj.py
src/subversion/build/generator/gen_win.py
src/subversion/build/generator/swig/__init__.py
src/subversion/build/generator/swig/checkout_swig_header.py
src/subversion/build/generator/swig/external_runtime.py
src/subversion/build/generator/swig/header_wrappers.py
src/subversion/build/generator/templates/build-outputs.mk.ezt
src/subversion/build/generator/templates/build_locale.ezt
src/subversion/build/generator/templates/build_zlib.ezt
src/subversion/build/generator/templates/msvc_dsp.ezt
src/subversion/build/generator/templates/msvc_dsw.ezt
src/subversion/build/generator/templates/serf.dsp.ezt
src/subversion/build/generator/templates/serf.vcproj.ezt
src/subversion/build/generator/templates/serf.vcxproj.ezt
src/subversion/build/generator/templates/svn_config.dsp.ezt
src/subversion/build/generator/templates/svn_config.vcproj.ezt
src/subversion/build/generator/templates/svn_config.vcxproj.ezt
src/subversion/build/generator/templates/svn_locale.dsp.ezt
src/subversion/build/generator/templates/svn_locale.vcproj.ezt
src/subversion/build/generator/templates/svn_locale.vcxproj.ezt
src/subversion/build/generator/templates/vcnet_sln.ezt
src/subversion/build/generator/templates/vcnet_vc7_sln.ezt
src/subversion/build/generator/templates/vcnet_vcproj.ezt
src/subversion/build/generator/templates/vcnet_vcxproj.ezt
src/subversion/build/generator/templates/vcnet_vcxproj_filters.ezt
src/subversion/build/generator/templates/zlib.dsp.ezt
src/subversion/build/generator/templates/zlib.vcproj.ezt
src/subversion/build/generator/templates/zlib.vcxproj.ezt
src/subversion/build/generator/util/__init__.py
src/subversion/build/generator/util/executable.py
src/subversion/CHANGES view on Meta::CPAN
* Better error message for 'Malformed URL for repository' (r31867, r32365)
* Improved svn:externals parsing (r32672, -673, -674, -739)
* fixed: improper ordering in 'svnlook diff' output (r32019)
* fixed: mod_dav_svn memory leak with 'SVNPathAuthz short_circuit' (r32360)
* fixed: duplicate svn:externals targets fail on co/up (issue #3246)
* fixed: 'svn merge --depth' inconsistencies (issue #2825)
* fixed: ra_serf test failures (1.5.x-ra_serf-backports branch)
* fixed: memory leak and crashes in FS (r32545, -58, -82)
* fixed: core dump with relative externals (issue #3237)
* fixed: 'svn copy' working copy corruption (r32467, -70)
* fixed: perl bindings errors in non-English locale (issue #3258)
* fixed: 'svn merge' incorrectly reverses previous merges (r32494, -522, -523)
* fixed: 'svn merge' errors with subtree mergeinfo (issue #3067)
Developer-visible changes:
* make libsvn_ra_neon initialization thread-safe (r32497, r32510)
* respect LDFLAGS in SWIG bindings (r32416, r32421, r32442)
* fixed: test failures in non-English locales (r32491)
Version 1.5.1
(26 Jul 2008, from /branches/1.5.x)
http://svn.apache.org/repos/asf/subversion/tags/1.5.1
User-visible changes:
* mergeinfo on switched subtrees should elide in repos (issue #3188)
* Add support for --config-dir to svnmerge.py (r31727)
* improve performance of bdb post-commit deltification (r31820, -59)
src/subversion/CHANGES view on Meta::CPAN
* 'svn merge' would delete locally modified props (issue #2857)
* 'svn log --xml' could output invalid XML (issue #2866)
* 'svn copy' on URL with spaces made wrong WC file name (issue #2955)
* 'svn diff' was failing w/ large diffs on Windows (issue #1789)
* 'svn delete' no longer deletes locally-modified files (issue #1808)
* 'svn move' moved files to wrong directory on Windows (issue #1869)
* 'svn revert' mistakenly used leftover .svn-revert files (issue #2927)
* 'svn diff' output now shows relative paths (issue #2723)
* 'svn diff' wasn't ignoring all EOLs (issue #2920)
* 'svn cleanup' no longer fails on a missing .svn/tmp dir (r23370)
* infinite loop in UTF conversion in non-C locale (issue #2577)
* interrupting "svn status" could make svn crash (issue #2623)
* commit-email.pl date header output now RFC2822-compliant (issue #2633)
* authz write access to folder wasn't permitting locking (issue #2700)
* stop complaining just because $HOME is unreadable (issue #2363)
* do not display unescaped characters in error message (issue #2471)
* propchange received on subdir merge causes conflict (issue #2969)
* revert replaced-with-history files should restore checksum (issue #2928)
* catch improper arguments to diff (issue #2996)
* handle URLs like http://hostname (i.e. no path part) (issue #1851)
* config autoprops honored regardless of case of entry (issue #2036)
src/subversion/CHANGES view on Meta::CPAN
* fixed: don't crash on corrupt repositories (r17625)
* fixed: expect error output from hook scripts in native encoding (r17101)
* fixed: catch errors starting hook scripts (r16891 17041 -81)
* fixed: svnserve and authz can cause broken WCs (issue #2566)
* fixed: the default hook script templates should be vanilla sh (r20796)
- Both:
* delta compression improvements:
- new delta encoding reduces size (r18363 -94 -66 -78 -98 -99 -457 -950)
- xdelta algorithm speed improvements (r18986, 19047)
* don't bail on invalid locale (r19445)
* improve speed of non-verbose svn ls (r17067 -71)
* fixed: delta combiner reading past EOF (r17743)
Developer-visible changes:
* require APR >= 0.9.7 to improve error detection for FSFS repos (r19915)
* require zlib, for svndiff1 delta encoding (r18363)
* support SWIG 1.3.29 (r19968)
* support autoconf 2.60-dev (r19919 20632 -36)
* removed no-longer-supported Red Hat 7.x RPMs (r20462)
* add support for building RPMs for x86-64 architecture (r20548 -552)
src/subversion/CHANGES view on Meta::CPAN
* fixed: 'svn status -u' crash in non-recursive wc's (issue #2122)
* fixed: 'svn revert' should skip unversioned items (issues #2030, 2133)
* fixed: 'svn revert' should suggest --recursive (issue #2114)
* fixed: 'svn add/import' better detects invalid paths (issue #1954)
* fixed: 'svn cleanup' should repair timestamps (r12012)
* fixed: 'svn cat -rBASE' contacts repository (issue #1361)
* fixed: fuzzily escape control-characters when sending over dav (#2147)
* fixed: prevent client from manipulating svn:wc:* properties (r12523)
* fixed: allow portnumber in svn+ssh://user@host:port/ URLs (r14373)
* fixed: xml-escaping bugs over dav (r11090)
* fixed: store symlinks as utf8, always work in non-utf8 locale (r11358-9)
* fixed: bug in special-file detranslation (r11441)
* fixed: show paths in local-style where we weren't (issue #1538)
* fixed: detect invalid propnames better (issue #1832)
* fixed: entire error stack not being printed (issue #1822)
* fixed: improper utf8 conversion of revision strings (issue #1999)
* fixed: use-commit-times timestamp bug (r12906)
* fixed: don't comment out section-names in default config file (r11771)
* more support for user-cancellation (r13083-4, 13086)
* improved error messages (r12920, 11392, 11599, 11913, #2154, #2214)
src/subversion/CHANGES view on Meta::CPAN
User-visible changes:
- Client:
* fixed: 'svn status' win32 performance regression (issue #2016)
* fixed: 'svn ls' dying on non-ascii paths over DAV (issue #2060)
* fixed: allow URI-encoded colon or pipe on win32 (issue #2012)
* fixed: broken win32 UNC paths (issue #2011)
* fixed: memory bloat when committing many files over DAV (r11284, -321)
* fixed: eol-style translation error for 'svn propget' (r11202, -243)
* fixed: 'svn propedit' does EOL conversion properly (issue #2063)
* fixed: 'svn log --xml' shouldn't be locale-dependent. (r11181)
* fixed: 'svn export' of symlinks with 'use-commit-times' (r11224)
* fixed: 'svn export -rBASE' when WC has added items (r11296, -415)
* many translation updates for localized client messages.
- Server:
* fixed: 'svn ls' HTTP performance regression (r11211, -232, -285)
* fixed: make it possible to set "SVNPathAuthz off" in httpd.conf (r11190)
* fixed: fsfs validating revisions when accessing revprops (issue #2076)
* fixed: 'svn log -v' hiding too much info on 'empty' revisions. (r11137)
* fixed: encoding bug with 'svnlook log'/'svnlook author' (r11172)
src/subversion/CHANGES view on Meta::CPAN
* fixed: svnlook no longer requires write access to '.'
* fixed: ensure 'svn blame' fails on files marked as binary. (issue #1733)
* fixed: make failed direct-URL commits clean up their fs txns. (issue #1726)
* fixed: obscure bugs in time/date string formatting. (issue #1692)
* fixed: svn export doesn't export svn:externals. (issue #1750)
* fixed: svn import doesn't handle EOL or keyword translation. (issue #1756)
* fixed: svn status -v shows unwanted status of externals (issue #1741)
* fixed: allow revert of schedule-replace file that has no props (issue #1775)
* fixed: svnserve segfault on invalid --listen-host argument.
* fixed: switch bug which caused wrong URL to be left in wc.
* detect invalid UTF8 filenames when native locale is UTF8.
* improve presentation of directory property conflicts.
* improve presentation of errors from svnadmin & svnlook.
* clarify output of 'svnadmin help deltify'.
* augment copyright notice to --version output.
* more book updates.
Developer-visible changes:
* remove obsolete auth provider examples.
* prevent potential ra_dav commit race-condition.
* fix svn_io_dir_walk 'dot-first' ordering required by 'svnadmin hotcopy'.
src/subversion/CHANGES view on Meta::CPAN
reorganization, make RA->get_dir fetch props correctly over ra_dav
(r7431), notice permission error when creating unique tmpfile (r7434).
Version 0.31.0 (released 08 October 2003, revision 7355)
http://svn.apache.org/repos/asf/subversion/tags/0.31.0
User-visible changes:
* new 'svnlook history' command (and removal of 'svnadmin lscr').
* new 'auto-props' feature can set file properties during 'svn add/import'
* win32 client now properly converts UTF8 to console-locale. (r7168, #872)
* 'svn up' now notices when svn:externals value changes. (r7256, #1519)
* authentication changes:
- client caches auth-creds in memory for a single session (r7292, #1526)
- SSL cert caches keyed on host+port, not any SSL connection. (r7174)
* faster 'svn log' (see new fs-history algorithm) (#1499)
* faster repos read-operations (caching gives ~20% speedup) (rXXXX, #1499)
* faster updates (fewer entries-file writes gives ~20% speedup) (r7170, #1490)
* more work on psvn.el and svn_load_dirs.pl
* more cvs2svn bugfixes
* obsolete manpages truncated to point to 'help' and book URLs. (r7340, #1508)
src/subversion/INSTALL view on Meta::CPAN
(*-setup.exe) file from:
http://subversion.apache.org/packages#windows
For a Zip file, run your unzipping utility (WinZIP, ZipGenius,
UltimateZIP, FreeZIP, whatever) and extract the DLLs and EXEs to
a directory of your choice. Included in the download is the SVN
client, the SVNADMIN administration tool, and the SVNLOOK
reporting tool.
Note that if you need support for non-English locales you'll have
to set the APR_ICONV_PATH environment variable to the path of the
iconv directory in the folder that contains the Subversion install.
You may also want to add the bin directory in the Subversion folder
to your PATH environment variable so as to not have to use the full
path when running Subversion commands.
To test the installation, open a DOS box (run either "cmd" or
"command" from the Start menu's "Run..." menu option), change to
the directory you installed the executables into, and run:
src/subversion/Makefile.in view on Meta::CPAN
gpg_agent_libdir = @libdir@
kwallet_libdir = @libdir@
serf_libdir = @libdir@
bindir = @bindir@
includedir = @includedir@
mandir = @mandir@
srcdir = @srcdir@
canonicalized_srcdir = @canonicalized_srcdir@
datadir = @datadir@
datarootdir = @datarootdir@
localedir = @localedir@
# where to install libsvn_swig_*
swig_py_libdir = @libdir@
swig_pl_libdir = @libdir@
swig_rb_libdir = @libdir@
### these possibly need further discussion
swig_pydir = @libdir@/svn-python/libsvn
swig_pydir_extra = @libdir@/svn-python/svn
swig_pldir = @libdir@/svn-perl
src/subversion/Makefile.in view on Meta::CPAN
extraclean: local-extraclean
install: local-install revision-install
@INCLUDE_OUTPUTS@
local-all: @BUILD_RULES@ @TRANSFORM_LIBTOOL_SCRIPTS@
transform-libtool-scripts: @BUILD_RULES@
@$(SHELL) $(top_srcdir)/build/transform_libtool_scripts.sh
locale-gnu-pot:
cd $(abs_srcdir) && XGETTEXT="$(XGETTEXT)" MSGMERGE="$(MSGMERGE)" \
$(SHELL) tools/po/po-update.sh pot
# "make locale-gnu-po-update" updates all translations.
# "make locale-gnu-po-update PO=ll" updates only the ll.po file.
locale-gnu-po-update:
cd $(abs_srcdir) && XGETTEXT="$(XGETTEXT)" MSGMERGE="$(MSGMERGE)" \
$(SHELL) tools/po/po-update.sh $(PO)
# clean everything but the bulky test output, returning the system back
# to before 'make' was run.
fast-clean: doc-clean
@list='$(BUILD_DIRS)'; for i in $$list; do \
if [ -d $$i ]; then \
(cd $$i && rm -f *.o *.lo *.la *.la-a *.spo *.mo && \
rm -rf .libs); \
src/subversion/Makefile.in view on Meta::CPAN
.cpp.lo:
$(LT_COMPILE_CXX) -o $@ -c $<
.la.la-a:
sed "/library_names/s/'.*'/''/" $< > $@
# Strip the Content-Type: header from the po file if we don't have a
# gettext that supports bind_textdomain_codeset, so it doesn't try
# to convert our UTF-8 .po files to the locale encoding.
@NO_GETTEXT_CODESET@.po.spo:
@NO_GETTEXT_CODESET@ sed \
@NO_GETTEXT_CODESET@ '/^"Content-Type: text\/plain; charset=UTF-8\\n"$$/d' \
@NO_GETTEXT_CODESET@ $< > $@
@NO_GETTEXT_CODESET@.spo.mo:
@NO_GETTEXT_CODESET@ $(MSGFMT) $(MSGFMTFLAGS) -o $@ $<
# For systems with bind_textdomain_codeset, just leave the Content-Type:
# header alone.
src/subversion/build-outputs.mk view on Meta::CPAN
libsvncxxhl_OBJECTS = src/exception.lo src/tristate.lo
subversion/bindings/cxxhl/libsvncxxhl-1.la: $(libsvncxxhl_DEPS)
cd subversion/bindings/cxxhl && $(LINK_CXX_LIB) $(libsvncxxhl_LDFLAGS) -o libsvncxxhl-1.la $(LT_NO_UNDEFINED) $(libsvncxxhl_OBJECTS) ../../../subversion/libsvn_repos/libsvn_repos-1.la ../../../subversion/libsvn_client/libsvn_client-1.la ../../../sub...
libsvnjavahl_PATH = subversion/bindings/javahl/native
libsvnjavahl_DEPS = $(javahl_javah_DEPS) $(javahl_java_DEPS) $(javahl_callback_javah_DEPS) $(javahl_types_javah_DEPS) subversion/bindings/javahl/native/Array.lo subversion/bindings/javahl/native/BlameCallback.lo subversion/bindings/javahl/native/Chan...
libsvnjavahl_OBJECTS = Array.lo BlameCallback.lo ChangelistCallback.lo ClientContext.lo CommitCallback.lo CommitMessage.lo CopySources.lo CreateJ.lo DiffOptions.lo DiffSummaryReceiver.lo EnumMapper.lo File.lo ImportFilterCallback.lo InfoCallback.lo I...
subversion/bindings/javahl/native/libsvnjavahl-1.la: $(libsvnjavahl_DEPS)
cd subversion/bindings/javahl/native && $(LINK_JAVAHL_CXX) $(libsvnjavahl_LDFLAGS) -o libsvnjavahl-1.la $(LT_NO_UNDEFINED) $(libsvnjavahl_OBJECTS) ../../../../subversion/libsvn_repos/libsvn_repos-1.la ../../../../subversion/libsvn_client/libsvn_clie...
locale_PATH = subversion/po
locale_DEPS = subversion/po/de.mo subversion/po/es.mo subversion/po/fr.mo subversion/po/it.mo subversion/po/ja.mo subversion/po/ko.mo subversion/po/nb.mo subversion/po/pl.mo subversion/po/pt_BR.mo subversion/po/sv.mo subversion/po/zh_CN.mo subversio...
locale: $(locale_DEPS)
locks_test_PATH = subversion/tests/libsvn_fs
locks_test_DEPS = subversion/tests/libsvn_fs/locks-test.lo subversion/tests/libsvn_test-1.la subversion/libsvn_fs/libsvn_fs-1.la subversion/libsvn_delta/libsvn_delta-1.la subversion/libsvn_subr/libsvn_subr-1.la
locks_test_OBJECTS = locks-test.lo
subversion/tests/libsvn_fs/locks-test$(EXEEXT): $(locks_test_DEPS)
cd subversion/tests/libsvn_fs && $(LINK) $(locks_test_LDFLAGS) -o locks-test$(EXEEXT) $(locks_test_OBJECTS) ../../../subversion/tests/libsvn_test-1.la ../../../subversion/libsvn_fs/libsvn_fs-1.la ../../../subversion/libsvn_delta/libsvn_delta-1.la ....
mergeinfo_test_PATH = subversion/tests/libsvn_subr
mergeinfo_test_DEPS = subversion/tests/libsvn_subr/mergeinfo-test.lo subversion/tests/libsvn_test-1.la subversion/libsvn_subr/libsvn_subr-1.la
mergeinfo_test_OBJECTS = mergeinfo-test.lo
src/subversion/build-outputs.mk view on Meta::CPAN
javahl-lib: subversion/bindings/javahl/native/libsvnjavahl-1.la
javahl-tests:
javahl-types-javah:
kwallet-lib: subversion/libsvn_auth_kwallet/libsvn_auth_kwallet-1.la
lib: subversion/libsvn_client/libsvn_client-1.la subversion/libsvn_diff/libsvn_diff-1.la subversion/libsvn_ra/libsvn_ra-1.la subversion/libsvn_wc/libsvn_wc-1.la
locale:
ramod-lib: subversion/libsvn_fs/libsvn_fs-1.la subversion/libsvn_ra_local/libsvn_ra_local-1.la subversion/libsvn_ra_svn/libsvn_ra_svn-1.la subversion/libsvn_repos/libsvn_repos-1.la
serf-lib: subversion/libsvn_ra_serf/libsvn_ra_serf-1.la
sub-test: subversion/tests/libsvn_subr/named_atomic-proc-test$(EXEEXT)
swig-pl-lib: subversion/bindings/swig/perl/libsvn_swig_perl/libsvn_swig_perl-1.la
swig-py: subversion/bindings/swig/python/_client.la subversion/bindings/swig/python/_core.la subversion/bindings/swig/python/_delta.la subversion/bindings/swig/python/_diff.la subversion/bindings/swig/python/_fs.la subversion/bindings/swig/python/_ra...
src/subversion/build-outputs.mk view on Meta::CPAN
$(MKDIR) $(DESTDIR)$(kwallet_libdir)
cd subversion/libsvn_auth_kwallet ; $(INSTALL_KWALLET_LIB) libsvn_auth_kwallet-1.la $(DESTDIR)$(kwallet_libdir)/libsvn_auth_kwallet-1.la
install-lib: subversion/libsvn_diff/libsvn_diff-1.la subversion/libsvn_ra/libsvn_ra-1.la subversion/libsvn_wc/libsvn_wc-1.la subversion/libsvn_client/libsvn_client-1.la
$(MKDIR) $(DESTDIR)$(libdir)
cd subversion/libsvn_diff ; $(INSTALL_LIB) libsvn_diff-1.la $(DESTDIR)$(libdir)/libsvn_diff-1.la
cd subversion/libsvn_ra ; $(INSTALL_LIB) libsvn_ra-1.la $(DESTDIR)$(libdir)/libsvn_ra-1.la
cd subversion/libsvn_wc ; $(INSTALL_LIB) libsvn_wc-1.la $(DESTDIR)$(libdir)/libsvn_wc-1.la
cd subversion/libsvn_client ; $(INSTALL_LIB) libsvn_client-1.la $(DESTDIR)$(libdir)/libsvn_client-1.la
install-locale: subversion/po/de.mo subversion/po/es.mo subversion/po/fr.mo subversion/po/it.mo subversion/po/ja.mo subversion/po/ko.mo subversion/po/nb.mo subversion/po/pl.mo subversion/po/pt_BR.mo subversion/po/sv.mo subversion/po/zh_CN.mo subversi...
$(MKDIR) $(DESTDIR)$(localedir)
$(MKDIR) $(DESTDIR)$(localedir)/de/LC_MESSAGES
cd subversion/po ; $(INSTALL_LOCALE) de.mo $(DESTDIR)$(localedir)/de/LC_MESSAGES/$(PACKAGE_NAME).mo
$(MKDIR) $(DESTDIR)$(localedir)/es/LC_MESSAGES
cd subversion/po ; $(INSTALL_LOCALE) es.mo $(DESTDIR)$(localedir)/es/LC_MESSAGES/$(PACKAGE_NAME).mo
$(MKDIR) $(DESTDIR)$(localedir)/fr/LC_MESSAGES
cd subversion/po ; $(INSTALL_LOCALE) fr.mo $(DESTDIR)$(localedir)/fr/LC_MESSAGES/$(PACKAGE_NAME).mo
$(MKDIR) $(DESTDIR)$(localedir)/it/LC_MESSAGES
cd subversion/po ; $(INSTALL_LOCALE) it.mo $(DESTDIR)$(localedir)/it/LC_MESSAGES/$(PACKAGE_NAME).mo
$(MKDIR) $(DESTDIR)$(localedir)/ja/LC_MESSAGES
cd subversion/po ; $(INSTALL_LOCALE) ja.mo $(DESTDIR)$(localedir)/ja/LC_MESSAGES/$(PACKAGE_NAME).mo
$(MKDIR) $(DESTDIR)$(localedir)/ko/LC_MESSAGES
cd subversion/po ; $(INSTALL_LOCALE) ko.mo $(DESTDIR)$(localedir)/ko/LC_MESSAGES/$(PACKAGE_NAME).mo
$(MKDIR) $(DESTDIR)$(localedir)/nb/LC_MESSAGES
cd subversion/po ; $(INSTALL_LOCALE) nb.mo $(DESTDIR)$(localedir)/nb/LC_MESSAGES/$(PACKAGE_NAME).mo
$(MKDIR) $(DESTDIR)$(localedir)/pl/LC_MESSAGES
cd subversion/po ; $(INSTALL_LOCALE) pl.mo $(DESTDIR)$(localedir)/pl/LC_MESSAGES/$(PACKAGE_NAME).mo
$(MKDIR) $(DESTDIR)$(localedir)/pt_BR/LC_MESSAGES
cd subversion/po ; $(INSTALL_LOCALE) pt_BR.mo $(DESTDIR)$(localedir)/pt_BR/LC_MESSAGES/$(PACKAGE_NAME).mo
$(MKDIR) $(DESTDIR)$(localedir)/sv/LC_MESSAGES
cd subversion/po ; $(INSTALL_LOCALE) sv.mo $(DESTDIR)$(localedir)/sv/LC_MESSAGES/$(PACKAGE_NAME).mo
$(MKDIR) $(DESTDIR)$(localedir)/zh_CN/LC_MESSAGES
cd subversion/po ; $(INSTALL_LOCALE) zh_CN.mo $(DESTDIR)$(localedir)/zh_CN/LC_MESSAGES/$(PACKAGE_NAME).mo
$(MKDIR) $(DESTDIR)$(localedir)/zh_TW/LC_MESSAGES
cd subversion/po ; $(INSTALL_LOCALE) zh_TW.mo $(DESTDIR)$(localedir)/zh_TW/LC_MESSAGES/$(PACKAGE_NAME).mo
install-ramod-lib: subversion/libsvn_fs/libsvn_fs-1.la subversion/libsvn_ra_svn/libsvn_ra_svn-1.la subversion/libsvn_repos/libsvn_repos-1.la subversion/libsvn_ra_local/libsvn_ra_local-1.la
$(MKDIR) $(DESTDIR)$(ramod_libdir)
cd subversion/libsvn_fs ; $(INSTALL_RAMOD_LIB) libsvn_fs-1.la $(DESTDIR)$(ramod_libdir)/libsvn_fs-1.la
cd subversion/libsvn_ra_svn ; $(INSTALL_RAMOD_LIB) libsvn_ra_svn-1.la $(DESTDIR)$(ramod_libdir)/libsvn_ra_svn-1.la
cd subversion/libsvn_repos ; $(INSTALL_RAMOD_LIB) libsvn_repos-1.la $(DESTDIR)$(ramod_libdir)/libsvn_repos-1.la
cd subversion/libsvn_ra_local ; $(INSTALL_RAMOD_LIB) libsvn_ra_local-1.la $(DESTDIR)$(ramod_libdir)/libsvn_ra_local-1.la
install-serf-lib: subversion/libsvn_ra_serf/libsvn_ra_serf-1.la
$(MKDIR) $(DESTDIR)$(serf_libdir)
src/subversion/build.conf view on Meta::CPAN
description = Internal statements for SQLite interface
type = sql-header
path = subversion/libsvn_subr
sources = internal_statements.sql
# ----------------------------------------------------------------------------
#
# TARGETS FOR I18N SUPPORT
#
[locale]
type = i18n
path = subversion/po
install = locale
external-project = svn_locale
# ----------------------------------------------------------------------------
#
# TARGETS FOR SWIG SUPPORT
#
[swig_core]
type = swig
path = subversion/bindings/swig
sources = core.i
src/subversion/build/generator/gen_make.py view on Meta::CPAN
area_var = area.replace('-', '_')
upper_var = area_var.upper()
ezt_area.varname = area_var
ezt_area.uppervar = upper_var
for file in files:
if isinstance(file.target, gen_base.TargetApacheMod):
ezt_file = apache_file_to_eztdata(file)
else:
ezt_file = file_to_eztdata(file)
if area == 'locale':
lang, objext = os.path.splitext(ezt_file.filename)
installdir = ('$(DESTDIR)$(%sdir)/%s/LC_MESSAGES'
% (area_var, lang))
ezt_file.installdir = installdir
ezt_file.objext = objext
else:
ezt_file.install_fname = build_path_join('$(%sdir)' % area_var,
ezt_file.filename)
ezt_area.files.append(ezt_file)
src/subversion/build/generator/gen_msvc_dsp.py view on Meta::CPAN
svn_python=sys.executable))
self.move_proj_file(self.projfilesdir,
'svn_config.dsp',
(
('sql', sql),
('project_guid', self.makeguid('__CONFIG__')),
)
)
self.move_proj_file(self.projfilesdir,
'svn_locale.dsp',
(
('project_guid', self.makeguid('svn_locale')),
))
self.write_zlib_project_file('zlib.dsp')
self.write_serf_project_file('serf.dsp')
install_targets = self.get_install_targets()
targets = [ ]
self.gen_proj_names(install_targets)
# Traverse the targets and generate the project files
src/subversion/build/generator/gen_vcnet_vcproj.py view on Meta::CPAN
# manually before loading the generated solution
self.move_proj_file(self.projfilesdir,
'svn_config' + self.vcproj_extension,
(
('svn_python', sys.executable),
('sql', sql),
('project_guid', self.makeguid('__CONFIG__')),
)
)
self.move_proj_file(self.projfilesdir,
'svn_locale' + self.vcproj_extension,
(
('project_guid', self.makeguid('svn_locale')),
))
self.write_zlib_project_file('zlib' + self.vcproj_extension)
self.write_serf_project_file('serf' + self.vcproj_extension)
install_targets = self.get_install_targets()
targets = [ ]
guids = { }
src/subversion/build/generator/gen_win.py view on Meta::CPAN
os.makedirs(self.projfilesdir)
# Generate the build_zlib.bat file
if self.zlib_path:
data = {'zlib_path': os.path.relpath(self.zlib_path, self.projfilesdir),
'zlib_version': self.zlib_version,
'use_ml': self.have_ml and 1 or None}
bat = os.path.join(self.projfilesdir, 'build_zlib.bat')
self.write_with_template(bat, 'templates/build_zlib.ezt', data)
# Generate the build_locale.bat file
pofiles = []
if self.enable_nls:
for po in os.listdir(os.path.join('subversion', 'po')):
if fnmatch.fnmatch(po, '*.po'):
pofiles.append(POFile(po[:-3]))
data = {'pofiles': pofiles}
self.write_with_template(os.path.join(self.projfilesdir,
'build_locale.bat'),
'templates/build_locale.ezt', data)
#Here we can add additional platforms to compile for
self.platforms = ['Win32']
# VC 2002 and VC 2003 only allow a single platform per project file
if subdir == 'vcnet-vcproj':
if self.vcproj_version != '7.00' and self.vcproj_version != '7.10':
self.platforms = ['Win32','x64']
#Here we can add additional modes to compile for
src/subversion/build/generator/gen_win.py view on Meta::CPAN
if name == '__CONFIG__':
depends = []
else:
depends = self.sections['__CONFIG__'].get_dep_targets(target)
depends.extend(self.get_win_depends(target, FILTER_PROJECTS))
# Make the default target generate the .mo files, too
if self.enable_nls and name == '__ALL__':
depends.extend(self.sections['locale'].get_targets())
# Build ZLib as a dependency of Serf if we have it
if self.zlib_path and name == 'serf':
depends.extend(self.sections['zlib'].get_targets())
# To set the correct build order of the JavaHL targets, the javahl-javah
# and libsvnjavahl targets are defined with extra dependencies in build.conf
# like this:
# add-deps = $(javahl_javah_DEPS) $(javahl_java_DEPS)
#
src/subversion/build/generator/gen_win.py view on Meta::CPAN
('apr_util_path', os.path.relpath(self.apr_util_path,
self.serf_path)),
('project_guid', self.makeguid('serf')),
('apr_static', apr_static),
('openssl_static', openssl_static),
('serf_lib', serflib),
))
def move_proj_file(self, path, name, params=()):
### Move our slightly templatized pre-built project files into place --
### these projects include zlib, serf, locale, config, etc.
dest_file = os.path.join(path, name)
source_template = os.path.join('templates', name + '.ezt')
data = {
'version' : self.vcproj_version,
'configs' : self.configs,
'platforms' : self.platforms,
'toolset_version' : 'v' + self.vcproj_version.replace('.',''),
}
for key, val in params:
src/subversion/build/generator/templates/build-outputs.mk.ezt view on Meta::CPAN
[for itargets]
[itargets.type]: [for itargets.outputs][if-index itargets.outputs first][else] [end][itargets.outputs][end]
[end]
########################################
# Section 7: Install-Group install targets
########################################
[for areas]
install-[areas.type]: [for areas.files][if-index areas.files first][else] [end][areas.files.fullname][end]
[if-any areas.files][for areas.files] [is areas.files.mode "apache-mod"][if-any areas.files.when]if $([areas.files.when]) ; then [else][end]cd [areas.files.dirname] ; $(MKDIR) "$(APACHE_LIBEXECDIR)" ; $(INSTALL_MOD_SHARED) -n [areas.files.name] [area...
[else][end][is areas.type "locale"]$(MKDIR) [areas.files.installdir]
[if-any areas.files.when]if $([areas.files.when]) ; then [else][end]cd [areas.files.dirname] ; $(INSTALL_[areas.uppervar]) [areas.files.filename] [areas.files.installdir]/$(PACKAGE_NAME)[areas.files.objext][if-any areas.files.when] ; fi[else][end][e...
[end][else] $(MKDIR) $(DESTDIR)$([areas.varname]dir)
[end][if-any areas.extra_install] $(INSTALL_EXTRA_[areas.uppervar])
[end][end]
########################################
# Section 8: The install-include rule
########################################
install-include:[for includes] [includes.file][end]
src/subversion/build/generator/templates/svn_locale.dsp.ezt view on Meta::CPAN
# Microsoft Developer Studio Project File - Name="locale" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) External Target" 0x0106
CFG=locale - Win32 Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "locale.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "locale.mak" CFG="locale - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "locale - Win32 Release" (based on "Win32 (x86) External Target")
!MESSAGE "locale - Win32 Debug" (based on "Win32 (x86) External Target")
!MESSAGE
# Begin Project
# PROP AllowPerConfigDependencies 0
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
!IF "$(CFG)" == "locale - Win32 Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "..\..\locale\Release"
# PROP BASE Intermediate_Dir "..\..\locale\Release"
# PROP BASE Cmd_Line "build_locale.bat release"
# PROP BASE Rebuild_Opt "rebuild"
# PROP BASE Target_File ""
# PROP BASE Bsc_Name ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "..\..\locale\Release"
# PROP Intermediate_Dir "..\..\locale\Release"
# PROP Cmd_Line "cmd /c build_locale.bat release"
# PROP Rebuild_Opt "rebuild"
# PROP Target_File ""
# PROP Bsc_Name ""
!ELSEIF "$(CFG)" == "locale - Win32 Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "..\..\locale\Debug"
# PROP BASE Intermediate_Dir "..\..\locale\Debug"
# PROP BASE Cmd_Line "build_locale.bat debug"
# PROP BASE Rebuild_Opt "rebuild"
# PROP BASE Target_File ""
# PROP BASE Bsc_Name ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "..\..\locale\Debug"
# PROP Intermediate_Dir "..\..\locale\Debug"
# PROP Cmd_Line "cmd /c build_locale.bat debug"
# PROP Rebuild_Opt "rebuild"
# PROP Target_File ""
# PROP Bsc_Name ""
!ENDIF
# Begin Target
# Name "locale - Win32 Release"
# Name "locale - Win32 Debug"
!IF "$(CFG)" == "locale - Win32 Release"
!ELSEIF "$(CFG)" == "locale - Win32 Debug"
!ENDIF
# Begin Group "Source Files"
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
# End Group
# End Target
# End Project
src/subversion/build/generator/templates/svn_locale.vcproj.ezt view on Meta::CPAN
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
[end]<?xml version="1.0" encoding = "Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="[version]"
Name="locale"
ProjectGUID="[project_guid]"
Keyword="MakeFileProj">
<Platforms>
[for platforms] <Platform
Name="[platforms]"/>
[end] </Platforms>
<Configurations>
[for platforms][for configs] <Configuration
Name="[configs]|[platforms]"
OutputDirectory="..\..\..\[configs]\mo"
BuildLogFile="$(IntDir)\BuildLog_$(ProjectName).htm"
IntermediateDirectory="..\..\..\[configs]\mo"
ConfigurationType="0"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="FALSE">
<Tool
Name="VCNMakeTool"
BuildCommandLine="cmd /c build_locale.bat [configs]"
ReBuildCommandLine="cmd /c build_locale.bat [configs]"
CleanCommandLine="cmd /c del $(OutDir)\*.mo"
/>
</Configuration>
[end][end] </Configurations>
<Files>
</Files>
<Globals>
</Globals>
</VisualStudioProject>
src/subversion/build/generator/templates/svn_locale.vcxproj.ezt view on Meta::CPAN
-->
[end]<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
[for configs][for platforms] <ProjectConfiguration Include="[configs]|[platforms]">
<Configuration>[configs]</Configuration>
<Platform>[platforms]</Platform>
</ProjectConfiguration>
[end][end] </ItemGroup>
<PropertyGroup Label="Globals">
<ProjectName>locale</ProjectName>
<ProjectGuid>[project_guid]</ProjectGuid>
<Keyword>MakeFileProj</Keyword>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
[for platforms][for configs] <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='[configs]|[platforms]'" Label="Configuration">
<ConfigurationType>Makefile</ConfigurationType>
<CLRSupport>false</CLRSupport>
<PlatformToolset>[toolset_version]</PlatformToolset>
</PropertyGroup>
[end][end] <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
[for platforms][for configs] <ImportGroup Condition="'$(Configuration)|$(Platform)'=='[configs]|[platforms]'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" />
</ImportGroup>
[end][end] <PropertyGroup Label="UserMacros" />
<PropertyGroup>
[for configs][for platforms] <OutDir Condition="'$(Configuration)|$(Platform)'=='[configs]|[platforms]'">..\..\..\[configs]\mo\</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='[configs]|[platforms]'">..\..\..\[configs]\mo\</IntDir>
<NMakeBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='[configs]|[platforms]'">cmd /c build_locale.bat [configs]</NMakeBuildCommandLine>
<NMakeReBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='[configs]|[platforms]'">cmd /c build_locale.bat [configs]</NMakeReBuildCommandLine>
<NMakeCleanCommandLine Condition="'$(Configuration)|$(Platform)'=='[configs]|[platforms]'">cmd /c del $(OutDir)*.mo</NMakeCleanCommandLine>
[end][end] </PropertyGroup>
<ItemGroup>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
src/subversion/build/ltmain.sh view on Meta::CPAN
NULLCMD=:
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
# is contrary to our usage. Disable this feature.
alias -g '${1+"$@"}'='"$@"'
setopt NO_GLOB_SUBST
else
case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac
fi
# NLS nuisances: We save the old values in case they are required later.
_G_user_locale=
_G_safe_locale=
for _G_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
do
eval "if test set = \"\${$_G_var+set}\"; then
save_$_G_var=\$$_G_var
$_G_var=C
export $_G_var
_G_user_locale=\"$_G_var=\\\$save_\$_G_var; \$_G_user_locale\"
_G_safe_locale=\"$_G_var=C; \$_G_safe_locale\"
fi"
done
# CDPATH.
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
# Make sure IFS has a sensible default
sp=' '
nl='
'
src/subversion/build/ltmain.sh view on Meta::CPAN
$opt_dry_run || {
eval "$_G_cmd"
_G_status=$?
if test 0 -ne "$_G_status"; then
eval "(exit $_G_status); $_G_fail_exp"
fi
}
}
# func_show_eval_locale CMD [FAIL_EXP]
# ------------------------------------
# Unless opt_quiet is true, then output CMD. Then, if opt_dryrun is
# not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP
# is given, then evaluate it. Use the saved locale for evaluation.
func_show_eval_locale ()
{
$debug_cmd
_G_cmd=$1
_G_fail_exp=${2-':'}
$opt_quiet || {
func_quote_for_expand "$_G_cmd"
eval "func_echo $func_quote_for_expand_result"
}
$opt_dry_run || {
eval "$_G_user_locale
$_G_cmd"
_G_status=$?
eval "$_G_safe_locale"
if test 0 -ne "$_G_status"; then
eval "(exit $_G_status); $_G_fail_exp"
fi
}
}
# func_tr_sh
# ----------
# Turn $1 into a string suitable for a shell variable name.
src/subversion/build/ltmain.sh view on Meta::CPAN
command="$base_compile $qsrcfile"
fi
func_mkdir_p "$xdir$objdir"
if test -z "$output_obj"; then
# Place PIC objects in $objdir
func_append command " -o $lobj"
fi
func_show_eval_locale "$command" \
'test -n "$output_obj" && $RM $removelist; exit $EXIT_FAILURE'
if test warn = "$need_locks" &&
test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
$ECHO "\
*** ERROR, $lockfile contains:
`cat $lockfile 2>/dev/null`
but it should contain:
$srcfile
src/subversion/build/ltmain.sh view on Meta::CPAN
command="$base_compile $qsrcfile$pie_flag"
else
command="$base_compile $qsrcfile $pic_flag"
fi
if test yes = "$compiler_c_o"; then
func_append command " -o $obj"
fi
# Suppress compiler output if we already did a PIC compilation.
func_append command "$suppress_output"
func_show_eval_locale "$command" \
'$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE'
if test warn = "$need_locks" &&
test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
$ECHO "\
*** ERROR, $lockfile contains:
`cat $lockfile 2>/dev/null`
but it should contain:
$srcfile
src/subversion/build/run_tests.py view on Meta::CPAN
import os, re, subprocess, sys, imp, threading
from datetime import datetime
import getopt
try:
my_getopt = getopt.gnu_getopt
except AttributeError:
my_getopt = getopt.getopt
# Ensure the compiled C tests use a known locale (Python tests set the locale
# explicitly).
os.environ['LC_ALL'] = 'C'
class TextColors:
'''Some ANSI terminal constants for output color'''
ENDC = '\033[0;m'
FAILURE = '\033[1;31m'
SUCCESS = '\033[1;32m'
@classmethod
src/subversion/build/win32/make_dist.py view on Meta::CPAN
_system('"%s" cvf "%s" -C "%s" .'
% (cfg.get('tools', 'jar'), jarfile, source))
class InstallMoFiles(Action):
def __init__(self, source):
self.source = source
def run(self, dir, cfg):
pattern = os.path.join(self._expand(cfg, self.source), '*.mo')
for mofile in glob.glob(pattern):
localedir = os.path.join(dir, os.path.basename(mofile)[:-3],
'LC_MESSAGES')
os.makedirs(localedir)
self._copy_file(mofile, os.path.join(localedir, 'subversion.mo'))
# This is the distribution tree
_disttree = {'': OptFile('%(readme)s', 'README.txt'),
'bin': (File('%(blddir)s/svn/svn.exe'),
File('%(blddir)s/svn/svn.pdb'),
File('%(blddir)s/svnsync/svnsync.pdb'),
File('%(blddir)s/svnsync/svnsync.exe'),
File('%(blddir)s/svnadmin/svnadmin.exe'),
File('%(blddir)s/svnadmin/svnadmin.pdb'),
src/subversion/build/win32/make_dist.py view on Meta::CPAN
FileGlob('%(binddir)s/swig/ruby/libsvn_swig_ruby/*.pdb'),
FileGlob('%(blddir)s/libsvn_*/*.dll'),
File('%(@berkeley-db)s/bin/libdb%(bdbver)s.dll'),
OptFile('%(@sqlite)s/bin/sqlite3.dll'),
OptFile('%(@libintl)s/bin/intl3_svn.dll'),
File('%(@apr)s/%(aprrel)s/libapr-1.dll'),
File('%(@apr-iconv)s/%(aprrel)s/libapriconv-1.dll'),
File('%(@apr-util)s/%(aprrel)s/libaprutil-1.dll')),
'share': None,
'share/locale': InstallMoFiles('%(srcdir)s/%(svnrel)s/mo'),
}
# Define Perl module DLLs
for module in ('Client', 'Core', 'Delta', 'Fs', 'Ra', 'Repos', 'Wc'):
_disttree['perl/site/lib/auto/SVN/_' + module] = (
File('%(binddir)s/swig/perl/native/_' + module + '.dll'),
File('%(binddir)s/swig/perl/native/_' + module + '.pdb'))
def _system(command):
def reopen_log():
src/subversion/build/win32/make_dist.py view on Meta::CPAN
if action is None:
continue
if isinstance(action, tuple):
for subaction in action:
subaction.run(dir, cfg)
else:
action.run(dir, cfg)
xpdb = '-x "*.pdb"'
_make_zip('', ('/README.txt', '/bin', '/httpd',
'/iconv', '/licenses', '/share/locale'), xpdb)
_make_zip('_dev', ('/README.txt', '/doc', '/include', '/lib'), xpdb)
_make_zip('_javahl', ('/README.txt', '/javahl'), xpdb)
_make_zip('_pdb', ('',), '-i "*.pdb"')
_make_zip('_pl', ('/README.txt', '/perl'), xpdb)
_make_zip('_py', ('/README.txt', '/python'), xpdb)
_make_zip('_rb', ('/README.txt', '/ruby', '/licenses', '/share/locale'),
xpdb)
_stdout.write('make_dist: Creating ruby gem\n')
gem_script = os.path.join(_scriptdir, 'make_gem.rb')
rubycmd = '"%s" "%s" --output-dir="%s"' % (cfg.get('tools', 'ruby'),
gem_script, _distdir)
rubycmd += ' "' + distdir + '\\README.txt"'
rubycmd += ' "' + distdir + '\\ruby"'
rubycmd += ' "' + distdir + '\\licenses"'
rubycmd += ' "' + distdir + '\\share"'
src/subversion/configure view on Meta::CPAN
abs_srcdir
target_alias
host_alias
build_alias
LIBS
ECHO_T
ECHO_N
ECHO_C
DEFS
mandir
localedir
libdir
psdir
pdfdir
dvidir
htmldir
infodir
docdir
oldincludedir
includedir
localstatedir
src/subversion/configure view on Meta::CPAN
localstatedir='${prefix}/var'
includedir='${prefix}/include'
oldincludedir='/usr/include'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
infodir='${datarootdir}/info'
htmldir='${docdir}'
dvidir='${docdir}'
pdfdir='${docdir}'
psdir='${docdir}'
libdir='${exec_prefix}/lib'
localedir='${datarootdir}/locale'
mandir='${datarootdir}/man'
ac_prev=
ac_dashdash=
for ac_option
do
# If the previous option needs an argument, assign it.
if test -n "$ac_prev"; then
eval $ac_prev=\$ac_option
ac_prev=
src/subversion/configure view on Meta::CPAN
-libdir=* | --libdir=* | --libdi=* | --libd=*)
libdir=$ac_optarg ;;
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
| --libexe | --libex | --libe)
ac_prev=libexecdir ;;
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
| --libexe=* | --libex=* | --libe=*)
libexecdir=$ac_optarg ;;
-localedir | --localedir | --localedi | --localed | --locale)
ac_prev=localedir ;;
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
localedir=$ac_optarg ;;
-localstatedir | --localstatedir | --localstatedi | --localstated \
| --localstate | --localstat | --localsta | --localst | --locals)
ac_prev=localstatedir ;;
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
localstatedir=$ac_optarg ;;
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
ac_prev=mandir ;;
src/subversion/configure view on Meta::CPAN
no) ;;
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
esac
fi
# Check all directory arguments for consistency.
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
datadir sysconfdir sharedstatedir localstatedir includedir \
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
libdir localedir mandir
do
eval ac_val=\$$ac_var
# Remove trailing slashes.
case $ac_val in
*/ )
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
eval $ac_var=\$ac_val;;
esac
# Be sure to have absolute directory names.
case $ac_val in
src/subversion/configure view on Meta::CPAN
--libexecdir=DIR program executables [EPREFIX/libexec]
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
--libdir=DIR object code libraries [EPREFIX/lib]
--includedir=DIR C header files [PREFIX/include]
--oldincludedir=DIR C header files for non-gcc [/usr/include]
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
--infodir=DIR info documentation [DATAROOTDIR/info]
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
--mandir=DIR man documentation [DATAROOTDIR/man]
--docdir=DIR documentation root [DATAROOTDIR/doc/subversion]
--htmldir=DIR html documentation [DOCDIR]
--dvidir=DIR dvi documentation [DOCDIR]
--pdfdir=DIR pdf documentation [DOCDIR]
--psdir=DIR ps documentation [DOCDIR]
_ACEOF
cat <<\_ACEOF
src/subversion/configure view on Meta::CPAN
SVN_BINDIR="`eval echo ${SVN_BINDIR}`"
cat >>confdefs.h <<_ACEOF
#define SVN_BINDIR "${SVN_BINDIR}"
_ACEOF
localedir='${datadir}/locale'
if test "${datadir}" = '${prefix}/share' && test "${prefix}" = "NONE"; then
exp_localedir='${ac_default_prefix}/share/locale'
else
exp_localedir=$localedir
fi
svn_last=
svn_cur=""${exp_localedir}""
while test "x${svn_cur}" != "x${svn_last}";
do
svn_last="${svn_cur}"
svn_cur=`eval "echo ${svn_cur}"`
done
svn_localedir="${svn_cur}"
cat >>confdefs.h <<_ACEOF
#define SVN_LOCALE_DIR "${svn_localedir}"
_ACEOF
{ $as_echo "$as_me:${as_lineno-$LINENO}: configuring libtool now" >&5
$as_echo "$as_me: configuring libtool now" >&6;}
case `pwd` in
*\ * | *\ *)
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
esac
src/subversion/configure view on Meta::CPAN
INSTALL_STATIC_RULES="$INSTALL_STATIC_RULES install-kwallet-lib"
fi
if test "$found_gnome_keyring" = "yes"; then
BUILD_RULES="$BUILD_RULES gnome-keyring-lib"
INSTALL_RULES="`echo $INSTALL_RULES | $SED 's/install-lib/install-lib install-gnome-keyring-lib/'`"
INSTALL_STATIC_RULES="$INSTALL_STATIC_RULES install-gnome-keyring-lib"
fi
if test "$USE_NLS" = "yes"; then
BUILD_RULES="$BUILD_RULES locale"
INSTALL_RULES="$INSTALL_RULES install-locale"
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
src/subversion/configure view on Meta::CPAN
# FIXME: This hack should be removed a few years after 2.60.
ac_datarootdir_hack=; ac_datarootdir_seen=
ac_sed_dataroot='
/datarootdir/ {
p
q
}
/@datadir@/p
/@docdir@/p
/@infodir@/p
/@localedir@/p
/@mandir@/p'
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
*datarootdir*) ac_datarootdir_seen=yes;;
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_datarootdir_hack='
s&@datadir@&$datadir&g
s&@docdir@&$docdir&g
s&@infodir@&$infodir&g
s&@localedir@&$localedir&g
s&@mandir@&$mandir&g
s&\\\${datarootdir}&$datarootdir&g' ;;
esac
_ACEOF
# Neutralize VPATH when `$srcdir' = `.'.
# Shell code in configure.ac might set extrasub.
# FIXME: do we really want to maintain this feature?
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_sed_extra="$ac_vpsub
src/subversion/configure.ac view on Meta::CPAN
dnl they will not have things such as ${bindir} available
SVN_BINDIR="`eval echo ${SVN_BINDIR}`"
AC_SUBST(SVN_BINDIR)
dnl provide ${bindir} in svn_private_config.h for use in compiled code
AC_DEFINE_UNQUOTED(SVN_BINDIR, "${SVN_BINDIR}",
[Defined to be the path to the installed binaries])
dnl This purposely does *not* allow for multiple parallel installs.
dnl However, it is compatible with most gettext usages.
localedir='${datadir}/locale'
AC_SUBST(localedir)
dnl For SVN_LOCALE_DIR, we have to expand it to something. See SVN_BINDIR.
if test "${datadir}" = '${prefix}/share' && test "${prefix}" = "NONE"; then
exp_localedir='${ac_default_prefix}/share/locale'
else
exp_localedir=$localedir
fi
SVN_EXPAND_VAR(svn_localedir, "${exp_localedir}")
AC_DEFINE_UNQUOTED(SVN_LOCALE_DIR, "${svn_localedir}",
[Defined to be the path to the installed locale dirs])
dnl Check for libtool -- we'll definitely need it for all our shared libs!
AC_MSG_NOTICE([configuring libtool now])
ifdef([LT_INIT], [LT_INIT], [AC_PROG_LIBTOOL])
AC_ARG_ENABLE(experimental-libtool,
AS_HELP_STRING([--enable-experimental-libtool],[Use APR's libtool]),
[experimental_libtool=$enableval],[experimental_libtool=no])
if test "$experimental_libtool" = "yes"; then
echo "using APR's libtool"
src/subversion/configure.ac view on Meta::CPAN
AH_BOTTOM([
/* Indicate to translators that string X should be translated. Do not look
up the translation at run time; just expand to X. This macro is suitable
for use where a constant string is required at compile time. */
#define N_(x) x
/* Indicate to translators that we have decided the string X should not be
translated. Expand to X. */
#define U_(x) x
#ifdef ENABLE_NLS
#include <locale.h>
#include <libintl.h>
/* Indicate to translators that string X should be translated. At run time,
look up and return the translation of X. */
#define _(x) dgettext(PACKAGE_NAME, x)
/* Indicate to translators that strings X1 and X2 are singular and plural
forms of the same message, and should be translated. At run time, return
an appropriate translation depending on the number N. */
#define Q_(x1, x2, n) dngettext(PACKAGE_NAME, x1, x2, n)
#else
#define _(x) (x)
src/subversion/configure.ac view on Meta::CPAN
INSTALL_STATIC_RULES="$INSTALL_STATIC_RULES install-kwallet-lib"
fi
if test "$found_gnome_keyring" = "yes"; then
BUILD_RULES="$BUILD_RULES gnome-keyring-lib"
INSTALL_RULES="`echo $INSTALL_RULES | $SED 's/install-lib/install-lib install-gnome-keyring-lib/'`"
INSTALL_STATIC_RULES="$INSTALL_STATIC_RULES install-gnome-keyring-lib"
fi
if test "$USE_NLS" = "yes"; then
BUILD_RULES="$BUILD_RULES locale"
INSTALL_RULES="$INSTALL_RULES install-locale"
fi
AC_SUBST(BUILD_RULES)
AC_SUBST(INSTALL_STATIC_RULES)
AC_SUBST(INSTALL_RULES)
AC_SUBST(BDB_TEST_DEPS)
AC_SUBST(BDB_TEST_PROGRAMS)
dnl Check for header files ----------------
src/subversion/subversion/bindings/ctypes-python/test/wc.py view on Meta::CPAN
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
import setup_path
import unittest
import locale
import os
import shutil
import tempfile
from sys import version_info # For Python version check
if version_info[0] >= 3:
# Python >=3.0
from io import StringIO
else:
# Python <3.0
from StringIO import StringIO
from csvn.core import *
from urllib import pathname2url
from csvn.wc import WC
from csvn.repos import LocalRepository
locale.setlocale(locale.LC_ALL, "C")
repos_location = os.path.join(tempfile.gettempdir(), "svn_test_repos")
wc_location = os.path.join(tempfile.gettempdir(), "svn_test_wc")
repo_url = pathname2url(repos_location)
if repo_url.startswith("///"):
# Don't add extra slashes if they're already present.
# (This is important for Windows compatibility).
repo_url = "file:" + repo_url
else:
# If the URL simply starts with '/', we need to add two
src/subversion/subversion/bindings/javahl/native/JNIUtil.cpp view on Meta::CPAN
*
* @file JNIUtil.cpp
* @brief Implementation of the class JNIUtil
*/
#include "JNIUtil.h"
#include "Array.h"
#include <sstream>
#include <vector>
#include <locale.h>
#include <apr_strings.h>
#include <apr_tables.h>
#include <apr_general.h>
#include <apr_lib.h>
#include "svn_pools.h"
#include "svn_fs.h"
#include "svn_ra.h"
#include "svn_utf.h"
src/subversion/subversion/bindings/javahl/native/JNIUtil.cpp view on Meta::CPAN
{
WCHAR ucs2_path[MAX_PATH];
char *utf8_path;
const char *internal_path;
apr_pool_t *pool;
apr_status_t apr_err;
apr_size_t inwords, outbytes;
unsigned int outlength;
pool = svn_pool_create(g_pool);
/* get dll name - our locale info will be in '../share/locale' */
inwords = sizeof(ucs2_path) / sizeof(ucs2_path[0]);
HINSTANCE moduleHandle = GetModuleHandle("libsvnjavahl-1");
GetModuleFileNameW(moduleHandle, ucs2_path, inwords);
inwords = lstrlenW(ucs2_path);
outbytes = outlength = 3 * (inwords + 1);
utf8_path = reinterpret_cast<char *>(apr_palloc(pool, outlength));
apr_err = apr_conv_ucs2_to_utf8((const apr_wchar_t *) ucs2_path,
&inwords, utf8_path, &outbytes);
if (!apr_err && (inwords > 0 || outbytes == 0))
apr_err = APR_INCOMPLETE;
src/subversion/subversion/bindings/swig/core.i view on Meta::CPAN
%include svn_diff_h.swg
%inline %{
static VALUE
svn_default_charset(void)
{
return PTR2NUM(APR_DEFAULT_CHARSET);
}
static VALUE
svn_locale_charset(void)
{
return PTR2NUM(APR_LOCALE_CHARSET);
}
/* prompt providers return baton for protecting GC */
static VALUE
svn_swig_rb_auth_get_simple_prompt_provider(
svn_auth_provider_object_t **provider,
svn_auth_simple_prompt_func_t prompt_func,
void *prompt_baton,
src/subversion/subversion/bindings/swig/perl/native/t/8lock.t view on Meta::CPAN
use Test::More tests => 8;
use strict;
no warnings 'once'; # shut up about variables that are only used once.
require SVN::Core;
require SVN::Repos;
require SVN::Fs;
use File::Path qw(rmtree);
use File::Temp qw(tempdir);
use POSIX qw(locale_h);
setlocale(LC_ALL, "C");
my $repospath = tempdir('svn-perl-test-XXXXXX', TMPDIR => 1, CLEANUP => 1);
my $repos;
# TEST
ok($repos = SVN::Repos::create("$repospath", undef, undef, undef, undef),
"create repository at $repospath");
my $fs = $repos->fs;
src/subversion/subversion/bindings/swig/ruby/core.c view on Meta::CPAN
static VALUE
svn_default_charset(void)
{
return PTR2NUM(APR_DEFAULT_CHARSET);
}
static VALUE
svn_locale_charset(void)
{
return PTR2NUM(APR_LOCALE_CHARSET);
}
/* prompt providers return baton for protecting GC */
static VALUE
svn_swig_rb_auth_get_simple_prompt_provider(
svn_auth_provider_object_t **provider,
svn_auth_simple_prompt_func_t prompt_func,
void *prompt_baton,
src/subversion/subversion/bindings/swig/ruby/core.c view on Meta::CPAN
}
vresult = result;
return vresult;
fail:
return Qnil;
}
SWIGINTERN VALUE
_wrap_svn_locale_charset(int argc, VALUE *argv, VALUE self) {
VALUE result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
{
result = (VALUE)svn_locale_charset();
}
vresult = result;
return vresult;
fail:
return Qnil;
}
src/subversion/subversion/bindings/swig/ruby/core.c view on Meta::CPAN
rb_define_module_function(mCore, "svn_diff_fns_invoke_datasource_get_next_token", _wrap_svn_diff_fns_invoke_datasource_get_next_token, -1);
rb_define_module_function(mCore, "svn_diff_fns_invoke_token_compare", _wrap_svn_diff_fns_invoke_token_compare, -1);
rb_define_module_function(mCore, "svn_diff_fns_invoke_token_discard", _wrap_svn_diff_fns_invoke_token_discard, -1);
rb_define_module_function(mCore, "svn_diff_fns_invoke_token_discard_all", _wrap_svn_diff_fns_invoke_token_discard_all, -1);
rb_define_module_function(mCore, "svn_diff_output_fns_invoke_output_common", _wrap_svn_diff_output_fns_invoke_output_common, -1);
rb_define_module_function(mCore, "svn_diff_output_fns_invoke_output_diff_modified", _wrap_svn_diff_output_fns_invoke_output_diff_modified, -1);
rb_define_module_function(mCore, "svn_diff_output_fns_invoke_output_diff_latest", _wrap_svn_diff_output_fns_invoke_output_diff_latest, -1);
rb_define_module_function(mCore, "svn_diff_output_fns_invoke_output_diff_common", _wrap_svn_diff_output_fns_invoke_output_diff_common, -1);
rb_define_module_function(mCore, "svn_diff_output_fns_invoke_output_conflict", _wrap_svn_diff_output_fns_invoke_output_conflict, -1);
rb_define_module_function(mCore, "svn_default_charset", _wrap_svn_default_charset, -1);
rb_define_module_function(mCore, "svn_locale_charset", _wrap_svn_locale_charset, -1);
rb_define_module_function(mCore, "svn_swig_rb_auth_get_simple_prompt_provider", _wrap_svn_swig_rb_auth_get_simple_prompt_provider, -1);
rb_define_module_function(mCore, "svn_swig_rb_auth_get_ssl_client_cert_prompt_provider", _wrap_svn_swig_rb_auth_get_ssl_client_cert_prompt_provider, -1);
rb_define_module_function(mCore, "svn_swig_rb_auth_get_ssl_client_cert_pw_prompt_provider", _wrap_svn_swig_rb_auth_get_ssl_client_cert_pw_prompt_provider, -1);
rb_define_module_function(mCore, "svn_swig_rb_auth_get_ssl_server_trust_prompt_provider", _wrap_svn_swig_rb_auth_get_ssl_server_trust_prompt_provider, -1);
rb_define_module_function(mCore, "svn_swig_rb_auth_get_username_prompt_provider", _wrap_svn_swig_rb_auth_get_username_prompt_provider, -1);
rb_define_module_function(mCore, "svn_swig_mergeinfo_merge", _wrap_svn_swig_mergeinfo_merge, -1);
rb_define_module_function(mCore, "svn_swig_mergeinfo_sort", _wrap_svn_swig_mergeinfo_sort, -1);
rb_define_module_function(mCore, "svn_swig_rangelist_merge", _wrap_svn_swig_rangelist_merge, -1);
rb_define_module_function(mCore, "svn_swig_rangelist_reverse", _wrap_svn_swig_rangelist_reverse, -1);
}
src/subversion/subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c view on Meta::CPAN
#endif
#ifndef RSTRING_LEN
# define RSTRING_LEN(str) (RSTRING(str)->len)
#endif
#ifndef RSTRING_PTR
# define RSTRING_PTR(str) (RSTRING(str)->ptr)
#endif
#include <locale.h>
#include <math.h>
#include "svn_hash.h"
#include "svn_nls.h"
#include "svn_pools.h"
#include "svn_props.h"
#include "svn_time.h"
#include "svn_utf.h"
src/subversion/subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c view on Meta::CPAN
const_name = rb_str_new2(prefix);
rb_str_concat(const_name,
rb_funcall(rb_funcall(name, id_to_s, 0),
id_upcase, 0));
return rb_const_get(parent, rb_intern(StringValuePtr(const_name)));
}
/* initialize */
static VALUE
svn_swig_rb_converter_to_locale_encoding(VALUE self, VALUE str)
{
apr_pool_t *pool;
svn_error_t *err;
const char *dest;
VALUE result;
pool = svn_pool_create(NULL);
err = svn_utf_cstring_from_utf8(&dest, StringValueCStr(str), pool);
if (err) {
svn_pool_destroy(pool);
svn_swig_rb_handle_svn_error(err);
}
result = rb_str_new2(dest);
svn_pool_destroy(pool);
return result;
}
static VALUE
svn_swig_rb_locale_set(int argc, VALUE *argv, VALUE self)
{
char *result;
int category;
const char *locale;
VALUE rb_category, rb_locale;
rb_scan_args(argc, argv, "02", &rb_category, &rb_locale);
if (NIL_P(rb_category))
category = LC_ALL;
else
category = NUM2INT(rb_category);
if (NIL_P(rb_locale))
locale = "";
else
locale = StringValueCStr(rb_locale);
result = setlocale(category, locale);
return result ? rb_str_new2(result) : Qnil;
}
static VALUE
svn_swig_rb_gettext_bindtextdomain(VALUE self, VALUE path)
{
#ifdef ENABLE_NLS
bindtextdomain(PACKAGE_NAME, StringValueCStr(path));
#endif
src/subversion/subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c view on Meta::CPAN
apr_allocator_mutex_set(swig_rb_allocator, mutex);
}
#endif
apr_allocator_owner_set(swig_rb_allocator, swig_rb_pool);
svn_utf_initialize(swig_rb_pool);
svn_swig_rb_initialize_ids();
mSvnConverter = rb_define_module_under(rb_svn(), "Converter");
rb_define_module_function(mSvnConverter, "to_locale_encoding",
svn_swig_rb_converter_to_locale_encoding, 1);
mSvnLocale = rb_define_module_under(rb_svn(), "Locale");
rb_define_const(mSvnLocale, "ALL", INT2NUM(LC_ALL));
rb_define_const(mSvnLocale, "COLLATE", INT2NUM(LC_COLLATE));
rb_define_const(mSvnLocale, "CTYPE", INT2NUM(LC_CTYPE));
#ifdef LC_MESSAGES
rb_define_const(mSvnLocale, "MESSAGES", INT2NUM(LC_MESSAGES));
#endif
rb_define_const(mSvnLocale, "MONETARY", INT2NUM(LC_MONETARY));
rb_define_const(mSvnLocale, "NUMERIC", INT2NUM(LC_NUMERIC));
rb_define_const(mSvnLocale, "TIME", INT2NUM(LC_TIME));
rb_define_module_function(mSvnLocale, "set", svn_swig_rb_locale_set, -1);
mSvnGetText = rb_define_module_under(rb_svn(), "GetText");
rb_define_module_function(mSvnGetText, "bindtextdomain",
svn_swig_rb_gettext_bindtextdomain, 1);
rb_define_module_function(mSvnGetText, "_", svn_swig_rb_gettext__, 1);
mSvnDestroyer = rb_define_module_under(rb_svn(), "Destroyer");
rb_define_module_function(mSvnDestroyer, "destroy",
svn_swig_rb_destroyer_destroy, 1);
}
src/subversion/subversion/bindings/swig/ruby/svn/core.rb view on Meta::CPAN
alias binary_mime_type? mime_type_is_binary
alias prop_diffs2 prop_diffs
def prop_diffs(target_props, source_props)
Property.prop_diffs(target_props, source_props)
end
end
DEFAULT_CHARSET = default_charset
LOCALE_CHARSET = locale_charset
AuthCredSSLClientCert = AuthCredSslClientCert
AuthCredSSLClientCertPw = AuthCredSslClientCertPw
AuthCredSSLServerTrust = AuthCredSslServerTrust
dirent_all = 0
constants.each do |name|
dirent_all |= const_get(name) if /^DIRENT_/ =~ name
end
DIRENT_ALL = dirent_all
src/subversion/subversion/bindings/swig/ruby/svn/core.rb view on Meta::CPAN
diff.original = original
diff.modified = modified
diff.latest = latest
diff.ancestor = ancestor
end
diff
end
end
def unified(orig_label, mod_label, header_encoding=nil)
header_encoding ||= Svn::Core.locale_charset
output = StringIO.new
args = [
output, self, @original, @modified,
orig_label, mod_label, header_encoding
]
Core.diff_file_output_unified2(*args)
output.rewind
output.read
end
def merge(conflict_original=nil, conflict_modified=nil,
conflict_latest=nil, conflict_separator=nil,
display_original_in_conflict=true,
display_resolved_conflicts=true)
header_encoding ||= Svn::Core.locale_charset
output = StringIO.new
args = [
output, self, @original, @modified, @latest,
conflict_original, conflict_modified,
conflict_latest, conflict_separator,
display_original_in_conflict,
display_resolved_conflicts,
]
Core.diff_file_output_merge(*args)
output.rewind
src/subversion/subversion/bindings/swig/ruby/svn/error.rb view on Meta::CPAN
@line = line
@child = child
message = ""
if file
message << "#{file}"
message << ":#{line}" if line
message << ": "
end
message << "#{TABLE[@code] || @code}: "
message << @error_message
message = Converter.to_locale_encoding(message)
message = "\n#{@child.message}" if @child
super(message)
end
end
Ext::Core.constants.each do |const_name|
if /^SVN_ERR_(.*)/ =~ const_name
error_const_name = $1
next if /_CATEGORY_START\z/ =~ error_const_name
error_class_name = Util.to_ruby_class_name(error_const_name)
src/subversion/subversion/bindings/swig/ruby/svn/util.rb view on Meta::CPAN
file.close
file.open
file.binmode
file
end
def reset_message_directory
if /cygwin|mingw|mswin32|bccwin32/.match(RUBY_PLATFORM)
top_directory = File.join(File.dirname(__FILE__), "..", "..")
top_directory = File.expand_path(top_directory)
locale_directory = File.join(top_directory, "share", "locale")
locale_directory_win = locale_directory.tr(File::SEPARATOR,
File::ALT_SEPARATOR)
GetText.bindtextdomain(locale_directory_win)
end
end
def validate_options(options, optional_keys, required_keys=[])
unknown_keys = options.keys - (optional_keys + required_keys)
unless unknown_keys.empty?
raise(ArgumentError, "Unknown key(s): #{unknown_keys.join(", ")}")
end
missing_keys = []
required_keys.each do |key|
src/subversion/subversion/include/svn_client.h view on Meta::CPAN
apr_pool_t *pool);
/** @} */
/** Properties
*
* Note that certain svn-controlled properties must always have their
* values set and stored in UTF8 with LF line endings. When
* retrieving these properties, callers must convert the values back
* to native locale and native line-endings before displaying them to
* the user. For help with this task, see
* svn_prop_needs_translation(), svn_subst_translate_string(), and
* svn_subst_detranslate_string().
*
* @defgroup svn_client_prop_funcs Property functions
* @{
*/
/**
src/subversion/subversion/include/svn_cmdline.h view on Meta::CPAN
#include "svn_types.h"
#include "svn_auth.h"
#include "svn_config.h"
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
/** Set up the locale for character conversion, and initialize APR.
* If @a error_stream is non-NULL, print error messages to the stream,
* using @a progname as the program name. Attempt to set @c stdout to
* line-buffered mode, and @a error_stream to unbuffered mode. Return
* @c EXIT_SUCCESS if successful, otherwise @c EXIT_FAILURE.
*
* @note This function should be called exactly once at program startup,
* before calling any other APR or Subversion functions.
*/
int
svn_cmdline_init(const char *progname,
src/subversion/subversion/include/svn_cmdline.h view on Meta::CPAN
/** Flush output buffers of the stdio @a stream, returning an error if that
* fails. This is just a wrapper for the standard fflush() function for
* consistent error handling.
*
* @since New in 1.1.
*/
svn_error_t *
svn_cmdline_fflush(FILE *stream);
/** Return the name of the output encoding allocated in @a pool, or @c
* APR_LOCALE_CHARSET if the output encoding is the same as the locale
* encoding.
*
* @since New in 1.3.
*/
const char *
svn_cmdline_output_encoding(apr_pool_t *pool);
/** Handle @a error in preparation for immediate exit from a
* command-line client. Specifically:
*