Commit graph

4391 commits

Author SHA1 Message Date
wiz
9857186f24 Bump PKGREVISION for libXft changes for NetBSD native X support on
NetBSD 6, requested by tron.
2013-06-06 12:53:40 +00:00
tron
0f9b145b2a Correct file list for X.org "libXft". Bump version because of this change. 2013-06-05 19:47:23 +00:00
riastradh
ec7e565de9 Remove now-redundant include of bsd.prefs.mk. 2013-06-05 18:20:55 +00:00
tron
e06fe7557b Properly handle "Xft" related files:
Onl include the symbolic links if we are actually using the builtin version
of this library.

Bump the version number and the minimal required version for this change.
2013-06-05 12:26:57 +00:00
obache
7687d065f8 require bsd.prefs.mk before using condition. 2013-06-05 04:24:58 +00:00
tron
e05e426ab4 Try to fix the fallout caused by the fix for PR pkg/47882. Part 3:
Recursively bump package revisions again after the "freetype2" and
"fontconfig" handling was fixed.
2013-06-04 22:15:37 +00:00
tron
d7681ee06d Try to fix the fallout caused by the fix for PR pkg/47882. Part 2:
Bump version number and minimum require version again to make sure that
the correct "freetype2" library is used for builds.
2013-06-04 18:03:56 +00:00
tron
7a3f75be87 Bump version to 0.75 and require at least this version to make sure that
this package picks up the new minimum versions of the "freetype2"
and "fontconfig" packages.
2013-06-03 15:41:14 +00:00
wiz
61dc4ab4d2 Bump freetype2 and fontconfig dependencies to current pkgsrc versions,
to address issues with NetBSD-6(and earlier)'s fontconfig not being
new enough for pango.

While doing that, also bump freetype2 dependency to current pkgsrc
version.

Suggested by tron in PR 47882
2013-06-03 10:05:17 +00:00
wiz
047a7f787e Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package

Like last time, where this caused no complaints.
2013-05-31 12:39:57 +00:00
agc
8bd70b3e8c I'll take responsibility for this one. 2013-05-29 15:57:09 +00:00
wiz
4a67df0db6 - add missing `--mounthost=host' option (and adjust the list width
for that);
- use more common option list header line;
- correct argument names of `--src' and `--xsrc' in the text;
- correct default `xsrcdir' directory;
- choose different argument wording (then also using appropriate
  macro) in the arbitrary sandbox command running explanation (and
  adjust the list width with it);
- add comma after ``e.g.'';
- bump date.

From Bug Hunting.
2013-05-29 15:14:49 +00:00
wiz
07c793f1f5 - add missing `--mounthost=host' option to usage comment;
- sort options order in usage comment and `usage' message;
- de-capitalize ``usage'' word in usage message.

From Bug Hunting.
2013-05-29 15:09:49 +00:00
wiz
77cf3d7bc1 - re-adjust sentence widths, and put new sentences on new lines;
- add an appropriate comma;
- correct (also macro wise) / rewrite `EXAMPLES' section;
- replace packages(7) reference in `SEE ALSO' with pkgsrc(7) one
  (src/share/man/man7/packages.7 was removed in 2007);
- remove ``Documentation on the NetBSD Package System'' reference
  from `SEE ALSO' (it's referenced in pkgsrc(7));
- remove unneccesary `.br' macro (and low level macros should
  generally not be used anyway);
- remove `BUGS' section, as the ``bug'' described in it isn't a
  bug at all;
- bump date.

From Bug Hunting.
2013-05-29 14:37:29 +00:00
wiz
32435ef9f1 rillig clarified:
"u" means "use at runtime", i.e. the variable may not be available
during preprocessing.
"t" wasn't used at all (my error -- wiz)

Bump version.
2013-05-26 18:09:23 +00:00
jperkin
3e94af0601 Make sure largefile support is enabled on SunOS. See github issues
joyent/smartos-live#137 and joyent/pkgsrc#28 for more information.

