diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2017-06-09 12:59:59 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2017-06-09 12:59:59 +0300 |
commit | c1b287f054e085b7c2d7fb6a09717ff119e8c2c7 (patch) | |
tree | b4ce714b9fd93390664b7097caaaaabbc3b558c5 | |
parent | 1243a843c7455f66d612b814de9fa3ec77fd39f0 (diff) | |
download | gcc-defaults-c1b287f054e085b7c2d7fb6a09717ff119e8c2c7.tar.gz |
Enable docs
`fsf-funding.7` is taken from Ubuntu
-rw-r--r-- | debian/README.Debian | 7 | ||||
-rw-r--r-- | debian/control | 36 | ||||
-rwxr-xr-x | debian/rules | 3 | ||||
-rw-r--r-- | fsf-funding.7 | 185 |
4 files changed, 228 insertions, 3 deletions
diff --git a/debian/README.Debian b/debian/README.Debian index 457c92e..94d4469 100644 --- a/debian/README.Debian +++ b/debian/README.Debian @@ -47,7 +47,7 @@ making sure you are always using the one preferred for that architecture. To use the other compiler, simply set CC=gcc-5, or similar. -The default compiler versions for Debian GNU/Linux on amd64 are +The default compiler versions for Debian GNU/Linux on illumos-amd64 are (minor version numbers omitted): cpp : cpp-6 @@ -61,8 +61,9 @@ The default compiler versions for Debian GNU/Linux on amd64 are gobjc++ : gobjc++-6 gdc : gdc-6 -Most of the documentation for GCC including the manual pages is -licensed under the GFDL and therefore not included in the main section. +Documentation for the default compilers can be found in + + /usr/share/doc/<compiler>-<package version>. Thanks to gcc-defaults, each architecture can choose its own preferred compiler for each language, and that preference can change without diff --git a/debian/control b/debian/control index b1f4c12..14a2537 100644 --- a/debian/control +++ b/debian/control @@ -382,3 +382,39 @@ Description: GNU C compiler (cross compiler for hppa64-linux-gnu) . This is a dependency package providing the default GNU C cross-compiler for the hppa64 architecture. + +Package: cpp-doc +Section: doc +Architecture: any +Priority: optional +Depends: cpp-${pv:cpp}-doc ${reqv:cpp}, ${misc:Depends} +Suggests: cpp (>= ${version:cpp}) +Description: Documentation for the GNU C preprocessor (cpp) + Documentation for the GNU C preprocessor in info format (dependency package). + +Package: gfortran-doc +Section: doc +Architecture: any +Priority: optional +Depends: gfortran-${pv:gfort}-doc ${reqv:gfort}, ${misc:Depends} +Suggests: gfortran (>= ${version:gfort}) +Description: Documentation for the GNU Fortran compiler (gfortran) + Documentation for the GNU Fortran compiler in info format (dependency package). + +Package: gcc-doc +Section: doc +Architecture: any +Priority: optional +Depends: gcc-${pv:gcc}-doc ${reqv:gcc}, ${misc:Depends} +Suggests: gcc (>= ${version:gcc}) +Description: Documentation for the GNU C compilers (gcc, gobjc, g++) + Documentation for the GNU compilers in info format (dependency package). + +Package: gccgo-doc +Section: doc +Architecture: any +Priority: optional +Depends: gccgo-${pv:ggo}-doc ${reqv:ggo}, ${misc:Depends} +Suggests: gccgo (>= ${version:ggo}) +Description: Documentation for the GNU Go compiler + Documentation for the GNU Go compiler in info format (dependency package). diff --git a/debian/rules b/debian/rules index 5e473af..8e6a594 100755 --- a/debian/rules +++ b/debian/rules @@ -414,6 +414,9 @@ with_gfdl_docs := no ifeq ($(distribution),Ubuntu) with_gfdl_docs := yes endif +ifeq ($(DEB_HOST_ARCH_OS),illumos) + with_gfdl_docs := yes +endif ifeq ($(with_native),yes) ifeq (,$(filter $(DEB_HOST_ARCH),$(go_archs))) diff --git a/fsf-funding.7 b/fsf-funding.7 new file mode 100644 index 0000000..525106c --- /dev/null +++ b/fsf-funding.7 @@ -0,0 +1,185 @@ +.\" Automatically generated by Pod::Man v1.34, Pod::Parser v1.13 +.\" +.\" Standard preamble: +.\" ======================================================================== +.de Sh \" Subsection heading +.br +.if t .Sp +.ne 5 +.PP +\fB\\$1\fR +.PP +.. +.de Sp \" Vertical space (when we can't use .PP) +.if t .sp .5v +.if n .sp +.. +.de Vb \" Begin verbatim text +.ft CW +.nf +.ne \\$1 +.. +.de Ve \" End verbatim text +.ft R +.fi +.. +.\" Set up some character translations and predefined strings. \*(-- will +.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left +.\" double quote, and \*(R" will give a right double quote. | will give a +.\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used to +.\" do unbreakable dashes and therefore won't be available. \*(C` and \*(C' +.\" expand to `' in nroff, nothing in troff, for use with C<>. +.tr \(*W-|\(bv\*(Tr +.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' +.ie n \{\ +. ds -- \(*W- +. ds PI pi +. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch +. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch +. ds L" "" +. ds R" "" +. ds C` "" +. ds C' "" +'br\} +.el\{\ +. ds -- \|\(em\| +. ds PI \(*p +. ds L" `` +. ds R" '' +'br\} +.\" +.\" If the F register is turned on, we'll generate index entries on stderr for +.\" titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index +.\" entries marked with X<> in POD. Of course, you'll have to process the +.\" output yourself in some meaningful fashion. +.if \nF \{\ +. de IX +. tm Index:\\$1\t\\n%\t"\\$2" +.. +. nr % 0 +. rr F +.\} +.\" +.\" For nroff, turn off justification. Always turn off hyphenation; it makes +.\" way too many mistakes in technical documents. +.hy 0 +.if n .na +.\" +.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). +.\" Fear. Run. Save yourself. No user-serviceable parts. +. \" fudge factors for nroff and troff +.if n \{\ +. ds #H 0 +. ds #V .8m +. ds #F .3m +. ds #[ \f1 +. ds #] \fP +.\} +.if t \{\ +. ds #H ((1u-(\\\\n(.fu%2u))*.13m) +. ds #V .6m +. ds #F 0 +. ds #[ \& +. ds #] \& +.\} +. \" simple accents for nroff and troff +.if n \{\ +. ds ' \& +. ds ` \& +. ds ^ \& +. ds , \& +. ds ~ ~ +. ds / +.\} +.if t \{\ +. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" +. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' +. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' +. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' +. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' +. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' +.\} +. \" troff and (daisy-wheel) nroff accents +.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' +.ds 8 \h'\*(#H'\(*b\h'-\*(#H' +.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] +.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' +.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' +.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#] +.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] +.ds ae a\h'-(\w'a'u*4/10)'e +.ds Ae A\h'-(\w'A'u*4/10)'E +. \" corrections for vroff +.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' +.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' +. \" for low resolution devices (crt and lpr) +.if \n(.H>23 .if \n(.V>19 \ +\{\ +. ds : e +. ds 8 ss +. ds o a +. ds d- d\h'-1'\(ga +. ds D- D\h'-1'\(hy +. ds th \o'bp' +. ds Th \o'LP' +. ds ae ae +. ds Ae AE +.\} +.rm #[ #] #H #V #F C +.\" ======================================================================== +.\" +.IX Title "FSF-FUNDING 7" +.TH FSF-FUNDING 7 "2003-03-01" "gcc-3.3" "GNU" +.SH "NAME" +fsf\-funding \- Funding Free Software +.SH "DESCRIPTION" +.IX Header "DESCRIPTION" +.Sh "Funding Free Software" +.IX Subsection "Funding Free Software" +If you want to have more free software a few years from now, it makes +sense for you to help encourage people to contribute funds for its +development. The most effective approach known is to encourage +commercial redistributors to donate. +.PP +Users of free software systems can boost the pace of development by +encouraging for-a-fee distributors to donate part of their selling price +to free software developers\-\-\-the Free Software Foundation, and others. +.PP +The way to convince distributors to do this is to demand it and expect +it from them. So when you compare distributors, judge them partly by +how much they give to free software development. Show distributors +they must compete to be the one who gives the most. +.PP +To make this approach work, you must insist on numbers that you can +compare, such as, ``We will donate ten dollars to the Frobnitz project +for each disk sold.'' Don't be satisfied with a vague promise, such as +``A portion of the profits are donated,'' since it doesn't give a basis +for comparison. +.PP +Even a precise fraction ``of the profits from this disk'' is not very +meaningful, since creative accounting and unrelated business decisions +can greatly alter what fraction of the sales price counts as profit. +If the price you pay is \f(CW$50\fR, ten percent of the profit is probably +less than a dollar; it might be a few cents, or nothing at all. +.PP +Some redistributors do development work themselves. This is useful too; +but to keep everyone honest, you need to inquire how much they do, and +what kind. Some kinds of development make much more long-term +difference than others. For example, maintaining a separate version of +a program contributes very little; maintaining the standard version of a +program for the whole community contributes much. Easy new ports +contribute little, since someone else would surely do them; difficult +ports such as adding a new \s-1CPU\s0 to the \s-1GNU\s0 Compiler Collection contribute more; +major new features or packages contribute the most. +.PP +By establishing the idea that supporting further development is ``the +proper thing to do'' when distributing free software for a fee, we can +assure a steady flow of resources into making more free software. +.SH "SEE ALSO" +.IX Header "SEE ALSO" +\&\fIgpl\fR\|(7), \fIgfdl\fR\|(7). +.SH "COPYRIGHT" +.IX Header "COPYRIGHT" +Copyright (c) 1994 Free Software Foundation, Inc. +Verbatim copying and redistribution of this section is permitted +without royalty; alteration is not permitted. |