~ubuntu-branches/ubuntu/precise/rpm/precise

« back to all changes in this revision

Viewing changes to po/insert-header.sin

  • Committer: Bazaar Package Importer
  • Author(s): Loic Minier
  • Date: 2008-12-21 17:49:23 UTC
  • Revision ID: james.westby@ubuntu.com-20081221174923-k9du2lfj9cotahku
Tags: 4.4.2.3-2
* Remove Anand Kumria from Uploader; thanks for your work!
* Add Vcs-Git and Vcs-Browser fields.
* Wrap build-deps and deps.
* Bump Standards-Version to 3.8.0.
* Drop obsolete debian/pycompat.
* Add debian/gbp.conf for git-buildpackage.
* New patch, 22_spelling-fixes, fixes typo in doc/rpm.8 man page; from
  Ubuntu; LP: #73355.
* Refresh patches 02-hkp-disable, 09-prereq, 14-work-on-debian64,
  17-dont-be-redhat, 21-kfreebsd to apply cleanly.
* Drop source-contains-CVS-dir lintian overrides as we use tarballs and we
  should make dist a tarball or at least a CVS export if we pull a snapshot.
* Build-dep on autotools-dev and drop outdated-autotools-helper-file lintian
  overrides.
* New patch, 40_fix-zlib-include-in-file, fixes zlib -I flag breaking the
  build of the internal "file" copy when relibtoolized.
* New patch, 50_internal-popt-config-flag, adds a --with-internal-popt
  configure flag to allow forcing the use of an external popt.
* New patch, 68_autogen-fixes, calls "autoreconf -fi" instead of
  ./autogen.sh in file/ and cleans up some junk files after the autogens
  (autom4te.cache and ~ backups).
* New patch, 70_autogen, run ./autogen --noconfigure.
* Pass --with-internal-popt=no to configure.
* Kill plenty of manual autotools cleanup from rules as well as popt
  removal.
* Drop autoconf/automake/libtoolize invocation from rules.
* Use "touch $@" instead of repeating target name.
* Don't duplicate the way to call quilt and pass it --quiltrc /dev/null.
* Pass -s to dh_* in binary-indep.
* Update download URL in copyright.
* Drop DH_VERBOSE=1.
* Set configure flags via a new var, configure_flags, and only pass --host
  to configure if DEB_HOST_GNU_TYPE and DEB_BUILD_GNU_TYPE differ.
* Drop obsolete README.Debian note related to rpm 4.1 behavior change.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Sed script that inserts the file called HEADER before the header entry.
2
 
#
3
 
# At each occurrence of a line starting with "msgid ", we execute the following
4
 
# commands. At the first occurrence, insert the file. At the following
5
 
# occurrences, do nothing. The distinction between the first and the following
6
 
# occurrences is achieved by looking at the hold space.
7
 
/^msgid /{
8
 
x
9
 
# Test if the hold space is empty.
10
 
s/m/m/
11
 
ta
12
 
# Yes it was empty. First occurrence. Read the file.
13
 
r HEADER
14
 
# Output the file's contents by reading the next line. But don't lose the
15
 
# current line while doing this.
16
 
g
17
 
N
18
 
bb
19
 
:a
20
 
# The hold space was nonempty. Following occurrences. Do nothing.
21
 
x
22
 
:b
23
 
}