diff --git a/desktop/toolkit/fltk/actions.py b/desktop/toolkit/fltk/actions.py new file mode 100644 index 0000000000..8b01adfe0b --- /dev/null +++ b/desktop/toolkit/fltk/actions.py @@ -0,0 +1,53 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import shelltools +from pisi.actionsapi import get + +def setup(): + pisitools.flags.add("-fPIC") + pisitools.dosed("makeinclude.in", "^(docdir.*)$", r"\1/html") + + autotools.autoconf() + + options = "\ + --enable-gl \ + --enable-shared \ + --enable-threads \ + " + + if get.buildTYPE() == "emul32": + + shelltools.export("CFLAGS", "-m32") + shelltools.export("CXXFLAGS", "-m32") + + options += "--prefix=/usr \ + --libdir=/usr/lib32 \ + --with-optim='%s' \ + " % get.CFLAGS() + + elif get.ARCH() == "x86_64": + + options += "--with-optim='%s' \ + " % get.CFLAGS() + + autotools.configure(options) + +def build(): + autotools.make() + autotools.make("-C documentation all") + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + autotools.rawInstall("DESTDIR=%s -C fluid" % get.installDIR(), "install-linux") + + if get.buildTYPE() == "emul32": return + + autotools.install("-C documentation") + pisitools.dodoc("ANNOUNCEMENT", "CHANGES", "COPYING", "CREDITS", "README") diff --git a/desktop/toolkit/fltk/files/99fltk b/desktop/toolkit/fltk/files/99fltk new file mode 100644 index 0000000000..0dcea4f736 --- /dev/null +++ b/desktop/toolkit/fltk/files/99fltk @@ -0,0 +1 @@ +FLTK_DOCDIR=/usr/share/doc/fltk/html diff --git a/desktop/toolkit/fltk/files/fltk-config-dynlibs.patch b/desktop/toolkit/fltk/files/fltk-config-dynlibs.patch new file mode 100644 index 0000000000..30842c0529 --- /dev/null +++ b/desktop/toolkit/fltk/files/fltk-config-dynlibs.patch @@ -0,0 +1,97 @@ +diff -Naur fltk-1.3.3-orig/fltk-config.in fltk-1.3.3/fltk-config.in +--- fltk-1.3.3-orig/fltk-config.in 2014-12-31 15:43:07.203519633 -0500 ++++ fltk-1.3.3/fltk-config.in 2014-12-31 15:49:01.636277725 -0500 +@@ -54,21 +54,6 @@ + bindir="$selfdir/fluid" + includedir="$selfdir" + libdir="$selfdir/lib" +- +- if test -f "$libdir/libfltk_jpeg.a"; then +- CFLAGS="-I$includedir/jpeg $CFLAGS" +- CXXFLAGS="-I$includedir/jpeg $CXXFLAGS" +- fi +- +- if test -f "$libdir/libfltk_z.a"; then +- CFLAGS="-I$includedir/zlib $CFLAGS" +- CXXFLAGS="-I$includedir/zlib $CXXFLAGS" +- fi +- +- if test -f "$libdir/libfltk_png.a"; then +- CFLAGS="-I$includedir/png $CFLAGS" +- CXXFLAGS="-I$includedir/png $CXXFLAGS" +- fi + fi + + if test -d $includedir/FL/images; then +@@ -76,11 +61,6 @@ + CXXFLAGS="-I$includedir/FL/images $CXXFLAGS" + fi + +-if test -f "$libdir/libfltk_cairo.a"; then +- CFLAGS="$CAIROFLAGS $CFLAGS" +- CXXFLAGS="$CAIROFLAGS $CXXFLAGS" +-fi +- + # libraries to link with: + LIBNAME="@LIBNAME@" + DSONAME="@DSONAME@" +@@ -230,25 +210,20 @@ + fi + + # Calculate needed libraries +-LDSTATIC="$libdir/libfltk.a $LDLIBS" + LDLIBS="-lfltk$SHAREDSUFFIX $LDLIBS" + + if test x$use_forms = xyes; then + LDLIBS="-lfltk_forms$SHAREDSUFFIX $LDLIBS" +- LDSTATIC="$libdir/libfltk_forms.a $LDSTATIC" + fi + if test x$use_gl = xyes; then + LDLIBS="-lfltk_gl$SHAREDSUFFIX @GLLIB@ $LDLIBS" +- LDSTATIC="$libdir/libfltk_gl.a @GLLIB@ $LDSTATIC" + fi + if test x$use_images = xyes; then + LDLIBS="-lfltk_images$SHAREDSUFFIX $IMAGELIBS $LDLIBS" +- LDSTATIC="$libdir/libfltk_images.a $STATICIMAGELIBS $LDSTATIC" + fi + + if test x$use_cairo = xyes; then + LDLIBS="-lfltk_cairo$SHAREDSUFFIX $CAIROLIBS $LDLIBS" +- LDSTATIC="$libdir/libfltk_cairo.a $CAIROLIBS $LDSTATIC" + fi + + LDLIBS="$DSOLINK $LDFLAGS $libs $LDLIBS" +@@ -359,26 +334,26 @@ + fi + + if test "$echo_libs" = "yes"; then +- USELIBS="$libdir/libfltk.a" ++ USELIBS="$libdir/libfltk.so" + + if test x$use_forms = xyes; then +- USELIBS="$libdir/libfltk_forms.a $USELIBS" ++ USELIBS="$libdir/libfltk_forms.so $USELIBS" + fi + + if test x$use_gl = xyes; then +- USELIBS="$libdir/libfltk_gl.a $USELIBS" ++ USELIBS="$libdir/libfltk_gl.so $USELIBS" + fi + + if test x$use_cairo = xyes; then +- USELIBS="$libdir/libfltk_cairo.a $USELIBS" ++ USELIBS="$libdir/libfltk_cairo.so $USELIBS" + fi + + if test x$use_images = xyes; then +- USELIBS="$libdir/libfltk_images.a $USELIBS" ++ USELIBS="$libdir/libfltk_images.so $USELIBS" + + for lib in fltk_jpeg fltk_png fltk_z; do +- if test -f $libdir/lib$lib.a; then +- USELIBS="$libdir/lib$lib.a $USELIBS" ++ if test -f $libdir/lib$lib.so; then ++ USELIBS="$libdir/lib$lib.so $USELIBS" + fi + done + fi diff --git a/desktop/toolkit/fltk/files/tigervnc.patch b/desktop/toolkit/fltk/files/tigervnc.patch new file mode 100644 index 0000000000..f02e03f7e6 --- /dev/null +++ b/desktop/toolkit/fltk/files/tigervnc.patch @@ -0,0 +1,226 @@ +diff -Nur fltk-1.3.2.orig/FL/Enumerations.H fltk-1.3.2/FL/Enumerations.H +--- fltk-1.3.2.orig/FL/Enumerations.H 2012-12-09 19:45:57.000000000 +0100 ++++ fltk-1.3.2/FL/Enumerations.H 2013-07-17 19:37:45.785342886 +0200 +@@ -909,27 +909,27 @@ + /* FIXME: We should renumber these, but that will break the ABI */ + enum Fl_Cursor { + FL_CURSOR_DEFAULT = 0, /**< the default cursor, usually an arrow. */ +- FL_CURSOR_ARROW = 35, /**< an arrow pointer. */ +- FL_CURSOR_CROSS = 66, /**< crosshair. */ +- FL_CURSOR_WAIT = 76, /**< busy indicator (e.g. hourglass). */ +- FL_CURSOR_INSERT = 77, /**< I-beam. */ +- FL_CURSOR_HAND = 31, /**< pointing hand. */ +- FL_CURSOR_HELP = 47, /**< question mark pointer. */ +- FL_CURSOR_MOVE = 27, /**< 4-pointed arrow or hand. */ ++ FL_CURSOR_ARROW = 1, /**< an arrow pointer. */ ++ FL_CURSOR_CROSS = 2, /**< crosshair. */ ++ FL_CURSOR_WAIT = 3, /**< busy indicator (e.g. hourglass). */ ++ FL_CURSOR_INSERT = 4, /**< I-beam. */ ++ FL_CURSOR_HAND = 5, /**< pointing hand. */ ++ FL_CURSOR_HELP = 6, /**< question mark pointer. */ ++ FL_CURSOR_MOVE = 7, /**< 4-pointed arrow or hand. */ + + /* Resize indicators */ +- FL_CURSOR_NS = 78, /**< up/down resize. */ +- FL_CURSOR_WE = 79, /**< left/right resize. */ +- FL_CURSOR_NWSE = 80, /**< diagonal resize. */ +- FL_CURSOR_NESW = 81, /**< diagonal resize. */ +- FL_CURSOR_N = 70, /**< upwards resize. */ +- FL_CURSOR_NE = 69, /**< upwards, right resize. */ +- FL_CURSOR_E = 49, /**< rightwards resize. */ +- FL_CURSOR_SE = 8, /**< downwards, right resize. */ +- FL_CURSOR_S = 9, /**< downwards resize. */ +- FL_CURSOR_SW = 7, /**< downwards, left resize. */ +- FL_CURSOR_W = 36, /**< leftwards resize. */ +- FL_CURSOR_NW = 68, /**< upwards, left resize. */ ++ FL_CURSOR_NS = 101, /**< up/down resize. */ ++ FL_CURSOR_WE = 102, /**< left/right resize. */ ++ FL_CURSOR_NWSE = 103, /**< diagonal resize. */ ++ FL_CURSOR_NESW = 104, /**< diagonal resize. */ ++ FL_CURSOR_NE = 110, /**< upwards, right resize. */ ++ FL_CURSOR_N = 111, /**< upwards resize. */ ++ FL_CURSOR_NW = 112, /**< upwards, left resize. */ ++ FL_CURSOR_E = 113, /**< rightwards resize. */ ++ FL_CURSOR_W = 114, /**< leftwards resize. */ ++ FL_CURSOR_SE = 115, /**< downwards, right resize. */ ++ FL_CURSOR_S = 116, /**< downwards resize. */ ++ FL_CURSOR_SW = 117, /**< downwards, left resize. */ + + FL_CURSOR_NONE =255 /**< invisible. */ + }; +diff -Nur fltk-1.3.2.orig/FL/Fl_Widget.H fltk-1.3.2/FL/Fl_Widget.H +--- fltk-1.3.2.orig/FL/Fl_Widget.H 2012-04-23 22:12:06.000000000 +0200 ++++ fltk-1.3.2/FL/Fl_Widget.H 2013-07-17 19:37:07.411344886 +0200 +@@ -172,6 +172,7 @@ + COPIED_TOOLTIP = 1<<17, ///< the widget tooltip is internally copied, its destruction is handled by the widget + FULLSCREEN = 1<<18, ///< a fullscreen window (Fl_Window) + MAC_USE_ACCENTS_MENU = 1<<19, ///< On the Mac OS platform, pressing and holding a key on the keyboard opens an accented-character menu window (Fl_Input_, Fl_Text_Editor) ++ SIMPLE_KEYBOARD = 1<<20, ///< the widget wants simple, consistent keypresses and not advanced input (like character composition and CJK input) + // (space for more flags) + USERFLAG3 = 1<<29, ///< reserved for 3rd party extensions + USERFLAG2 = 1<<30, ///< reserved for 3rd party extensions +@@ -790,6 +791,35 @@ + */ + void set_active() {flags_ &= ~INACTIVE;} + ++ /** ++ Returns if the widget sees a simplified keyboard model or not. ++ ++ Normally widgets get a full-featured keyboard model that is geared ++ towards text input. This includes support for compose sequences and ++ advanced input methods, commonly used for asian writing system. This ++ system however has downsides in that extra graphic can be presented ++ to the user and that a physical key press doesn't correspond directly ++ to a FLTK event. ++ ++ Widgets that need a direct correspondence between actual key events ++ and those seen by the widget can swith to the simplified keyboard ++ model. ++ ++ \retval 0 if the widget uses the normal keyboard model ++ \see set_changed(), clear_changed() ++ */ ++ unsigned int simple_keyboard() const {return flags_&SIMPLE_KEYBOARD;} ++ ++ /** Marks a widget to use the simple keyboard model. ++ \see changed(), clear_changed() ++ */ ++ void set_simple_keyboard() {flags_ |= SIMPLE_KEYBOARD;} ++ ++ /** Marks a widget to use the normal keyboard model. ++ \see changed(), set_changed() ++ */ ++ void set_normal_keyboard() {flags_ &= ~SIMPLE_KEYBOARD;} ++ + /** Gives the widget the keyboard focus. + Tries to make this widget be the Fl::focus() widget, by first sending + it an FL_FOCUS event, and if it returns non-zero, setting +diff -Nur fltk-1.3.2.orig/src/Fl_cocoa.mm fltk-1.3.2/src/Fl_cocoa.mm +--- fltk-1.3.2.orig/src/Fl_cocoa.mm 2012-11-30 19:20:36.000000000 +0100 ++++ fltk-1.3.2/src/Fl_cocoa.mm 2013-07-17 19:38:17.320341239 +0200 +@@ -724,7 +723,7 @@ + return NO; // prevent the caption to be redrawn as active on click + // when another modal window is currently the key win + +- return !(w->tooltip_window() || w->menu_window()); ++ return !w->tooltip_window(); + } + + - (BOOL)canBecomeMainWindow +diff -Nur fltk-1.3.2.orig/src/Fl.cxx fltk-1.3.2/src/Fl.cxx +--- fltk-1.3.2.orig/src/Fl.cxx 2012-08-16 22:59:36.000000000 +0200 ++++ fltk-1.3.2/src/Fl.cxx 2013-07-17 19:38:01.696342059 +0200 +@@ -70,6 +70,8 @@ + extern double fl_mac_flush_and_wait(double time_to_wait, char in_idle); + #endif // WIN32 + ++extern void fl_update_focus(void); ++ + // + // Globals... + // +@@ -876,6 +941,8 @@ + fl_oldfocus = p; + } + e_number = old_event; ++ // let the platform code do what it needs ++ fl_update_focus(); + } + } + +diff -Nur fltk-1.3.2.orig/src/Fl_grab.cxx fltk-1.3.2/src/Fl_grab.cxx +--- fltk-1.3.2.orig/src/Fl_grab.cxx 2012-03-23 17:47:53.000000000 +0100 ++++ fltk-1.3.2/src/Fl_grab.cxx 2013-07-17 19:37:07.411344886 +0200 +@@ -29,6 +29,7 @@ + // override_redirect, it does similar things on WIN32. + + extern void fl_fix_focus(); // in Fl.cxx ++void fl_update_focus(void); + + #ifdef WIN32 + // We have to keep track of whether we have captured the mouse, since +@@ -80,6 +81,7 @@ + #endif + } + grab_ = win; ++ fl_update_focus(); + } else { + if (grab_) { + #ifdef WIN32 +@@ -98,6 +100,7 @@ + XFlush(fl_display); + #endif + grab_ = 0; ++ fl_update_focus(); + fl_fix_focus(); + } + } +diff -Nur fltk-1.3.2.orig/src/xutf8/imKStoUCS.c fltk-1.3.2/src/xutf8/imKStoUCS.c +--- fltk-1.3.2.orig/src/xutf8/imKStoUCS.c 2009-03-13 23:43:43.000000000 +0100 ++++ fltk-1.3.2/src/xutf8/imKStoUCS.c 2013-07-17 19:37:07.412344891 +0200 +@@ -266,6 +266,12 @@ + 0x20a8, 0x20a9, 0x20aa, 0x20ab, 0x20ac /* 0x20a8-0x20af */ + }; + ++static unsigned short const keysym_to_unicode_fe50_fe60[] = { ++ 0x0300, 0x0301, 0x0302, 0x0303, 0x0304, 0x0306, 0x0307, 0x0308, /* 0xfe50-0xfe57 */ ++ 0x030a, 0x030b, 0x030c, 0x0327, 0x0328, 0x1da5, 0x3099, 0x309a, /* 0xfe58-0xfe5f */ ++ 0x0323 /* 0xfe60-0xfe67 */ ++}; ++ + static unsigned int + KeySymToUcs4(KeySym keysym) + { +@@ -315,6 +321,8 @@ + return keysym_to_unicode_1e9f_1eff[keysym - 0x1e9f]; + else if (keysym > 0x209f && keysym < 0x20ad) + return keysym_to_unicode_20a0_20ac[keysym - 0x20a0]; ++ else if (keysym > 0xfe4f && keysym < 0xfe61) ++ return keysym_to_unicode_fe50_fe60[keysym - 0xfe50]; + else + return 0; + } +diff -Nur fltk-1.3.2.orig/src/Fl_x.cxx fltk-1.3.2/src/Fl_x.cxx +--- fltk-1.3.2.orig/src/Fl_x.cxx 2012-10-16 17:35:34.000000000 +0200 ++++ fltk-1.3.2/src/Fl_x.cxx 2013-07-17 19:38:17.326341239 +0200 +@@ -583,6 +600,30 @@ + } + } + ++extern Fl_Window *fl_xfocus; ++ ++void fl_update_focus(void) ++{ ++ Fl_Widget *focus; ++ ++ focus = Fl::grab(); ++ if (!focus) ++ focus = Fl::focus(); ++ if (!focus) ++ return; ++ ++ if (focus->simple_keyboard()) { ++ fl_xim_deactivate(); ++ } else { ++ // fl_xfocus should always be set if something has focus, but let's ++ // play it safe ++ if (!fl_xfocus || !fl_xid(fl_xfocus)) ++ return; ++ ++ fl_xim_activate(fl_xid(fl_xfocus)); ++ } ++} ++ + void fl_open_display() { + if (fl_display) return; + +--- fltk-1.3.2.orig/src/Fl_x.cxx (revision 10433) ++++ fltk-1.3.2/src/Fl_x.cxx (revision 10434) +@@ -2211,6 +2211,7 @@ + static int result = -1; + + if (result == -1) { ++ fl_open_display(); + result = 0; + unsigned long nitems; + unsigned long *words = 0; diff --git a/desktop/toolkit/fltk/pspec.xml b/desktop/toolkit/fltk/pspec.xml new file mode 100644 index 0000000000..3d4b53fb4e --- /dev/null +++ b/desktop/toolkit/fltk/pspec.xml @@ -0,0 +1,178 @@ + + + + + fltk + http://www.fltk.org + + PisiLinux Community + admins@pisilinux.org + + LGPLv2.1 + library + FLTK (pronounced "fulltick") is a cross-platform C++ GUI toolkit + FLTK provides modern GUI functionality without the bloat and supports 3D graphics via OpenGL and its built-in GLUT emulation. FLTK is designed to be small and modular enough to be statically linked, but works fine as a shared library. FLTK also includes an excellent UI builder called FLUID that can be used to create applications in minutes. + ftp://ftp.uwsg.indiana.edu/linux/gentoo/distfiles/fltk-1.3.3-source.tar.gz + + zlib-devel + libX11-devel + libgcc + libpng-devel + mesa-devel + libXft-devel + libXext-devel + mesa-glu-devel + libXfixes-devel + libXcursor-devel + fontconfig-devel + libXinerama-devel + libjpeg-turbo-devel + + + tigervnc.patch + fltk-config-dynlibs.patch + + + + + fltk + + zlib + libX11 + libgcc + libpng + mesa + libXft + libXext + mesa-glu + libXfixes + libXcursor + fontconfig + libXinerama + libjpeg-turbo + + + /usr/lib + /usr/share/doc + + + + + + + fltk-devel + app:console + app:gui + Development files and utilities for FLTK + + fltk + libX11 + libgcc + libpng + + + /etc/env.d + /usr/share/man + /usr/bin + /usr/include + /usr/share/icons + /usr/share/mimelnk + /usr/share/doc/*/html + /usr/share/applications + + + 99fltk + + + + + + 2015-07-24 + 1.3.3 + emul32bit build disabled. + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-04-26 + 1.3.3 + Version bump. + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + 2014-05-26 + 1.3.2 + Rebuild for gcc 4.9 + Osman Erkan + osman.erkan@pisilinux.org + + + 2014-01-29 + 1.3.2 + Rebuild Unused + Varol Maksutoğlu + waroi@pisilinux.org + + + 2013-11-03 + 1.3.2 + Version bump. + Burak Fazıl Ertürk + burakerturk@pisilinux.org + + + 2013-08-26 + 1.3.0 + Release bump. + Serdar Soytetir + kaptan@pisilinux.org + + + 2012-11-11 + 1.3.0 + First release + Osman Erkan + osman.erkan@pisilinux.org + + + \ No newline at end of file diff --git a/desktop/toolkit/fltk/translations.xml b/desktop/toolkit/fltk/translations.xml new file mode 100644 index 0000000000..e261161c99 --- /dev/null +++ b/desktop/toolkit/fltk/translations.xml @@ -0,0 +1,15 @@ + + + + fltk + FLTK, platformlar arası C++ kullanıcı arayüzü için bir araç takımı + FLTK sistemi yormadan modern bir arayüzün işlevselliğini sağlar. OpenGL ve kendi içinde bulunan GLUT emülasyonu sayesinde 3B görüntü de sağlayabilir. FLTK statik kitaplık olabilecek kadar küçük ve modülerdir, fakat paylaşılmış kitaplık olarak da çalışabilir. Ayrıca FLUID adlı grafik arayüz tasarım aracı sayesinde çok kısa sürede FLTK uygulamaları geliştirilebilir. + FLTK fournit les fonctionnalités IHM sans fioritures et supporte les graphiques 3D via OpenGL et son émulation GLUT intégrée. FLTK est conçue pour être petite et suffisamment modulaire pour être associée statiquement, tout en restant parfaitement utilisable en tant que librairie partagée. FLTK inclus également un excellent constructeur d'IHM appelé FLUID pouvant être utilisé pour créer des applications en quelques minutes. + FLTK provee una funcionalidad de un GUI moderno sin demasiado complejidad y soporta gráficos 3D via OpenGL y su emulación GLUT incluido. FLTK fue diseñado para ser pequeño y modular para enlace estático, pero funciona bien como librería compartida. FLTK también incluye un entorno de desarrollo UI llamado FLUID con el cual se puede crear aplicaciones en minutos. + + + + fltk-devel + FLTK için geliştirme dosyaları ve yardımcı uygulamalar + + diff --git a/hardware/firmware/alsa-firmware/actions.py b/hardware/firmware/alsa-firmware/actions.py new file mode 100644 index 0000000000..6c5a889172 --- /dev/null +++ b/hardware/firmware/alsa-firmware/actions.py @@ -0,0 +1,37 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import shelltools +from pisi.actionsapi import get + +NoStrip = ["/"] + +if "_" in get.srcVERSION(): + WorkDir = get.srcNAME() + +def setup(): + pisitools.dosed("configure.ac", "multisound/Makefile", "") + pisitools.dosed("Makefile.am", "multisound", "") + + autotools.autoreconf("-fi") + autotools.configure("--with-hotplug-dir=/lib/firmware") + +def build(): + autotools.make() + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + #Remove conflicted file, it is in linux-firmware package + pisitools.remove("lib/firmware/ctefx.bin") + + # Install additional readme files + for d in ["hdsploader", "mixartloader", "pcxhrloader", "usx2yloader", "vxloader"]: + pisitools.newdoc("%s/README" % d, "README.%s" % d) + + pisitools.dodoc("COPYING", "README") diff --git a/hardware/firmware/alsa-firmware/pspec.xml b/hardware/firmware/alsa-firmware/pspec.xml new file mode 100644 index 0000000000..352657ae5c --- /dev/null +++ b/hardware/firmware/alsa-firmware/pspec.xml @@ -0,0 +1,81 @@ + + + + + alsa-firmware + http://www.alsa-project.org + + PisiLinux Community + admins@pisilinux.org + + GPLv2 + GPLv2+ + LGPLv2+ + BSD + data + Firmware for several ALSA-supported sound cards + alsa-firmware contains the firmware binaries for a number of sound cards supported by the ALSA project. + ftp://ftp.alsa-project.org/pub/firmware/alsa-firmware-1.0.29.tar.bz2 + + + + alsa-firmware + + /usr/share/alsa/firmware + /lib/firmware + /usr/share/doc + + + + + + 2015-03-04 + 1.0.29 + Version bump. + Hakan Yıldız + hknyldz93@gmail.com + + + 2014-08-19 + 1.0.28 + Version bump. + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-08-19 + 1.0.28 + Version bump. + Serdar Soytetir + kaptan@pisilinux.org + + + 2013-12-06 + 1.0.27 + Remove conflicted ctefx.bin file, it is in linux-firmware package. + Serdar Soytetir + kaptan@pisilinux.org + + + 2013-08-22 + 1.0.27 + Release bump. + Marcin Bojara + marcin@pisilinux.org + + + 2013-07-10 + 1.0.27 + Version bump. + Marcin Bojara + marcin@pisilinux.org + + + 2012-10-29 + 1.0.25.20121013 + First release + Erdinç Gültekin + admins@pisilinux.org + + + diff --git a/hardware/firmware/alsa-firmware/translations.xml b/hardware/firmware/alsa-firmware/translations.xml new file mode 100644 index 0000000000..a0afa36e13 --- /dev/null +++ b/hardware/firmware/alsa-firmware/translations.xml @@ -0,0 +1,9 @@ + + + + alsa-firmware + Çeşitli ALSA destekli ses kartları için firmware dosyaları + alsa-firmware, ALSA sürücüleri tarafından desteklenen bazı ses kartları için gerekli firmware dosyalarını içerir. + firmware (logiciel interne) pour l'Architecture Son Linux Avancée (ALSA). + + diff --git a/hardware/firmware/component.xml b/hardware/firmware/component.xml new file mode 100644 index 0000000000..ada4b9d05f --- /dev/null +++ b/hardware/firmware/component.xml @@ -0,0 +1,3 @@ + + hardware.firmware + diff --git a/hardware/sound/alsa-tools/actions.py b/hardware/sound/alsa-tools/actions.py new file mode 100644 index 0000000000..05e52aabfc --- /dev/null +++ b/hardware/sound/alsa-tools/actions.py @@ -0,0 +1,58 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import shelltools +from pisi.actionsapi import get + +console_tools = ["as10k1", "hdsploader", "hda-verb", + "mixartloader", "vxloader", + "usx2yloader", "sscape_ctl", + "sb16_csp", "as10k1", "ld10k1", + "us428control", "seq/sbiload"] + +gui_tools = ["envy24control", "rmedigicontrol", "hdspconf", + "hdspmixer", "echomixer", "hwmixvolume"] + +alsa_tools = gui_tools + console_tools + +docs = ["README", "AUTHORS", "COPYING", "TODO", "NEWS", "ChangeLog"] + +if "_" in get.srcVERSION(): + WorkDir = get.srcNAME() + +def setup(): + for tool in alsa_tools: + shelltools.cd(tool) + if tool in ["hdspconf", "ld10k1"]: + autotools.autoreconf("-fi") + autotools.configure() + shelltools.cd("..") + +def build(): + for tool in alsa_tools: + shelltools.cd(tool) + autotools.make() + shelltools.cd("..") + +def install(): + for tool in alsa_tools: + shelltools.cd(tool) + autotools.rawInstall("DESTDIR=\"%s\"" % get.installDIR()) + + for doc in [d for d in docs if shelltools.can_access_file(d)]: + if tool in gui_tools: + srctag = "alsa-tools-gui" + else: + srctag = get.srcNAME() + + pisitools.insinto("/usr/share/doc/%s/%s" % (srctag, tool), doc) + + shelltools.cd("..") + + pisitools.remove("/usr/share/applications/hdspmixer.desktop") + pisitools.remove("/usr/share/applications/hdspconf.desktop") diff --git a/hardware/sound/alsa-tools/files/90-alsa-tools-firmware.rules b/hardware/sound/alsa-tools/files/90-alsa-tools-firmware.rules new file mode 100644 index 0000000000..790cddfdc9 --- /dev/null +++ b/hardware/sound/alsa-tools/files/90-alsa-tools-firmware.rules @@ -0,0 +1,12 @@ +# TASCAM US-428 usb sound card. +SUBSYSTEM=="usb", ACTION=="add", ATTRS{idVendor}=="1604", ATTRS{idProduct}=="8000", RUN+="/lib/udev/tascam_fw" +SUBSYSTEM=="usb", ACTION=="add", ATTRS{idVendor}=="1604", ATTRS{idProduct}=="8001", RUN+="/lib/udev/tascam_fpga" + +# TASCAM US-224 usb sound card. +SUBSYSTEM=="usb", ACTION=="add", ATTRS{idVendor}=="1604", ATTRS{idProduct}=="8004", RUN+="/lib/udev/tascam_fw" +SUBSYSTEM=="usb", ACTION=="add", ATTRS{idVendor}=="1604", ATTRS{idProduct}=="8005", RUN+="/lib/udev/tascam_fpga" + +# TASCAM US-122 usb sound card. +SUBSYSTEM=="usb", ACTION=="add", ATTRS{idVendor}=="1604", ATTRS{idProduct}=="8006", RUN+="/lib/udev/tascam_fw" +SUBSYSTEM=="usb", ACTION=="add", ATTRS{idVendor}=="1604", ATTRS{idProduct}=="8007", RUN+="/lib/udev/tascam_fpga" + diff --git a/hardware/sound/alsa-tools/files/alsa-tools-1.0.17rc1-fix-link.patch b/hardware/sound/alsa-tools/files/alsa-tools-1.0.17rc1-fix-link.patch new file mode 100644 index 0000000000..293d9024a0 --- /dev/null +++ b/hardware/sound/alsa-tools/files/alsa-tools-1.0.17rc1-fix-link.patch @@ -0,0 +1,18 @@ +diff -p -up ./hdspconf/src/Makefile.am.tv ./hdspconf/src/Makefile.am +--- ./hdspconf/src/Makefile.am.tv 2008-06-10 11:15:09.000000000 +0200 ++++ ./hdspconf/src/Makefile.am 2008-06-10 11:15:01.000000000 +0200 +@@ -1,4 +1,5 @@ + bin_PROGRAMS = hdspconf ++hdspconf_LDADD = @LDFLAGS@ + hdspconf_SOURCES = \ + hdspconf.cxx \ + defines.h \ +diff -p -up ./src/Makefile.am.tv ./src/Makefile.am +--- ./hdspmixer/src/Makefile.am.tv 2008-06-10 11:51:47.000000000 +0200 ++++ ./hdspmixer/src/Makefile.am 2008-06-10 11:52:06.000000000 +0200 +@@ -1,4 +1,5 @@ + bin_PROGRAMS = hdspmixer ++hdspmixer_LDADD = @LDFLAGS@ + hdspmixer_SOURCES = \ + hdspmixer.cxx \ + HDSPMixerWindow.cxx \ diff --git a/hardware/sound/alsa-tools/files/alsa-tools.xpm b/hardware/sound/alsa-tools/files/alsa-tools.xpm new file mode 100644 index 0000000000..246abe8b4c --- /dev/null +++ b/hardware/sound/alsa-tools/files/alsa-tools.xpm @@ -0,0 +1,234 @@ +/* XPM */ +static char * alsa_tools_xpm[] = { +"32 32 199 2", +" c None", +". c #888A84", +"+ c #898A86", +"@ c #888A85", +"# c #CCCDCB", +"$ c #ECECEC", +"% c #EDEDED", +"& c #EBEBEB", +"* c #EAEAEA", +"= c #E9E9E9", +"- c #E8E8E8", +"; c #E7E7E7", +"> c #E6E6E6", +", c #E5E5E5", +"' c #E4E4E4", +") c #E3E3E3", +"! c #BEBFBD", +"~ c #8C8F8A", +"{ c #D4D4D4", +"] c #CFCFCF", +"^ c #D4D5D4", +"/ c #E0E0E0", +"( c #8A8C87", +"_ c #A2A4A0", +": c #AA531F", +"< c #DE1F01", +"[ c #9D6933", +"} c #EEEEEE", +"| c #333333", +"1 c #A5A5A5", +"2 c #A6A6A6", +"3 c #9C9D99", +"4 c #B7B8B5", +"5 c #DEDFDE", +"6 c #CB3207", +"7 c #FF0000", +"8 c #A0773D", +"9 c #EFEFEF", +"0 c #DDDDDD", +"a c #9B9B9B", +"b c #393939", +"c c #888888", +"d c #AEAFAD", +"e c #CECFCD", +"f c #B5C7B5", +"g c #CCF101", +"h c #D6F500", +"i c #9AC551", +"j c #D3D3D3", +"k c #919191", +"l c #4A4A4A", +"m c #6C6C6C", +"n c #C4C5C3", +"o c #9BC383", +"p c #FFFF00", +"q c #99CD63", +"r c #C9C9C9", +"s c #878787", +"t c #585857", +"u c #3C3C3B", +"v c #515150", +"w c #BEBEBD", +"x c #D0D1D0", +"y c #DBDBDB", +"z c #979A95", +"A c #87C669", +"B c #88FF00", +"C c #95C57E", +"D c #BFBFBF", +"E c #7D7D7D", +"F c #B3B4B2", +"G c #DFDFDD", +"H c #E7E7E5", +"I c #E7E8E5", +"J c #E8E8E5", +"K c #9E9E9C", +"L c #E2E2E2", +"M c #969793", +"N c #ABACA9", +"O c #5DC15C", +"P c #00FF00", +"Q c #98BD97", +"R c #9C9C9B", +"S c #3F4040", +"T c #404241", +"U c #414242", +"V c #6A6B6B", +"W c #D8D9D8", +"X c #ADAEAC", +"Y c #EEEFED", +"Z c #EFEFEE", +"` c #CDCECC", +" . c #DEDEDE", +".. c #A9AAA7", +"+. c #C0C0BE", +"@. c #43C342", +"#. c #03FA03", +"$. c #A8C1A7", +"%. c #A4A5A4", +"&. c #E8E8E6", +"*. c #EEEEEC", +"=. c #9FA19F", +"-. c #9FA19D", +";. c #BFC1BB", +">. c #B8BBB5", +",. c #C0C1C0", +"'. c #BDBEBC", +"). c #D7D7D7", +"!. c #24D424", +"~. c #09ED09", +"{. c #C1CCC1", +"]. c #BABBB8", +"^. c #EEEEED", +"/. c #C0C1BE", +"(. c #A1A39E", +"_. c #BABDB6", +":. c #979A97", +"<. c #8E8F8B", +"[. c #B7C6B7", +"}. c #08F007", +"|. c #16DC16", +"1. c #D5D5D5", +"2. c #A5A7A3", +"3. c #AAACA6", +"4. c #9E9F9E", +"5. c #ABAEA8", +"6. c #878A86", +"7. c #90938E", +"8. c #A1A39F", +"9. c #92BB91", +"0. c #2AD02A", +"a. c #E1E1E1", +"b. c #D1D1D0", +"c. c #AFB2AB", +"d. c #B8BAB4", +"e. c #A0A09E", +"f. c #848581", +"g. c #8D908C", +"h. c #818480", +"i. c #848783", +"j. c #939590", +"k. c #81827E", +"l. c #A4A6A2", +"m. c #B5B6B3", +"n. c #77BD76", +"o. c #3AC43A", +"p. c #8D8E8C", +"q. c #B8BBB3", +"r. c #818280", +"s. c #CACDCE", +"t. c #677579", +"u. c #69777B", +"v. c #B6B7B5", +"w. c #CACAC9", +"x. c #8DB58C", +"y. c #6EBE6E", +"z. c #7BB17A", +"A. c #8B8D89", +"B. c #90928E", +"C. c #8E908C", +"D. c #939591", +"E. c #91938F", +"F. c #DADBDB", +"G. c #AAB1B2", +"H. c #A9B0B1", +"I. c #DBDCDC", +"J. c #CDCECD", +"K. c #888984", +"L. c #888985", +"M. c #848681", +"N. c #D9D9D9", +"O. c #D8D8D8", +"P. c #D6D6D6", +"Q. c #D2D2D2", +"R. c #D1D1D1", +"S. c #D0D0D0", +"T. c #CECECE", +"U. c #CDCDCD", +"V. c #CCCCCC", +"W. c #CBCBCB", +"X. c #CACACA", +"Y. c #C8C8C8", +"Z. c #C7C7C7", +"`. c #868883", +" + c #7A7B77", +".+ c #7D7E7A", +"++ c #757773", +"@+ c #787975", +"#+ c #6B6C69", +"$+ c #C8C9C8", +"%+ c #B7B8B7", +"&+ c #6A6B68", +"*+ c #6F706C", +"=+ c #7B7D79", +"-+ c #7A7B78", +";+ c #797A76", +">+ c #7B7C79", +",+ c #7C7E7A", +"'+ c #6E706B", +" ", +" ", +" ", +" ", +" ", +" . + + + + + + + + + + + + + + + + + + + + @ ", +" # $ $ % % % % $ $ & * * = - - ; > , , ' ) ! ", +" ~ * $ { ] ] ^ % % $ $ & * = = - ; > > , ' ) / ( ", +" _ $ % : < < [ } % ; | | | 1 = - / | | | 2 ' ) 3 ", +" 4 $ 5 6 7 7 8 9 } 0 | | | a = - - b | | c ' ) d ", +" e $ f g h h i } } j | | | k = - - l | | m ' ) n ", +" @ ' $ o p p p q } % r | | | s = - , t u u v w x y @ ", +" z * & A B B B C % % D | | | E = - F G H H I J K L M ", +" N * & O P P P Q $ / R S T U V W - X Y Z Z Z Y ` ... ", +" +.= * @.P P #.$.$ %.H &.*.*.*.=.- -.;.;.;.;.;.>.,.'. ", +" . ).= 0 !.P P ~.{.& ].^.^.^.^.^./.' (._._._._._._.:.^ . ", +" <.; - [.}.P P |.1.* 2._._._._._.3.4.5._._._._._._.6./ 7. ", +" 8.; - 9.P P P 0.a.b.c._._._._._.d.e.f.g.h.h.h.i.j.k./ l. ", +" m.> ; n.P P P o.= p.q._._._._._._.r., s.t.t.t.u./ a./ v. ", +" w.> > x.y.y.y.z.- D A.B.g.g.g.C.D.E., F.G.H.H.H.I.a./ J. ", +" K.) , , > > > ; ; ; ; ; ; ; > > > , , ' ' ) ) L a.a./ / , @ ", +" @ * 9 } } } } } } } % % % % % $ $ $ $ $ & & & * * = = = ' L. ", +" M.N.N.N.O.).P.1.1.{ j Q.R.R.S.] T.T.U.V.W.X.X.r Y.Z.Z.Z.Z.`. ", +" +N.N.O.).).P.1.{ { j Q.R.S.S.] T.U.V.V.W.X.r Y.Y.Z.Z.Z.Z..+ ", +" ++N.N.O.).P.P.1.{ j Q.Q.R.S.] T.T.U.V.W.X.X.r Y.Z.Z.Z.Z.Z.@+ ", +" #+$+O.O.).P.1.{ { j Q.R.S.S.] T.U.V.V.W.X.r r Y.Z.Z.Z.Z.%+&+ ", +" *+.+=+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+;+;+;+;+;+>+>+,+'+ ", +" ", +" ", +" ", +" ", +" "}; diff --git a/hardware/sound/alsa-tools/files/echomixer.desktop b/hardware/sound/alsa-tools/files/echomixer.desktop new file mode 100644 index 0000000000..938513f574 --- /dev/null +++ b/hardware/sound/alsa-tools/files/echomixer.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Type=Application +Name=Echomixer +Name[tr]=Echomixer +GenericName=Echoaudio soundcard tool +GenericName[tr]=Echoaudio ses kartı aracı +Icon=alsa-tools +Exec=echomixer +Terminal=false +Categories=AudioVideo;Audio; diff --git a/hardware/sound/alsa-tools/files/envy24control.desktop b/hardware/sound/alsa-tools/files/envy24control.desktop new file mode 100644 index 0000000000..787d869a50 --- /dev/null +++ b/hardware/sound/alsa-tools/files/envy24control.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Type=Application +Name=envy24control +Name[tr]=envy24control +GenericName=envy24(ice1712) based soundcard tool +GenericName[tr]=envy24(ice1712) ses kartı aracı +Icon=alsa-tools +Exec=envy24control +Terminal=false +Categories=AudioVideo;Audio; diff --git a/hardware/sound/alsa-tools/files/firmware_locations.patch b/hardware/sound/alsa-tools/files/firmware_locations.patch new file mode 100644 index 0000000000..a3e7130911 --- /dev/null +++ b/hardware/sound/alsa-tools/files/firmware_locations.patch @@ -0,0 +1,60 @@ +diff -Naur alsa-tools-1.0.18/hdsploader/Makefile.in alsa-tools-1.0.18-patched/hdsploader/Makefile.in +--- alsa-tools-1.0.18/hdsploader/Makefile.in 2008-10-29 14:48:40.000000000 +0200 ++++ alsa-tools-1.0.18-patched/hdsploader/Makefile.in 2008-10-31 11:36:40.000000000 +0200 +@@ -158,7 +158,7 @@ + + # # Process this file with automake to produce Makefile.in. + MYNAME = hdsploader +-AM_CFLAGS = -DDATAPATH=\"$(datadir)/alsa/firmware/$(MYNAME)\" ++AM_CFLAGS = -DDATAPATH=\"/lib/firmware/$(MYNAME)\" + hdsploader_SOURCES = hdsploader.c + EXTRA_DIST = gitcompile depcomp + all: all-am +diff -Naur alsa-tools-1.0.18/mixartloader/Makefile.in alsa-tools-1.0.18-patched/mixartloader/Makefile.in +--- alsa-tools-1.0.18/mixartloader/Makefile.in 2008-10-29 14:48:56.000000000 +0200 ++++ alsa-tools-1.0.18-patched/mixartloader/Makefile.in 2008-10-31 11:36:58.000000000 +0200 +@@ -159,7 +159,7 @@ + # # Process this file with automake to produce Makefile.in. + AUTOMAKE_OPTIONS = 1.3 foreign + MYNAME = mixartloader +-AM_CFLAGS = -DDATAPATH=\"$(datadir)/alsa/firmware/$(MYNAME)\" ++AM_CFLAGS = -DDATAPATH=\"/lib/firmware/$(MYNAME)\" + mixartloader_SOURCES = mixartloader.c + EXTRA_DIST = gitcompile depcomp + all: all-am +diff -Naur alsa-tools-1.0.18/pcxhrloader/Makefile.in alsa-tools-1.0.18-patched/pcxhrloader/Makefile.in +--- alsa-tools-1.0.18/pcxhrloader/Makefile.in 2008-10-29 14:49:00.000000000 +0200 ++++ alsa-tools-1.0.18-patched/pcxhrloader/Makefile.in 2008-10-31 11:37:27.000000000 +0200 +@@ -159,7 +159,7 @@ + # # Process this file with automake to produce Makefile.in. + AUTOMAKE_OPTIONS = 1.3 foreign + MYNAME = pcxhrloader +-AM_CFLAGS = -DDATAPATH=\"$(datadir)/alsa/firmware/$(MYNAME)\" ++AM_CFLAGS = -DDATAPATH=\"/lib/firmware/$(MYNAME)\" + pcxhrloader_SOURCES = pcxhrloader.c + EXTRA_DIST = gitcompile depcomp + all: all-am +diff -Naur alsa-tools-1.0.18/usx2yloader/Makefile.in alsa-tools-1.0.18-patched/usx2yloader/Makefile.in +--- alsa-tools-1.0.18/usx2yloader/Makefile.in 2008-10-29 14:49:27.000000000 +0200 ++++ alsa-tools-1.0.18-patched/usx2yloader/Makefile.in 2008-10-31 11:37:46.000000000 +0200 +@@ -163,7 +163,7 @@ + # # Process this file with automake to produce Makefile.in. + AUTOMAKE_OPTIONS = 1.3 foreign + MYNAME = usx2yloader +-AM_CFLAGS = -DDATAPATH=\"$(datadir)/alsa/firmware/$(MYNAME)\" ++AM_CFLAGS = -DDATAPATH=\"/lib/firmware/$(MYNAME)\" + usx2yloader_SOURCES = usx2yloader.c + EXTRA_DIST = gitcompile depcomp tascam_fw.usermap tascam_fw.in tascam_fpga.in + hotplug_files = tascam_fw.usermap tascam_fw tascam_fpga +diff -Naur alsa-tools-1.0.18/vxloader/Makefile.in alsa-tools-1.0.18-patched/vxloader/Makefile.in +--- alsa-tools-1.0.18/vxloader/Makefile.in 2008-10-29 14:49:31.000000000 +0200 ++++ alsa-tools-1.0.18-patched/vxloader/Makefile.in 2008-10-31 11:38:09.000000000 +0200 +@@ -159,7 +159,7 @@ + # # Process this file with automake to produce Makefile.in. + AUTOMAKE_OPTIONS = 1.3 foreign + MYNAME = vxloader +-AM_CFLAGS = -DDATAPATH=\"$(datadir)/alsa/firmware/$(MYNAME)\" ++AM_CFLAGS = -DDATAPATH=\"/lib/firmware/$(MYNAME)\" + vxloader_SOURCES = vxloader.c + EXTRA_DIST = gitcompile depcomp + all: all-am diff --git a/hardware/sound/alsa-tools/files/hdspconf.desktop b/hardware/sound/alsa-tools/files/hdspconf.desktop new file mode 100644 index 0000000000..c6e0f20ab3 --- /dev/null +++ b/hardware/sound/alsa-tools/files/hdspconf.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Type=Application +Name=HDSPConf +Name[tr]=HDSPConf +GenericName=Hammerfall HDSP soundcard tool +GenericName[tr]=Hammerfall HDSP ses kartı aracı +Icon=hdspconf +Exec=hdspconf +Terminal=false +Categories=AudioVideo;Audio; diff --git a/hardware/sound/alsa-tools/files/hdspmixer.desktop b/hardware/sound/alsa-tools/files/hdspmixer.desktop new file mode 100644 index 0000000000..4830304876 --- /dev/null +++ b/hardware/sound/alsa-tools/files/hdspmixer.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Type=Application +Name=HDSPMixer +Name[tr]=HDSPMixer +GenericName=RME Hammerfall DSP Mixer +GenericName[tr]=RME Hammerfall için karıştırıcı +Icon=hdspmixer +Exec=hdspmixer +Terminal=false +Categories=AudioVideo;Audio; diff --git a/hardware/sound/alsa-tools/files/hwmixvolume.desktop b/hardware/sound/alsa-tools/files/hwmixvolume.desktop new file mode 100644 index 0000000000..c5a57f44e7 --- /dev/null +++ b/hardware/sound/alsa-tools/files/hwmixvolume.desktop @@ -0,0 +1,13 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Hwmixvolume +GenericName=Hardware Mixer Volumes +GenericName[tr]=Donanımsal Ses Karıştırıcı Seviyeleri +Comment=Control the volume of individual streams on sound cards that use hardware mixing +Comment[tr]=Donanımsal karıştırıcı kullanan ses kartlarındaki farklı akışların ses şiddetini ayarlayın +Exec=hwmixvolume +Icon=hwmixvolume +Terminal=false +Type=Application +Categories=Application;AudioVideo; +Version=0.9.4 diff --git a/hardware/sound/alsa-tools/files/hwmixvolume.png b/hardware/sound/alsa-tools/files/hwmixvolume.png new file mode 100644 index 0000000000..28226eec7b Binary files /dev/null and b/hardware/sound/alsa-tools/files/hwmixvolume.png differ diff --git a/hardware/sound/alsa-tools/files/rmedigicontrol.desktop b/hardware/sound/alsa-tools/files/rmedigicontrol.desktop new file mode 100644 index 0000000000..c8a05959fb --- /dev/null +++ b/hardware/sound/alsa-tools/files/rmedigicontrol.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Type=Application +Name=Rmedigicontrol +Name[tr]=Rmedigicontrol +GenericName=RME Digi32/96 soundcard tool +GenericName[tr]=RME Digi32/96 ses kartı aracı +Icon=alsa-tools +Exec=rmedigicontrol +Terminal=false +Categories=AudioVideo;Audio; diff --git a/hardware/sound/alsa-tools/files/usx2yloader_udev.patch b/hardware/sound/alsa-tools/files/usx2yloader_udev.patch new file mode 100644 index 0000000000..f0ca98dd5a --- /dev/null +++ b/hardware/sound/alsa-tools/files/usx2yloader_udev.patch @@ -0,0 +1,28 @@ +diff -Naur alsa-tools-1.0.18/usx2yloader/Makefile.am alsa-tools-1.0.18-patched/usx2yloader/Makefile.am +--- alsa-tools-1.0.18/usx2yloader/Makefile.am 2008-10-29 14:42:12.000000000 +0200 ++++ alsa-tools-1.0.18-patched/usx2yloader/Makefile.am 2008-10-31 15:14:01.000000000 +0200 +@@ -11,8 +11,8 @@ + + EXTRA_DIST = gitcompile depcomp tascam_fw.usermap tascam_fw.in tascam_fpga.in + +-hotplug_files = tascam_fw.usermap tascam_fw tascam_fpga +-hotplugdir = /etc/hotplug/usb ++hotplug_files = tascam_fw tascam_fpga ++hotplugdir = /lib/udev + hotplug_SCRIPTS = $(hotplug_files) + + +diff -Naur alsa-tools-1.0.18/usx2yloader/Makefile.in alsa-tools-1.0.18-patched/usx2yloader/Makefile.in +--- alsa-tools-1.0.18/usx2yloader/Makefile.in 2008-10-29 14:49:27.000000000 +0200 ++++ alsa-tools-1.0.18-patched/usx2yloader/Makefile.in 2008-10-31 15:14:47.000000000 +0200 +@@ -166,8 +166,8 @@ + AM_CFLAGS = -DDATAPATH=\"$(datadir)/alsa/firmware/$(MYNAME)\" + usx2yloader_SOURCES = usx2yloader.c + EXTRA_DIST = gitcompile depcomp tascam_fw.usermap tascam_fw.in tascam_fpga.in +-hotplug_files = tascam_fw.usermap tascam_fw tascam_fpga +-hotplugdir = /etc/hotplug/usb ++hotplug_files = tascam_fw tascam_fpga ++hotplugdir = /lib/udev + hotplug_SCRIPTS = $(hotplug_files) + all: all-am + diff --git a/hardware/sound/alsa-tools/pspec.xml b/hardware/sound/alsa-tools/pspec.xml new file mode 100644 index 0000000000..23240f21ad --- /dev/null +++ b/hardware/sound/alsa-tools/pspec.xml @@ -0,0 +1,157 @@ + + + + + alsa-tools + http://www.alsa-project.org/ + + PisiLinux Community + admins@pisilinux.org + + GPLv2 + app:console + app:gui + ALSA configuration tools + alsa-tools contains ALSA (Advanced Linux Sound Architecture) tools like firmware loaders and sound card control utilities for specific sound cards. + ftp://ftp.alsa-project.org/pub/tools/alsa-tools-1.0.29.tar.bz2 + + gtk2-devel + fltk-devel + alsa-lib-devel + + + usx2yloader_udev.patch + firmware_locations.patch + alsa-tools-1.0.17rc1-fix-link.patch + + + + + alsa-tools + ALSA console tools + alsa-tools is a collection of console applications for controlling sound cards like EchoAudio, Envy24, etc. + + alsa-lib + + + /usr/bin + /usr/sbin + /lib/udev + /usr/lib + /lib/udev/rules.d + /usr/share/ld10k1 + /usr/share/sounds + /usr/share/man + /usr/share/doc/alsa-tools + + + 90-alsa-tools-firmware.rules + + + + + alsa-tools-gui + Graphical frontends for some ALSA tools + alsa-tools-gui is a collection of GUI based ALSA tools for controlling sound cards like EchoAudio, Envy24, Hammerfall HDSP, RMedigicontrol. + + fltk + gtk2 + alsa-lib + + + /usr/share/man/man1/envy24control.1 + /usr/share/doc/alsa-tools-gui + /usr/share/applications + /usr/share/pixmaps + /usr/bin/echomixer + /usr/bin/envy24control + /usr/bin/hwmixvolume + /usr/bin/hdspconf + /usr/bin/hdspmixer + /usr/bin/rmedigicontrol + /usr/bin/qlo10k1 + + + alsa-tools.xpm + hwmixvolume.png + echomixer.desktop + envy24control.desktop + hdspmixer.desktop + hdspconf.desktop + hwmixvolume.desktop + rmedigicontrol.desktop + + + + + alsa-tools-devel + Development files for alsa-tools + + alsa-tools + + + /usr/include + /usr/share/aclocal + /usr/share/man/man3 + + + + + + 2015-03-04 + 1.0.29 + Version bump. + Hakan Yıldız + hknyldz93@gmail.com + + + 2014-08-19 + 1.0.28 + Rebuild version 28. + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-08-19 + 1.0.28 + Version bump. + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-05-26 + 1.0.27 + Rebuild. + Serdar Soytetir + kaptan@pisilinux.org + + + 2013-08-22 + 1.0.27 + Release bump. + Serdar Soytetir + kaptan@pisilinux.org + + + 2013-08-22 + 1.0.27 + Release bump. + Marcin Bojara + marcin@pisilinux.org + + + 2013-07-27 + 1.0.27 + Version bump. + Marcin Bojara + marcin@pisilinux.org + + + 2012-01-29 + 1.0.26.20121013 + First release + Erdinç Gültekin + admins@pisilinux.org + + + diff --git a/hardware/sound/alsa-tools/translations.xml b/hardware/sound/alsa-tools/translations.xml new file mode 100644 index 0000000000..9054c5e109 --- /dev/null +++ b/hardware/sound/alsa-tools/translations.xml @@ -0,0 +1,12 @@ + + + + alsa-tools + Gelişmiş Linux Ses Mimarisi araçları + + + + alsa-tools-devel + alsa-tools için geliştirme dosyaları + + diff --git a/hardware/sound/alsa-utils/actions.py b/hardware/sound/alsa-utils/actions.py new file mode 100644 index 0000000000..44b8c43558 --- /dev/null +++ b/hardware/sound/alsa-utils/actions.py @@ -0,0 +1,23 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import shelltools +from pisi.actionsapi import get + +def setup(): + autotools.configure("--sbindir=/sbin \ + --disable-alsaconf") + +def build(): + autotools.make() + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + + pisitools.dodoc("ChangeLog", "README", "TODO", "seq/aconnect/README.aconnect", "seq/aseqnet/README.aseqnet") diff --git a/hardware/sound/alsa-utils/comar/service.py b/hardware/sound/alsa-utils/comar/service.py new file mode 100644 index 0000000000..da6fa27a01 --- /dev/null +++ b/hardware/sound/alsa-utils/comar/service.py @@ -0,0 +1,20 @@ +from comar.service import * +import os + +serviceType = "local" +serviceDefault = "on" +serviceDesc = _({"en": "Store/Restore Mixer Levels", + "tr": "Karıştırıcı Seviyeleri Yönetimi"}) + +@synchronized +def start(): + # Store mixer levels + os.system("/sbin/alsactl restore") + +@synchronized +def stop(): + # Store mixer levels + os.system("/sbin/alsactl store") + +def status(): + return True diff --git a/hardware/sound/alsa-utils/files/01beep.conf b/hardware/sound/alsa-utils/files/01beep.conf new file mode 100644 index 0000000000..0de271fa6f --- /dev/null +++ b/hardware/sound/alsa-utils/files/01beep.conf @@ -0,0 +1,17 @@ +CTL{reset}="mixer" +CTL{name}="PC Speaker Playback Volume",CTL{do_search}=="1", \ + CTL{values}="$env{pvolume}",RESULT!="0",CTL{values}="0" +CTL{name}="PC Speaker Playback Switch",CTL{do_search}=="1", \ + CTL{values}="off" + +CTL{reset}="mixer" +CTL{name}="PC Beep Playback Volume",CTL{do_search}=="1", \ + CTL{values}="$env{pvolume}",RESULT!="0",CTL{values}="0" +CTL{name}="PC Beep Playback Switch",CTL{do_search}=="1", \ + CTL{values}="off" + +CTL{reset}="mixer" +CTL{name}="Beep Playback Volume",CTL{do_search}=="1", \ + CTL{values}="$env{pvolume}",RESULT!="0",CTL{values}="0" +CTL{name}="Beep Playback Switch",CTL{do_search}=="1", \ + CTL{values}="off" diff --git a/hardware/sound/alsa-utils/files/alsactl.conf b/hardware/sound/alsa-utils/files/alsactl.conf new file mode 100644 index 0000000000..8c408ae15f --- /dev/null +++ b/hardware/sound/alsa-utils/files/alsactl.conf @@ -0,0 +1,15 @@ +# +# ALSA library configuration file for alsactl tool +# (/usr/share/alsa tree is not necessary for alsactl) +# + +ctl.hw { + @args [ CARD ] + @args.CARD { + type string + default "0" + } + type hw + card $CARD +} + diff --git a/hardware/sound/alsa-utils/files/alsaunmute b/hardware/sound/alsa-utils/files/alsaunmute new file mode 100644 index 0000000000..d29b30fd80 --- /dev/null +++ b/hardware/sound/alsa-utils/files/alsaunmute @@ -0,0 +1,3 @@ +#!/bin/sh + +exec /sbin/alsactl -E ALSA_CONFIG_PATH=/etc/alsa/alsactl.conf init diff --git a/hardware/sound/alsa-utils/files/alsaunmute.1 b/hardware/sound/alsa-utils/files/alsaunmute.1 new file mode 100644 index 0000000000..057ae5071d --- /dev/null +++ b/hardware/sound/alsa-utils/files/alsaunmute.1 @@ -0,0 +1,28 @@ +.TH ALSAUNMUTE 1 "21 April 2010" +.SH NAME +alsaunmute \- a simple script to initialize ALSA sound devices + +.SH DESCRIPTION +\fBalsaunmute\fP is a shell script which runs the \fBalsactl(1)\fP +utility with \fIinit\fP argument (see the script for details). + +.SH OPTIONS +None + +.SS +Example: +\fBalsaunmute\fR + +.SH SEE ALSO +\fB +alsactl(1), +alsamixer(1), +amixer(1) +\fP + +.SH BUGS +None known. + +.SH AUTHOR +\fBalsaunmute\fP is by Jaroslav Kysela + diff --git a/hardware/sound/alsa-utils/pspec.xml b/hardware/sound/alsa-utils/pspec.xml new file mode 100644 index 0000000000..65cdf54404 --- /dev/null +++ b/hardware/sound/alsa-utils/pspec.xml @@ -0,0 +1,116 @@ + + + + + alsa-utils + http://www.alsa-project.org/ + + PisiLinux Community + admins@pisilinux.org + + GPLv2 + app:console + Advanced Linux Sound Architecture (ALSA) utilities + alsa-utils contains command line utilities for the Advanced Linux Sound Architecture (ALSA). + ftp://ftp.alsa-project.org/pub/utils/alsa-utils-1.0.29.tar.bz2 + + xmlto + util-linux + libxslt + ncurses-devel + libsamplerate-devel + alsa-lib-devel + + + + + alsa-utils + + + ncurses + alsa-lib + libsamplerate + + + /etc + /sbin + /usr/share/doc + /usr/share/man + /var/lib/alsa + /usr/bin + /usr/share/alsa + /lib/udev/rules.d + /usr/share/sounds + /lib/systemd/system + /usr/share/locale + + + alsaunmute + 01beep.conf + alsactl.conf + alsaunmute.1 + + + System.Service + + + + + + 2015-03-04 + 1.0.29 + Version bump. + Hakan Yıldız + hknyldz93@gmail.com + + + 2014-08-19 + 1.0.28 + Rebuild version 28. + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-08-19 + 1.0.28 + Version bump. + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-05-26 + 1.0.27.2 + Remove systemd part. + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-03-05 + 1.0.27.2 + Rebuild for buildhost + PisiLinux Community + admins@pisilinux.org + + + 2013-08-22 + 1.0.27.2 + Release bump. + Marcin Bojara + marcin@pisilinux.org + + + 2013-07-27 + 1.0.27.2 + Version bump. + Marcin Bojara + marcin@pisilinux.org + + + 2012-10-13 + 1.0.26.20121013 + First release + Erdinç Gültekin + admins@pisilinux.org + + + diff --git a/hardware/sound/alsa-utils/translations.xml b/hardware/sound/alsa-utils/translations.xml new file mode 100644 index 0000000000..57c352e7e5 --- /dev/null +++ b/hardware/sound/alsa-utils/translations.xml @@ -0,0 +1,8 @@ + + + + alsa-utils + ALSA araçları + Alsa-utils Linux işletim sistemlerinde ses ve MIDI fonksiyonlarının gerçekleştirilmesini sağlayan gelişmiş Linux ses mimarisidir + +