Commit graph

4395 commits

Author SHA1 Message Date
jperkin
b83d254dc0 Increase default SunOS compiler flags to -O2 to match most other systems.
Bump PKGVERSION to today's date.
2013-07-03 11:34:27 +00:00
jperkin
0a0fe7bc14 Fix for missing LOG_AUTHPRIV on SunOS. 2013-06-23 18:21:41 +00:00
imil
cda1a83536 0.6.4
Large file systems fix by Filip Hajny
	gcc 4.7 / unused-but-set-variable fix by Makoto Fujiwara
	Moved to GitHub
2013-06-16 14:37:33 +00:00
ryoon
72f48ca26f Update to 0.79
* Add libXft.so.
  Reported by Sverre Froyen, on pkgsrc-users@.
2013-06-11 13:09:17 +00:00
wiz
e0b49a2fed 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
e459f24206 Correct file list for X.org "libXft". Bump version because of this change. 2013-06-05 19:47:23 +00:00
riastradh
418ec8861c Remove now-redundant include of bsd.prefs.mk. 2013-06-05 18:20:55 +00:00
tron
9b8a3fd284 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
5a8fb24367 require bsd.prefs.mk before using condition. 2013-06-05 04:24:58 +00:00
tron
a36fb86593 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
d394a7dc9c 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
1d144275c7 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
53745b22ea 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
d2ca14a3f1 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
fa1cb09ad0 I'll take responsibility for this one. 2013-05-29 15:57:09 +00:00
wiz
e8276fbb5b - 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
0d9c89700d - 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
dbdbb02e94 - 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
e11a59a32e 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
debfe2fb08 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
e177f7f52b Remove openssl reference, found by obache. 2013-05-18 13:22:57 +00:00
martin
cea747688b 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
d97ac5b9fd Adapted for TOOL_DEPENDS recently introduced to pkgsrc.
++pkgrevision
2013-05-16 01:26:08 +00:00
cheusov
2375594f61 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
8f615eefc3 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
cfa4f34d48 Allow to use glib deprecated API, for g_thread_suppoted() 2013-05-11 02:23:54 +00:00
riastradh
be08346321 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
1ab43a036f Massive revbump after updating graphics/ilmbase, graphics/openexr, textproc/icu. 2013-05-09 07:39:04 +00:00
wiz
1881965f07 Add EXTRACT_DIR. 2013-05-07 08:45:06 +00:00
obache
3b4b559d91 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
c839138986 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
6b5369c4bd +arphic-public +ofl-v1.0 +ofl-v1.1 -open-font-license 2013-04-19 17:22:23 +00:00
obache
ce192b6af9 Update to 0.74.
pick up some *.pc files in share/pkgconfig (for Cygwin).
2013-04-18 13:19:35 +00:00
dholland
6bc842729f 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
b65af7be2b Remove "Trailing empty lines." and/or "Trailing white-space." 2013-04-08 11:17:08 +00:00
rodent
6b46c62d2e 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
dea2f05b46 ".for variable names should not contain uppercase letters" 2013-04-06 13:24:18 +00:00
rodent
cdd3752457 "Definition of PKG_SKIP_REASON is deprecated. Use PKG_FAIL_REASON instead." 2013-04-06 04:07:24 +00:00
rodent
a0a1f2e57c 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
3745e6657e 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
5bc6512909 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
8d80249ed9 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
433e28db3b 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
084f44268e 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
b9fdf029c6 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
6ac8ad3cf0 Document the need for many more automated tests. 2013-03-26 15:08:53 +00:00
schmonz
4745eea58d 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
f8ed933125 Sanity-check pkglint on some reference packages. 2013-03-26 15:05:27 +00:00
schmonz
f2cc14dc84 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
b164c0612f USE_FEATURES must come before bsd.prefs.mk is included. 2013-03-25 10:09:04 +00:00