ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] Почему не вклюячается перевод
@ 2015-04-07  5:18 Hihin Ruslan
    0 siblings, 1 reply; 2+ messages in thread
From: Hihin Ruslan @ 2015-04-07  5:18 UTC (permalink / raw)
  To: devel


[-- Attachment #1.1: Type: text/plain, Size: 882 bytes --]

Собираю локально tuxtype, добавив туда русские уроки, ну и так - 
по мелочи поправив, почему-то в логах сборки:

"find-requires: running scripts (debuginfo)
Requires: tuxtype = 
1.8.1-alt2, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug,
предупреждение: Installed (but unpackaged) file(s) found:
    /usr/share/locale/zh_N/LC_MESSAGES/tuxtype.mo
Записан: /home/writer/RPM/SRPMS/tuxtype-1.8.1-alt2.src.rpm
Записан: /home/writer/RPM/RPMS/x86_64/tuxtype-1.8.1-alt2.x86_64.rpm
Записан: /home/writer/RPM/RPMS/x86_64/tuxtype-debuginfo-1.8.1-alt2.x86_64.rpm"

Не знаю что это за локаль, но не понятно - почему её выбрасывает 
из сборки.





-- 
  А ещё говорят так  (fortune):
 
No man in the world has more courage than the man who can stop 
after eating one peanut. -- Channing Pollock 
________________________________________________________________________
С уважением Хихин Руслан

[-- Attachment #1.2: tuxtype.spec --]
[-- Type: text/plain, Size: 5229 bytes --]

BuildRequires: desktop-file-utils
%define oname tuxtype_w_fonts
Name: tuxtype
Version: 1.8.1
Release: alt2

Summary: An educational typing tutor game starring Tux

Group: Games/Educational
License: GPLv2
Url: http://tux4kids.alioth.debian.org/

Packager: Vitaly Lipatov <lav@altlinux.ru>

Source: %oname-%version.tar
Source1: %name-48x48.xpm
Source2: %name-32x32.xpm
Source3: %name-16x16.xpm
Source4: ru.po

# Automatically added by buildreq on Mon Apr 06 2015
# optimized out: fontconfig glib2-devel gnu-config libSDL-devel libcairo-devel libcloog-isl4 libgdk-pixbuf libgdk-pixbuf-devel libgio-devel libjson-c pkg-config
BuildRequires: libSDL_image-devel libSDL_mixer-devel libSDL_pango-devel libSDL_ttf-devel librsvg-devel

BuildRequires: libSDL-devel libSDL_image-devel libSDL_mixer-devel libSDL_ttf-devel libSDL_pango-devel
BuildRequires: librsvg-devel

%description
Educational typing tutor starring Tux, the Linux Penguin. Object of
the game is to catch fish as they drop from the top of the screen.
Each fish has a letter or a word written on it, and Tux eats the fish
by the player pressing the associated key or typing the appropriate
word. Intended to be cute and fun for children learning to type and
spell.

%prep
%setup -q -n %oname-%version
cp %SOURCE4 po/
find -type f -name *.gmo | while read f; do rm -f $f; done

%build
aclocal
automake
#%configure --without-sdlpango --without-rsvg --prefix=/usr --exec-prefix=/usr --sysconfdir=/usr/share/tuxtype/etc/ --localstatedir=/usr/share/tuxtype/var/
%configure --localstatedir=%_localstatedir/games --sysconfdir=%_sysconfdir
%make_build

%install
%makeinstall_std

mkdir -p %buildroot%_localstatedir/games/tuxtype

mkdir -p %buildroot%_desktopdir/
cat <<EOF > %buildroot%_desktopdir/%name.desktop
[Desktop Entry]
Name=Tux Typing
Comment=An educational typing tutor game starring Tux
Comment[ru]=Играй и учись печатать
Exec=%name
Icon=%name
Terminal=false
Type=Application
Categories=Game;Application;
EOF

install -pD -m644 %SOURCE1 %buildroot%_liconsdir/%name.xpm
install -pD -m644 %SOURCE2 %buildroot%_niconsdir/%name.xpm
install -pD -m644 %SOURCE3 %buildroot%_miconsdir/%name.xpm

%find_lang %name
rm -rf %buildroot%_docdir/%name/
rm -rf %buildroot%_prefix/doc/
desktop-file-install --dir %buildroot%_desktopdir \
	--add-category=KidsGame \
	--add-category=X-Typing \
	%buildroot%_desktopdir/tuxtype.desktop

%files -f %name.lang
%doc README AUTHORS TODO ChangeLog doc/OFL
%_bindir/%name
%_datadir/%name/
%_niconsdir/%name.xpm
%_liconsdir/%name.xpm
%_miconsdir/%name.xpm
%_desktopdir/%name.desktop
%config(noreplace) %_sysconfdir/tuxtype
%attr(0755,root,games) %config(noreplace) %_localstatedir/games/tuxtype

%changelog
* Mon Apr 06 2015 Hihin Ruslan <ruslandh@altlinux.ru> 1.8.1-alt2
- Add Russian scripts

* Tue Aug 28 2012 Repocop Q. A. Robot <repocop@altlinux.org> 1.8.1-alt1.qa1
- NMU (by repocop). See http://www.altlinux.org/Tools/Repocop
- applied repocop fixes:
  * freedesktop-desktop-file-proposed-patch for tuxtype

* Thu Aug 18 2011 Andrey Cherepanov <cas@altlinux.org> 1.8.1-alt1
- New version 1.8.1 (thanks kostyalamer) (closes: #26071)
- Complete Russian translation

* Wed May 25 2011 Repocop Q. A. Robot <repocop@altlinux.org> 1.7.0-alt1.qa2
- NMU (by repocop). See http://www.altlinux.org/Tools/Repocop
- applied repocop fixes:
  * freedesktop-desktop-file-proposed-patch for tuxtype

* Tue Dec 01 2009 Repocop Q. A. Robot <repocop@altlinux.org> 1.7.0-alt1.qa1
- NMU (by repocop): the following fixes applied:
  * pixmap-in-deprecated-location for tuxtype
  * postclean-05-filetriggers for spec file

* Fri Jan 02 2009 Vitaly Lipatov <lav@altlinux.ru> 1.7.0-alt1
- new mainstream, rename package to tuxtype
- cleanup spec, update buildreq

* Thu Jul 05 2007 Vitaly Lipatov <lav@altlinux.ru> 1.5.3-alt3
- enable russian input (hack bug #8535)

* Sun May 27 2007 Vitaly Lipatov <lav@altlinux.ru> 1.5.3-alt2
- cleanup spec, change mantainer
- replace Debian menu with desktop file
- add some checks for SDL errors

* Wed Jul 21 2004 Yuri N. Sedunov <aris@altlinux.ru> 1.5.3-alt1
- fixed menu file.

* Tue May 25 2004 Yuri N. Sedunov <aris@altlinux.ru> 1.5.3-alt0.5
- tuxtype2-1.5.3 from CVS.
- fixed for none-C locale input by Anton Boyarshinov.

* Wed Apr 30 2003 Yuri N. Sedunov <aris@altlinux.ru> 1.0.3-alt4
- rebuild with latest directfb.

* Fri Mar 07 2003 Yuri N. Sedunov <aris@altlinux.ru> 1.0.3-alt3
- rebuild with new directfb.

* Sun Nov 10 2002 Yuri N. Sedunov <aris@altlinux.ru> 1.0.3-alt2
- Rebuilt with new libdirectfb.

* Mon Sep 23 2002 Yuri N. Sedunov <aris@altlinux.ru> 1.0.3-alt1
- 1.0.3

* Thu May 23 2002 Yuri N. Sedunov <aris@altlinux.ru> 1.0.1-alt4
- Rebuilt (wrong dependence on oldalsa fixed, libSDL requires libalsa2)
- BuildRequires updated.

* Mon Jan 28 2002 Yuri N. Sedunov <aris@altlinux.ru> 1.0.1-alt3
- cleanups

* Mon Jan 14 2002 Yuri N. Sedunov <aristarh@altlinux.ru> 1.0.1-alt2
- Some spec cleanups.
- Russian summary and description added.

* Fri Nov 9 2001 Yuri N. Sedunov <aristarh@altlinux.ru> 1.0.1-alt1
- First build for Sisyphus.

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [devel] Почему не вклюячается перевод
  @ 2015-04-11  5:47   ` Hihin Ruslan
  0 siblings, 0 replies; 2+ messages in thread
From: Hihin Ruslan @ 2015-04-11  5:47 UTC (permalink / raw)
  To: devel

[-- Attachment #1: Type: text/plain, Size: 565 bytes --]

Здравствуйте Rinat Bikov
  В сообщении от 11 апреля 2015 Rinat Bikov написал(a):
> >     /usr/share/locale/zh_N/LC_MESSAGES/tuxtype.mo
>
>  Видимо в спеке не указано, что данный файл принадлежит
> пакету.

Я понял - такой локали (zh_N)  не существует - поправил на zh_СN, 
и всё собралось.

-- 
  А ещё говорят так  (fortune):
 
The time spent on any item of the agenda [of a finance committee] 
will be in inverse proportion to the sum involved. -- C.N. 
Parkinson 
________________________________________________________________________
С уважением Хихин Руслан

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-04-11  5:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-07  5:18 [devel] Почему не вклюячается перевод Hihin Ruslan
2015-04-11  5:47   ` Hihin Ruslan

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git