Bump PKGREVISION.
2013-05-24 15:08:00 +00:00
wiz
1a535c5ab0 Remove openssl reference, found by obache. 2013-05-18 13:22:57 +00:00
martin
1ade5effd0 var_get_memory():
if no eol is found in the string we set "next" to NULL, assign it
to "buf" and then check the loop condition by dereferencing it - which
does not work well.
Change the loop condition to first check for buf == NULL.
2013-05-17 07:27:29 +00:00
cheusov
adc8907224 Adapted for TOOL_DEPENDS recently introduced to pkgsrc.
++pkgrevision
2013-05-16 01:26:08 +00:00
cheusov
409d9bc660 Version 0.62.0
pkg_src_summary:
     - Option -t was added. If applied a value of TOOL_DEPENDS
       is added to BUILD_DEPENDS. This option works just like -b
       does for BOOTSTRAP_DEPENDS.

  pkg_cmp_summary:
     - Fixes for -A and -O. Now they output an empty line after each
       compared package even if it appeares multiple times in
       pkg_summary1. So, the output is now consistent.

  Last change time was updated for manual pages
2013-05-16 01:24:09 +00:00
wiz
b1891cc547 Remove second '#' line in generated Makefile. Not necessary, since there's
already an empty line as third, now second, line per default.
2013-05-14 19:42:38 +00:00
obache
d3af9ba6d9 Allow to use glib deprecated API, for g_thread_suppoted() 2013-05-11 02:23:54 +00:00
riastradh
07bbe8cd34 Fix cross-build of pkgtools/pkg_install.
Can't execute the newly built tools if they were cross-built.

(This is not especially useful until we do cross-bootstrap, though.)

ok agc
2013-05-10 00:49:00 +00:00
adam
2459ac824e Massive revbump after updating graphics/ilmbase, graphics/openexr, textproc/icu. 2013-05-09 07:39:04 +00:00
wiz
93ebc34250 Add EXTRACT_DIR. 2013-05-07 08:45:06 +00:00
obache
ab4a8fc6b0 pkglint-4.129
* explain when desktop-file-utils is required.
* error missing {hicolor,gnome}-icon-theme.
2013-05-06 02:53:24 +00:00
rodent
97b523c63f Adding sgi-free-software-b-v2.0 to DEFAULT_ACCEPTABLE. Approved by FSF:
http://www.gnu.org/licenses/license-list.en.html#SGIFreeB
2013-05-05 21:09:59 +00:00
rodent
c855e5fe2b +arphic-public +ofl-v1.0 +ofl-v1.1 -open-font-license 2013-04-19 17:22:23 +00:00
obache
ca5af78e09 Update to 0.74.
pick up some *.pc files in share/pkgconfig (for Cygwin).
2013-04-18 13:19:35 +00:00
dholland
ed06a60994 Minor tidyup to error reporting. (This has been sitting in one of my trees
for a year and a half and I don't remember the context.) ok'd by joerg
2013-04-14 17:03:30 +00:00
rodent
2ab539dcf6 Remove "Trailing empty lines." and/or "Trailing white-space." 2013-04-08 11:17:08 +00:00
rodent
56d0e89eec Edited DESCR in the case of:
File too long (should be no more than 24 lines).
 Line too long (should be no more than 80 characters).
 Trailing empty lines.
 Trailing white-space.
Trucated the long files as best as possible while preserving the most info
contained in them.
2013-04-07 20:49:31 +00:00
rodent
f565a1af87 ".for variable names should not contain uppercase letters" 2013-04-06 13:24:18 +00:00
rodent
5ab6118cf0 "Definition of PKG_SKIP_REASON is deprecated. Use PKG_FAIL_REASON instead." 2013-04-06 04:07:24 +00:00
rodent
b0587df2a1 Fixes:
COMMENT should not be longer than 70 characters.
 COMMENT should not begin with 'A'.
 COMMENT should not begin with 'An'.
 COMMENT should not begin with 'a'.
 COMMENT should not end with a period.
 COMMENT should start with a capital letter.

pkglint warnings. Some files also got minor formatting, spelling, and style
corrections.
2013-04-06 03:45:05 +00:00
schmonz
aa0977e814 Respond to wiz's code review:
* In test, match the "make makesum" warning more loosely.
* In test, find packages to run against in $PKGSRCDIR explicitly.
* Bump version.

This is the last commit in a set developed for my "Rehabilitating
pkglint" talk at pkgsrcCon 2013.

Reviewed-at-pkgsrcCon-and-approved-during-the-freeze-by: wiz
2013-03-26 15:11:36 +00:00
schmonz
69d0d7df9e Excessive self-grepping causes bugginess. Don't!
This regex almost certainly didn't intend to match an occurrence
of "ARRAY" in PkgLint::Line, but it did match.
2013-03-26 15:11:20 +00:00
schmonz
c4b9573f7f Mechanically refactor vartype_basic to dispatch table.
Leave the silly self-grep in place, adjusting to also match the
lines that initialize the dispatch table. The underlying code is
better and the tests still pass. (No functional change intended.)
2013-03-26 15:10:57 +00:00
schmonz
092887ea83 Bag-compare all vartypes_basictypes, not just two.
pkglint greps itself (really) to generate this list of types. Test
exhaustively for all types in the list today, so that the tested
code can become more civilized tomorrow. Adds a test-time dependency
on Test::Deep for cmp_bag().
2013-03-26 15:10:31 +00:00
schmonz
603da18917 Declare package pkglint (not main) in pkglint.pl.
This is more correct and more polite. For instance, pkglint.t no
longer needs to declare a package of its own just for tests.
2013-03-26 15:10:03 +00:00
schmonz
5264358eac Subst paths for both test and install.
In the configure stage, tell pkglint to find *.map in ${FILESDIR}.
That lets tests run even when pkglint isn't installed (which means
it also makes the tests less wrong when pkglint is installed!).

