works for alsa

This commit is contained in:
Ertuğrul Erata
2015-07-24 01:07:34 +03:00
parent 0ee9cfc448
commit 1a64058d81
18 changed files with 918 additions and 0 deletions
+50
View File
@@ -0,0 +1,50 @@
#!/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.install("-C documentation")
autotools.rawInstall("DESTDIR=%s -C fluid" % get.installDIR(), "install-linux")
pisitools.dodoc("ANNOUNCEMENT", "CHANGES", "COPYING", "CREDITS", "README")
+1
View File
@@ -0,0 +1 @@
FLTK_DOCDIR=/usr/share/doc/fltk/html
@@ -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
+226
View File
@@ -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;
+169
View File
@@ -0,0 +1,169 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>fltk</Name>
<Homepage>http://www.fltk.org</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>LGPLv2.1</License>
<IsA>library</IsA>
<Summary>FLTK (pronounced "fulltick") is a cross-platform C++ GUI toolkit</Summary>
<Description>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.</Description>
<Archive sha1sum="873aac49b277149e054b9740378e2ca87b0bd435" type="targz">ftp://ftp.uwsg.indiana.edu/linux/gentoo/distfiles/fltk-1.3.3-source.tar.gz</Archive>
<BuildDependencies>
<Dependency>zlib-devel</Dependency>
<Dependency>libX11-devel</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>libpng-devel</Dependency>
<Dependency>mesa-devel</Dependency>
<Dependency>libXft-devel</Dependency>
<Dependency>libXext-devel</Dependency>
<Dependency>mesa-glu-devel</Dependency>
<Dependency>libXfixes-devel</Dependency>
<Dependency>libXcursor-devel</Dependency>
<Dependency>fontconfig-devel</Dependency>
<Dependency>libXinerama-devel</Dependency>
<Dependency>libjpeg-turbo-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">tigervnc.patch</Patch>
<Patch level="1">fltk-config-dynlibs.patch</Patch>
</Patches>
</Source>
<Package>
<Name>fltk</Name>
<RuntimeDependencies>
<Dependency>zlib</Dependency>
<Dependency>libX11</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>libpng</Dependency>
<Dependency>mesa</Dependency>
<Dependency>libXft</Dependency>
<Dependency>libXext</Dependency>
<Dependency>mesa-glu</Dependency>
<Dependency>libXfixes</Dependency>
<Dependency>libXcursor</Dependency>
<Dependency>fontconfig</Dependency>
<Dependency>libXinerama</Dependency>
<Dependency>libjpeg-turbo</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>fltk-32bit</Name>
<PartOf>emul32</PartOf>
<BuildType>emul32</BuildType>
<BuildDependencies>
<Dependency>zlib-32bit</Dependency>
<Dependency>libX11-32bit</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>libpng-32bit</Dependency>
<Dependency>glibc-32bit</Dependency>
<Dependency>mesa-32bit</Dependency>
<Dependency>libXft-32bit</Dependency>
<Dependency>libXext-32bit</Dependency>
<Dependency>mesa-glu-32bit</Dependency>
<Dependency>libXfixes-32bit</Dependency>
<Dependency>libXcursor-32bit</Dependency>
<Dependency>fontconfig-32bit</Dependency>
<Dependency>libXinerama-32bit</Dependency>
<Dependency>libjpeg-turbo-32bit</Dependency>
</BuildDependencies>
<RuntimeDependencies>
<Dependency release="current">fltk</Dependency>
<Dependency>zlib-32bit</Dependency>
<Dependency>libX11-32bit</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>libpng-32bit</Dependency>
<Dependency>glibc-32bit</Dependency>
<Dependency>mesa-32bit</Dependency>
<Dependency>libXft-32bit</Dependency>
<Dependency>libXext-32bit</Dependency>
<Dependency>mesa-glu-32bit</Dependency>
<Dependency>libXfixes-32bit</Dependency>
<Dependency>libXcursor-32bit</Dependency>
<Dependency>fontconfig-32bit</Dependency>
<Dependency>libXinerama-32bit</Dependency>
<Dependency>libjpeg-turbo-32bit</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib32</Path>
</Files>
</Package>
<Package>
<Name>fltk-devel</Name>
<IsA>app:console</IsA>
<IsA>app:gui</IsA>
<Summary>Development files and utilities for FLTK</Summary>
<RuntimeDependencies>
<Dependency release="current">fltk</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="data">/etc/env.d</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/share/icons</Path>
<Path fileType="data">/usr/share/mimelnk</Path>
<Path fileType="doc">/usr/share/doc/*/html</Path>
<Path fileType="data">/usr/share/applications</Path>
</Files>
<AdditionalFiles>
<AdditionalFile owner="root" permission="0644" target="/etc/env.d/99fltk">99fltk</AdditionalFile>
</AdditionalFiles>
</Package>
<History>
<Update release="6">
<Date>2015-04-26</Date>
<Version>1.3.3</Version>
<Comment>Version bump.</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
<Update release="5">
<Date>2014-05-26</Date>
<Version>1.3.2</Version>
<Comment>Rebuild for gcc 4.9</Comment>
<Name>Osman Erkan</Name>
<Email>osman.erkan@pisilinux.org</Email>
</Update>
<Update release="4">
<Date>2014-01-29</Date>
<Version>1.3.2</Version>
<Comment>Rebuild Unused</Comment>
<Name>Varol Maksutoğlu</Name>
<Email>waroi@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2013-11-03</Date>
<Version>1.3.2</Version>
<Comment>Version bump.</Comment>
<Name>Burak Fazıl Ertürk</Name>
<Email>burakerturk@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-08-26</Date>
<Version>1.3.0</Version>
<Comment>Release bump.</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-11-11</Date>
<Version>1.3.0</Version>
<Comment>First release</Comment>
<Name>Osman Erkan</Name>
<Email>osman.erkan@pisilinux.org</Email>
</Update>
</History>
</PISI>
+15
View File
@@ -0,0 +1,15 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>fltk</Name>
<Summary xml:lang="tr">FLTK, platformlar arası C++ kullanıcı arayüzü için bir araç takımı</Summary>
<Description xml:lang="tr">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.</Description>
<Description xml:lang="fr">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.</Description>
<Description xml:lang="es">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.</Description>
</Source>
<Package>
<Name>fltk-devel</Name>
<Summary xml:lang="tr">FLTK için geliştirme dosyaları ve yardımcı uygulamalar</Summary>
</Package>
</PISI>
@@ -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")
+81
View File
@@ -0,0 +1,81 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>alsa-firmware</Name>
<Homepage>http://www.alsa-project.org</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<License>GPLv2+</License>
<License>LGPLv2+</License>
<License>BSD</License>
<IsA>data</IsA>
<Summary>Firmware for several ALSA-supported sound cards</Summary>
<Description>alsa-firmware contains the firmware binaries for a number of sound cards supported by the ALSA project.</Description>
<Archive sha1sum="414f0b03ea4337c3bd4a9e689f33040173cba529" type="tarbz2">ftp://ftp.alsa-project.org/pub/firmware/alsa-firmware-1.0.29.tar.bz2</Archive>
</Source>
<Package>
<Name>alsa-firmware</Name>
<Files>
<Path fileType="data">/usr/share/alsa/firmware</Path>
<Path fileType="data">/lib/firmware</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="8">
<Date>2015-03-04</Date>
<Version>1.0.29</Version>
<Comment>Version bump.</Comment>
<Name>Hakan Yıldız</Name>
<Email>hknyldz93@gmail.com</Email>
</Update>
<Update release="7">
<Date>2014-08-19</Date>
<Version>1.0.28</Version>
<Comment>Version bump.</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="6">
<Date>2014-08-19</Date>
<Version>1.0.28</Version>
<Comment>Version bump.</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="4">
<Date>2013-12-06</Date>
<Version>1.0.27</Version>
<Comment>Remove conflicted ctefx.bin file, it is in linux-firmware package.</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2013-08-22</Date>
<Version>1.0.27</Version>
<Comment>Release bump.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-07-10</Date>
<Version>1.0.27</Version>
<Comment>Version bump.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-10-29</Date>
<Version>1.0.25.20121013</Version>
<Comment>First release</Comment>
<Name>Erdinç Gültekin</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,9 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>alsa-firmware</Name>
<Summary xml:lang="tr">Çeşitli ALSA destekli ses kartları için firmware dosyaları</Summary>
<Description xml:lang="tr">alsa-firmware, ALSA sürücüleri tarafından desteklenen bazı ses kartları için gerekli firmware dosyalarını içerir.</Description>
<Summary xml:lang="fr">firmware (logiciel interne) pour l'Architecture Son Linux Avancée (ALSA).</Summary>
</Source>
</PISI>
+3
View File
@@ -0,0 +1,3 @@
<PISI>
<Name>hardware.firmware</Name>
</PISI>
+23
View File
@@ -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")
@@ -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
@@ -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"
@@ -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
}
@@ -0,0 +1,3 @@
#!/bin/sh
exec /sbin/alsactl -E ALSA_CONFIG_PATH=/etc/alsa/alsactl.conf init
@@ -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 <perex@perex.cz>
+116
View File
@@ -0,0 +1,116 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>alsa-utils</Name>
<Homepage>http://www.alsa-project.org/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>app:console</IsA>
<Summary>Advanced Linux Sound Architecture (ALSA) utilities</Summary>
<Description>alsa-utils contains command line utilities for the Advanced Linux Sound Architecture (ALSA).</Description>
<Archive sha1sum="8b456e2d8adf538aef3fc2d24aae2377509f9544" type="tarbz2">ftp://ftp.alsa-project.org/pub/utils/alsa-utils-1.0.29.tar.bz2</Archive>
<BuildDependencies>
<Dependency>xmlto</Dependency>
<Dependency>util-linux</Dependency>
<Dependency>libxslt</Dependency>
<Dependency>ncurses-devel</Dependency>
<Dependency>libsamplerate-devel</Dependency>
<Dependency>alsa-lib-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>alsa-utils</Name>
<RuntimeDependencies>
<!--Dependency>dialog</Dependency-->
<Dependency>ncurses</Dependency>
<Dependency>alsa-lib</Dependency>
<Dependency>libsamplerate</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="config">/etc</Path>
<Path fileType="executable">/sbin</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="data">/var/lib/alsa</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="data">/usr/share/alsa</Path>
<Path fileType="data">/lib/udev/rules.d</Path>
<Path fileType="data">/usr/share/sounds</Path>
<Path fileType="data">/lib/systemd/system</Path>
<Path fileType="localedata">/usr/share/locale</Path>
</Files>
<AdditionalFiles>
<AdditionalFile owner="root" permission="0755" target="/usr/bin/alsaunmute">alsaunmute</AdditionalFile>
<AdditionalFile owner="root" permission="0644" target="/etc/alsa/01beep.conf">01beep.conf</AdditionalFile>
<AdditionalFile owner="root" permission="0644" target="/etc/alsa/alsactl.conf">alsactl.conf</AdditionalFile>
<AdditionalFile owner="root" permission="0644" target="/usr/share/man/man1/alsaunmute.1">alsaunmute.1</AdditionalFile>
</AdditionalFiles>
<Provides>
<COMAR script="service.py" name="alsactl">System.Service</COMAR>
</Provides>
</Package>
<History>
<Update release="8">
<Date>2015-03-04</Date>
<Version>1.0.29</Version>
<Comment>Version bump.</Comment>
<Name>Hakan Yıldız</Name>
<Email>hknyldz93@gmail.com</Email>
</Update>
<Update release="7">
<Date>2014-08-19</Date>
<Version>1.0.28</Version>
<Comment>Rebuild version 28.</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="6">
<Date>2014-08-19</Date>
<Version>1.0.28</Version>
<Comment>Version bump.</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="5">
<Date>2014-05-26</Date>
<Version>1.0.27.2</Version>
<Comment>Remove systemd part.</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="4">
<Date>2014-03-05</Date>
<Version>1.0.27.2</Version>
<Comment>Rebuild for buildhost</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2013-08-22</Date>
<Version>1.0.27.2</Version>
<Comment>Release bump.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-07-27</Date>
<Version>1.0.27.2</Version>
<Comment>Version bump.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-10-13</Date>
<Version>1.0.26.20121013</Version>
<Comment>First release</Comment>
<Name>Erdinç Gültekin</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>alsa-utils</Name>
<Summary xml:lang="tr">ALSA araçları</Summary>
<Description xml:lang="tr">Alsa-utils Linux işletim sistemlerinde ses ve MIDI fonksiyonlarının gerçekleştirilmesini sağlayan gelişmiş Linux ses mimarisidir</Description>
</Source>
</PISI>