Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37713438
en ru br
ALT Linux repos
S:1.0.6-alt1
5.0: 1.0.2-alt2
4.1: 1.0.2-alt1
4.0: 1.0.2-alt1

Group :: System/X11
RPM: xfontsel

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: xfontsel-1.0.2-alt2.patch
Download


 .gear/rules                                        |    2 +
 .../tags/ad04bfa4a52f9ddfa63da43498809eeef1bd02bb  |    6 +
 .gear/tags/list                                    |    1 +
 Makefile.am                                        |    7 +-
 XFontSel.ad                                        |  148 --------------------
 app-defaults/XFontSel.ad                           |  148 ++++++++++++++++++++
 configure.ac                                       |    2 +-
 xfontsel.spec                                      |   56 ++++++++
 8 files changed, 219 insertions(+), 151 deletions(-)
diff --git a/.gear/rules b/.gear/rules
new file mode 100644
index 0000000..f78a96e
--- /dev/null
+++ b/.gear/rules
@@ -0,0 +1,2 @@
+tar: @name@-@version@:.
+diff: @name@-@version@:. .
diff --git a/.gear/tags/ad04bfa4a52f9ddfa63da43498809eeef1bd02bb b/.gear/tags/ad04bfa4a52f9ddfa63da43498809eeef1bd02bb
new file mode 100644
index 0000000..15ed71f
--- /dev/null
+++ b/.gear/tags/ad04bfa4a52f9ddfa63da43498809eeef1bd02bb
@@ -0,0 +1,6 @@
+object b4d05bfdd02bb993fe27d79977be0d117f6869f5
+type commit
+tag xfontsel-1.0.2
+tagger Alan Coopersmith <alan.coopersmith@sun.com> 1170363816 -0800
+
+xfontsel version 1.0.2
diff --git a/.gear/tags/list b/.gear/tags/list
new file mode 100644
index 0000000..30cc9a3
--- /dev/null
+++ b/.gear/tags/list
@@ -0,0 +1 @@
+ad04bfa4a52f9ddfa63da43498809eeef1bd02bb xfontsel-1.0.2
diff --git a/Makefile.am b/Makefile.am
index 07d2324..36392d9 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -21,7 +21,7 @@
 
 bin_PROGRAMS = xfontsel
 
-xfontsel_CFLAGS = $(XFONTSEL_CFLAGS)
+AM_CFLAGS = $(XFONTSEL_CFLAGS)
 xfontsel_LDADD = $(XFONTSEL_LIBS)
 
 xfontsel_SOURCES =	\
@@ -39,11 +39,12 @@ appdefaultdir = @appdefaultdir@
 
 
 APPDEFAULTFILES = \
-        XFontSel
+        app-defaults/XFontSel
 
 SUFFIXES = .ad
 
 .ad:
+	[ -d app-defaults ] || mkdir app-defaults
 	cp $< $@
 
 appdefault_DATA = $(APPDEFAULTFILES)
@@ -86,6 +87,8 @@ SUFFIXES += .$(APP_MAN_SUFFIX) .man
 
 MAINTAINERCLEANFILES=ChangeLog
 
+.PHONY: ChangeLog
+
 ChangeLog:
 	(GIT_DIR=$(top_srcdir)/.git git-log > .changelog.tmp && mv .changelog.tmp ChangeLog; rm -f .changelog.tmp) || (touch ChangeLog; echo 'git directory not found: installing possibly empty changelog.' >&2)
 
