Hello community, here is the log from the commit of package hxtools for openSUSE:Factory checked in at 2013-06-06 12:07:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/hxtools (Old) and /work/SRC/openSUSE:Factory/.hxtools.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "hxtools" Changes: -------- --- /work/SRC/openSUSE:Factory/hxtools/hxtools.changes 2012-12-14 09:17:51.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.hxtools.new/hxtools.changes 2013-06-06 12:07:40.000000000 +0200 @@ -1,0 +2,8 @@ +Wed Jun 5 13:13:18 UTC 2013 - [email protected] + +- Update to new upstream release 20130605 +* ru-translit-de scim-table replaced by ru-phonde M17N mdbIM +* hcdplay: new utility for control of analog CDROM playback +* cp437AB font: Czech and Polish support/maps + +------------------------------------------------------------------- Old: ---- hxtools-20121125.tar.xz hxtools-20121125.tar.xz.asc New: ---- hxtools-20130605.tar.asc hxtools-20130605.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ hxtools.spec ++++++ --- /var/tmp/diff_new_pack.fpfetW/_old 2013-06-06 12:07:41.000000000 +0200 +++ /var/tmp/diff_new_pack.fpfetW/_new 2013-06-06 12:07:41.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package hxtools # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,16 +17,18 @@ Name: hxtools -Version: 20121125 -Release: 0 -Url: http://inai.de/projects/hxtools/ Summary: Collection of day-to-day tools (binaries) License: GPL-2.0+ and SUSE-WTFPL-2.0 -Group: System/Base +Group: Productivity/Other +Version: 20130605 +Release: 0 +Url: http://inai.de/projects/hxtools/ -Source: %name-%version.tar.xz -Source2: %name-%version.tar.xz.asc +Source: http://jftp.inai.de/hxtools/%name-%version.tar.xz +Source2: http://jftp.inai.de/hxtools/%name-%version.tar.asc Source3: %name.keyring +# This package has a "Upstream First" policy for patches. +# See https://en.opensuse.org/openSUSE:Packaging_Patches_guidelines BuildRequires: fdupes BuildRequires: libcap-devel >= 2 # xorg-x11 for "bdftopcf" @@ -80,7 +82,7 @@ %package scripts Summary: Collection of day-to-day tools (scripts) -Group: System/Base +Group: Productivity/Other %if 0%{?suse_version} >= 1120 BuildArch: noarch %endif @@ -133,7 +135,7 @@ %package data Summary: Collection of day-to-day tools (data) -Group: System/Base +Group: Productivity/Other %if 0%{?suse_version} >= 1120 BuildArch: noarch %endif @@ -147,7 +149,7 @@ %package profile Summary: The hxtools shell environment -Group: System/Base +Group: Productivity/Other Requires: %name = %version Requires: %name-data = %version Requires: %name-scripts = %version @@ -191,6 +193,7 @@ an entire mount. %prep +xz -dk "%{S:0}" %{?gpg_verify: %gpg_verify %{S:2}} %if 0%{?__xz:1} %setup -q @@ -223,11 +226,12 @@ rm -Rf "$b/%_sysconfdir/profile.d" "$b/%_sysconfdir"/hx*; %endif -%fdupes %buildroot +%fdupes %buildroot/%_prefix %files %defattr(-,root,root) %_bindir/declone +%_bindir/hcdplay %_bindir/newns %_bindir/omixer %_bindir/oplay ++++++ hxtools-20121125.tar.xz -> hxtools-20130605.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hxtools-20121125/LICENSES.txt new/hxtools-20130605/LICENSES.txt --- old/hxtools-20121125/LICENSES.txt 2012-11-25 17:52:12.000000000 +0100 +++ new/hxtools-20130605/LICENSES.txt 2013-06-05 15:09:16.000000000 +0200 @@ -43,6 +43,7 @@ smm/fnt2bdf GPL-2.0+ smm/googtts WTFPL-2.0+ smm/gpsh WTFPL-2.0+ +smm/hcdplay WTFPL-2.0+ smm/mod2ogg WTFPL-2.0+ smm/mpg2ogg WTFPL-2.0+ smm/oplay GPL-2.0+ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hxtools-20121125/aclocal.m4 new/hxtools-20130605/aclocal.m4 --- old/hxtools-20121125/aclocal.m4 2012-11-25 17:52:36.000000000 +0100 +++ new/hxtools-20130605/aclocal.m4 2013-06-05 15:09:50.000000000 +0200 @@ -47,7 +47,8 @@ # ---------------------------------- AC_DEFUN([PKG_PROG_PKG_CONFIG], [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) -m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) +m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$]) +m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$]) AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility]) AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path]) AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path]) @@ -93,7 +94,8 @@ pkg_cv_[]$1="$$1" elif test -n "$PKG_CONFIG"; then PKG_CHECK_EXISTS([$3], - [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`], + [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes]) else pkg_failed=untried @@ -141,9 +143,9 @@ AC_MSG_RESULT([no]) _PKG_SHORT_ERRORS_SUPPORTED if test $_pkg_short_errors_supported = yes; then - $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1` + $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1` else - $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1` + $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD @@ -177,6 +179,46 @@ fi[]dnl ])# PKG_CHECK_MODULES + +# PKG_INSTALLDIR(DIRECTORY) +# ------------------------- +# Substitutes the variable pkgconfigdir as the location where a module +# should install pkg-config .pc files. By default the directory is +# $libdir/pkgconfig, but the default can be changed by passing +# DIRECTORY. The user can override through the --with-pkgconfigdir +# parameter. +AC_DEFUN([PKG_INSTALLDIR], +[m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])]) +m4_pushdef([pkg_description], + [pkg-config installation directory @<:@]pkg_default[@:>@]) +AC_ARG_WITH([pkgconfigdir], + [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],, + [with_pkgconfigdir=]pkg_default) +AC_SUBST([pkgconfigdir], [$with_pkgconfigdir]) +m4_popdef([pkg_default]) +m4_popdef([pkg_description]) +]) dnl PKG_INSTALLDIR + + +# PKG_NOARCH_INSTALLDIR(DIRECTORY) +# ------------------------- +# Substitutes the variable noarch_pkgconfigdir as the location where a +# module should install arch-independent pkg-config .pc files. By +# default the directory is $datadir/pkgconfig, but the default can be +# changed by passing DIRECTORY. The user can override through the +# --with-noarch-pkgconfigdir parameter. +AC_DEFUN([PKG_NOARCH_INSTALLDIR], +[m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])]) +m4_pushdef([pkg_description], + [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@]) +AC_ARG_WITH([noarch-pkgconfigdir], + [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],, + [with_noarch_pkgconfigdir=]pkg_default) +AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir]) +m4_popdef([pkg_default]) +m4_popdef([pkg_description]) +]) dnl PKG_NOARCH_INSTALLDIR + # Copyright (C) 2002-2012 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hxtools-20121125/configure new/hxtools-20130605/configure --- old/hxtools-20121125/configure 2012-11-25 17:52:40.000000000 +0100 +++ new/hxtools-20130605/configure 2013-06-05 15:09:54.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for hxtools 20121125. +# Generated by GNU Autoconf 2.69 for hxtools 20130605. # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. @@ -577,8 +577,8 @@ # Identity of this package. PACKAGE_NAME='hxtools' PACKAGE_TARNAME='hxtools' -PACKAGE_VERSION='20121125' -PACKAGE_STRING='hxtools 20121125' +PACKAGE_VERSION='20130605' +PACKAGE_STRING='hxtools 20130605' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -1294,7 +1294,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures hxtools 20121125 to adapt to many kinds of systems. +\`configure' configures hxtools 20130605 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1360,7 +1360,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of hxtools 20121125:";; + short | recursive ) echo "Configuration of hxtools 20130605:";; esac cat <<\_ACEOF @@ -1477,7 +1477,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -hxtools configure 20121125 +hxtools configure 20130605 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1775,7 +1775,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by hxtools $as_me 20121125, which was +It was created by hxtools $as_me 20130605, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2601,7 +2601,7 @@ # Define the identity of the package. PACKAGE='hxtools' - VERSION='20121125' + VERSION='20130605' cat >>confdefs.h <<_ACEOF @@ -4286,6 +4286,7 @@ + if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. @@ -4414,6 +4415,7 @@ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_libHX_CFLAGS=`$PKG_CONFIG --cflags "libHX >= 3.12.1" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi @@ -4430,6 +4432,7 @@ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_libHX_LIBS=`$PKG_CONFIG --libs "libHX >= 3.12.1" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi @@ -4449,9 +4452,9 @@ _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then - libHX_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libHX >= 3.12.1" 2>&1` + libHX_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libHX >= 3.12.1" 2>&1` else - libHX_PKG_ERRORS=`$PKG_CONFIG --print-errors "libHX >= 3.12.1" 2>&1` + libHX_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libHX >= 3.12.1" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$libHX_PKG_ERRORS" >&5 @@ -4503,6 +4506,7 @@ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_libmount_CFLAGS=`$PKG_CONFIG --cflags "mount >= 2.20" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi @@ -4519,6 +4523,7 @@ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_libmount_LIBS=`$PKG_CONFIG --libs "mount >= 2.20" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi @@ -4538,9 +4543,9 @@ _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then - libmount_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "mount >= 2.20" 2>&1` + libmount_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "mount >= 2.20" 2>&1` else - libmount_PKG_ERRORS=`$PKG_CONFIG --print-errors "mount >= 2.20" 2>&1` + libmount_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "mount >= 2.20" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$libmount_PKG_ERRORS" >&5 @@ -4592,6 +4597,7 @@ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_libpci_CFLAGS=`$PKG_CONFIG --cflags "libpci >= 3" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi @@ -4608,6 +4614,7 @@ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_libpci_LIBS=`$PKG_CONFIG --libs "libpci >= 3" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi @@ -4627,9 +4634,9 @@ _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then - libpci_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libpci >= 3" 2>&1` + libpci_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libpci >= 3" 2>&1` else - libpci_PKG_ERRORS=`$PKG_CONFIG --print-errors "libpci >= 3" 2>&1` + libpci_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libpci >= 3" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$libpci_PKG_ERRORS" >&5 @@ -4681,6 +4688,7 @@ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_libxcb_CFLAGS=`$PKG_CONFIG --cflags "xcb >= 1" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi @@ -4697,6 +4705,7 @@ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_libxcb_LIBS=`$PKG_CONFIG --libs "xcb >= 1" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi @@ -4716,9 +4725,9 @@ _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then - libxcb_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xcb >= 1" 2>&1` + libxcb_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xcb >= 1" 2>&1` else - libxcb_PKG_ERRORS=`$PKG_CONFIG --print-errors "xcb >= 1" 2>&1` + libxcb_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xcb >= 1" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$libxcb_PKG_ERRORS" >&5 @@ -5437,7 +5446,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by hxtools $as_me 20121125, which was +This file was extended by hxtools $as_me 20130605, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -5503,7 +5512,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -hxtools config.status 20121125 +hxtools config.status 20130605 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hxtools-20121125/configure.ac new/hxtools-20130605/configure.ac --- old/hxtools-20121125/configure.ac 2012-11-25 17:52:12.000000000 +0100 +++ new/hxtools-20130605/configure.ac 2013-06-05 15:09:16.000000000 +0200 @@ -1,4 +1,4 @@ -AC_INIT([hxtools], [20121125]) +AC_INIT([hxtools], [20130605]) AC_CONFIG_AUX_DIR([build-aux]) AC_CONFIG_HEADERS([config.h]) AC_PROG_INSTALL diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hxtools-20121125/data/gitconfig new/hxtools-20130605/data/gitconfig --- old/hxtools-20121125/data/gitconfig 2012-11-25 17:52:12.000000000 +0100 +++ new/hxtools-20130605/data/gitconfig 2013-06-05 15:09:16.000000000 +0200 @@ -10,7 +10,7 @@ current = bold white [color "diff"] - commit = bold white red + commit = bold white blue frag = magenta meta = bold white blue @@ -32,3 +32,6 @@ suppressfrom = 1 suppresscc = all thread = 1 + +[grep] + patternType = perl diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hxtools-20121125/data/hxtools_dircolors new/hxtools-20130605/data/hxtools_dircolors --- old/hxtools-20121125/data/hxtools_dircolors 2012-11-25 17:52:12.000000000 +0100 +++ new/hxtools-20130605/data/hxtools_dircolors 2013-06-05 15:09:16.000000000 +0200 @@ -1,5 +1,7 @@ # The following scheme implements SUSE 5.x-9.x color -# Not-so-important files have been commented out to make processing faster +# Not-so-important (mostly historic) file extensions have been +# commented out to make processing faster +# NORMAL 0 # anything else FILE 0 # file @@ -21,41 +23,51 @@ #OWR #OWT +# # Category: usually unneeded files (dark gray) +# *~ 1;30 # backups .bak 1;30 # backups +# # Category: Archives (red) +# .7z 0;31 # 7zip -.Z 0;31 # LZ77/78 "compress"ed files (old) +.Z 0;31 # LZ77/78 old-style "compress" files .ace 0;31 # WinACE #.arc 0;31 # SW ARC/PKARC .arj 0;31 # Arj .bz2 0;31 # BZip2 .cab 0;31 # Microsoft Cabinet file -.deb 0;31 # No mention -.gz 0;31 # GZip +.cpio 0;31 # a different kind of tape archive +.deb 0;31 # An .a file with cpio.gz in it +.gz 0;31 # gzip #.ice 0;31 # LHICE # BIN/CUE explicitly not marked -.iso 0;31 # ISO-9660 -.jar 0;31 # Jar (Jung Archiver, a new ARJ) +.iso 0;31 # ISO-9660 and UDF images +.jar 0;31 # Jar (Jung Archiver, a new ARJ). Also: ZIP for Java #.lha 0;31 # LHARC -.lzh 0;31 # LHARC +#.lzh 0;31 # LHARC .msi 0;31 # Microsoft installer package #.pak 0;31 # Pak or Quake1/2 -.pk3 0;31 # PK3 +.pk3 0;31 # ZIP for Quake3 and other games +.pkg 0;31 # Solaris-style .pkg archives .rpm 0;31 # RPM .tar 0;31 # Tape Archive #.taz 0;31 # Tar / Compress (old) #.tbz 0;31 # Tar / BZip1 (old) -.tbz2 0;31 # Tar / BZip2 -.tgz 0;31 # Tar / GZip -.z 0:31 # LZ77/78 "compress" files (old) +#.tbz2 0;31 # tape archive with bzip2 compression +.tgz 0;31 # tape archive with gzip compression +.tlz 0;31 # tape archive with lzip compression +#.txz 0;31 # tape archive with xz compression +#.z 0:31 # see .Z .xz 0;31 # tukaani xz -.zip 0;31 # Zip +.zip 0;31 # classic PKZIP, Zip, etc. .zoo 0;31 # Zoo +# # executables, semi-executables or program code (bright-red) +# .bat 01;31 # MS-DOS: BAT .com 01;31 # MS-DOS: COM .exe 01;31 # MS-DOS: EXE @@ -63,7 +75,9 @@ .dll 01;31 .so 01;31 # UNIX shared object +# # program sources and thelike (green) +# .C 0;32 # C++ program .H 0;32 # C++ include files .S 0;32 # unpreprocessed GNU Assembler source @@ -73,13 +87,11 @@ .c 0;32 # C program .cc 0;32 # C++ program .cpp 0;32 # C++ program -#.cgi 0;32 # CGI script or binary .cxx 0;32 # C++ program .h 0;32 # C include files .hh 0;32 # C++ include files .hpp 0;32 # C++ include files .js 0;32 # JavaScript file -.ph 0;32 # Perl include files .php 0;32 # PHP .pl 0;32 # Perl programs .pm 0;32 # Perl modules @@ -87,37 +99,46 @@ .s 0;32 # Precompiled assembler source .sh 0;32 # Shell script +# # documents (cyan) +# .chm 0;36 # compiled HTML (MS) .css 0;36 # Cascading style sheet .csv 0;36 # CSV:comma separated values #.db 0;36 # Paradox database -.dbf 0;36 # DBase database +#.dbf 0;36 # DBase database .doc 0;36 # Word document +.docx 0;36 # Word document .htm 0;36 # HTML file .html 0;36 # HTML file +.lyx 0;36 # LyX word processing file .pdf 0;36 # Acrobat .po 0;36 # Translations .pps 0;36 # Powerpoint Pack&Go presentation/document .ppt 0;36 # Powerpoint presentation/document +.pptx 0;36 # Powerpoint presentation/document .reg 0;36 # Windows registry file (MS) .rtf 0;36 # Rich Text Format .tex 0;36 # latex doc .txt 0;36 # text file #.url 1;37 # link to the internet -.wks 0;36 # Works file +#.wks 0;36 # Works file .xls 0;36 # Excel table/document +.xlsx 0;36 # Excel table/document .xml 0;36 # XML +# # multimedia (cyan) +# .aif 0;36 # Macintosh AIFF .aiff 0;36 # Macintosh AIFF .asf 0;36 # Active Streaming Format .asx 0;36 # Active Streaming Format +.AVI 0;36 # Audio-Video Interleaved .avi 0;36 # Audio-Video Interleaved .au 0;36 # Sun Audio .bmp 0;36 # Windows bitmap -.cdr 0;36 # CorelDraw file +#.cdr 0;36 # CorelDraw file #.div 0;36 # Divx .divx 0;36 # Divx #.drw 0;36 # Micrografx Draw @@ -127,6 +148,7 @@ .ico 0;36 # Microsoft bitmap Icon .it 0;36 # Impulse Tracker Module .jpeg 0;36 +.JPG 0;36 # JPEG .jpg 0;36 # JPEG .mid 0;36 # MIDI file .mka 0;36 # Matroska container (used for audio-only) @@ -144,9 +166,10 @@ .pgm 0;36 # Portable graymap .png 0;36 # Portable Network Graphics .ppm 0;36 # Portable Pixelmap -.psp 0;36 # Paint Shop Pro -.ra 0;36 # RealPlayer Streaming Video -.ram 0;36 # RealPlayer Video or link to one +#.psp 0;36 # Paint Shop Pro +#.ra 0;36 # RealPlayer Streaming Video +#.ram 0;36 # RealPlayer Video or link to one +#.rmi 0;36 # RIFF-MIDI file .s3m 0;36 # Scream-Tracker Module #.snd 0;36 .svg 0;36 # Scalable vector graphics diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hxtools-20121125/data/ru-phonde.mim new/hxtools-20130605/data/ru-phonde.mim --- old/hxtools-20121125/data/ru-phonde.mim 1970-01-01 01:00:00.000000000 +0100 +++ new/hxtools-20130605/data/ru-phonde.mim 2013-06-05 15:09:16.000000000 +0200 @@ -0,0 +1,137 @@ +;; ru-phonde.mim -- Russian input method with German transliteratoin + +;; This file is part of the m17n database; a sub-part of the m17n +;; library. + +;; The m17n library is free software; you can redistribute it and/or +;; modify it under the terms of the GNU Lesser General Public License +;; as published by the Free Software Foundation; either version 2.1 of +;; the License, or (at your option) any later version. + +;; The m17n library is distributed in the hope that it will be useful, +;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +;; Lesser General Public License for more details. + +;; You should have received a copy of the GNU Lesser General Public +;; License along with the m17n library; if not, write to the Free +;; Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +;; Boston, MA 02110-1301, USA. + +(input-method ru phonde) + +(description + "Russian input method simulating the German transliteration.") + +(title "Я") + +(map + (default + ("a" ?а) + ("A" ?А) + ("b" ?б) + ("B" ?Б) + ("w" ?в) + ("W" ?В) + ("v" ?в) + ("V" ?В) + ("g" ?г) + ("G" ?Г) + ("d" ?д) + ("D" ?Д) + ("e" ?е) + ("E" ?Е) + ("je" ?е) + ("JE" ?Е) + ("Je" ?Е) + ("jo" ?ё) + ("JO" ?Ё) + ("Jo" ?Ё) + ("sj" ?ж) + ("SJ" ?Ж) + ("Sj" ?Ж) + ("s" ?з) + ("S" ?З) + ("s " ?з) + ("S " ?З) + ("i" ?и) + ("I" ?И) + ("j" ?й) + ("J" ?Й) + ("j " ?й) + ("J " ?Й) + ("k" ?к) + ("K" ?К) + ("l" ?л) + ("L" ?Л) + ("m" ?м) + ("M" ?М) + ("n" ?н) + ("N" ?Н) + ("o" ?о) + ("O" ?О) + ("p" ?п) + ("P" ?П) + ("r" ?р) + ("R" ?Р) + ("c" ?с) + ("C" ?С) + ("t" ?т) + ("T" ?Т) + ("t " ?т) + ("T " ?Т) + ("u" ?у) + ("U" ?У) + ("f" ?ф) + ("F" ?Ф) + ("h" ?х) + ("H" ?Х) + ("x" ?х) + ("X" ?Х) + ("z" ?ц) + ("Z" ?Ц) + ("ts" ?ч) + ("TS" ?Ч) + ("Ts" ?Ч) + ("tsh" ?ч) + ("TSH" ?Ч) + ("Tsh" ?Ч) + ("tsch" ?ч) + ("TSCH" ?Ч) + ("Tsch" ?Ч) + ("sh" ?ш) + ("SH" ?Ш) + ("Sh" ?Ш) + ("sch" ?ш) + ("SCH" ?Ш) + ("Sch" ?Ш) + ("schtsch" ?щ) + ("SCHTSCH" ?Щ) + ("Schtsch" ?Щ) + ("-b" ?ъ) + ("-B" ?Ъ) + ("- " ?-) + ("- " ?-) + ("y" ?ы) + ("Y" ?Ы) + ("'b" ?ь) + ("'B" ?Ь) + ("'e" ?э) + ("'E" ?Э) + ("' " ?') + ("' " ?') + ("ju" ?ю) + ("JU" ?Ю) + ("Ju" ?Ю) + ("ja" ?я) + ("JA" ?Я) + ("Ja" ?Я) + ) +) + +(state (init (default))) + +;; Local Variables: +;; coding: utf-8 +;; mode: lisp +;; End: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hxtools-20121125/data/ru-translit-de.txt new/hxtools-20130605/data/ru-translit-de.txt --- old/hxtools-20121125/data/ru-translit-de.txt 2012-11-25 17:52:12.000000000 +0100 +++ new/hxtools-20130605/data/ru-translit-de.txt 1970-01-01 01:00:00.000000000 +0100 @@ -1,199 +0,0 @@ -### File header must not be modified -### This file must be encoded into UTF-8. -### This file is derived from GTK2 Input Method Cyrillic (Transliterated) -### This file is derived from scim-tables/tables/ru/Translit.txt -### -### Copy to ~/.scim/user-tables/ to use -SCIM_Generic_Table_Phrase_Library_TEXT -VERSION_1_0 - -### Begin Table definition. -BEGIN_DEFINITION - -### An unique id to distinguish this table among others. -### Use uuidgen to generate this kind of id. -UUID = 2355c7f0-9f63-42d3-9937-252af7e652f8 - -### A unique number indicates the version of this file. -### For example the last modified date of this file. -### This number must be less than 2^32. -SERIAL_NUMBER = 20110410 - -ICON = /usr/share/scim/icons/Yawerty.png - -### The default name of this table -NAME = ru-translit-de - -### The local names of this table -###NAME.ru_RU = - -### Supported languages of this table -LANGUAGES = ru_RU - -### The author of this table -AUTHOR = Jan Engelhardt <[email protected]> - -### Prompt string to be displayed in the status area. -STATUS_PROMPT = Я - -### The Keyboard Layout used by this table. Unset or set to "Unknown" to accept any kind of layouts. -KEYBOARD_LAYOUT = US_Default - -### If true then the first candidate phrase -### will be selected automatically during inputing. -AUTO_SELECT = TRUE - -### If true then a multi wildcard will be appended -### at the end of inputing string automatically. -AUTO_WILDCARD = FALSE - -### If true then the result string will be committed to client automatically. -### This should be used with AUTO_SELECT = TRUE. -AUTO_COMMIT = TRUE - -### If true then the inputted string will be automatically splitted during inputing. -AUTO_SPLIT = TRUE - -### If true then the phrases' frequencies will be adjusted dynamically. -DYNAMIC_ADJUST = FALSE - -### If true then the preedit area will be filled up by the current candidate phrase automatically. -AUTO_FILL = TRUE - -### If true then the lookup table will always be shown if there is any candidate phrase. -### Otherwise the lookup table won't be shown unless the user requires it by moving the preedit caret left. -ALWAYS_SHOW_LOOKUP = FALSE - -### Enable full width punctuation property -USE_FULL_WIDTH_PUNCT = FALSE - -### Use full width punctuation by default -DEF_FULL_WIDTH_PUNCT = FALSE - -### Enable full width letter property -USE_FULL_WIDTH_LETTER = FALSE - -### Use full width letter by default -DEF_FULL_WIDTH_LETTER = FALSE - -### The maxmium length of a key. -MAX_KEY_LENGTH = 7 - -### Valid input chars. -VALID_INPUT_CHARS = ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-' - -### Single wildcard char, can have multiple chars. -###SINGLE_WILDCARD_CHAR = ? - -### Multi wildcard char. -###MULTI_WILDCARD_CHAR = * - -### The key strokes to split inputted string. -###SPLIT_KEYS = quoteright - -### The key strokes to commit the convert result to client. -COMMIT_KEYS = Return - -### The key strokes to forward the inputted string to client. -###FORWARD_KEYS = Escape - -### The key strokes to select candidiate phrases. -###SELECT_KEYS = Return - -### The key strokes to page up the lookup table. -###PAGE_UP_KEYS = Page_Up - -### The key strokes to page down the lookup table. -###PAGE_DOWN_KEYS = Page_Down - -END_DEFINITION - -### Begin Table data. -BEGIN_TABLE -A А 0 -B Б 0 -V В 0 -W В 0 -G Г 0 -D Д 0 -E Е 0 -JE Е 0 -Je Е 0 -JO Ё 0 -Jo Ё 0 -SH Ж 0 -Sh Ж 0 -S З 0 -I И 0 -J Й 0 -K К 0 -L Л 0 -M М 0 -N Н 0 -O О 0 -P П 0 -R Р 0 -C С 0 -T Т 0 -U У 0 -F Ф 0 -H Х 0 -KH Х 0 -Kh Х 0 -X Х 0 -Z Ц 0 -CH Ч 0 -Ch Ч 0 -TSCH Ч 0 -Tsch Ч 0 -SCH Ш 0 -Sch Ш 0 -SCHTSCH Щ 0 -Schtsch Щ 0 -Y Ы 0 -'B Ь 0 -E' Э 0 -'E Э 0 -JU Ю 0 -Ju Ю 0 -JA Я 0 -Ja Я 0 -a а 0 -b б 0 -v в 0 -w в 0 -g г 0 -d д 0 -e е 0 -je е 0 -jo ё 0 -sh ж 0 -s з 0 -i и 0 -j й 0 -k к 0 -l л 0 -m м 0 -n н 0 -o о 0 -p п 0 -r р 0 -c с 0 -t т 0 -u у 0 -f ф 0 -h х 0 -kh х 0 -x х 0 -z ц 0 -ch ч 0 -tsch ч 0 -sch ш 0 -schtsch щ 0 -y ы 0 -'b ь 0 -e' э 0 -'e э 0 -ju ю 0 -ja я 0 -END_TABLE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hxtools-20121125/doc/Makefile.am new/hxtools-20130605/doc/Makefile.am --- old/hxtools-20121125/doc/Makefile.am 2012-11-25 17:52:12.000000000 +0100 +++ new/hxtools-20130605/doc/Makefile.am 2013-06-05 15:09:16.000000000 +0200 @@ -21,6 +21,7 @@ git-forest.1 \ git-revert-stats.1 \ git-track.1 \ + hcdplay.1 \ hxtools.7 \ logontime.8 \ mailsplit.1 \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hxtools-20121125/doc/Makefile.in new/hxtools-20130605/doc/Makefile.in --- old/hxtools-20121125/doc/Makefile.in 2012-11-25 17:52:44.000000000 +0100 +++ new/hxtools-20130605/doc/Makefile.in 2013-06-05 15:09:59.000000000 +0200 @@ -233,6 +233,7 @@ git-forest.1 \ git-revert-stats.1 \ git-track.1 \ + hcdplay.1 \ hxtools.7 \ logontime.8 \ mailsplit.1 \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hxtools-20121125/doc/NEWS.txt new/hxtools-20130605/doc/NEWS.txt --- old/hxtools-20121125/doc/NEWS.txt 1970-01-01 01:00:00.000000000 +0100 +++ new/hxtools-20130605/doc/NEWS.txt 2013-06-05 15:09:16.000000000 +0200 @@ -0,0 +1,6 @@ + +rel-20130605 +============ +* ru-translit-de scim-table replaced by ru-phonde M17N mdbIM +* hcdplay: new utility for control of analog CDROM playback +* cp437AB font: Czech and Polish support/maps diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hxtools-20121125/doc/hcdplay.1 new/hxtools-20130605/doc/hcdplay.1 --- old/hxtools-20121125/doc/hcdplay.1 1970-01-01 01:00:00.000000000 +0100 +++ new/hxtools-20130605/doc/hcdplay.1 2013-06-05 15:09:16.000000000 +0200 @@ -0,0 +1,53 @@ +.TH hcdplay 1 "2013-03-16" "hxtools" "hxtools" +.SH Name +.PP +hcdplay \(em Control autonomous CDDA playback using Linux CDROM ioctls +.SH Syntax +.PP +\fBhcdplay\fP [\fB\-EPRSTs\fP] [\fB\-D\fP \fIdevice\fP] [\fB\-p\fP +\fIfirst-track\fP [\fIlast-track\fP]] +.SH Description +.PP +CD-DA discs in CD-ROM drives can either be played back using Digital Audio +Extraction (DAE) where software requests sector by sector, or by using the +drive's autonomous playback functions, whereby the drive's firmware will do the +sector reading. Software is only required for a few control codes to initiate +or terminate playback. (If the drive possesses extra buttons besides the eject +function, such as the Sony CDU5221, Autonomous Playback can even be controlled +using that method as well.) +.PP +With this autonomous play mode, the drive can/will output sound using a variety +of methods. Common ones are a 3.5mm headphone jack and a 4-pin Analog Audio +connector that is supposed to be connected a soundcard. These are often lacking +nowadays, especially external drives, slimline drives, and even internal 5.25" +SATA drives. As such, these drives often do not even implement the Autonomous +Playback functions anymore (the particular ATA commands are ignored). +.SH Options +.TP +\fB\-D\fP, \fB\-\-device\fP \fIdevice\fP +The path to the CD-ROM device node. Defaults to \fB/dev/sr0\fP. +.TP +\fB\-E\fP, \fB\-\-eject\fP +Request that the drive be ejected. +.TP +\fB\-P\fP, \fB\-\-pause\fP +Pause playback. This can only be issued if the CD-ROM drive is in the Playing +state. +.TP +\fB\-R\fP, \fB\-\-resume\fP +Resume playback. This can only be issued if the CD-ROM drive is in the Paused +state. +.TP +\fB\-S\fP, \fB\-\-stop\fP +Stop playback. +.TP +\fB\-T\fP, \fB\-\-toc\fP +Print part of the disc's table of contents (TOC). +.TP +\fB\-p\fP, \fB\-\-play\fP [\fIfirst-track\fP [\fIlast-track\fP]] +Start playback of \fIfirst-track\fP and play until \fIlast-track\fP. If no +first track is specified, starts from 1. If no last track is specified, it will +play until the end of the disc. +.TP +\fB\-s\fP, \fB\-\-start\fP +Start playback. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hxtools-20121125/doc/hxtools.7 new/hxtools-20130605/doc/hxtools.7 --- old/hxtools-20121125/doc/hxtools.7 2012-11-25 17:52:12.000000000 +0100 +++ new/hxtools-20130605/doc/hxtools.7 2013-06-05 15:09:16.000000000 +0200 @@ -75,6 +75,8 @@ \fBgraph\-lchain\fP(1) \(en remove circles in graphs using longest-chaining method .PP +\fBhcdplay\fP(1) \(en control autonomous CDDA playback using Linux ioctls +.PP \fBlogontime\fP(8) \(en show cumulative logon time from wtmp .PP \fBmailsplit\fP(1) \(en split an mbox into single files Files old/hxtools-20121125/kbd/A1.fnt and new/hxtools-20130605/kbd/A1.fnt differ Files old/hxtools-20121125/kbd/B1.fnt and new/hxtools-20130605/kbd/B1.fnt differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hxtools-20121125/kbd/README new/hxtools-20130605/kbd/README --- old/hxtools-20121125/kbd/README 2012-11-25 17:52:12.000000000 +0100 +++ new/hxtools-20130605/kbd/README 2013-06-05 15:09:16.000000000 +0200 @@ -52,8 +52,26 @@ == FONT OVERVIEW == -ahnv.fnt - Mixture of ati.fnt and nvidia.fnt +Unless otherwise noted, + - the font glyph cells are 8 pixels wide and 16 pixels high + - the actual font glyphs may use all of these 8 pixels + - the fonts were designed for a 9 pixel wide character cell + (IBM-style text mode, where the 9th column is a clone of + the 8th for positions 0xB0-0xDF, and otherwise blank) + +Linux fbdev makes the character cells as big as the glyph cells, +which may make some fonts look squashed together. +The vfontas(1) tool may be used to convert an 8x16 font to a 9x16 +font, IBM-style, for use with fbdev. + + +A1.fnt + A font with a somewhat angular shape for the upper-case + and digit glyphs. + To be used with cp437AB.uni. +B1.fnt + A font with more soft roundings in upper-case and digit glyphs. + To be used with cp437AB.uni. ati.fnt ATI ROM font ega*.fnt @@ -74,5 +92,6 @@ a serif roman font r.fnt from the SUSE "kbd" package, alterations tosh.fnt - A 7-pixel wide narrow geometric sans-serif font + A narrow geometric sans-serif font. All glyphs are 7 pixels + wide, for use with 8-pixel character cells. CrystalLogic CS55554 ROM diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hxtools-20121125/kbd/cp437AB.uni new/hxtools-20130605/kbd/cp437AB.uni --- old/hxtools-20121125/kbd/cp437AB.uni 2012-11-25 17:52:12.000000000 +0100 +++ new/hxtools-20130605/kbd/cp437AB.uni 2013-06-05 15:09:16.000000000 +0200 @@ -44,7 +44,7 @@ 0x2b U+002b 0x2c U+002c U+00b8 0x2d U+002d U+00ad -0x2e U+002e +0x2e U+002e U+2026 0x2f U+002f 0x30 U+0030 0x31 U+0031 @@ -65,7 +65,7 @@ 0x40 U+0040 0x41 U+0041 U+00c0 U+00c1 U+00c2 U+00c3 0x42 U+0042 -0x43 U+0043 U+00a9 +0x43 U+0043 U+0106 U+010c 0x44 U+0044 0x45 U+0045 U+00c8 U+00ca U+00cb 0x46 U+0046 @@ -73,7 +73,7 @@ 0x48 U+0048 0x49 U+0049 U+00cc U+00cd U+00ce U+00cf 0x4a U+004a -0x4b U+004b U+212a +0x4b U+004b U+0141 U+212a 0x4c U+004c 0x4d U+004d 0x4e U+004e @@ -81,14 +81,14 @@ 0x50 U+0050 0x51 U+0051 0x52 U+0052 U+00ae -0x53 U+0053 +0x53 U+0053 U+015a U+015e U+0160 0x54 U+0054 0x55 U+0055 U+00d9 U+00da U+00db 0x56 U+0056 0x57 U+0057 0x58 U+0058 0x59 U+0059 U+00dd -0x5a U+005a +0x5a U+005a U+0179 U+017b U+017d 0x5b U+005b 0x5c U+005c 0x5d U+005d @@ -97,30 +97,30 @@ 0x60 U+0060 0x61 U+0061 U+00e3 0x62 U+0062 -0x63 U+0063 +0x63 U+0063 U+0107 U+010d 0x64 U+0064 -0x65 U+0065 +0x65 U+0065 U+0119 0x66 U+0066 0x67 U+0067 0x68 U+0068 0x69 U+0069 0x6a U+006a 0x6b U+006b -0x6c U+006c +0x6c U+006c U+0142 0x6d U+006d 0x6e U+006e 0x6f U+006f U+00f5 0x70 U+0070 0x71 U+0071 -0x72 U+0072 -0x73 U+0073 +0x72 U+0072 U+0159 +0x73 U+0073 U+015b U+015f U+0161 0x74 U+0074 0x75 U+0075 0x76 U+0076 0x77 U+0077 0x78 U+0078 0x79 U+0079 U+00fd -0x7a U+007a +0x7a U+007a U+017a U+017c U+017e 0x7b U+007b 0x7c U+007c U+00a5 0x7d U+007d @@ -162,8 +162,8 @@ 0x9b U+00a2 0x9c U+00a3 0x9d U+00a5 -0x9e U+20a7 -0x9f U+0192 U+2320 U+2321 +0x9e U+0152 +0x9f U+0153 0xa0 U+00e1 0xa1 U+00ed 0xa2 U+00f3 @@ -249,7 +249,7 @@ 0xec U+221e 0xed U+00f8 U+2205 0xee U+00d7 -0xef U+00a4 +0xef U+00a4 U+20a7 0xf0 U+2261 0xf1 U+00b1 0xf2 U+2265 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hxtools-20121125/sadmin/printcaps.c new/hxtools-20130605/sadmin/printcaps.c --- old/hxtools-20121125/sadmin/printcaps.c 2012-11-25 17:52:12.000000000 +0100 +++ new/hxtools-20130605/sadmin/printcaps.c 2013-06-05 15:09:16.000000000 +0200 @@ -65,6 +65,9 @@ #ifdef CAP_WAKE_ALARM E(WAKE_ALARM), #endif +#ifdef CAP_BLOCK_SUSPEND + E(BLOCK_SUSPEND), +#endif #undef E }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hxtools-20121125/smm/.gitignore new/hxtools-20130605/smm/.gitignore --- old/hxtools-20121125/smm/.gitignore 2012-11-25 17:52:12.000000000 +0100 +++ new/hxtools-20130605/smm/.gitignore 2013-06-05 15:09:16.000000000 +0200 @@ -1,4 +1,5 @@ /bsvplay +/hcdplay /omixer /oplay /orec diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hxtools-20121125/smm/Makefile.am new/hxtools-20130605/smm/Makefile.am --- old/hxtools-20121125/smm/Makefile.am 2012-11-25 17:52:12.000000000 +0100 +++ new/hxtools-20130605/smm/Makefile.am 2013-06-05 15:09:16.000000000 +0200 @@ -5,7 +5,7 @@ CLEANFILES = omixer orec bin_PROGRAMS = \ - oplay + hcdplay oplay dist_bin_SCRIPTS = \ googtts gpsh ssa2srt @@ -31,6 +31,7 @@ bsvplay_SOURCES = bsvplay.c pcspkr_pcm.c bsvplay_LDADD = ${libHX_LIBS} -lm +hcdplay_LDADD = ${libHX_LIBS} oplay_LDADD = ${libHX_LIBS} pcmdiff_LDADD = ${libHX_LIBS} qplay_SOURCES = qplay.c pcspkr_pcm.c diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hxtools-20121125/smm/Makefile.in new/hxtools-20130605/smm/Makefile.in --- old/hxtools-20121125/smm/Makefile.in 2012-11-25 17:52:46.000000000 +0100 +++ new/hxtools-20130605/smm/Makefile.in 2013-06-05 15:10:02.000000000 +0200 @@ -51,7 +51,7 @@ NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : -bin_PROGRAMS = oplay$(EXEEXT) +bin_PROGRAMS = hcdplay$(EXEEXT) oplay$(EXEEXT) pkglibexec_PROGRAMS = bsvplay$(EXEEXT) pcmdiff$(EXEEXT) qplay$(EXEEXT) \ vfontas$(EXEEXT) subdir = smm @@ -73,6 +73,9 @@ bsvplay_OBJECTS = $(am_bsvplay_OBJECTS) am__DEPENDENCIES_1 = bsvplay_DEPENDENCIES = $(am__DEPENDENCIES_1) +hcdplay_SOURCES = hcdplay.c +hcdplay_OBJECTS = hcdplay.$(OBJEXT) +hcdplay_DEPENDENCIES = $(am__DEPENDENCIES_1) oplay_SOURCES = oplay.c oplay_OBJECTS = oplay.$(OBJEXT) oplay_DEPENDENCIES = $(am__DEPENDENCIES_1) @@ -133,10 +136,10 @@ AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; -SOURCES = $(bsvplay_SOURCES) oplay.c pcmdiff.c $(qplay_SOURCES) \ - vfontas.c -DIST_SOURCES = $(bsvplay_SOURCES) oplay.c pcmdiff.c $(qplay_SOURCES) \ - vfontas.c +SOURCES = $(bsvplay_SOURCES) hcdplay.c oplay.c pcmdiff.c \ + $(qplay_SOURCES) vfontas.c +DIST_SOURCES = $(bsvplay_SOURCES) hcdplay.c oplay.c pcmdiff.c \ + $(qplay_SOURCES) vfontas.c am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ @@ -270,6 +273,7 @@ bsvplay_SOURCES = bsvplay.c pcspkr_pcm.c bsvplay_LDADD = ${libHX_LIBS} -lm +hcdplay_LDADD = ${libHX_LIBS} oplay_LDADD = ${libHX_LIBS} pcmdiff_LDADD = ${libHX_LIBS} qplay_SOURCES = qplay.c pcspkr_pcm.c @@ -393,6 +397,9 @@ bsvplay$(EXEEXT): $(bsvplay_OBJECTS) $(bsvplay_DEPENDENCIES) $(EXTRA_bsvplay_DEPENDENCIES) @rm -f bsvplay$(EXEEXT) $(AM_V_CCLD)$(LINK) $(bsvplay_OBJECTS) $(bsvplay_LDADD) $(LIBS) +hcdplay$(EXEEXT): $(hcdplay_OBJECTS) $(hcdplay_DEPENDENCIES) $(EXTRA_hcdplay_DEPENDENCIES) + @rm -f hcdplay$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(hcdplay_OBJECTS) $(hcdplay_LDADD) $(LIBS) oplay$(EXEEXT): $(oplay_OBJECTS) $(oplay_DEPENDENCIES) $(EXTRA_oplay_DEPENDENCIES) @rm -f oplay$(EXEEXT) $(AM_V_CCLD)$(LINK) $(oplay_OBJECTS) $(oplay_LDADD) $(LIBS) @@ -483,6 +490,7 @@ -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bsvplay.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hcdplay.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oplay.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pcmdiff.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pcspkr_pcm.Po@am__quote@ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hxtools-20121125/smm/gpsh new/hxtools-20130605/smm/gpsh --- old/hxtools-20121125/smm/gpsh 2012-11-25 17:52:12.000000000 +0100 +++ new/hxtools-20130605/smm/gpsh 2013-06-05 15:09:16.000000000 +0200 @@ -150,9 +150,21 @@ sub filename_timidity { - my $ext = shift @_; + my $ext = lc shift @_; - foreach my $t (qw(.mid .mus .mod .669 .s3m .xm .it)) { + foreach my $t (qw(.mid .mus .rmi)) { + if ($ext eq $t) { + return 1; + } + } + return 0; +} + +sub filename_xmp +{ + my $ext = lc shift @_; + + foreach my $t (qw(.it .s3m .xm .mod .xm2)) { if ($ext eq $t) { return 1; } @@ -185,11 +197,11 @@ # my $t = $opt_verbose ? "t" : ""; system "timidity", "-Os", "-idt", $file; next; - } elsif ($file eq ".umx") { - &play_umx($file); + } elsif (&filename_xmp($ext)) { + system "xmp", $file; next; } - if (exists $entry->{vbr}) { + if ($ext eq ".mp3" && exists($entry->{vbr})) { if ($opt_nomixes) { print STDERR "\e[31m(VBR file and reindexing disabled)\e[0m\n"; } else { @@ -209,7 +221,7 @@ # Create an index file... my $ifile = shift @_; my $ofile = $ifile; - my $tmpdir = "/tmp/psh"; + my $tmpdir = "/tmp/psh.$>"; $ofile =~ s{/}{__}gs; $ofile = "$tmpdir/$ofile"; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hxtools-20121125/smm/hcdplay.c new/hxtools-20130605/smm/hcdplay.c --- old/hxtools-20121125/smm/hcdplay.c 1970-01-01 01:00:00.000000000 +0100 +++ new/hxtools-20130605/smm/hcdplay.c 2013-06-05 15:09:16.000000000 +0200 @@ -0,0 +1,106 @@ +/* + * hcdplay - Command-line interface to autonomous background CD playback + * written by Jan Engelhardt, 2013 + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the WTF Public License version 2 or + * (at your option) any later version. + */ +#include <errno.h> +#include <fcntl.h> +#include <stdbool.h> +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <unistd.h> +#include <libHX/option.h> +#include <sys/ioctl.h> +#include <linux/cdrom.h> +#define DEFAULT_ROM "/dev/sr0" + +static char *cdev; +static unsigned int dump_toc, do_start, do_pause, do_resume; +static unsigned int do_play, do_stop, do_eject; + +static bool cdp_get_options(int *argc, const char ***argv) +{ + static const struct HXoption option_table[] = { + {.sh = 'D', .ln = "device", .type = HXTYPE_STRING, .ptr = &cdev, + .help = "CD-ROM device path", .htyp = "FILE"}, + {.sh = 'E', .ln = "eject", .type = HXTYPE_NONE, .ptr = &do_eject, + .help = "Eject the CD-ROM"}, + {.sh = 'P', .ln = "pause", .type = HXTYPE_NONE, .ptr = &do_pause, + .help = "Pause playback"}, + {.sh = 'R', .ln = "resume", .type = HXTYPE_NONE, .ptr = &do_resume, + .help = "Resume playback"}, + {.sh = 'S', .ln = "stop", .type = HXTYPE_NONE, .ptr = &do_stop, + .help = "Stop playback"}, + {.sh = 'T', .ln = "toc", .type = HXTYPE_NONE, .ptr = &dump_toc, + .help = "Show TOC information"}, + {.sh = 'p', .ln = "play", .type = HXTYPE_NONE, .ptr = &do_play, + .help = "Playback track # or tracks #-#"}, + {.sh = 's', .ln = "start", .type = HXTYPE_NONE, .ptr = &do_start, + .help = "Start playback (?)"}, + HXOPT_AUTOHELP, + HXOPT_TABLEEND, + }; + int ret; + + ret = HX_getopt(option_table, argc, argv, HXOPT_USAGEONERR); + if (ret != HXOPT_ERR_SUCCESS) + return false; + if (cdev == NULL) + cdev = DEFAULT_ROM; + return true; +} + +int main(int argc, const char **argv) +{ + struct cdrom_tochdr toc; + int fd; + + if (!cdp_get_options(&argc, &argv)) + return EXIT_FAILURE; + + fd = open(cdev, O_RDONLY); + if (fd < 0) { + fprintf(stderr, "Could not open %s: %s\n", + cdev, strerror(errno)); + return EXIT_FAILURE; + } + + if (ioctl(fd, CDROMREADTOCHDR, &toc) < 0) { + perror("ioctl CDROMREADTOCHDR"); + return EXIT_FAILURE; + } + if (dump_toc) + printf("Tracks: %u-%u\n", toc.cdth_trk0, toc.cdth_trk1); + if (do_start) + if (ioctl(fd, CDROMSTART) < 0) + perror("ioctl CDROMSTART"); + if (do_pause) + if (ioctl(fd, CDROMPAUSE) < 0) + perror("ioctl CDROMPAUSE"); + if (do_resume) + if (ioctl(fd, CDROMRESUME) < 0) + perror("ioctl CDROMRESUME"); + if (do_play) { + struct cdrom_ti t; + t.cdti_trk0 = (argc >= 2) ? strtoul(argv[1], NULL, 0) : + toc.cdth_trk0; + t.cdti_trk1 = (argc >= 3) ? strtoul(argv[2], NULL, 0) : + toc.cdth_trk1; + t.cdti_ind0 = 0; + t.cdti_ind1 = 0; + if (ioctl(fd, CDROMPLAYTRKIND, &t) < 0) + perror("ioctl CDROMPLAYTRKIND"); + } + if (do_stop) + if (ioctl(fd, CDROMSTOP) < 0) + perror("ioctl CDROMSTOP"); + if (do_eject) + if (ioctl(fd, CDROMEJECT) < 0) + perror("ioctl CDROMEJECT"); + close(fd); + return EXIT_SUCCESS; +} -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
