It seems Russ already submitted a fix :-)
Please try reinstalling the package and see whether fontsrv is available for you
Search Criteria
Package Details: plan9port-git 5d86ecd-1
Package Actions
| Package Base: | plan9port-git |
|---|---|
| Description: | port of many Plan 9 programs to Unix-like operating systems |
| Upstream URL: | http://swtch.com/plan9port/ |
| Category: | system |
| Licenses: | |
| Conflicts: | |
| Provides: | |
| Submitter: | surbaniak |
| Maintainer: | surbaniak |
| Last Packager: | surbaniak |
| Votes: | 2 |
| First Submitted: | 2014-11-17 21:18 |
| Last Updated: | 2014-12-22 13:44 |
Dependencies (6)
Required by (0)
Sources
Latest Comments
Comment by surbaniak
Comment by surbaniak
Hi,
I just tried the newest git version, it seems that fontsrv doesn't compile any more on linux after the newest changes from Russ:
$ mk
9c -I/usr/include -I/usr/include/freetype2 main.c
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^
9c -I/usr/include -I/usr/include/freetype2 pjw.c
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^
9c -I/usr/include -I/usr/include/freetype2 x11.c
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^
x11.c:107:9: error: ‘xf’ redeclared as different kind of symbol
XFont *xf, *xfp, *xfe;
^
x11.c:105:18: note: previous definition of ‘xf’ was here
mksubfont(XFont *xf, char *name, int lo, int hi, int size, int antialias)
^
x11.c:107:20: warning: unused variable ‘xfe’ [-Wunused-variable]
XFont *xf, *xfp, *xfe;
^
x11.c:107:14: warning: unused variable ‘xfp’ [-Wunused-variable]
XFont *xf, *xfp, *xfe;
^
mk: 9c -I/usr/include -I/usr/include/freetype2 x11.c : exit status=exit(1)
I will file an issue on the github page.
Comment by aksr
surbaniak: Hi. Just wanted to ask will you update PKGBUILD for fontsrv to be installed by default?
Comment by surbaniak
bump to newest commit, adding fontsrv changes for better rendering (disable X11 hinting)
Comment by mbrown
Just installed this, kudos surbaniak for updating this package so quickly after yesterday's p9p mercurial -> git migration.