diff --git a/XFontSel.ad b/XFontSel.ad
deleted file mode 100644
index 73c4854..0000000
--- a/XFontSel.ad
+++ /dev/null
@@ -1,148 +0,0 @@
-! $XConsortium: XFontSel.ad,v 1.12 94/04/17 20:43:40 gildea Exp $
-!
-! app-defaults for XFontSel
-!
-! Copyright (c) 1985, 1986, 1987, 1988, 1989  X Consortium
-! 
-! Permission is hereby granted, free of charge, to any person obtaining
-! a copy of this software and associated documentation files (the
-! "Software"), to deal in the Software without restriction, including
-! without limitation the rights to use, copy, modify, merge, publish,
-! distribute, sublicense, and/or sell copies of the Software, and to
-! permit persons to whom the Software is furnished to do so, subject to
-! the following conditions:
-! 
-! The above copyright notice and this permission notice shall be included
-! in all copies or substantial portions of the Software.
-! 
-! THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
-! OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-! MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-! IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR
-! OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
-! ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-! OTHER DEALINGS IN THE SOFTWARE.
-! 
-! Except as contained in this notice, the name of the X Consortium shall
-! not be used in advertising or otherwise to promote the sale, use or
-! other dealings in this Software without prior written authorization
-! from the X Consortium.
-!
-! Author:
-!	Ralph R. Swick, Digital Equipment Corporation/M.I.T. Project Athena
-!	one weekend in November, 1989
-!
-! $XFree86: xc/programs/xfontsel/XFontSel.ad,v 1.1 2000/02/13 03:26:24 dawes Exp $
-
-*appDefaultsVersion:	1
-
-*pixelSizeList: 7, 30, 40, 50, 60
-*pointSizeList: 250, 300, 350, 400
-
-XFontSel.cursor:	left_ptr
-*allowShellResize:	true
-
-*commandBox.ShowGrip:	false
-*commandBox*top:	chainTop
-*commandBox*bottom:	chainTop
-
-*quitButton.Label:	quit
-*quitButton.left:	chainLeft
-*quitButton.right:	chainLeft
-
-*ownButton.Label:	select
-*ownButton.fromHoriz:	quitButton
-*ownButton.left:	chainLeft
-*ownButton.right:	chainLeft
-
-*countLabel.BorderWidth: 0
-*countLabel.Justify:	right
-*countLabel.Label:	999999 fonts match
-*countLabel.left:	chainRight
-*countLabel.right:	chainRight
-
-*fieldBox.Orientation:	horizontal
-*fieldBox.HSpace:	0
-*fieldBox.HSpace:	0
-
-*dash.label:		-
-*dash.borderWidth:	0
-*dash.internalHeight:	0
-*dash.internalWidth:	0
-
-*fieldBox*MenuButton.BorderWidth:	0
-*fieldBox*MenuButton.internalHeight:	0
-*fieldBox*MenuButton.internalWidth:	0
-*fieldBox*MenuButton.shapeStyle:	rectangle
-
-#ifdef LONG_NAMES
-*fieldBox*field0.Label:	foundry
-*fieldBox*field1.Label: family
-*fieldBox*field2.Label: weight
-*fieldBox*field3.Label: slant
-*fieldBox*field4.Label: set width
-*fieldBox*field5.Label: add style
-*fieldBox*field6.Label: pixel size
-*fieldBox*field7.Label: point size
-*fieldBox*field8.Label: resolutionX
-*fieldBox*field9.Label: resolutionY
-*fieldBox*field10.Label: spacing
-*fieldBox*field11.Label: avg width
-*fieldBox*field12.Label: registry
-*fieldBox*field13.Label: encoding
-#else
-*fieldBox*field0.Label:	fndry
-*fieldBox*field1.Label: fmly
-*fieldBox*field2.Label: wght
-*fieldBox*field3.Label: slant
-*fieldBox*field4.Label: sWdth
-*fieldBox*field5.Label: adstyl
-*fieldBox*field6.Label: pxlsz
-*fieldBox*field7.Label: ptSz
-*fieldBox*field8.Label: resx
-*fieldBox*field9.Label: resy
-*fieldBox*field10.Label: spc
-*fieldBox*field11.Label: avgWdth
-*fieldBox*field12.Label: rgstry
-*fieldBox*field13.Label: encdng
-#endif
-
-!*fieldBox*field11.Sensitive: False
-*fieldBox*field11.menu.Options.ShowUnselectable: False
-
-
-!*field1*menu*courier.Font:
-
-*fontName*skipAdjust:	true
-
-*sampleText*international: false
-
-*sampleText*Label: \
-Processing fonts...
-
-*sampleText: \
-ABCDEFGHIJKLMNOPQRSTUVWXYZ\n\
-abcdefghijklmnopqrstuvwxyz\n\
-0123456789\n\
-\340\346\347\353\356\360\361\363\371\375\
-\300\306\307\313\316\320\321\323\331\335
-
-
-*sampleText16: \
-\044\042\044\044\044\046\044\050\044\052\044\053\044\055\044\057\
-\044\061\044\063\044\065\044\067\044\071\044\073\044\075\044\077\n\
-\044\101\044\104\044\106\044\110\044\112\044\113\044\114\044\115\
-\044\116\044\117\044\122\044\125\044\130\044\133\044\136\044\137\n\
-\061\042\061\044\061\046\061\050\061\052\061\053\061\055\061\057\
-\061\061\061\063\061\065\061\067\061\071\061\073\061\075\061\077\n\
-\061\101\061\104\061\106\061\110\061\112\061\113\061\114\061\115\
-\061\116\061\117\061\122\061\125\061\130\061\133\061\136\061\137\n\
-
-*sampleTextUCS: \
-ABCDEFGHIJKLMNOPQRSTUVWXYZ /0123456789\n\
-abcdefghijklmnopqrstuvwxyz £©µÀÆÖÞßéöÿ\n\
-–—‘“”„†•…‰™œŠŸž€ ΑΒΓΔΩαβγδω АБВГДабвгд\n\
-∀∂∈ℝ∧∪≡∞ ↑↗↨↻⇣ ┐┼╔╘░►☺♀ fi�⑀₂ἠḂӥẄɐː⍎אԱა
-
-*sampleText*allowResize: true
-*sampleText*Height:	 50
diff --git a/app-defaults/XFontSel.ad b/app-defaults/XFontSel.ad
new file mode 100644
index 0000000..73c4854
--- /dev/null
+++ b/app-defaults/XFontSel.ad
@@ -0,0 +1,148 @@
+! $XConsortium: XFontSel.ad,v 1.12 94/04/17 20:43:40 gildea Exp $
+!
+! app-defaults for XFontSel
+!
+! Copyright (c) 1985, 1986, 1987, 1988, 1989  X Consortium
+! 
+! Permission is hereby granted, free of charge, to any person obtaining
+! a copy of this software and associated documentation files (the
+! "Software"), to deal in the Software without restriction, including
+! without limitation the rights to use, copy, modify, merge, publish,
+! distribute, sublicense, and/or sell copies of the Software, and to
+! permit persons to whom the Software is furnished to do so, subject to
+! the following conditions:
+! 
+! The above copyright notice and this permission notice shall be included
+! in all copies or substantial portions of the Software.
+! 
+! THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+! OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+! MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+! IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR
+! OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+! ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+! OTHER DEALINGS IN THE SOFTWARE.
+! 
+! Except as contained in this notice, the name of the X Consortium shall
+! not be used in advertising or otherwise to promote the sale, use or
+! other dealings in this Software without prior written authorization
+! from the X Consortium.
+!
+! Author:
+!	Ralph R. Swick, Digital Equipment Corporation/M.I.T. Project Athena
+!	one weekend in November, 1989
+!
+! $XFree86: xc/programs/xfontsel/XFontSel.ad,v 1.1 2000/02/13 03:26:24 dawes Exp $
+
+*appDefaultsVersion:	1
+
+*pixelSizeList: 7, 30, 40, 50, 60
+*pointSizeList: 250, 300, 350, 400
+
+XFontSel.cursor:	left_ptr
+*allowShellResize:	true
+
+*commandBox.ShowGrip:	false
+*commandBox*top:	chainTop
+*commandBox*bottom:	chainTop
+
+*quitButton.Label:	quit
+*quitButton.left:	chainLeft
+*quitButton.right:	chainLeft
+
+*ownButton.Label:	select
+*ownButton.fromHoriz:	quitButton
+*ownButton.left:	chainLeft
+*ownButton.right:	chainLeft
+
+*countLabel.BorderWidth: 0
+*countLabel.Justify:	right
+*countLabel.Label:	999999 fonts match
+*countLabel.left:	chainRight
+*countLabel.right:	chainRight
+
+*fieldBox.Orientation:	horizontal
+*fieldBox.HSpace:	0
+*fieldBox.HSpace:	0
+
+*dash.label:		-
+*dash.borderWidth:	0
+*dash.internalHeight:	0
+*dash.internalWidth:	0
+
+*fieldBox*MenuButton.BorderWidth:	0
+*fieldBox*MenuButton.internalHeight:	0
+*fieldBox*MenuButton.internalWidth:	0
+*fieldBox*MenuButton.shapeStyle:	rectangle
+
+#ifdef LONG_NAMES
+*fieldBox*field0.Label:	foundry
+*fieldBox*field1.Label: family
+*fieldBox*field2.Label: weight
+*fieldBox*field3.Label: slant
+*fieldBox*field4.Label: set width
+*fieldBox*field5.Label: add style
+*fieldBox*field6.Label: pixel size
+*fieldBox*field7.Label: point size
+*fieldBox*field8.Label: resolutionX
+*fieldBox*field9.Label: resolutionY
+*fieldBox*field10.Label: spacing
+*fieldBox*field11.Label: avg width
+*fieldBox*field12.Label: registry
+*fieldBox*field13.Label: encoding
+#else
+*fieldBox*field0.Label:	fndry
+*fieldBox*field1.Label: fmly
+*fieldBox*field2.Label: wght
+*fieldBox*field3.Label: slant
+*fieldBox*field4.Label: sWdth
+*fieldBox*field5.Label: adstyl
+*fieldBox*field6.Label: pxlsz
+*fieldBox*field7.Label: ptSz
+*fieldBox*field8.Label: resx
+*fieldBox*field9.Label: resy
+*fieldBox*field10.Label: spc
+*fieldBox*field11.Label: avgWdth
+*fieldBox*field12.Label: rgstry
+*fieldBox*field13.Label: encdng
+#endif
+
+!*fieldBox*field11.Sensitive: False
+*fieldBox*field11.menu.Options.ShowUnselectable: False
+
+
+!*field1*menu*courier.Font:
+
+*fontName*skipAdjust:	true
+
+*sampleText*international: false
+
+*sampleText*Label: \
+Processing fonts...
+
+*sampleText: \
+ABCDEFGHIJKLMNOPQRSTUVWXYZ\n\
+abcdefghijklmnopqrstuvwxyz\n\
+0123456789\n\
+\340\346\347\353\356\360\361\363\371\375\
+\300\306\307\313\316\320\321\323\331\335
+
+
+*sampleText16: \
+\044\042\044\044\044\046\044\050\044\052\044\053\044\055\044\057\
+\044\061\044\063\044\065\044\067\044\071\044\073\044\075\044\077\n\
+\044\101\044\104\044\106\044\110\044\112\044\113\044\114\044\115\
+\044\116\044\117\044\122\044\125\044\130\044\133\044\136\044\137\n\
+\061\042\061\044\061\046\061\050\061\052\061\053\061\055\061\057\
+\061\061\061\063\061\065\061\067\061\071\061\073\061\075\061\077\n\
+\061\101\061\104\061\106\061\110\061\112\061\113\061\114\061\115\
+\061\116\061\117\061\122\061\125\061\130\061\133\061\136\061\137\n\
+
+*sampleTextUCS: \
+ABCDEFGHIJKLMNOPQRSTUVWXYZ /0123456789\n\
+abcdefghijklmnopqrstuvwxyz £©µÀÆÖÞßéöÿ\n\
+–—‘“”„†•…‰™œŠŸž€ ΑΒΓΔΩαβγδω АБВГДабвгд\n\
+∀∂∈ℝ∧∪≡∞ ↑↗↨↻⇣ ┐┼╔╘░►☺♀ fi�⑀₂ἠḂӥẄɐː⍎אԱა
+
+*sampleText*allowResize: true
+*sampleText*Height:	 50
diff --git a/configure.ac b/configure.ac
index 9f3a3e6..7e2b568 100644
--- a/configure.ac
+++ b/configure.ac
@@ -31,7 +31,7 @@ AM_CONFIG_HEADER(config.h)
 AC_PROG_CC
 AC_PROG_INSTALL
 
