4550
4514
"не является следствием новых проблем. После недели работы без заявленных "
4551
4515
"проблем, обновление попадает в раздел ``updates``."
4553
#: ../ubuntu-packaging-guide/security-and-stable-release-updates.rst:138
4517
#: ../ubuntu-packaging-guide/security-and-stable-release-updates.rst:137
4555
4519
"See the `Stable Release Updates wiki page <SRUWiki_>`_ for more information."
4557
4521
"Смотрите 'Вики страницу Обновлений Стабильного Релиза <SRUWiki_>`_ для "
4558
4522
"получения дополнительной информации."
4524
#: ../ubuntu-packaging-guide/setting-up-sbuild.rst:3
4525
msgid "Setting up sbuild"
4528
#: ../ubuntu-packaging-guide/setting-up-sbuild.rst:5
4530
"``sbuild`` simplifies building Debian/Ubuntu binary package from source in "
4531
"clean environment. It allows to try debugging packages in environment "
4532
"similar (as opposed to ``pbuild``) to builders used by Launchpad."
4535
#: ../ubuntu-packaging-guide/setting-up-sbuild.rst:9
4537
"It works on different architectures and allows to build packages for other "
4538
"releases. It needs kernel supporting overlayfs."
4541
#: ../ubuntu-packaging-guide/setting-up-sbuild.rst:13
4542
msgid "Installing sbuild"
4545
#: ../ubuntu-packaging-guide/setting-up-sbuild.rst:15
4547
"To use sbuild, you need to install sbuild and other required packages and "
4548
"add yourself to the ``sbuild`` group::"
4551
#: ../ubuntu-packaging-guide/setting-up-sbuild.rst:21
4552
msgid "Create ``.sbuildrc`` in your home directory with following content::"
4555
#: ../ubuntu-packaging-guide/setting-up-sbuild.rst:50
4557
"Replace “Your Name <user@example.org>” with your name and e-mail address. "
4558
"Change default distribution if you want, but remember that you can specify "
4559
"target distribution when executing command."
4562
#: ../ubuntu-packaging-guide/setting-up-sbuild.rst:54
4564
"If you haven’t restarted your session after adding yourself to the "
4565
"``sbuild`` group, enter::"
4568
#: ../ubuntu-packaging-guide/setting-up-sbuild.rst:59
4570
"Generate GPG keypair for sbuild and create chroot for specified release::"
4573
#: ../ubuntu-packaging-guide/setting-up-sbuild.rst:64
4575
"This will create chroot for your current architecture. You might want to "
4576
"specify another architecture. For this, you can use ``--arch`` option. "
4580
#: ../ubuntu-packaging-guide/setting-up-sbuild.rst:71
4581
msgid "Using schroot"
4584
#: ../ubuntu-packaging-guide/setting-up-sbuild.rst:74
4585
msgid "Entering schroot"
4588
#: ../ubuntu-packaging-guide/setting-up-sbuild.rst:76
4590
"You can use ``schroot -c <release>-<architecture> [-u <USER>]`` to enter "
4591
"newly created chroot, but that’s not exactly the reason why you are using "
4595
#: ../ubuntu-packaging-guide/setting-up-sbuild.rst:83
4596
msgid "Using schroot for package building"
4599
#: ../ubuntu-packaging-guide/setting-up-sbuild.rst:85
4601
"To build package using sbuild chroot, we use (surprisingly) the ``sbuild`` "
4602
"command. For example, to build ``hello`` package from x86_64 chroot, after "
4603
"applying some changes::"
4606
#: ../ubuntu-packaging-guide/setting-up-sbuild.rst:98
4608
"To build package from source package (``.dsc``), use location of the source "
4609
"package as second parameter::"
4612
#: ../ubuntu-packaging-guide/setting-up-sbuild.rst:103
4614
"To make use of all power of your CPU, you can specify number of threads used "
4615
"for building using standard ``-j<threads>``::"
4618
#: ../ubuntu-packaging-guide/setting-up-sbuild.rst:109
4619
msgid "Maintaining schroots"
4622
#: ../ubuntu-packaging-guide/setting-up-sbuild.rst:112
4623
msgid "Listing chroots"
4626
#: ../ubuntu-packaging-guide/setting-up-sbuild.rst:114
4628
"To get list of all your sbuild chroots, use ``schroot -l``. The ``source:`` "
4629
"chroots are used as base of new schroots. Changes here aren’t recommended, "
4630
"but if you have specific reason, you can open it using something like::"
4633
#: ../ubuntu-packaging-guide/setting-up-sbuild.rst:122
4634
msgid "Updating schroots"
4637
#: ../ubuntu-packaging-guide/setting-up-sbuild.rst:124
4638
msgid "To upgrade the whole schroot::"
4641
#: ../ubuntu-packaging-guide/setting-up-sbuild.rst:129
4642
msgid "Expiring active schroots"
4645
#: ../ubuntu-packaging-guide/setting-up-sbuild.rst:131
4647
"If because of any reason, you haven’t stopped your schroot, you can expire "
4648
"all active schroots using::"
4651
#: ../ubuntu-packaging-guide/setting-up-sbuild.rst:137
4652
#: ../ubuntu-packaging-guide/ubuntu-dev-tools.rst:136
4653
msgid "Further reading"
4656
#: ../ubuntu-packaging-guide/setting-up-sbuild.rst:139
4657
msgid "There is `Debian wiki page <DebianWiki_>`_ covering sbuild usage."
4660
#: ../ubuntu-packaging-guide/setting-up-sbuild.rst:141
4661
msgid "`Ubuntu Wiki <UbuntuWiki_>`_ also has article about basics of sbuild."
4664
#: ../ubuntu-packaging-guide/setting-up-sbuild.rst:143
4666
"``sbuild`` manpages are covering details about sbuild usage and available "
4670
#: ../ubuntu-packaging-guide/ubuntu-dev-tools.rst:3
4671
msgid "ubuntu-dev-tools: Tools for Ubuntu developers"
4674
#: ../ubuntu-packaging-guide/ubuntu-dev-tools.rst:5
4676
"``ubuntu-dev-tools`` package is a collection of 30 tools created for making "
4677
"packaging work much easier for Ubuntu developers. It’s similar in scope to "
4678
"Debian ``devscripts`` package."
4681
#: ../ubuntu-packaging-guide/ubuntu-dev-tools.rst:10
4682
msgid "Setting up packaging environment"
4685
#: ../ubuntu-packaging-guide/ubuntu-dev-tools.rst:12
4687
"``setup-packaging-environment`` command allows to interactively set up "
4688
"packaging environment, including setting environment variables, installing "
4689
"required packages and ensuring that required repositories are enabled."
4692
#: ../ubuntu-packaging-guide/ubuntu-dev-tools.rst:17
4693
msgid "Environment variables"
4696
#: ../ubuntu-packaging-guide/ubuntu-dev-tools.rst:20
4697
msgid "Introducing yourself"
4700
#: ../ubuntu-packaging-guide/ubuntu-dev-tools.rst:22
4702
"``ubuntu-dev-tools`` configurations can be set using environment variables. "
4703
"It’s used for example in changelogs. For example, to set e-mail address (and "
4704
"full name), use ``UBUMAIL`` variable. It overrides the ``DEBEMAIL`` and "
4705
"``DEBFULLNAME`` variables used by ``devscripts``. To learn ``ubuntu-dev-"
4706
"tools`` about you, open `~/.bashrc` in text editor and add something like "
4710
#: ../ubuntu-packaging-guide/ubuntu-dev-tools.rst:30
4712
"Now, save this file and restart your terminal or use ``source ~/.bashrc``."
4715
#: ../ubuntu-packaging-guide/ubuntu-dev-tools.rst:33
4716
msgid "Changing preferred builder"
4719
#: ../ubuntu-packaging-guide/ubuntu-dev-tools.rst:35
4721
"Default builder is specified by ``UBUNTUTOOLS_BUILDER`` variable. To set "
4722
"between *pbuilder* (default), *pbuilder-dist*, and *sbuild*, change this "
4723
"variable. Example::"
4726
#: ../ubuntu-packaging-guide/ubuntu-dev-tools.rst:41
4727
msgid "Save file and restart terminal."
4730
#: ../ubuntu-packaging-guide/ubuntu-dev-tools.rst:43
4732
"You can also check whether to update the builder every time before building, "
4733
"by changing ``UBUNTUTOOLS_UPDATE_BUILDER`` from ``no`` (default) to ``yes``."
4736
#: ../ubuntu-packaging-guide/ubuntu-dev-tools.rst:47
4737
msgid "Downloading source packages"
4740
#: ../ubuntu-packaging-guide/ubuntu-dev-tools.rst:49
4742
"``ubuntu-dev-tools`` comes with ``pull-lp-source`` command, allowing to "
4743
"download source packages from Launchpad. Its usage is simple. To download "
4744
"latest source package for ubuntu-settings, use::"
4747
#: ../ubuntu-packaging-guide/ubuntu-dev-tools.rst:55
4749
"You can also specify release from which you want to download source or "
4750
"specify version of source package. ``-d`` option allows to download source "
4751
"package without extracting. A slightly more complex example would look like "
4755
#: ../ubuntu-packaging-guide/ubuntu-dev-tools.rst:61
4757
"``pull-debian-source`` package allows to do the same for Debian source "
4758
"packages. It has similar syntax."
4761
#: ../ubuntu-packaging-guide/ubuntu-dev-tools.rst:65
4762
msgid "Backporting packages"
4765
#: ../ubuntu-packaging-guide/ubuntu-dev-tools.rst:67
4767
"``ubuntu-dev-tools`` provides ``backportpackage`` allowing us to backport a "
4768
"package from specified release of Ubuntu or Debian. For example, to backport "
4769
"``bzr`` package from latest development release for your installed Ubuntu "
4773
#: ../ubuntu-packaging-guide/ubuntu-dev-tools.rst:74
4775
"This command allows to use more options. To specify Ubuntu release for which "
4776
"you are going to backport a package, use ``-d dest`` or ``--"
4777
"destination=DEST`` parameter, where ``DEST`` is Ubuntu release, for example "
4778
"``xenial``. You can specify more than one destination. In turn, ``-s "
4779
"SOURCE`` and ``--source=SOURCE`` specifies the Ubuntu or Debian release from "
4780
"which you are going to backport a package. ``-w DIR`` and ``--workdir=DIR`` "
4781
"specifies directory, where package files will be downloaded, unpacked and "
4782
"built. By default, it will create temporary directory that will be "
4783
"automatically deleted. ``-U`` or ``--update`` allows to update build "
4784
"environment before building package. ``-u`` or ``--upload`` allows to upload "
4785
"package after building (for example to PPAs) using ``dput``."
4788
#: ../ubuntu-packaging-guide/ubuntu-dev-tools.rst:86
4789
msgid "Requesting backports"
4792
#: ../ubuntu-packaging-guide/ubuntu-dev-tools.rst:88
4794
"``requestbackport`` command makes creating backports through Launchpad bugs "
4795
"much easier. It creates testing checklist that will be included in the bug. "
4796
"For example, to request backporting libqt5webkit5 from latest development "
4797
"branch to current stable release (without optional parameters)::"
4800
#: ../ubuntu-packaging-guide/ubuntu-dev-tools.rst:95
4802
"You should fulfill the checklist if you have already tested the backport."
4805
#: ../ubuntu-packaging-guide/ubuntu-dev-tools.rst:97
4807
"Additional options allows to specify destination of backport and its source, "
4808
"by using ``-d DEST`` or ``--destination=DEST`` and ``s SRC`` or ``--"
4812
#: ../ubuntu-packaging-guide/ubuntu-dev-tools.rst:101
4813
msgid "Other simple commands"
4816
#: ../ubuntu-packaging-guide/ubuntu-dev-tools.rst:103
4818
"``ubuntu-dev-tools`` also includes small utilities allowing to do simple "
4819
"tasks like checking whether .iso file is an Ubuntu installation media."
4822
#: ../ubuntu-packaging-guide/ubuntu-dev-tools.rst:107
4823
msgid "``ubuntu-iso``"
4826
#: ../ubuntu-packaging-guide/ubuntu-dev-tools.rst:109
4827
msgid "To do this, use ``ubuntu-iso <pathtoiso>``, for example::"
4830
#: ../ubuntu-packaging-guide/ubuntu-dev-tools.rst:114
4831
msgid "``bitesize``"
4834
#: ../ubuntu-packaging-guide/ubuntu-dev-tools.rst:116
4836
"“Bitesize” tag is used on Launchpad to describe tasks that are suitable for "
4837
"begineers who want to contribute to one of the projects. ``bitesize`` "
4838
"command allows to add “bitesize” tag to Launchpad bug with just simple "
4839
"command, by providing its number, like::"
4842
#: ../ubuntu-packaging-guide/ubuntu-dev-tools.rst:124
4846
#: ../ubuntu-packaging-guide/ubuntu-dev-tools.rst:126
4848
"``404main`` allows to check whether all of package build dependencies are "
4849
"included in main repository of specified Ubuntu distribution. Example::"
4852
#: ../ubuntu-packaging-guide/ubuntu-dev-tools.rst:131
4854
"If any of the required packages isn’t part of Ubuntu main repository, you "
4855
"can check whether the package fulfill `Ubuntu main inclusion requirements "
4856
"<Requirements_>`_ and request it."
4859
#: ../ubuntu-packaging-guide/ubuntu-dev-tools.rst:138
4861
"``ubuntu-dev-tools`` manpages are covering more about usage of this package."
4560
4864
msgid "translator-credits"
4562
4866
"Launchpad Contributions:\n"