In the install stage, tell pkglint to find *.map under ${PREFIX},
as before (no functional change to the installed package).

Specify USE_TOOLS=perl to quell pkglint. :-)
2013-03-26 15:09:35 +00:00
schmonz
26062d5a38 Document the need for many more automated tests. 2013-03-26 15:08:53 +00:00
schmonz
162e744ca1 Extract PkgLint::* to files, then inline them.
These bits of non-main functionality are distracting to the casual
reader, and also to your intrepid refactorer. Since we recently
added some characterization tests that run the pkglint executable
against real packages, we can safely extract bits of code to separate
files and prove nothing broke in the move.

Instead of installing the new Perl modules where pkglint can find
them at runtime, I've added a build step to inline them right back
where they used to be (same order and everything). This is a little
annoying, but less annoying than suddenly needing to deal with Perl
runtime paths just for these few tiny modules. Also, loading modules
at runtime would affect pkglint's performance, and I don't yet have
performance tests to prove that this would be fine (or not), so I
can't safely do it.

No functional change intended.
2013-03-26 15:08:28 +00:00
schmonz
3e23961f27 Sanity-check pkglint on some reference packages. 2013-03-26 15:05:27 +00:00
schmonz
f1d80d9592 Give test_unit() better defaults for easier calling.
This is the first commit in a set developed for my "Rehabilitating
pkglint" talk at pkgsrcCon 2013.

Reviewed-at-pkgsrcCon-and-approved-during-the-freeze-by: wiz
2013-03-26 15:04:30 +00:00
sbd
298722a3eb USE_FEATURES must come before bsd.prefs.mk is included. 2013-03-25 10:09:04 +00:00
jperkin
87dff69ed9 Use `` instead of $(), fixes bootstrap on older SunOS versions which have
the legacy /bin/sh.

Fix from asau.
2013-03-18 11:24:42 +00:00
obache
4415950d6b avoid to match commnented out lines (createbuildlink will create such lines
by default).
2013-03-17 15:27:18 +00:00
obache
e4dd4cf082 Bump PKGREVISION from default PHP version change to 5.4. 2013-03-16 07:21:18 +00:00
wiz
28f50d29c5 Sync licenses with mk/ 2013-03-14 16:23:11 +00:00