-XAW_CHECK_XPRINT_SUPPORT(XFONTSEL)
+PKG_CHECK_MODULES(XFONTSEL, xaw7)
 
 AC_SUBST(XFONTSEL_CFLAGS)
 AC_SUBST(XFONTSEL_LIBS)
diff --git a/xfontsel.spec b/xfontsel.spec
new file mode 100644
index 0000000..9c472cc
--- /dev/null
+++ b/xfontsel.spec
@@ -0,0 +1,56 @@
+Name: xfontsel
+Version: 1.0.2
+Release: alt2
+Summary: point and click selection of X11 font names
+License: MIT/X11
+Group: System/X11
+Url: http://xorg.freedesktop.org
+Packager: Valery Inozemtsev <shrek@altlinux.ru>
+
+Source: %name-%version.tar
+Patch: %name-%version-%release.patch
+
+BuildRequires: libICE-devel libSM-devel libX11-devel libXau-devel
+BuildRequires: libXaw-devel libXext-devel libXmu-devel
+BuildRequires: libXpm-devel libXt-devel xorg-proto-devel
+BuildRequires: xorg-util-macros libXdmcp-devel
+
+%description
+The xfontsel application provides a simple way  to  display  the  fonts
+known  to  your  X  server, examine samples of each, and retrieve the X
+Logical Font Description ("XLFD") full name for a font.
+
+%prep
+%setup -q
+%patch -p1
+
+%build
+%autoreconf
+%configure
+
+%make_build
+
+%install
+%make DESTDIR=%buildroot install
+
+%files
+%_sysconfdir/X11/app-defaults/*
+%_bindir/*
+%_man1dir/*
+
+%changelog
+* Sat Nov 08 2008 Valery Inozemtsev <shrek@altlinux.ru> 1.0.2-alt2
+- rebuild with libXaw.so.7
+
+* Fri Feb 02 2007 Valery Inozemtsev <shrek@altlinux.ru> 1.0.2-alt1
+- 1.0.2
+
+* Tue Dec 27 2005 Valery Inozemtsev <shrek@altlinux.ru> 1.0.1-alt1
+- Xorg-7.0
+
+* Sun Dec 04 2005 Valery Inozemtsev <shrek@altlinux.ru> 0.99.2-alt1
+- Xorg-7.0RC3
+
+* Thu Nov 24 2005 Valery Inozemtsev <shrek@altlinux.ru> 0.99.1-alt0.1
+- initial release
+
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin