diff options
author | Aaron Griffin <aaron@archlinux.org> | 2006-10-15 19:38:02 +0000 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2006-10-15 19:38:02 +0000 |
commit | 94810222866b7cc36bf442993826f9b38dbe9c41 (patch) | |
tree | 325266e9e88208d481ce58b866e7002af4d279c0 | |
parent | 3f27542156125118800235c5ac1bac125fd7752c (diff) | |
download | pacman-94810222866b7cc36bf442993826f9b38dbe9c41.tar.xz |
Final frugalware changes commit
-rw-r--r-- | AUTHORS | 3 | ||||
-rw-r--r-- | Makefile.am | 14 | ||||
-rw-r--r-- | NEWS | 202 | ||||
-rw-r--r-- | README | 13 | ||||
-rw-r--r-- | TODO | 31 | ||||
-rw-r--r-- | TODO.autoconf | 10 | ||||
-rwxr-xr-x | autoclean.sh | 7 | ||||
-rwxr-xr-x | autogen.sh | 48 | ||||
-rw-r--r-- | bindings/alpm.i | 23 | ||||
-rw-r--r-- | bindings/java/Makefile.in | 48 | ||||
-rw-r--r-- | bindings/perl/Makefile.in | 42 | ||||
-rw-r--r-- | bindings/perl/alpm.i | 23 | ||||
-rw-r--r-- | bindings/python/Makefile.in | 48 | ||||
-rw-r--r-- | bindings/python/alpm.i | 23 | ||||
-rw-r--r-- | configure.ac | 350 | ||||
-rw-r--r-- | doc/hu/Makefile.am | 8 | ||||
-rw-r--r-- | doc/po/hu.po | 2381 | ||||
-rw-r--r-- | doc/po/pacman.pot | 2348 |
18 files changed, 5523 insertions, 99 deletions
@@ -3,3 +3,6 @@ Aurelien Foret <aurelien@archlinux.org> Miklós Vajna <vmiklos@frugalware.org> Christian Hamar <krics@linuxforum.hu> + +Josh Wheeler <deltalima@gmail.com> +David Kimpe <DNAku@frugalware.org> diff --git a/Makefile.am b/Makefile.am index 44523442..ebec81b1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,4 +1,13 @@ -SUBDIRS = lib/libftp lib/libalpm src/util src/pacman scripts doc +SUBDIRS = lib/libftp lib/libalpm src/util src/pacman scripts doc etc +if HAS_PERL +SUBDIRS += bindings/perl +endif +if HAS_PYTHON +SUBDIRS += bindings/python +endif +if HAS_JAVA +SUBDIRS += bindings/java +endif EXTRA_DIST = \ ChangeLog \ @@ -6,3 +15,6 @@ EXTRA_DIST = \ README \ TODO \ TODO.autoconf + +check: + cd pactest; python pactest.py --test=tests/*.py -p ../src/pacman/pacman --debug=1 @@ -1,5 +1,207 @@ VERSION DESCRIPTION ----------------------------------------------------------------------------- +3.4.0 - makepkg -R now uses the pacman from the chroot if it is + possible + - makepkg now handles .cpio.(bz2|gz) + - libalpm is now statically linked to libftp +3.3.9 - bugfix for holdpkgs during an upgrade + - fix building with --enable-debug + - fixed the download progressbar + - -Ss works again for multiple repos + - bugfix for -Sp + - downloads are interruptable again +3.3.8 - new libalpm function: alpm_db_search() + - pactest: initial import, run make check to call it + - new libalpm function: alpm_parse_config() + - new libalpm function: alpm_fetch_pkgurl() + - implemented the progressbar for pacman -R +3.3.7 - the package name is now properly displayed in the progressbar + during install/upgrade + - updatesync: bugfix when deleting packages from the repo + - create /tmp before locking the database, useful when -r is used + in an empty dir + - makepkg: recoginze .TGZ, .ZIP and other uppercase extensions + - python: added a few casting functions +3.3.6 - ported libalpm to Solaris/Sparc + - bugfixes in the Hungarian translation + - bugfix for pacman -Qi -p + - new function in libalpm: alpm_db_setserver() + - incremented libalpm's sover due to new error codes intruduced + by alpm_db_setserver() + - added python bindings +3.3.5 - fixed a stale lockfile problem (when packages were corrupted) + - fixed problem when sometimes ^C was ignored + - new pacman option: --ask + - libalpm: prefixed all internal functions with _alpm + - makepkg: bugfix for suboptions=('nostrip') + - new package property: "build type" - it can be "chroot" or + custom + - updated Hungarian translation +3.3.4 - the old extra repo is now merged to the frugalware one + - handle the case properly when the user hits ^C during a + package install + - fix the output of scriptlet messages + - check if enough free space if available +3.3.3 - pipe and parse scriptlet messages. see man FrugalBuild + - new mirror: ftp10 + - udatesync: use bzip2 instead of gzip for package databases + - update/gensync: bugfix for the pkgdesc_localized directive + - Hungarian translation update + - fixed several compilation warning + - ia64 support + - manpage split: moved the FrugalBuild specific part from + man makepkg to man FrugalBuild + - minor bugfixes in makepkg +3.3.2 - gettext improvements + - French translation + - makepkg support and documentation for pkgdesc localization + - pacman: display uncompressed package size by default on upgrade +3.3.1 - initial support for pkgdesc localization + - bugfix for -Qi and -Qm + - fix -Sg for multiple repos + - drop the NoUpgrade lines from the default config + - makepkg: when removing the pkg dir, remove the subpkgs' pkg + dir, too + - significant speedup while sorting dependencies with libalpm + - fixes for pacman's -r option in pacman and libalpm + - initial support for uncompressed package sizes in a sync repo +3.3.0 - minor fixes for de_DE, hu_HU and tr_TR +3.2.9 - seems that the original pacman3's release is delayed so it's + no good in waiting for it. changed the versioning scheme to + our usual x.y.z + - i18n fixes: + - in the german translation + - in makepkg + - gpg support in makepkg +2.8.99.28 - added gettext support + - added German and Hungarian translation for libalpm and pacman +2.9.99.27 - scripts: cleanup, they now require util.sh from FST + - makepkg: handle spaces in source filenames + - makepkg: spelling fixes + - libalpm: fixed a few messages' verbosity level + - ./autogen.sh --dist now allows to build a snapshot fpm +2.9.99.26 - makepkg: new option -t (to be used with -R) + - added i386, OpenBSD and OS X support + - updated mirror list + - spelling fixes + - bugfix in pacman (dbpath initialization) +2.9.99.25 - bugfix in the conflicts/provides handling code + - spelling fix in makepkg + - include the root string (ie. a slash) in file conflict error + messages + - gensync: bugfix for subpkgs +2.9.99.24 - fixed the location of the locally installed packages' + install/changelog file (so that pre/post_remove and -Qc works + perfectly again) + - allow repo names to be longer than 128 chars + - fixed pacman -v output (not a bug just it was ugly) +2.9.99.23 - bugfix for -Sy + - gensync: ignore _darcs/ directories +2.9.99.22 - new feature: options=('scriptlet') to force executing the + install scriptlets even if one builds in a chroot + - makepkg -RC now uses the chroot's pacman.conf to determine + what packages need to be removed. this is especially useful + if you use unofficial repos only in chroot + - the testsuite is replaced by pactest, see HACKING +2.9.99.21 - bugfix release +2.9.99.20 - handle --noprogress on install/upgrade, too + - disable progressbar by default if the output is redirected + - offer deleting a packages if it is corrupted + - makepkg: install subpackages with -i, too + in chroot sync /etc/pacman.d/* from the host system + use the chroot's pacman.conf when it's available + - new pacman option: --noscriptlet for disabling install + scriptlets + - new variable in makepkg: $FCC in case the package would use + gcc directly (not from $PATH) +2.9.99.19 - more verbose error messages on corrupted packages + - makepkg: added support for clearing the cache of ccache + slice warnings for LANG!=C + - gen/updatesync: bugfix for subdescs() and subarchs() + no longer ignore the Finclude function call +2.9.99.18 - makepkg now allows to inherit install scriptlets from a + scheme + - allow multiple packages to be installed at once with -U + - added SBU variable to makepkg.conf + - 3 major bugfixes from upstream +2.9.99.17 - support for having subpkgs in an other repo. this affects + gensync and updatesync, also makepkg's manpage is updated + - support for handle version comparators in makepkg + - bugfix for Finclude in makepkg + - removed exit() calls from libalpm + - bugfix for nobuild packages in sync +2.9.99.16 - fixed a possible infinite loop during -S + - remove stale lockfile when pacman is interrupted + - new directive: added suboptions() and subarchs() for + FrugalBuilds + - added 'nofakeroot' to options() + - new makepkg witch: -RCC, now -RC only cleans the chroot +2.9.99.15 - fix 'error: transaction already initialized' when using -D +2.9.99.14 - documentation: improved libalpm manpages an added a main + libalpm(3) manpage + - yet another bugfix for the install/upgrade progressbar + - remove stale lockfile after -R/-A + - fixed a segfault when removing a package that is reqired by + other packages +2.9.99.13 - Allow queries (-Q, -Si, etc) during an other pacman is + running (ie. -Syu) + - Two bugfixes in connection with provides + - Improved makepkg output for subpackages (crazy) +2.9.99.12 - fixed preparing docs, 2.9.99.11 always supposed we want to + disable that feature +2.9.99.11 - fixed progressbar when installing and upgrading packages at + the same time + - in general, modified makeworld to work properly on Frugalware + - makepkg: if build fails, save the buildlog when using -R + - sudo improvements for makepkg & makeworld + - display "checking for conflicting files..." during -S + - initial doxygen support +2.9.99.10 - fixed -Sg output - now frugalpkg works again + - fixed a double free() when installing conflicting packages + - fixed an annoying bug with progressbar, now works as it did + in the pacman 2.x times + - don't care about a to-be-replaced package's newer version +2.9.99.9 - fixed -S/-U/-A segfault. hopefully not everybody upgraded + yet... +2.9.99.8 - if you have foo installed, and bar replaces + provides foo, + then remove foo, and install bar (now works again) + - upgrade only pacman first during a -Su + - removed duplicated error messages + - more verbose error message for conflicting files when using + -S +2.9.99.7 - bugfix for -Sg + - if pacman can't create its cachedir, then use /tmp (bugfix) +2.9.99.6 - bugfix for -Rs + - pre_install/pre_upgrade scripts are working again + - added a -f option to gensync/updatesync (don't die if the fpm + is missing) + - bugfix for --ignore + - added ppc support (to configure) + - handle broken databases (just print an error message, don't + segfault) + - more verbose error messages for unsatisfied dependencies +2.9.99.5 - re-added SBU support to makepkg (which was accidently dropped + by 2.9.99.0) + - initial package splitting support + - memleak fixes + - more verbose error messages on file conflicts +2.9.99.4 - fixed running scriptlets when -r is used + - don't die on up to date databases (when you do -Sy twice) + - more verbose error messages (ie. when there is a missing + dependency) +2.9.99.3 - fixed -v option + - allow c++ usage in alpm.h + - fixed logging everything twice to pacman.log +2.9.99.2 - makepkg -R works again if you haven't had a chroot yet (was a + pacman bug) + - output fix for -Sy + - if you have installed foo, and then you do a -S bar, then now + pacman offers you to remove foo (as it should) +2.9.99.1 - fix makepkg -g + - makepkg: fixed changelog generation + - fixed --noconfirm +2.9.99.0 - this is the first release which is based on pacman-lib + (converted the initial cvs repo to darcs) 2.9.8 - Changed behaviour with original=X,current=Y,new=Z scenario - keep old in place, install new as .pacnew - Search package provides when finding matching targets with -S @@ -268,3 +268,16 @@ Single chained list. A minimalistic chained list implementation to store options from the configuration file, and targets passed to pacman on the command line. + +LIMITATIONS/BEHAVIOR CHANGES COMPARED TO PACMAN 2.9 +=================================================== + +Excepted missing features still needing to be implemented, one can +notice the following limitations: + +- If pacman is out of date, the frontend displays a warning and recommends +to give up the on-going transanction. The frontend does not allow to +upgrade pacman itself on-the-fly, and thus it should be restarted with +only "pacman" as a target. + +- ... @@ -1,8 +1,6 @@ GLOBAL ====== -- add i18n (gettext) support - - get ride of "ORE" tags. @@ -23,8 +21,31 @@ verbose mode, which usage for the library log callback, debug levels, ...) - add .lastupdate files support for "files" db downloads -- review .lastupdate implementation: is the .lastupdate file really needed? - +TRANSLATION +=========== + +po files +-------- +cs.po - mail sent +es.po - created by Matt, pending +fr.po - mail sent +nl.po - mail sent +pl_PL.po - mail sent +pt_BR.po - mail sent +we need to mail them: +pt_PT.po +ru.po +sv.po +zh_CN.po + +manpages +-------- +we need to mail them: +es +hu - we need somebody who'll do the work +pl_PL +pt_BR +zh_CN ADDITIONAL IDEAS FOR PERFORMANCE IMPROVEMENT ============================================ @@ -34,5 +55,3 @@ that basically contains the output of `ls -1 /var/lib/pacman/{repo}`. This cache file could be used in -Q and -Si/s operations to speed up package listings. -- move the cache structure to a binary balanced tree instead of a double -chained list diff --git a/TODO.autoconf b/TODO.autoconf index 9ab29652..22e1740f 100644 --- a/TODO.autoconf +++ b/TODO.autoconf @@ -12,14 +12,6 @@ global - review autoclean.sh script. Maybe there is a more simple way to do this FULL clean. -- Add i18n (gettext) support to configure.in and create the 'po' directory (half ready) -krix - -- Add doxygen support to configure.in to generate code documentation automatically - -- Add libarchive depends instead of libtar. libtar isn't developed, but libarchive is. - libarchive is a powerfuller thing than libtar and not much bigger. It supports many - archive formats, eg .tar.gz, .tar.bz2, zip, etc.. - - Many things :)) If you got idea or request, then implement it. libalpm and codechanges @@ -36,4 +28,4 @@ libalpm and codechanges Christian Hamar alias krix <krics@linuxforum.hu> -2005. oct. 13., wed, 22.38.32 CEST +2006. aug. 25., Fri, 01.13.36 CEST diff --git a/autoclean.sh b/autoclean.sh index 9964340f..cc90da68 100755 --- a/autoclean.sh +++ b/autoclean.sh @@ -1,6 +1,6 @@ #!/bin/sh -xu -make distclean +[ -f Makefile ] && make distclean rm -rf autom4te.cache rm -rf Makefile rm -rf Makefile.in @@ -23,7 +23,6 @@ rm -rf ltmain.sh rm -rf doc/Makefile rm -rf doc/Makefile.in rm -rf doc/html/* -rm -rf doc/*.8 rm -rf doc/man3/* rm -rf compile rm -rf libtool @@ -31,6 +30,10 @@ rm -rf mkinstalldirs rm -rf config.rpath rm -rf scripts/.deps/ rm -rf scripts/Makefile.in +rm -rf etc/Makefile.in +rm -rf etc/Makefile +rm -rf etc/pacman.d/Makefile.in +rm -rf etc/pacman.d/Makefile rm -rf src/pacman/po/Makefile rm -rf src/pacman/po/Makefile.in @@ -1,10 +1,50 @@ -#!/bin/sh -exu +#!/bin/sh -e + +if [ "$1" == "--gettext-only" ]; then + sh autoclean.sh + for i in lib/libalpm/po src/pacman/po + do + cd $i + mv Makevars Makevars.tmp + package=`pwd|sed 's|.*/\(.*\)/.*|\1|'` + intltool-update --pot --gettext-package=$package + for j in *.po + do + if msgmerge $j $package.pot -o $j.new; then + mv -f $j.new $j + echo -n "$i/$j: " + msgfmt -c --statistics -o $j.gmo $j + rm -f $j.gmo + else + echo "msgmerge for $j failed!" + rm -f $j.new + fi + done + mv Makevars.tmp Makevars + cd - >/dev/null + done + cd doc + po4a -k 0 po4a.cfg + cd po + for i in *po + do + if msgmerge $i $package.pot -o $i.new; then + mv -f $i.new $i + echo -n "man/$i: " + msgfmt -c --statistics -o $i.gmo $i + rm -f $i.gmo + else + echo "msgmerge for $i failed!" + rm -f $i.new + fi + done + exit 0 +fi -#intltoolize -f -c libtoolize -f -c aclocal --force autoheader -f autoconf -f automake -a -c --gnu --foreign -cp -f /usr/share/automake-1.9/mkinstalldirs ./ -cp -f /usr/share/gettext/config.rpath ./ +cp -f $(dirname $(which automake))/../share/automake-1.9/mkinstalldirs ./ +cp -f $(dirname $(which automake))/../share/gettext/config.rpath ./ diff --git a/bindings/alpm.i b/bindings/alpm.i new file mode 100644 index 00000000..dc4d680e --- /dev/null +++ b/bindings/alpm.i @@ -0,0 +1,23 @@ +#if defined(SWIGPERL) +%module "Alpm::Core" +#else +%module alpm +#endif +%include "cpointer.i" + +/* Wrap a class interface around a "long *" */ +%pointer_class(long, longp); + +/* Create casting functions */ + +%pointer_cast(char *, long *, void_to_long); +%pointer_cast(void *, char *, void_to_char); +%pointer_cast(void *, unsigned long, void_to_unsigned_long); +%pointer_cast(void *, PM_LIST *, void_to_PM_LIST); +%pointer_cast(void *, PM_PKG *, void_to_PM_PKG); +%pointer_cast(void *, PM_GRP *, void_to_PM_GRP); +%pointer_cast(void *, PM_SYNCPKG *, void_to_PM_SYNCPKG); +%pointer_cast(void *, PM_DB *, void_to_PM_DB); +%pointer_cast(void *, PM_CONFLICT *, void_to_PM_CONFLICT); + +%include "alpm.h" diff --git a/bindings/java/Makefile.in b/bindings/java/Makefile.in new file mode 100644 index 00000000..3619c0ba --- /dev/null +++ b/bindings/java/Makefile.in @@ -0,0 +1,48 @@ +top_srcdir = @top_srcdir@ +prefix = @prefix@ + +CFLAGS = $(subst -Werror,,@CFLAGS@) +CFLAGS += -fno-strict-aliasing # see the swig docs +ifeq ($(shell arch),x86_64) +CFLAGS += -fPIC +endif +LDFLAGS += -L$(top_srcdir)/lib/libalpm -lalpm + +all: libalpm_java.so alpm.jar + +libalpm_java.so: alpm_java_wrap.o + $(CC) -shared $^ -o $@ $(LDFLAGS) + +alpm_java_wrap.o: alpm_java_wrap.c + $(CC) $(CFLAGS) -c -o $@ -include alpm.h $^ + +alpm_java_wrap.c: + cp $(top_srcdir)/lib/libalpm/alpm.h ./ + cp $(top_srcdir)/bindings/alpm.i alpm_java.i + swig -java alpm_java.i + +alpm.class: alpm.java + javac *.java + +alpm.jar: alpm.class + jar -cf alpm.jar *.class + +alpm.java: alpm_java_wrap.c + +install: install-so install-jar + +install-so: libalpm_java.so + mkdir -p $(DESTDIR)$(prefix)/lib + install $^ $(DESTDIR)$(prefix)/lib + +install-jar: alpm.jar + mkdir -p $(DESTDIR)$(prefix)/share/java + install -m644 $^ $(DESTDIR)$(prefix)/share/java + +clean: + rm -f *alpm* *.java *.class + +distclean: clean + rm -f Makefile + +check: diff --git a/bindings/perl/Makefile.in b/bindings/perl/Makefile.in new file mode 100644 index 00000000..9ebc2d5d --- /dev/null +++ b/bindings/perl/Makefile.in @@ -0,0 +1,42 @@ +top_srcdir = @top_srcdir@ +prefix = @prefix@ + +CFLAGS = $(subst -Werror,,@CFLAGS@) +CFLAGS += $(shell perl -MExtUtils::Embed -e ccopts) +CFLAGS += -I$(top_srcdir)/lib/libalpm +ifeq ($(shell arch),x86_64) +CFLAGS += -fPIC +endif +LDFLAGS += -L$(top_srcdir)/lib/libalpm -lalpm +LIBDIR += $(shell perl -V|grep site|sed 's/^ *//;s|/usr|$(prefix)|;q') + +all: Core.so + +Core.so: alpm_wrap.o + $(CC) -shared -Wl,-soname,$@ -o $@ $^ $(LDFLAGS) + +alpm_wrap.o: alpm_wrap.c + $(CC) $(CFLAGS) -c -o $@ -include alpm.h $^ + +alpm_wrap.c: + cp $(top_srcdir)/lib/libalpm/alpm.h ./ + cp $(top_srcdir)/bindings/alpm.i ./ + swig -perl alpm.i + +install: install-so install-pm + +install-so: Core.so + mkdir -p $(DESTDIR)$(LIBDIR)/auto/Alpm/Core + install $^ $(DESTDIR)$(LIBDIR)/auto/Alpm/Core/ + +install-pm: Core.pm + mkdir -p $(DESTDIR)$(LIBDIR)/Alpm/ + install -m644 $^ $(DESTDIR)$(LIBDIR)/Alpm/ + +clean: + rm -f Core* alpm{.h,_wrap*} + +distclean: clean + rm -f Makefile + +check: diff --git a/bindings/perl/alpm.i b/bindings/perl/alpm.i new file mode 100644 index 00000000..dc4d680e --- /dev/null +++ b/bindings/perl/alpm.i @@ -0,0 +1,23 @@ +#if defined(SWIGPERL) +%module "Alpm::Core" +#else +%module alpm +#endif +%include "cpointer.i" + +/* Wrap a class interface around a "long *" */ +%pointer_class(long, longp); + +/* Create casting functions */ + +%pointer_cast(char *, long *, void_to_long); +%pointer_cast(void *, char *, void_to_char); +%pointer_cast(void *, unsigned long, void_to_unsigned_long); +%pointer_cast(void *, PM_LIST *, void_to_PM_LIST); +%pointer_cast(void *, PM_PKG *, void_to_PM_PKG); +%pointer_cast(void *, PM_GRP *, void_to_PM_GRP); +%pointer_cast(void *, PM_SYNCPKG *, void_to_PM_SYNCPKG); +%pointer_cast(void *, PM_DB *, void_to_PM_DB); +%pointer_cast(void *, PM_CONFLICT *, void_to_PM_CONFLICT); + +%include "alpm.h" diff --git a/bindings/python/Makefile.in b/bindings/python/Makefile.in new file mode 100644 index 00000000..fe2e84a6 --- /dev/null +++ b/bindings/python/Makefile.in @@ -0,0 +1,48 @@ +top_srcdir = @top_srcdir@ +prefix = @prefix@ + +CFLAGS = $(subst -Werror,,@CFLAGS@) +CFLAGS += $(shell python -c 'from distutils import sysconfig; print "-I" + sysconfig.get_python_inc()') +CFLAGS += -I$(top_srcdir)/lib/libalpm +ifeq ($(shell arch),x86_64) +CFLAGS += -fPIC +endif +LDFLAGS += -L$(top_srcdir)/lib/libalpm -lalpm +LIBDIR += $(shell python -c 'from distutils import sysconfig; print sysconfig.get_python_lib()'|sed 's|/usr|$(prefix)|') + +all: _alpm.so alpm.pyc + +_alpm.so: alpm_wrap.o + $(CC) -shared -Wl,-soname,$@ -o $@ $^ $(LDFLAGS) + +alpm_wrap.o: alpm_wrap.c + $(CC) $(CFLAGS) -c -o $@ -include alpm.h $^ + +alpm_wrap.c: + cp $(top_srcdir)/lib/libalpm/alpm.h ./ + cp $(top_srcdir)/bindings/alpm.i ./ + swig -python alpm.i + # strip the unnecessary prefixes + sed -i 's/^alpm_//;s/^PM_//' alpm.py + +alpm.pyc: alpm.py + python -c "import compileall; compileall.compile_dir('.',1,'.')" + +alpm.py: alpm_wrap.c + +install: install-so install-py + +install-so: _alpm.so + mkdir -p $(DESTDIR)$(LIBDIR) + install $^ $(DESTDIR)$(LIBDIR) + +install-py: alpm.py alpm.pyc + install -m644 $^ $(DESTDIR)$(LIBDIR) + +clean: + rm -f _alpm* alpm{.h,.py*,_wrap*} + +distclean: clean + rm -f Makefile + +check: diff --git a/bindings/python/alpm.i b/bindings/python/alpm.i new file mode 100644 index 00000000..dc4d680e --- /dev/null +++ b/bindings/python/alpm.i @@ -0,0 +1,23 @@ +#if defined(SWIGPERL) +%module "Alpm::Core" +#else +%module alpm +#endif +%include "cpointer.i" + +/* Wrap a class interface around a "long *" */ +%pointer_class(long, longp); + +/* Create casting functions */ + +%pointer_cast(char *, long *, void_to_long); +%pointer_cast(void *, char *, void_to_char); +%pointer_cast(void *, unsigned long, void_to_unsigned_long); +%pointer_cast(void *, PM_LIST *, void_to_PM_LIST); +%pointer_cast(void *, PM_PKG *, void_to_PM_PKG); +%pointer_cast(void *, PM_GRP *, void_to_PM_GRP); +%pointer_cast(void *, PM_SYNCPKG *, void_to_PM_SYNCPKG); +%pointer_cast(void *, PM_DB *, void_to_PM_DB); +%pointer_cast(void *, PM_CONFLICT *, void_to_PM_CONFLICT); + +%include "alpm.h" diff --git a/configure.ac b/configure.ac index f2e49f69..0976ad0a 100644 --- a/configure.ac +++ b/configure.ac @@ -1,7 +1,8 @@ ENV_CFLAGS=$CFLAGS AC_PREREQ(2.59) -AC_INIT([Pacman package manager], 2.9.9, [pacman-dev@archlinux.org], pacman) +dnl Update it right before the release since $pkgver_foo are all _post_ release snapshots +AC_INIT([Pacman package manager], 3.4.0, [pacman-dev@archlinux.org], pacman) AC_LANG(C) AM_CONFIG_HEADER(config.h) AC_CANONICAL_SYSTEM @@ -20,6 +21,7 @@ dnl Define here the libalpm version number PM_MAJOR_VERSION=0 PM_MINOR_VERSION=1 PM_MICRO_VERSION=0 +PM_MICRO_VERSION_SUFFIX=.0 PM_VERSION=$PM_MAJOR_VERSION.$PM_MINOR_VERSION.$PM_MICRO_VERSION$PM_MICRO_VERSION_SUFFIX dnl Needed for libtool to create proper shared lib version PM_VERSION_INFO=`expr $PM_MAJOR_VERSION + $PM_MINOR_VERSION`:$PM_MICRO_VERSION:$PM_MINOR_VERSION @@ -30,40 +32,125 @@ AC_SUBST(PM_MICRO_VERSION) AC_SUBST(PM_VERSION) AC_SUBST(PM_VERSION_INFO) +dnl Define the default config file path for pacman.conf +PACCONF=/etc/pacman.conf +AC_DEFINE_UNQUOTED([PACCONF], ["$PACCONF"], [pacman.conf location]) + dnl Put out version numbers to config.h AC_DEFINE_UNQUOTED([PM_VERSION], ["$PM_VERSION"], [libalpm version number]) +dnl Configuration files +AC_CONFIG_FILES([etc/makepkg.conf] [etc/pacman.conf]) + AC_PROG_CC AC_HEADER_STDC AC_PROG_INSTALL AC_CHECK_FUNCS([strverscmp]) AM_PROG_LIBTOOL +dnl Humor lowers blood pressure +AC_MSG_CHECKING(your blood pressure) +AC_MSG_RESULT([a bit high, but we can proceed]) + dnl Help line for man2html AC_ARG_ENABLE(man2html, AC_HELP_STRING([--enable-man2html], [Build html docs via man2html]), [wantman2html=$enableval], [wantman2html=no]) -dnl Help line for more-warnings -AC_ARG_ENABLE(more-warnings, - AC_HELP_STRING([--disable-more-warnings], [Minimum compiler warnings]), - [set_more_warnings="${enableval}"], [warnings_default=yes]) +dnl Help line for po4a +AC_ARG_ENABLE(po4a, + AC_HELP_STRING([--disable-po4a], [Build localized manpages via po4a]), + [wantpo4a=$enableval], [wantpo4a=yes]) + +dnl Help line for doxygen +AC_ARG_ENABLE(doxygen, + AC_HELP_STRING([--disable-doxygen], [Build API docs via Doxygen]), + [wantdoxygen=$enableval], [wantdoxygen=yes]) + +dnl Help line for python +AC_ARG_ENABLE(python, + AC_HELP_STRING([--disable-python], [Build Python bindings]), + [wantpython=$enableval], [wantpython=yes]) + +dnl Help line for perl +AC_ARG_ENABLE(perl, + AC_HELP_STRING([--disable-perl], [Build Perl bindings]), + [wantperl=$enableval], [wantperl=yes]) + +dnl Help line for java +AC_ARG_ENABLE(java, + AC_HELP_STRING([--disable-java], [Build Java bindings]), + [wantjava=$enableval], [wantjava=yes]) + +dnl Check for architecture +case "$host" in + i686-*) AC_DEFINE_UNQUOTED([CARCH], ["i686"], [Architecture]) + AC_DEFINE_UNQUOTED([CARCHFLAGS], ["i686"], [Architecture]) + AC_DEFINE_UNQUOTED([MARCHFLAG], ["march"], [Architecture]) + CARCH="i686" + CARCHFLAGS="i686" + MARCHFLAG="march" + CHOST="${host}" + ;; + x86_64-*) AC_DEFINE_UNQUOTED([CARCH], ["x86_64"], [Architecture]) + AC_DEFINE_UNQUOTED([CARCHFLAGS], ["k8"], [Architecture]) + AC_DEFINE_UNQUOTED([MARCHFLAG], ["march"], [Architecture]) + CARCH="x86_64" + CARCHFLAGS="k8" + MARCHFLAG="march" + CHOST="${host}" + ;; + ia64-*) AC_DEFINE_UNQUOTED([CARCH], ["ia64"], [Architecture]) + AC_DEFINE_UNQUOTED([CARCHFLAGS], ["ia64"], [Architecture]) + AC_DEFINE_UNQUOTED([MARCHFLAG], ["march"], [Architecture]) + CARCH="ia64" + CARCHFLAGS="ia64" + MARCHFLAG="march" + CHOST="${host}" + ;; + sparc-*) AC_DEFINE_UNQUOTED([CARCH], ["sparc"], [Architecture]) + AC_DEFINE_UNQUOTED([CARCHFLAGS], ["v9"], [Architecture]) + AC_DEFINE_UNQUOTED([MARCHFLAG], ["mcpu"], [Architecture]) + CARCH="sparc" + CARCHFLAGS="v9" + MARCHFLAG="mcpu" + CHOST="${host}" + ;; + ppc-* | powerpc-*) + AC_DEFINE_UNQUOTED([CARCH], ["ppc"], [Architecture]) + AC_DEFINE_UNQUOTED([CARCHFLAGS], ["750"], [Architecture]) + AC_DEFINE_UNQUOTED([MARCHFLAG], ["mcpu"], [Architecture]) + CARCH="ppc" + CARCHFLAGS="750" + MARCHFLAG="mcpu" + CHOST="${host}" + ;; + i386-*) AC_DEFINE_UNQUOTED([CARCH], ["i386"], [Architecture]) + AC_DEFINE_UNQUOTED([CARCHFLAGS], ["i386"], [Architecture]) + AC_DEFINE_UNQUOTED([MARCHFLAG], ["march"], [Architecture]) + CARCH="i386" + CARCHFLAGS="i386" + MARCHFLAG="march" + CHOST="${host}" + ;; + *) + AC_MSG_ERROR([Your architecture is not supported]) + ;; +esac + +AC_SUBST(CARCH) +AC_SUBST(CARCHFLAGS) +AC_SUBST(MARCHFLAG) +AC_SUBST(CHOST) dnl Help line for debug -AC_ARG_ENABLE(debug, - AC_HELP_STRING([--disable-debug], [Disable debugging support]), - [debug=$enableval], [debug=yes]) +AC_ARG_ENABLE(debug, [ --enable-debug Enable debugging support], debug=yes) dnl Help line for fakeroot AC_ARG_ENABLE(fakeroot, - AC_HELP_STRING([--disable-fakeoot], [Disable fakeroot proof support]), + AC_HELP_STRING([--disable-fakeroot], [Disable fakeroot proof support]), [fakeroot=$enableval], [fakeroot=yes]) -dnl Help line for doxygen -AC_ARG_ENABLE(doxygen, - AC_HELP_STRING([--disable-doxygen], [Build API docs via Doxygen]), - [wantdoxygen=$enableval], [wantdoxygen=yes]) - dnl Check for man2html binary AC_MSG_CHECKING(for support man2html) if test x$wantman2html = xyes ; then @@ -82,6 +169,69 @@ else AC_MSG_RESULT(not requested by configure) fi +dnl Check for po4a binary +AC_MSG_CHECKING(for support po4a) +if test x$wantpo4a = xyes ; then + AC_CHECK_PROGS([PO4A], [po4a] [po4a binary]) + AM_CONDITIONAL(HAS_PO4A, test $PO4A) + if test $PO4A ; then + AC_DEFINE([HAS_PO4A], [TRUE], [Enabled PO4A (localization support for manpages)]) + AC_MSG_RESULT(yes) + POSTATUS="yes, path: `which $PO4A`" + else + AC_DEFINE([HAS_PO4A], [FALSE], [Disabled PO4A (localization support for manpages)]) + AC_MSG_RESULT(no, po4a binary missing) + POSTATUS="no, missing po4a binary" + fi +else + AM_CONDITIONAL(HAS_PO4A, test $PO4A) + AC_DEFINE([HAS_PO4A], [FALSE], [Not specified at configure line]) + AC_MSG_RESULT(not requested by configure) + POSTATUS="no, disabled by configure" +fi + +dnl Check for po4a binary +AC_MSG_CHECKING(for support po4a) +if test x$wantpo4a = xyes ; then + AC_CHECK_PROGS([PO4A], [po4a] [po4a binary]) + AM_CONDITIONAL(HAS_PO4A, test $PO4A) + if test $PO4A ; then + AC_DEFINE([HAS_PO4A], [TRUE], [Enabled PO4A (localization support for manpages)]) + AC_MSG_RESULT(yes) + POSTATUS="yes, path: `which $PO4A`" + else + AC_DEFINE([HAS_PO4A], [FALSE], [Disabled PO4A (localization support for manpages)]) + AC_MSG_RESULT(no, po4a binary missing) + POSTATUS="no, missing po4a binary" + fi +else + AM_CONDITIONAL(HAS_PO4A, test $PO4A) + AC_DEFINE([HAS_PO4A], [FALSE], [Not specified at configure line]) + AC_MSG_RESULT(not requested by configure) + POSTATUS="no, disabled by configure" +fi + +dnl Check for po4a binary +AC_MSG_CHECKING(for support po4a) +if test x$wantpo4a = xyes ; then + AC_CHECK_PROGS([PO4A], [po4a] [po4a binary]) + AM_CONDITIONAL(HAS_PO4A, test $PO4A) + if test $PO4A ; then + AC_DEFINE([HAS_PO4A], [TRUE], [Enabled PO4A (localization support for manpages)]) + AC_MSG_RESULT(yes) + POSTATUS="yes, path: `which $PO4A`" + else + AC_DEFINE([HAS_PO4A], [FALSE], [Disabled PO4A (localization support for manpages)]) + AC_MSG_RESULT(no, po4a binary missing) + POSTATUS="no, missing po4a binary" + fi +else + AM_CONDITIONAL(HAS_PO4A, test $PO4A) + AC_DEFINE([HAS_PO4A], [FALSE], [Not specified at configure line]) + AC_MSG_RESULT(not requested by configure) + POSTATUS="no, disabled by configure" +fi + dnl Check for doxygen support AC_MSG_CHECKING(for support Doxygen) if test x$wantdoxygen = xyes ; then @@ -100,65 +250,70 @@ else AM_CONDITIONAL(HAS_DOXYGEN, test $DOXYGEN) AC_DEFINE([HAS_DOXYGEN], [FALSE], [Not specified at configure line]) AC_MSG_RESULT(not requested by configure) - DOXYSTATUS="disabled by configure" -fi - -dnl Enable or disable Warning FLAGS during compile -AC_MSG_CHECKING(for more compiler warnings) -if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then - AC_MSG_RESULT(yes) - CFLAGS="-Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes \ - -Wnested-externs -Wsign-compare" - for option in -Wno-sign-compare; do - SAVE_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $option" - AC_MSG_CHECKING([whether gcc understands $option]) - AC_TRY_COMPILE([], [], - has_option=yes, - has_option=no,) - if test $has_option = no; then - CFLAGS="$SAVE_CFLAGS" - fi - AC_MSG_RESULT($has_option) - unset has_option - unset SAVE_CFLAGS - done - unset option -else - AC_MSG_RESULT(no) - unset CFLAGS + DOXYSTATUS="no, disabled by configure" fi -dnl Enable or disable debug code (-g) -AC_MSG_CHECKING(for debug mode request) -if test x$debug = xyes ; then - AC_DEFINE([PACMAN_DEBUG], [TRUE], [Enable debugging support]) - AM_CONDITIONAL(PACMAN_DEBUG, test x$debug = xyes) - CFLAGS="$CFLAGS -g" - AC_MSG_RESULT(yes) -else - AC_DEFINE([PACMAN_DEBUG], [FALSE], [Disable debugging support]) - if test -z "$ENV_CFLAGS"; then - ENV_CFLAGS="-O2" +dnl Check for python support +AC_MSG_CHECKING(if Python bindings should be generated) +if test x$wantpython = xyes ; then + AC_CHECK_PROGS([SWIG], [swig] [swig binary]) + AM_CONDITIONAL(HAS_PYTHON, test $SWIG) + if test $SWIG ; then + AC_DEFINE([HAS_PYTHON], [TRUE], [Enabled Python Support]) + AC_MSG_RESULT(yes) + PYTHONSTATUS="yes, path: `which $SWIG`" + else + AC_DEFINE([HAS_PYTHON], [FALSE], [Disabled Python support]) + AC_MSG_RESULT(no, swig missing) + PYTHONSTATUS="swig binary not found" fi - AC_MSG_RESULT(no) +else + AM_CONDITIONAL(HAS_PYTHON, test $PYTHON) + AC_DEFINE([HAS_PYTHON], [FALSE], [Not specified at configure line]) + AC_MSG_RESULT(not requested by configure) + PYTHONSTATUS="no, disabled by configure" fi -dnl Enable or disable fakeroot code -AC_MSG_CHECKING(for fakeroot proof support) -if test x$fakeroot = xyes ; then +dnl Check for perl support +AC_MSG_CHECKING(if Perl bindings should be generated) +if test x$wantperl = xyes ; then + AC_CHECK_PROGS([SWIG], [swig] [swig binary]) + AM_CONDITIONAL(HAS_PERL, test $SWIG) + if test $SWIG ; then + AC_DEFINE([HAS_PERL], [TRUE], [Enabled Perl Support]) AC_MSG_RESULT(yes) + PERLSTATUS="yes, path: `which $SWIG`" + else + AC_DEFINE([HAS_PERL], [FALSE], [Disabled Perl support]) + AC_MSG_RESULT(no, swig missing) + PERLSTATUS="swig binary not found" + fi else - CFLAGS="$CFLAGS -DFAKEROOT" - AC_MSG_RESULT(no) + AM_CONDITIONAL(HAS_PERL, test $PERL) + AC_DEFINE([HAS_PERL], [FALSE], [Not specified at configure line]) + AC_MSG_RESULT(not requested by configure) + PERLSTATUS="no, disabled by configure" fi -dnl Check for zlib -AC_CHECK_LIB([z], [gzsetparams], [AC_CHECK_HEADER([zlib.h], [LIBZ='-lz'])]) -if test -n "$LIBZ"; then - LDFLAGS="$LDFLAGS $LIBZ" +dnl Check for java support +AC_MSG_CHECKING(if Java bindings should be generated) +if test x$wantjava = xyes ; then + AC_CHECK_PROGS([JAVAC], [javac] [java compiler]) + AM_CONDITIONAL(HAS_JAVA, test $JAVAC) + if test $JAVAC ; then + AC_DEFINE([HAS_JAVA], [TRUE], [Enabled Java Support]) + AC_MSG_RESULT(yes) + JAVASTATUS="yes, path: `which $JAVAC`" + else + AC_DEFINE([HAS_JAVA], [FALSE], [Disabled Java support]) + AC_MSG_RESULT(no, javac missing) + JAVASTATUS="java compiler not found" + fi else - AC_MSG_ERROR("missing zlib headers/libraries"); + AM_CONDITIONAL(HAS_JAVA, test $JAVAC) + AC_DEFINE([HAS_JAVA], [FALSE], [Not specified at configure line]) + AC_MSG_RESULT(not requested by configure) + JAVASTATUS="no, disabled by configure" fi dnl Check for bzip2 @@ -166,7 +321,15 @@ AC_CHECK_LIB([bz2], [BZ2_bzCompress], [AC_CHECK_HEADER([bzlib.h], [LIBBZ2='-lbz2 if test -n "$LIBBZ2"; then LDFLAGS="$LDFLAGS $LIBBZ2" else - AC_MSG_ERROR("missing bzip2 headers/libraries"); + AC_MSG_ERROR("bzip2 library and its include files are needed to build pacman!"); +fi + +dnl Check for math +AC_CHECK_LIB([m], [log10], [AC_CHECK_HEADER([math.h], [LIBM='-lm'])]) +if test -n "$LIBM"; then + LDFLAGS="$LDFLAGS $LIBM" +else + AC_MSG_ERROR("math library not found!"); fi dnl Check for libarchive @@ -175,10 +338,31 @@ if test -n "$LIBARCHIVE"; then CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS $LIBARCHIVE" else - AC_MSG_ERROR("missing libarchive headers/libraries"); + AC_MSG_ERROR("libarchive is needed to compile pacman!"); +fi + +dnl Enable or disable debug code +AC_MSG_CHECKING(for debug mode request) +if test x$debug = xyes ; then + AM_CONDITIONAL(PACMAN_DEBUG, test x$debug = xyes) + CFLAGS="-g -Wall -Werror -std=c99 -DPACMAN_DEBUG" + AC_MSG_RESULT(yes) +else + AM_CONDITIONAL(PACMAN_DEBUG, test x$debug = xno) + CFLAGS="$CFLAGS -std=c99" + AC_MSG_RESULT(no) +fi + +dnl Enable or disable fakeroot code +AC_MSG_CHECKING(for fakeroot proof support) +if test x$fakeroot = xyes ; then + AC_MSG_RESULT(yes) +else + CFLAGS="$CFLAGS -DFAKEROOT" + AC_MSG_RESULT(no) fi -CFLAGS="$CFLAGS $ENV_CFLAGS" +CFLAGS="$CFLAGS" dnl ========================================================================== @@ -191,22 +375,34 @@ src/pacman/po/Makefile.in src/util/Makefile scripts/Makefile doc/Makefile -doc/makepkg.8 -doc/pacman.8 -doc/libalpm.3 +etc/Makefile +etc/pacman.d/Makefile +bindings/perl/Makefile +bindings/python/Makefile +bindings/java/Makefile Makefile ]) echo " pacman-$VERSION: - - prefix: ${prefix} - source code location: ${srcdir} - compiler: ${CC} - compiler flags: ${CFLAGS} - libalpm version: ${PM_VERSION} - - debug support: ${debug} + + prefix : ${prefix} + source code location : ${srcdir} + compiler : ${CC} + compiler flags : ${CFLAGS} + + libalpm version : ${PM_VERSION} + pacman.conf location : ${PACCONF} + + Architecture CARCH : ${CARCH} + Architecture used cflag : ${CARCHFLAGS} + Architecture CHOST : ${CHOST} Doxygen support : ${DOXYSTATUS} + Manpage localization : ${POSTATUS} + Perl bindings : ${PERLSTATUS} + Python bindings : ${PYTHONSTATUS} + Java bindings : ${JAVASTATUS} + + debug support : ${debug} " diff --git a/doc/hu/Makefile.am b/doc/hu/Makefile.am new file mode 100644 index 00000000..27e74e45 --- /dev/null +++ b/doc/hu/Makefile.am @@ -0,0 +1,8 @@ +AUTOMAKE_OPTIONS=foreign + +mandir = @mandir@/hu +man_MANS = pacman.8 makepkg.8 PKGBUILD.8 + +$(man_MANS): + +EXTRA_DIST = pacman.8 makepkg.8 PKGBUILD.8 diff --git a/doc/po/hu.po b/doc/po/hu.po new file mode 100644 index 00000000..ad6a2e64 --- /dev/null +++ b/doc/po/hu.po @@ -0,0 +1,2381 @@ +# Hungarian translation of pacman. +# Copyright (C) 2006 Free Software Foundation, Inc. +# +msgid "" +msgstr "" +"Project-Id-Version: pacman\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2006-09-03 13:36+0200\n" +"PO-Revision-Date: 2006-08-26 14:53+0200\n" +"Last-Translator: Hungarian <frugalware-devel@frugalware.org>\n" +"Language-Team: Hungarian <frugalware-devel@frugalware.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-2\n" +"Content-Transfer-Encoding: 8bit\n" + +# type: TH +#: pacman.8:1 +#, no-wrap +msgid "pacman" +msgstr "" + +# type: TH +#: pacman.8:1 +#, no-wrap +msgid "January 21, 2006" +msgstr "2006. január 21." + +# type: TH +#: pacman.8:1 +#, no-wrap +msgid "Frugalware User Manual" +msgstr "Frugalware Felhasználói Kézikönyv" + +# type: SH +#: pacman.8:2 makepkg.8:2 FrugalBuild.8:2 +#, no-wrap +msgid "NAME" +msgstr "NÉV" + +# type: Plain text +#: pacman.8:4 +msgid "pacman - package manager utility" +msgstr "pacman - csomagkezelő segédeszköz" + +# type: SH +#: pacman.8:4 makepkg.8:4 +#, no-wrap +msgid "SYNOPSIS" +msgstr "ÁTTEKINTÉS" + +# type: Plain text +#: pacman.8:6 +msgid "B<pacman E<lt>operationE<gt> [options] E<lt>packageE<gt> [package] ...>" +msgstr "B<pacman E<lt>műveletE<gt> [opciók] E<lt>csomagE<gt> [csomag] ...>" + +# type: SH +#: pacman.8:6 makepkg.8:6 FrugalBuild.8:4 +#, no-wrap +msgid "DESCRIPTION" +msgstr "LEÍRÁS" + +# type: Plain text +#: pacman.8:11 +msgid "" +"B<pacman> is a I<package management> utility that tracks installed packages " +"on a linux system. It has simple dependency support and the ability to " +"connect to a remote ftp server and automatically upgrade packages on the " +"local system. pacman package are I<bzipped tar> format." +msgstr "" + +# type: SH +#: pacman.8:11 +#, no-wrap +msgid "OPERATIONS" +msgstr "MŰVELETEK" + +# type: TP +#: pacman.8:12 +#, no-wrap +msgid "B<-A, --add>" +msgstr "B<-A, --add>" + +# type: Plain text +#: pacman.8:16 +msgid "" +"Add a package to the system. Package will be uncompressed into the " +"installation root and the database will be updated." +msgstr "" + +# type: TP +#: pacman.8:16 +#, no-wrap +msgid "B<-F, --freshen>" +msgstr "B<-F, --freshen>" + +# type: Plain text +#: pacman.8:20 +msgid "" +"This is like --upgrade except that, unlike --upgrade, this will only upgrade " +"packages that are already installed on your system." +msgstr "" + +# type: TP +#: pacman.8:20 +#, no-wrap +msgid "B<-Q, --query>" +msgstr "B<-Q, --query>" + +# type: Plain text +#: pacman.8:28 +msgid "" +"Query the package database. This operation allows you to view installed " +"packages and their files, as well as meta-info about individual packages " +"(dependencies, conflicts, install date, build date, size). This can be run " +"against the local package database or can be used on individual .fpm " +"packages. See B<QUERY OPTIONS> below." +msgstr "" + +# type: TP +#: pacman.8:28 +#, no-wrap +msgid "B<-c, --changelog>" +msgstr "B<-c, --changelog>" + +# type: Plain text +#: pacman.8:31 +msgid "View the changelog of a package." +msgstr "" + +# type: TP +#: pacman.8:31 +#, no-wrap +msgid "B<-R, --remove>" +msgstr "B<-R, --remove>" + +# type: Plain text +#: pacman.8:38 +msgid "" +"Remove a package from the system. Files belonging to the specified package " +"will be deleted, and the database will be updated. Most configuration files " +"will be saved with a I<.pacsave> extension unless the B<--nosave> option was " +"used." +msgstr "" + +# type: TP +#: pacman.8:38 +#, no-wrap +msgid "B<-S, --sync>" +msgstr "B<-S, --sync>" + +# type: Plain text +#: pacman.8:45 +msgid "" +"Synchronize packages. With this function you can install packages directly " +"from the ftp servers, complete with all dependencies required to run the " +"packages. For example, B<pacman -S qt> will download qt and all the " +"packages it depends on and install them. You could also use B<pacman -Su> to " +"upgrade all packages that are out of date (see below)." +msgstr "" + +# type: TP +#: pacman.8:45 +#, no-wrap +msgid "B<-U, --upgrade>" +msgstr "B<-U, --upgrade>" + +# type: Plain text +#: pacman.8:50 +msgid "" +"Upgrade a package. This is essentially a \"remove-then-add\" process. See " +"B<HANDLING CONFIG FILES> for an explanation on how pacman takes care of " +"config files." +msgstr "" + +# type: TP +#: pacman.8:50 +#, no-wrap +msgid "B<-V, --version>" +msgstr "B<-V, --version>" + +# type: Plain text +#: pacman.8:53 +msgid "Display version and exit." +msgstr "" + +# type: TP +#: pacman.8:53 makepkg.8:66 +#, no-wrap +msgid "B<-h, --help>" +msgstr "" + +# type: Plain text +#: pacman.8:57 +msgid "" +"Display syntax for the given operation. If no operation was supplied then " +"the general syntax is shown." +msgstr "" + +# type: SH +#: pacman.8:57 makepkg.8:19 +#, no-wrap +msgid "OPTIONS" +msgstr "OPCIÓK" + +# type: TP +#: pacman.8:58 makepkg.8:38 +#, no-wrap +msgid "B<-d, --nodeps>" +msgstr "" + +# type: Plain text +#: pacman.8:64 +msgid "" +"Skips all dependency checks. Normally, pacman will always check a package's " +"dependency fields to ensure that all dependencies are installed and there " +"are no package conflicts in the system. This switch disables these checks." +msgstr "" + +# type: TP +#: pacman.8:64 makepkg.8:51 +#, no-wrap +msgid "B<-f, --force>" +msgstr "" + +# type: Plain text +#: pacman.8:70 +msgid "" +"Bypass file conflict checks, overwriting conflicting files. If the package " +"that is about to be installed contains files that are already installed, " +"this option will cause all those files to be overwritten. This option " +"should be used with care, ideally not at all." +msgstr "" + +# type: TP +#: pacman.8:70 +#, no-wrap +msgid "B<-r, --root E<lt>pathE<gt>>" +msgstr "B<-r, --root E<lt>útvonalE<gt>>" + +# type: Plain text +#: pacman.8:79 +msgid "" +"Specify alternative installation root (default is \"/\"). This should I<not> " +"be used as a way to install software into e.g. /usr/local instead of /usr. " +"Instead this should be used if you want to install a package on a temporary " +"mounted partition, which is \"owned\" by another system. By using this " +"option you not only specify where the software should be installed, but you " +"also specify which package database to use." +msgstr "" + +# type: TP +#: pacman.8:79 +#, no-wrap +msgid "B<-v, --verbose>" +msgstr "B<-v, --verbose>" + +# type: Plain text +#: pacman.8:82 +msgid "Output more status and error messages." +msgstr "" + +# type: TP +#: pacman.8:82 +#, no-wrap +msgid "B<--config E<lt>pathE<gt>>" +msgstr "B<--config E<lt>útvonalE<gt>>" + +# type: Plain text +#: pacman.8:85 +msgid "Specify an alternate configuration file." +msgstr "" + +# type: TP +#: pacman.8:85 makepkg.8:131 +#, no-wrap +msgid "B<--noconfirm>" +msgstr "" + +# type: Plain text +#: pacman.8:89 +msgid "" +"Bypass any and all \"Are you sure?\" messages. It's not a good idea to do " +"this unless you want to run pacman from a script." +msgstr "" + +# type: TP +#: pacman.8:89 +#, no-wrap +msgid "B<--ask E<lt>numberE<gt>>" +msgstr "B<--ask E<lt>számE<gt>>" + +# type: Plain text +#: pacman.8:94 +msgid "" +"Finetune the --noconfirm switch by not answering \"yes\" to all libalpm " +"questions, but you are able to specify yes/no for all type of libalpm " +"questions. The types are the followings:" +msgstr "" + +# type: Plain text +#: pacman.8:101 +#, no-wrap +msgid "" +"The given package is in IgnorePkg. (1)\n" +"Replace package foo with bar? (2)\n" +"foo conflicts with bar. Remove bar? (4)\n" +"Do you want to delete the corrupted package? (8)\n" +"Local version is newer. (16)\n" +"Local version is up to date. (32)\n" +msgstr "" + +# type: Plain text +#: pacman.8:104 +msgid "" +"Select for what types do you want to answer yes, sum up the values and use " +"the result as a parameter to this option." +msgstr "" + +# type: TP +#: pacman.8:104 makepkg.8:136 +#, no-wrap +msgid "B<--noprogressbar>" +msgstr "" + +# type: Plain text +#: pacman.8:108 +msgid "" +"Do not show a progress bar when downloading files. This can be useful for " +"scripts that call pacman and capture the output." +msgstr "" + +# type: SH +#: pacman.8:108 +#, no-wrap +msgid "SYNC OPTIONS" +msgstr "" + +# type: TP +#: pacman.8:109 makepkg.8:30 +#, no-wrap +msgid "B<-c, --clean>" +msgstr "" + +# type: Plain text +#: pacman.8:116 +msgid "" +"Remove old packages from the cache. When pacman downloads packages, it " +"saves them in I</var/cache/pacman/pkg>. If you need to free up diskspace, " +"you can remove these packages by using the --clean option. Using one --" +"clean (or -c) switch will only remove I<old> packages. Use it twice to " +"remove I<all> packages from the cache." +msgstr "" + +# type: TP +#: pacman.8:116 +#, no-wrap +msgid "B<-e, --dependsonly>" +msgstr "B<-e, --dependsonly>" + +# type: Plain text +#: pacman.8:121 +msgid "" +"Don't install the packages itself, only their dependencies. This can be " +"handy if you want to install the packages themselves with different options " +"or from source." +msgstr "" + +# type: TP +#: pacman.8:121 pacman.8:191 +#, no-wrap +msgid "B<-g, --groups>" +msgstr "B<-g, --groups>" + +# type: Plain text +#: pacman.8:125 +msgid "" +"Display all the members for each package group specified. If no group names " +"are provided, all groups will be listed." +msgstr "" + +# type: TP +#: pacman.8:125 pacman.8:195 +#, no-wrap +msgid "B<-i, --info>" +msgstr "B<-i, --info>" + +# type: Plain text +#: pacman.8:130 +msgid "" +"Display dependency information for a given package. This will search " +"through all repositories for a matching package and display the " +"dependencies, conflicts, etc." +msgstr "" + +# type: TP +#: pacman.8:130 pacman.8:199 +#, no-wrap +msgid "B<-l, --list>" +msgstr "B<-l, --list>" + +# type: Plain text +#: pacman.8:134 +msgid "" +"List all files in the specified repositories. Multiple repositories can be " +"specified on the command line." +msgstr "" + +# type: TP +#: pacman.8:134 +#, no-wrap +msgid "B<-p, --print-uris>" +msgstr "B<-p, --print-uris>" + +# type: Plain text +#: pacman.8:139 +msgid "" +"Print out URIs for each package that will be installed, including any " +"dependencies that have yet to be installed. These can be piped to a file " +"and downloaded at a later time, using a program like wget." +msgstr "" + +# type: TP +#: pacman.8:139 pacman.8:215 +#, no-wrap +msgid "B<-s, --search E<lt>regexpE<gt>>" +msgstr "" + +# type: Plain text +#: pacman.8:143 +msgid "" +"This will search each package in the package list for names or descriptions " +"that contains E<lt>regexpE<gt>." +msgstr "" + +# type: TP +#: pacman.8:143 +#, no-wrap +msgid "B<-u, --sysupgrade>" +msgstr "B<-u, --sysupgrade>" + +# type: Plain text +#: pacman.8:151 +msgid "" +"Upgrades all packages that are out of date. pacman will examine every " +"package installed on the system, and if a newer package exists on the server " +"it will upgrade. pacman will present a report of all packages it wants to " +"upgrade and will not proceed without user confirmation. Dependencies are " +"automatically resolved at this level and will be installed/upgraded if " +"necessary." +msgstr "" + +# type: TP +#: pacman.8:151 +#, no-wrap +msgid "B<-w, --downloadonly>" +msgstr "B<-w, --downloadonly>" + +# type: Plain text +#: pacman.8:154 +msgid "" +"Retrieve all packages from the server, but do not install/upgrade anything." +msgstr "" + +# type: TP +#: pacman.8:154 +#, no-wrap +msgid "B<-y, --refresh>" +msgstr "B<-y, --refresh>" + +# type: Plain text +#: pacman.8:159 +msgid "" +"Download a fresh copy of the master package list from the ftp server defined " +"in I</etc/pacman.conf>. This should typically be used each time you use B<--" +"sysupgrade>." +msgstr "" + +# type: TP +#: pacman.8:159 +#, no-wrap +msgid "B<--ignore E<lt>pkgE<gt>>" +msgstr "" + +# type: Plain text +#: pacman.8:164 +msgid "" +"This option functions exactly the same as the B<IgnorePkg> configuration " +"directive. Sometimes it can be handy to skip some package updates without " +"having to edit I<pacman.conf> each time." +msgstr "" + +# type: SH +#: pacman.8:164 +#, no-wrap +msgid "REMOVE OPTIONS" +msgstr "ELTÁVOLÍTÁSI OPCIÓK" + +# type: TP +#: pacman.8:165 +#, no-wrap +msgid "B<-c, --cascade>" +msgstr "B<-c, --cascade>" + +# type: Plain text +#: pacman.8:169 +msgid "" +"Remove all target packages, as well as all packages that depend on one or " +"more target packages. This operation is recursive." +msgstr "" + +# type: TP +#: pacman.8:169 +#, no-wrap +msgid "B<-k, --keep>" +msgstr "B<-k, --keep>" + +# type: Plain text +#: pacman.8:172 +msgid "Removes the database entry only. Leaves all files in place." +msgstr "" + +# type: TP +#: pacman.8:172 +#, no-wrap +msgid "B<-n, --nosave>" +msgstr "B<-n, --nosave>" + +# type: Plain text +#: pacman.8:179 +msgid "" +"Instructs pacman to ignore file backup designations. Normally, when a file " +"is about to be I<removed> from the system the database is first checked to " +"see if the file should be renamed to a .pacsave extension. If B<--nosave> " +"is used, these designations are ignored and the files are removed." +msgstr "" + +# type: TP +#: pacman.8:179 +#, no-wrap +msgid "B<-s, --recursive>" +msgstr "B<-s, --recursive>" + +# type: Plain text +#: pacman.8:185 +msgid "" +"For each target specified, remove it and all its dependencies, provided that " +"(A) they are not required by other packages; and (B) they were not " +"explicitly installed by the user. This option is analagous to a backwards --" +"sync operation." +msgstr "" + +# type: SH +#: pacman.8:185 +#, no-wrap +msgid "QUERY OPTIONS" +msgstr "LEKÉRDEZÉSI OPCIÓK" + +# type: TP +#: pacman.8:186 +#, no-wrap +msgid "B<-e, --orphans>" +msgstr "B<-e, --orphans>" + +# type: Plain text +#: pacman.8:191 +msgid "" +"List all packages that were installed as a dependency (ie, not installed " +"explicitly) and are not required by any other packages." +msgstr "" + +# type: Plain text +#: pacman.8:195 +msgid "" +"Display all groups that a specified package is part of. If no package names " +"are provided, all groups and members will be listed." +msgstr "" + +# type: Plain text +#: pacman.8:199 +msgid "" +"Display information on a given package. If it is used with the B<-p> option " +"then the .PKGINFO file will be printed." +msgstr "" + +# type: Plain text +#: pacman.8:203 +msgid "" +"List all files owned by E<lt>packageE<gt>. Multiple packages can be " +"specified on the command line." +msgstr "" + +# type: TP +#: pacman.8:203 +#, no-wrap +msgid "B<-m, --foreign>" +msgstr "" + +# type: Plain text +#: pacman.8:207 +msgid "" +"List all packages that were not found in the sync database(s). Typically " +"these are packages that were downloaded manually and installed with --add." +msgstr "" + +# type: TP +#: pacman.8:207 +#, no-wrap +msgid "B<-o, --owns E<lt>fileE<gt>>" +msgstr "" + +# type: Plain text +#: pacman.8:210 +msgid "Search for the package that owns E<lt>fileE<gt>." +msgstr "" + +# type: TP +#: pacman.8:210 +#, no-wrap +msgid "B<-p, --file>" +msgstr "" + +# type: Plain text +#: pacman.8:215 +msgid "" +"Tells pacman that the package supplied on the command line is a file, not an " +"entry in the database. Pacman will decompress the file and query it. This " +"is useful with B<--info> and B<--list>." +msgstr "" + +# type: Plain text +#: pacman.8:219 +msgid "" +"This will search each locally-installed package for names or descriptions " +"that contains E<lt>regexpE<gt>." +msgstr "" + +# type: SH +#: pacman.8:219 +#, no-wrap +msgid "HANDLING CONFIG FILES" +msgstr "" + +# type: Plain text +#: pacman.8:226 +msgid "" +"pacman uses the same logic as rpm to determine action against files that are " +"designated to be backed up. During an upgrade, it uses 3 md5 hashes for " +"each backup file to determine the required action: one for the original file " +"installed, one for the new file that's about to be installed, and one for " +"the actual file existing on the filesystem. After comparing these 3 hashes, " +"the follow scenarios can result:" +msgstr "" + +# type: TP +#: pacman.8:226 +#, no-wrap +msgid "original=B<X>, current=B<X>, new=B<X>" +msgstr "" + +# type: Plain text +#: pacman.8:229 +msgid "" +"All three files are the same, so we win either way. Install the new file." +msgstr "" + +# type: TP +#: pacman.8:229 +#, no-wrap +msgid "original=B<X>, current=B<X>, new=B<Y>" +msgstr "" + +# type: Plain text +#: pacman.8:234 +msgid "" +"The current file is un-altered from the original but the new one is " +"different. Since the user did not ever modify the file, and the new one may " +"contain improvements/bugfixes, we install the new file." +msgstr "" + +# type: TP +#: pacman.8:234 +#, no-wrap +msgid "original=B<X>, current=B<Y>, new=B<X>" +msgstr "" + +# type: Plain text +#: pacman.8:239 +msgid "" +"Both package versions contain the exact same file, but the one on the " +"filesystem has been modified since. In this case, we leave the current file " +"in place." +msgstr "" + +# type: TP +#: pacman.8:239 +#, no-wrap +msgid "original=B<X>, current=B<Y>, new=B<Y>" +msgstr "" + +# type: Plain text +#: pacman.8:242 +msgid "" +"The new one is identical to the current one. Win win. Install the new file." +msgstr "" + +# type: TP +#: pacman.8:242 +#, no-wrap +msgid "original=B<X>, current=B<Y>, new=B<Z>" +msgstr "" + +# type: Plain text +#: pacman.8:247 +msgid "" +"All three files are different, so we install the new file with a .pacnew " +"extension and warn the user, so she can manually move the file into place " +"after making any necessary customizations." +msgstr "" + +# type: SH +#: pacman.8:247 makepkg.8:141 +#, no-wrap +msgid "CONFIGURATION" +msgstr "" + +# type: Plain text +#: pacman.8:253 +msgid "" +"pacman will attempt to read I</etc/pacman.conf> each time it is invoked. " +"This configuration file is divided into sections or I<repositories>. Each " +"section defines a package repository that pacman can use when searching for " +"packages in --sync mode. The exception to this is the I<options> section, " +"which defines global options." +msgstr "" + +# type: SH +#: pacman.8:254 +#, no-wrap +msgid "Example:" +msgstr "" + +# type: Plain text +#: pacman.8:260 +#, no-wrap +msgid "" +"[options]\n" +"NoUpgrade = etc/passwd etc/group etc/shadow\n" +"NoUpgrade = etc/fstab\n" +msgstr "" + +# type: Plain text +#: pacman.8:262 +#, no-wrap +msgid "Include = /etc/pacman.d/current\n" +msgstr "" + +# type: Plain text +#: pacman.8:265 +#, no-wrap +msgid "" +"[custom]\n" +"Server = file:///home/pkgs\n" +msgstr "" + +# type: SH +#: pacman.8:268 +#, no-wrap +msgid "CONFIG: OPTIONS" +msgstr "" + +# type: TP +#: pacman.8:269 +#, no-wrap +msgid "B<DBPath = path/to/db/dir>" +msgstr "" + +# type: Plain text +#: pacman.8:273 +msgid "" +"Overrides the default location of the toplevel database directory. The " +"default is I<var/lib/pacman>." +msgstr "" + +# type: TP +#: pacman.8:273 +#, no-wrap +msgid "B<CacheDir = path/to/cache/dir>" +msgstr "" + +# type: Plain text +#: pacman.8:277 +msgid "" +"Overrides the default location of the package cache directory. The default " +"is I<var/cache/pacman>." +msgstr "" + +# type: TP +#: pacman.8:277 +#, no-wrap +msgid "B<HoldPkg = E<lt>packageE<gt> [package] ...>" +msgstr "" + +# type: Plain text +#: pacman.8:281 +msgid "" +"If a user tries to B<--remove> a package that's listed in HoldPkg, pacman " +"will ask for confirmation before proceeding." +msgstr "" + +# type: TP +#: pacman.8:281 +#, no-wrap +msgid "B<IgnorePkg = E<lt>packageE<gt> [package] ...>" +msgstr "" + +# type: Plain text +#: pacman.8:285 +msgid "" +"Instructs pacman to ignore any upgrades for this package when performing a " +"B<--sysupgrade>." +msgstr "" + +# type: TP +#: pacman.8:285 +#, no-wrap +msgid "B<UpgradeDelay = E<lt>numberE<gt>>" +msgstr "" + +# type: Plain text +#: pacman.8:289 +msgid "" +"Upgrade only the packages that are at least E<lt>numberE<gt> days old when " +"performing a B<--sysupgrade>." +msgstr "" + +# type: TP +#: pacman.8:289 +#, no-wrap +msgid "B<Include = E<lt>pathE<gt>>" +msgstr "" + +# type: Plain text +#: pacman.8:293 +msgid "" +"Include another config file. This config file can include repositories or " +"general configuration options." +msgstr "" + +# type: TP +#: pacman.8:293 +#, no-wrap +msgid "B<ProxyServer = E<lt>host|ipE<gt>[:port]>" +msgstr "" + +# type: Plain text +#: pacman.8:296 +msgid "If set, pacman will use this proxy server for all ftp/http transfers." +msgstr "" + +# type: TP +#: pacman.8:296 +#, no-wrap +msgid "B<XferCommand = /path/to/command %u>" +msgstr "" + +# type: Plain text +#: pacman.8:302 +msgid "" +"If set, pacman will use this external program to download all remote files. " +"All instances of B<%u> will be replaced with the URL to be downloaded. If " +"present, instances of B<%o> will be replaced with the local filename, plus a " +"\".part\" extension, which allows programs like wget to do file resumes " +"properly." +msgstr "" + +# type: Plain text +#: pacman.8:306 +msgid "" +"This option is useful for users who experience problems with pacman's built-" +"in http/ftp support, or need the more advanced proxy support that comes with " +"utilities like wget." +msgstr "" + +# type: TP +#: pacman.8:306 +#, no-wrap +msgid "B<NoPassiveFtp>" +msgstr "" + +# type: Plain text +#: pacman.8:309 +msgid "" +"Disables passive ftp connections when downloading packages. (aka Active Mode)" +msgstr "" + +# type: TP +#: pacman.8:309 +#, no-wrap +msgid "B<NoUpgrade = E<lt>fileE<gt> [file] ...>" +msgstr "" + +# type: Plain text +#: pacman.8:313 +msgid "" +"All files listed with a B<NoUpgrade> directive will never be touched during " +"a package install/upgrade. I<Note:> do not include the leading slash when " +"specifying files." +msgstr "" + +# type: TP +#: pacman.8:313 +#, no-wrap +msgid "B<NoExtract = E<lt>fileE<gt> [file] ...>" +msgstr "" + +# type: Plain text +#: pacman.8:320 +msgid "" +"All files listed with a B<NoExtract> directive will never be extracted from " +"a package into the filesystem. This can be useful when you don't want part " +"of a package to be installed. For example, if your httpd root uses an index." +"php, then you would not want the index.html file to be extracted from the " +"apache package." +msgstr "" + +# type: TP +#: pacman.8:320 +#, no-wrap +msgid "B<UseSyslog>" +msgstr "" + +# type: Plain text +#: pacman.8:324 +msgid "" +"Log action messages through syslog(). This will insert pacman log entries " +"into your /var/log/messages or equivalent." +msgstr "" + +# type: TP +#: pacman.8:324 +#, no-wrap +msgid "B<LogFile = /path/to/file>" +msgstr "" + +# type: Plain text +#: pacman.8:327 +msgid "Log actions directly to a file, usually /var/log/pacman.log." +msgstr "" + +# type: SH +#: pacman.8:328 +#, no-wrap +msgid "CONFIG: REPOSITORIES" +msgstr "" + +# type: Plain text +#: pacman.8:335 +msgid "" +"Each repository section defines a section name and at least one location " +"where the packages can be found. The section name is defined by the string " +"within square brackets (eg, the two above are 'current' and 'custom'). " +"Locations are defined with the I<Server> directive and follow a URL naming " +"structure. Currently only ftp is supported for remote servers. If you want " +"to use a local directory, you can specify the full path with a 'file://' " +"prefix, as shown above." +msgstr "" + +# type: SH +#: pacman.8:335 +#, no-wrap +msgid "USING YOUR OWN REPOSITORY" +msgstr "" + +# type: Plain text +#: pacman.8:339 +msgid "" +"Let's say you have a bunch of custom packages in I</home/pkgs> and their " +"respective FrugalBuild files are all in I</var/fst/local>. All you need to " +"do is generate a compressed package database in the I</home/pkgs> directory " +"so pacman can find it when run with --refresh." +msgstr "" + +# type: Plain text +#: pacman.8:343 +#, no-wrap +msgid "# gensync /var/fst/local /home/pkgs/custom.fdb\n" +msgstr "" + +# type: Plain text +#: pacman.8:353 +msgid "" +"The above command will read all FrugalBuild files in /var/fst/local and " +"generate a compressed database called /home/pkgs/custom.fdb. Note that the " +"database must be of the form I<{treename}.fdb>, where {treename} is the name " +"of the section defined in the configuration file. That's it! Now configure " +"your I<custom> section in the configuration file as shown in the config " +"example above. Pacman will now use your package repository. If you add new " +"packages to the repository, remember to re-generate the database and use " +"pacman's --refresh option." +msgstr "" + +# type: SH +#: pacman.8:353 makepkg.8:149 FrugalBuild.8:453 +#, no-wrap +msgid "SEE ALSO" +msgstr "LÁSD MÉG" + +# type: Plain text +#: pacman.8:355 +msgid "B<makepkg> is the package-building tool that comes with pacman." +msgstr "" + +# type: SH +#: pacman.8:355 makepkg.8:152 FrugalBuild.8:456 +#, no-wrap +msgid "AUTHOR" +msgstr "SZERZŐ" + +# type: Plain text +#: pacman.8:359 makepkg.8:156 FrugalBuild.8:460 +#, no-wrap +msgid "" +"Judd Vinet E<lt>jvinet@zeroflux.orgE<gt>\n" +"and the Frugalware developers E<lt>frugalware-devel@frugalware.orgE<gt>\n" +msgstr "" + +# type: TH +#: makepkg.8:1 +#, no-wrap +msgid "makepkg" +msgstr "makepkg" + +# type: TH +#: makepkg.8:1 +#, no-wrap +msgid "January 30, 2006" +msgstr "2006. január 30." + +# type: TH +#: makepkg.8:1 FrugalBuild.8:1 +#, no-wrap +msgid "Frugalware Developer Manual" +msgstr "Frugalware Fejlesztői Kézikönyv" + +# type: Plain text +#: makepkg.8:4 +msgid "makepkg - package build utility" +msgstr "makepkg - csomagkészítő segédeszköz" + +# type: Plain text +#: makepkg.8:6 +msgid "B<makepkg [options]>" +msgstr "B<makepkg [opciók]>" + +# type: Plain text +#: makepkg.8:15 +msgid "" +"B<makepkg> will build packages for you. All it needs is a build-capable " +"linux platform, wget, and some build scripts. The advantage to a script-" +"based build is that you only really do the work once. Once you have the " +"build script for a package, you just need to run makepkg and it will do the " +"rest: download and validate source files, check dependencies, configure the " +"buildtime settings, build the package, install the package into a temporary " +"root, make customizations, generate meta-info, and package the whole thing " +"up for B<pacman> to use." +msgstr "" + +# type: Plain text +#: makepkg.8:18 +msgid "" +"B<makeworld> can be used to rebuild an entire package group or the entire " +"build tree. See B<makeworld --help> for syntax." +msgstr "" + +# type: TP +#: makepkg.8:20 +#, no-wrap +msgid "B<-b, --builddeps>" +msgstr "" + +# type: Plain text +#: makepkg.8:27 +msgid "" +"Build missing dependencies from source. When makepkg finds missing build-" +"time or run-time dependencies, it will look for the dependencies' " +"FrugalBuild files under $fst_root (set in your /etc/repoman.conf). If it " +"finds them it will run another copy of makepkg to build and install the " +"missing dependencies. The child makepkg calls will be made with the B<-b> " +"and B<-i> options." +msgstr "" + +# type: TP +#: makepkg.8:27 +#, no-wrap +msgid "B<-B, --noccache>" +msgstr "" + +# type: Plain text +#: makepkg.8:30 +msgid "Do not use ccache during build." +msgstr "" + +# type: Plain text +#: makepkg.8:33 +msgid "Clean up leftover work files/directories after a successful build." +msgstr "" + +# type: TP +#: makepkg.8:33 +#, no-wrap +msgid "B<-C, --cleancache>" +msgstr "" + +# type: Plain text +#: makepkg.8:38 +msgid "" +"Used with --chroot cleans up the chroot which means removing unnecessary " +"packages from it. If used twice, then it removes all source files from the " +"cache directory and cleans up the full compiler cache to free up diskspace." +msgstr "" + +# type: Plain text +#: makepkg.8:43 +msgid "" +"Do not perform any dependency checks. This will let you override/ignore any " +"dependencies required. There's a good chance this option will break the " +"build process if all of the dependencies aren't installed." +msgstr "" + +# type: TP +#: makepkg.8:43 +#, no-wrap +msgid "B<-D E<lt>pkgnameE<gt>>" +msgstr "" + +# type: Plain text +#: makepkg.8:46 +msgid "Clean up only one package's compiler cache. (Uses ccache -C.)" +msgstr "" + +# type: TP +#: makepkg.8:46 +#, no-wrap +msgid "B<-e, --noextract>" +msgstr "" + +# type: Plain text +#: makepkg.8:51 +msgid "" +"Do not extract source files. Instead, use whatever already exists in the " +"src/ directory. This is handy if you want to go into src and manually patch/" +"tweak code, then make a package out of the result." +msgstr "" + +# type: Plain text +#: makepkg.8:56 +msgid "" +"B<makepkg> will not build a package if a I<pkgname-pkgver-pkgrel-arch.fpm> " +"file already exists in the build directory. You can override this behaviour " +"with the B<--force> switch." +msgstr "" + +# type: TP +#: makepkg.8:56 +#, no-wrap +msgid "B<-G, --genmd5>" +msgstr "" + +# type: Plain text +#: makepkg.8:61 +msgid "" +"Download all source files (if required) and use I<md5sum> to generate md5 " +"hashes for each of them. You can then redirect the output into your " +"FrugalBuild for source validation (makepkg -G E<gt>E<gt>FrugalBuild)." +msgstr "" + +# type: TP +#: makepkg.8:61 +#, no-wrap +msgid "B<-g, --gensha1>" +msgstr "" + +# type: Plain text +#: makepkg.8:66 +msgid "" +"Download all source files (if required) and use I<sha1sum> to generate sha1 " +"hashes for each of them. You can then redirect the output into your " +"FrugalBuild for source validation (makepkg -g E<gt>E<gt>FrugalBuild)." +msgstr "" + +# type: Plain text +#: makepkg.8:69 +msgid "Output syntax and commandline options." +msgstr "" + +# type: TP +#: makepkg.8:69 +#, no-wrap +msgid "B<-i, --install>" +msgstr "" + +# type: Plain text +#: makepkg.8:72 +msgid "Install/Upgrade the package after a successful build." +msgstr "" + +# type: TP +#: makepkg.8:72 +#, no-wrap +msgid "B<-j E<lt>jobsE<gt>>" +msgstr "" + +# type: Plain text +#: makepkg.8:76 +msgid "" +"Sets MAKEFLAGS=\"-jE<lt>jobsE<gt>\" before building the package. This is " +"useful for overriding the MAKEFLAGS setting in /etc/makepkg.conf." +msgstr "" + +# type: TP +#: makepkg.8:76 +#, no-wrap +msgid "B<-L, --nolastmod>" +msgstr "" + +# type: Plain text +#: makepkg.8:79 +msgid "Disable updating the Last modified line." +msgstr "" + +# type: TP +#: makepkg.8:79 +#, no-wrap +msgid "B<-k, --logging>" +msgstr "" + +# type: Plain text +#: makepkg.8:82 +msgid "Logging package build process" +msgstr "" + +# type: TP +#: makepkg.8:82 +#, no-wrap +msgid "B<-l E<lt>pkgnameE<gt>>" +msgstr "" + +# type: Plain text +#: makepkg.8:87 +msgid "" +"Download the package's buildscript before starting the build. This is " +"useful if you do not want to do a full 'repoman upd' nor want to download " +"manually the buildscript." +msgstr "" + +# type: TP +#: makepkg.8:87 +#, no-wrap +msgid "B<-m, --nocolor>" +msgstr "" + +# type: Plain text +#: makepkg.8:90 +msgid "Disable color in output messages" +msgstr "" + +# type: TP +#: makepkg.8:90 +#, no-wrap +msgid "B<-n, --nostrip>" +msgstr "" + +# type: Plain text +#: makepkg.8:93 +msgid "Do not strip binaries and libraries." +msgstr "" + +# type: TP +#: makepkg.8:93 +#, no-wrap +msgid "B<-o, --nobuild>" +msgstr "" + +# type: Plain text +#: makepkg.8:96 +msgid "Download and extract files only, do not build." +msgstr "" + +# type: TP +#: makepkg.8:96 +#, no-wrap +msgid "B<-p E<lt>buildscriptE<gt>>" +msgstr "" + +# type: Plain text +#: makepkg.8:99 +msgid "" +"Read the package script I<E<lt>buildscriptE<gt>> instead of the default " +"(I<FrugalBuild>)." +msgstr "" + +# type: TP +#: makepkg.8:99 +#, no-wrap +msgid "B<-r, --rmdeps>" +msgstr "" + +# type: Plain text +#: makepkg.8:103 +msgid "" +"Upon successful build, remove any dependencies installed by makepkg/pacman " +"during dependency auto-resolution (using B<-b> or B<-s>)." +msgstr "" + +# type: TP +#: makepkg.8:103 +#, no-wrap +msgid "B<-R, --chroot>" +msgstr "" + +# type: Plain text +#: makepkg.8:106 +msgid "Build the package in a chroot environment." +msgstr "" + +# type: TP +#: makepkg.8:106 +#, no-wrap +msgid "B<-s, --syncdeps>" +msgstr "" + +# type: Plain text +#: makepkg.8:112 +msgid "" +"Install missing dependencies using pacman. When makepkg finds missing build-" +"time or run-time dependencies, it will run pacman to try and resolve them. " +"If successful, pacman will download the missing packages from a package " +"repository and install them for you." +msgstr "" + +# type: TP +#: makepkg.8:112 +#, no-wrap +msgid "B<-t E<lt>treeE<gt>>" +msgstr "" + +# type: Plain text +#: makepkg.8:117 +msgid "" +"When building in a chroot (using -R) you may want to build packages for a " +"version other than the host one. Using this option, it's possible to build " +"packages for \"stable\" while the host system is \"current\" and vica versa." +msgstr "" + +# type: TP +#: makepkg.8:117 +#, no-wrap +msgid "B<-u, --noup2date>" +msgstr "" + +# type: Plain text +#: makepkg.8:126 +msgid "" +"Do not check for newer version before starting build. Normally makepkg will " +"prevent you from building obsolete source by mistake. If you know what you " +"are doing, you can disable this feature with this switch. B<-S, --sudosync> " +"Install missing dependencies using pacman and sudo. This is the same as B<-" +"s> except that makepkg will call pacman with sudo. This means you don't have " +"to build as root to use dependency auto-resolution." +msgstr "" + +# type: TP +#: makepkg.8:127 +#, no-wrap +msgid "B<-w E<lt>destdirE<gt>>" +msgstr "" + +# type: Plain text +#: makepkg.8:131 +msgid "" +"Write the resulting package file to the directory I<E<lt>destdirE<gt>> " +"instead of the current working directory." +msgstr "" + +# type: Plain text +#: makepkg.8:136 +msgid "" +"When calling pacman to resolve dependencies or conflicts, makepkg can pass " +"the I<--noconfirm> option to it so it does not wait for any user input " +"before proceeding with operations." +msgstr "" + +# type: Plain text +#: makepkg.8:140 +msgid "" +"When calling pacman, makepkg can pass the I<--noprogressbar> option to it. " +"This is useful if one is directing makepkg's output to a non-terminal (ie, a " +"file)." +msgstr "" + +# type: Plain text +#: makepkg.8:146 +msgid "" +"Configuration options are stored in I</etc/makepkg.conf>. This file is " +"parsed as a bash script, so you can export any special compiler flags you " +"wish to use. This is helpful for building for different architectures, or " +"with different optimizations." +msgstr "" + +# type: Plain text +#: makepkg.8:149 +msgid "" +"B<NOTE:> This does not guarantee that all package Makefiles will use your " +"exported variables. Some of them are flaky..." +msgstr "" + +# type: Plain text +#: makepkg.8:152 +msgid "B<FrugalBuild>(8), B<pacman>(8)" +msgstr "" + +# type: SH +#: FrugalBuild.8:1 +#, fuzzy, no-wrap +msgid "FrugalBuild" +msgstr "FrugalBuild példa:" + +# type: TH +#: FrugalBuild.8:1 +#, no-wrap +msgid "June 13, 2006" +msgstr "2006. június 13." + +# type: Plain text +#: FrugalBuild.8:4 +msgid "FrugalBuild - Frugalware package builder descriptor" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:8 +msgid "" +"This manual page is meant to describe general rules about FrugalBuilds. If " +"you're interested in the package builder B<makepkg> itself, then see its " +"manual page, not this one." +msgstr "" + +# type: SH +#: FrugalBuild.8:11 +#, no-wrap +msgid "FrugalBuild Example:" +msgstr "FrugalBuild példa:" + +# type: Plain text +#: FrugalBuild.8:17 +#, no-wrap +msgid "" +"# Last Modified: Sun, 19 Jun 2005 15:24:32 +0000\n" +"# Compiling Time: 0.17 SBU\n" +"# Maintainer: Name E<lt>email@addr.essE<gt>\n" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:27 +#, no-wrap +msgid "" +"pkgname=dvdauthor\n" +"pkgver=0.6.11\n" +"pkgrel=3\n" +"pkgdesc=\"Will generate a DVD movie from a valid mpeg2 stream\"\n" +"depends=('imagemagick' 'libdvdread')\n" +"Finclude sourceforge\n" +"groups=('xapps')\n" +"archs=('i686' 'x86_64')\n" +"sha1sums=('a99ea7ef6e50646b77ad47a015127925053d34ea')\n" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:29 +#, no-wrap +msgid "# optimization OK\n" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:34 +msgid "" +"As you can see, the setup is fairly simple. The first line tracks the time " +"of the last update, this is automatically updated after a successful build." +msgstr "" + +# type: Plain text +#: FrugalBuild.8:37 +msgid "" +"The next line defines its build time. Of course, it depends on your " +"hardware, so we use SBUs instead of minutes as a unit." +msgstr "" + +# type: Plain text +#: FrugalBuild.8:41 +msgid "" +"SBU is the Static Binutils Unit, which means the time \"repoman merge " +"binutils\" takes on your machine. By default makepkg will print out how many " +"seconds the build took. After you built binutils, you should update your /" +"etc/makepkg.conf:" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:43 +msgid "SBU=\"257\"" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:47 +msgid "" +"The line above means compiling binutils on your machine took 257 seconds. " +"Starting from this point, makepkg will print out SBUs instead of seconds " +"after successful builds, and this SBU value will be equal on anyone's " +"machine." +msgstr "" + +# type: Plain text +#: FrugalBuild.8:53 +msgid "" +"If you wish to maintain the package, write your name or nick and e-mail " +"address to the third line. If you don't plan to maintain the package just " +"wrote the FrugalBuild, then write Contributor instead of Maintainer, and " +"then someone can take it and will add his/her line later. Other lines like " +"\"Modified by\" are not allowed. Use the darcs patch comments to mention " +"others if you wish." +msgstr "" + +# type: Plain text +#: FrugalBuild.8:61 +msgid "" +"pkgname defines the package name. It should not contain any uppercase " +"letters. The package version defines the upstream version, while the " +"package release tracks the Frugalware-specific changes. pkgrel should be an " +"integer, pkgrels like 5wanda1 are reserved for security updates. There the " +"rule is the following: If the original package's pkgrel was 4, then " +"increment it once when you add a security patch, but then use 5wanda1, " +"5wanda2 and so on. This way the user can easily upgrade to pkgrel=5 which is " +"in -current." +msgstr "" + +# type: Plain text +#: FrugalBuild.8:64 +msgid "" +"pkgdesc is a short one-line description for the package. Usually taken from " +"the project's homepage or manpage. Try to keep the lenght under 80 chars." +msgstr "" + +# type: Plain text +#: FrugalBuild.8:69 +msgid "" +"depends() is a bash array which defines the dependencies of the package. " +"depends() means the other package is required for building and using the " +"current one. If the dependency is runtime-only, then use rodepends(), if " +"buildtime-only then use makedepends()." +msgstr "" + +# type: Plain text +#: FrugalBuild.8:78 +msgid "" +"The next line is a special Finclude commands which allows you to inherit any " +"directive from a FrugalBuild scheme. They can be found in the FST, under /" +"source/include. The \"util\" scheme always included, since its provided " +"functions are used by almost every FrugalBuild. Look at the /source/include/" +"sourceforge.sh, it provides the url, up2date and source() directives, so we " +"don't have to specify them here. After the Finclude you can overwrite the " +"inherited directives, for example define a custom up2date if the inherited " +"one is not sutable for you." +msgstr "" + +# type: Plain text +#: FrugalBuild.8:82 +msgid "" +"The groups() array's first element can't be omitted, and it should be a " +"valid \"first group\". This means it should be in a foo or foo-extra format, " +"where foo or foo-extra is a dir under /source in the FST." +msgstr "" + +# type: Plain text +#: FrugalBuild.8:90 +msgid "" +"The archs() array defines for which architectures the given package is " +"available. If it's not available, it means that gensync will skip it when " +"generating package databases. If you are not able to provide a binary " +"package for a given arch, don't include that in archs()! For example, no " +"matter if the package could be compiled in x86_64, if you haven't compiled " +"it yourself, don't include it. If you're sure it won't be available on a " +"given arch (for example it's written in x86 asm), then use !arch, for " +"example !x86_64." +msgstr "" + +# type: Plain text +#: FrugalBuild.8:95 +msgid "" +"The sha1sums() array can be generated with the makepkg -g command. Its " +"purpose is to prevent compiling from wrong sources, especially when the " +"build is automatic. Where it is available you can use signatures(), its goal " +"is that you don't have to update it manually every time." +msgstr "" + +# type: Plain text +#: FrugalBuild.8:103 +msgid "" +"The last line will be added automatically to the end of the FrugalBuild if " +"the build() function used your $CFLAGS or $CXXFLAGS. This is handy if you " +"want to cross-compile on a faster machine for a slower architecture. Until " +"the package doesn't use our $CFLAGS we can't cross-compile it, so please try " +"to avoid creating \"unoptimized\" packages. If the package doesn't contain " +"any architecture-dependent file, then you can add this line manually as " +"makepkg will not detect this." +msgstr "" + +# type: Plain text +#: FrugalBuild.8:111 +msgid "" +"Finally we define a build() function that will build the package. If you " +"don't want to do anything special, probably you don't have to specify " +"anything, as the default build() (inherited from util.sh) will fit your " +"needs. Even if you define a custom build(), probably you can re-use parts of " +"the default build(). For the list of special functions provided by util.sh " +"and others refer to the /source/include dir. Again, util.sh is included " +"automatically, but you have to Finclude the others before using them!" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:117 +msgid "" +"Once the package is successfully installed into the package root, I<makepkg> " +"will prepare some documentation. It will then strip debugging info from " +"libraries and binaries and generate a meta-info file. Finally, it will " +"compress everything into a .fpm file and leave it in the directory you ran " +"B<makepkg> from." +msgstr "" + +# type: Plain text +#: FrugalBuild.8:120 +msgid "" +"At this point you should have a package file in the current directory, named " +"something like name-version-release-arch.fpm. Done!" +msgstr "" + +# type: SH +#: FrugalBuild.8:121 +#, no-wrap +msgid "Install/Upgrade/Remove Scripting" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:125 +msgid "" +"Pacman has the ability to store and execute a package-specific script when " +"it installs, removes, or upgrades a package. This allows a package to " +"\"configure itself\" after installation and do the opposite right before it " +"is removed." +msgstr "" + +# type: Plain text +#: FrugalBuild.8:127 +msgid "The exact time the script is run varies with each operation:" +msgstr "" + +# type: TP +#: FrugalBuild.8:127 +#, no-wrap +msgid "B<pre_install>" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:130 FrugalBuild.8:138 +msgid "script is run right before files are extracted." +msgstr "" + +# type: TP +#: FrugalBuild.8:131 +#, no-wrap +msgid "B<post_install>" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:134 +msgid "script is run right after files are extracted." +msgstr "" + +# type: TP +#: FrugalBuild.8:135 +#, no-wrap +msgid "B<pre_upgrade>" +msgstr "" + +# type: TP +#: FrugalBuild.8:139 +#, no-wrap +msgid "B<post_upgrade>" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:142 +msgid "script is run after files are extracted." +msgstr "" + +# type: TP +#: FrugalBuild.8:143 +#, no-wrap +msgid "B<pre_remove>" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:146 +msgid "script is run right before files are removed." +msgstr "" + +# type: TP +#: FrugalBuild.8:147 +#, no-wrap +msgid "B<post_remove>" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:150 +msgid "script is run right after files are removed." +msgstr "" + +# type: Plain text +#: FrugalBuild.8:154 +msgid "" +"To use this feature, just create a file (eg, pkgname.install) and put it in " +"the same directory as the FrugalBuild script. Then use the I<install> " +"directive:" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:157 +#, no-wrap +msgid "install=pkgname.install\n" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:163 +msgid "" +"The install script does not need to be specified in the I<source> array. If " +"you omit the install directive then makepkg will check for the $pkgname." +"install install and will use it if it's present." +msgstr "" + +# type: Plain text +#: FrugalBuild.8:166 +msgid "" +"You can find a scriptlet skeleton in the /docs/tech/skel/ directory, use it " +"when creating new packages." +msgstr "" + +# type: Plain text +#: FrugalBuild.8:168 +msgid "" +"The scriptlet messages are parsed, a simple example tells you everything:" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:177 +#, no-wrap +msgid "" +"post_upgrade()\n" +"{\n" +"\techo \"START this will be good\"\n" +"\techo \"DONE 0\"\n" +"\techo \"START this will fail\"\n" +"\techo \"DONE 1\"\n" +"\techo \"old message\"\n" +"}\n" +msgstr "" + +# type: SH +#: FrugalBuild.8:179 +#, no-wrap +msgid "FrugalBuild Directives" +msgstr "" + +# type: TP +#: FrugalBuild.8:180 +#, no-wrap +msgid "B<pkgname>" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:184 +msgid "" +"The name of the package. This has be a unix-friendly name as it will be " +"used in the package filename." +msgstr "" + +# type: TP +#: FrugalBuild.8:185 +#, no-wrap +msgid "B<pkgver>" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:188 +msgid "" +"This is the version of the software as released from the author (eg, 2.7.1)." +msgstr "" + +# type: TP +#: FrugalBuild.8:189 +#, no-wrap +msgid "B<pkgrel>" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:192 +msgid "This is the release number specific to Frugalware Linux packages." +msgstr "" + +# type: TP +#: FrugalBuild.8:193 +#, no-wrap +msgid "B<pkgdesc>" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:196 +msgid "" +"This should be a brief description of the package and its functionality." +msgstr "" + +# type: TP +#: FrugalBuild.8:197 +#, no-wrap +msgid "B<pkgdesc_localized>" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:200 +msgid "Array of the localized package descriptions." +msgstr "" + +# type: Plain text +#: FrugalBuild.8:203 +msgid "" +"The format is the following: pkgdesc_localized=('xx_YY foo' 'xx_YY bar')" +msgstr "" + +# type: TP +#: FrugalBuild.8:204 +#, no-wrap +msgid "B<url>" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:208 +msgid "" +"This field contains an optional URL that is associated with the piece of " +"software being packaged. This is typically the project's website." +msgstr "" + +# type: TP +#: FrugalBuild.8:209 +#, no-wrap +msgid "B<license>" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:213 +msgid "" +"Sets the license type (eg, \"GPL\", \"BSD\", \"NON-FREE\"). (B<Note>: This " +"option is still in development and may change in the future)" +msgstr "" + +# type: TP +#: FrugalBuild.8:214 +#, no-wrap +msgid "B<install>" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:220 +msgid "" +"Specifies a special install script that is to be included in the package. " +"This file should reside in the same directory as the FrugalBuild, and will " +"be copied into the package by makepkg. It does not need to be included in " +"the I<source> array. (eg, install=modutils.install)" +msgstr "" + +# type: TP +#: FrugalBuild.8:221 +#, no-wrap +msgid "B<up2date>" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:226 +msgid "" +"This directive should contain a command that prints the current upstream " +"stable version of the project. This way we can check for newer version " +"without visiting manually the project's website (see above)." +msgstr "" + +# type: TP +#: FrugalBuild.8:227 +#, no-wrap +msgid "B<source >I<(array)>" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:234 +msgid "" +"The I<source> line is an array of source files required to build the " +"package. Source files must reside in the same directory as the FrugalBuild " +"file, unless they have a fully-qualified URL. Then if the source file does " +"not already exist in /var/cache/pacman/src, the file is downloaded by wget." +msgstr "" + +# type: TP +#: FrugalBuild.8:235 +#, no-wrap +msgid "B<md5sums >I<(array)>" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:243 +msgid "" +"If this field is present, it should contain an MD5 hash for every source " +"file specified in the I<source> array (in the same order). makepkg will use " +"this to verify source file integrity during subsequent builds. To easily " +"generate md5sums, first build using the FrugalBuild then run B<makepkg -G " +"E<gt>E<gt>FrugalBuild>. Then you can edit the FrugalBuild and move the " +"I<md5sums> line from the bottom to an appropriate location." +msgstr "" + +# type: TP +#: FrugalBuild.8:244 +#, no-wrap +msgid "B<sha1sums >I<(array)>" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:252 +msgid "" +"If this field is present, it should contain an SHA1 hash for every source " +"file specified in the I<source> array (in the same order). makepkg will use " +"this to verify source file integrity during subsequent builds. To easily " +"generate sha1sums, first build using the FrugalBuild then run B<makepkg -g " +"E<gt>E<gt>FrugalBuild>. Then you can edit the FrugalBuild and move the " +"I<sha1sums> line from the bottom to an appropriate location." +msgstr "" + +# type: TP +#: FrugalBuild.8:253 +#, no-wrap +msgid "B<signatures >I<(array)>" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:258 +msgid "" +"If this field is present, it should contain an array of gpg signatures " +"required to validate the source files. Where there is no signature available " +"just leave it empty, like:" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:260 +msgid "signatures=(${source[0]}.asc '')" +msgstr "" + +# type: TP +#: FrugalBuild.8:261 +#, no-wrap +msgid "B<groups >I<(array)>" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:266 +msgid "" +"This is an array of symbolic names that represent groups of packages, " +"allowing you to install multiple packages by requesting a single target. " +"For example, one could install all KDE packages by installing the 'kde' " +"group." +msgstr "" + +# type: TP +#: FrugalBuild.8:267 +#, no-wrap +msgid "B<archs >I<(array)>" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:272 +msgid "" +"This array defines on which architectures the given package is avalibable. " +"If it's not available, that will mean that gensync will skip it when " +"generating package databases." +msgstr "" + +# type: TP +#: FrugalBuild.8:273 +#, no-wrap +msgid "B<backup >I<(array)>" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:280 +msgid "" +"A space-delimited array of filenames (without a preceding slash). The " +"I<backup> line will be propagated to the package meta-info file for pacman. " +"This will designate all files listed there to be backed up if this package " +"is ever removed from a system. See B<HANDLING CONFIG FILES> in the " +"I<pacman> manpage for more information." +msgstr "" + +# type: TP +#: FrugalBuild.8:281 +#, no-wrap +msgid "B<depends >I<(array)>" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:289 +msgid "" +"An array of packages that this package depends on to build and run. " +"Packages in this list should be surrounded with single quotes and contain at " +"least the package name. They can also include a version requirement of the " +"form B<nameE<lt>E<gt>version>, where E<lt>E<gt> is one of these three " +"comparisons: B<E<gt>=> (greater than equal to), B<E<lt>=> (less than or " +"equal to), or B<=> (equal to). See the FrugalBuild example above for an " +"example of the I<depends> directive." +msgstr "" + +# type: TP +#: FrugalBuild.8:290 +#, no-wrap +msgid "B<makedepends >I<(array)>" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:294 +msgid "" +"An array of packages that this package depends on to build (ie, not required " +"to run). Packages in this list should follow the same format as I<depends>." +msgstr "" + +# type: TP +#: FrugalBuild.8:295 +#, no-wrap +msgid "B<rodepends >I<(array)>" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:302 +msgid "" +"An array of packages that this package depends on to run (ie, not required " +"to build). Generally I<rodepends> should be avoided in favour of I<depends> " +"except where this will create circular dependency chains. (For example " +"building logrotate doesn't requires to have dcron installed.) Packages in " +"this list should follow the same format as I<depends>." +msgstr "" + +# type: TP +#: FrugalBuild.8:303 +#, no-wrap +msgid "B<conflicts >I<(array)>" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:308 +msgid "" +"An array of packages that will conflict with this package (ie, they cannot " +"both be installed at the same time). This directive follows the same format " +"as I<depends> except you cannot specify versions here, only package names." +msgstr "" + +# type: TP +#: FrugalBuild.8:309 +#, no-wrap +msgid "B<provides >I<(array)>" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:315 +msgid "" +"An array of \"virtual provisions\" that this package provides. This allows " +"a package to provide dependency names other than it's own package name. For " +"example, the kernel-scsi and kernel-ide packages can each provide 'kernel' " +"which allows packages to simply depend on 'kernel' rather than \"kernel-scsi " +"OR kernel-ide OR ...\"" +msgstr "" + +# type: TP +#: FrugalBuild.8:316 +#, no-wrap +msgid "B<replaces >I<(array)>" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:322 +msgid "" +"This is an array of packages that this package should replace, and can be " +"used to handle renamed/combined packages. For example, if the kernel " +"package gets renamed to kernel-ide, then subsequent 'pacman -Syu' calls will " +"not pick up the upgrade, due to the differing package names. I<replaces> " +"handles this." +msgstr "" + +# type: TP +#: FrugalBuild.8:323 +#, no-wrap +msgid "B<options >I<(array)>" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:326 +msgid "This is an array of various boolean options. The possible values are:" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:339 +#, no-wrap +msgid "" +"nodocs Don't add any documentation automatically (ie. when there'll be\n" +" a separate documentation subpackage).\n" +"nostrip Don't strip binaries/libraries.\n" +"force This is used to force the package to be upgraded by --sysupgrade,\n" +" even if its an older version.\n" +"nobuild If this directive set, gensync will ignore this package, so users\n" +" must build these packages on their machines, they will not be able\n" +" to install them with pacman -S. Useful for closed-source, but\n" +" freeware programs.\n" +"nofakeroot Don't drop privileges after chrooting. Required by some broken\n" +" packages.\n" +"scriptlet Don't skip executing scriptlets even if we're in chroot.\n" +msgstr "" + +# type: SH +#: FrugalBuild.8:341 +#, no-wrap +msgid "What is the process of chrooted build ?" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:347 +msgid "" +"First, what is chroot? We currently use fakeroot to prevent build() from " +"modifying the host system, and we use a prefix or DESTDIR directive to " +"install everything to a directory and not under to the host system. This is " +"good, but not enough." +msgstr "" + +# type: Plain text +#: FrugalBuild.8:355 +msgid "" +"This system lacks of the ability to control the list of installed packages " +"during the build on the system of a packager, the given compiled package " +"maybe linked itself to an extra installed library. This way we can't really " +"control the list of real dependencies. For example if libquicktime is " +"installed from source on my system, then mplayer or any other program can " +"link itself to that, and so that depends() will be incorrect. Or if I have " +"the closed source binary NVidia drivers installed, some programs link tho " +"NVidia's libraries." +msgstr "" + +# type: Plain text +#: FrugalBuild.8:358 +msgid "" +"Of course there is a sollution to avoid this, to use a real chroot instead " +"of a simple fakeroot. What is this means? The followings:" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:366 +msgid "" +"When starting the build, a core chroot system is installed under /var/" +"chroot. (Of course you can change this value under /etc/makepkg.conf.) The " +"core system contains ~60 packages which are must installed to build any " +"package in a chrooted environment. These packages (for example gcc, kernel-" +"headers, make) should not be mentioned in makedepends(). 'pacman -Sg core " +"chroot-core devel-core' should show you the actial list. (We try to change " +"this list rarely of course.)" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:372 +msgid "" +"When you start building with makepkg -R, pacman will install these packages " +"to /var/chroot if necessary. This will produce a fully \"clean\" Frugalware " +"system, that consits of base packages only. This /var/chroot is fully " +"separated from the host system so that this will solve the problems " +"mentioned above. (Linking to a library installed from source, etc.)" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:377 +msgid "" +"Here comes the fun part. The packages listed in depends() and makedepends() " +"are installed to this clean (/var/chroot) system. From this point, this " +"chroot is capable to build the specified package in it without any " +"unnecessary package installed, fully separated from the host system." +msgstr "" + +# type: Plain text +#: FrugalBuild.8:381 +msgid "" +"After this the chroot should be cleaned up which means the removal of the " +"installed depends() and makedepends(). This ensures us not to build from " +"scratch the core chroot." +msgstr "" + +# type: Plain text +#: FrugalBuild.8:385 +msgid "" +"This way we can prevent lots of dependency problems and it is even possible " +"to build packages for a different Frugalware version. This is quite efficent " +"when building security updates or fixing critical bugs in the -stable tree." +msgstr "" + +# type: Plain text +#: FrugalBuild.8:389 +msgid "" +"If the build is failed, the working directory will not be deleted, you can " +"find it under /var/chroot/var/tmp/fst. Later if you want to clean your " +"chroot (delete the working directory and remove unnecessary packages) you " +"can use 'makepkg -CR'." +msgstr "" + +# type: Plain text +#: FrugalBuild.8:392 +msgid "" +"To activate building in a chroot, you should run makepkg as root at least " +"with the -R option." +msgstr "" + +# type: SH +#: FrugalBuild.8:393 +#, no-wrap +msgid "Package splitting" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:397 +msgid "" +"Package splitting means moving out a list of specifed files to subpackages " +"(like libmysql out of mysql) and then defining the properties of subpackages." +msgstr "" + +# type: Plain text +#: FrugalBuild.8:402 +msgid "" +"NOTE: if you create several subpackages, maintaining those packages will " +"require more and more time. Thus, unnecessary splits aren't welcome. " +"Especially, if you split out a library, then don't move the headers to the " +"package just to speed up building with a few seconds!" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:405 +msgid "" +"The B<subpkgs()> array is to define the pkgnames of the subpackages. From " +"now all the directives has their subfoo equivalent:" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:421 +#, no-wrap +msgid "" +"pkgname -E<gt> subpkgs()\n" +"pkgdesc -E<gt> subdescs()\n" +"pkgdesc_localized -E<gt> subdescs_localized()\n" +"license() -E<gt> sublicense()\n" +"replaces() -E<gt> subreplaces()\n" +"groups() -E<gt> subgroups()\n" +"depends() -E<gt> subdepends()\n" +"rodepends() -E<gt> subrodepends()\n" +"removes() -E<gt> subremoves()\n" +"conflicts() -E<gt> subconflicts()\n" +"provides() -E<gt> subprovides()\n" +"backup() -E<gt> subbackup()\n" +"install -E<gt> subinstall()\n" +"options -E<gt> suboptions()\n" +"archs -E<gt> subarchs()\n" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:425 +msgid "" +"Also note that bash does not support two-dimensional arrays, so when " +"defining the array of arrays, then quotes are the major separators and " +"spaces are the minor ones." +msgstr "" + +# type: Plain text +#: FrugalBuild.8:427 +msgid "Simple example:" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:434 +#, no-wrap +msgid "" +"Add the followings to your bottom of your FrugalBuild\n" +"subpkgs=('foo' 'bar')\n" +"subdescs=('desc of foo' 'desc of bar')\n" +"subdepends=('foodep1 foodep2' 'bardep1 bardep2')\n" +"subgroups=('apps' 'apps')\n" +"subarchs=('i686 x86_64' 'i686 x86_64')\n" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:438 +msgid "" +"You may define conflicts, replaces and other directives for your " +"subpackages, but the requirement is only to define these 5 ones." +msgstr "" + +# type: Plain text +#: FrugalBuild.8:443 +msgid "" +"The second part is to move some files to the - just defined - subpackages. " +"You should use the Fsplit command for this at the end of your build() " +"function. You can read more about Fsplit in the fwmakepkg documentation, but " +"here is a short example:" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:446 +#, no-wrap +msgid "Fsplit subpkgname usr/share/\n" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:449 +msgid "" +"This will move the /usr/share dir of the package to the \"subpkgname\" " +"subpackage." +msgstr "" + +# type: Plain text +#: FrugalBuild.8:452 +msgid "" +"NOTE: never use a trailing slash when defining file patterns, especially if " +"you use wildcards in it!" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:456 +msgid "B<makepkg>(8), B<pacman>(8)" +msgstr "" + +# type: Plain text +#~ msgid "" +#~ "build() {\n" +#~ " cd $startdir/src/$pkgname-$pkgver\n" +#~ " ./configure --prefix=/usr --enable-insmod-static\n" +#~ " make || return 1\n" +#~ " make prefix=$startdir/pkg/usr install\n" +#~ " mv $startdir/pkg/usr/sbin $startdir/pkg\n" +#~ " mkdir -p $startdir/pkg/etc\n" +#~ " cp ../modules.conf $startdir/pkg/etc\n" +#~ "}\n" +#~ msgstr "" +#~ "build() {\n" +#~ " cd $startdir/src/$pkgname-$pkgver\n" +#~ " ./configure --prefix=/usr --enable-insmod-static\n" +#~ " make || return 1\n" +#~ " make prefix=$startdir/pkg/usr install\n" +#~ " mv $startdir/pkg/usr/sbin $startdir/pkg\n" +#~ " mkdir -p $startdir/pkg/etc\n" +#~ " cp ../modules.conf $startdir/pkg/etc\n" +#~ "}\n" + +# type: Plain text +#~ msgid "make DESTDIR=$startdir/pkg install\n" +#~ msgstr "make DESTDIR=$startdir/pkg install\n" + +# type: Plain text +#~ msgid "or\n" +#~ msgstr "vagy\n" + +# type: Plain text +#~ msgid "make prefix=$startdir/pkg/usr install\n" +#~ msgstr "make prefix=$startdir/pkg/usr install\n" diff --git a/doc/po/pacman.pot b/doc/po/pacman.pot new file mode 100644 index 00000000..59768d0f --- /dev/null +++ b/doc/po/pacman.pot @@ -0,0 +1,2348 @@ +# SOME DESCRIPTIVE TITLE +# Copyright (C) YEAR Free Software Foundation, Inc. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"POT-Creation-Date: 2006-09-03 13:36+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: LANGUAGE <LL@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: ENCODING" + +# type: TH +#: pacman.8:1 +#, no-wrap +msgid "pacman" +msgstr "" + +# type: TH +#: pacman.8:1 +#, no-wrap +msgid "January 21, 2006" +msgstr "" + +# type: TH +#: pacman.8:1 +#, no-wrap +msgid "Frugalware User Manual" +msgstr "" + +# type: SH +#: pacman.8:2 makepkg.8:2 FrugalBuild.8:2 +#, no-wrap +msgid "NAME" +msgstr "" + +# type: Plain text +#: pacman.8:4 +msgid "pacman - package manager utility" +msgstr "" + +# type: SH +#: pacman.8:4 makepkg.8:4 +#, no-wrap +msgid "SYNOPSIS" +msgstr "" + +# type: Plain text +#: pacman.8:6 +msgid "B<pacman E<lt>operationE<gt> [options] E<lt>packageE<gt> [package] ...>" +msgstr "" + +# type: SH +#: pacman.8:6 makepkg.8:6 FrugalBuild.8:4 +#, no-wrap +msgid "DESCRIPTION" +msgstr "" + +# type: Plain text +#: pacman.8:11 +msgid "" +"B<pacman> is a I<package management> utility that tracks installed packages " +"on a linux system. It has simple dependency support and the ability to " +"connect to a remote ftp server and automatically upgrade packages on the " +"local system. pacman package are I<bzipped tar> format." +msgstr "" + +# type: SH +#: pacman.8:11 +#, no-wrap +msgid "OPERATIONS" +msgstr "" + +# type: TP +#: pacman.8:12 +#, no-wrap +msgid "B<-A, --add>" +msgstr "" + +# type: Plain text +#: pacman.8:16 +msgid "" +"Add a package to the system. Package will be uncompressed into the " +"installation root and the database will be updated." +msgstr "" + +# type: TP +#: pacman.8:16 +#, no-wrap +msgid "B<-F, --freshen>" +msgstr "" + +# type: Plain text +#: pacman.8:20 +msgid "" +"This is like --upgrade except that, unlike --upgrade, this will only upgrade " +"packages that are already installed on your system." +msgstr "" + +# type: TP +#: pacman.8:20 +#, no-wrap +msgid "B<-Q, --query>" +msgstr "" + +# type: Plain text +#: pacman.8:28 +msgid "" +"Query the package database. This operation allows you to view installed " +"packages and their files, as well as meta-info about individual packages " +"(dependencies, conflicts, install date, build date, size). This can be run " +"against the local package database or can be used on individual .fpm " +"packages. See B<QUERY OPTIONS> below." +msgstr "" + +# type: TP +#: pacman.8:28 +#, no-wrap +msgid "B<-c, --changelog>" +msgstr "" + +# type: Plain text +#: pacman.8:31 +msgid "View the changelog of a package." +msgstr "" + +# type: TP +#: pacman.8:31 +#, no-wrap +msgid "B<-R, --remove>" +msgstr "" + +# type: Plain text +#: pacman.8:38 +msgid "" +"Remove a package from the system. Files belonging to the specified package " +"will be deleted, and the database will be updated. Most configuration files " +"will be saved with a I<.pacsave> extension unless the B<--nosave> option was " +"used." +msgstr "" + +# type: TP +#: pacman.8:38 +#, no-wrap +msgid "B<-S, --sync>" +msgstr "" + +# type: Plain text +#: pacman.8:45 +msgid "" +"Synchronize packages. With this function you can install packages directly " +"from the ftp servers, complete with all dependencies required to run the " +"packages. For example, B<pacman -S qt> will download qt and all the " +"packages it depends on and install them. You could also use B<pacman -Su> to " +"upgrade all packages that are out of date (see below)." +msgstr "" + +# type: TP +#: pacman.8:45 +#, no-wrap +msgid "B<-U, --upgrade>" +msgstr "" + +# type: Plain text +#: pacman.8:50 +msgid "" +"Upgrade a package. This is essentially a \"remove-then-add\" process. See " +"B<HANDLING CONFIG FILES> for an explanation on how pacman takes care of " +"config files." +msgstr "" + +# type: TP +#: pacman.8:50 +#, no-wrap +msgid "B<-V, --version>" +msgstr "" + +# type: Plain text +#: pacman.8:53 +msgid "Display version and exit." +msgstr "" + +# type: TP +#: pacman.8:53 makepkg.8:66 +#, no-wrap +msgid "B<-h, --help>" +msgstr "" + +# type: Plain text +#: pacman.8:57 +msgid "" +"Display syntax for the given operation. If no operation was supplied then " +"the general syntax is shown." +msgstr "" + +# type: SH +#: pacman.8:57 makepkg.8:19 +#, no-wrap +msgid "OPTIONS" +msgstr "" + +# type: TP +#: pacman.8:58 makepkg.8:38 +#, no-wrap +msgid "B<-d, --nodeps>" +msgstr "" + +# type: Plain text +#: pacman.8:64 +msgid "" +"Skips all dependency checks. Normally, pacman will always check a package's " +"dependency fields to ensure that all dependencies are installed and there " +"are no package conflicts in the system. This switch disables these checks." +msgstr "" + +# type: TP +#: pacman.8:64 makepkg.8:51 +#, no-wrap +msgid "B<-f, --force>" +msgstr "" + +# type: Plain text +#: pacman.8:70 +msgid "" +"Bypass file conflict checks, overwriting conflicting files. If the package " +"that is about to be installed contains files that are already installed, " +"this option will cause all those files to be overwritten. This option " +"should be used with care, ideally not at all." +msgstr "" + +# type: TP +#: pacman.8:70 +#, no-wrap +msgid "B<-r, --root E<lt>pathE<gt>>" +msgstr "" + +# type: Plain text +#: pacman.8:79 +msgid "" +"Specify alternative installation root (default is \"/\"). This should I<not> " +"be used as a way to install software into e.g. /usr/local instead of " +"/usr. Instead this should be used if you want to install a package on a " +"temporary mounted partition, which is \"owned\" by another system. By using " +"this option you not only specify where the software should be installed, but " +"you also specify which package database to use." +msgstr "" + +# type: TP +#: pacman.8:79 +#, no-wrap +msgid "B<-v, --verbose>" +msgstr "" + +# type: Plain text +#: pacman.8:82 +msgid "Output more status and error messages." +msgstr "" + +# type: TP +#: pacman.8:82 +#, no-wrap +msgid "B<--config E<lt>pathE<gt>>" +msgstr "" + +# type: Plain text +#: pacman.8:85 +msgid "Specify an alternate configuration file." +msgstr "" + +# type: TP +#: pacman.8:85 makepkg.8:131 +#, no-wrap +msgid "B<--noconfirm>" +msgstr "" + +# type: Plain text +#: pacman.8:89 +msgid "" +"Bypass any and all \"Are you sure?\" messages. It's not a good idea to do " +"this unless you want to run pacman from a script." +msgstr "" + +# type: TP +#: pacman.8:89 +#, no-wrap +msgid "B<--ask E<lt>numberE<gt>>" +msgstr "" + +# type: Plain text +#: pacman.8:94 +msgid "" +"Finetune the --noconfirm switch by not answering \"yes\" to all libalpm " +"questions, but you are able to specify yes/no for all type of libalpm " +"questions. The types are the followings:" +msgstr "" + +# type: Plain text +#: pacman.8:101 +#, no-wrap +msgid "" +"The given package is in IgnorePkg. (1)\n" +"Replace package foo with bar? (2)\n" +"foo conflicts with bar. Remove bar? (4)\n" +"Do you want to delete the corrupted package? (8)\n" +"Local version is newer. (16)\n" +"Local version is up to date. (32)\n" +msgstr "" + +# type: Plain text +#: pacman.8:104 +msgid "" +"Select for what types do you want to answer yes, sum up the values and use " +"the result as a parameter to this option." +msgstr "" + +# type: TP +#: pacman.8:104 makepkg.8:136 +#, no-wrap +msgid "B<--noprogressbar>" +msgstr "" + +# type: Plain text +#: pacman.8:108 +msgid "" +"Do not show a progress bar when downloading files. This can be useful for " +"scripts that call pacman and capture the output." +msgstr "" + +# type: SH +#: pacman.8:108 +#, no-wrap +msgid "SYNC OPTIONS" +msgstr "" + +# type: TP +#: pacman.8:109 makepkg.8:30 +#, no-wrap +msgid "B<-c, --clean>" +msgstr "" + +# type: Plain text +#: pacman.8:116 +msgid "" +"Remove old packages from the cache. When pacman downloads packages, it " +"saves them in I</var/cache/pacman/pkg>. If you need to free up diskspace, " +"you can remove these packages by using the --clean option. Using one " +"--clean (or -c) switch will only remove I<old> packages. Use it twice to " +"remove I<all> packages from the cache." +msgstr "" + +# type: TP +#: pacman.8:116 +#, no-wrap +msgid "B<-e, --dependsonly>" +msgstr "" + +# type: Plain text +#: pacman.8:121 +msgid "" +"Don't install the packages itself, only their dependencies. This can be " +"handy if you want to install the packages themselves with different options " +"or from source." +msgstr "" + +# type: TP +#: pacman.8:121 pacman.8:191 +#, no-wrap +msgid "B<-g, --groups>" +msgstr "" + +# type: Plain text +#: pacman.8:125 +msgid "" +"Display all the members for each package group specified. If no group names " +"are provided, all groups will be listed." +msgstr "" + +# type: TP +#: pacman.8:125 pacman.8:195 +#, no-wrap +msgid "B<-i, --info>" +msgstr "" + +# type: Plain text +#: pacman.8:130 +msgid "" +"Display dependency information for a given package. This will search " +"through all repositories for a matching package and display the " +"dependencies, conflicts, etc." +msgstr "" + +# type: TP +#: pacman.8:130 pacman.8:199 +#, no-wrap +msgid "B<-l, --list>" +msgstr "" + +# type: Plain text +#: pacman.8:134 +msgid "" +"List all files in the specified repositories. Multiple repositories can be " +"specified on the command line." +msgstr "" + +# type: TP +#: pacman.8:134 +#, no-wrap +msgid "B<-p, --print-uris>" +msgstr "" + +# type: Plain text +#: pacman.8:139 +msgid "" +"Print out URIs for each package that will be installed, including any " +"dependencies that have yet to be installed. These can be piped to a file " +"and downloaded at a later time, using a program like wget." +msgstr "" + +# type: TP +#: pacman.8:139 pacman.8:215 +#, no-wrap +msgid "B<-s, --search E<lt>regexpE<gt>>" +msgstr "" + +# type: Plain text +#: pacman.8:143 +msgid "" +"This will search each package in the package list for names or descriptions " +"that contains E<lt>regexpE<gt>." +msgstr "" + +# type: TP +#: pacman.8:143 +#, no-wrap +msgid "B<-u, --sysupgrade>" +msgstr "" + +# type: Plain text +#: pacman.8:151 +msgid "" +"Upgrades all packages that are out of date. pacman will examine every " +"package installed on the system, and if a newer package exists on the server " +"it will upgrade. pacman will present a report of all packages it wants to " +"upgrade and will not proceed without user confirmation. Dependencies are " +"automatically resolved at this level and will be installed/upgraded if " +"necessary." +msgstr "" + +# type: TP +#: pacman.8:151 +#, no-wrap +msgid "B<-w, --downloadonly>" +msgstr "" + +# type: Plain text +#: pacman.8:154 +msgid "Retrieve all packages from the server, but do not install/upgrade anything." +msgstr "" + +# type: TP +#: pacman.8:154 +#, no-wrap +msgid "B<-y, --refresh>" +msgstr "" + +# type: Plain text +#: pacman.8:159 +msgid "" +"Download a fresh copy of the master package list from the ftp server defined " +"in I</etc/pacman.conf>. This should typically be used each time you use " +"B<--sysupgrade>." +msgstr "" + +# type: TP +#: pacman.8:159 +#, no-wrap +msgid "B<--ignore E<lt>pkgE<gt>>" +msgstr "" + +# type: Plain text +#: pacman.8:164 +msgid "" +"This option functions exactly the same as the B<IgnorePkg> configuration " +"directive. Sometimes it can be handy to skip some package updates without " +"having to edit I<pacman.conf> each time." +msgstr "" + +# type: SH +#: pacman.8:164 +#, no-wrap +msgid "REMOVE OPTIONS" +msgstr "" + +# type: TP +#: pacman.8:165 +#, no-wrap +msgid "B<-c, --cascade>" +msgstr "" + +# type: Plain text +#: pacman.8:169 +msgid "" +"Remove all target packages, as well as all packages that depend on one or " +"more target packages. This operation is recursive." +msgstr "" + +# type: TP +#: pacman.8:169 +#, no-wrap +msgid "B<-k, --keep>" +msgstr "" + +# type: Plain text +#: pacman.8:172 +msgid "Removes the database entry only. Leaves all files in place." +msgstr "" + +# type: TP +#: pacman.8:172 +#, no-wrap +msgid "B<-n, --nosave>" +msgstr "" + +# type: Plain text +#: pacman.8:179 +msgid "" +"Instructs pacman to ignore file backup designations. Normally, when a file " +"is about to be I<removed> from the system the database is first checked to " +"see if the file should be renamed to a .pacsave extension. If B<--nosave> " +"is used, these designations are ignored and the files are removed." +msgstr "" + +# type: TP +#: pacman.8:179 +#, no-wrap +msgid "B<-s, --recursive>" +msgstr "" + +# type: Plain text +#: pacman.8:185 +msgid "" +"For each target specified, remove it and all its dependencies, provided that " +"(A) they are not required by other packages; and (B) they were not " +"explicitly installed by the user. This option is analagous to a backwards " +"--sync operation." +msgstr "" + +# type: SH +#: pacman.8:185 +#, no-wrap +msgid "QUERY OPTIONS" +msgstr "" + +# type: TP +#: pacman.8:186 +#, no-wrap +msgid "B<-e, --orphans>" +msgstr "" + +# type: Plain text +#: pacman.8:191 +msgid "" +"List all packages that were installed as a dependency (ie, not installed " +"explicitly) and are not required by any other packages." +msgstr "" + +# type: Plain text +#: pacman.8:195 +msgid "" +"Display all groups that a specified package is part of. If no package names " +"are provided, all groups and members will be listed." +msgstr "" + +# type: Plain text +#: pacman.8:199 +msgid "" +"Display information on a given package. If it is used with the B<-p> option " +"then the .PKGINFO file will be printed." +msgstr "" + +# type: Plain text +#: pacman.8:203 +msgid "" +"List all files owned by E<lt>packageE<gt>. Multiple packages can be " +"specified on the command line." +msgstr "" + +# type: TP +#: pacman.8:203 +#, no-wrap +msgid "B<-m, --foreign>" +msgstr "" + +# type: Plain text +#: pacman.8:207 +msgid "" +"List all packages that were not found in the sync database(s). Typically " +"these are packages that were downloaded manually and installed with --add." +msgstr "" + +# type: TP +#: pacman.8:207 +#, no-wrap +msgid "B<-o, --owns E<lt>fileE<gt>>" +msgstr "" + +# type: Plain text +#: pacman.8:210 +msgid "Search for the package that owns E<lt>fileE<gt>." +msgstr "" + +# type: TP +#: pacman.8:210 +#, no-wrap +msgid "B<-p, --file>" +msgstr "" + +# type: Plain text +#: pacman.8:215 +msgid "" +"Tells pacman that the package supplied on the command line is a file, not an " +"entry in the database. Pacman will decompress the file and query it. This " +"is useful with B<--info> and B<--list>." +msgstr "" + +# type: Plain text +#: pacman.8:219 +msgid "" +"This will search each locally-installed package for names or descriptions " +"that contains E<lt>regexpE<gt>." +msgstr "" + +# type: SH +#: pacman.8:219 +#, no-wrap +msgid "HANDLING CONFIG FILES" +msgstr "" + +# type: Plain text +#: pacman.8:226 +msgid "" +"pacman uses the same logic as rpm to determine action against files that are " +"designated to be backed up. During an upgrade, it uses 3 md5 hashes for " +"each backup file to determine the required action: one for the original file " +"installed, one for the new file that's about to be installed, and one for " +"the actual file existing on the filesystem. After comparing these 3 hashes, " +"the follow scenarios can result:" +msgstr "" + +# type: TP +#: pacman.8:226 +#, no-wrap +msgid "original=B<X>, current=B<X>, new=B<X>" +msgstr "" + +# type: Plain text +#: pacman.8:229 +msgid "All three files are the same, so we win either way. Install the new file." +msgstr "" + +# type: TP +#: pacman.8:229 +#, no-wrap +msgid "original=B<X>, current=B<X>, new=B<Y>" +msgstr "" + +# type: Plain text +#: pacman.8:234 +msgid "" +"The current file is un-altered from the original but the new one is " +"different. Since the user did not ever modify the file, and the new one may " +"contain improvements/bugfixes, we install the new file." +msgstr "" + +# type: TP +#: pacman.8:234 +#, no-wrap +msgid "original=B<X>, current=B<Y>, new=B<X>" +msgstr "" + +# type: Plain text +#: pacman.8:239 +msgid "" +"Both package versions contain the exact same file, but the one on the " +"filesystem has been modified since. In this case, we leave the current file " +"in place." +msgstr "" + +# type: TP +#: pacman.8:239 +#, no-wrap +msgid "original=B<X>, current=B<Y>, new=B<Y>" +msgstr "" + +# type: Plain text +#: pacman.8:242 +msgid "" +"The new one is identical to the current one. Win win. Install the new " +"file." +msgstr "" + +# type: TP +#: pacman.8:242 +#, no-wrap +msgid "original=B<X>, current=B<Y>, new=B<Z>" +msgstr "" + +# type: Plain text +#: pacman.8:247 +msgid "" +"All three files are different, so we install the new file with a .pacnew " +"extension and warn the user, so she can manually move the file into place " +"after making any necessary customizations." +msgstr "" + +# type: SH +#: pacman.8:247 makepkg.8:141 +#, no-wrap +msgid "CONFIGURATION" +msgstr "" + +# type: Plain text +#: pacman.8:253 +msgid "" +"pacman will attempt to read I</etc/pacman.conf> each time it is invoked. " +"This configuration file is divided into sections or I<repositories>. Each " +"section defines a package repository that pacman can use when searching for " +"packages in --sync mode. The exception to this is the I<options> section, " +"which defines global options." +msgstr "" + +# type: SH +#: pacman.8:254 +#, no-wrap +msgid "Example:" +msgstr "" + +# type: Plain text +#: pacman.8:260 +#, no-wrap +msgid "" +"[options]\n" +"NoUpgrade = etc/passwd etc/group etc/shadow\n" +"NoUpgrade = etc/fstab\n" +msgstr "" + +# type: Plain text +#: pacman.8:262 +#, no-wrap +msgid "Include = /etc/pacman.d/current\n" +msgstr "" + +# type: Plain text +#: pacman.8:265 +#, no-wrap +msgid "" +"[custom]\n" +"Server = file:///home/pkgs\n" +msgstr "" + +# type: SH +#: pacman.8:268 +#, no-wrap +msgid "CONFIG: OPTIONS" +msgstr "" + +# type: TP +#: pacman.8:269 +#, no-wrap +msgid "B<DBPath = path/to/db/dir>" +msgstr "" + +# type: Plain text +#: pacman.8:273 +msgid "" +"Overrides the default location of the toplevel database directory. The " +"default is I<var/lib/pacman>." +msgstr "" + +# type: TP +#: pacman.8:273 +#, no-wrap +msgid "B<CacheDir = path/to/cache/dir>" +msgstr "" + +# type: Plain text +#: pacman.8:277 +msgid "" +"Overrides the default location of the package cache directory. The default " +"is I<var/cache/pacman>." +msgstr "" + +# type: TP +#: pacman.8:277 +#, no-wrap +msgid "B<HoldPkg = E<lt>packageE<gt> [package] ...>" +msgstr "" + +# type: Plain text +#: pacman.8:281 +msgid "" +"If a user tries to B<--remove> a package that's listed in HoldPkg, pacman " +"will ask for confirmation before proceeding." +msgstr "" + +# type: TP +#: pacman.8:281 +#, no-wrap +msgid "B<IgnorePkg = E<lt>packageE<gt> [package] ...>" +msgstr "" + +# type: Plain text +#: pacman.8:285 +msgid "" +"Instructs pacman to ignore any upgrades for this package when performing a " +"B<--sysupgrade>." +msgstr "" + +# type: TP +#: pacman.8:285 +#, no-wrap +msgid "B<UpgradeDelay = E<lt>numberE<gt>>" +msgstr "" + +# type: Plain text +#: pacman.8:289 +msgid "" +"Upgrade only the packages that are at least E<lt>numberE<gt> days old when " +"performing a B<--sysupgrade>." +msgstr "" + +# type: TP +#: pacman.8:289 +#, no-wrap +msgid "B<Include = E<lt>pathE<gt>>" +msgstr "" + +# type: Plain text +#: pacman.8:293 +msgid "" +"Include another config file. This config file can include repositories or " +"general configuration options." +msgstr "" + +# type: TP +#: pacman.8:293 +#, no-wrap +msgid "B<ProxyServer = E<lt>host|ipE<gt>[:port]>" +msgstr "" + +# type: Plain text +#: pacman.8:296 +msgid "If set, pacman will use this proxy server for all ftp/http transfers." +msgstr "" + +# type: TP +#: pacman.8:296 +#, no-wrap +msgid "B<XferCommand = /path/to/command %u>" +msgstr "" + +# type: Plain text +#: pacman.8:302 +msgid "" +"If set, pacman will use this external program to download all remote files. " +"All instances of B<%u> will be replaced with the URL to be downloaded. If " +"present, instances of B<%o> will be replaced with the local filename, plus a " +"\".part\" extension, which allows programs like wget to do file resumes " +"properly." +msgstr "" + +# type: Plain text +#: pacman.8:306 +msgid "" +"This option is useful for users who experience problems with pacman's " +"built-in http/ftp support, or need the more advanced proxy support that " +"comes with utilities like wget." +msgstr "" + +# type: TP +#: pacman.8:306 +#, no-wrap +msgid "B<NoPassiveFtp>" +msgstr "" + +# type: Plain text +#: pacman.8:309 +msgid "" +"Disables passive ftp connections when downloading packages. (aka Active " +"Mode)" +msgstr "" + +# type: TP +#: pacman.8:309 +#, no-wrap +msgid "B<NoUpgrade = E<lt>fileE<gt> [file] ...>" +msgstr "" + +# type: Plain text +#: pacman.8:313 +msgid "" +"All files listed with a B<NoUpgrade> directive will never be touched during " +"a package install/upgrade. I<Note:> do not include the leading slash when " +"specifying files." +msgstr "" + +# type: TP +#: pacman.8:313 +#, no-wrap +msgid "B<NoExtract = E<lt>fileE<gt> [file] ...>" +msgstr "" + +# type: Plain text +#: pacman.8:320 +msgid "" +"All files listed with a B<NoExtract> directive will never be extracted from " +"a package into the filesystem. This can be useful when you don't want part " +"of a package to be installed. For example, if your httpd root uses an " +"index.php, then you would not want the index.html file to be extracted from " +"the apache package." +msgstr "" + +# type: TP +#: pacman.8:320 +#, no-wrap +msgid "B<UseSyslog>" +msgstr "" + +# type: Plain text +#: pacman.8:324 +msgid "" +"Log action messages through syslog(). This will insert pacman log entries " +"into your /var/log/messages or equivalent." +msgstr "" + +# type: TP +#: pacman.8:324 +#, no-wrap +msgid "B<LogFile = /path/to/file>" +msgstr "" + +# type: Plain text +#: pacman.8:327 +msgid "Log actions directly to a file, usually /var/log/pacman.log." +msgstr "" + +# type: SH +#: pacman.8:328 +#, no-wrap +msgid "CONFIG: REPOSITORIES" +msgstr "" + +# type: Plain text +#: pacman.8:335 +msgid "" +"Each repository section defines a section name and at least one location " +"where the packages can be found. The section name is defined by the string " +"within square brackets (eg, the two above are 'current' and 'custom'). " +"Locations are defined with the I<Server> directive and follow a URL naming " +"structure. Currently only ftp is supported for remote servers. If you want " +"to use a local directory, you can specify the full path with a 'file://' " +"prefix, as shown above." +msgstr "" + +# type: SH +#: pacman.8:335 +#, no-wrap +msgid "USING YOUR OWN REPOSITORY" +msgstr "" + +# type: Plain text +#: pacman.8:339 +msgid "" +"Let's say you have a bunch of custom packages in I</home/pkgs> and their " +"respective FrugalBuild files are all in I</var/fst/local>. All you need to " +"do is generate a compressed package database in the I</home/pkgs> directory " +"so pacman can find it when run with --refresh." +msgstr "" + +# type: Plain text +#: pacman.8:343 +#, no-wrap +msgid "# gensync /var/fst/local /home/pkgs/custom.fdb\n" +msgstr "" + +# type: Plain text +#: pacman.8:353 +msgid "" +"The above command will read all FrugalBuild files in /var/fst/local and " +"generate a compressed database called /home/pkgs/custom.fdb. Note that the " +"database must be of the form I<{treename}.fdb>, where {treename} is the name " +"of the section defined in the configuration file. That's it! Now configure " +"your I<custom> section in the configuration file as shown in the config " +"example above. Pacman will now use your package repository. If you add new " +"packages to the repository, remember to re-generate the database and use " +"pacman's --refresh option." +msgstr "" + +# type: SH +#: pacman.8:353 makepkg.8:149 FrugalBuild.8:453 +#, no-wrap +msgid "SEE ALSO" +msgstr "" + +# type: Plain text +#: pacman.8:355 +msgid "B<makepkg> is the package-building tool that comes with pacman." +msgstr "" + +# type: SH +#: pacman.8:355 makepkg.8:152 FrugalBuild.8:456 +#, no-wrap +msgid "AUTHOR" +msgstr "" + +# type: Plain text +#: pacman.8:359 makepkg.8:156 FrugalBuild.8:460 +#, no-wrap +msgid "" +"Judd Vinet E<lt>jvinet@zeroflux.orgE<gt>\n" +"and the Frugalware developers E<lt>frugalware-devel@frugalware.orgE<gt>\n" +msgstr "" + +# type: TH +#: makepkg.8:1 +#, no-wrap +msgid "makepkg" +msgstr "" + +# type: TH +#: makepkg.8:1 +#, no-wrap +msgid "January 30, 2006" +msgstr "" + +# type: TH +#: makepkg.8:1 FrugalBuild.8:1 +#, no-wrap +msgid "Frugalware Developer Manual" +msgstr "" + +# type: Plain text +#: makepkg.8:4 +msgid "makepkg - package build utility" +msgstr "" + +# type: Plain text +#: makepkg.8:6 +msgid "B<makepkg [options]>" +msgstr "" + +# type: Plain text +#: makepkg.8:15 +msgid "" +"B<makepkg> will build packages for you. All it needs is a build-capable " +"linux platform, wget, and some build scripts. The advantage to a " +"script-based build is that you only really do the work once. Once you have " +"the build script for a package, you just need to run makepkg and it will do " +"the rest: download and validate source files, check dependencies, configure " +"the buildtime settings, build the package, install the package into a " +"temporary root, make customizations, generate meta-info, and package the " +"whole thing up for B<pacman> to use." +msgstr "" + +# type: Plain text +#: makepkg.8:18 +msgid "" +"B<makeworld> can be used to rebuild an entire package group or the entire " +"build tree. See B<makeworld --help> for syntax." +msgstr "" + +# type: TP +#: makepkg.8:20 +#, no-wrap +msgid "B<-b, --builddeps>" +msgstr "" + +# type: Plain text +#: makepkg.8:27 +msgid "" +"Build missing dependencies from source. When makepkg finds missing " +"build-time or run-time dependencies, it will look for the dependencies' " +"FrugalBuild files under $fst_root (set in your /etc/repoman.conf). If it " +"finds them it will run another copy of makepkg to build and install the " +"missing dependencies. The child makepkg calls will be made with the B<-b> " +"and B<-i> options." +msgstr "" + +# type: TP +#: makepkg.8:27 +#, no-wrap +msgid "B<-B, --noccache>" +msgstr "" + +# type: Plain text +#: makepkg.8:30 +msgid "Do not use ccache during build." +msgstr "" + +# type: Plain text +#: makepkg.8:33 +msgid "Clean up leftover work files/directories after a successful build." +msgstr "" + +# type: TP +#: makepkg.8:33 +#, no-wrap +msgid "B<-C, --cleancache>" +msgstr "" + +# type: Plain text +#: makepkg.8:38 +msgid "" +"Used with --chroot cleans up the chroot which means removing unnecessary " +"packages from it. If used twice, then it removes all source files from the " +"cache directory and cleans up the full compiler cache to free up diskspace." +msgstr "" + +# type: Plain text +#: makepkg.8:43 +msgid "" +"Do not perform any dependency checks. This will let you override/ignore any " +"dependencies required. There's a good chance this option will break the " +"build process if all of the dependencies aren't installed." +msgstr "" + +# type: TP +#: makepkg.8:43 +#, no-wrap +msgid "B<-D E<lt>pkgnameE<gt>>" +msgstr "" + +# type: Plain text +#: makepkg.8:46 +msgid "Clean up only one package's compiler cache. (Uses ccache -C.)" +msgstr "" + +# type: TP +#: makepkg.8:46 +#, no-wrap +msgid "B<-e, --noextract>" +msgstr "" + +# type: Plain text +#: makepkg.8:51 +msgid "" +"Do not extract source files. Instead, use whatever already exists in the " +"src/ directory. This is handy if you want to go into src and manually " +"patch/tweak code, then make a package out of the result." +msgstr "" + +# type: Plain text +#: makepkg.8:56 +msgid "" +"B<makepkg> will not build a package if a I<pkgname-pkgver-pkgrel-arch.fpm> " +"file already exists in the build directory. You can override this behaviour " +"with the B<--force> switch." +msgstr "" + +# type: TP +#: makepkg.8:56 +#, no-wrap +msgid "B<-G, --genmd5>" +msgstr "" + +# type: Plain text +#: makepkg.8:61 +msgid "" +"Download all source files (if required) and use I<md5sum> to generate md5 " +"hashes for each of them. You can then redirect the output into your " +"FrugalBuild for source validation (makepkg -G E<gt>E<gt>FrugalBuild)." +msgstr "" + +# type: TP +#: makepkg.8:61 +#, no-wrap +msgid "B<-g, --gensha1>" +msgstr "" + +# type: Plain text +#: makepkg.8:66 +msgid "" +"Download all source files (if required) and use I<sha1sum> to generate sha1 " +"hashes for each of them. You can then redirect the output into your " +"FrugalBuild for source validation (makepkg -g E<gt>E<gt>FrugalBuild)." +msgstr "" + +# type: Plain text +#: makepkg.8:69 +msgid "Output syntax and commandline options." +msgstr "" + +# type: TP +#: makepkg.8:69 +#, no-wrap +msgid "B<-i, --install>" +msgstr "" + +# type: Plain text +#: makepkg.8:72 +msgid "Install/Upgrade the package after a successful build." +msgstr "" + +# type: TP +#: makepkg.8:72 +#, no-wrap +msgid "B<-j E<lt>jobsE<gt>>" +msgstr "" + +# type: Plain text +#: makepkg.8:76 +msgid "" +"Sets MAKEFLAGS=\"-jE<lt>jobsE<gt>\" before building the package. This is " +"useful for overriding the MAKEFLAGS setting in /etc/makepkg.conf." +msgstr "" + +# type: TP +#: makepkg.8:76 +#, no-wrap +msgid "B<-L, --nolastmod>" +msgstr "" + +# type: Plain text +#: makepkg.8:79 +msgid "Disable updating the Last modified line." +msgstr "" + +# type: TP +#: makepkg.8:79 +#, no-wrap +msgid "B<-k, --logging>" +msgstr "" + +# type: Plain text +#: makepkg.8:82 +msgid "Logging package build process" +msgstr "" + +# type: TP +#: makepkg.8:82 +#, no-wrap +msgid "B<-l E<lt>pkgnameE<gt>>" +msgstr "" + +# type: Plain text +#: makepkg.8:87 +msgid "" +"Download the package's buildscript before starting the build. This is " +"useful if you do not want to do a full 'repoman upd' nor want to download " +"manually the buildscript." +msgstr "" + +# type: TP +#: makepkg.8:87 +#, no-wrap +msgid "B<-m, --nocolor>" +msgstr "" + +# type: Plain text +#: makepkg.8:90 +msgid "Disable color in output messages" +msgstr "" + +# type: TP +#: makepkg.8:90 +#, no-wrap +msgid "B<-n, --nostrip>" +msgstr "" + +# type: Plain text +#: makepkg.8:93 +msgid "Do not strip binaries and libraries." +msgstr "" + +# type: TP +#: makepkg.8:93 +#, no-wrap +msgid "B<-o, --nobuild>" +msgstr "" + +# type: Plain text +#: makepkg.8:96 +msgid "Download and extract files only, do not build." +msgstr "" + +# type: TP +#: makepkg.8:96 +#, no-wrap +msgid "B<-p E<lt>buildscriptE<gt>>" +msgstr "" + +# type: Plain text +#: makepkg.8:99 +msgid "" +"Read the package script I<E<lt>buildscriptE<gt>> instead of the default " +"(I<FrugalBuild>)." +msgstr "" + +# type: TP +#: makepkg.8:99 +#, no-wrap +msgid "B<-r, --rmdeps>" +msgstr "" + +# type: Plain text +#: makepkg.8:103 +msgid "" +"Upon successful build, remove any dependencies installed by makepkg/pacman " +"during dependency auto-resolution (using B<-b> or B<-s>)." +msgstr "" + +# type: TP +#: makepkg.8:103 +#, no-wrap +msgid "B<-R, --chroot>" +msgstr "" + +# type: Plain text +#: makepkg.8:106 +msgid "Build the package in a chroot environment." +msgstr "" + +# type: TP +#: makepkg.8:106 +#, no-wrap +msgid "B<-s, --syncdeps>" +msgstr "" + +# type: Plain text +#: makepkg.8:112 +msgid "" +"Install missing dependencies using pacman. When makepkg finds missing " +"build-time or run-time dependencies, it will run pacman to try and resolve " +"them. If successful, pacman will download the missing packages from a " +"package repository and install them for you." +msgstr "" + +# type: TP +#: makepkg.8:112 +#, no-wrap +msgid "B<-t E<lt>treeE<gt>>" +msgstr "" + +# type: Plain text +#: makepkg.8:117 +msgid "" +"When building in a chroot (using -R) you may want to build packages for a " +"version other than the host one. Using this option, it's possible to build " +"packages for \"stable\" while the host system is \"current\" and vica versa." +msgstr "" + +# type: TP +#: makepkg.8:117 +#, no-wrap +msgid "B<-u, --noup2date>" +msgstr "" + +# type: Plain text +#: makepkg.8:126 +msgid "" +"Do not check for newer version before starting build. Normally makepkg will " +"prevent you from building obsolete source by mistake. If you know what you " +"are doing, you can disable this feature with this switch. B<-S, --sudosync> " +"Install missing dependencies using pacman and sudo. This is the same as " +"B<-s> except that makepkg will call pacman with sudo. This means you don't " +"have to build as root to use dependency auto-resolution." +msgstr "" + +# type: TP +#: makepkg.8:127 +#, no-wrap +msgid "B<-w E<lt>destdirE<gt>>" +msgstr "" + +# type: Plain text +#: makepkg.8:131 +msgid "" +"Write the resulting package file to the directory I<E<lt>destdirE<gt>> " +"instead of the current working directory." +msgstr "" + +# type: Plain text +#: makepkg.8:136 +msgid "" +"When calling pacman to resolve dependencies or conflicts, makepkg can pass " +"the I<--noconfirm> option to it so it does not wait for any user input " +"before proceeding with operations." +msgstr "" + +# type: Plain text +#: makepkg.8:140 +msgid "" +"When calling pacman, makepkg can pass the I<--noprogressbar> option to it. " +"This is useful if one is directing makepkg's output to a non-terminal (ie, a " +"file)." +msgstr "" + +# type: Plain text +#: makepkg.8:146 +msgid "" +"Configuration options are stored in I</etc/makepkg.conf>. This file is " +"parsed as a bash script, so you can export any special compiler flags you " +"wish to use. This is helpful for building for different architectures, or " +"with different optimizations." +msgstr "" + +# type: Plain text +#: makepkg.8:149 +msgid "" +"B<NOTE:> This does not guarantee that all package Makefiles will use your " +"exported variables. Some of them are flaky..." +msgstr "" + +# type: Plain text +#: makepkg.8:152 +msgid "B<FrugalBuild>(8), B<pacman>(8)" +msgstr "" + +# type: TH +#: FrugalBuild.8:1 +#, no-wrap +msgid "FrugalBuild" +msgstr "" + +# type: TH +#: FrugalBuild.8:1 +#, no-wrap +msgid "June 13, 2006" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:4 +msgid "FrugalBuild - Frugalware package builder descriptor" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:8 +msgid "" +"This manual page is meant to describe general rules about FrugalBuilds. If " +"you're interested in the package builder B<makepkg> itself, then see its " +"manual page, not this one." +msgstr "" + +# type: SH +#: FrugalBuild.8:11 +#, no-wrap +msgid "FrugalBuild Example:" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:17 +#, no-wrap +msgid "" +"# Last Modified: Sun, 19 Jun 2005 15:24:32 +0000\n" +"# Compiling Time: 0.17 SBU\n" +"# Maintainer: Name E<lt>email@addr.essE<gt>\n" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:27 +#, no-wrap +msgid "" +"pkgname=dvdauthor\n" +"pkgver=0.6.11\n" +"pkgrel=3\n" +"pkgdesc=\"Will generate a DVD movie from a valid mpeg2 stream\"\n" +"depends=('imagemagick' 'libdvdread')\n" +"Finclude sourceforge\n" +"groups=('xapps')\n" +"archs=('i686' 'x86_64')\n" +"sha1sums=('a99ea7ef6e50646b77ad47a015127925053d34ea')\n" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:29 +#, no-wrap +msgid "# optimization OK\n" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:34 +msgid "" +"As you can see, the setup is fairly simple. The first line tracks the time " +"of the last update, this is automatically updated after a successful build." +msgstr "" + +# type: Plain text +#: FrugalBuild.8:37 +msgid "" +"The next line defines its build time. Of course, it depends on your " +"hardware, so we use SBUs instead of minutes as a unit." +msgstr "" + +# type: Plain text +#: FrugalBuild.8:41 +msgid "" +"SBU is the Static Binutils Unit, which means the time \"repoman merge " +"binutils\" takes on your machine. By default makepkg will print out how many " +"seconds the build took. After you built binutils, you should update your " +"/etc/makepkg.conf:" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:43 +msgid "SBU=\"257\"" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:47 +msgid "" +"The line above means compiling binutils on your machine took 257 seconds. " +"Starting from this point, makepkg will print out SBUs instead of seconds " +"after successful builds, and this SBU value will be equal on anyone's " +"machine." +msgstr "" + +# type: Plain text +#: FrugalBuild.8:53 +msgid "" +"If you wish to maintain the package, write your name or nick and e-mail " +"address to the third line. If you don't plan to maintain the package just " +"wrote the FrugalBuild, then write Contributor instead of Maintainer, and " +"then someone can take it and will add his/her line later. Other lines like " +"\"Modified by\" are not allowed. Use the darcs patch comments to mention " +"others if you wish." +msgstr "" + +# type: Plain text +#: FrugalBuild.8:61 +msgid "" +"pkgname defines the package name. It should not contain any uppercase " +"letters. The package version defines the upstream version, while the " +"package release tracks the Frugalware-specific changes. pkgrel should be an " +"integer, pkgrels like 5wanda1 are reserved for security updates. There the " +"rule is the following: If the original package's pkgrel was 4, then " +"increment it once when you add a security patch, but then use 5wanda1, " +"5wanda2 and so on. This way the user can easily upgrade to pkgrel=5 which is " +"in -current." +msgstr "" + +# type: Plain text +#: FrugalBuild.8:64 +msgid "" +"pkgdesc is a short one-line description for the package. Usually taken from " +"the project's homepage or manpage. Try to keep the lenght under 80 chars." +msgstr "" + +# type: Plain text +#: FrugalBuild.8:69 +msgid "" +"depends() is a bash array which defines the dependencies of the package. " +"depends() means the other package is required for building and using the " +"current one. If the dependency is runtime-only, then use rodepends(), if " +"buildtime-only then use makedepends()." +msgstr "" + +# type: Plain text +#: FrugalBuild.8:78 +msgid "" +"The next line is a special Finclude commands which allows you to inherit any " +"directive from a FrugalBuild scheme. They can be found in the FST, under " +"/source/include. The \"util\" scheme always included, since its provided " +"functions are used by almost every FrugalBuild. Look at the " +"/source/include/sourceforge.sh, it provides the url, up2date and source() " +"directives, so we don't have to specify them here. After the Finclude you " +"can overwrite the inherited directives, for example define a custom up2date " +"if the inherited one is not sutable for you." +msgstr "" + +# type: Plain text +#: FrugalBuild.8:82 +msgid "" +"The groups() array's first element can't be omitted, and it should be a " +"valid \"first group\". This means it should be in a foo or foo-extra format, " +"where foo or foo-extra is a dir under /source in the FST." +msgstr "" + +# type: Plain text +#: FrugalBuild.8:90 +msgid "" +"The archs() array defines for which architectures the given package is " +"available. If it's not available, it means that gensync will skip it when " +"generating package databases. If you are not able to provide a binary " +"package for a given arch, don't include that in archs()! For example, no " +"matter if the package could be compiled in x86_64, if you haven't compiled " +"it yourself, don't include it. If you're sure it won't be available on a " +"given arch (for example it's written in x86 asm), then use !arch, for " +"example !x86_64." +msgstr "" + +# type: Plain text +#: FrugalBuild.8:95 +msgid "" +"The sha1sums() array can be generated with the makepkg -g command. Its " +"purpose is to prevent compiling from wrong sources, especially when the " +"build is automatic. Where it is available you can use signatures(), its goal " +"is that you don't have to update it manually every time." +msgstr "" + +# type: Plain text +#: FrugalBuild.8:103 +msgid "" +"The last line will be added automatically to the end of the FrugalBuild if " +"the build() function used your $CFLAGS or $CXXFLAGS. This is handy if you " +"want to cross-compile on a faster machine for a slower architecture. Until " +"the package doesn't use our $CFLAGS we can't cross-compile it, so please try " +"to avoid creating \"unoptimized\" packages. If the package doesn't contain " +"any architecture-dependent file, then you can add this line manually as " +"makepkg will not detect this." +msgstr "" + +# type: Plain text +#: FrugalBuild.8:111 +msgid "" +"Finally we define a build() function that will build the package. If you " +"don't want to do anything special, probably you don't have to specify " +"anything, as the default build() (inherited from util.sh) will fit your " +"needs. Even if you define a custom build(), probably you can re-use parts of " +"the default build(). For the list of special functions provided by util.sh " +"and others refer to the /source/include dir. Again, util.sh is included " +"automatically, but you have to Finclude the others before using them!" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:117 +msgid "" +"Once the package is successfully installed into the package root, I<makepkg> " +"will prepare some documentation. It will then strip debugging info from " +"libraries and binaries and generate a meta-info file. Finally, it will " +"compress everything into a .fpm file and leave it in the directory you ran " +"B<makepkg> from." +msgstr "" + +# type: Plain text +#: FrugalBuild.8:120 +msgid "" +"At this point you should have a package file in the current directory, named " +"something like name-version-release-arch.fpm. Done!" +msgstr "" + +# type: SH +#: FrugalBuild.8:121 +#, no-wrap +msgid "Install/Upgrade/Remove Scripting" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:125 +msgid "" +"Pacman has the ability to store and execute a package-specific script when " +"it installs, removes, or upgrades a package. This allows a package to " +"\"configure itself\" after installation and do the opposite right before it " +"is removed." +msgstr "" + +# type: Plain text +#: FrugalBuild.8:127 +msgid "The exact time the script is run varies with each operation:" +msgstr "" + +# type: TP +#: FrugalBuild.8:127 +#, no-wrap +msgid "B<pre_install>" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:130 FrugalBuild.8:138 +msgid "script is run right before files are extracted." +msgstr "" + +# type: TP +#: FrugalBuild.8:131 +#, no-wrap +msgid "B<post_install>" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:134 +msgid "script is run right after files are extracted." +msgstr "" + +# type: TP +#: FrugalBuild.8:135 +#, no-wrap +msgid "B<pre_upgrade>" +msgstr "" + +# type: TP +#: FrugalBuild.8:139 +#, no-wrap +msgid "B<post_upgrade>" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:142 +msgid "script is run after files are extracted." +msgstr "" + +# type: TP +#: FrugalBuild.8:143 +#, no-wrap +msgid "B<pre_remove>" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:146 +msgid "script is run right before files are removed." +msgstr "" + +# type: TP +#: FrugalBuild.8:147 +#, no-wrap +msgid "B<post_remove>" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:150 +msgid "script is run right after files are removed." +msgstr "" + +# type: Plain text +#: FrugalBuild.8:154 +msgid "" +"To use this feature, just create a file (eg, pkgname.install) and put it in " +"the same directory as the FrugalBuild script. Then use the I<install> " +"directive:" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:157 +#, no-wrap +msgid "install=pkgname.install\n" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:163 +msgid "" +"The install script does not need to be specified in the I<source> array. If " +"you omit the install directive then makepkg will check for the " +"$pkgname.install install and will use it if it's present." +msgstr "" + +# type: Plain text +#: FrugalBuild.8:166 +msgid "" +"You can find a scriptlet skeleton in the /docs/tech/skel/ directory, use it " +"when creating new packages." +msgstr "" + +# type: Plain text +#: FrugalBuild.8:168 +msgid "The scriptlet messages are parsed, a simple example tells you everything:" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:177 +#, no-wrap +msgid "" +"post_upgrade()\n" +"{\n" +"\techo \"START this will be good\"\n" +"\techo \"DONE 0\"\n" +"\techo \"START this will fail\"\n" +"\techo \"DONE 1\"\n" +"\techo \"old message\"\n" +"}\n" +msgstr "" + +# type: SH +#: FrugalBuild.8:179 +#, no-wrap +msgid "FrugalBuild Directives" +msgstr "" + +# type: TP +#: FrugalBuild.8:180 +#, no-wrap +msgid "B<pkgname>" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:184 +msgid "" +"The name of the package. This has be a unix-friendly name as it will be " +"used in the package filename." +msgstr "" + +# type: TP +#: FrugalBuild.8:185 +#, no-wrap +msgid "B<pkgver>" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:188 +msgid "This is the version of the software as released from the author (eg, 2.7.1)." +msgstr "" + +# type: TP +#: FrugalBuild.8:189 +#, no-wrap +msgid "B<pkgrel>" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:192 +msgid "This is the release number specific to Frugalware Linux packages." +msgstr "" + +# type: TP +#: FrugalBuild.8:193 +#, no-wrap +msgid "B<pkgdesc>" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:196 +msgid "This should be a brief description of the package and its functionality." +msgstr "" + +# type: TP +#: FrugalBuild.8:197 +#, no-wrap +msgid "B<pkgdesc_localized>" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:200 +msgid "Array of the localized package descriptions." +msgstr "" + +# type: Plain text +#: FrugalBuild.8:203 +msgid "The format is the following: pkgdesc_localized=('xx_YY foo' 'xx_YY bar')" +msgstr "" + +# type: TP +#: FrugalBuild.8:204 +#, no-wrap +msgid "B<url>" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:208 +msgid "" +"This field contains an optional URL that is associated with the piece of " +"software being packaged. This is typically the project's website." +msgstr "" + +# type: TP +#: FrugalBuild.8:209 +#, no-wrap +msgid "B<license>" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:213 +msgid "" +"Sets the license type (eg, \"GPL\", \"BSD\", \"NON-FREE\"). (B<Note>: This " +"option is still in development and may change in the future)" +msgstr "" + +# type: TP +#: FrugalBuild.8:214 +#, no-wrap +msgid "B<install>" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:220 +msgid "" +"Specifies a special install script that is to be included in the package. " +"This file should reside in the same directory as the FrugalBuild, and will " +"be copied into the package by makepkg. It does not need to be included in " +"the I<source> array. (eg, install=modutils.install)" +msgstr "" + +# type: TP +#: FrugalBuild.8:221 +#, no-wrap +msgid "B<up2date>" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:226 +msgid "" +"This directive should contain a command that prints the current upstream " +"stable version of the project. This way we can check for newer version " +"without visiting manually the project's website (see above)." +msgstr "" + +# type: TP +#: FrugalBuild.8:227 +#, no-wrap +msgid "B<source >I<(array)>" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:234 +msgid "" +"The I<source> line is an array of source files required to build the " +"package. Source files must reside in the same directory as the FrugalBuild " +"file, unless they have a fully-qualified URL. Then if the source file does " +"not already exist in /var/cache/pacman/src, the file is downloaded by wget." +msgstr "" + +# type: TP +#: FrugalBuild.8:235 +#, no-wrap +msgid "B<md5sums >I<(array)>" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:243 +msgid "" +"If this field is present, it should contain an MD5 hash for every source " +"file specified in the I<source> array (in the same order). makepkg will use " +"this to verify source file integrity during subsequent builds. To easily " +"generate md5sums, first build using the FrugalBuild then run B<makepkg -G " +"E<gt>E<gt>FrugalBuild>. Then you can edit the FrugalBuild and move the " +"I<md5sums> line from the bottom to an appropriate location." +msgstr "" + +# type: TP +#: FrugalBuild.8:244 +#, no-wrap +msgid "B<sha1sums >I<(array)>" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:252 +msgid "" +"If this field is present, it should contain an SHA1 hash for every source " +"file specified in the I<source> array (in the same order). makepkg will use " +"this to verify source file integrity during subsequent builds. To easily " +"generate sha1sums, first build using the FrugalBuild then run B<makepkg -g " +"E<gt>E<gt>FrugalBuild>. Then you can edit the FrugalBuild and move the " +"I<sha1sums> line from the bottom to an appropriate location." +msgstr "" + +# type: TP +#: FrugalBuild.8:253 +#, no-wrap +msgid "B<signatures >I<(array)>" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:258 +msgid "" +"If this field is present, it should contain an array of gpg signatures " +"required to validate the source files. Where there is no signature available " +"just leave it empty, like:" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:260 +msgid "signatures=(${source[0]}.asc '')" +msgstr "" + +# type: TP +#: FrugalBuild.8:261 +#, no-wrap +msgid "B<groups >I<(array)>" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:266 +msgid "" +"This is an array of symbolic names that represent groups of packages, " +"allowing you to install multiple packages by requesting a single target. " +"For example, one could install all KDE packages by installing the 'kde' " +"group." +msgstr "" + +# type: TP +#: FrugalBuild.8:267 +#, no-wrap +msgid "B<archs >I<(array)>" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:272 +msgid "" +"This array defines on which architectures the given package is avalibable. " +"If it's not available, that will mean that gensync will skip it when " +"generating package databases." +msgstr "" + +# type: TP +#: FrugalBuild.8:273 +#, no-wrap +msgid "B<backup >I<(array)>" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:280 +msgid "" +"A space-delimited array of filenames (without a preceding slash). The " +"I<backup> line will be propagated to the package meta-info file for pacman. " +"This will designate all files listed there to be backed up if this package " +"is ever removed from a system. See B<HANDLING CONFIG FILES> in the " +"I<pacman> manpage for more information." +msgstr "" + +# type: TP +#: FrugalBuild.8:281 +#, no-wrap +msgid "B<depends >I<(array)>" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:289 +msgid "" +"An array of packages that this package depends on to build and run. " +"Packages in this list should be surrounded with single quotes and contain at " +"least the package name. They can also include a version requirement of the " +"form B<nameE<lt>E<gt>version>, where E<lt>E<gt> is one of these three " +"comparisons: B<E<gt>=> (greater than equal to), B<E<lt>=> (less than or " +"equal to), or B<=> (equal to). See the FrugalBuild example above for an " +"example of the I<depends> directive." +msgstr "" + +# type: TP +#: FrugalBuild.8:290 +#, no-wrap +msgid "B<makedepends >I<(array)>" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:294 +msgid "" +"An array of packages that this package depends on to build (ie, not required " +"to run). Packages in this list should follow the same format as I<depends>." +msgstr "" + +# type: TP +#: FrugalBuild.8:295 +#, no-wrap +msgid "B<rodepends >I<(array)>" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:302 +msgid "" +"An array of packages that this package depends on to run (ie, not required " +"to build). Generally I<rodepends> should be avoided in favour of I<depends> " +"except where this will create circular dependency chains. (For example " +"building logrotate doesn't requires to have dcron installed.) Packages in " +"this list should follow the same format as I<depends>." +msgstr "" + +# type: TP +#: FrugalBuild.8:303 +#, no-wrap +msgid "B<conflicts >I<(array)>" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:308 +msgid "" +"An array of packages that will conflict with this package (ie, they cannot " +"both be installed at the same time). This directive follows the same format " +"as I<depends> except you cannot specify versions here, only package names." +msgstr "" + +# type: TP +#: FrugalBuild.8:309 +#, no-wrap +msgid "B<provides >I<(array)>" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:315 +msgid "" +"An array of \"virtual provisions\" that this package provides. This allows " +"a package to provide dependency names other than it's own package name. For " +"example, the kernel-scsi and kernel-ide packages can each provide 'kernel' " +"which allows packages to simply depend on 'kernel' rather than \"kernel-scsi " +"OR kernel-ide OR ...\"" +msgstr "" + +# type: TP +#: FrugalBuild.8:316 +#, no-wrap +msgid "B<replaces >I<(array)>" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:322 +msgid "" +"This is an array of packages that this package should replace, and can be " +"used to handle renamed/combined packages. For example, if the kernel " +"package gets renamed to kernel-ide, then subsequent 'pacman -Syu' calls will " +"not pick up the upgrade, due to the differing package names. I<replaces> " +"handles this." +msgstr "" + +# type: TP +#: FrugalBuild.8:323 +#, no-wrap +msgid "B<options >I<(array)>" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:326 +msgid "This is an array of various boolean options. The possible values are:" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:339 +#, no-wrap +msgid "" +"nodocs Don't add any documentation automatically (ie. when there'll be\n" +" a separate documentation subpackage).\n" +"nostrip Don't strip binaries/libraries.\n" +"force This is used to force the package to be upgraded by " +"--sysupgrade,\n" +" even if its an older version.\n" +"nobuild If this directive set, gensync will ignore this package, so " +"users\n" +" must build these packages on their machines, they will not be " +"able\n" +" to install them with pacman -S. Useful for closed-source, but\n" +" freeware programs.\n" +"nofakeroot Don't drop privileges after chrooting. Required by some broken\n" +" packages.\n" +"scriptlet Don't skip executing scriptlets even if we're in chroot.\n" +msgstr "" + +# type: SH +#: FrugalBuild.8:341 +#, no-wrap +msgid "What is the process of chrooted build ?" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:347 +msgid "" +"First, what is chroot? We currently use fakeroot to prevent build() from " +"modifying the host system, and we use a prefix or DESTDIR directive to " +"install everything to a directory and not under to the host system. This is " +"good, but not enough." +msgstr "" + +# type: Plain text +#: FrugalBuild.8:355 +msgid "" +"This system lacks of the ability to control the list of installed packages " +"during the build on the system of a packager, the given compiled package " +"maybe linked itself to an extra installed library. This way we can't really " +"control the list of real dependencies. For example if libquicktime is " +"installed from source on my system, then mplayer or any other program can " +"link itself to that, and so that depends() will be incorrect. Or if I have " +"the closed source binary NVidia drivers installed, some programs link tho " +"NVidia's libraries." +msgstr "" + +# type: Plain text +#: FrugalBuild.8:358 +msgid "" +"Of course there is a sollution to avoid this, to use a real chroot instead " +"of a simple fakeroot. What is this means? The followings:" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:366 +msgid "" +"When starting the build, a core chroot system is installed under " +"/var/chroot. (Of course you can change this value under /etc/makepkg.conf.) " +"The core system contains ~60 packages which are must installed to build any " +"package in a chrooted environment. These packages (for example gcc, " +"kernel-headers, make) should not be mentioned in makedepends(). 'pacman -Sg " +"core chroot-core devel-core' should show you the actial list. (We try to " +"change this list rarely of course.)" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:372 +msgid "" +"When you start building with makepkg -R, pacman will install these packages " +"to /var/chroot if necessary. This will produce a fully \"clean\" Frugalware " +"system, that consits of base packages only. This /var/chroot is fully " +"separated from the host system so that this will solve the problems " +"mentioned above. (Linking to a library installed from source, etc.)" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:377 +msgid "" +"Here comes the fun part. The packages listed in depends() and makedepends() " +"are installed to this clean (/var/chroot) system. From this point, this " +"chroot is capable to build the specified package in it without any " +"unnecessary package installed, fully separated from the host system." +msgstr "" + +# type: Plain text +#: FrugalBuild.8:381 +msgid "" +"After this the chroot should be cleaned up which means the removal of the " +"installed depends() and makedepends(). This ensures us not to build from " +"scratch the core chroot." +msgstr "" + +# type: Plain text +#: FrugalBuild.8:385 +msgid "" +"This way we can prevent lots of dependency problems and it is even possible " +"to build packages for a different Frugalware version. This is quite efficent " +"when building security updates or fixing critical bugs in the -stable tree." +msgstr "" + +# type: Plain text +#: FrugalBuild.8:389 +msgid "" +"If the build is failed, the working directory will not be deleted, you can " +"find it under /var/chroot/var/tmp/fst. Later if you want to clean your " +"chroot (delete the working directory and remove unnecessary packages) you " +"can use 'makepkg -CR'." +msgstr "" + +# type: Plain text +#: FrugalBuild.8:392 +msgid "" +"To activate building in a chroot, you should run makepkg as root at least " +"with the -R option." +msgstr "" + +# type: SH +#: FrugalBuild.8:393 +#, no-wrap +msgid "Package splitting" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:397 +msgid "" +"Package splitting means moving out a list of specifed files to subpackages " +"(like libmysql out of mysql) and then defining the properties of " +"subpackages." +msgstr "" + +# type: Plain text +#: FrugalBuild.8:402 +msgid "" +"NOTE: if you create several subpackages, maintaining those packages will " +"require more and more time. Thus, unnecessary splits aren't welcome. " +"Especially, if you split out a library, then don't move the headers to the " +"package just to speed up building with a few seconds!" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:405 +msgid "" +"The B<subpkgs()> array is to define the pkgnames of the subpackages. From " +"now all the directives has their subfoo equivalent:" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:421 +#, no-wrap +msgid "" +"pkgname -E<gt> subpkgs()\n" +"pkgdesc -E<gt> subdescs()\n" +"pkgdesc_localized -E<gt> subdescs_localized()\n" +"license() -E<gt> sublicense()\n" +"replaces() -E<gt> subreplaces()\n" +"groups() -E<gt> subgroups()\n" +"depends() -E<gt> subdepends()\n" +"rodepends() -E<gt> subrodepends()\n" +"removes() -E<gt> subremoves()\n" +"conflicts() -E<gt> subconflicts()\n" +"provides() -E<gt> subprovides()\n" +"backup() -E<gt> subbackup()\n" +"install -E<gt> subinstall()\n" +"options -E<gt> suboptions()\n" +"archs -E<gt> subarchs()\n" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:425 +msgid "" +"Also note that bash does not support two-dimensional arrays, so when " +"defining the array of arrays, then quotes are the major separators and " +"spaces are the minor ones." +msgstr "" + +# type: Plain text +#: FrugalBuild.8:427 +msgid "Simple example:" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:434 +#, no-wrap +msgid "" +"Add the followings to your bottom of your FrugalBuild\n" +"subpkgs=('foo' 'bar')\n" +"subdescs=('desc of foo' 'desc of bar')\n" +"subdepends=('foodep1 foodep2' 'bardep1 bardep2')\n" +"subgroups=('apps' 'apps')\n" +"subarchs=('i686 x86_64' 'i686 x86_64')\n" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:438 +msgid "" +"You may define conflicts, replaces and other directives for your " +"subpackages, but the requirement is only to define these 5 ones." +msgstr "" + +# type: Plain text +#: FrugalBuild.8:443 +msgid "" +"The second part is to move some files to the - just defined - " +"subpackages. You should use the Fsplit command for this at the end of your " +"build() function. You can read more about Fsplit in the fwmakepkg " +"documentation, but here is a short example:" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:446 +#, no-wrap +msgid "Fsplit subpkgname usr/share/\n" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:449 +msgid "" +"This will move the /usr/share dir of the package to the \"subpkgname\" " +"subpackage." +msgstr "" + +# type: Plain text +#: FrugalBuild.8:452 +msgid "" +"NOTE: never use a trailing slash when defining file patterns, especially if " +"you use wildcards in it!" +msgstr "" + +# type: Plain text +#: FrugalBuild.8:456 +msgid "B<makepkg>(8), B<pacman>(8)" +msgstr "" |