Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
91b31c88
Commit
91b31c88
authored
Aug 28, 2002
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Additional fixes for bootstrap when gettext isn't available.
parent
e3366e79
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
214 additions
and
3 deletions
+214
-3
bootstrap
bootstrap
+18
-3
po/Makefile.in.in
po/Makefile.in.in
+196
-0
No files found.
bootstrap
View file @
91b31c88
#! /bin/sh
## bootstrap.sh file for vlc, the VideoLAN Client
## $Id: bootstrap,v 1.
9 2002/08/28 13:38:14
sam Exp $
## $Id: bootstrap,v 1.
10 2002/08/28 14:22:17
sam Exp $
##
## Authors: Samuel Hocevar <sam@zoy.org>
...
...
@@ -33,7 +33,7 @@ set -x
rm
-f
aclocal.m4 configure config.guess config.log config.sub ltmain.sh libtool ltconfig missing mkinstalldirs depcomp install-sh
# Check for gettext
if
which gettextize
>
/dev/null 2>&1
if
gettextize
--version
>
/dev/null 2>&1
then
if
expr
`
gettextize
--version
|
sed
-e
'1s/[^0-9]*//'
-e
q
`
\
'>'
0.11.3
>
/dev/null 2>&1
...
...
@@ -61,13 +61,28 @@ else
GETTEXT
=
old
fi
;
else
# we don't have gettext. grmbl. try to continue anyway.
mkdir
-p
intl
echo
>
intl/Makefile.am
mkdir
-p
m4
echo
>
m4/Makefile.am
echo
'AC_DEFUN([AM_GNU_GETTEXT_VERSION], [])'
>
m4/gettext.m4
echo
'AC_DEFUN([AM_GNU_GETTEXT], [])'
>>
m4/gettext.m4
GETTEXT
=
no
fi
`
which automake-1.6
>
/dev/null 2>&1
`
&&
amvers
=
1.6
||
amvers
=
1.5
# Check for automake
if
automake-1.6
--version
>
/dev/null 2>&1
then
amvers
=
1.6
else if
automake-1.5
--version
>
/dev/null 2>&1
then
amvers
=
1.5
else
set
+x
echo
"you need automake version 1.5 or later"
fi
;
fi
# Do the rest
aclocal-
${
amvers
}
-I
m4
autoheader
automake-
${
amvers
}
--foreign
--add-missing
--copy
...
...
po/Makefile.in.in
0 → 100644
View file @
91b31c88
# Makefile for program source directory in GNU NLS utilities package.
# Copyright (C) 1995-1997, 2000, 2001 by Ulrich Drepper <drepper@gnu.ai.mit.edu>
#
# This file file be copied and used freely without restrictions. It can
# be used in projects which are not available under the GNU Public License
# but which still want to provide support for the GNU gettext functionality.
# Please note that the actual code is *not* freely available.
PACKAGE
=
@PACKAGE@
VERSION
=
@VERSION@
# These two variables depend on the location of this directory.
subdir
=
po
top_builddir
=
..
SHELL
=
/bin/sh
@SET_MAKE@
srcdir
=
@srcdir@
top_srcdir
=
@top_srcdir@
VPATH
=
@srcdir@
prefix
=
@prefix@
exec_prefix
=
@exec_prefix@
datadir
=
@datadir@
localedir
=
$(datadir)
/locale
gettextsrcdir
=
$(datadir)
/gettext/po
INSTALL
=
@INSTALL@
INSTALL_DATA
=
@INSTALL_DATA@
MKINSTALLDIRS
=
@MKINSTALLDIRS@
mkinstalldirs
=
$(SHELL)
`
case
"
$(MKINSTALLDIRS)
"
in
/
*
)
echo
"
$(MKINSTALLDIRS)
"
;;
*
)
echo
"
$(top_builddir)
/
$(MKINSTALLDIRS)
"
;;
esac
`
CC
=
@CC@
GMSGFMT
=
@GMSGFMT@
MSGFMT
=
@MSGFMT@
XGETTEXT
=
@XGETTEXT@
MSGMERGE
=
msgmerge
DEFS
=
@DEFS@
CFLAGS
=
@CFLAGS@
CPPFLAGS
=
@CPPFLAGS@
INCLUDES
=
-I
..
-I
$(top_srcdir)
/intl
COMPILE
=
$(CC)
-c
$(DEFS)
$(INCLUDES)
$(CPPFLAGS)
$(CFLAGS)
$(XCFLAGS)
POFILES
=
@POFILES@
GMOFILES
=
@GMOFILES@
DISTFILES
=
ChangeLog Makefile.in.in POTFILES.in
$(PACKAGE)
.pot
\
$(POFILES)
$(GMOFILES)
POTFILES
=
\
CATALOGS
=
@CATALOGS@
.SUFFIXES
:
.SUFFIXES
:
.c .o .po .pox .gmo .mo
.c.o
:
$(COMPILE)
$<
.po.pox
:
$(MAKE)
$(PACKAGE)
.pot
$(MSGMERGE)
$<
$(srcdir)
/
$(PACKAGE)
.pot
-o
$*
.pox
.po.mo
:
$(MSGFMT)
-o
$@
$<
.po.gmo
:
file
=
$(srcdir)
/
`
echo
$*
|
sed
's,.*/,,'
`
.gmo
\
&&
rm
-f
$$
file
&&
$(GMSGFMT)
--statistics
-o
$$
file
$<
all
:
all-@USE_NLS@
all-yes
:
$(CATALOGS)
all-no
:
# Note: Target 'all' must not depend on target '$(srcdir)/$(PACKAGE).pot',
# otherwise packages like GCC can not be built if only parts of the source
# have been downloaded.
$(srcdir)/$(PACKAGE).pot
:
$(POTFILES) $(srcdir)/POTFILES.in
$(XGETTEXT)
--default-domain
=
$(PACKAGE)
--directory
=
$(top_srcdir)
\
--add-comments
--keyword
=
_
--keyword
=
N_
\
--files-from
=
$(srcdir)
/POTFILES.in
\
&&
test
!
-f
$(PACKAGE)
.po
\
||
(
rm
-f
$(srcdir)
/
$(PACKAGE)
.pot
\
&&
mv
$(PACKAGE)
.po
$(srcdir)
/
$(PACKAGE)
.pot
)
install
:
install-exec install-data
install-exec
:
install-data
:
install-data-@USE_NLS@
if
test
"
$(PACKAGE)
"
=
"gettext"
;
then
\
$(mkinstalldirs)
$(DESTDIR)$(gettextsrcdir)
;
\
$(INSTALL_DATA)
$(srcdir)
/Makefile.in.in
\
$(DESTDIR)$(gettextsrcdir)
/Makefile.in.in
;
\
else
\
:
;
\
fi
install-data-no
:
all
install-data-yes
:
all
$(mkinstalldirs)
$(DESTDIR)$(datadir)
@
catalogs
=
'
$(CATALOGS)
'
;
\
for
cat
in
$$
catalogs
;
do
\
cat
=
`
basename
$$
cat
`
;
\
lang
=
`
echo
$$
cat
|
sed
's/\.gmo$$//'
`
;
\
dir
=
$(localedir)
/
$$
lang/LC_MESSAGES
;
\
$(mkinstalldirs)
$(DESTDIR)$$
dir
;
\
if
test
-r
$$
cat
;
then
\
$(INSTALL_DATA)
$$
cat
$(DESTDIR)$$
dir
/
$(PACKAGE)
.mo
;
\
echo
"installing
$$
cat as
$(DESTDIR)$$
dir/
$(PACKAGE)
.mo"
;
\
else
\
$(INSTALL_DATA)
$(srcdir)
/
$$
cat
$(DESTDIR)$$
dir
/
$(PACKAGE)
.mo
;
\
echo
"installing
$(srcdir)
/
$$
cat as"
\
"
$(DESTDIR)$$
dir/
$(PACKAGE)
.mo"
;
\
fi
;
\
done
# Define this as empty until I found a useful application.
installcheck
:
uninstall
:
catalogs
=
'
$(CATALOGS)
'
;
\
for
cat
in
$$
catalogs
;
do
\
cat
=
`
basename
$$
cat
`
;
\
lang
=
`
echo
$$
cat
|
sed
's/\.gmo$$//'
`
;
\
rm
-f
$(DESTDIR)$(localedir)
/
$$
lang/LC_MESSAGES/
$(PACKAGE)
.mo
;
\
done
if
test
"
$(PACKAGE)
"
=
"gettext"
;
then
\
rm
-f
$(DESTDIR)$(gettextsrcdir)
/Makefile.in.in
;
\
else
\
:
;
\
fi
check
:
all
dvi info tags TAGS ID
:
mostlyclean
:
rm
-f
core core.
*
*
.pox
$(PACKAGE)
.po
*
.new.po
rm
-fr
*
.o
clean
:
mostlyclean
distclean
:
clean
rm
-f
Makefile Makefile.in POTFILES
*
.mo
maintainer-clean
:
distclean
@
echo
"This command is intended for maintainers to use;"
@
echo
"it deletes files that may require special tools to rebuild."
rm
-f
$(GMOFILES)
distdir
=
$(top_builddir)
/
$(PACKAGE)
-
$(VERSION)
/
$(subdir)
dist distdir
:
$(MAKE)
update-po
@
$(MAKE)
dist2
# This is a separate target because 'update-po' must be executed before.
dist2
:
$(DISTFILES)
dists
=
"
$(DISTFILES)
"
;
\
for
file
in
$$
dists
;
do
\
if
test
-f
$$
file
;
then
dir
=
.
;
else
dir
=
$(srcdir)
;
fi
;
\
cp
-p
$$
dir
/
$$
file
$(distdir)
;
\
done
update-po
:
Makefile
$(MAKE)
$(PACKAGE)
.pot
if
test
"
$(PACKAGE)
"
=
"gettext"
;
then
PATH
=
`
pwd
`
/../src:
$$
PATH
;
fi
;
\
cd
$(srcdir)
;
\
catalogs
=
'
$(GMOFILES)
'
;
\
for
cat
in
$$
catalogs
;
do
\
cat
=
`
basename
$$
cat
`
;
\
lang
=
`
echo
$$
cat
|
sed
's/\.gmo$$//'
`
;
\
echo
"
$$
lang:"
;
\
if
$(MSGMERGE)
$$
lang.po
$(PACKAGE)
.pot
-o
$$
lang.new.po
;
then
\
mv
-f
$$
lang.new.po
$$
lang.po
;
\
else
\
echo
"msgmerge for
$$
cat failed!"
;
\
rm
-f
$$
lang.new.po
;
\
fi
;
\
done
$(MAKE)
update-gmo
update-gmo
:
Makefile $(GMOFILES)
@
:
Makefile
:
Makefile.in.in $(top_builddir)/config.status POTFILES.in
cd
$(top_builddir)
\
&&
CONFIG_FILES
=
$(subdir)
/
$@
.in
CONFIG_HEADERS
=
\
$(SHELL)
./config.status
# Tell versions [3.59,3.63) of GNU make not to export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT
:
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment