# HG changeset patch # User Aleksej Bobylev # Date 1463001885 -10800 # Node ID 73e9a7d984fca9d59c9e2e7b9dbdb7a7b63771fa # Parent 86698e8d683a8a0153c667df6b71c2d77d960b62 Add gnome-alsamixer, pngrewrite, lcms2, pngquant; up pngcrush(1.8.1) diff -r 86698e8d683a -r 73e9a7d984fc gnome-alsamixer/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gnome-alsamixer/description.txt Thu May 12 00:24:45 2016 +0300 @@ -0,0 +1,16 @@ + A "volume control" application. You can use it to adjust the volume of +different sound sources of your sound card. + +It has a nice graphical user interface and a lot of features: + + * access to all of your computers sound cards and audio sources + * possibility to give them custom names + * only display the mixer controls you need + * access to all the extra features some sound cards offer, like + 3d enhancement, microphone gain boost... + * and more + +This application uses the ALSA sound API, you cannot use it if you use the +(older) OSS drivers for your sound card(s). In return, it gives you access to +all the functionality ALSA provides with the "alsamixer" program, found in the +"alsa-utils" package. diff -r 86698e8d683a -r 73e9a7d984fc gnome-alsamixer/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gnome-alsamixer/receipt Thu May 12 00:24:45 2016 +0300 @@ -0,0 +1,48 @@ +# SliTaz package receipt. + +PACKAGE="gnome-alsamixer" +VERSION="0.9.7~cvs.20060916.ds.1" +CATEGORY="sound" +SHORT_DESC="ALSA sound mixer for GNOME" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="GPL2" +WEB_SITE="https://packages.debian.org/en/sid/gnome-alsamixer" +TARBALL="${PACKAGE}_$VERSION.orig.tar.gz" +WGET_URL="http://http.debian.net/debian/pool/main/g/$PACKAGE/$TARBALL" +EXTRA_URL="${WGET_URL/.orig/-5.debian}" + +DEPENDS="gtk+ libgnomeui libgnome-keyring" +BUILD_DEPENDS="automake autoconf glib dbus-dev libgnomeui-dev libgnome-dev \ +GConf-dev alsa-lib-dev" + +# Rules to configure and make the package. +compile_rules() +{ + if [ ! -f "$SRC/$(basename "$EXTRA_URL")" ]; then + wget $EXTRA_URL -P $SRC + fi + + tar -xzf $SRC/$(basename "$EXTRA_URL") + + while read i; do + patch -p1 -i $src/debian/patches/$i + done < $src/debian/patches/series + + cp $stuff/ru.po $src/po + sed -i 's|pt_BR|& ru|' $src/configure.ac + + ./autogen.sh + make && make install + + mkdir -p $install/usr/share/applications $install/usr/share/man/man1 + cp -a $src/debian/$PACKAGE.desktop $install/usr/share/applications + cp -a $src/debian/$PACKAGE.1 $install/usr/share/man/man1 + gzip -9 $install/usr/share/man/man1/$PACKAGE.1 +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/* $fs + find $fs -name '*.xpm' -delete +} diff -r 86698e8d683a -r 73e9a7d984fc gnome-alsamixer/stuff/ru.po --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gnome-alsamixer/stuff/ru.po Thu May 12 00:24:45 2016 +0300 @@ -0,0 +1,162 @@ +# Russian translation of the gnome-alsamixer module. +# Copyright (C) 1999 Free Software Foundation, Inc. +# Aleksej Bobylev , 2016 +# +msgid "" +msgstr "" +"Project-Id-Version: gnome-alsamixer\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2005-08-12 01:08+0300\n" +"PO-Revision-Date: 2016-05-11 05:56+0300\n" +"Last-Translator: Aleksej Bobylev \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Language: ru\n" +"X-Generator: Poedit 1.8.6\n" + +#: ../src/gam-app.c:92 +msgid "_File" +msgstr "_Файл" + +#: ../src/gam-app.c:93 +msgid "_Edit" +msgstr "_Правка" + +#: ../src/gam-app.c:94 +msgid "_Help" +msgstr "_Справка" + +#: ../src/gam-app.c:95 +msgid "E_xit" +msgstr "Вы_ход" + +#: ../src/gam-app.c:95 +msgid "Exit the program" +msgstr "Закрыть программу" + +#: ../src/gam-app.c:96 +msgid "Sound Card _Properties" +msgstr "Свойства _звуковой карты" + +#: ../src/gam-app.c:96 +msgid "Configure the current sound card" +msgstr "Настроить текущую звуковую карту" + +#: ../src/gam-app.c:97 +msgid "Program Prefere_nces" +msgstr "Параме_тры программы" + +#: ../src/gam-app.c:97 +msgid "Configure the application" +msgstr "Настройка программы" + +#: ../src/gam-app.c:98 +msgid "_About" +msgstr "_О программе" + +#: ../src/gam-app.c:98 +msgid "About this application" +msgstr "Об этой программе" + +#: ../src/gam-app.c:429 +msgid "Contributors:" +msgstr "Участники:" + +#: ../src/gam-app.c:438 ../src/gam-app.c:448 +msgid "An ALSA mixer for GNOME" +msgstr "Микшер ALSA для GNOME" + +#: ../src/gam-app.c:440 ../src/gam-app.c:446 ../src/gam-app.c:578 +#: ../src/gam-main.c:44 +msgid "GNOME ALSA Mixer" +msgstr "Микшер ALSA для GNOME" + +#: ../src/gam-mixer.c:159 ../src/gam-mixer.c:160 ../src/gam-slider.c:156 +#: ../src/gam-slider.c:157 ../src/gam-toggle.c:127 ../src/gam-toggle.c:128 +msgid "Main Application" +msgstr "Главная программа" + +#: ../src/gam-mixer.c:166 +msgid "Card ID" +msgstr "Идентификатор карты" + +#: ../src/gam-mixer.c:167 +msgid "ALSA Card ID (usually 'default')" +msgstr "Идентификатор карты ALSA (обычно «default»)" + +#: ../src/gam-prefs-dlg.c:115 +msgid "App" +msgstr "Программа" + +#: ../src/gam-prefs-dlg.c:116 +msgid "Parent Application" +msgstr "Родительская программа" + +#: ../src/gam-prefs-dlg.c:213 +msgid "Sound Card Names and Visibility" +msgstr "Названия и видимость звуковых карт" + +#: ../src/gam-prefs-dlg.c:268 +msgid "Slider Style" +msgstr "Тип ползунка" + +#: ../src/gam-prefs-dlg.c:285 +msgid "_Single slider with pan" +msgstr "_Одинарный ползунок с прокруткой" + +#: ../src/gam-prefs-dlg.c:288 +msgid "_Dual slider with lock" +msgstr "_Двойной ползунок с блокировкой" + +#: ../src/gam-prefs-dlg.c:309 +msgid "Slider Toggle Style" +msgstr "Стиль переключателя ползунка" + +#: ../src/gam-prefs-dlg.c:326 +msgid "_Button" +msgstr "_Кнопка" + +#: ../src/gam-prefs-dlg.c:329 +msgid "_Checkbox" +msgstr "_Выключатель" + +#: ../src/gam-prefs-dlg.c:338 +msgid "Program Preferences" +msgstr "Параметры программы" + +#: ../src/gam-props-dlg.c:112 ../src/gam-props-dlg.c:113 +#: ../src/gam-slider.c:149 ../src/gam-slider.c:150 ../src/gam-toggle.c:120 +#: ../src/gam-toggle.c:121 +msgid "Mixer" +msgstr "Микшер" + +#: ../src/gam-props-dlg.c:227 +msgid "Sound Card Element Names and Visibility" +msgstr "Названия и видимость элементов звуковой карты" + +#: ../src/gam-props-dlg.c:298 +msgid "Sound Card Properties" +msgstr "Свойства звуковой карты" + +#: ../src/gam-slider-dual.c:207 ../src/gam-slider-dual.c:209 +msgid "Lock" +msgstr "Блок." + +#: ../src/gam-slider.c:142 ../src/gam-toggle.c:113 +msgid "Element" +msgstr "Элемент" + +#: ../src/gam-slider.c:143 ../src/gam-toggle.c:114 +msgid "ALSA mixer element" +msgstr "Элемент микшера" + +#: ../src/gam-slider.c:251 ../src/gam-slider.c:253 +msgid "Mute" +msgstr "Откл." + +#: ../src/gam-slider.c:269 ../src/gam-slider.c:271 +msgid "Rec." +msgstr "Зап." diff -r 86698e8d683a -r 73e9a7d984fc lcms2-apps/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lcms2-apps/receipt Thu May 12 00:24:45 2016 +0300 @@ -0,0 +1,19 @@ +# SliTaz package receipt. + +PACKAGE="lcms2-apps" +VERSION="2.7" +CATEGORY="graphics" +SHORT_DESC="Open source color management engine (applications)" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="MIT" +WEB_SITE="http://www.littlecms.com/" + +DEPENDS="lcms2 libjpeg tiff zlib" +WANTED="lcms2" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $install/usr/bin $fs/usr +} diff -r 86698e8d683a -r 73e9a7d984fc lcms2-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lcms2-dev/receipt Thu May 12 00:24:45 2016 +0300 @@ -0,0 +1,21 @@ +# SliTaz package receipt. + +PACKAGE="lcms2-dev" +VERSION="2.7" +CATEGORY="development" +SHORT_DESC="Open source color management engine (development files)" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="MIT" +WEB_SITE="http://www.littlecms.com/" + +DEPENDS="lcms2 lcms2-apps" +WANTED="lcms2" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/include $fs/usr + cp -a $install/usr/lib/pkgconfig $fs/usr/lib + cp -a $install/usr/lib/*.*a $fs/usr/lib +} diff -r 86698e8d683a -r 73e9a7d984fc lcms2/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lcms2/description.txt Thu May 12 00:24:45 2016 +0300 @@ -0,0 +1,6 @@ +Little CMS intends to be an OPEN SOURCE small-footprint color management +engine, with special focus on accuracy and performance. It uses the +International Color Consortium standard (ICC), which is the modern standard +when regarding to color management. The ICC specification is widely used and is +referred to in many International and other de-facto standards. It was approved +as an International Standard, ISO 15076-1, in 2005. diff -r 86698e8d683a -r 73e9a7d984fc lcms2/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lcms2/receipt Thu May 12 00:24:45 2016 +0300 @@ -0,0 +1,27 @@ +# SliTaz package receipt. + +PACKAGE="lcms2" +VERSION="2.7" +CATEGORY="graphics" +SHORT_DESC="Open source color management engine (library)" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="MIT" +WEB_SITE="http://www.littlecms.com/" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="$SF_MIRROR/lcms/$TARBALL" + +BUILD_DEPENDS="jpeg-dev zlib-dev tiff-dev" +SPLIT="lcms2-apps" + +# Rules to configure and make the package. +compile_rules() +{ + ./configure $CONFIGURE_ARGS && make && make install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/*.so* $fs/usr/lib +} diff -r 86698e8d683a -r 73e9a7d984fc pngcrush/receipt --- a/pngcrush/receipt Tue May 10 12:26:40 2016 +0200 +++ b/pngcrush/receipt Thu May 12 00:24:45 2016 +0300 @@ -1,29 +1,28 @@ # SliTaz package receipt. PACKAGE="pngcrush" -VERSION="1.7.10" -CATEGORY="utilities" +VERSION="1.8.1" +CATEGORY="graphics" SHORT_DESC="PNG optimizer" MAINTAINER="mimas@slitaz.org" LICENSE="zlib/libpng" -TARBALL="$PACKAGE-$VERSION.tar.bz2" -WEB_SITE="http://pmt.sourceforge.net/pngcrush/" +WEB_SITE="https://sourceforge.net/projects/pmt/" +TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="$SF_MIRROR/pmt/$TARBALL" +DEPENDS="glibc-base" + # Rules to configure and make the package. compile_rules() { - cd $src make - - mkdir -p $DESTDIR/usr/bin - install -m755 pngcrush $DESTDIR/usr/bin/ + + mkdir -p $install/usr/bin + cp -a $src/pngcrush $install/usr/bin } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr - cp -a $install/usr/bin $fs/usr + cp -a $install/* $fs } - diff -r 86698e8d683a -r 73e9a7d984fc pngquant/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pngquant/description.txt Thu May 12 00:24:45 2016 +0300 @@ -0,0 +1,5 @@ +pngquant converts 24/32-bit RGBA PNG images to 8-bit palette with alpha channel +preserved. Such images are compatible with all modern web browsers and a +compatibility setting is available to help transparency degrade well in +Internet Explorer 6. Quantized files are often 40-70 percent smaller than their +24/32-bit version. pngquant uses the median cut algorithm. diff -r 86698e8d683a -r 73e9a7d984fc pngquant/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pngquant/receipt Thu May 12 00:24:45 2016 +0300 @@ -0,0 +1,31 @@ +# SliTaz package receipt. + +PACKAGE="pngquant" +VERSION="2.7.0" +CATEGORY="graphics" +SHORT_DESC="Command-line utility and a library for lossy compression of PNG images" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="GPL3" +WEB_SITE="https://pngquant.org/" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="https://github.com/pornel/pngquant/archive/$VERSION.tar.gz" + +DEPENDS="lcms2 libpng" +BUILD_DEPENDS="lcms2-dev libpng-dev" + +# Rules to configure and make the package. +compile_rules() +{ + ./configure \ + --prefix=/usr \ + $CONFIGURE_ARGS && + make && make install + + find $install -name pngquant.1 -exec gzip -9 \{\} \; +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/* $fs +} diff -r 86698e8d683a -r 73e9a7d984fc pngrewrite/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pngrewrite/description.txt Thu May 12 00:24:45 2016 +0300 @@ -0,0 +1,68 @@ +Pngrewrite is command-line utility that reduces the unnecessarily large +palettes that some programs write into PNG files. It also optimizes +transparency data, and reduces the bits-per-pixel if possible. Handy for +post-processing PNG files before putting them on a web site. + +Pngrewrite will: + + * Remove any unused palette entries, and write a palette that is only as large + as needed. + * Remove (collapse) any duplicate palette entries. + * Convert non-palette image to palette images, provided they contain no more + than 256 different colors. + * Move any colors with transparency to the beginning of the palette, and write + a tRNS chunk that is a small as possible. + * Reduce the bit-depth (bits per pixel) as much as possible. + * Write images as grayscale when possible, if that is compatible with the goal + of using the minimum possible bit depth. + +Under no circumstances does pngrewrite change the actual pixel colors, or +background color, or transparency of the image. If it ever does, that's a bug. + +--WARNING-- + +pngrewrite removes most extra (ancillary) information from the PNG file, such +as text comments. Although this does make the file size smaller, the removed +information may sometimes be important. + +The only ancillary chunks that are NOT removed are: + + * gAMA - Image gamma setting + * sRGB - srgb color space indicator + * tIME - creation time + * pHYs - physical pixel size + * bKGD and tRNS - Background color and transparency are maintained. The + actual chunk may be modified according to the new color structure. + +If the original image was interlaced, the new one will also be interlaced. + +Pngrewrite will not work at all on images that have more than 256 colors. +Colors with the same RGB values but a different level of transparency count as +different colors. The background color counts as an extra color if it does not +occur in the image. + +It will also not work at all on images that have a color depth of 16 bits, +since they cannot have a palette. + +----------------- + +This is a very inefficient program. It is (relatively) slow, and may use a lot +of memory. To be specific, it uses about 5 bytes per pixel, no matter what the +bit depth of the image is. + +This program is (hopefully) reasonably portable, and should compile without too +much effort on most C compilers. It requires the libpng and zlib libraries. + +The pngrewrite code is structured as a library that could be used in other +applications, but I have not documented the interface. + +----------------- + +How to use: + +From a command-line, run + + pngrewrite.exe + +To read from standard-input, or write to standard-output, use "-" for the +filename. diff -r 86698e8d683a -r 73e9a7d984fc pngrewrite/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pngrewrite/receipt Thu May 12 00:24:45 2016 +0300 @@ -0,0 +1,29 @@ +# SliTaz package receipt. + +PACKAGE="pngrewrite" +VERSION="1.4.0" +CATEGORY="graphics" +SHORT_DESC="Utility to reduce unnecessarily large palettes and bit depths in PNG image files" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="zlib/libpng" +WEB_SITE="http://entropymine.com/jason/pngrewrite/" +TARBALL="$PACKAGE-$VERSION.zip" +WGET_URL="${WEB_SITE}$TARBALL" + +DEPENDS="libpng" +BUILD_DEPENDS="libpng-dev zlib-dev" + +# Rules to configure and make the package. +compile_rules() +{ + make + + mkdir -p $install/usr/bin + cp -a $src/pngrewrite $install/usr/bin +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/* $fs +}