From f067192c38e4af6208b1f35a76f0c952266869f8 Mon Sep 17 00:00:00 2001 From: rhatto Date: Wed, 3 Sep 2008 03:48:23 +0000 Subject: merging with changes made since 21th May git-svn-id: svn+slack://slack.fluxo.info/var/svn/mkbuilds@233 18ef50b8-d735-4ccd-97c1-689132df3dd9 --- app/admin/hddtemp/hddtemp.db | 523 ++++++++ app/admin/syslog-ng/logrotate.d/syslog-ng | 6 + app/admin/syslog-ng/rc.syslog-ng.new | 37 + app/admin/syslog-ng/syslog-ng-anon-2.0.6.diff | 277 ++++ app/admin/syslog-ng/syslog-ng.conf.new | 270 ++++ app/admin/syslog-ng/syslog-ng.mkbuild | 117 ++ app/arch/cabextract/cabextract.mkbuild | 167 +++ app/arch/unrar-gpl/unrar-gpl.mkbuild | 167 +++ app/backup/duplicity/slack-required | 4 + app/crypt/heimdal/heimdal.mkbuild | 169 +++ app/crypt/pgpdump/pgpdump.mkbuild | 167 +++ app/shells/rssh-chroot/slack-required.old | 4 + app/text/enchant/enchant.mkbuild | 169 +++ app/text/gtkspell/gtkspell.mkbuild | 176 +++ app/text/xchm/xchm.mkbuild | 167 +++ dev/libs/boost/boost.mkbuild | 235 ++++ dev/libs/boost/boost_custom_jam_rule.diff | 25 + dev/libs/check/check.mkbuild | 160 +++ dev/libs/directfb-extra/DirectFB-extra.mkbuild | 167 +++ dev/libs/directfb/directfb.mkbuild | 167 +++ dev/libs/eet/eet.mkbuild | 113 ++ dev/libs/eventlog/eventlog.mkbuild | 90 ++ dev/libs/exml/exml.mkbuild | 117 ++ dev/libs/libcroco/libcroco.mkbuild | 169 +++ dev/libs/libelf/libelf.mkbuild | 169 +++ dev/libs/libgweather/libgweather.mkbuild | 169 +++ dev/libs/libtasn1/libtasn1.mkbuild | 169 +++ dev/python/configobj/configobj.mkbuild | 101 ++ dev/python/db3/db3.mkbuild | 170 +++ dev/python/epsilon/epsilon.mkbuild | 117 ++ dev/python/genshi/Genshi.mkbuild | 96 ++ dev/python/mysql-python/MySQL-python.mkbuild | 173 +++ dev/python/pygments/Pygments.mkbuild | 90 ++ dev/python/pyrex/pyrex.mkbuild | 177 +++ dev/python/pythondialog/pythondialog.mkbuild | 178 +++ dev/python/setuptools/setuptools.mkbuild | 90 ++ dev/python/visual/visual.mkbuild | 167 +++ dev/tcltk/tls/tls.mkbuild | 174 +++ dev/util/gazpacho/gazpacho.mkbuild | 173 +++ gnome/base/eel/eel.mkbuild | 169 +++ gnome/base/gnome-desktop/gnome-desktop.mkbuild | 169 +++ gnome/base/gnome-keyring/gnome-keyring.mkbuild | 170 +++ gnome/base/gnome-menus/gnome-menus.mkbuild | 169 +++ gnome/base/libgtop/libgtop.mkbuild | 168 +++ gnome/extra/bug-buddy/bug-buddy.mkbuild | 169 +++ .../evolution-data-server.mkbuild | 198 +++ mail/mta/msmtp/msmtp.mkbuild | 91 ++ media/gfx/gqview/gqview.mkbuild | 92 ++ media/gfx/gtkam/gtkam.mkbuild | 95 ++ media/gfx/gwenview/gwenview.mkbuild | 169 +++ media/libs/aubio/aubio.mkbuild | 96 ++ media/libs/edje/edje.mkbuild | 117 ++ media/libs/efreet/efreet.mkbuild | 117 ++ media/libs/embryo/embryo.mkbuild | 117 ++ media/libs/emotion/emotion.mkbuild | 117 ++ media/libs/faad2/faad2-2.0.diff | 25 + media/libs/faad2/faad2-2.6.1.diff | 1040 +++++++++++++++ media/libs/faad2/faad2.mkbuild | 102 ++ media/libs/glitz/glitz.mkbuild | 92 ++ media/libs/gst-ffmpeg/gst-ffmpeg.mkbuild | 175 +++ media/libs/gst-plugins-bad/gst-plugins-bad.mkbuild | 169 +++ .../libs/gst-plugins-base/gst-plugins-base.mkbuild | 169 +++ .../libs/gst-plugins-good/gst-plugins-good.mkbuild | 169 +++ .../libs/gst-plugins-ugly/gst-plugins-ugly.mkbuild | 169 +++ media/libs/gstreamer/gstreamer.mkbuild | 169 +++ media/libs/ilmbase/ilmbase.mkbuild | 92 ++ media/libs/imlib2/imlib2.mkbuild | 167 +++ media/libs/ladspa/ladspa.mkbuild | 144 ++ media/libs/libdv/libdv-0.104.diff | 1383 ++++++++++++++++++++ media/libs/libdv/libdv.mkbuild | 92 ++ media/libs/libdvbpsi/libdvbpsi.mkbuild | 169 +++ media/libs/libexif-gtk/libexif-gtk.mkbuild | 95 ++ media/libs/libiec61883/libiec61883.mkbuild | 101 ++ media/libs/libjackasyn/libjackasyn.mkbuild | 95 ++ media/libs/liblo/liblo.mkbuild | 92 ++ media/libs/liblrdf/liblrdf.mkbuild | 95 ++ media/libs/libquicktime/libquicktime-0.9.10.diff | 30 + media/libs/libquicktime/libquicktime.mkbuild | 98 ++ media/libs/libsamplerate/libsamplerate.mkbuild | 92 ++ media/libs/libsndfile/libsndfile.mkbuild | 97 ++ media/libs/libx264/libx264.mkbuild | 122 ++ media/libs/openexr/openexr.mkbuild | 98 ++ media/libs/raptor/raptor.mkbuild | 98 ++ media/libs/speex/speex.mkbuild | 92 ++ media/libs/unicap/unicap.mkbuild | 169 +++ media/libs/xine-lib/xine-lib.mkbuild | 160 +++ media/libs/zvbi/zvbi.mkbuild | 167 +++ .../plugins/swfdec-mozilla/swfdec-mozilla.mkbuild | 95 ++ media/plugins/swfdec/swfdec.mkbuild | 104 ++ media/plugins/swh-plugins/swh-plugins.mkbuild | 95 ++ media/plugins/xmms-jack/xmms-jack.mkbuild | 95 ++ media/plugins/xmms-jackasyn/xmms-jackasyn.mkbuild | 95 ++ media/sound/ardour/ardour.mkbuild | 172 +++ media/sound/camp/camp-1.5.3455.diff | 64 + media/sound/camp/camp.mkbuild | 104 ++ media/sound/cmt/cmt.mkbuild | 150 +++ media/sound/darkice/darkice-0.17.1-x86_64.diff | 95 ++ media/sound/darkice/darkice.mkbuild | 97 ++ media/sound/darksnow/darksnow.mkbuild | 90 ++ media/sound/envy24control/envy24control.mkbuild | 110 ++ media/sound/hydrogen/hydrogen-0.9.3.diff | 651 +++++++++ media/sound/hydrogen/hydrogen.mkbuild | 95 ++ media/sound/jack-rack/jack-rack.mkbuild | 99 ++ media/sound/lmms/lmms-0.2.1.diff | 12 + media/sound/lmms/lmms.mkbuild | 95 ++ media/sound/mp3blaster/mp3blaster.mkbuild | 94 ++ media/sound/pulseaudio/pulseaudio-0.9.10.diff | 22 + media/sound/pulseaudio/pulseaudio.mkbuild | 169 +++ media/sound/qjackctl/qjackctl.mkbuild | 97 ++ media/sound/qjackctl/slack-required | 4 + media/sound/twolame/twolame.mkbuild | 92 ++ media/sound/xmms/xmms.mkbuild | 160 +++ media/video/cinelerra/cinelerra-altivec.diff | 49 + media/video/cinelerra/cinelerra.mkbuild | 125 ++ media/video/dvgrab/dvgrab.mkbuild | 99 ++ media/video/ffmpeg/.SlackBuild | 204 +++ media/video/ffmpeg/.SlackBuild.old | 204 +++ media/video/ffmpeg/ffmpeg.mkbuild | 131 ++ media/video/ffmpeg2theora/ffmpeg2theora.mkbuild | 95 ++ media/video/kino/kino.mkbuild | 99 ++ .../video/mjpegtools/mjpegtools-1.8.0-powerpc.diff | 11 + media/video/mjpegtools/mjpegtools-1.8.0.diff | 11 + .../mjpegtools/mjpegtools-1.9.0rc2-x86_64.diff | 31 + media/video/mjpegtools/mjpegtools.mkbuild | 119 ++ media/video/mplayer/MPlayer-1.0rc1.diff | 31 + media/video/mplayer/MPlayer.mkbuild | 142 ++ media/video/oggfwd/oggfwd-0.2.diff | 25 + media/video/oggfwd/oggfwd.mkbuild | 98 ++ media/video/theorur/theorur.mkbuild | 90 ++ media/video/ucview/slack-required | 3 + media/video/ucview/ucview.mkbuild | 169 +++ net/im/bitlbee/bitlbee-1.2.1-x86_64.diff | 12 + net/im/feast/feast.mkbuild | 142 ++ net/im/pidgin/pidgin.mkbuild | 160 +++ net/libs/opal/opal.mkbuild | 160 +++ net/mail-filter/bogofilter/bogofilter.mkbuild | 169 +++ net/mail/mairix/mairix.mkbuild | 108 ++ net/mail/offlineimap/offlineimap.mkbuild | 119 ++ net/misc/tor/rc.tor.new | 20 + net/misc/tor/slack-required | 4 + net/misc/tor/tor.mkbuild | 109 ++ net/p2p/nicotine+/nicotine+.mkbuild | 90 ++ net/p2p/nicotine/nicotine.mkbuild | 90 ++ net/proxy/privoxy/privoxy.mkbuild | 122 ++ net/proxy/privoxy/rc.privoxy.new | 105 ++ net/proxy/tsocks/tsocks-1.8beta5-x86_64.diff | 36 + net/proxy/tsocks/tsocks.mkbuild | 94 ++ net/www/gnash/gnash-0.8.3.diff | 69 + net/www/mplayerplug-in/mplayerplug-in.mkbuild | 96 ++ others/unclassified/exempi/exempi.mkbuild | 169 +++ patches/glib2/glib2.mkbuild | 169 +++ patches/gnutls/gnutls.mkbuild | 101 ++ patches/libgcrypt/libgcrypt.mkbuild | 100 ++ patches/libxml2/libxml2.mkbuild | 92 ++ patches/libxslt/libxslt.mkbuild | 92 ++ patches/pcre/pcre.mkbuild | 100 ++ sci/astronomy/stellarium/stellarium.mkbuild | 101 ++ sci/libs/fftw/fftw.mkbuild | 160 +++ sci/libs/lapack/lapack.mkbuild | 190 +++ sys/boot/grub/grub.mkbuild | 97 ++ sys/fs/cryptsetup-luks/cryptsetup-luks.mkbuild | 87 ++ sys/fs/cryptsetup/cryptsetup.mkbuild | 81 ++ sys/process/anacron/anacron-2.3.diff | 12 + sys/process/anacron/anacron.mkbuild | 104 ++ www/apps/trac/Trac.mkbuild | 100 ++ .../tracaccountmanager/TracAccountManager.mkbuild | 100 ++ .../TracPageAuthzEditor.mkbuild | 100 ++ x11/apps/xev/xev.mkbuild | 169 +++ x11/libs/agg/agg.mkbuild | 180 +++ x11/libs/ecore/ecore.mkbuild | 117 ++ x11/libs/esmart/esmart.mkbuild | 117 ++ x11/libs/etk/etk.mkbuild | 117 ++ x11/libs/evas/evas.mkbuild | 117 ++ x11/libs/ewl/ewl.mkbuild | 117 ++ x11/libs/gtkglext/gtkglext.mkbuild | 167 +++ x11/libs/libast/libast.mkbuild | 92 ++ x11/libs/wxgtk/wxGTK.mkbuild | 167 +++ x11/misc/entrance/entrance.mkbuild | 117 ++ x11/misc/xbindkeys/xbindkeys.mkbuild | 169 +++ x11/terms/aterm/aterm.mkbuild | 168 +++ x11/terms/eterm/Eterm.mkbuild | 167 +++ .../gnome-backgrounds/gnome-backgrounds.mkbuild | 169 +++ x11/themes/gnome-themes/gnome-themes.mkbuild | 169 +++ x11/themes/gtk-engines/gtk-engines.mkbuild | 169 +++ x11/wm/afterstep/afterstep.mkbuild | 168 +++ x11/wm/enlightenment/enlightenment.mkbuild | 117 ++ x11/wm/metacity/metacity.mkbuild | 169 +++ 187 files changed, 25420 insertions(+) create mode 100644 app/admin/hddtemp/hddtemp.db create mode 100644 app/admin/syslog-ng/logrotate.d/syslog-ng create mode 100644 app/admin/syslog-ng/rc.syslog-ng.new create mode 100644 app/admin/syslog-ng/syslog-ng-anon-2.0.6.diff create mode 100644 app/admin/syslog-ng/syslog-ng.conf.new create mode 100644 app/admin/syslog-ng/syslog-ng.mkbuild create mode 100644 app/arch/cabextract/cabextract.mkbuild create mode 100644 app/arch/unrar-gpl/unrar-gpl.mkbuild create mode 100644 app/backup/duplicity/slack-required create mode 100644 app/crypt/heimdal/heimdal.mkbuild create mode 100644 app/crypt/pgpdump/pgpdump.mkbuild create mode 100644 app/shells/rssh-chroot/slack-required.old create mode 100644 app/text/enchant/enchant.mkbuild create mode 100644 app/text/gtkspell/gtkspell.mkbuild create mode 100644 app/text/xchm/xchm.mkbuild create mode 100644 dev/libs/boost/boost.mkbuild create mode 100644 dev/libs/boost/boost_custom_jam_rule.diff create mode 100644 dev/libs/check/check.mkbuild create mode 100644 dev/libs/directfb-extra/DirectFB-extra.mkbuild create mode 100644 dev/libs/directfb/directfb.mkbuild create mode 100644 dev/libs/eet/eet.mkbuild create mode 100644 dev/libs/eventlog/eventlog.mkbuild create mode 100644 dev/libs/exml/exml.mkbuild create mode 100644 dev/libs/libcroco/libcroco.mkbuild create mode 100644 dev/libs/libelf/libelf.mkbuild create mode 100644 dev/libs/libgweather/libgweather.mkbuild create mode 100644 dev/libs/libtasn1/libtasn1.mkbuild create mode 100644 dev/python/configobj/configobj.mkbuild create mode 100644 dev/python/db3/db3.mkbuild create mode 100644 dev/python/epsilon/epsilon.mkbuild create mode 100644 dev/python/genshi/Genshi.mkbuild create mode 100644 dev/python/mysql-python/MySQL-python.mkbuild create mode 100644 dev/python/pygments/Pygments.mkbuild create mode 100644 dev/python/pyrex/pyrex.mkbuild create mode 100644 dev/python/pythondialog/pythondialog.mkbuild create mode 100644 dev/python/setuptools/setuptools.mkbuild create mode 100644 dev/python/visual/visual.mkbuild create mode 100644 dev/tcltk/tls/tls.mkbuild create mode 100644 dev/util/gazpacho/gazpacho.mkbuild create mode 100644 gnome/base/eel/eel.mkbuild create mode 100644 gnome/base/gnome-desktop/gnome-desktop.mkbuild create mode 100644 gnome/base/gnome-keyring/gnome-keyring.mkbuild create mode 100644 gnome/base/gnome-menus/gnome-menus.mkbuild create mode 100644 gnome/base/libgtop/libgtop.mkbuild create mode 100644 gnome/extra/bug-buddy/bug-buddy.mkbuild create mode 100644 gnome/extra/evolution-data-server/evolution-data-server.mkbuild create mode 100644 mail/mta/msmtp/msmtp.mkbuild create mode 100644 media/gfx/gqview/gqview.mkbuild create mode 100644 media/gfx/gtkam/gtkam.mkbuild create mode 100644 media/gfx/gwenview/gwenview.mkbuild create mode 100644 media/libs/aubio/aubio.mkbuild create mode 100644 media/libs/edje/edje.mkbuild create mode 100644 media/libs/efreet/efreet.mkbuild create mode 100644 media/libs/embryo/embryo.mkbuild create mode 100644 media/libs/emotion/emotion.mkbuild create mode 100644 media/libs/faad2/faad2-2.0.diff create mode 100644 media/libs/faad2/faad2-2.6.1.diff create mode 100644 media/libs/faad2/faad2.mkbuild create mode 100644 media/libs/glitz/glitz.mkbuild create mode 100644 media/libs/gst-ffmpeg/gst-ffmpeg.mkbuild create mode 100644 media/libs/gst-plugins-bad/gst-plugins-bad.mkbuild create mode 100644 media/libs/gst-plugins-base/gst-plugins-base.mkbuild create mode 100644 media/libs/gst-plugins-good/gst-plugins-good.mkbuild create mode 100644 media/libs/gst-plugins-ugly/gst-plugins-ugly.mkbuild create mode 100644 media/libs/gstreamer/gstreamer.mkbuild create mode 100644 media/libs/ilmbase/ilmbase.mkbuild create mode 100644 media/libs/imlib2/imlib2.mkbuild create mode 100644 media/libs/ladspa/ladspa.mkbuild create mode 100644 media/libs/libdv/libdv-0.104.diff create mode 100644 media/libs/libdv/libdv.mkbuild create mode 100644 media/libs/libdvbpsi/libdvbpsi.mkbuild create mode 100644 media/libs/libexif-gtk/libexif-gtk.mkbuild create mode 100644 media/libs/libiec61883/libiec61883.mkbuild create mode 100644 media/libs/libjackasyn/libjackasyn.mkbuild create mode 100644 media/libs/liblo/liblo.mkbuild create mode 100644 media/libs/liblrdf/liblrdf.mkbuild create mode 100644 media/libs/libquicktime/libquicktime-0.9.10.diff create mode 100644 media/libs/libquicktime/libquicktime.mkbuild create mode 100644 media/libs/libsamplerate/libsamplerate.mkbuild create mode 100644 media/libs/libsndfile/libsndfile.mkbuild create mode 100644 media/libs/libx264/libx264.mkbuild create mode 100644 media/libs/openexr/openexr.mkbuild create mode 100644 media/libs/raptor/raptor.mkbuild create mode 100644 media/libs/speex/speex.mkbuild create mode 100644 media/libs/unicap/unicap.mkbuild create mode 100644 media/libs/xine-lib/xine-lib.mkbuild create mode 100644 media/libs/zvbi/zvbi.mkbuild create mode 100644 media/plugins/swfdec-mozilla/swfdec-mozilla.mkbuild create mode 100644 media/plugins/swfdec/swfdec.mkbuild create mode 100644 media/plugins/swh-plugins/swh-plugins.mkbuild create mode 100644 media/plugins/xmms-jack/xmms-jack.mkbuild create mode 100644 media/plugins/xmms-jackasyn/xmms-jackasyn.mkbuild create mode 100644 media/sound/ardour/ardour.mkbuild create mode 100644 media/sound/camp/camp-1.5.3455.diff create mode 100644 media/sound/camp/camp.mkbuild create mode 100644 media/sound/cmt/cmt.mkbuild create mode 100644 media/sound/darkice/darkice-0.17.1-x86_64.diff create mode 100644 media/sound/darkice/darkice.mkbuild create mode 100644 media/sound/darksnow/darksnow.mkbuild create mode 100644 media/sound/envy24control/envy24control.mkbuild create mode 100644 media/sound/hydrogen/hydrogen-0.9.3.diff create mode 100644 media/sound/hydrogen/hydrogen.mkbuild create mode 100644 media/sound/jack-rack/jack-rack.mkbuild create mode 100644 media/sound/lmms/lmms-0.2.1.diff create mode 100644 media/sound/lmms/lmms.mkbuild create mode 100644 media/sound/mp3blaster/mp3blaster.mkbuild create mode 100644 media/sound/pulseaudio/pulseaudio-0.9.10.diff create mode 100644 media/sound/pulseaudio/pulseaudio.mkbuild create mode 100644 media/sound/qjackctl/qjackctl.mkbuild create mode 100644 media/sound/qjackctl/slack-required create mode 100644 media/sound/twolame/twolame.mkbuild create mode 100644 media/sound/xmms/xmms.mkbuild create mode 100644 media/video/cinelerra/cinelerra-altivec.diff create mode 100644 media/video/cinelerra/cinelerra.mkbuild create mode 100644 media/video/dvgrab/dvgrab.mkbuild create mode 100644 media/video/ffmpeg/.SlackBuild create mode 100644 media/video/ffmpeg/.SlackBuild.old create mode 100644 media/video/ffmpeg/ffmpeg.mkbuild create mode 100644 media/video/ffmpeg2theora/ffmpeg2theora.mkbuild create mode 100644 media/video/kino/kino.mkbuild create mode 100644 media/video/mjpegtools/mjpegtools-1.8.0-powerpc.diff create mode 100644 media/video/mjpegtools/mjpegtools-1.8.0.diff create mode 100644 media/video/mjpegtools/mjpegtools-1.9.0rc2-x86_64.diff create mode 100644 media/video/mjpegtools/mjpegtools.mkbuild create mode 100644 media/video/mplayer/MPlayer-1.0rc1.diff create mode 100644 media/video/mplayer/MPlayer.mkbuild create mode 100644 media/video/oggfwd/oggfwd-0.2.diff create mode 100644 media/video/oggfwd/oggfwd.mkbuild create mode 100644 media/video/theorur/theorur.mkbuild create mode 100644 media/video/ucview/slack-required create mode 100644 media/video/ucview/ucview.mkbuild create mode 100644 net/im/bitlbee/bitlbee-1.2.1-x86_64.diff create mode 100644 net/im/feast/feast.mkbuild create mode 100644 net/im/pidgin/pidgin.mkbuild create mode 100644 net/libs/opal/opal.mkbuild create mode 100644 net/mail-filter/bogofilter/bogofilter.mkbuild create mode 100644 net/mail/mairix/mairix.mkbuild create mode 100644 net/mail/offlineimap/offlineimap.mkbuild create mode 100755 net/misc/tor/rc.tor.new create mode 100644 net/misc/tor/slack-required create mode 100644 net/misc/tor/tor.mkbuild create mode 100644 net/p2p/nicotine+/nicotine+.mkbuild create mode 100644 net/p2p/nicotine/nicotine.mkbuild create mode 100644 net/proxy/privoxy/privoxy.mkbuild create mode 100755 net/proxy/privoxy/rc.privoxy.new create mode 100644 net/proxy/tsocks/tsocks-1.8beta5-x86_64.diff create mode 100644 net/proxy/tsocks/tsocks.mkbuild create mode 100644 net/www/gnash/gnash-0.8.3.diff create mode 100644 net/www/mplayerplug-in/mplayerplug-in.mkbuild create mode 100644 others/unclassified/exempi/exempi.mkbuild create mode 100644 patches/glib2/glib2.mkbuild create mode 100644 patches/gnutls/gnutls.mkbuild create mode 100644 patches/libgcrypt/libgcrypt.mkbuild create mode 100644 patches/libxml2/libxml2.mkbuild create mode 100644 patches/libxslt/libxslt.mkbuild create mode 100644 patches/pcre/pcre.mkbuild create mode 100644 sci/astronomy/stellarium/stellarium.mkbuild create mode 100644 sci/libs/fftw/fftw.mkbuild create mode 100644 sci/libs/lapack/lapack.mkbuild create mode 100644 sys/boot/grub/grub.mkbuild create mode 100644 sys/fs/cryptsetup-luks/cryptsetup-luks.mkbuild create mode 100644 sys/fs/cryptsetup/cryptsetup.mkbuild create mode 100644 sys/process/anacron/anacron-2.3.diff create mode 100644 sys/process/anacron/anacron.mkbuild create mode 100644 www/apps/trac/Trac.mkbuild create mode 100644 www/apps/tracaccountmanager/TracAccountManager.mkbuild create mode 100644 www/apps/tracpageauthzeditor/TracPageAuthzEditor.mkbuild create mode 100644 x11/apps/xev/xev.mkbuild create mode 100644 x11/libs/agg/agg.mkbuild create mode 100644 x11/libs/ecore/ecore.mkbuild create mode 100644 x11/libs/esmart/esmart.mkbuild create mode 100644 x11/libs/etk/etk.mkbuild create mode 100644 x11/libs/evas/evas.mkbuild create mode 100644 x11/libs/ewl/ewl.mkbuild create mode 100644 x11/libs/gtkglext/gtkglext.mkbuild create mode 100644 x11/libs/libast/libast.mkbuild create mode 100644 x11/libs/wxgtk/wxGTK.mkbuild create mode 100644 x11/misc/entrance/entrance.mkbuild create mode 100644 x11/misc/xbindkeys/xbindkeys.mkbuild create mode 100644 x11/terms/aterm/aterm.mkbuild create mode 100644 x11/terms/eterm/Eterm.mkbuild create mode 100644 x11/themes/gnome-backgrounds/gnome-backgrounds.mkbuild create mode 100644 x11/themes/gnome-themes/gnome-themes.mkbuild create mode 100644 x11/themes/gtk-engines/gtk-engines.mkbuild create mode 100644 x11/wm/afterstep/afterstep.mkbuild create mode 100644 x11/wm/enlightenment/enlightenment.mkbuild create mode 100644 x11/wm/metacity/metacity.mkbuild diff --git a/app/admin/hddtemp/hddtemp.db b/app/admin/hddtemp/hddtemp.db new file mode 100644 index 0000000..4a061cf --- /dev/null +++ b/app/admin/hddtemp/hddtemp.db @@ -0,0 +1,523 @@ +# +# Insert a regular expression for support of the model or the serie of your hard drive. +# If you don't know what to put in the second field, put the number +# that appears most often for your brand :o) +# A value of zero meens that we know that the drive doesn't have +# a temperature sensor (you can set the unit to C or F). +# +############################################################################ +# The following list was found at (http://www.almico.com/forumharddisks.php) +# If your drive is in the list send me a mail. +# +# Manufacturer Model Size Notes +# FUJITSU FUJITSU MPF3102AH 10.0GB +# FUJITSU FUJITSU MPG3204AH E 20.0GB +# FUJITSU FUJITSU MPG3307AT 30.0GB +# FUJITSU FUJITSU MPG3409AH 40.0GB +# FUJITSU FUJITSU MPG3409AH EF 40.0GB +# HITACHI HITACHI_DK23CA-10 9.8GB +# HITACHI HITACHI_DK23CA-15 14.7GB +# SAMSUNG SAMSUNG SV3012H 29.4GB +# SEAGATE ST310210A 10.0GB +# SEAGATE ST310211A 9.8GB +# SEAGATE ST310215A 10.0GB +# SEAGATE ST315320A 14.9GB +# SEAGATE ST320410A 19.6GB +# SEAGATE ST320413A 19.6GB +# SEAGATE ST320420A 19.9GB +# SEAGATE ST330610A 29.3GB +# SEAGATE ST330620A 29.3GB +# SEAGATE ST330621A 29.3GB +# SEAGATE ST330630A 29.9GB +# SEAGATE ST340016A 39.1GB +# SEAGATE ST340810ACE 39.1GB +# SEAGATE ST380020ACE 78.2GB +# WESTERN DIGITAL WDC AC210200D 10.0GB +# WESTERN DIGITAL WDC AC29100D 8.9GB +# WESTERN DIGITAL WDC AC420400D 19.9GB +# WESTERN DIGITAL WDC WD102AA 10.0GB +# +################################################# + +######################################## +############# ExcelStor drives +######################################## +# "ExcelStor Technology CT215" ??? ? "ExcelStor CT215" +"ExcelStor Technology J3.0" 194 C "ExcelStor Technology 3xy (xy GB)" +"ExcelStor Technology J6.0" 194 C "ExcelStor Technology 6xy (xy GB)" +"ExcelStor Technology J680" 194 C "ExcelStor Technology J680 (80 GB)" +"ExcelStor Technology J860" 194 C "ExcelStor Technology J860 (60 GB)" +"ExcelStor Technology J880" 194 C "ExcelStor Technology J880 (80 GB)" + + + +######################################## +############# Fujitsu drives +######################################## +"FUJITSU MHM2100AT" 0 C "Fujitsu MHM2100AT" + +"FUJITSU MHN2150AT" 194 C "Fujitsu MHN2150AT" +"FUJITSU MHN2200AT" 194 C "Fujitsu MHN2200AT" +"FUJITSU MHN2300AT" 194 C "Fujitsu MHN2300AT" + +"FUJITSU MHR2020AT" 194 C "Fujitsu MHR2020AT" +"FUJITSU MHR2030AT" 194 C "Fujitsu MHR2030AT" + +"FUJITSU MHS2030AT" 194 C "Fujitsu MHS2030AT" +"FUJITSU MHS2040AT" 194 C "Fujitsu MHS2040AT" +"FUJITSU MHS2060AT" 194 C "Fujitsu MHS2060AT (Apple PowerBook G4)" + +"FUJITSU MHT2030AC" 194 C "Fujitsu Mobile 30GB, 2MB, 4200RPM (automotive)" + +"FUJITSU MHT2030AT" 194 C "Fujitsu MHT2030AT" +"FUJITSU MHT2040AH" 194 C "Fujitsu MHT2040AH" +"FUJITSU MHT2040AT" 194 C "Fujitsu MHT2040AT" +"FUJITSU MHT2060AH" 194 C "Fujitsu MHT2060AH" +"FUJITSU MHT2060AT" 194 C "Fujitsu MHT2060AT" +"FUJITSU MHT2080AH" 194 C "Fujitsu MHT2080AH" + +"FUJITSU MHU2100AT" 194 C "Fujitsu MHU2100AT 100GB, 8MB (4200RPM)" + +"FUJITSU MHV2100AH" 194 C "FUJITSU MHV2100AH" +"FUJITSU MHV2100AT" 194 C "FUJITSU MHV2100AT" +"FUJITSU MHV2080[AB]H" 194 C "FUJITSU MHV2080AH" + +"FUJITSU MPF3204AH" 194 C "Fujitsu MPF3204AH" + +"FUJITSU MPG3204AT.*" 194 C "Fujitsu MPG3204AT" +"FUJITSU MPG3307AT" 194 C "Fujitsu MPG3307AT" +"FUJITSU MPG3409AT.*" 194 C "Fujitsu MPG3409AT E" +"FUJITSU MPG3409AH.*" 194 C "Fujitsu MPG3409AH E" +"FUJITSU MPG3204AH" 194 C "Fujitsu MPG3204AH" +"FUJITSU MPG3102AT E" 194 C "FUJITSU MPG3102AT E" + + + +######################################## +############# Hitachi drives +######################################## +"HITACHI_DK13FA-40B" 194 C "Hitachi DK13FA-40B" +"HITACHI_DK228A-65" 0 C "Hitachi DK228A-65" +"HITACHI_DK23CA-(15|20|30|30B|75)" 194 C "Hitachi DK23CA series" +"HITACHI_DK23DA-[234]0" 194 C "Hitachi DK23DA series" +"HITACHI_DK23EA-[2346]0" 194 C "Hitachi DK23EA series" +"HITACHI_DK23EB-40" 194 C "Hitachi DK23EB series" +"HITACHI_DK23FA-[468]0" 194 C "Hitachi DK23FA series" +"HITACHI_DK23FB-[46]0" 194 C "Hitachi DK23FB series" + +"HDS722516VLAT[28]0" 194 C "Hitachi Deskstar 7K250 160GB 2/8MB cache" +"HDS722525VLAT80" 194 C "Hitachi Deskstar 7K250 200/250GB, 7200RPM, 8MB, Parallel-ATA" +"HDS722512VLAT80" 194 C "Hitachi Deskstar 7K250 80GB" +"HDS722540VLAT20" 194 C "Hitachi Deskstar 7K250, 40GB, 7200RPM, 2MB cache" +"HDS722580VLAT20" 194 C "Deskstar 7K250 60GB" +"HDS724040KLSA80" 194 C "Hitachi Deskstar 7K250 400GB, 7200RPM, 8MB, Serial-ATA" +"HDS728080PLAT20" 194 C "Hitachi Deskstar 7K80 80GB" + +"HDS722525VLSA80" 194 C "Hitachi Deskstar 7K250 250GB, 7200RPM, 8MB, SATA" +"HDS722516VLSA80" 194 C "Hitachi Deskstar 7K250 160GB 8Mo cache SATA" +"HDS722580VLSA80" 194 C "Hitachi Deskstar 7K250 80GB SATA" +"HDS728040PLAT20" 194 C "Hitachi Deskstar 7K80 40GB" + +"HDS724040KLAT80" 194 C "Hitachi Deskstar 7K400 400GB 8Mo cache PATA" + +"HDT7225(16|25)DLAT80" 194 C "Hitachi Deskstar T7K250 series, 7200RPM, 8MB, PATA" +"HDT722516DLA380 V43O" 194 C "Hitachi T7K250 SATA" +"HDT722525DLA380" 194 C "Hitachi Deskstar T7K250 250GB 8Mo cache SATAII" +"HDT725050VLA360" 194 C "Hitachi Deskstar T7K500 500GB, 7200RPM, 16MB, SATA II" + +"HTE721010G9AT00" 194 C "Hitachi Travelstar 100GB (7200RPM)" +"HTE726060M9AT00" 194 C "Hitachi Travelstar 60GB (7200RPM)" +"HTS424030M9AT00" 194 C "Hitachi Travelstar 30GB (4200RPM)" +"HTS424040M9AT00" 194 C "Hitachi Travelstar 4K40 40GB 2MB cache (4200RPM)" +"HTS541010G9SA00" 194 C "Hitachi Travelstar 100GB SATA" +"HTS541040G9AT00" 194 C "Hitachi Travelstar 40GB (5400RPM)" +"HTS541080G9AT00" 194 C "Hitachi Travelstar 80GB (5400RPM)" +"HTS548020M9AT00" 194 C "Hitachi Travelstar 20GB (5400RPM)" +"HTS548030M9AT00" 194 C "Hitachi Travelstar 30GB (5400RPM)" +"HTS548040M9AT00" 194 C "Hitachi Travelstar 40GB (5400RPM)" +"HTS548060M9AT00" 194 C "Hitachi Travelstar 60GB (5400RPM)" +"HTS548080M9AT00" 194 C "Hitachi Travelstar 80GB (5400RPM)" +"HTS721080G9AT00" 194 C "Hitachi Travelstar 7K100 80GB (7200RPM)" +"HTS726060M9AT00" 194 C "Hitachi Travelstar 60GB" + + +######################################## +############# IBM drives +######################################## + +# DJSA serie is using F0h command to report temperature and also have +# SMART capabilties but it was reported not to work. +# "DJSA-2(30|32|10|20|05)" 0 C "IBM Travelstar 20GN, 32GH, 30GT series" + +"IBM-DARA-212000" 0 C "IBM Travelstar 12GN" +"IBM-DTTA-35*" 0 C "IBM Deskstar 16GP serie" + +# according to specifications they do not seems to have sensor +# but I prefer waiting for a report +#"IBM-DTTA-37*" 0 C "IBM Deskstar 14GXP serie" + +"IBM-DJNA-35.*" 231 C "IBM Deskstar 25 GP serie" +"IBM-DJNA-37.*" 231 C "IBM Deskstar 22 GXP serie" +"IBM-DHEA-(34330|36480)" 0 C "IBM Deskstar 5 serie" +"IBM-DHEA-(34331|36481|38451)" 0 C "IBM Deskstar 8 serie" +"IBM-DPTA-37.*" 231 C "IBM Deskstar 34GXP serie" +"IBM-DPTA-35.*" 231 C "IBM Deskstar 37GP serie" +"IBM-DTLA-30[57]0[123467][05]" 194 C "IBM Deskstar 40GV & 75GXP series" +"IC25N0[1234]0ATCS04-0" 194 C "IBM Travelstar 40GN serie" +"IC25N0[24]0ATC[SX]05-0" 194 C "IBM Travelstar 40GNX serie" +"IC25N0(10|15|20|30)ATDA04-0" 194 C "IBM Travelstar 30GN serie" +"IC25N0[23468]0ATMR04*" 194 C "Hitachi Travelstar 80GN" +"IC25T048ATDA05-0" 194 C "IBM Travelstar 48GH serie" +"IC25T060ATC[SX]05-0" 194 C "IBM Travelstar 60GH serie" +"IC35L0[12346]0AVER07" 194 C "IBM Deskstar 60GXP serie" +"IC35L[01][02468]0AVV[AN]07*" 194 C "IBM Deskstar 120GXP serie" +"IC35L[01][23689]0AVV207*" 194 C "IBM Deskstar 180GXP serie" + +######################################## +############# Maxtor drives +######################################## +#"Maxtor 2B0[012][04568]H1" ??? C "Maxtor Fireball 541DX" +"Maxtor 2F0[234]0[LJ]0" 194 C "Maxtor Fireball 3" +# which one must I trust ? +#"Maxtor 4D040H2" 9 C "Maxtor DiamondMax D540X-4D" +#"Maxtor 4D040H2" 0 C "Maxtor 4D040H2" +#"Maxtor 4D080H4" 12 C "Maxtor DiamondMax D540X-4D" +#"Maxtor 4D060H3" 12 C "Maxtor DiamondMax D540X-4D" +#"Maxtor 4D080H4" 9 C "Maxtor DiamondMax D540X-4D" +"MAXTOR 4K0[468]0H[234]" 194 C "Maxtor DiamondMax D540X serie" +"MAXTOR 4K020H1" 194 C "Maxtor 4K020H1" +"Maxtor 4A300J0" 194 C "Maxtor MaxLine II 300GB 5400RPM" +"Maxtor 4[RA](25|16|12|08|06)0[LJ]0" 194 C "Maxtor DiamondMax 16" +"Maxtor 5(1024|1369|2049|2732|3073|4098)U(2|3|4|6|8)" 0 C "Maxtor DiamondMax Plus 40" +"Maxtor 5A250J0" 194 C "Maxtor MaXline II 250GB 5400RPM" +"Maxtor 5A300J0" 194 C "Maxtor 5A300J0" +"Maxtor 5T0[24]0H[24]" 0 C "Maxtor DiamondMax Plus 60" +"Maxtor 6E0[234]0L0" 194 C "Maxtor DiamondMax Plus 8" +"MAXTOR 6L0[2468]0[LJ][1234]" 194 C "Maxtor DiamondMax Plus D740X family" +"Maxtor 6V320F0" 194 C "Maxtor Diamond Max 10 SATA II 320 GB" +"Maxtor 6Y(06|08|12|16|20|25)0[LPM]0" 194 C "Maxtor DiamondMax Plus 9" +"Maxtor 7L300[RS]0" 194 C "Maxtor 7L300R0 MaxLine+III 300GB 7200rpm" +"Maxtor 7Y250[PM]0" 194 C "Maxtor MaXLine Plus II 250GB 7200RPM" +"Maxtor 94098U8" 11 C "Maxtor DiamondMax 40 94098U8" + +#"Maxtor 6(B|L)(08|12|16|20|25|30)0[RSPM]0" 194 C "Maxtor DiamondMax Plus 10" +"Maxtor 6B080M0" 194 C "Maxtor DiamondMax 10 80GB 8MB SATA" +"Maxtor 6B120M0" 194 C "Maxtor DiamondMax 10 120GB 8MB SATA" +"Maxtor 6B160M0" 194 C "Maxtor DiamondMax 10 160GB 8MB SATA" +"Maxtor 6B160P0" 194 C "Maxtor DiamondMax 10 160GB 8MB ATA/133" +"Maxtor 6B200M0" 194 C "Maxtor DiamondMax 10 200GB 8MB SATA" +"Maxtor 6B200P0" 194 C "Maxtor DiamondMax 10 200GB 8MB ATA/133" +"Maxtor 6B250R0" 194 C "Maxtor DiamondMax 10 250GB 16MB ATA/133" +"Maxtor 6B250S0" 194 C "Maxtor DiamondMax 10 250GB 16MB SATA" +"Maxtor 6B300R0" 194 C "Maxtor DiamondMax 10 300GB 16MB ATA/133" +"Maxtor 6B300S0" 194 C "Maxtor DiamondMax 10 300GB 16MB SATA" +"Maxtor 6L080L0" 194 C "Maxtor DiamondMax 10 80GB 2MB ATA/133 RoHS" +"Maxtor 6L080M0" 194 C "Maxtor DiamondMax 10 80GB 8MB SATA RoHS" +"Maxtor 6L080P0" 194 C "Maxtor DiamondMax 10 80GB 8MB ATA/133 RoHS" +"Maxtor 6L120M0" 194 C "Maxtor DiamondMax 10 120GB 8MB SATA RoHS" +"Maxtor 6L120P0" 194 C "Maxtor DiamondMax 10 120GB 8MB ATA/133 RoHS" +"Maxtor 6L160M0" 194 C "Maxtor DiamondMax 10 160GB 8MB SATA RoHS" +"Maxtor 6L160P0" 194 C "Maxtor DiamondMax 10 160GB 8MB ATA/133 RoHS" +"Maxtor 6L200M0" 194 C "Maxtor DiamondMax 10 200GB 8MB SATA RoHS" +"Maxtor 6L200P0" 194 C "Maxtor DiamondMax 10 200GB 8MB ATA/133 RoHS" +"Maxtor 6L250R0" 194 C "Maxtor DiamondMax 10 250GB 16MB ATA/133 RoHS" +"Maxtor 6L250S0" 194 C "Maxtor DiamondMax 10 250GB 16MB SATA RoHS" +"Maxtor 6L300R0" 194 C "Maxtor DiamondMax 10 300GB 16MB ATA/133 RoHS" +"Maxtor 6L300S0" 194 C "Maxtor DiamondMax 10 300GB 16MB SATA RoHS" +"Maxtor 6V080E0" 194 C "Maxtor DiamondMax 10 80GB 8MB SATAII RoHS" +"Maxtor 6V160E0" 194 C "Maxtor DiamondMax 10 160GB 8MB SATAII RoHS" +"Maxtor 6V200E0" 194 C "Maxtor DiamondMax 10 200GB 8MB SATAII RoHS" +"Maxtor 6V250F0" 194 C "Maxtor DiamondMax 10 250GB 16MB SATAII RoHS" +"Maxtor 6V300F0" 194 C "Maxtor DiamondMax 10 300GB 16MB SATAII RoHS" + + + +######################################## +############# Quantum drives +######################################## +"QUANTUM FIREBALLP AS40.0" 0 C "Quantum Fireball AS40" +"QUANTUM FIREBALL CX10.2A" 0 C "Quantum Fireball CX10.2A" +#"QUANTUM FIREBALLlct10 20" 4 C "Quantum Fireball CT10 20GB" +# I suspect the QUANTUM FIREBALL_TM2110A to have a sensor in field 9... +# "QUANTUM FIREBALL_TM2110A" 9 C "Quantum Fireball TM2110A" + + + +######################################## +############# Samsung drives +######################################## +# somenone reported a problem with the SP8004H which reports a temperature +# 10°C below the ambient temperature +"SAMSUNG HA(200|250)JC" 194 C "Samsung SpinPoint V120CE series" +"SAMSUNG HD160JJ" 194 C "Samsung 160GB, 7200RPM, 8MB cache, SATA" +"SAMSUNG HD160JJ/P" 194 C "Samsung SpinPoint P80 SD 160GB (7200RPM, 8MB cache)" +"SAMSUNG HD[30|32|40][01]L[DJ]" 194 C "Samsung SpinPoint T133 series (300-400MB)" +"SAMSUNG HD250KD" 194 C "Samsung SpinPoint T133 series (250 MB PATA)" +"SAMSUNG HD321KJ" 194 C "Samsung Spinpoint T166 (7200RPM, 16MB cache) - SATA" +"SAMSUNG HD501LJ" 194 C "Samsung HD501LJ" +"SAMSUNG MP0(302|402|603|804)H" 194 C "Samsung SpinPoint M40 2.5inch" +"SAMSUNG SW0434A" 0 C "Samsung SW0434A" +"SAMSUNG SP(2001|4002|6003|8004|40A2)H" 194 C "Samsung SpinPoint P40 serie" +"SAMSUNG SP(0612|0802|1203|1604|0812|1213|1614)N" 194 C "Samsung SpinPoint P80 serie" +"SAMSUNG SP(0612|0802|1203|1604|0812|1213|1614)C" 194 C "Samsung SpinPoint P80 series - SATA" +"SAMSUNG SP0411N" 194 C "Samsung SpinPoint PL40 serie" +"SAMSUNG SP0822N" 194 C "Samsung SP0822N" +"SAMSUNG SP(0812|1213|1614)C" 194 C "Samsung Spinpoint 160G SATA" +"SAMSUNG SP2[05]14N" 194 C "Samsung SpinPoint P120 series (7200RPM, 8MB cache)" +"SAMSUNG SP2[05]04C" 194 C "Samsung SpinPoint P120 series - SATA" +"SAMSUNG SV0432A" 0 C "Samsung SV0432A" +"SAMSUNG SV3002H" 0 C "Samsung SpinPoint V30 serie" +"SAMSUNG SV(2001|4002|4012|6003|8004)H" 194 C "Samsung SpinPoint V40 serie" +#"SAMSUNG SV(0221|0602|0813|1204)H" 9 C "Samsung SpinPoint V60 serie" +#"SAMSUNG SV1204H" 194 C "Samsung 120G" +"SAMSUNG SV(0401|0802|1203|1604)N" 194 C "Samsung SpinPoint V80 serie" +"SAMSUNG SV4012H" 194 C "Samsung 40GB, 5400RPM, 2MB cache" + +######################################## +############# Seagate drives +######################################## +"Seagate Technology 1275MB - ST31276A" 0 C "Seagate ST31276A" +"ST3412A" 0 C "Seagate ST3412A" +"ST38641A" 0 C "Seagate ST38641A" +"ST310014A" 194 C "Seagate ST310014A" +"ST310210A" 0 C "Seagate ST310210A" +"ST310211A" 194 C "Seagate ST310211A" +"ST310220A" 0 C "Seagate ST310220A" +# SEAGATE ST313021A 13.0GB +"ST313021A" 0 C "Seagate U8 ST313021A" +"ST310240A" 0 C "Seagate Medalist 10240 Ultra ATA-3" +"ST315320A" 194 C "Seagate ST315320A" +"ST320423A" 0 C "Seagate U10 20423, Ultra ATA/66" +"ST320011A" 194 C "Seagate ST320011A" +"ST320014A" 194 C "Seagate ST320014A (5400 rpm, 20Gb)" +"ST320410A" 194 C "Seagate ST320410A" +"ST320413A" 194 C "Seagate ST320413A" +"ST320414A" 194 C "Seagate ST320414A" +"ST320420A" 194 C "Seagate Barracuda II ST320420A" +"ST330013A" 194 C "Seagate ST330013A Barracuda ATA V 30GB, 7200 rpm" +"ST330620A" 194 C "Seagate ST330620A" +"ST330621A" 194 C "Seagate ST330621A" +"ST330630A" 194 C "Seagate Barracuda ST330630A" +"ST340014A" 194 C "Seagate Barracuda 7200.7 40Gb" +"ST340015A" 194 C "Seagate Barracuda 5400.1 40GB" +"ST340016A" 194 C "Seagate ST340016A" +"ST340810A" 194 C "Seagate U Series 40810 (40Gb, Ultra ATA/100, 5400 rpm)" +"ST340823A" 194 C "Seagate U Series 5 40823" +"ST340824A" 194 C "Seagate Barracuda III" +"ST360015A" 194 C "Seagate Barracuda V ST360015A" +"ST360020A" 194 C "Seagate U Series 60020" +"ST360021A" 194 C "Seagate Barracuda IV ST360021A" +"ST380011A" 194 C "Seagate Barracuda 7200.7 80GB" +"ST380012A" 194 C "Seagate ST380012A 80GB" +"ST380013A" 194 C "Seagate Barracuda 7200.7 80GB" +"ST380013AS" 194 C "Seagate Barracuda 7200.7 80GB (Serial ATA)" +"ST380020A" 194 C "Seagate U Series 80020 (80Gb, Ultra ATA/100, 5400 rpm)" +"ST380021A" 194 C "Seagate Barracuda IV ST380021A" +"ST380022A" 194 C "Seagate Barracuda U7 80022, Ultra ATA/100" +"ST380023A" 194 C "Seagate Barracuda V ST380023A" +"ST380817AS" 194 C "Seagate Barracuda 7200.7 80GB - SATA" +"ST39111A" 194 C "Seagate ST39111A (from Sun Ultra)" +"ST3120020A" 194 C "Seagate ST3120020A" +"ST3120022A" 194 C "Seagate Baraccuda 7200.7 120GB" +"ST3120023A" 194 C "Seagate Barracuda V ST3120023A" +"ST3120024A" 194 C "Seagate Barracuda V ST3120024A" +"ST3120025ACE" 194 C "Seagate Barracuda V ST3120025ACE" +"ST3120026A" 194 C "Seagate Barracuda V ST3120026A" +"ST3160021A" 194 C "Seagate Barracuda 7200.7 - ST3160021A" +"ST3160023(A|AS)" 194 C "Seagate Barracuda V ST3160023A and AS (160Gb, ATA100 or Serial ATA)" +"ST3160827AS" 194 C "Seagate Barracuda 7200.7 160GB (Serial ATA)" +"ST3200021A" 194 C "Seagate Barracuda 7200.7 Plus 200GB" +"ST3200822(A|AS)" 194 C "Seagate Barracuda 7200.7 Plus 200GB (PATA or SATA)" +"ST3200826A" 194 C "Seagate Barracuda 7200.8 200Gb" +"ST3250623A" 194 C "Seagate Barracuda 7200.16 250GB" +"ST3250823A" 194 C "Seagate Barracuda 7200.8 250GB" +"ST3250823A" 194 C "Seagate Barracuda 7200.7 Plus 250GB" +"ST3250823NS" 194 C "Seagate NL35 SATA (RAID-Edition) 7200 250GB" +"ST3300831A" 194 C "Seagate 300GB ST3300831A" +"ST3400832A" 194 C "Seagate Barracuda 7200.8 Plus 400GB" +"ST3400633(A|AS)" 194 C "Seagate Barracuda 7200.7 400 GB" +"ST3500630NS" 194 C "Seagate" +"ST3400632NS" 194 C "Seagate" +"ST3320620AS" 194 C "Seagate Barracuda 7200.7 320 GB" +"ST3500630AS" 194 C "Seagate Barracuda 7200.7 500 GB" +"ST3802110A" 194 C "Seagate Barracuda 7200.9 80 GB" +"ST910021A" 194 C "Seagate Momentus 7200.1 100GB" +"ST910082[35]A" 194 C "Seagate Momentus 5400.2 100GB" +"ST9120821A" 194 C "Seagate Momentus 5400.2 120GB" +"ST94019A" 194 C "Seagate ST94019A" +"ST94813A" 194 C "Seagate Momentus 5400.2 40GB" +"ST94[08]11A" 194 C "Seagate ST94011A" +"ST960821A" 194 C "Seagate ST960821A" +"ST960822A" 194 C "Seagate Momentus 5400.2 60GB" +"ST96812AS" 194 C "Seagate Momentus 5400.2 60GB SATA" +"ST9808211A" 194 C "Seagate Momentus 5400.2 80GB" + +######################################## +############# TOSHIBA Laptops +######################################## +"MK4313MAT" 220 C "Toshiba MK4313MAT" +"TOSHIBA MK1032GAX" 194 C "Toshiba MK1032GAX" +"TOSHIBA MK1517GAP" 0 C "Toshiba MK1517GAP" +"TOSHIBA MK2018GAS" 226 F "Toshiba MK2018GAS" +"TOSHIBA MK2023GAS" 194 C "Toshiba MK2023GAS" + +"TOSHIBA MK3017GAP" 0 C "Toshiba MK3017GAP" +"TOSHIBA MK3021GAS" 194 C "Toshiba MK3021GAS" +"TOSHIBA MK3025GAS" 194 C "Toshiba MK3025GAS" + +#"TOSHIBA MK4019GAX" 222 C "Toshiba MK4019GAX" +"TOSHIBA MK4021GAS" 194 C "Toshiba MK4021GAS" +"TOSHIBA MK4025GAS" 194 C "Toshiba MK4025GAS 40 Go" +"TOSHIBA MK4026GAS" 194 C "Toshiba MK4026GAS 40 Go" +"TOSHIBA MK4032GAX" 194 C "Toshiba MK4032GAX" + +"TOSHIBA MK6021GAS" 194 C "Toshiba MK6021GAS" +"TOSHIBA MK6022GAX" 194 C "Toshiba MK6022GAX" +"TOSHIBA MK6025GAS" 194 C "Toshiba MK6025GAS" +"TOSHIBA MK6026GAX" 194 C "Toshiba MK6026GAX" +"TOSHIBA MK8025GAS" 194 C "Toshiba MK8025GAS" +"TOSHIBA MK8026GAX" 194 C "Toshiba MK8026GAX" + +"MK4025GAS" 194 C "Toshiba MK4025GAS" + + +######################################## +############# Western Digital drives +######################################## +# WDC AC310100B and WDC AC2850F are reported not working +# no more informations were given +"WDC AC22000L" 0 C "Western Digital Caviar AC22000" +"WDC AC420400D" 231 C "Western Digital Caviar AC420400D" +"WDC AC418000D" 231 C "Western Digital AC418000D" +"WDC WD135BA" 231 C "Western Digital WD135BA" + +"WDC WD100EB-00BHF0" 0 C "Western Digital 100EB-00BHF0" +"WDC WD200BB-00AUA1" 0 C "Western Digital Caviar WD200BB" +#"WDC WD200BB-60DGA0" 0 C "Western Digital Caviar WD200BB" +"WDC WD300BB-00CAA0" 0 C "Western Digital WD300BB" +"WDC WD360GD-00FNA0" 194 C "Western Digital SATA Raptor 36.7GB" +"WDC WD400BB-00CAA0" 0 C "Western Digital 400BB-00CAA0" +"WDC WD400BB-00J[KH]A0" 194 C "Western Digital Caviar WD400BB" +"WDC WD400BB-23JHC0" 194 C "Western Digital 23JHC0" +#"WDC WD400BB-00GFA0" 0 C "" +"WDC WD400BB-55HEA0" 194 C "Western Digital Caviar WD400BB" +"WDC WD400BB-(18CA|00DE)A0" 0 C "Western Digital Caviar WD400BB" +"WDC WD400BB-75FJA1" 194 C "Western Digital Caviar WD400BB" +"WDC WD400EB-00CPF0" 0 C "Western Digital 400EB-00CPF0" +"WDC WD400JB-00(JJ|FM|FS)A0" 194 C "Western Digital Caviar 40GB Special Edition 8MB" +"WDC WD400JB-00ETA0" 194 C "Western Digital 400JB-00ETA0" +"WDC WD400JB-00JJC0" 194 C "Western Digital 400JB-00JJC0 40GB" +"WDC WD400LB-00DNA0" 194 C "Western Digital 400LB-00DNA0" +"WDC WD400UE-22HCT0" 194 C "Western Digital 40GB Notebook HDD" +"WDC WD400VE-75HDT1" 194 C "Western Digital Scorpio 40GB" +"WDC WD600BB-32BSA0" 0 C "Western Digital 600BB-32BSA0" +"WDC WD600JB-00ETA0" 194 C "Western Digital 600JB-00ETA0" +"WDC WD600LB-00DNA0" 194 C "Western Digital 60GB" +"WDC WD600VE-75HDT0" 194 C "Western Digital 600VE-75HDT0" +"WDC WD600VE-00HDT0" 194 C "Western Digital 600VE-00HDT0" +"WDC WD740GD-00FL21.0" 194 C "Western Digital SATA Raptor" +"WDC WD740GD-([05]0FL[AC]0|75FLA1)" 194 C "Western Digital SATA Raptor 74GB 8MB" +"WDC WD800BB-00CAA1" 0 C "Western Digital WD800BB-00CAA1" +"WDC WD800BB-(00|22)DKA0" 194 C "Western Digital WD800BB 80 Go" +"WDC WD800BB-32CCB0" 194 C "Western Digital 800BB-32CCB0" +"WDC WD800BB-55HEA0" 194 C "Western Digital 800BB-55HEA0" +"WDC WD800BB-00JHA0" 194 C "Western Digital 800BB-00JHA0" +"WDC WD800BB-00JKA0" 194 C "Western Digital 800BB-00JKA0" +"WDC WD800BB-55JKA0" 194 C "Western Digital 800BB-55JKA0" +"WDC WD800BB-75FRA0" 194 C "Western Digital Caviar WD800BB" +"WDC WD800JB-00CRA1" 0 C "Western Digital Caviar WD800JB" +"WDC WD800JB-00(ET|FM|FS)A0" 194 C "Western Digital Caviar 80GB Special Edition 8MB" +"WDC WD800JB-00JJ[AC]0" 194 C "Western Digital WD800JB" +"WDC WD800JD-(00|55)(HK|JR)A0" 194 C "Western Digital SATA 80GB, 8MB Cache" +"WDC WD800JD-00(HK|JN)A0" 194 C "Western Digital SATA 80GB, 8MB Cache" +"WDC WD800LB-(00|55)DNA0" 194 C "Western Digital Caviar WD800LB 80 Go ATA-100" +"WDC WD800VE-07HDT0" 194 C "Western Digital 800VE-07HDT0" +"WDC WD1200BB-00(FTA|GUA)0" 194 C "Western Digital Caviar EIDE 2MB Cache" +"WDC WD1200JB-00(EV|FU|GV)A0" 194 C "Western Digital Caviar 120GB Special Edition 8MB" +"WDC WD1200JB-22GVA0" 194 C "Western Digital Caviar 120GB" +"WDC WD1200JD-00(GBB|HBC)0" 194 C "Western Digital WD1200JD" +"WDC WD1200LB-55EDA0" 194 C "Western Digital WD1220LB" +"WDC WD1200SB-01KB[AC]0" 194 C "Western Digital Caviar RE (Raid Edition) 120 GB" +"WDC WD1600BB-00DWA0" 194 C "Western Digital Caviar WD1600BB" +"WDC WD1600JB-(00EV|00FU|00GV|22GV|75GV)A0" 194 C "Western Digital Caviar 160GB Special Edition 8MB" +"WDC WD2000BB-00FTA0" 194 C "Western Digital WD2000BB" +"WDC WD2000JB-(00EV|32EV|34EV|00FU|00GV|55GV|98GV|00KF)A0" 194 C "Western Digital Caviar 200GB Special Edition 8MB" +"WDC WD2000JB-00GVC0" 194 C "Western Digital WD2000JB" +"WDC WD2000JS-00MHB1" 194 C "Western Digital SATA 200GB" +"WDC WD2500JB-(00RE|00EV|00FU|32FU|00GV|55GV)A0" 194 C "Western Digital Caviar 250GB Special Edition 8MB" +"WDC WD2500JB-00GVC0" 194 C "Western Digital 250GB" +"WDC WD2500JD-(00G|32H)BB0" 194 C "Western Digital SATA Caviar 250GB Special Edition 8MB" +"WDC WD2500JD-40HBC0" 194 C "Western Digital WD2500JD-40HBC0" +"WDC WD2500PB-98FBA0" 194 C "Western Digital Caviar 250GB Special Edition 8MB" +"WDC WD2500PD-00FZB1" 194 C "Western Digital WD2500PD-00FZB1" +"WDC WD2500SD-01KCB0" 194 C "Western Digital Caviar RE 250GB 8MB" +"WDC WD3000JB-00KFA0" 194 C "Western Digital WD3000JB" +"WDC WD3200JB-00KFA0" 194 C "Western Digital Caviar 320GB 8MB" +"WDC WD4000KD-00NAB0" 194 C "Western Digital Caviar SE16 400GB 16MB" +"WDC WD4000YR-01PLB0" 194 C "Western Digital Caviar RE2 400GB 16MB" +"WD4000YS-01MPB0" 194 C "Western Digital RE2 7200 SATA II 400 GB" + +# not sure for next +# "WDC WD1200JB-00CRA1" 9 C "Western Digital 1200JB-00CRA1" +# "WDC WD273BA" 9 C "Western Digital WD273BA" + + + + +######################################################################################################################## +######################################################################################################################## +######################################################################################################################## +######################################################################################################################## +######################################################################################################################## +######################################################################################################################## +######################################################################################################################## +######################################################################################################################## +######################################################################################################################## +######################################################################################################################## +######################################################################################################################## +######################################################################################################################## +######################################################################################################################## +######################################################################################################################## + +"ST3750640AS" 194 C "Seagate Barracuda 7200.10 SATA 750GB" +"ST3750840AS" 194 C "Seagate Barracuda 7200.10 SATA 750GB" +"ST3500630AS" 194 C "Seagate Barracuda 7200.10 SATA 500GB" +"ST3500830AS" 194 C "Seagate Barracuda 7200.10 SATA 500GB" +"ST3400620AS" 194 C "Seagate Barracuda 7200.10 SATA 400GB" +"ST3400620A" 194 C "Seagate Barracuda 7200.10 400GB" +"ST3400820AS" 194 C "Seagate Barracuda 7200.10 SATA 400GB" +"ST3320620AS" 194 C "Seagate Barracuda 7200.10 SATA 320GB" +"ST3320820AS" 194 C "Seagate Barracuda 7200.10 SATA 320GB" +"ST3300620AS" 194 C "Seagate Barracuda 7200.10 SATA 300GB" +"ST3300820AS" 194 C "Seagate Barracuda 7200.10 SATA 300GB" +"ST3250620AS" 194 C "Seagate Barracuda 7200.10 SATA 250GB" +"ST3250820AS" 194 C "Seagate Barracuda 7200.10 SATA 250GB" +"ST3250410AS" 194 C "Seagate Barracuda 7200.10 SATA 250GB" +"ST3250310AS" 194 C "Seagate Barracuda 7200.10 SATA 250GB" +"ST3200820AS" 194 C "Seagate Barracuda 7200.10 SATA 200GB" +"ST3160815AS" 194 C "Seagate Barracuda 7200.10 SATA 160GB" +"ST3160215AS" 194 C "Seagate Barracuda 7200.10 SATA 160GB" +"ST3120815AS" 194 C "Seagate Barracuda 7200.10 SATA 120GB" +"ST3120215AS" 194 C "Seagate Barracuda 7200.10 SATA 120GB" +"ST380815AS" 194 C "Seagate Barracuda 7200.10 SATA 80GB" +"ST380215AS" 194 C "Seagate Barracuda 7200.10 SATA 80GB" +"ST340815AS" 194 C "Seagate Barracuda 7200.10 SATA 40GB" +"ST340215AS" 194 C "Seagate Barracuda 7200.10 SATA 40GB" +"ST3300622AS" 194 C "Seagate Barracuda 7200.9 SATA2.5 300GB" +"ST3300831A" 194 C "Seagate Barracuda 7200.8 PATA 300GB" + +"Maxtor 7(L|V)250(F|R|S)0" 194 C "Maxtor MaXLine III 250GB 7200rpm" +"Maxtor 7(L|V)300(F|R|S)0" 194 C "Maxtor MaXLine III 300GB 7200rpm" +"MAXTOR STM3320620AS" 194 C "" + +"WDC WD1500ADFD-00NLR1" 194 C "Western Digital Raptor 150GB" +"WDC WD1600JS-00NCB1" 194 C "Western Digital Caviar 1600JS 160GB Sata" +"WDC WD1600SD-01KCC0" 194 C "Western Digital Caviar RE Serial ATA series" +"WDC WD2500JD-57HBC0" 194 C "Western Digital Caviar SE (Serial ATA) 250 GB" +"WDC WD2500JS" 194 C "Western Digital WD2500JS" +"WDC WD2500JS-41MVB1" 194 C "Western Digital SATAII Caviar 250GB Special Edition 8MB" +"WDC WD2500JD-00HBB0" 194 C "Western Digital SATA 250GB" +"WDC WD2500KS-00MJB0" 194 C "Western Digital SATA-II Caviar 250GB Special Edition 16MB" +"WDC WD3000JS-00PDB0" 194 C "Western Digital WD3000JS" +"WDC WD3200KS-00PFB0" 194 C "" +"WDC WD3200JD-22KLB0" 194 C "Western Digital Caviar SE 320GB 8MB" diff --git a/app/admin/syslog-ng/logrotate.d/syslog-ng b/app/admin/syslog-ng/logrotate.d/syslog-ng new file mode 100644 index 0000000..b6a7e1d --- /dev/null +++ b/app/admin/syslog-ng/logrotate.d/syslog-ng @@ -0,0 +1,6 @@ +/var/log/cron /var/log/debug /var/log/maillog /var/log/messages /var/log/secure /var/log/spooler /var/log/syslog { + sharedscripts + postrotate + /bin/kill -HUP `cat /var/run/syslog-ng.pid`2>/dev/null || true + endscript +} diff --git a/app/admin/syslog-ng/rc.syslog-ng.new b/app/admin/syslog-ng/rc.syslog-ng.new new file mode 100644 index 0000000..513154f --- /dev/null +++ b/app/admin/syslog-ng/rc.syslog-ng.new @@ -0,0 +1,37 @@ +#!/bin/sh +# Start/stop/restart the system logging daemons. +# +# Written for Slackware Linux by Patrick J. Volkerding . +# Modyfied for syslog-ng by Kanedaaa + +syslogng_start() { + if [ -x /usr/sbin/syslog-ng ]; then + echo -n "Starting syslog-ng daemon: " + echo " /usr/sbin/syslog-ng" + /usr/sbin/syslog-ng + fi +} + +syslogng_stop() { + killall syslog-ng 2> /dev/null +} + +syslogng_restart() { + syslogng_stop + sleep 1 + syslogng_start +} + +case "$1" in +'start') + syslogng_start + ;; +'stop') + syslogng_stop + ;; +'restart') + syslogng_restart + ;; +*) + echo "usage $0 start|stop|restart" +esac diff --git a/app/admin/syslog-ng/syslog-ng-anon-2.0.6.diff b/app/admin/syslog-ng/syslog-ng-anon-2.0.6.diff new file mode 100644 index 0000000..5b0a230 --- /dev/null +++ b/app/admin/syslog-ng/syslog-ng-anon-2.0.6.diff @@ -0,0 +1,277 @@ +diff -Naur syslog-ng-2.0.5.orig/doc/Makefile.am syslog-ng-2.0.5/doc/Makefile.am +--- syslog-ng-2.0.5.orig/doc/Makefile.am 2007-04-19 21:37:16.000000000 +0200 ++++ syslog-ng-2.0.5/doc/Makefile.am 2007-11-03 00:28:59.000000000 +0100 +@@ -6,6 +6,7 @@ + reference/syslog-ng.xml \ + reference/syslog-ng.txt \ + reference/syslog-ng.xsl \ ++ reference/README.syslog-ng-anon \ + examples/syslog-ng.conf.sample \ + examples/syslog-ng.conf.solaris + +diff -Naur syslog-ng-2.0.5.orig/doc/Makefile.in syslog-ng-2.0.5/doc/Makefile.in +--- syslog-ng-2.0.5.orig/doc/Makefile.in 2007-07-22 15:40:04.000000000 +0200 ++++ syslog-ng-2.0.5/doc/Makefile.in 2007-11-03 00:28:59.000000000 +0100 +@@ -135,6 +135,7 @@ + reference/syslog-ng.xml \ + reference/syslog-ng.txt \ + reference/syslog-ng.xsl \ ++ reference/README/syslog-ng-anon \ + examples/syslog-ng.conf.sample \ + examples/syslog-ng.conf.solaris + +diff -Naur syslog-ng-2.0.5.orig/doc/reference/README.syslog-ng-anon syslog-ng-2.0.5/doc/reference/README.syslog-ng-anon +--- syslog-ng-2.0.5.orig/doc/reference/README.syslog-ng-anon 1970-01-01 01:00:00.000000000 +0100 ++++ syslog-ng-2.0.5/doc/reference/README.syslog-ng-anon 2007-11-03 00:42:04.000000000 +0100 +@@ -0,0 +1,88 @@ ++syslog-ng-anon ++ ++ This patch adds the capability to syslog-ng that allows you to strip ++ out any given regexp or all IP addresses from log messages before ++ they are written to disk. The goal is to give the system administrator ++ the means to implement site logging policies, by allowing them easy ++ control over exactly what data they retain in their logfiles, ++ regardless of what a particular daemon might think is best. ++ ++Background: ++ ++ Data retention has become a hot legal topic for ISPs and other Online ++ Service Providers (OSPs). There are many instances where it is preferable ++ to keep less information on users than is collected by default on many ++ systems. In the United States it is not currently required to retain ++ data on users of a server, but you may be required to provide all data ++ on a user which you have retained. OSPs can protect themselves from legal ++ hassles and added work by choosing what data they wish to retain. ++ ++ From "Best Practices for Online Service Providers" ++ (http://www.eff.org/osp): ++ ++ As an intermediary, the OSP [Online Service Provider] finds itself in ++ a position to collect and store detailed information about its users ++ and their online activities that may be of great interest to third ++ parties. The USA PATRIOT Act also provides the government with ++ expanded powers to request this information. As a result, OSP owners ++ must deal with requests from law enforcement and lawyers to hand over ++ private user information and logs. Yet, compliance with these demands ++ takes away from an OSP's goal of providing users with reliable, ++ secure network services. In this paper, EFF offers some suggestions, ++ both legal and technical, for best practices that balance the needs ++ of OSPs and their users' privacy and civil liberties. ++ ++ Rather than scrubbing the information you don't want in logs, this patch ++ ensures that the information is never written to disk. Also, for those ++ daemons which log through syslog facilities, this patch provides a ++ convenient single configuration to limit what you wish to log. ++ ++ Here are some related links: ++ ++ Best Practices for Online Service Providers ++ http://www.eff.org/osp ++ http://www.eff.org/osp/20040819_OSPBestPractices.pdf ++ ++ EPIC International Data Retention Page ++ http://www.epic.org/privacy/intl/data_retention.html ++ ++ Working Paper on Usage Log Data Management (from Computer, Freedom, and ++ Privacy conference) http://cryptome.org/usage-logs.htm ++ ++ ++Installing syslog-ng-anon ++ ++ Applying the patch ++ ++ This patch has been tested against the following versions of syslog-ng: ++ . Debian package syslog-ng_2.0.5-2 ++ ++ To use this patch, obtain the source for syslog-ng ++ (apt-get source syslog-ng) and the ++ syslog-ng-anon patch (http://dev.riseup.net/patches/syslog-ng/). ++ Apply the patch the patch: ++ ++ % cd syslog-ng-2.0.5 ++ % patch -p1 < ../syslog-ng-anon.diff ++ ++ Then compile and install syslog-ng: ++ ++ % dpkg-buildpackage -rfakeroot -b ++ % dpkg -i ../syslog-ng_2.0.5-2_i386.deb ++ ++ How to use it ++ ++ This patch adds the filter "strip". For example: ++ ++ filter f_strip {strip();}; ++ ++ This will strip out all matches of the regular expression on logs to ++ which the filter is applied and replaces all matches with the fixed length ++ four dashes ("----"). ++ ++ In place of a regular expression, you can put "ips", which will replace all ++ internet addresses with 0.0.0.0. For example: ++ ++ filter f_strip {strip(ips);}; ++ ++ You can alter what the replacement strings are by using replace: +diff -Naur syslog-ng-2.0.5.orig/src/cfg-grammar.y syslog-ng-2.0.5/src/cfg-grammar.y +--- syslog-ng-2.0.5.orig/src/cfg-grammar.y 2007-05-21 19:21:07.000000000 +0200 ++++ syslog-ng-2.0.5/src/cfg-grammar.y 2007-11-03 00:28:59.000000000 +0100 +@@ -107,7 +107,7 @@ + %token KW_USE_TIME_RECVD + + /* filter items*/ +-%token KW_FACILITY KW_LEVEL KW_HOST KW_MATCH KW_NETMASK ++%token KW_FACILITY KW_LEVEL KW_HOST KW_MATCH KW_NETMASK KW_STRIP KW_REPLACE + + /* yes/no switches */ + %token KW_YES KW_NO +@@ -802,6 +802,8 @@ + | KW_PROGRAM '(' string ')' { $$ = filter_prog_new($3); free($3); } + | KW_HOST '(' string ')' { $$ = filter_host_new($3); free($3); } + | KW_MATCH '(' string ')' { $$ = filter_match_new($3); free($3); } ++ | KW_STRIP '(' string ')' { $$ = filter_strip_new($3); free($3); } ++ | KW_REPLACE '(' string string ')' { $$ = filter_replace_new($3, $4); free($3); free($4); } + | KW_FILTER '(' string ')' { $$ = filter_call_new($3, configuration); free($3); } + | KW_NETMASK '(' string ')' { $$ = filter_netmask_new($3); free($3); } + ; +@@ -907,4 +909,4 @@ + last_reader_options = NULL; + last_writer_options = NULL; + last_template = NULL; +-} +\ No newline at end of file ++} +diff -Naur syslog-ng-2.0.5.orig/src/cfg-lex.l syslog-ng-2.0.5/src/cfg-lex.l +--- syslog-ng-2.0.5.orig/src/cfg-lex.l 2007-05-21 19:21:07.000000000 +0200 ++++ syslog-ng-2.0.5/src/cfg-lex.l 2007-11-03 00:28:59.000000000 +0100 +@@ -165,6 +165,8 @@ + { "host", KW_HOST }, + { "match", KW_MATCH }, + { "netmask", KW_NETMASK }, ++ { "strip", KW_STRIP }, ++ { "replace", KW_REPLACE }, + + /* on/off switches */ + { "yes", KW_YES }, +diff -Naur syslog-ng-2.0.5.orig/src/filter.c syslog-ng-2.0.5/src/filter.c +--- syslog-ng-2.0.5.orig/src/filter.c 2007-05-21 19:21:07.000000000 +0200 ++++ syslog-ng-2.0.5/src/filter.c 2007-11-03 00:30:22.000000000 +0100 +@@ -226,6 +226,7 @@ + typedef struct _FilterRE + { + FilterExprNode super; ++ GString *replace; + regex_t regex; + } FilterRE; + +@@ -310,6 +311,9 @@ + filter_re_free(FilterExprNode *s) + { + FilterRE *self = (FilterRE *) s; ++ ++ if (self->replace != NULL) ++ g_string_free(self->replace, TRUE); + + regfree(&self->regex); + g_free(s); +@@ -494,3 +498,89 @@ + self->super.eval = filter_netmask_eval; + return &self->super; + } ++ ++FilterExprNode * ++filter_strip_new(const gchar *re) ++{ ++ if (g_ascii_strcasecmp(re, "ips") == 0) ++ return filter_replace_new(re, "0.0.0.0"); ++ return filter_replace_new(re, "----"); ++} ++ ++#define FMIN(a, b) (a) < (b) ? (a) : (b) ++#define NEW_MSG_SIZE 2048 ++ ++static gboolean ++filter_replace_eval(FilterExprNode *s, LogMessage *log) ++{ ++ FilterRE *self = (FilterRE *) s; ++ gchar *buffer = log->msg.str; ++ gint snippet_size; ++ regmatch_t pmatch; ++ gchar new_msg[NEW_MSG_SIZE]; ++ gchar *new_msg_max = new_msg + NEW_MSG_SIZE; ++ gchar *new_msg_ptr = new_msg; ++ gint replace_length = self->replace->len; ++ gint error; ++ ++ error = regexec(&self->regex, buffer, 1, &pmatch, 0); ++ if (error) ++ return TRUE; ++ while (!error) ++ { ++ /* copy string snippet which preceeds matched text */ ++ snippet_size = FMIN(pmatch.rm_so, new_msg_max - new_msg_ptr); ++ memcpy(new_msg_ptr, buffer, snippet_size); ++ new_msg_ptr += snippet_size; ++ ++ /* copy replacement */ ++ snippet_size = FMIN(replace_length, new_msg_max - new_msg_ptr); ++ memcpy(new_msg_ptr, self->replace->str, snippet_size); ++ new_msg_ptr += snippet_size; ++ ++ /* search for next match */ ++ buffer += pmatch.rm_eo; ++ error = regexec(&self->regex, buffer, 1, &pmatch, REG_NOTBOL); ++ } ++ ++ /* copy the rest of the old message */ ++ snippet_size = log->msg.len - (buffer - log->msg.str) + 1; ++ snippet_size = FMIN(snippet_size, new_msg_max - new_msg_ptr); ++ memcpy(new_msg_ptr, buffer, snippet_size); ++ new_msg[NEW_MSG_SIZE-1] = '\0'; ++ ++ g_string_erase(&(log->msg), 0, -1); ++ g_string_append(&(log->msg), new_msg); ++ ++ return TRUE; ++} ++ ++FilterExprNode * ++filter_replace_new(const gchar *re, const gchar *replacement) ++{ ++ FilterRE *self = g_new0(FilterRE, 1); ++ gint regerr; ++ ++ if (!g_ascii_strcasecmp(re, "ips")) ++ re = "(25[0-5]|2[0-4][0-9]|[0-1]?[0-9]?[0-9])([\\.\\-](25[0-5]|2[0-4][0-9]|[0-1]?[0-9]?[0-9])){3}"; ++ ++ regerr = regcomp(&self->regex, re, REG_ICASE | REG_EXTENDED); ++ if (regerr) ++ { ++ gchar errorbuf[256]; ++ regerror(regerr, &self->regex, errorbuf, sizeof(errorbuf)); ++ msg_error("Error compiling regular expression:", ++ evt_tag_str("re", re), ++ evt_tag_str("error", errorbuf), ++ NULL); ++ g_free(self); ++ return NULL; ++ } ++ ++ self->replace = g_string_new(replacement); ++ self->super.eval = filter_replace_eval; ++ self->super.free_fn = filter_re_free; ++ ++ return &self->super; ++} ++ +diff -Naur syslog-ng-2.0.5.orig/src/filter.h syslog-ng-2.0.5/src/filter.h +--- syslog-ng-2.0.5.orig/src/filter.h 2007-05-21 19:21:07.000000000 +0200 ++++ syslog-ng-2.0.5/src/filter.h 2007-11-03 00:28:59.000000000 +0100 +@@ -54,6 +54,8 @@ + FilterExprNode *filter_match_new(gchar *re); + FilterExprNode *filter_call_new(gchar *rule, struct _GlobalConfig *cfg); + FilterExprNode *filter_netmask_new(gchar *cidr); ++FilterExprNode *filter_strip_new(const gchar *re); ++FilterExprNode *filter_replace_new(const gchar *re, const gchar *replacement); + + typedef struct _LogFilterRule + { diff --git a/app/admin/syslog-ng/syslog-ng.conf.new b/app/admin/syslog-ng/syslog-ng.conf.new new file mode 100644 index 0000000..706a35a --- /dev/null +++ b/app/admin/syslog-ng/syslog-ng.conf.new @@ -0,0 +1,270 @@ +# +# Configuration file for syslog-ng under Debian. +# First customized for riseup.net and then to sarava.org. +# +# see http://www.campin.net/syslog-ng/expanded-syslog-ng.conf +# for examples. +# +# levels: emerg alert crit err warning notice info debug +# + +############################################################ +## global options + +options { + chain_hostnames(0); + time_reopen(10); + time_reap(360); + sync(0); + log_fifo_size(2048); + create_dirs(yes); + owner(root); + group(wheel); + perm(0640); + dir_perm(0755); + use_dns(no); +}; + +############################################################ +## universal source + +source s_all { + internal(); + unix-stream("/dev/log"); + file("/proc/kmsg" log_prefix("kernel: ")); +}; + +############################################################ +## generic destinations + +destination df_facility_dot_info { file("/var/log/$FACILITY.info"); }; +destination df_facility_dot_notice { file("/var/log/$FACILITY.notice"); }; +destination df_facility_dot_warn { file("/var/log/$FACILITY.warn"); }; +destination df_facility_dot_err { file("/var/log/$FACILITY.err"); }; +destination df_facility_dot_crit { file("/var/log/$FACILITY.crit"); }; + +############################################################ +## generic filters + +filter f_strip { strip(ips); }; +filter f_at_least_info { level(info..emerg); }; +filter f_at_least_notice { level(notice..emerg); }; +filter f_at_least_warn { level(warn..emerg); }; +filter f_at_least_err { level(err..emerg); }; +filter f_at_least_crit { level(crit..emerg); }; + +############################################################ +## secure + +filter f_auth { facility(auth, authpriv); }; +destination df_auth { file("/var/log/secure"); }; +log { + source(s_all); + filter(f_auth); + # comment the following line if you don't want to strip IPs + filter(f_strip); + destination(df_auth); +}; + +############################################################ +## daemon log +# +#filter f_daemon { facility(daemon); }; +#destination df_daemon { file("/var/log/daemon.log"); }; +#log { +# source(s_all); +# filter(f_daemon); +# destination(df_daemon); +#}; + +############################################################ +## kern log +# +#filter f_kern { facility(kern); }; +#destination df_kern { file("/var/log/kernel"); }; +#log { +# source(s_all); +# filter(f_kern); +# destination(df_kern); +#}; + +############################################################ +## user log + +#filter f_user { facility(user); }; +#destination df_user { file("/var/log/user.log"); }; +#log { +# source(s_all); +# filter(f_user); +# destination(df_user); +#}; + +############################################################ +## sympa log + +filter f_sympa { program("^(sympa|bounced|archived|task_manager)"); }; +destination d_sympa { file("/var/log/sympa"); }; +log { + source(s_all); + filter(f_sympa); + destination(d_sympa); + flags(final); +}; + +############################################################ +## wwsympa log + +filter f_wwsympa { program("^wwsympa"); }; +destination d_wwsympa { file("/var/log/sympa"); }; +log { + source(s_all); + filter(f_wwsympa); + # comment the following line if you don't want to strip IPs + filter(f_strip); + destination(d_wwsympa); + flags(final); +}; + +############################################################ +## ldap log +# +#filter f_ldap { program("slapd"); }; +#destination d_ldap { file("/var/log/ldap"); }; +#log { +# source(s_all); +# filter(f_ldap); +# destination(d_ldap); +# flags(final); +#}; + +############################################################ +## mail log + +filter f_postfix { + program("^postfix/") or + program("courier|imap|pop|dovecot") or + program("^maildrop") or + facility(mail); +}; +destination d_postfix { file("/var/log/maillog"); }; +log { + source(s_all); + filter(f_postfix); + # comment the following line if you don't want to strip IPs + filter(f_strip); + destination(d_postfix); + flags(final); +}; + +############################################################ +## messages log + +filter f_messages { + facility(auth,authpriv,daemon,mail,user,kern,cron,news) or + level(info); +}; +destination df_messages { file("/var/log/messages"); }; +log { + source(s_all); + filter(f_messages); + # comment the following line if you don't want to strip IPs + filter(f_strip); + destination(df_messages); +}; + +############################################################ +## system log + +filter f_system { + facility(auth,authpriv,daemon,mail,user,kern,cron,news) or + level(warn,err,crit,alert,emerg); +}; +destination df_system { file("/var/log/syslog"); }; +log { + source(s_all); + filter(f_system); + # comment the following line if you don't want to strip IPs + filter(f_strip); + destination(df_system); +}; + +############################################################ +## cron log + +filter f_cron { facility(cron); }; +destination df_cron { file("/var/log/cron"); }; +log { + source(s_all); + filter(f_cron); + destination(df_cron); +}; + +############################################################ +## spooler log + +filter f_spooler { facility(uucp) and (facility(news) and level(crit)); }; +destination df_spooler { file("/var/log/spooler"); }; +log { + source(s_all); + filter(f_spooler); + # comment the following line if you don't want to strip IPs + filter(f_strip); + destination(df_spooler); +}; + +############################################################ +## debug log + +filter f_debug { level(debug); }; +destination df_debug { file("/var/log/debug"); }; +log { + source(s_all); + filter(f_debug); + # comment the following line if you don't want to strip IPs + filter(f_strip); + destination(df_debug); +}; + +############################################################ +## errors log +# +#filter f_errors { +# level(warn,err,crit,alert,emerg) +# and not facility(auth,authpriv,daemon,mail,user,kern); +#}; +#destination df_errors { file("/var/log/errors"); }; +#log { +# source(s_all); +# filter(f_errors); +# destination(df_errors); +#}; + +############################################################ +## emergencies + +filter f_emerg { level(emerg); }; +destination du_all { usertty("*"); }; +log { + source(s_all); + filter(f_emerg); + # comment the following line if you don't want to strip IPs + filter(f_strip); + destination(du_all); +}; + +############################################################ +## console messages + +#filter f_xconsole { +# facility(daemon,mail) +# or level(debug,info,notice,warn) +# or (facility(news) +# and level(crit,err,notice)); +#}; +#destination dp_xconsole { pipe("/dev/xconsole"); }; +#log { +# source(s_all); +# filter(f_xconsole); +# destination(dp_xconsole); +#}; + diff --git a/app/admin/syslog-ng/syslog-ng.mkbuild b/app/admin/syslog-ng/syslog-ng.mkbuild new file mode 100644 index 0000000..4f5b140 --- /dev/null +++ b/app/admin/syslog-ng/syslog-ng.mkbuild @@ -0,0 +1,117 @@ +# +# This mkbuild is free software; you can redistribute it and/or modify it under the +# terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or any later version. +# +# This mkbuild 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., 59 Temple +# Place - Suite 330, Boston, MA 02111-1307, USA +# + +#-------------------- +# Personal variables +#-------------------- +# Author name +[[SLACKBUILD AUTHOR]]="Silvio Rhatto" + +# Initials author name +[[SLACKBUILD AUTHOR INITIALS]]="rha" + +#------------------------ +# Construction Variables +#------------------------ +# +# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... ) +[[DOWNLOAD FOLDER URL]]="http://www.balabit.com/downloads/files/syslog-ng/sources/stable/src/syslog-ng-2.0.6.tar.gz" + +# +# Dependency list input +# Enter string: "dependency_1 [condiction_1] [versio_1]: dependency_2 [condiction_2] [versio_2]" +[[SLACK REQUIRED]]="eventlog" + +# +# Documentation files. Null ("") to auto-set commom doc-files: +[[DOCUMENTATION FILES]]="AUTHORS COPYING ChangeLog NEWS README VERSION" + +# +# ./configure options +[[OTHER CONFIGURE ARGS]]="--sysconfdir=/etc --enable-dynamic-linking" + +# +# Install script +[[REST OF DOINST.SH]]="config etc/rc.d/rc.syslog-ng.new ; config etc/syslog-ng.conf.new" + +#--------------------- +# Others changes +#--------------------- +#[[SIGNING KEY]]="" +#[[SIGNING KEY URL]]="" +#[[SIGNING KEY ID]]="" +[[CONFIG FILES]]="syslog-ng.conf.new logrotate.d/syslog-ng" +[[PATCH FILES]]="syslog-ng-anon-2.0.6.diff" +[[NUMBER OF PREFIX SLASHES TO STRIP]]="1" + +# SlackBuild model +[[SLACKBUILD MODEL]]="generic.mkSlackBuild" + +# SlackBuild PATH in Slack.Sarava tree +[[SLACKBUILD PATH]]="app/admin/syslog-ng" + +#--------------------- +# SlackBuild Sections +#--------------------- +# Default sections: +# head, set_variables, slkflags, start_structure, untar_source, +# make_package, install_package, build_package +# Warning: don't remove '#>>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files + on: copy_init_scripts + on: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files + on: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +syslog-ng: syslog-ng +syslog-ng: +syslog-ng: syslog-ng is a syslogd replacement supporting IPv6 and capable of +syslog-ng: transferring log messages reliably using TCP and filtering the +syslog-ng: content of messages using regular expressions. It has several +syslog-ng: macros that allow users to dynamically create target directories +syslog-ng: and files or reformat messages. +syslog-ng: +syslog-ng: +syslog-ng: +syslog-ng: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +cabextract: cabextract by Slack.Sarava +cabextract: +cabextract: cabextract - a program to extract Microsoft Cabinet files +cabextract: +cabextract: Cabinet (.CAB) files are a form of archive, which Microsoft use +cabextract: to distribute their software, and things like Windows Font Packs. +cabextract: The cabextract program unpacks these files. +cabextract: +cabextract: +cabextract: by avs +cabextract: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +unrar: unrar by Slack.Sarava +unrar: +unrar: Uncompress rar files. Free rar unpacker. +unrar: +unrar: +unrar: +unrar: +unrar: +unrar: +unrar: by avs +unrar: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +heimdal: heimdal by Slack.Sarava +heimdal: +heimdal: Heimdal is an implementation of Kerberos 5, largely +heimdal: written in Sweden (which was important when we +heimdal: started writing it, less so now). It is freely +heimdal: available under a three clause BSD style license. +heimdal: +heimdal: +heimdal: +heimdal: by avs +heimdal: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +pgpdump: pgpdump by Slack.Sarava +pgpdump: +pgpdump: pgpdump is a PGP packet visualizer which displays the packet format +pgpdump: of OpenPGP (RFC 2440 + bis) and PGP version 2 (RFC 1991). +pgpdump: +pgpdump: For more information, http://www.mew.org/~kazu/proj/pgpdump/ +pgpdump: +pgpdump: +pgpdump: +pgpdump: by avs +pgpdump: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +enchant: enchant by Slack.Sarava +enchant: +enchant: The project aims to provide an efficient extensible abstraction +enchant: for spell checking libaries. These include, but are not limited to: +enchant: +enchant: Aspell/Pspell; Ispell; Hspell; Uspell +enchant: +enchant: Enchant is also meant to be used in a cross-platform (XP) environment. +enchant: Part of this means that Enchant wants to limit its number of +enchant: external dependencies to 0, or as close is as humanly possible. +enchant: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +gtkspell: gtkspell by Slack.Sarava +gtkspell: +gtkspell: GtkSpell provides MSWord/MacOSX-style highlighting of misspelled +gtkspell: words in a GtkTextView widget. Right-clicking a misspelled word +gtkspell: pops up a menu of suggested replacements. +gtkspell: +gtkspell: +gtkspell: +gtkspell: +gtkspell: +gtkspell: +# + make install DESTDIR="$PKG" || exit $ERROR_INSTALL ++ ++# Fix aspell errors on compiling ++sed -i 's/\-lgtkspell$/\-lgtkspell \-laspell/' $PKG/$LIBDIR/pkgconfig/gtkspell-2.0.pc +#p< \ No newline at end of file diff --git a/app/text/xchm/xchm.mkbuild b/app/text/xchm/xchm.mkbuild new file mode 100644 index 0000000..f84d227 --- /dev/null +++ b/app/text/xchm/xchm.mkbuild @@ -0,0 +1,167 @@ +################################################################# +## Generic template for Mkbuild +## +## Version 0.9.0 - Alves ( rudsonalves at yahoo d0t com d0t br ) +################################################################# +#-------------------- +# Personal variables +#-------------------- +# Author name +[[SLACKBUILD AUTHOR]]="Alexandre Vieira de Souza" + +# Initials author name +[[SLACKBUILD AUTHOR INITIALS]]="avs" + +#------------------------ +# Construction Variables +#------------------------ +# +# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... ) +[[DOWNLOAD FOLDER URL]]="http://prdownloads.sourceforge.net/sourceforge/xchm/xchm-1.13.tar.gz" + +# Source base name. if different from package name. Null ("") to default value. +# Auto-set, get SRC_NAME from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[SOURCE NAME]]="" + +# Package name. Null ("") to auto-set +# Auto-set, get PKG_NAME from URL downcase(SRC_NAME): http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[PACKAGE NAME]]="" + +# +# Package default ARCH +# Default set is i486 +[[ARCH]]="" + +# +# Package version. Null ("") to auto-set. +# Auto-set, get VERSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[VERSION]]="" + +# +# Package extension. Null ("") to auto-set +# Auto-set, get EXTENSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[EXTENSION]]="" + +# +# Build number. +# Auto-set to default 1 +[[BUILD NUMBER]]="" + +# +# Source Name construction string +# Default value is: $SRC_NAME-$VERSION.tar.$EXTENSION +[[SOURCE NAME CONSTRUCTION STRING]]="$SRC_NAME-$VERSION.tar.$EXTENSION" + +# +# Unpacker programa ("") to auto-set. Default "tar" +# Unpacke Flags ("") to auto-set. Default flags to tar "--no-same-owner --no-same-permissions -xvf" +[[UNPACKER]]="" +[[UNPACKER FLAGS]]="" + +# +# Dependency list input +# Enter string: "dependency_1 [condiction_1] [versio_1]: dependency_2 [condiction_2] [versio_2]" +# Example: +[[SLACK REQUIRED]]="wxGTK >= 2.8.7: chmlib >= 0.39 " + +# +# Decompress program +# gz, tgz, bz2, set null ("") to auto-set +# Auto-set, get DECOMPRESSOR from URL EXTENSION: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[DECOMPRESSOR]]="" + +# +# Decompress check flag +# gz, tgz, bz2, set null ("") to auto-set +[[DECOMPRESSOR TEST FLAG]]="" + +# +# Documentation files. Null ("") to auto-set commom doc-files: +# NEWS TODO README AUTHORS INSTALL ChangeLog MAINTAINERS COPYING readme.* +[[DOCUMENTATION FILES]]="" + +# +# ./configure options +[[OTHER CONFIGURE ARGS]]="" + +# +# PREFIX. Default /usr +[[PREFIX]]="/usr" + +# +# Number of jobs +[[NUMBER OF JOBS]]="-j4" + +#--------------------- +# Others changes +#--------------------- +#[[MD5SUM CODE]]="" +#[[MD5SUM EXTENSION]]="" +#[[SIGNING KEY]]="" +#[[SIGNING KEY URL]]="" +#[[SIGNING KEY ID]]="" +#[[CONFIG FILES]]="" +#[[PATCH URLS]]="" +[[PATCH FILES]]="" +[[NUMBER OF PREFIX SLASHES TO STRIP]]="1" + +# SlackBuild model +[[SLACKBUILD MODEL]]="generic.mkSlackBuild" + +# SlackBuild PATH in Slack.Sarava tree +#[[SLACKBUILD PATH]]="others/unclassified/xchm" +[[SLACKBUILD PATH]]="app/text/xchm" + +#--------------------- +# SlackBuild Sections +#--------------------- +# Default sections: +# head, set_variables, slkflags, start_structure, untar_source, +# make_package, install_package, build_package +# Warning: don't remove '#>>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +xchm: xchm by Slack.Sarava +xchm: +xchm: xCHM is a CHM viewer for UNIX, based on Jed Wing's CHMLIB and +xchm: written with wxWindows. xCHM can view your files, show the contents +xchm: tree if one is available, print the current page, work with bookmarks +xchm: and do the usual history stunts. It allows you to change fonts and +xchm: search for text in all the pages of the archive, or in the pages' +xchm: titles. What it can't do is handle Javascript by the book. +xchm: +xchm: by avs +xchm: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +boost: boost +boost: +boost: Boost provides free peer-reviewed portable C++ source libraries. +boost: +boost: We emphasize libraries that work well with the C++ Standard Library. +boost: Boost libraries are intended to be widely useful, and usable across +boost: a broad spectrum of applications. +boost: +boost: +boost: http://www.boost.org/ +boost: +#configure +# Configure + +# That's the old way we did +#CFLAGS="$SLKCFLAGS" \ +# CXXFLAGS="$SLKCFLAGS" \ +# ./configure \ +# --prefix="$PREFIX" --libdir="$LIBDIR" $CONF_OPTIONS || exit $ERROR_CONF +# +# Add DESTDIR support into Makefile +#sed -i -e 's/\$(PREFIX)/\$(DESTDIR)\/\$(PREFIX)/' \ +# -e 's/\$(EPREFIX)/\$(DESTDIR)\/\$(EPREFIX)/' \ +# -e 's/\$(LIBDIR)/\$(DESTDIR)\/\$(LIBDIR)/' \ +# -e 's/\$(INCLUDEDIR)/\$(DESTDIR)\/\$(INCLUDEDIR)/' Makefile + +# New way, using stuff from http://slackbuilds.org/repository/12.1/development/boost/, +# wich has the following copyright note: + +# Copyright 2007-2008 Eric Hameleers +# Copyright 2007-2008 Heinz Wiesinger +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED ''AS IS'' AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +# bjam-build system mostly taken from SlackBuild by Eric Hameleers + +# Script modified by Robby Workman +# -- no additional license terms and no copyright + +# Small changes from Rhatto + +if [ "$ICU" = "YES" ]; then + do_icu="-sICU_PATH=/usr" +else + do_icu="" +fi + +# This is the python we build against: +PYTHON_VERSION=$(python -c 'import sys; print sys.version[:3]') +PYTHON_FLAGS="-sPYTHON_ROOT=/usr -sPYTHON_VERSION=$PYTHON_VERSION" + +# First build bjam, the boost build system: +cd tools/jam/src + CFLAGS="$SLKCFLAGS -fno-strict-aliasing" CC=gcc ./build.sh cc || exit $ERROR_CONF +cd - + +BJAM=$(find tools/jam/src/ -name bjam -a -type f) + +# Patch Jamroot to include our custom build rule +patch -p1 -i $CWD/boost_custom_jam_rule.diff || exit $ERROR_PATCH +#make_package +# Build procedure also thanks to slackbuilds.org and with the same copyright +# note from the configure section above + +# Create build subdirectory +mkdir obj + +# Next, we build boost using bjam + $BJAM \ + release \ + "-sNO_COMPRESSION=0" \ + "-sZLIB_INCLUDE=/usr/include" \ + "-sZLIB_LIBPATH=$LIBDIR" \ + "-sBZIP2_INCLUDE=/usr/include" \ + "-sBZIP2_LIBPATH=$LIBDIR" \ + "-sEXPAT_INCLUDE=/usr/include" \ + "-sEXPAT_LIBPATH=$LIBDIR" \ + --toolset=gcc \ + --layout=system \ + --builddir=obj \ + --prefix=/usr \ + --build-type=custom \ + $PYTHON_FLAGS \ + $do_icu \ + ${NUMJOBS} || exit ERROR_MAKE +#install_package +# Install + +# That's the old way we did +#make install DESTDIR="$PKG" || exit $ERROR_INSTALL + +# New way, thanks to slackbuilds.org and with the same copyright +# note from the configure section above + +# And then install boost.. +mkdir -p $PKG/usr/{lib,include} + +$BJAM \ + release \ + "-sEXPAT_INCLUDE=/usr/include" \ + "-sEXPAT_LIBPATH=$LIBDIR" \ + --toolset=gcc \ + --layout=system \ + --builddir=obj \ + --prefix=$PKG/usr \ + --build-type=custom \ + $PYTHON_FLAGS \ + $do_icu \ + install || exit $ERROR_INSTALL + +# This is old stuff also +# Version with underline +#VERSION_UNDERLINE="`echo $SRC_VERSION | sed -e 's/\./_/g'`" +# +# Underline version without minor version if minor version is 0 (workaround) +#VERSION_UNDERLINE="`echo $VERSION_UNDERLINE | sed -e 's/\([0-9]\+\)_\([0-9]\+\)_0/\1_\2/'`" +#cd /usr/include && ln -s boost-$VERSION_UNDERLINE/ boost +#multi shared" variant. + local build-type = [ MATCH "^--build-type=(.*)" : [ modules.peek : ARGV ] ] ; + build-type ?= minimal ; +-if ! ( $(build-type) in minimal complete ) ++if ! ( $(build-type) in minimal complete custom ) + { + build-type = minimal ; + } +@@ -145,6 +145,13 @@ + shared static + shared static + ; ++local default-build,custom = ++ release ++ speed full ++ single multi ++ shared ++ shared ++ ; + + # Set the default build. + local default-build = $(default-build,$(build-type)) ; diff --git a/dev/libs/check/check.mkbuild b/dev/libs/check/check.mkbuild new file mode 100644 index 0000000..aecc5c9 --- /dev/null +++ b/dev/libs/check/check.mkbuild @@ -0,0 +1,160 @@ +################################################################# +## Generic template for Mkbuild +## +## Version 0.9.0 - Alves ( rudsonalves at yahoo d0t com d0t br ) +################################################################# +#-------------------- +# Personal variables +#-------------------- +# Author name +[[SLACKBUILD AUTHOR]]="Rafael Diniz" + +# Initials author name +[[SLACKBUILD AUTHOR INITIALS]]="rd" + +#------------------------ +# Construction Variables +#------------------------ +# +# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... ) +[[DOWNLOAD FOLDER URL]]="http://ufpr.dl.sourceforge.net/sourceforge/check/check-0.9.5.tar.gz" + +# Source base name. if different from package name. Null ("") to default value. +# Auto-set, get SRC_NAME from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[SOURCE NAME]]="" + +# Package name. Null ("") to auto-set +# Auto-set, get PKG_NAME from URL downcase(SRC_NAME): http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[PACKAGE NAME]]="" + +# +# Package default ARCH +# Default set is i486 +[[ARCH]]="" + +# +# Package version. Null ("") to auto-set. +# Auto-set, get VERSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[VERSION]]="" + +# +# Package extension. Null ("") to auto-set +# Auto-set, get EXTENSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[EXTENSION]]="" + +# +# Build number. +# Auto-set to default 1 +[[BUILD NUMBER]]="" + +# +# Source Name construction string +# Default value is: $SRC_NAME-$VERSION.tar.$EXTENSION +[[SOURCE NAME CONSTRUCTION STRING]]="$SRC_NAME-$VERSION.tar.$EXTENSION" + +# +# Unpacker programa ("") to auto-set. Default "tar" +# Unpacke Flags ("") to auto-set. Default flags to tar "--no-same-owner --no-same-permissions -xvf" +[[UNPACKER]]="" +[[UNPACKER FLAGS]]="" + +# +# Dependency list input +# Enter string: "dependency_1 [condiction_1] [versio_1]: dependency_2 [condiction_2] [versio_2]" +# Example: +[[SLACK REQUIRED]]="" + +# +# Decompress program +# gz, tgz, bz2, set null ("") to auto-set +# Auto-set, get DECOMPRESSOR from URL EXTENSION: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[DECOMPRESSOR]]="" + +# +# Decompress check flag +# gz, tgz, bz2, set null ("") to auto-set +[[DECOMPRESSOR TEST FLAG]]="" + +# +# Documentation files. Null ("") to auto-set commom doc-files: +# NEWS TODO README AUTHORS INSTALL ChangeLog MAINTAINERS COPYING readme.* +[[DOCUMENTATION FILES]]="ABOUT-NLS AUTHORS COPYING ChangeLog FAQ INSTALL NEWS README TODO" + +# +# ./configure options +[[OTHER CONFIGURE ARGS]]="" + +# +# PREFIX. Default /usr +[[PREFIX]]="/usr" + +# +# Number of jobs +[[NUMBER OF JOBS]]="-j4" + +#--------------------- +# Others changes +#--------------------- +#[[MD5SUM CODE]]="" +#[[MD5SUM EXTENSION]]="" +#[[SIGNING KEY]]="" +#[[SIGNING KEY URL]]="" +[[PATCH FILES]]="" +[[NUMBER OF PREFIX SLASHES TO STRIP]]="1" + +# SlackBuild model +[[SLACKBUILD MODEL]]="generic.mkSlackBuild" + +# SlackBuild PATH in Slack.Sarava tree +#[[SLACKBUILD PATH]]="others/unclassified/[[NAME]]" +[[SLACKBUILD PATH]]="dev/libs/check" + +#--------------------- +# SlackBuild Sections +#--------------------- +# Default sections: +# head, set_variables, slkflags, start_structure, untar_source, +# make_package, install_package, build_package +# Warning: don't remove '#>>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files + on: install_documentation + on: slackdesc +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +check: check by Slack.Sarava +check: +check: Check is a unit testing framework for C. It features a simple +check: interface for defining unit tests, putting little in the way +check: of the developer. Tests are run in a separate address space, +check: so Check can catch both assertion failures and code errors +check: that cause segmentation faults or other signals. The output +check: from unit tests can be used within source code editors and IDEs. +check: +check: +check: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +DirectFB-extra: DirectFB-extra (software for DirectFB) +DirectFB-extra: +DirectFB-extra: DirectFB-extra provides images and video providers +DirectFB-extra: and also other examples for DirectFB. +DirectFB-extra: +DirectFB-extra: +DirectFB-extra: +DirectFB-extra: +DirectFB-extra: +DirectFB-extra: http://www.directfb.org/ +DirectFB-extra: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +DirectFB: DirectFB by Slack.Sarava +DirectFB: +DirectFB: DirectFB is a thin library that provides hardware graphics +DirectFB: acceleration, input device handling and abstraction, integrated +DirectFB: windowing system with support for translucent windows and multiple +DirectFB: display layers, not only on top of the Linux Framebuffer Device. +DirectFB: It is a complete hardware abstraction layer with software fallbacks +DirectFB: for every graphics operation that is not supported by the +DirectFB: underlying hardware. DirectFB adds graphical power to embedded +DirectFB: systems and sets a new standard for graphics under Linux. +DirectFB: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group +off: download_source + on: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check +off: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +eet: eet +eet: +eet: Eet is a tiny library designed to write an arbitary set of chunks of +eet: data to a file and optionally compress each chunk (very much like a +eet: zip file) and allow fast random-access reading of the file later +eet: on. It does not do zip as a zip itself has more complexity than is +eet: needed, and it was much simpler to implement this once here. +eet: +eet: +eet: +eet: +# + # Configure ++./autogen.sh || exit $ERROR_CONF +#p< diff --git a/dev/libs/eventlog/eventlog.mkbuild b/dev/libs/eventlog/eventlog.mkbuild new file mode 100644 index 0000000..34b6ba5 --- /dev/null +++ b/dev/libs/eventlog/eventlog.mkbuild @@ -0,0 +1,90 @@ +# +# This mkbuild is free software; you can redistribute it and/or modify it under the +# terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or any later version. +# +# This mkbuild 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., 59 Temple +# Place - Suite 330, Boston, MA 02111-1307, USA +# + +#-------------------- +# Personal variables +#-------------------- +# Author name +[[SLACKBUILD AUTHOR]]="Silvio Rhatto" + +# Initials author name +[[SLACKBUILD AUTHOR INITIALS]]="rha" + +#------------------------ +# Construction Variables +#------------------------ +# +# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... ) +[[DOWNLOAD FOLDER URL]]="http://www.balabit.com/downloads/files/syslog-ng/sources/stable/src/eventlog-0.2.7.tar.gz" + +# Documentation files. Null ("") to auto-set commom doc-files: +[[DOCUMENTATION FILES]]="AUTHORS COPYING CREDITS ChangeLog NEWS README VERSION" + +# SlackBuild model +[[SLACKBUILD MODEL]]="generic.mkSlackBuild" + +# SlackBuild PATH in Slack.Sarava tree +[[SLACKBUILD PATH]]="dev/libs/eventlog" + +#--------------------- +# SlackBuild Sections +#--------------------- +# Default sections: +# head, set_variables, slkflags, start_structure, untar_source, +# make_package, install_package, build_package +# Warning: don't remove '#>>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +eventlog: eventlog +eventlog: +eventlog: The EventLog library aims to be a replacement of the simple syslog() +eventlog: API provided on UNIX systems. The major difference between EventLog +eventlog: and syslog is that EventLog tries to add structure to messages. +eventlog: +eventlog: +eventlog: +eventlog: +eventlog: +eventlog: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group +off: download_source + on: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check +off: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +exml: exml +exml: +exml: EXML is an abstracted, generalized interface to an xml parser/writer, +exml: using ecore data structures and making things generally easy to get +exml: around in. +exml: +exml: +exml: +exml: +exml: +exml: +# + # Configure ++./autogen.sh || exit $ERROR_CONF +#p< diff --git a/dev/libs/libcroco/libcroco.mkbuild b/dev/libs/libcroco/libcroco.mkbuild new file mode 100644 index 0000000..0285e73 --- /dev/null +++ b/dev/libs/libcroco/libcroco.mkbuild @@ -0,0 +1,169 @@ +################################################################# +## Generic template for Mkbuild +## +## Version 0.9.0 - Alves ( rudsonalves at yahoo d0t com d0t br ) +################################################################# +#-------------------- +# Personal variables +#-------------------- +# Author name +[[SLACKBUILD AUTHOR]]="Alexandre Vieira de Souza" + +# Initials author name +[[SLACKBUILD AUTHOR INITIALS]]="avs" + +#------------------------ +# Construction Variables +#------------------------ +# +# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... ) +[[DOWNLOAD FOLDER URL]]="http://ftp.gnome.org/pub/gnome/sources/libcroco/0.6/libcroco-0.6.1.tar.bz2" + +# Source base name. if different from package name. Null ("") to default value. +# Auto-set, get SRC_NAME from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[SOURCE NAME]]="" + +# Package name. Null ("") to auto-set +# Auto-set, get PKG_NAME from URL downcase(SRC_NAME): http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[PACKAGE NAME]]="" + +# +# Package default ARCH +# Default set is i486 +[[ARCH]]="" + +# +# Package version. Null ("") to auto-set. +# Auto-set, get VERSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[VERSION]]="" + +# +# Package extension. Null ("") to auto-set +# Auto-set, get EXTENSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[EXTENSION]]="" + +# +# Build number. +# Auto-set to default 1 +[[BUILD NUMBER]]="" + +# +# Source Name construction string +# Default value is: $SRC_NAME-$VERSION.tar.$EXTENSION +[[SOURCE NAME CONSTRUCTION STRING]]="$SRC_NAME-$VERSION.tar.$EXTENSION" + +# +# Unpacker programa ("") to auto-set. Default "tar" +# Unpacke Flags ("") to auto-set. Default flags to tar "--no-same-owner --no-same-permissions -xvf" +[[UNPACKER]]="" +[[UNPACKER FLAGS]]="" + +# +# Dependency list input +# Enter string: "dependency_1 [condiction_1] [versio_1]: dependency_2 [condiction_2] [versio_2]" +# Example: +[[SLACK REQUIRED]]="" + +# +# Decompress program +# gz, tgz, bz2, set null ("") to auto-set +# Auto-set, get DECOMPRESSOR from URL EXTENSION: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[DECOMPRESSOR]]="" + +# +# Decompress check flag +# gz, tgz, bz2, set null ("") to auto-set +[[DECOMPRESSOR TEST FLAG]]="" + +# +# Documentation files. Null ("") to auto-set commom doc-files: +# NEWS TODO README AUTHORS INSTALL ChangeLog MAINTAINERS COPYING readme.* +[[DOCUMENTATION FILES]]="" + +# +# ./configure options +[[OTHER CONFIGURE ARGS]]="" + +# +# PREFIX. Default /usr +[[PREFIX]]="/usr" + +# +# Number of jobs +[[NUMBER OF JOBS]]="-j4" + +#--------------------- +# Others changes +#--------------------- +#[[MD5SUM CODE]]="" +#[[MD5SUM EXTENSION]]="" +#[[SIGNING KEY]]="" +#[[SIGNING KEY URL]]="" +#[[SIGNING KEY ID]]="" +#[[SIGNING URL]]="" +#[[CONFIG FILES]]="" +#[[PATCH URLS]]="" +[[PATCH FILES]]="" +[[NUMBER OF PREFIX SLASHES TO STRIP]]="1" + +# SlackBuild model +[[SLACKBUILD MODEL]]="generic.mkSlackBuild" + +# SlackBuild PATH in Slack.Sarava tree +#[[SLACKBUILD PATH]]="others/unclassified/libcroco" +[[SLACKBUILD PATH]]="dev/libs/libcroco" + +#--------------------- +# SlackBuild Sections +#--------------------- +# Default sections: +# head, set_variables, slkflags, start_structure, untar_source, +# make_package, install_package, build_package +# Warning: don't remove '#>>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +libcroco: libcroco by Slack.Sarava +libcroco: +libcroco: Libcroco is a standalone CSS2 parsing and manipulation library that +libcroco: provides a CSS2 selection engine and an experimental XML/CSS +libcroco: rendering engine. +libcroco: +libcroco: +libcroco: +libcroco: +libcroco: by avs +libcroco: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +libelf: libelf by Slack.Sarava +libelf: +libelf: 'Libelf' lets you read, modify or create ELF files in an architecture +libelf: independent way. The library takes care of size and endian issues, e.g. +libelf: you can process a file for SPARC processors on an Intel-based system. +libelf: This library is a clean-room rewrite of the System V Release 4 library +libelf: and is supposed to be source code compatible with it. +libelf: +libelf: +libelf: by avs +libelf: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +libgweather: libgweather by Slack.Sarava +libgweather: +libgweather: The package contains the GNOME panel which the area on your desktop +libgweather: from which you can run applications and applets, and perform other +libgweather: tasks. +libgweather: +libgweather: +libgweather: +libgweather: +libgweather: by avs +libgweather: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +libtasn1: libtasn1 by Slack.Sarava +libtasn1: +libtasn1: This is the ASN.1 library used in GNUTLS +libtasn1: +libtasn1: +libtasn1: +libtasn1: +libtasn1: +libtasn1: +libtasn1: by avs +libtasn1: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source +off: configure + on: make_package +off: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files + on: install_documentation + on: slackdesc +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +configobj: configobj +configobj: +configobj: A python module for ultra simple handling of configuration files. +configobj: Also useful for human readable data persistence. +configobj: Flexible and simple. +configobj: +configobj: +configobj: +configobj: +configobj: +configobj: +#make_package +# Build and install package +python setup.py build install --root=$PKG +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +db3: db3 (Berkeley database library version 3) +db3: +db3: The Berkeley Database (Berkeley DB) library provides embedded database +db3: support for both traditional and client/server applications. +db3: +db3: This package should be installed if compatibility is needed with +db3: databases created with the Berkeley DB version 3. +db3: +# + # Configure ++cd dist +#p< \ No newline at end of file diff --git a/dev/python/epsilon/epsilon.mkbuild b/dev/python/epsilon/epsilon.mkbuild new file mode 100644 index 0000000..aad127a --- /dev/null +++ b/dev/python/epsilon/epsilon.mkbuild @@ -0,0 +1,117 @@ +# +# This mkbuild is free software; you can redistribute it and/or modify it under the +# terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or any later version. +# +# This mkbuild 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., 59 Temple +# Place - Suite 330, Boston, MA 02111-1307, USA +# + +#-------------------- +# Personal variables +#-------------------- +# Author name +[[SLACKBUILD AUTHOR]]="Silvio Rhatto" + +# Initials author name +[[SLACKBUILD AUTHOR INITIALS]]="rha" + +#------------------------ +# Construction Variables +#------------------------ +# +# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... ) +[[DOWNLOAD FOLDER URL]]="http://svn.enlightenment.org/svn/e/trunk/epsilon" + +# Package name +[[PACKAGE NAME]]="epsilon" + +# Source base name +[[SOURCE NAME]]="epsilon" + +# +# PKG_NAME version +[[VERSION]]="svn_version" + +# +# Dependency list input +[[SLACK REQUIRED]]="eet: evas: ecore: embryo: edje: imlib2" + +# +# Documentation files +[[DOCUMENTATION FILES]]="AUTHORS COPYING ChangeLog NEWS README TODO BUGS" + +# +# Other configure arguments +[[OTHER CONFIGURE ARGS]]="--sysconfdir=/etc" + +# SlackBuild model +[[SLACKBUILD MODEL]]="generic.mkSlackBuild" + +# SlackBuild PATH in Slack.Sarava tree +[[SLACKBUILD PATH]]="dev/python/epsilon" + +#--------------------- +# SlackBuild Sections +#--------------------- +# Default sections: +# head, set_variables, slkflags, start_structure, untar_source, +# make_package, install_package, build_package +# Warning: don't remove '#>>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group +off: download_source + on: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check +off: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +epsilon: epsilon +epsilon: +epsilon: Epsilon is a small, display independent, and quick thumbnailing +epsilon: library. The lib itself conforms to the standard put forth by +epsilon: freedesktop.org You can find out more information about it at +epsilon: http://triq.net/~jens/thumbnail-spec/index.html +epsilon: +epsilon: +epsilon: +epsilon: +epsilon: +# + # Configure ++./autogen.sh || exit $ERROR_CONF +#p< diff --git a/dev/python/genshi/Genshi.mkbuild b/dev/python/genshi/Genshi.mkbuild new file mode 100644 index 0000000..c09299b --- /dev/null +++ b/dev/python/genshi/Genshi.mkbuild @@ -0,0 +1,96 @@ +# +# This mkbuild is free software; you can redistribute it and/or modify it under the +# terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or any later version. +# +# This mkbuild 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., 59 Temple +# Place - Suite 330, Boston, MA 02111-1307, USA +# + +#-------------------- +# Personal variables +#-------------------- +# Author name +[[SLACKBUILD AUTHOR]]="Silvio Rhatto" + +# Initials author name +[[SLACKBUILD AUTHOR INITIALS]]="rha" + +#------------------------ +# Construction Variables +#------------------------ +# +# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... ) +[[DOWNLOAD FOLDER URL]]="http://ftp.edgewall.com/pub/genshi/Genshi-0.5.tar.bz2" + +# +# Dependency list input +# Enter string: "dependency_1 [condiction_1] [versio_1]: dependency_2 [condiction_2] [versio_2]" +# Example: +[[SLACK REQUIRED]]="setuptools" + +# SlackBuild PATH in Slack.Sarava tree +[[SLACKBUILD PATH]]="dev/python/Genshi" + +# Documentation files +[[DOCUMENTATION FILES]]="COPYING ChangeLog README.txt UPGRADE.txt" + +#--------------------- +# SlackBuild Sections +#--------------------- +# Default sections: +# head, set_variables, slkflags, start_structure, untar_source, +# make_package, install_package, build_package +# Warning: don't remove '#>>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source +off: configure + on: make_package +off: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files + on: install_documentation + on: slackdesc +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +Genshi: Genshi +Genshi: +Genshi: Genshi is a Python library that provides an integrated set of +Genshi: components for parsing, generating, and processing HTML, XML +Genshi: or other textual content for output generation on the web. +Genshi: +Genshi: +Genshi: +Genshi: +Genshi: +Genshi: +#make_package +# Build and install package +python setup.py build install --root=$PKG +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source +off: configure + on: make_package +off: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +MySQL-python: MySQL-python by Slack.Sarava +MySQL-python: +MySQL-python: MySQLdb is an interface to the popular MySQL database server +MySQL-python: for Python. The design goals are: +MySQL-python: * Compliance with Python database API version 2.0 [PEP-0249] +MySQL-python: * Thread-safety +MySQL-python: * Thread-friendliness (threads will not block each other) +MySQL-python: +MySQL-python: MySQL-3.23 through 5.0 and Python-2.3 through 2.5 are currently +MySQL-python: supported. +MySQL-python: +# +-make $NUMJOBS || exit $ERROR_MAKE ++python setup.py build install --root=$PKG || exit $ERROR_MAKE +#p< diff --git a/dev/python/pygments/Pygments.mkbuild b/dev/python/pygments/Pygments.mkbuild new file mode 100644 index 0000000..1a29284 --- /dev/null +++ b/dev/python/pygments/Pygments.mkbuild @@ -0,0 +1,90 @@ +# +# This mkbuild is free software; you can redistribute it and/or modify it under the +# terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or any later version. +# +# This mkbuild 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., 59 Temple +# Place - Suite 330, Boston, MA 02111-1307, USA +# + +#-------------------- +# Personal variables +#-------------------- +# Author name +[[SLACKBUILD AUTHOR]]="Silvio Rhatto" + +# Initials author name +[[SLACKBUILD AUTHOR INITIALS]]="rha" + +#------------------------ +# Construction Variables +#------------------------ +# +# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... ) +[[DOWNLOAD FOLDER URL]]="http://pypi.python.org/packages/source/P/Pygments/Pygments-0.10.tar.gz" + +# SlackBuild PATH in Slack.Sarava tree +[[SLACKBUILD PATH]]="dev/python/pygments" + +# Documentation files +[[DOCUMENTATION FILES]]="AUTHORS CHANGES LICENSE TODO" + +#--------------------- +# SlackBuild Sections +#--------------------- +# Default sections: +# head, set_variables, slkflags, start_structure, untar_source, +# make_package, install_package, build_package +# Warning: don't remove '#>>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source +off: configure + on: make_package +off: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files + on: install_documentation + on: slackdesc +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +Pygments: Pygments +Pygments: +Pygments: Pygments is a syntax highlighting package written in Python. +Pygments: +Pygments: +Pygments: +Pygments: +Pygments: +Pygments: +Pygments: +Pygments: +#make_package +# Build and install package +python setup.py build install --root=$PKG +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source +off: configure +off: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +pyrex: Pyrex by Slack.Sarava +pyrex: +pyrex: Pyrex lets you write code that mixes Python and C data types any way +pyrex: you want, and compiles it into a C extension for Python. +pyrex: +pyrex: +pyrex: +pyrex: +pyrex: +pyrex: +pyrex: +# +-if [ ! -s "$SRC_DIR/$SRC" ] || ! [[DECOMPRESSOR]] [[DECOMPRESSOR TEST FLAG]] "$SRC_DIR/$SRC" 2> /dev/null; then ++#if [ ! -s "$SRC_DIR/$SRC" ] || ! [[DECOMPRESSOR]] [[DECOMPRESSOR TEST FLAG]] "$SRC_DIR/$SRC" 2> /dev/null; then ++if [ ! -s "$SRC_DIR/$SRC" ]; then # gunzip test faill +=== +-make install DESTDIR="$PKG" || exit $ERROR_INSTALL ++python setup.py build install --root=$PKG || exit $ERROR_INSTALL +#p< diff --git a/dev/python/pythondialog/pythondialog.mkbuild b/dev/python/pythondialog/pythondialog.mkbuild new file mode 100644 index 0000000..44070c6 --- /dev/null +++ b/dev/python/pythondialog/pythondialog.mkbuild @@ -0,0 +1,178 @@ +################################################################# +## Generic template for Mkbuild +## +## Version 0.9.0 - Alves ( rudsonalves at yahoo d0t com d0t br ) +################################################################# +#-------------------- +# Personal variables +#-------------------- +# Author name +[[SLACKBUILD AUTHOR]]="Rudson R. Alves" + +# Initials author name +[[SLACKBUILD AUTHOR INITIALS]]="srv" + +#------------------------ +# Construction Variables +#------------------------ +# +# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... ) +[[DOWNLOAD FOLDER URL]]="http://downloads.sourceforge.net/pythondialog/pythondialog-2.7.tar.bz2" + +# Source base name. if different from package name. Null ("") to default value. +# Auto-set, get SRC_NAME from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[SOURCE NAME]]="" + +# Package name. Null ("") to auto-set +# Auto-set, get PKG_NAME from URL downcase(SRC_NAME): http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[PACKAGE NAME]]="" + +# +# Package default ARCH +# Default set is i486 +[[ARCH]]="" + +# +# Package version. Null ("") to auto-set. +# Auto-set, get VERSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[VERSION]]="" + +# +# Package extension. Null ("") to auto-set +# Auto-set, get EXTENSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[EXTENSION]]="" + +# +# Build number. +# Auto-set to default 1 +[[BUILD NUMBER]]="" + +# +# Source Name construction string +# Default value is: $SRC_NAME-$VERSION.tar.$EXTENSION +[[SOURCE NAME CONSTRUCTION STRING]]="$SRC_NAME-$VERSION.tar.$EXTENSION" + +# +# Unpacker programa ("") to auto-set. Default "tar" +# Unpacke Flags ("") to auto-set. Default flags to tar "--no-same-owner --no-same-permissions -xvf" +[[UNPACKER]]="" +[[UNPACKER FLAGS]]="" + +# +# Dependency list input +# Enter string: "dependency_1 [condiction_1] [versio_1]: dependency_2 [condiction_2] [versio_2]" +# Example: +[[SLACK REQUIRED]]="" + +# +# Decompress program +# gz, tgz, bz2, set null ("") to auto-set +# Auto-set, get DECOMPRESSOR from URL EXTENSION: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[DECOMPRESSOR]]="" + +# +# Decompress check flag +# gz, tgz, bz2, set null ("") to auto-set +[[DECOMPRESSOR TEST FLAG]]="" + +# +# Documentation files. Null ("") to auto-set commom doc-files: +# NEWS TODO README AUTHORS INSTALL ChangeLog MAINTAINERS COPYING readme.* +[[DOCUMENTATION FILES]]="AUTHORS DEBUGGING MANIFEST.in README COPYING INSTALL PKG-INFO TODO" + +# +# ./configure options +[[OTHER CONFIGURE ARGS]]="" + +# +# PREFIX. Default /usr +[[PREFIX]]="/usr" + +# +# Number of jobs +[[NUMBER OF JOBS]]="-j4" + +#--------------------- +# Others changes +#--------------------- +#[[MD5SUM CODE]]="" +#[[MD5SUM EXTENSION]]="" +#[[SIGNING KEY]]="" +#[[SIGNING KEY URL]]="" +#[[SIGNING KEY ID]]="" +#[[SIGNING URL]]="" +#[[CONFIG FILES]]="" +#[[PATCH URLS]]="" +[[PATCH FILES]]="" +[[NUMBER OF PREFIX SLASHES TO STRIP]]="1" + +# SlackBuild model +[[SLACKBUILD MODEL]]="generic.mkSlackBuild" + +# SlackBuild PATH in Slack.Sarava tree +#[[SLACKBUILD PATH]]="others/unclassified/pythondialog" +[[SLACKBUILD PATH]]="dev/python/pythondialog" + +#--------------------- +# SlackBuild Sections +#--------------------- +# Default sections: +# head, set_variables, slkflags, start_structure, untar_source, +# make_package, install_package, build_package +# Warning: don't remove '#>>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source +off: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +pythondialog: pythondialog by Slack.Sarava +pythondialog: +pythondialog: This is a Python module for making simple Text/Console-mode +pythondialog: user interfaces on Unix/Linux systems. +pythondialog: +pythondialog: +pythondialog: +pythondialog: +pythondialog: +pythondialog: +pythondialog: +# +-make $NUMJOBS || exit $ERROR_MAKE ++python ./setup.py build || exit $ERROR_MAKE +=== +-make install DESTDIR="$PKG" || exit $ERROR_INSTALL ++python ./setup.py install --record $PREFIX --root=$PKG ++mv $PKG/usr/local/* $PKG/usr ++rm -rf $PKG/usr/local +#p< diff --git a/dev/python/setuptools/setuptools.mkbuild b/dev/python/setuptools/setuptools.mkbuild new file mode 100644 index 0000000..62aff88 --- /dev/null +++ b/dev/python/setuptools/setuptools.mkbuild @@ -0,0 +1,90 @@ +# +# This mkbuild is free software; you can redistribute it and/or modify it under the +# terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or any later version. +# +# This mkbuild 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., 59 Temple +# Place - Suite 330, Boston, MA 02111-1307, USA +# + +#-------------------- +# Personal variables +#-------------------- +# Author name +[[SLACKBUILD AUTHOR]]="Silvio Rhatto" + +# Initials author name +[[SLACKBUILD AUTHOR INITIALS]]="rha" + +#------------------------ +# Construction Variables +#------------------------ +# +# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... ) +[[DOWNLOAD FOLDER URL]]="http://pypi.python.org/packages/source/s/setuptools/setuptools-0.6c8.tar.gz" + +# SlackBuild PATH in Slack.Sarava tree +[[SLACKBUILD PATH]]="dev/python/setuptools" + +# Documentation files +[[DOCUMENTATION FILES]]="PKG-INFO README.txt" + +#--------------------- +# SlackBuild Sections +#--------------------- +# Default sections: +# head, set_variables, slkflags, start_structure, untar_source, +# make_package, install_package, build_package +# Warning: don't remove '#>>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source +off: configure + on: make_package +off: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files + on: install_documentation + on: slackdesc +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +setuptools: setuptools +setuptools: +setuptools: setuptools is a collection of enhancements to the Python distutils. +setuptools: +setuptools: +setuptools: +setuptools: +setuptools: +setuptools: +setuptools: +setuptools: +#make_package +# Build and install package +python setup.py build install --root=$PKG +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +visual: visual by Slack.Sarava +visual: +visual: VPython is a package that includes: +visual: * the Python programming language +visual: * the IDLE interactive development environment +visual: * "Visual", a Python module that offers real-time 3D output, and is +visual: easily usable by novice programmers +visual: * "Numeric", a Python module for fast processing of arrays +visual: +visual: +visual: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +tls: tls by Slack.Sarava +tls: +tls: TLS is an OpenSSL / RSA-bsafe Tcl extension that provides secure +tls: connections on top of the Tcl socket mechanism. Within a few lines of +tls: code, users can query https servers (see the tclhttpd project for an +tls: https server using TLS). +tls: +tls: +tls: +tls: +tls: +# + LDFLAGS="-L/lib64 -L/usr/lib64" ++ CONF_OPTIONS="$CONF_OPTIONS --enable-64bit" +#p< diff --git a/dev/util/gazpacho/gazpacho.mkbuild b/dev/util/gazpacho/gazpacho.mkbuild new file mode 100644 index 0000000..9e79d84 --- /dev/null +++ b/dev/util/gazpacho/gazpacho.mkbuild @@ -0,0 +1,173 @@ +################################################################# +## Generic template for Mkbuild +## +## Version 0.9.0 - Alves ( rudsonalves at yahoo d0t com d0t br ) +################################################################# +#-------------------- +# Personal variables +#-------------------- +# Author name +[[SLACKBUILD AUTHOR]]="Rudson R. Alves" + +# Initials author name +[[SLACKBUILD AUTHOR INITIALS]]="srv" + +#------------------------ +# Construction Variables +#------------------------ +# +# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... ) +[[DOWNLOAD FOLDER URL]]="http://ftp.gnome.org/pub/GNOME/sources/gazpacho/0.7/gazpacho-0.7.2.tar.gz" + +# Source base name. if different from package name. Null ("") to default value. +# Auto-set, get SRC_NAME from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[SOURCE NAME]]="" + +# Package name. Null ("") to auto-set +# Auto-set, get PKG_NAME from URL downcase(SRC_NAME): http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[PACKAGE NAME]]="" + +# +# Package default ARCH +# Default set is i486 +[[ARCH]]="" + +# +# Package version. Null ("") to auto-set. +# Auto-set, get VERSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[VERSION]]="" + +# +# Package extension. Null ("") to auto-set +# Auto-set, get EXTENSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[EXTENSION]]="" + +# +# Build number. +# Auto-set to default 1 +[[BUILD NUMBER]]="" + +# +# Source Name construction string +# Default value is: $SRC_NAME-$VERSION.tar.$EXTENSION +[[SOURCE NAME CONSTRUCTION STRING]]="$SRC_NAME-$VERSION.tar.$EXTENSION" + +# +# Unpacker programa ("") to auto-set. Default "tar" +# Unpacke Flags ("") to auto-set. Default flags to tar "--no-same-owner --no-same-permissions -xvf" +[[UNPACKER]]="" +[[UNPACKER FLAGS]]="" + +# +# Dependency list input +# Enter string: "dependency_1 [condiction_1] [versio_1]: dependency_2 [condiction_2] [versio_2]" +# Example: +[[SLACK REQUIRED]]="python: gtk+: pygtk: kiwi" + +# +# Decompress program +# gz, tgz, bz2, set null ("") to auto-set +# Auto-set, get DECOMPRESSOR from URL EXTENSION: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[DECOMPRESSOR]]="" + +# +# Decompress check flag +# gz, tgz, bz2, set null ("") to auto-set +[[DECOMPRESSOR TEST FLAG]]="" + +# +# Documentation files. Null ("") to auto-set commom doc-files: +# NEWS TODO README AUTHORS INSTALL ChangeLog MAINTAINERS COPYING readme.* +[[DOCUMENTATION FILES]]="AUTHORS CONTRIBUTORS COPYING ChangeLog INSTALL MANIFEST.in NEWS PKG-INFO README" + +# +# ./configure options +[[OTHER CONFIGURE ARGS]]="" + +# +# PREFIX. Default /usr +[[PREFIX]]="/usr" + +# +# Number of jobs +[[NUMBER OF JOBS]]="-j4" + +#--------------------- +# Others changes +#--------------------- +#[[MD5SUM CODE]]="" +#[[MD5SUM EXTENSION]]="" +#[[SIGNING KEY]]="" +#[[SIGNING KEY URL]]="" +#[[SIGNING KEY ID]]="" +#[[CONFIG FILES]]="" +#[[PATCH URLS]]="" +[[PATCH FILES]]="" +[[NUMBER OF PREFIX SLASHES TO STRIP]]="1" + +# SlackBuild model +[[SLACKBUILD MODEL]]="generic.mkSlackBuild" + +# SlackBuild PATH in Slack.Sarava tree +#[[SLACKBUILD PATH]]="others/unclassified/gazpacho" +[[SLACKBUILD PATH]]="dev/util/gazpacho" + +#--------------------- +# SlackBuild Sections +#--------------------- +# Default sections: +# head, set_variables, slkflags, start_structure, untar_source, +# make_package, install_package, build_package +# Warning: don't remove '#>>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source +off: configure +off: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +gazpacho: gazpacho by Slack.Sarava +gazpacho: +gazpacho: Gazpacho is a fresh new GUI builder for the GTK+ toolkit designed to +gazpacho: be ultra easy to use +gazpacho: +gazpacho: It is strongly inspired by the Glade project but it is written from +gazpacho: scratch using the Python language. As a result there are few lines +gazpacho: of code to read, understand and to maintain! +gazpacho: +gazpacho: +gazpacho: +# +-make install DESTDIR="$PKG" || exit $ERROR_INSTALL ++sed -i 's/lib/lib64/g' bin/gazpacho ++python setup.py install --prefix=/usr --root=$PKG || exit $ERROR_INSTALL +#p< \ No newline at end of file diff --git a/gnome/base/eel/eel.mkbuild b/gnome/base/eel/eel.mkbuild new file mode 100644 index 0000000..ddf1063 --- /dev/null +++ b/gnome/base/eel/eel.mkbuild @@ -0,0 +1,169 @@ +################################################################# +## Generic template for Mkbuild +## +## Version 0.9.0 - Alves ( rudsonalves at yahoo d0t com d0t br ) +################################################################# +#-------------------- +# Personal variables +#-------------------- +# Author name +[[SLACKBUILD AUTHOR]]="Alexandre Vieira de Souza" + +# Initials author name +[[SLACKBUILD AUTHOR INITIALS]]="avs" + +#------------------------ +# Construction Variables +#------------------------ +# +# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... ) +[[DOWNLOAD FOLDER URL]]="http://ftp.gnome.org/pub/gnome/sources/eel/2.22/eel-2.22.1.tar.bz2" + +# Source base name. if different from package name. Null ("") to default value. +# Auto-set, get SRC_NAME from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[SOURCE NAME]]="" + +# Package name. Null ("") to auto-set +# Auto-set, get PKG_NAME from URL downcase(SRC_NAME): http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[PACKAGE NAME]]="" + +# +# Package default ARCH +# Default set is i486 +[[ARCH]]="" + +# +# Package version. Null ("") to auto-set. +# Auto-set, get VERSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[VERSION]]="" + +# +# Package extension. Null ("") to auto-set +# Auto-set, get EXTENSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[EXTENSION]]="" + +# +# Build number. +# Auto-set to default 1 +[[BUILD NUMBER]]="" + +# +# Source Name construction string +# Default value is: $SRC_NAME-$VERSION.tar.$EXTENSION +[[SOURCE NAME CONSTRUCTION STRING]]="$SRC_NAME-$VERSION.tar.$EXTENSION" + +# +# Unpacker programa ("") to auto-set. Default "tar" +# Unpacke Flags ("") to auto-set. Default flags to tar "--no-same-owner --no-same-permissions -xvf" +[[UNPACKER]]="" +[[UNPACKER FLAGS]]="" + +# +# Dependency list input +# Enter string: "dependency_1 [condiction_1] [versio_1]: dependency_2 [condiction_2] [versio_2]" +# Example: +[[SLACK REQUIRED]]="gnome-desktop >= 2.22.0" + +# +# Decompress program +# gz, tgz, bz2, set null ("") to auto-set +# Auto-set, get DECOMPRESSOR from URL EXTENSION: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[DECOMPRESSOR]]="" + +# +# Decompress check flag +# gz, tgz, bz2, set null ("") to auto-set +[[DECOMPRESSOR TEST FLAG]]="" + +# +# Documentation files. Null ("") to auto-set commom doc-files: +# NEWS TODO README AUTHORS INSTALL ChangeLog MAINTAINERS COPYING readme.* +[[DOCUMENTATION FILES]]="" + +# +# ./configure options +[[OTHER CONFIGURE ARGS]]="" + +# +# PREFIX. Default /usr +[[PREFIX]]="/usr" + +# +# Number of jobs +[[NUMBER OF JOBS]]="-j4" + +#--------------------- +# Others changes +#--------------------- +#[[MD5SUM CODE]]="" +#[[MD5SUM EXTENSION]]="" +#[[SIGNING KEY]]="" +#[[SIGNING KEY URL]]="" +#[[SIGNING KEY ID]]="" +#[[SIGNING URL]]="" +#[[CONFIG FILES]]="" +#[[PATCH URLS]]="" +[[PATCH FILES]]="" +[[NUMBER OF PREFIX SLASHES TO STRIP]]="1" + +# SlackBuild model +[[SLACKBUILD MODEL]]="generic.mkSlackBuild" + +# SlackBuild PATH in Slack.Sarava tree +#[[SLACKBUILD PATH]]="others/unclassified/eel" +[[SLACKBUILD PATH]]="gnome/base/eel" + +#--------------------- +# SlackBuild Sections +#--------------------- +# Default sections: +# head, set_variables, slkflags, start_structure, untar_source, +# make_package, install_package, build_package +# Warning: don't remove '#>>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +eel: eel by Slack.Sarava +eel: +eel: The Eazel Extensions Library is a collection of widgets and +eel: extensions to many modules of the GNOME platform that were +eel: developed by hackers working on Nautilus. +eel: +eel: +eel: +eel: +eel: by avs +eel: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +gnome-desktop: gnome-desktop by Slack.Sarava +gnome-desktop: +gnome-desktop: This package contains the libgnome-desktop library, some +gnome-desktop: documents installed as part of the core GNOME distribution, +gnome-desktop: GNOME's .desktop files, the gnome-about program, some +gnome-desktop: manpages and GNOME's core graphics files and icons. +gnome-desktop: +gnome-desktop: +gnome-desktop: +gnome-desktop: by avs +gnome-desktop: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +gnome-keyring: gnome-keyring by Slack.Sarava +gnome-keyring: +gnome-keyring: gnome-keyring keeps session passwords and other secrets, and provides +gnome-keyring: a library for applications to integrate with the gnome keyring system. +gnome-keyring: +gnome-keyring: +gnome-keyring: +gnome-keyring: +gnome-keyring: +gnome-keyring: by avs +gnome-keyring: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +gnome-menus: gnome-menus by Slack.Sarava +gnome-menus: +gnome-menus: This package provides an implementation of the Desktop Menu Specification +gnome-menus: for the GNOME Desktop. +gnome-menus: +gnome-menus: +gnome-menus: +gnome-menus: +gnome-menus: +gnome-menus: by avs +gnome-menus: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +libgtop: libgtop by Slack.Sarava +libgtop: +libgtop: libgtop is a library that fetches information about the running +libgtop: system such as cpu and memory usage, active processes etc. On +libgtop: Linux systems, this information is taken directly from the +libgtop: /proc/filesystem +libgtop: +libgtop: +libgtop: +libgtop: by avs +libgtop: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +bug-buddy: bug-buddy by Slack.Sarava +bug-buddy: +bug-buddy: The goal of bug-buddy is to make reporting bugs very simple +bug-buddy: and easy for users, while making the reports themselves more +bug-buddy: useful and informative for developers. +bug-buddy: +bug-buddy: +bug-buddy: +bug-buddy: +bug-buddy: by avs +bug-buddy: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +evolution-data-server: evolution-data-server by Slack.Sarava +evolution-data-server: +evolution-data-server: The Evolution Data Server package provides a unified +evolution-data-server: backend for programs that work with contacts, tasks, +evolution-data-server: and calendar information. It was originally developed +evolution-data-server: for Evolution (hence the name), but is now used by +evolution-data-server: other packages as well. +evolution-data-server: +evolution-data-server: +evolution-data-server: by avs +evolution-data-server: +# + --- ./gtk-doc.make.orig 2008-01-06 06:46:21.000000000 -0500 ++++ ./gtk-doc.make 2008-01-10 19:50:27.221553109 -0500 +@@ -139,8 +139,9 @@ + done; \ + echo '-- Installing $(srcdir)/html/index.sgml' ; \ + $(INSTALL_DATA) $(srcdir)/html/index.sgml $(DESTDIR)$(TARGET_DIR) || :; \ +- which gtkdoc-rebase >/dev/null && \ ++ if test `which gtkdoc-rebase` != ""; then \ + gtkdoc-rebase --relative --dest-dir=$(DESTDIR) --html-dir=$(DESTDIR)$(TARGET_DIR) ; \ ++ fi \ + fi + + +--- ./docs/reference/camel/Makefile.in.orig 2008-01-06 06:46:39.000000000 -0500 ++++ ./docs/reference/camel/Makefile.in 2008-01-10 20:17:52.815330200 -0500 +@@ -684,8 +684,9 @@ + done; \ + echo '-- Installing $(srcdir)/html/index.sgml' ; \ + $(INSTALL_DATA) $(srcdir)/html/index.sgml $(DESTDIR)$(TARGET_DIR) || :; \ +- which gtkdoc-rebase >/dev/null && \ ++ if test `which gtkdoc-rebase` != ""; then \ + gtkdoc-rebase --relative --dest-dir=$(DESTDIR) --html-dir=$(DESTDIR)$(TARGET_DIR) ; \ ++ fi \ + fi + + uninstall-local: +#p< diff --git a/mail/mta/msmtp/msmtp.mkbuild b/mail/mta/msmtp/msmtp.mkbuild new file mode 100644 index 0000000..c80b2fb --- /dev/null +++ b/mail/mta/msmtp/msmtp.mkbuild @@ -0,0 +1,91 @@ +# +# This mkbuild is free software; you can redistribute it and/or modify it under the +# terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or any later version. +# +# This mkbuild 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., 59 Temple +# Place - Suite 330, Boston, MA 02111-1307, USA +# + +#-------------------- +# Personal variables +#-------------------- +# Author name +[[SLACKBUILD AUTHOR]]="Silvio Rhatto" + +# Initials author name +[[SLACKBUILD AUTHOR INITIALS]]="rha" + +#------------------------ +# Construction Variables +#------------------------ +# +# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... ) +[[DOWNLOAD FOLDER URL]]="http://downloads.sourceforge.net/msmtp/msmtp-1.4.15.tar.bz2" + +# Documentation files +[[DOCUMENTATION FILES]]="ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS" + +# Other configure arguments +[[OTHER CONFIGURE ARGS]]="--sysconfdir=/etc" + +# SlackBuild model +[[SLACKBUILD MODEL]]="generic.mkSlackBuild" + +# SlackBuild PATH in Slack.Sarava tree +[[SLACKBUILD PATH]]="mail/mta/msmtp" + +#--------------------- +# SlackBuild Sections +#--------------------- +# Default sections: +# head, set_variables, slkflags, start_structure, untar_source, +# make_package, install_package, build_package +# Warning: don't remove '#>>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files + on: install_documentation + on: slackdesc +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +msmtp: msmtp (small smtp client) +msmtp: +msmtp: msmtp is an SMTP client that can be used with Mutt and other mail +msmtp: user agents. +msmtp: +msmtp: +msmtp: +msmtp: +msmtp: +msmtp: +msmtp: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +gqview: gqview (image browser and viewer) +gqview: +gqview: GQview is an image browser that features single click access to view +gqview: images and move around the directory tree. +gqview: +gqview: +gqview: +gqview: +gqview: +gqview: +gqview: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +gtkam: gtkam (a GTK frontend for gphoto) +gtkam: +gtkam: gtkam is a GNOME front-end for gphoto, which allows you to retrieve +gtkam: photos and movies from over 300 different digital cameras. +gtkam: +gtkam: +gtkam: +gtkam: +gtkam: +gtkam: +gtkam: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +gwenview: gwenview by Slack.Sarava +gwenview: +gwenview: Gwenview is an image viewer for KDE. It can load and save all image +gwenview: formats supported by KDE, but Gwenview can also browse GIMP files +gwenview: (*.xcf) thanks to the included QXCFI component developed by Lignum +gwenview: Computing. +gwenview: +gwenview: +gwenview: +gwenview: +gwenview: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +aubio: aubio (library for audio labelling) +aubio: +aubio: aubio is a library for audio labelling. Its features include +aubio: segmenting a sound file before each of its attacks, performing pitch +aubio: detection, tapping the beat and producing midi streams from live audio. +aubio: The name aubio comes from 'audio' with a typo: several transcription +aubio: errors are likely to be found in the results too. +aubio: +aubio: +aubio: +aubio: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group +off: download_source + on: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check +off: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +edje: edje +edje: +edje: A graphical layout and animation library for animated resizable, +edje: compressed and scalable themes. +edje: +edje: +edje: +edje: +edje: +edje: +edje: +# + # Configure ++./autogen.sh || exit $ERROR_CONF +#p< diff --git a/media/libs/efreet/efreet.mkbuild b/media/libs/efreet/efreet.mkbuild new file mode 100644 index 0000000..7617341 --- /dev/null +++ b/media/libs/efreet/efreet.mkbuild @@ -0,0 +1,117 @@ +# +# This mkbuild is free software; you can redistribute it and/or modify it under the +# terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or any later version. +# +# This mkbuild 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., 59 Temple +# Place - Suite 330, Boston, MA 02111-1307, USA +# + +#-------------------- +# Personal variables +#-------------------- +# Author name +[[SLACKBUILD AUTHOR]]="Silvio Rhatto" + +# Initials author name +[[SLACKBUILD AUTHOR INITIALS]]="rha" + +#------------------------ +# Construction Variables +#------------------------ +# +# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... ) +[[DOWNLOAD FOLDER URL]]="http://svn.enlightenment.org/svn/e/trunk/efreet" + +# Package name +[[PACKAGE NAME]]="efreet" + +# Source base name +[[SOURCE NAME]]="efreet" + +# +# PKG_NAME version +[[VERSION]]="svn_version" + +# +# Dependency list input +[[SLACK REQUIRED]]="eet: evas: ecore" + +# +# Documentation files +[[DOCUMENTATION FILES]]="AUTHORS COPYING ChangeLog NEWS README TODO BUGS" + +# +# Other configure arguments +[[OTHER CONFIGURE ARGS]]="--sysconfdir=/etc" + +# SlackBuild model +[[SLACKBUILD MODEL]]="generic.mkSlackBuild" + +# SlackBuild PATH in Slack.Sarava tree +[[SLACKBUILD PATH]]="media/libs/efreet" + +#--------------------- +# SlackBuild Sections +#--------------------- +# Default sections: +# head, set_variables, slkflags, start_structure, untar_source, +# make_package, install_package, build_package +# Warning: don't remove '#>>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group +off: download_source + on: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check +off: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +efreet: efreet +efreet: +efreet: library for handling of freedesktop.org specs. +efreet: +efreet: +efreet: +efreet: +efreet: +efreet: +efreet: +efreet: +# + # Configure ++./autogen.sh || exit $ERROR_CONF +#p< diff --git a/media/libs/embryo/embryo.mkbuild b/media/libs/embryo/embryo.mkbuild new file mode 100644 index 0000000..b4692ad --- /dev/null +++ b/media/libs/embryo/embryo.mkbuild @@ -0,0 +1,117 @@ +# +# This mkbuild is free software; you can redistribute it and/or modify it under the +# terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or any later version. +# +# This mkbuild 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., 59 Temple +# Place - Suite 330, Boston, MA 02111-1307, USA +# + +#-------------------- +# Personal variables +#-------------------- +# Author name +[[SLACKBUILD AUTHOR]]="Silvio Rhatto" + +# Initials author name +[[SLACKBUILD AUTHOR INITIALS]]="rha" + +#------------------------ +# Construction Variables +#------------------------ +# +# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... ) +[[DOWNLOAD FOLDER URL]]="http://svn.enlightenment.org/svn/e/trunk/embryo" + +# Package name +[[PACKAGE NAME]]="embryo" + +# Source base name +[[SOURCE NAME]]="embryo" + +# +# PKG_NAME version +[[VERSION]]="svn_version" + +# +# Dependency list input +[[SLACK REQUIRED]]="eet: evas: ecore: efreet" + +# +# Documentation files +[[DOCUMENTATION FILES]]="AUTHORS COPYING ChangeLog NEWS README TODO BUGS" + +# +# Other configure arguments +[[OTHER CONFIGURE ARGS]]="--sysconfdir=/etc" + +# SlackBuild model +[[SLACKBUILD MODEL]]="generic.mkSlackBuild" + +# SlackBuild PATH in Slack.Sarava tree +[[SLACKBUILD PATH]]="media/libs/embryo" + +#--------------------- +# SlackBuild Sections +#--------------------- +# Default sections: +# head, set_variables, slkflags, start_structure, untar_source, +# make_package, install_package, build_package +# Warning: don't remove '#>>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group +off: download_source + on: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check +off: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +embryo: embryo +embryo: +embryo: Embryo is primarily a shared library that gives you an API to load and control +embryo: interpreted programs compiled into an abstract machine bytecode that it +embryo: understands. This abstract (or virtual) machine is similar to a real machine +embryo: with a CPU, but it is emulated in software. +embryo: +embryo: +embryo: +embryo: +embryo: +# + # Configure ++./autogen.sh || exit $ERROR_CONF +#p< diff --git a/media/libs/emotion/emotion.mkbuild b/media/libs/emotion/emotion.mkbuild new file mode 100644 index 0000000..509d3a8 --- /dev/null +++ b/media/libs/emotion/emotion.mkbuild @@ -0,0 +1,117 @@ +# +# This mkbuild is free software; you can redistribute it and/or modify it under the +# terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or any later version. +# +# This mkbuild 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., 59 Temple +# Place - Suite 330, Boston, MA 02111-1307, USA +# + +#-------------------- +# Personal variables +#-------------------- +# Author name +[[SLACKBUILD AUTHOR]]="Silvio Rhatto" + +# Initials author name +[[SLACKBUILD AUTHOR INITIALS]]="rha" + +#------------------------ +# Construction Variables +#------------------------ +# +# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... ) +[[DOWNLOAD FOLDER URL]]="http://svn.enlightenment.org/svn/e/trunk/emotion" + +# Package name +[[PACKAGE NAME]]="emotion" + +# Source base name +[[SOURCE NAME]]="emotion" + +# +# PKG_NAME version +[[VERSION]]="svn_version" + +# +# Dependency list input +[[SLACK REQUIRED]]="ecore" + +# +# Documentation files +[[DOCUMENTATION FILES]]="AUTHORS COPYING ChangeLog NEWS README TODO BUGS" + +# +# Other configure arguments +[[OTHER CONFIGURE ARGS]]="--sysconfdir=/etc" + +# SlackBuild model +[[SLACKBUILD MODEL]]="generic.mkSlackBuild" + +# SlackBuild PATH in Slack.Sarava tree +[[SLACKBUILD PATH]]="media/libs/emotion" + +#--------------------- +# SlackBuild Sections +#--------------------- +# Default sections: +# head, set_variables, slkflags, start_structure, untar_source, +# make_package, install_package, build_package +# Warning: don't remove '#>>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group +off: download_source + on: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check +off: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +emotion: emotion +emotion: +emotion: A media object library for Evas and Ecore +emotion: +emotion: +emotion: +emotion: +emotion: +emotion: +emotion: +emotion: +# + # Configure ++./autogen.sh || exit $ERROR_CONF +#p< diff --git a/media/libs/faad2/faad2-2.0.diff b/media/libs/faad2/faad2-2.0.diff new file mode 100644 index 0000000..56012ff --- /dev/null +++ b/media/libs/faad2/faad2-2.0.diff @@ -0,0 +1,25 @@ +--- Makefile.orig 2006-10-05 04:47:27.000000000 -0300 ++++ Makefile 2006-10-05 04:47:57.000000000 -0300 +@@ -624,10 +624,6 @@ + tags tags-recursive uninstall uninstall-am uninstall-info-am + + +-rpm: Makefile +- make dist +- $(RPMBUILD) -ta $(PACKAGE)-$(VERSION).tar.gz +- rm $(PACKAGE)-$(VERSION).tar.gz + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. + .NOEXPORT: + +--- common/mp4ff/mp4ffint.h 2005-02-12 23:38:28.828890793 -0500 ++++ common/mp4ff/mp4ffint.h 2005-02-12 23:41:01.618473068 -0500 +@@ -301,7 +301,7 @@ + mp4ff_t *mp4ff_open_edit(mp4ff_callback_t *f); + #endif + void mp4ff_close(mp4ff_t *ff); +-void mp4ff_track_add(mp4ff_t *f); ++static void mp4ff_track_add(mp4ff_t *f); + int32_t parse_sub_atoms(mp4ff_t *f, const uint64_t total_size); + int32_t parse_atoms(mp4ff_t *f); + diff --git a/media/libs/faad2/faad2-2.6.1.diff b/media/libs/faad2/faad2-2.6.1.diff new file mode 100644 index 0000000..bb24616 --- /dev/null +++ b/media/libs/faad2/faad2-2.6.1.diff @@ -0,0 +1,1040 @@ +diff -urNad faad2-svn~/include/neaacdec.h faad2-svn/include/neaacdec.h +--- faad2-svn~/include/neaacdec.h 2007-11-28 23:28:14.000000000 +0000 ++++ faad2-svn/include/neaacdec.h 2007-11-28 23:29:27.000000000 +0000 +@@ -35,6 +35,7 @@ + extern "C" { + #endif /* __cplusplus */ + ++#include + + #if 1 + /* MACROS FOR BACKWARDS COMPATIBILITY */ +@@ -197,51 +198,51 @@ + unsigned char ps; + } NeAACDecFrameInfo; + +-char* NEAACDECAPI NeAACDecGetErrorMessage(unsigned char errcode); ++int8_t* NEAACDECAPI NeAACDecGetErrorMessage(uint8_t errcode); + +-unsigned long NEAACDECAPI NeAACDecGetCapabilities(void); ++uint32_t NEAACDECAPI NeAACDecGetCapabilities(void); + + NeAACDecHandle NEAACDECAPI NeAACDecOpen(void); + + NeAACDecConfigurationPtr NEAACDECAPI NeAACDecGetCurrentConfiguration(NeAACDecHandle hDecoder); + +-unsigned char NEAACDECAPI NeAACDecSetConfiguration(NeAACDecHandle hDecoder, ++uint8_t NEAACDECAPI NeAACDecSetConfiguration(NeAACDecHandle hDecoder, + NeAACDecConfigurationPtr config); + + /* Init the library based on info from the AAC file (ADTS/ADIF) */ +-long NEAACDECAPI NeAACDecInit(NeAACDecHandle hDecoder, +- unsigned char *buffer, +- unsigned long buffer_size, +- unsigned long *samplerate, +- unsigned char *channels); ++int32_t NEAACDECAPI NeAACDecInit(NeAACDecHandle hDecoder, ++ uint8_t *buffer, ++ uint32_t buffer_size, ++ uint32_t *samplerate, ++ uint8_t *channels); + + /* Init the library using a DecoderSpecificInfo */ +-char NEAACDECAPI NeAACDecInit2(NeAACDecHandle hDecoder, unsigned char *pBuffer, +- unsigned long SizeOfDecoderSpecificInfo, +- unsigned long *samplerate, unsigned char *channels); ++int8_t NEAACDECAPI NeAACDecInit2(NeAACDecHandle hDecoder, unsigned char *pBuffer, ++ uint32_t SizeOfDecoderSpecificInfo, ++ uint32_t *samplerate, uint8_t *channels); + + /* Init the library for DRM */ +-char NEAACDECAPI NeAACDecInitDRM(NeAACDecHandle *hDecoder, unsigned long samplerate, +- unsigned char channels); ++int8_t NEAACDECAPI NeAACDecInitDRM(NeAACDecHandle *hDecoder, uint32_t samplerate, ++ uint8_t channels); + +-void NEAACDECAPI NeAACDecPostSeekReset(NeAACDecHandle hDecoder, long frame); ++void NEAACDECAPI NeAACDecPostSeekReset(NeAACDecHandle hDecoder, int32_t frame); + + void NEAACDECAPI NeAACDecClose(NeAACDecHandle hDecoder); + + void* NEAACDECAPI NeAACDecDecode(NeAACDecHandle hDecoder, + NeAACDecFrameInfo *hInfo, +- unsigned char *buffer, +- unsigned long buffer_size); ++ uint8_t *buffer, ++ uint32_t buffer_size); + + void* NEAACDECAPI NeAACDecDecode2(NeAACDecHandle hDecoder, + NeAACDecFrameInfo *hInfo, +- unsigned char *buffer, +- unsigned long buffer_size, ++ uint8_t *buffer, ++ uint32_t buffer_size, + void **sample_buffer, +- unsigned long sample_buffer_size); ++ uint32_t sample_buffer_size); + +-char NEAACDECAPI NeAACDecAudioSpecificConfig(unsigned char *pBuffer, +- unsigned long buffer_size, ++int8_t NEAACDECAPI NeAACDecAudioSpecificConfig(uint8_t *pBuffer, ++ uint32_t buffer_size, + mp4AudioSpecificConfig *mp4ASC); + + #ifdef _WIN32 +diff -urNad faad2-svn~/libfaad/Makefile.am faad2-svn/libfaad/Makefile.am +--- faad2-svn~/libfaad/Makefile.am 2007-11-28 23:28:14.000000000 +0000 ++++ faad2-svn/libfaad/Makefile.am 2007-11-28 23:31:03.000000000 +0000 +@@ -1,28 +1,29 @@ + lib_LTLIBRARIES = libfaad.la + ++AM_CFLAGS = -iquote $(top_srcdir)/include + include_HEADERS = $(top_srcdir)/include/faad.h \ +- $(top_srcdir)/include/neaacdec.h ++ $(top_srcdir)/include/neaacdec.h + + libfaad_la_LDFLAGS = -lm + + libfaad_la_SOURCES = bits.c cfft.c decoder.c drc.c \ +-drm_dec.c error.c filtbank.c \ +-ic_predict.c is.c lt_predict.c mdct.c mp4.c ms.c output.c pns.c \ +-ps_dec.c ps_syntax.c \ +-pulse.c specrec.c syntax.c tns.c hcr.c huffman.c \ +-rvlc.c ssr.c ssr_fb.c ssr_ipqf.c common.c \ +-sbr_dct.c sbr_e_nf.c sbr_fbt.c sbr_hfadj.c sbr_hfgen.c \ +-sbr_huff.c sbr_qmf.c sbr_syntax.c sbr_tf_grid.c sbr_dec.c \ +-analysis.h bits.h cfft.h cfft_tab.h common.h \ +-decoder.h drc.h drm_dec.h error.h fixed.h filtbank.h \ +-huffman.h ic_predict.h iq_table.h is.h kbd_win.h lt_predict.h \ +-mdct.h mdct_tab.h mp4.h ms.h output.h pns.h ps_dec.h ps_tables.h \ +-pulse.h rvlc.h \ +-sbr_dct.h sbr_dec.h sbr_e_nf.h sbr_fbt.h sbr_hfadj.h sbr_hfgen.h \ +-sbr_huff.h sbr_noise.h sbr_qmf.h sbr_syntax.h sbr_tf_grid.h \ +-sine_win.h specrec.h ssr.h ssr_fb.h ssr_ipqf.h \ +-ssr_win.h syntax.h structs.h tns.h \ +-sbr_qmf_c.h codebook/hcb.h \ +-codebook/hcb_1.h codebook/hcb_2.h codebook/hcb_3.h codebook/hcb_4.h \ +-codebook/hcb_5.h codebook/hcb_6.h codebook/hcb_7.h codebook/hcb_8.h \ +-codebook/hcb_9.h codebook/hcb_10.h codebook/hcb_11.h codebook/hcb_sf.h +\ No newline at end of file ++ drm_dec.c error.c filtbank.c \ ++ ic_predict.c is.c lt_predict.c mdct.c mp4.c ms.c output.c pns.c \ ++ ps_dec.c ps_syntax.c \ ++ pulse.c specrec.c syntax.c tns.c hcr.c huffman.c \ ++ rvlc.c ssr.c ssr_fb.c ssr_ipqf.c common.c \ ++ sbr_dct.c sbr_e_nf.c sbr_fbt.c sbr_hfadj.c sbr_hfgen.c \ ++ sbr_huff.c sbr_qmf.c sbr_syntax.c sbr_tf_grid.c sbr_dec.c \ ++ analysis.h bits.h cfft.h cfft_tab.h common.h \ ++ decoder.h drc.h drm_dec.h error.h fixed.h filtbank.h \ ++ huffman.h ic_predict.h iq_table.h is.h kbd_win.h lt_predict.h \ ++ mdct.h mdct_tab.h mp4.h ms.h output.h pns.h ps_dec.h ps_tables.h \ ++ pulse.h rvlc.h \ ++ sbr_dct.h sbr_dec.h sbr_e_nf.h sbr_fbt.h sbr_hfadj.h sbr_hfgen.h \ ++ sbr_huff.h sbr_noise.h sbr_qmf.h sbr_syntax.h sbr_tf_grid.h \ ++ sine_win.h specrec.h ssr.h ssr_fb.h ssr_ipqf.h \ ++ ssr_win.h syntax.h structs.h tns.h \ ++ sbr_qmf_c.h codebook/hcb.h \ ++ codebook/hcb_1.h codebook/hcb_2.h codebook/hcb_3.h codebook/hcb_4.h \ ++ codebook/hcb_5.h codebook/hcb_6.h codebook/hcb_7.h codebook/hcb_8.h \ ++ codebook/hcb_9.h codebook/hcb_10.h codebook/hcb_11.h codebook/hcb_sf.h +diff -urNad faad2-svn~/libfaad/common.h faad2-svn/libfaad/common.h +--- faad2-svn~/libfaad/common.h 2007-11-28 23:28:14.000000000 +0000 ++++ faad2-svn/libfaad/common.h 2007-11-28 23:29:27.000000000 +0000 +@@ -39,6 +39,8 @@ + # include "../config.h" + #endif + ++#include "neaacdec.h" ++ + #if 1 + #define INLINE __inline + #else +@@ -210,7 +212,7 @@ + #else + # if HAVE_STDINT_H + # include +-# else ++# else /* !HAVE_STDINT_H */ + /* we need these... */ + #ifndef __TCS__ + typedef unsigned long long uint64_t; +@@ -225,7 +227,7 @@ + typedef long int32_t; + typedef short int16_t; + typedef char int8_t; +-# endif ++# endif /* !HAVE_STDINT_H */ + #endif + #if HAVE_UNISTD_H + //# include +diff -urNad faad2-svn~/libfaad/decoder.c faad2-svn/libfaad/decoder.c +--- faad2-svn~/libfaad/decoder.c 2007-11-28 23:28:14.000000000 +0000 ++++ faad2-svn/libfaad/decoder.c 2007-11-28 23:29:27.000000000 +0000 +@@ -34,7 +34,6 @@ + #include + #include + +-#include "decoder.h" + #include "mp4.h" + #include "syntax.h" + #include "error.h" +@@ -54,13 +53,13 @@ + #endif + + /* static function declarations */ +-static void* aac_frame_decode(NeAACDecHandle hDecoder, NeAACDecFrameInfo *hInfo, ++static void* aac_frame_decode(NeAACDecStruct* hDecoder, NeAACDecFrameInfo *hInfo, + uint8_t *buffer, uint32_t buffer_size, + void **sample_buffer, uint32_t sample_buffer_size); +-static void create_channel_config(NeAACDecHandle hDecoder, NeAACDecFrameInfo *hInfo); ++static void create_channel_config(NeAACDecStruct* hDecoder, NeAACDecFrameInfo *hInfo); + + +-char* NEAACDECAPI NeAACDecGetErrorMessage(uint8_t errcode) ++int8_t* NEAACDECAPI NeAACDecGetErrorMessage(uint8_t errcode) + { + if (errcode >= NUM_ERROR_MESSAGES) + return NULL; +@@ -97,9 +96,9 @@ + NeAACDecHandle NEAACDECAPI NeAACDecOpen(void) + { + uint8_t i; +- NeAACDecHandle hDecoder = NULL; ++ NeAACDecStruct* hDecoder = NULL; + +- if ((hDecoder = (NeAACDecHandle)faad_malloc(sizeof(NeAACDecStruct))) == NULL) ++ if ((hDecoder = (NeAACDecStruct*)faad_malloc(sizeof(NeAACDecStruct))) == NULL) + return NULL; + + memset(hDecoder, 0, sizeof(NeAACDecStruct)); +@@ -154,8 +153,9 @@ + return hDecoder; + } + +-NeAACDecConfigurationPtr NEAACDECAPI NeAACDecGetCurrentConfiguration(NeAACDecHandle hDecoder) ++NeAACDecConfigurationPtr NEAACDECAPI NeAACDecGetCurrentConfiguration(NeAACDecHandle hpDecoder) + { ++ NeAACDecStruct* hDecoder = (NeAACDecStruct*)hpDecoder; + if (hDecoder) + { + NeAACDecConfigurationPtr config = &(hDecoder->config); +@@ -166,9 +166,10 @@ + return NULL; + } + +-uint8_t NEAACDECAPI NeAACDecSetConfiguration(NeAACDecHandle hDecoder, ++uint8_t NEAACDECAPI NeAACDecSetConfiguration(NeAACDecHandle hpDecoder, + NeAACDecConfigurationPtr config) + { ++ NeAACDecStruct* hDecoder = (NeAACDecStruct*)hpDecoder; + if (hDecoder && config) + { + /* check if we can decode this object type */ +@@ -203,7 +204,7 @@ + } + + +-int32_t NEAACDECAPI NeAACDecInit(NeAACDecHandle hDecoder, uint8_t *buffer, ++int32_t NEAACDECAPI NeAACDecInit(NeAACDecHandle hpDecoder, uint8_t *buffer, + uint32_t buffer_size, + uint32_t *samplerate, uint8_t *channels) + { +@@ -211,7 +212,7 @@ + bitfile ld; + adif_header adif; + adts_header adts; +- ++ NeAACDecStruct* hDecoder = (NeAACDecStruct*)hpDecoder; + + if ((hDecoder == NULL) || (samplerate == NULL) || (channels == NULL)) + return -1; +@@ -310,12 +311,13 @@ + } + + /* Init the library using a DecoderSpecificInfo */ +-int8_t NEAACDECAPI NeAACDecInit2(NeAACDecHandle hDecoder, uint8_t *pBuffer, ++int8_t NEAACDECAPI NeAACDecInit2(NeAACDecHandle hpDecoder, uint8_t *pBuffer, + uint32_t SizeOfDecoderSpecificInfo, + uint32_t *samplerate, uint8_t *channels) + { + int8_t rc; + mp4AudioSpecificConfig mp4ASC; ++ NeAACDecStruct* hDecoder = (NeAACDecStruct*)hpDecoder; + + if((hDecoder == NULL) + || (pBuffer == NULL) +@@ -401,9 +403,11 @@ + } + + #ifdef DRM +-int8_t NEAACDECAPI NeAACDecInitDRM(NeAACDecHandle *hDecoder, uint32_t samplerate, ++int8_t NEAACDECAPI NeAACDecInitDRM(NeAACDecHandle *hpDecoder, uint32_t samplerate, + uint8_t channels) + { ++ NeAACDecStruct* hDecoder = (NeAACDecStruct*)hpDecoder; ++ + if (hDecoder == NULL) + return 1; /* error */ + +@@ -442,9 +446,10 @@ + } + #endif + +-void NEAACDECAPI NeAACDecClose(NeAACDecHandle hDecoder) ++void NEAACDECAPI NeAACDecClose(NeAACDecHandle hpDecoder) + { + uint8_t i; ++ NeAACDecStruct* hDecoder = (NeAACDecStruct*)hpDecoder; + + if (hDecoder == NULL) + return; +@@ -495,8 +500,10 @@ + if (hDecoder) faad_free(hDecoder); + } + +-void NEAACDECAPI NeAACDecPostSeekReset(NeAACDecHandle hDecoder, int32_t frame) ++void NEAACDECAPI NeAACDecPostSeekReset(NeAACDecHandle hpDecoder, int32_t frame) + { ++ NeAACDecStruct* hDecoder = (NeAACDecStruct*)hpDecoder; ++ + if (hDecoder) + { + hDecoder->postSeekResetFlag = 1; +@@ -506,7 +513,7 @@ + } + } + +-static void create_channel_config(NeAACDecHandle hDecoder, NeAACDecFrameInfo *hInfo) ++static void create_channel_config(NeAACDecStruct* hDecoder, NeAACDecFrameInfo *hInfo) + { + hInfo->num_front_channels = 0; + hInfo->num_side_channels = 0; +@@ -724,18 +731,22 @@ + } + } + +-void* NEAACDECAPI NeAACDecDecode(NeAACDecHandle hDecoder, ++void* NEAACDECAPI NeAACDecDecode(NeAACDecHandle hpDecoder, + NeAACDecFrameInfo *hInfo, + uint8_t *buffer, uint32_t buffer_size) + { ++ NeAACDecStruct* hDecoder = (NeAACDecStruct*)hpDecoder; ++ + return aac_frame_decode(hDecoder, hInfo, buffer, buffer_size, NULL, 0); + } + +-void* NEAACDECAPI NeAACDecDecode2(NeAACDecHandle hDecoder, ++void* NEAACDECAPI NeAACDecDecode2(NeAACDecHandle hpDecoder, + NeAACDecFrameInfo *hInfo, + uint8_t *buffer, uint32_t buffer_size, + void **sample_buffer, uint32_t sample_buffer_size) + { ++ NeAACDecStruct* hDecoder = (NeAACDecStruct*)hpDecoder; ++ + if ((sample_buffer == NULL) || (sample_buffer_size == 0)) + { + hInfo->error = 27; +@@ -750,14 +761,14 @@ + + #define ERROR_STATE_INIT 6 + +-static void conceal_output(NeAACDecHandle hDecoder, uint16_t frame_len, ++static void conceal_output(NeAACDecStruct* hDecoder, uint16_t frame_len, + uint8_t out_ch, void *sample_buffer) + { + return; + } + #endif + +-static void* aac_frame_decode(NeAACDecHandle hDecoder, NeAACDecFrameInfo *hInfo, ++static void* aac_frame_decode(NeAACDecStruct* hDecoder, NeAACDecFrameInfo *hInfo, + uint8_t *buffer, uint32_t buffer_size, + void **sample_buffer2, uint32_t sample_buffer_size) + { +diff -urNad faad2-svn~/libfaad/decoder.h faad2-svn/libfaad/decoder.h +--- faad2-svn~/libfaad/decoder.h 2007-11-28 23:28:14.000000000 +0000 ++++ faad2-svn/libfaad/decoder.h 1970-01-01 01:00:00.000000000 +0100 +@@ -1,124 +0,0 @@ +-/* +-** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding +-** Copyright (C) 2003-2005 M. Bakker, Nero AG, http://www.nero.com +-** +-** This program is free software; you can redistribute it and/or modify +-** it under the terms of the GNU General Public License as published by +-** the Free Software Foundation; either version 2 of the License, or +-** (at your option) any later version. +-** +-** This program 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 General Public License for more details. +-** +-** You should have received a copy of the GNU General Public License +-** along with this program; if not, write to the Free Software +-** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +-** +-** Any non-GPL usage of this software or parts of this software is strictly +-** forbidden. +-** +-** The "appropriate copyright message" mentioned in section 2c of the GPLv2 +-** must read: "Code from FAAD2 is copyright (c) Nero AG, www.nero.com" +-** +-** Commercial non-GPL licensing of this software is possible. +-** For more info contact Nero AG through Mpeg4AAClicense@nero.com. +-** +-** $Id: decoder.h,v 1.48 2007/11/01 12:33:30 menno Exp $ +-**/ +- +-#ifndef __DECODER_H__ +-#define __DECODER_H__ +- +-#ifdef __cplusplus +-extern "C" { +-#endif +- +-#ifdef _WIN32 +- #pragma pack(push, 8) +- #ifndef NEAACDECAPI +- #define NEAACDECAPI __cdecl +- #endif +-#else +- #ifndef NEAACDECAPI +- #define NEAACDECAPI +- #endif +-#endif +- +- +-/* library output formats */ +-#define FAAD_FMT_16BIT 1 +-#define FAAD_FMT_24BIT 2 +-#define FAAD_FMT_32BIT 3 +-#define FAAD_FMT_FLOAT 4 +-#define FAAD_FMT_FIXED FAAD_FMT_FLOAT +-#define FAAD_FMT_DOUBLE 5 +- +-#define LC_DEC_CAP (1<<0) +-#define MAIN_DEC_CAP (1<<1) +-#define LTP_DEC_CAP (1<<2) +-#define LD_DEC_CAP (1<<3) +-#define ERROR_RESILIENCE_CAP (1<<4) +-#define FIXED_POINT_CAP (1<<5) +- +-#define FRONT_CHANNEL_CENTER (1) +-#define FRONT_CHANNEL_LEFT (2) +-#define FRONT_CHANNEL_RIGHT (3) +-#define SIDE_CHANNEL_LEFT (4) +-#define SIDE_CHANNEL_RIGHT (5) +-#define BACK_CHANNEL_LEFT (6) +-#define BACK_CHANNEL_RIGHT (7) +-#define BACK_CHANNEL_CENTER (8) +-#define LFE_CHANNEL (9) +-#define UNKNOWN_CHANNEL (0) +- +-char* NEAACDECAPI NeAACDecGetErrorMessage(uint8_t errcode); +- +-uint32_t NEAACDECAPI NeAACDecGetCapabilities(void); +- +-NeAACDecHandle NEAACDECAPI NeAACDecOpen(void); +- +-NeAACDecConfigurationPtr NEAACDECAPI NeAACDecGetCurrentConfiguration(NeAACDecHandle hDecoder); +- +-uint8_t NEAACDECAPI NeAACDecSetConfiguration(NeAACDecHandle hDecoder, +- NeAACDecConfigurationPtr config); +- +-/* Init the library based on info from the AAC file (ADTS/ADIF) */ +-int32_t NEAACDECAPI NeAACDecInit(NeAACDecHandle hDecoder, +- uint8_t *buffer, +- uint32_t buffer_size, +- uint32_t *samplerate, +- uint8_t *channels); +- +-/* Init the library using a DecoderSpecificInfo */ +-int8_t NEAACDECAPI NeAACDecInit2(NeAACDecHandle hDecoder, uint8_t *pBuffer, +- uint32_t SizeOfDecoderSpecificInfo, +- uint32_t *samplerate, uint8_t *channels); +- +-/* Init the library for DRM */ +-int8_t NEAACDECAPI NeAACDecInitDRM(NeAACDecHandle *hDecoder, uint32_t samplerate, +- uint8_t channels); +- +-void NEAACDECAPI NeAACDecClose(NeAACDecHandle hDecoder); +- +-void NEAACDECAPI NeAACDecPostSeekReset(NeAACDecHandle hDecoder, int32_t frame); +- +-void* NEAACDECAPI NeAACDecDecode(NeAACDecHandle hDecoder, +- NeAACDecFrameInfo *hInfo, +- uint8_t *buffer, +- uint32_t buffer_size); +- +-void* NEAACDECAPI NeAACDecDecode2(NeAACDecHandle hDecoder, +- NeAACDecFrameInfo *hInfo, +- uint8_t *buffer, uint32_t buffer_size, +- void **sample_buffer, uint32_t sample_buffer_size); +- +-#ifdef _WIN32 +- #pragma pack(pop) +-#endif +- +-#ifdef __cplusplus +-} +-#endif +-#endif +diff -urNad faad2-svn~/libfaad/filtbank.c faad2-svn/libfaad/filtbank.c +--- faad2-svn~/libfaad/filtbank.c 2007-11-28 23:28:14.000000000 +0000 ++++ faad2-svn/libfaad/filtbank.c 2007-11-28 23:29:27.000000000 +0000 +@@ -40,7 +40,6 @@ + #endif + + #include "filtbank.h" +-#include "decoder.h" + #include "syntax.h" + #include "kbd_win.h" + #include "sine_win.h" +diff -urNad faad2-svn~/libfaad/hcr.c faad2-svn/libfaad/hcr.c +--- faad2-svn~/libfaad/hcr.c 2007-11-28 23:28:14.000000000 +0000 ++++ faad2-svn/libfaad/hcr.c 2007-11-28 23:29:27.000000000 +0000 +@@ -214,7 +214,7 @@ + codeword[index].bits.len = 0; + } + +-uint8_t reordered_spectral_data(NeAACDecHandle hDecoder, ic_stream *ics, ++uint8_t reordered_spectral_data(NeAACDecStruct* hDecoder, ic_stream *ics, + bitfile *ld, int16_t *spectral_data) + { + uint16_t PCWs_done; +diff -urNad faad2-svn~/libfaad/mp4.h faad2-svn/libfaad/mp4.h +--- faad2-svn~/libfaad/mp4.h 2007-11-28 23:28:14.000000000 +0000 ++++ faad2-svn/libfaad/mp4.h 2007-11-28 23:29:27.000000000 +0000 +@@ -35,11 +35,7 @@ + extern "C" { + #endif + +-#include "decoder.h" +- +-int8_t NEAACDECAPI NeAACDecAudioSpecificConfig(uint8_t *pBuffer, +- uint32_t buffer_size, +- mp4AudioSpecificConfig *mp4ASC); ++#include "neaacdec.h" + + int8_t AudioSpecificConfig2(uint8_t *pBuffer, + uint32_t buffer_size, +diff -urNad faad2-svn~/libfaad/output.c faad2-svn/libfaad/output.c +--- faad2-svn~/libfaad/output.c 2007-11-28 23:28:14.000000000 +0000 ++++ faad2-svn/libfaad/output.c 2007-11-28 23:29:27.000000000 +0000 +@@ -32,7 +32,6 @@ + #include "structs.h" + + #include "output.h" +-#include "decoder.h" + + #ifndef FIXED_POINT + +@@ -87,7 +86,7 @@ + + #define CONV(a,b) ((a<<1)|(b&0x1)) + +-static void to_PCM_16bit(NeAACDecHandle hDecoder, real_t **input, ++static void to_PCM_16bit(NeAACDecStruct* hDecoder, real_t **input, + uint8_t channels, uint16_t frame_len, + int16_t **sample_buffer) + { +@@ -152,7 +151,7 @@ + } + } + +-static void to_PCM_24bit(NeAACDecHandle hDecoder, real_t **input, ++static void to_PCM_24bit(NeAACDecStruct* hDecoder, real_t **input, + uint8_t channels, uint16_t frame_len, + int32_t **sample_buffer) + { +@@ -222,7 +221,7 @@ + } + } + +-static void to_PCM_32bit(NeAACDecHandle hDecoder, real_t **input, ++static void to_PCM_32bit(NeAACDecStruct* hDecoder, real_t **input, + uint8_t channels, uint16_t frame_len, + int32_t **sample_buffer) + { +@@ -292,7 +291,7 @@ + } + } + +-static void to_PCM_float(NeAACDecHandle hDecoder, real_t **input, ++static void to_PCM_float(NeAACDecStruct* hDecoder, real_t **input, + uint8_t channels, uint16_t frame_len, + float32_t **sample_buffer) + { +@@ -344,7 +343,7 @@ + } + } + +-static void to_PCM_double(NeAACDecHandle hDecoder, real_t **input, ++static void to_PCM_double(NeAACDecStruct* hDecoder, real_t **input, + uint8_t channels, uint16_t frame_len, + double **sample_buffer) + { +@@ -396,7 +395,7 @@ + } + } + +-void *output_to_PCM(NeAACDecHandle hDecoder, ++void *output_to_PCM(NeAACDecStruct* hDecoder, + real_t **input, void *sample_buffer, uint8_t channels, + uint16_t frame_len, uint8_t format) + { +@@ -466,7 +465,7 @@ + } + } + +-void* output_to_PCM(NeAACDecHandle hDecoder, ++void* output_to_PCM(NeAACDecStruct* hDecoder, + real_t **input, void *sample_buffer, uint8_t channels, + uint16_t frame_len, uint8_t format) + { +diff -urNad faad2-svn~/libfaad/output.h faad2-svn/libfaad/output.h +--- faad2-svn~/libfaad/output.h 2007-11-28 23:28:14.000000000 +0000 ++++ faad2-svn/libfaad/output.h 2007-11-28 23:29:27.000000000 +0000 +@@ -35,7 +35,7 @@ + extern "C" { + #endif + +-void* output_to_PCM(NeAACDecHandle hDecoder, ++void* output_to_PCM(NeAACDecStruct* hDecoder, + real_t **input, + void *samplebuffer, + uint8_t channels, +diff -urNad faad2-svn~/libfaad/specrec.c faad2-svn/libfaad/specrec.c +--- faad2-svn~/libfaad/specrec.c 2007-11-28 23:28:14.000000000 +0000 ++++ faad2-svn/libfaad/specrec.c 2007-11-28 23:29:27.000000000 +0000 +@@ -58,7 +58,7 @@ + + + /* static function declarations */ +-static uint8_t quant_to_spec(NeAACDecHandle hDecoder, ++static uint8_t quant_to_spec(NeAACDecStruct* hDecoder, + ic_stream *ics, int16_t *quant_data, + real_t *spec_data, uint16_t frame_len); + +@@ -300,10 +300,9 @@ + in section named section. This offset depends on window_sequence and + scale_factor_grouping and is needed to decode the spectral_data(). + */ +-uint8_t window_grouping_info(NeAACDecHandle hDecoder, ic_stream *ics) ++uint8_t window_grouping_info(NeAACDecStruct* hDecoder, ic_stream *ics) + { + uint8_t i, g; +- + uint8_t sf_index = hDecoder->sf_index; + + switch (ics->window_sequence) { +@@ -546,7 +545,7 @@ + - Within a scalefactor window band, the coefficients are in ascending + spectral order. + */ +-static uint8_t quant_to_spec(NeAACDecHandle hDecoder, ++static uint8_t quant_to_spec(NeAACDecStruct* hDecoder, + ic_stream *ics, int16_t *quant_data, + real_t *spec_data, uint16_t frame_len) + { +@@ -680,7 +679,7 @@ + return error; + } + +-static uint8_t allocate_single_channel(NeAACDecHandle hDecoder, uint8_t channel, ++static uint8_t allocate_single_channel(NeAACDecStruct* hDecoder, uint8_t channel, + uint8_t output_channels) + { + int mul = 1; +@@ -781,7 +780,7 @@ + return 0; + } + +-static uint8_t allocate_channel_pair(NeAACDecHandle hDecoder, ++static uint8_t allocate_channel_pair(NeAACDecStruct* hDecoder, + uint8_t channel, uint8_t paired_channel) + { + int mul = 1; +@@ -886,7 +885,7 @@ + return 0; + } + +-uint8_t reconstruct_single_channel(NeAACDecHandle hDecoder, ic_stream *ics, ++uint8_t reconstruct_single_channel(NeAACDecStruct* hDecoder, ic_stream *ics, + element *sce, int16_t *spec_data) + { + uint8_t retval; +@@ -1096,7 +1095,7 @@ + return 0; + } + +-uint8_t reconstruct_channel_pair(NeAACDecHandle hDecoder, ic_stream *ics1, ic_stream *ics2, ++uint8_t reconstruct_channel_pair(NeAACDecStruct* hDecoder, ic_stream *ics1, ic_stream *ics2, + element *cpe, int16_t *spec_data1, int16_t *spec_data2) + { + uint8_t retval; +@@ -1106,6 +1105,7 @@ + #ifdef PROFILE + int64_t count = faad_get_ts(); + #endif ++ + if (hDecoder->element_alloced[hDecoder->fr_ch_ele] == 0) + { + retval = allocate_channel_pair(hDecoder, cpe->channel, (uint8_t)cpe->paired_channel); +diff -urNad faad2-svn~/libfaad/specrec.h faad2-svn/libfaad/specrec.h +--- faad2-svn~/libfaad/specrec.h 2007-11-28 23:28:14.000000000 +0000 ++++ faad2-svn/libfaad/specrec.h 2007-11-28 23:29:27.000000000 +0000 +@@ -37,10 +37,10 @@ + + #include "syntax.h" + +-uint8_t window_grouping_info(NeAACDecHandle hDecoder, ic_stream *ics); +-uint8_t reconstruct_channel_pair(NeAACDecHandle hDecoder, ic_stream *ics1, ic_stream *ics2, ++uint8_t window_grouping_info(NeAACDecStruct* hDecoder, ic_stream *ics); ++uint8_t reconstruct_channel_pair(NeAACDecStruct* hDecoder, ic_stream *ics1, ic_stream *ics2, + element *cpe, int16_t *spec_data1, int16_t *spec_data2); +-uint8_t reconstruct_single_channel(NeAACDecHandle hDecoder, ic_stream *ics, element *sce, ++uint8_t reconstruct_single_channel(NeAACDecStruct* hDecoder, ic_stream *ics, element *sce, + int16_t *spec_data); + + #ifdef __cplusplus +diff -urNad faad2-svn~/libfaad/structs.h faad2-svn/libfaad/structs.h +--- faad2-svn~/libfaad/structs.h 2007-11-28 23:28:14.000000000 +0000 ++++ faad2-svn/libfaad/structs.h 2007-11-28 23:29:27.000000000 +0000 +@@ -312,67 +312,6 @@ + ic_stream ics2; + } element; /* syntax element (SCE, CPE, LFE) */ + +-typedef struct mp4AudioSpecificConfig +-{ +- /* Audio Specific Info */ +- /*uint8_t*/ unsigned char objectTypeIndex; +- /*uint8_t*/ unsigned char samplingFrequencyIndex; +- /*uint32_t*/ unsigned long samplingFrequency; +- /*uint8_t*/ unsigned char channelsConfiguration; +- +- /* GA Specific Info */ +- /*uint8_t*/ unsigned char frameLengthFlag; +- /*uint8_t*/ unsigned char dependsOnCoreCoder; +- /*uint16_t*/ unsigned short coreCoderDelay; +- /*uint8_t*/ unsigned char extensionFlag; +- /*uint8_t*/ unsigned char aacSectionDataResilienceFlag; +- /*uint8_t*/ unsigned char aacScalefactorDataResilienceFlag; +- /*uint8_t*/ unsigned char aacSpectralDataResilienceFlag; +- /*uint8_t*/ unsigned char epConfig; +- +- /*uint8_t*/ char sbr_present_flag; +- /*uint8_t*/ char forceUpSampling; +- /*uint8_t*/ char downSampledSBR; +-} mp4AudioSpecificConfig; +- +-typedef struct NeAACDecConfiguration +-{ +- /*uint8_t*/ unsigned char defObjectType; +- /*uint32_t*/ unsigned long defSampleRate; +- /*uint8_t*/ unsigned char outputFormat; +- /*uint8_t*/ unsigned char downMatrix; +- /*uint8_t*/ unsigned char useOldADTSFormat; +- /*uint8_t*/ unsigned char dontUpSampleImplicitSBR; +-} NeAACDecConfiguration, *NeAACDecConfigurationPtr; +- +-typedef struct NeAACDecFrameInfo +-{ +- /*uint32_t*/ unsigned long bytesconsumed; +- /*uint32_t*/ unsigned long samples; +- /*uint8_t*/ unsigned char channels; +- /*uint8_t*/ unsigned char error; +- /*uint32_t*/ unsigned long samplerate; +- +- /* SBR: 0: off, 1: on; normal, 2: on; downsampled */ +- /*uint8_t*/ unsigned char sbr; +- +- /* MPEG-4 ObjectType */ +- /*uint8_t*/ unsigned char object_type; +- +- /* AAC header type; MP4 will be signalled as RAW also */ +- /*uint8_t*/ unsigned char header_type; +- +- /* multichannel configuration */ +- /*uint8_t*/ unsigned char num_front_channels; +- /*uint8_t*/ unsigned char num_side_channels; +- /*uint8_t*/ unsigned char num_back_channels; +- /*uint8_t*/ unsigned char num_lfe_channels; +- /*uint8_t*/ unsigned char channel_position[MAX_CHANNELS]; +- +- /* PS: 0: off, 1: on */ +- /*uint8_t*/ unsigned char ps; +-} NeAACDecFrameInfo; +- + typedef struct + { + uint8_t adts_header_present; +@@ -477,9 +416,7 @@ + int64_t requant_cycles; + #endif + const unsigned char *cmes; +-} NeAACDecStruct, *NeAACDecHandle; +- +- ++} NeAACDecStruct; + + #ifdef __cplusplus + } +diff -urNad faad2-svn~/libfaad/syntax.c faad2-svn/libfaad/syntax.c +--- faad2-svn~/libfaad/syntax.c 2007-11-28 23:28:14.000000000 +0000 ++++ faad2-svn/libfaad/syntax.c 2007-11-28 23:29:27.000000000 +0000 +@@ -38,7 +38,6 @@ + #include + #include + +-#include "decoder.h" + #include "syntax.h" + #include "specrec.h" + #include "huffman.h" +@@ -55,51 +54,51 @@ + + + /* static function declarations */ +-static void decode_sce_lfe(NeAACDecHandle hDecoder, NeAACDecFrameInfo *hInfo, bitfile *ld, ++static void decode_sce_lfe(NeAACDecStruct* hDecoder, NeAACDecFrameInfo *hInfo, bitfile *ld, + uint8_t id_syn_ele); +-static void decode_cpe(NeAACDecHandle hDecoder, NeAACDecFrameInfo *hInfo, bitfile *ld, ++static void decode_cpe(NeAACDecStruct* hDecoder, NeAACDecFrameInfo *hInfo, bitfile *ld, + uint8_t id_syn_ele); +-static uint8_t single_lfe_channel_element(NeAACDecHandle hDecoder, bitfile *ld, ++static uint8_t single_lfe_channel_element(NeAACDecStruct* hDecoder, bitfile *ld, + uint8_t channel, uint8_t *tag); +-static uint8_t channel_pair_element(NeAACDecHandle hDecoder, bitfile *ld, ++static uint8_t channel_pair_element(NeAACDecStruct* hDecoder, bitfile *ld, + uint8_t channel, uint8_t *tag); + #ifdef COUPLING_DEC +-static uint8_t coupling_channel_element(NeAACDecHandle hDecoder, bitfile *ld); ++static uint8_t coupling_channel_element(NeAACDecStruct* hDecoder, bitfile *ld); + #endif +-static uint16_t data_stream_element(NeAACDecHandle hDecoder, bitfile *ld); ++static uint16_t data_stream_element(NeAACDecStruct* hDecoder, bitfile *ld); + static uint8_t program_config_element(program_config *pce, bitfile *ld); +-static uint8_t fill_element(NeAACDecHandle hDecoder, bitfile *ld, drc_info *drc ++static uint8_t fill_element(NeAACDecStruct* hDecoder, bitfile *ld, drc_info *drc + #ifdef SBR_DEC + ,uint8_t sbr_ele + #endif + ); +-static uint8_t individual_channel_stream(NeAACDecHandle hDecoder, element *ele, ++static uint8_t individual_channel_stream(NeAACDecStruct* hDecoder, element *ele, + bitfile *ld, ic_stream *ics, uint8_t scal_flag, + int16_t *spec_data); +-static uint8_t ics_info(NeAACDecHandle hDecoder, ic_stream *ics, bitfile *ld, ++static uint8_t ics_info(NeAACDecStruct* hDecoder, ic_stream *ics, bitfile *ld, + uint8_t common_window); +-static uint8_t section_data(NeAACDecHandle hDecoder, ic_stream *ics, bitfile *ld); +-static uint8_t scale_factor_data(NeAACDecHandle hDecoder, ic_stream *ics, bitfile *ld); ++static uint8_t section_data(NeAACDecStruct* hDecoder, ic_stream *ics, bitfile *ld); ++static uint8_t scale_factor_data(NeAACDecStruct* hDecoder, ic_stream *ics, bitfile *ld); + #ifdef SSR_DEC + static void gain_control_data(bitfile *ld, ic_stream *ics); + #endif +-static uint8_t spectral_data(NeAACDecHandle hDecoder, ic_stream *ics, bitfile *ld, ++static uint8_t spectral_data(NeAACDecStruct* hDecoder, ic_stream *ics, bitfile *ld, + int16_t *spectral_data); + static uint16_t extension_payload(bitfile *ld, drc_info *drc, uint16_t count); + static uint8_t pulse_data(ic_stream *ics, pulse_info *pul, bitfile *ld); + static void tns_data(ic_stream *ics, tns_info *tns, bitfile *ld); + #ifdef LTP_DEC +-static uint8_t ltp_data(NeAACDecHandle hDecoder, ic_stream *ics, ltp_info *ltp, bitfile *ld); ++static uint8_t ltp_data(NeAACDecStruct* hDecoder, ic_stream *ics, ltp_info *ltp, bitfile *ld); + #endif + static uint8_t adts_fixed_header(adts_header *adts, bitfile *ld); + static void adts_variable_header(adts_header *adts, bitfile *ld); + static void adts_error_check(adts_header *adts, bitfile *ld); + static uint8_t dynamic_range_info(bitfile *ld, drc_info *drc); + static uint8_t excluded_channels(bitfile *ld, drc_info *drc); +-static uint8_t side_info(NeAACDecHandle hDecoder, element *ele, ++static uint8_t side_info(NeAACDecStruct* hDecoder, element *ele, + bitfile *ld, ic_stream *ics, uint8_t scal_flag); + #ifdef DRM +-static int8_t DRM_aac_scalable_main_header(NeAACDecHandle hDecoder, ic_stream *ics1, ic_stream *ics2, ++static int8_t DRM_aac_scalable_main_header(NeAACDecStruct* hDecoder, ic_stream *ics1, ic_stream *ics2, + bitfile *ld, uint8_t this_layer_stereo); + #endif + +@@ -321,7 +320,7 @@ + return 0; + } + +-static void decode_sce_lfe(NeAACDecHandle hDecoder, ++static void decode_sce_lfe(NeAACDecStruct* hDecoder, + NeAACDecFrameInfo *hInfo, bitfile *ld, + uint8_t id_syn_ele) + { +@@ -366,7 +365,7 @@ + hDecoder->fr_ch_ele++; + } + +-static void decode_cpe(NeAACDecHandle hDecoder, NeAACDecFrameInfo *hInfo, bitfile *ld, ++static void decode_cpe(NeAACDecStruct* hDecoder, NeAACDecFrameInfo *hInfo, bitfile *ld, + uint8_t id_syn_ele) + { + uint8_t channels = hDecoder->fr_channels; +@@ -414,7 +413,7 @@ + hDecoder->fr_ch_ele++; + } + +-void raw_data_block(NeAACDecHandle hDecoder, NeAACDecFrameInfo *hInfo, ++void raw_data_block(NeAACDecStruct* hDecoder, NeAACDecFrameInfo *hInfo, + bitfile *ld, program_config *pce, drc_info *drc) + { + uint8_t id_syn_ele; +@@ -584,7 +583,7 @@ + + /* Table 4.4.4 and */ + /* Table 4.4.9 */ +-static uint8_t single_lfe_channel_element(NeAACDecHandle hDecoder, bitfile *ld, ++static uint8_t single_lfe_channel_element(NeAACDecStruct* hDecoder, bitfile *ld, + uint8_t channel, uint8_t *tag) + { + uint8_t retval = 0; +@@ -631,7 +630,7 @@ + } + + /* Table 4.4.5 */ +-static uint8_t channel_pair_element(NeAACDecHandle hDecoder, bitfile *ld, ++static uint8_t channel_pair_element(NeAACDecStruct* hDecoder, bitfile *ld, + uint8_t channels, uint8_t *tag) + { + ALIGN int16_t spec_data1[1024] = {0}; +@@ -761,7 +760,7 @@ + } + + /* Table 4.4.6 */ +-static uint8_t ics_info(NeAACDecHandle hDecoder, ic_stream *ics, bitfile *ld, ++static uint8_t ics_info(NeAACDecStruct* hDecoder, ic_stream *ics, bitfile *ld, + uint8_t common_window) + { + uint8_t retval = 0; +@@ -912,7 +911,7 @@ + + #ifdef COUPLING_DEC + /* Table 4.4.8: Currently just for skipping the bits... */ +-static uint8_t coupling_channel_element(NeAACDecHandle hDecoder, bitfile *ld) ++static uint8_t coupling_channel_element(NeAACDecStruct* hDecoder, bitfile *ld) + { + uint8_t c, result = 0; + uint8_t ind_sw_cce_flag = 0; +@@ -1005,7 +1004,7 @@ + #endif + + /* Table 4.4.10 */ +-static uint16_t data_stream_element(NeAACDecHandle hDecoder, bitfile *ld) ++static uint16_t data_stream_element(NeAACDecStruct* hDecoder, bitfile *ld) + { + uint8_t byte_aligned; + uint16_t i, count; +@@ -1034,7 +1033,7 @@ + } + + /* Table 4.4.11 */ +-static uint8_t fill_element(NeAACDecHandle hDecoder, bitfile *ld, drc_info *drc ++static uint8_t fill_element(NeAACDecStruct* hDecoder, bitfile *ld, drc_info *drc + #ifdef SBR_DEC + ,uint8_t sbr_ele + #endif +@@ -1213,7 +1212,7 @@ + + #ifdef DRM + /* Table 4.4.13 ASME */ +-void DRM_aac_scalable_main_element(NeAACDecHandle hDecoder, NeAACDecFrameInfo *hInfo, ++void DRM_aac_scalable_main_element(NeAACDecStruct* hDecoder, NeAACDecFrameInfo *hInfo, + bitfile *ld, program_config *pce, drc_info *drc) + { + uint8_t retval = 0; +@@ -1423,7 +1422,7 @@ + } + + /* Table 4.4.15 */ +-static int8_t DRM_aac_scalable_main_header(NeAACDecHandle hDecoder, ic_stream *ics1, ic_stream *ics2, ++static int8_t DRM_aac_scalable_main_header(NeAACDecStruct* hDecoder, ic_stream *ics1, ic_stream *ics2, + bitfile *ld, uint8_t this_layer_stereo) + { + uint8_t retval = 0; +@@ -1491,7 +1490,7 @@ + } + #endif + +-static uint8_t side_info(NeAACDecHandle hDecoder, element *ele, ++static uint8_t side_info(NeAACDecStruct* hDecoder, element *ele, + bitfile *ld, ic_stream *ics, uint8_t scal_flag) + { + uint8_t result; +@@ -1584,7 +1583,7 @@ + } + + /* Table 4.4.24 */ +-static uint8_t individual_channel_stream(NeAACDecHandle hDecoder, element *ele, ++static uint8_t individual_channel_stream(NeAACDecStruct* hDecoder, element *ele, + bitfile *ld, ic_stream *ics, uint8_t scal_flag, + int16_t *spec_data) + { +@@ -1644,7 +1643,7 @@ + } + + /* Table 4.4.25 */ +-static uint8_t section_data(NeAACDecHandle hDecoder, ic_stream *ics, bitfile *ld) ++static uint8_t section_data(NeAACDecStruct* hDecoder, ic_stream *ics, bitfile *ld) + { + uint8_t g; + uint8_t sect_esc_val, sect_bits; +@@ -1891,7 +1890,7 @@ + } + + /* Table 4.4.26 */ +-static uint8_t scale_factor_data(NeAACDecHandle hDecoder, ic_stream *ics, bitfile *ld) ++static uint8_t scale_factor_data(NeAACDecStruct* hDecoder, ic_stream *ics, bitfile *ld) + { + uint8_t ret = 0; + #ifdef PROFILE +@@ -1999,7 +1998,7 @@ + + #ifdef LTP_DEC + /* Table 4.4.28 */ +-static uint8_t ltp_data(NeAACDecHandle hDecoder, ic_stream *ics, ltp_info *ltp, bitfile *ld) ++static uint8_t ltp_data(NeAACDecStruct* hDecoder, ic_stream *ics, ltp_info *ltp, bitfile *ld) + { + uint8_t sfb, w; + +@@ -2062,7 +2061,7 @@ + #endif + + /* Table 4.4.29 */ +-static uint8_t spectral_data(NeAACDecHandle hDecoder, ic_stream *ics, bitfile *ld, ++static uint8_t spectral_data(NeAACDecStruct* hDecoder, ic_stream *ics, bitfile *ld, + int16_t *spectral_data) + { + int8_t i; +diff -urNad faad2-svn~/libfaad/syntax.h faad2-svn/libfaad/syntax.h +--- faad2-svn~/libfaad/syntax.h 2007-11-28 23:28:14.000000000 +0000 ++++ faad2-svn/libfaad/syntax.h 2007-11-28 23:29:27.000000000 +0000 +@@ -35,7 +35,6 @@ + extern "C" { + #endif + +-#include "decoder.h" + #include "bits.h" + + #define MAIN 1 +@@ -113,12 +112,12 @@ + + uint8_t adts_frame(adts_header *adts, bitfile *ld); + void get_adif_header(adif_header *adif, bitfile *ld); +-void raw_data_block(NeAACDecHandle hDecoder, NeAACDecFrameInfo *hInfo, ++void raw_data_block(NeAACDecStruct* hDecoder, NeAACDecFrameInfo *hInfo, + bitfile *ld, program_config *pce, drc_info *drc); +-uint8_t reordered_spectral_data(NeAACDecHandle hDecoder, ic_stream *ics, bitfile *ld, ++uint8_t reordered_spectral_data(NeAACDecStruct* hDecoder, ic_stream *ics, bitfile *ld, + int16_t *spectral_data); + #ifdef DRM +-void DRM_aac_scalable_main_element(NeAACDecHandle hDecoder, NeAACDecFrameInfo *hInfo, ++void DRM_aac_scalable_main_element(NeAACDecStruct* hDecoder, NeAACDecFrameInfo *hInfo, + bitfile *ld, program_config *pce, drc_info *drc); + #endif + diff --git a/media/libs/faad2/faad2.mkbuild b/media/libs/faad2/faad2.mkbuild new file mode 100644 index 0000000..a369a1d --- /dev/null +++ b/media/libs/faad2/faad2.mkbuild @@ -0,0 +1,102 @@ +# +# This mkbuild is free software; you can redistribute it and/or modify it under the +# terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or any later version. +# +# This mkbuild 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., 59 Temple +# Place - Suite 330, Boston, MA 02111-1307, USA +# + +#-------------------- +# Personal variables +#-------------------- +# Author name +[[SLACKBUILD AUTHOR]]="Silvio Rhatto" + +# Initials author name +[[SLACKBUILD AUTHOR INITIALS]]="rha" + +#------------------------ +# Construction Variables +#------------------------ +# +# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... ) +[[DOWNLOAD FOLDER URL]]="http://downloads.sourceforge.net/faac/faad2-2.6.1.tar.gz" + +# +# Other configure arguments +[[OTHER CONFIGURE ARGS]]="--with-docdir=/usr/doc/$PKG_NAME-$VERSION" + +# +# Documentation files. Null ("") to auto-set commom doc-files: +[[DOCUMENTATION FILES]]="AUTHORS COPYING ChangeLog INSTALL NEWS README TODO" + +# SlackBuild model +[[SLACKBUILD MODEL]]="generic.mkSlackBuild" + +# SlackBuild PATH in Slack.Sarava tree +[[SLACKBUILD PATH]]="media/libs/faad2" + +#--------------------- +# SlackBuild Sections +#--------------------- +# Default sections: +# head, set_variables, slkflags, start_structure, untar_source, +# make_package, install_package, build_package +# Warning: don't remove '#>>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +faad2: faad2 (faad2 is a free Advanced Audio Decoder) +faad2: +faad2: Faad2 is a free Advanced Audio Decoder. +faad2: +faad2: +faad2: +faad2: +faad2: +faad2: +faad2: http://www.audiocoding.com/ +faad2: +# + # Configure ++autoreconf -vif +#p< + diff --git a/media/libs/glitz/glitz.mkbuild b/media/libs/glitz/glitz.mkbuild new file mode 100644 index 0000000..827441c --- /dev/null +++ b/media/libs/glitz/glitz.mkbuild @@ -0,0 +1,92 @@ +# +# This mkbuild is free software; you can redistribute it and/or modify it under the +# terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or any later version. +# +# This mkbuild 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., 59 Temple +# Place - Suite 330, Boston, MA 02111-1307, USA +# + +#-------------------- +# Personal variables +#-------------------- +# Author name +[[SLACKBUILD AUTHOR]]="Silvio Rhatto" + +# Initials author name +[[SLACKBUILD AUTHOR INITIALS]]="rha" + +#------------------------ +# Construction Variables +#------------------------ +# +# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... ) +[[DOWNLOAD FOLDER URL]]="http://cairographics.org/snapshots/glitz-0.5.6.tar.gz" + +# +# Documentation files. Null ("") to auto-set commom doc-files: +[[DOCUMENTATION FILES]]="AUTHORS COPYING ChangeLog NEWS README TODO" + +# SlackBuild model +[[SLACKBUILD MODEL]]="generic.mkSlackBuild" + +# SlackBuild PATH in Slack.Sarava tree +[[SLACKBUILD PATH]]="media/libs/glitz" + +#--------------------- +# SlackBuild Sections +#--------------------- +# Default sections: +# head, set_variables, slkflags, start_structure, untar_source, +# make_package, install_package, build_package +# Warning: don't remove '#>>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +glitz: glitz +glitz: +glitz: Glitz is an OpenGL image compositing library. Glitz provides +glitz: Porter/Duff compositing of images and implicit mask generation for +glitz: geometric primitives including trapezoids, triangles, and rectangles. +glitz: +glitz: +glitz: +glitz: +glitz: +glitz: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>configure + +./configure --prefix="$PREFIX" --libdir="$LIBDIR" || exit $ERROR_CONF + +#slackdesc +gst-ffmpeg: gst-ffmpeg (ffmpeg plugin for gstreamer) +gst-ffmpeg: +gst-ffmpeg: FFmpeg plugin for gstreamer. +gst-ffmpeg: +gst-ffmpeg: +gst-ffmpeg: +gst-ffmpeg: +gst-ffmpeg: +gst-ffmpeg: +gst-ffmpeg: http://gstreamer.freedesktop.org/ +gst-ffmpeg: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +gst-plugins-bad: gst-plugins-bad (plugins for gstreamer) +gst-plugins-bad: +gst-plugins-bad: Free Software plugins for gstreamer with problems +gst-plugins-bad: related to quality. +gst-plugins-bad: +gst-plugins-bad: +gst-plugins-bad: +gst-plugins-bad: +gst-plugins-bad: +gst-plugins-bad: http://gstreamer.freedesktop.org/ +gst-plugins-bad: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +gst-plugins-base: gst-plugins-base (plugins for gstreamer) +gst-plugins-base: +gst-plugins-base: Base plugins for gstreamer, you need this to get gstreamer +gst-plugins-base: working. +gst-plugins-base: +gst-plugins-base: +gst-plugins-base: +gst-plugins-base: +gst-plugins-base: +gst-plugins-base: http://gstreamer.freedesktop.org/ +gst-plugins-base: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +gst-plugins-good: gst-plugins-good (plugins for gstreamer) +gst-plugins-good: +gst-plugins-good: Free Software plugins for gstreamer with no problems +gst-plugins-good: related to patents. +gst-plugins-good: +gst-plugins-good: +gst-plugins-good: +gst-plugins-good: +gst-plugins-good: +gst-plugins-good: http://gstreamer.freedesktop.org/ +gst-plugins-good: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +gst-plugins-ugly: gst-plugins-ugly (plugins for gstreamer) +gst-plugins-ugly: +gst-plugins-ugly: Free Software plugins for gstreamer with problems +gst-plugins-ugly: related to patents. +gst-plugins-ugly: +gst-plugins-ugly: +gst-plugins-ugly: +gst-plugins-ugly: +gst-plugins-ugly: +gst-plugins-ugly: http://gstreamer.freedesktop.org/ +gst-plugins-ugly: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +gstreamer: gstreamer (gstreamer is a multimedia library) +gstreamer: +gstreamer: GStreamer is a library for constructing of graphs of media-handling +gstreamer: components. The use cases it covers range from simple Ogg/Vorbis +gstreamer: playback, audio/video streaming to complex audio (mixing) and video +gstreamer: (non-linear editing) processing. +gstreamer: +gstreamer: +gstreamer: +gstreamer: http://gstreamer.freedesktop.org/ +gstreamer: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +ilmbase: ilmbase +ilmbase: +ilmbase: OpenEXR ILM Base libraries +ilmbase: +ilmbase: +ilmbase: +ilmbase: +ilmbase: +ilmbase: +ilmbase: +ilmbase: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +imlib2: imlib2 by Slack.Sarava +imlib2: +imlib2: This is the Imlib 2 library - a library that does image file loading +imlib2: and saving as well as rendering, manipulation, arbitrary polygon +imlib2: support, etc. +imlib2: +imlib2: +imlib2: +imlib2: by avs +imlib2: +imlib2: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +ladspa: ladspa (linux audio developer's plugin API) +ladspa: +ladspa: The Linux Audio Developer's Simple Plugin API (LADSPA) attempts to +ladspa: give programmers the ability to write simple 'plugin' audio +ladspa: processors in C/C++ and link them dynamically against a range of +ladspa: host applications. +ladspa: +ladspa: +ladspa: +ladspa: +ladspa: +#configure +# Configure +cd src +export PATH="$PATH:/usr/X11R6/bin/" # for mkdirhier + +sed -e 's/\/usr\/local\/lib\/ladspa\//\/usr\/lib\/ladspa\//' \ + -e 's/\/usr\/local\/bin\//\/usr\/bin\//' makefile > makefile.tmp || exit $ERROR_CONF + +echo "PREFIX = $PKG" >> makefile.tmp || exit $ERROR_CONF + +sed -e 's/$(INSTALL_PLUGINS_DIR)/$(PREFIX)\/$(INSTALL_PLUGINS_DIR)/g' \ + -e 's/$(INSTALL_INCLUDE_DIR)/$(PREFIX)\/$(INSTALL_INCLUDE_DIR)/g' \ + -e 's/$(INSTALL_BINARY_DIR)/$(PREFIX)\/$(INSTALL_BINARY_DIR)/g' makefile.tmp > makefile || exit $ERROR_CONF +#install_package +# Install +make install DESTDIR="$PKG" || exit $ERROR_INSTALL +cd .. +# on ++Sat, 10 Feb 2001 17:54:56 +0100. ++ ++It was downloaded from ++ ++ http://download.sourceforge.net/libdv/ ++ ++Upstream Authors: ++ Erik Walthinsen ++ Charles 'Buck' Krasic ++ ++Copyright: ++ ++ (c) 1999-2001 ++ Erik Walthinsen ++ Charles 'Buck' Krasic ++ ++ Individual files also contain material subject to the following ++ copyrights: ++ ++ (c) 2000-2004 James Bowman ++ (c) 2001-2004 Peter Schlaile, Dan Dennedy ++ (c) 1999 Aaron Holtzman ++ (c) 2001 Daniel Maas ++ (c) 1999,2000 Sebastien Rougeaux ++ (c) 2000 Oregon Graduate Institute of Science & Technology ++ ++ All program source code is distributed under the terms of the ++ GNU Lesser General Public License, Version 2.1 or later, ++ see /usr/share/common-licenses/LGPL-2.1. ++ ++ The man pages are distributed under the terms of the GNU General ++ Public License, Version 2 or later, see ++ /usr/share/common-licenses/GPL. +--- libdv-0.104.orig/debian/libdv-bin.install ++++ libdv-0.104/debian/libdv-bin.install +@@ -0,0 +1,2 @@ ++/usr/bin/* ++/usr/share/man/*/* +--- libdv-0.104.orig/debian/libdv-bin.links ++++ libdv-0.104/debian/libdv-bin.links +@@ -0,0 +1 @@ ++usr/share/doc/libdv4 usr/share/doc/libdv-bin +--- libdv-0.104.orig/debian/libdv-bin.manpages ++++ libdv-0.104/debian/libdv-bin.manpages +@@ -0,0 +1,4 @@ ++playdv/playdv.1 ++encodedv/encodedv.1 ++encodedv/dvconnect.1 ++encodedv/dubdv.1 +--- libdv-0.104.orig/debian/libdv4-dev.NEWS ++++ libdv-0.104/debian/libdv4-dev.NEWS +@@ -0,0 +1,15 @@ ++libdv (0.103-1) unstable; urgency=low ++ ++ Earlier versions of libdv had deprecated the use of header file dv1394.h ++ provided here. Starting with version 0.103, the libdv developers have ++ removed the header file entirely from their package. Compiling software ++ that still includes the deprecated header shall fail now, therefore. ++ ++ Note that the dv1394.h has never been part of the libdv programming interface ++ and has been provided as a (historical) courtesy only. dv1394.h defines ++ solely a kernel interface. Therefore, in order to compile for a certain ++ kernel version, the kernel headers, and only the kernel headers contain the ++ authoritative header file. All application software should be modified ++ accordingly. ++ ++ -- Daniel Kobras Thu, 15 Jul 2004 17:52:38 +0200 +--- libdv-0.104.orig/debian/libdv4-dev.install ++++ libdv-0.104/debian/libdv4-dev.install +@@ -0,0 +1,5 @@ ++/usr/lib/*.a ++/usr/lib/*.la ++/usr/lib/*.so ++/usr/lib/pkgconfig/*.pc ++/usr/include/* +--- libdv-0.104.orig/debian/libdv4.docs ++++ libdv-0.104/debian/libdv4.docs +@@ -0,0 +1,6 @@ ++AUTHORS ++NEWS ++README ++README.encoder ++README.dvconnect ++TODO +--- libdv-0.104.orig/debian/libdv4.install ++++ libdv-0.104/debian/libdv4.install +@@ -0,0 +1 @@ ++/usr/lib/*.so.* +--- libdv-0.104.orig/debian/rules ++++ libdv-0.104/debian/rules +@@ -0,0 +1,122 @@ ++#!/usr/bin/make -f ++# Sample debian/rules that uses debhelper. ++# GNU copyright 1997 to 1999 by Joey Hess. ++ ++# Uncomment this to turn on verbose mode. ++#export DH_VERBOSE=1 ++ ++# This is the debhelper compatability version to use. ++export DH_COMPAT=4 ++ ++include /usr/share/dpatch/dpatch.make ++ ++# shared library versions, option 1 ++#version=2.0.5 ++#major=2 ++# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so ++#version=`ls libdv/.libs/lib*.so.* | \ ++# awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'` ++#major=`ls libdv/.libs/lib*.so.* | \ ++# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'` ++ ++export DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) ++export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) ++ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) ++ libdv_confflags += --build $(DEB_HOST_GNU_TYPE) ++else ++ libdv_confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) ++endif ++ ++ ++CFLAGS ?= -Wall -g ++ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) ++CFLAGS += -O0 ++else ++CFLAGS += -O2 ++endif ++ ++configure: configure-stamp ++configure-stamp: ++ dh_testdir ++ # Make sure we use the latest autotools helpers. ++ if test -f config.sub; then \ ++ mv config.sub config.sub.debsave; \ ++ fi ++ if test -f config.guess; then \ ++ mv config.guess config.guess.debsave; \ ++ fi ++ ++ ln -sf /usr/share/misc/config.sub . ++ ln -sf /usr/share/misc/config.guess . ++ ++ CFLAGS="$(CFLAGS)" ./configure $(libdv_confflags) \ ++ --prefix=/usr --mandir=\$${prefix}/share/man \ ++ --infodir=\$${prefix}/share/info --enable-sdl ++ ++ touch configure-stamp ++ ++build: patch-stamp configure-stamp build-stamp ++build-stamp: ++ dh_testdir ++ ++ $(MAKE) ++ ++ touch build-stamp ++ ++clean: do-clean unpatch ++do-clean: ++ dh_testdir ++ dh_testroot ++ rm -f build-stamp configure-stamp ++ ++ -$(MAKE) distclean ++ ++ if test -L config.sub -a -e config.sub.debsave; then \ ++ rm config.sub; \ ++ if test -e config.sub.debsave; then \ ++ mv config.sub.debsave config.sub; \ ++ fi; \ ++ fi ++ if test -L config.guess -a -e config.guess.debsave; then \ ++ rm config.guess; \ ++ if test -e config.guess.debsave; then \ ++ mv config.guess.debsave config.guess; \ ++ fi; \ ++ fi ++ ++ dh_clean ++ ++install: build ++ dh_testdir ++ dh_testroot ++ dh_clean -k ++ dh_installdirs ++ ++ $(MAKE) install DESTDIR=`pwd`/debian/tmp/ ++ ++ ++# Build architecture-independent files here. ++binary-indep: build install ++# We have nothing to do by default. ++ ++# Build architecture-dependent files here. ++binary-arch: build install ++ dh_testdir ++ dh_testroot ++ dh_install -A --sourcedir=debian/tmp # --list-missing ++ dh_installman ++ dh_link -A ++ dh_installdocs -plibdv4 -plibdv4-dev ++ dh_installchangelogs ChangeLog ++ dh_strip ++ dh_compress ++ dh_fixperms ++ dh_makeshlibs ++ dh_installdeb ++ dh_shlibdeps -L libdv4 -l debian/libdv4/usr/lib ++ dh_gencontrol ++ dh_md5sums ++ dh_builddeb ++ ++binary: binary-indep binary-arch ++.PHONY: build clean binary-indep binary-arch binary install configure patch unpatch do-clean +--- libdv-0.104.orig/debian/changelog ++++ libdv-0.104/debian/changelog +@@ -0,0 +1,315 @@ ++libdv (0.104-1ubuntu2) dapper; urgency=low ++ ++ * Remove build-dependency on gcc-3.4 [amd64], not used anymore. ++ ++ -- Matthias Klose Thu, 16 Feb 2006 12:37:12 +0000 ++ ++libdv (0.104-1ubuntu1) dapper; urgency=low ++ ++ * Resynchronise with Debian. ++ ++ -- Tollef Fog Heen Mon, 14 Nov 2005 17:00:34 +0100 ++ ++libdv (0.104-1) unstable; urgency=low ++ ++ * New upstream version. Closes: #298366 ++ * Picks up new libsdl1.2 version to complete various library ++ transitions. Closes: #318237, #320882, #321549 ++ * Added patches: ++ + [01_changelog_update_CVS] New, from upstream CVS. ++ Add 0.104 changelog entry that is not part of the released 0.104 ++ tarball, so subsequent patches from upstream CVS can be applied ++ without modification. ++ + [10_amd64_linkage_fix_CVS] New, from upstream CVS. ++ Fix linker compatibility problems in amd64 assembly. ++ + [10_inline_fixes_CVS] New, from upstream CVS. ++ Fix build problems when compiler does not honour the inline hint. ++ + [20_no_exec_stack_CVS] New, from upstream CVS. ++ Add linker magic so assembly functions do no longer require an ++ executable stack. ++ * Updated patches: ++ + [10_zap_config_h] ++ Extend to take care of amd64 optimisations. ++ * debian/control: Complies with standards version 3.6.2. ++ * debian/rules: Export overridden CFLAGS. Closes: #306488 ++ ++ -- Daniel Kobras Wed, 17 Aug 2005 17:23:18 +0200 ++ ++libdv (0.103-2ubuntu1) breezy; urgency=low ++ ++ * debian/control: added gcc-3.4 to build-depends for compiling issues on ++ amd64. ++ ++ -- Stephan Hermann Thu, 25 Aug 2005 08:34:55 +0200 ++ ++libdv (0.103-2build1) breezy; urgency=low ++ ++ * Rebuild for slang2 transition ++ ++ -- Stephan Hermann Wed, 24 Aug 2005 20:56:34 +0200 ++ ++libdv (0.103-2) unstable; urgency=low ++ ++ * debian/rules: Provide separate doc directory for libdv4-dev. ++ * debian/libdv4-dev.links: No longer symlink doc dir to the one ++ from libdv4. ++ * debian/NEWS: Only install into libdv4-dev. Closes: #259694 ++ ++ -- Daniel Kobras Mon, 19 Jul 2004 12:19:44 +0200 ++ ++libdv (0.103-1) unstable; urgency=low ++ ++ * New upstream version. ++ * Removed patches: ++ + [10_dvconnect_disable_swap] Merged upstream. ++ + [10_no_gtk_deps] Merged upstream. ++ + [10_fix_wide_format] Merged upstream. ++ * debian/NEWS: Notify about removal of previously deprecated header ++ file dv1394.h. ++ * debian/control: Adjust build dependencies following the xlibs split. ++ ++ -- Daniel Kobras Thu, 15 Jul 2004 17:53:16 +0200 ++ ++libdv (0.102-4) unstable; urgency=low ++ ++ * Added patches: ++ + [10_fix_wide_format] New. ++ Fix detection of 16:9 (wide) format in non-SMPTE streams. ++ Closes: #248660 ++ ++ -- Daniel Kobras Thu, 13 May 2004 17:51:59 +0200 ++ ++libdv (0.102-3) unstable; urgency=low ++ ++ * Added patches: ++ + [10_no_gtk_deps] New. ++ Remove glib and gtk dependencies from the pkgconfig file. ++ Closes: #245037 ++ ++ -- Daniel Kobras Wed, 21 Apr 2004 09:51:55 +0200 ++ ++libdv (0.102-2) unstable; urgency=low ++ ++ * Upload to unstable. ++ ++ -- Daniel Kobras Tue, 20 Apr 2004 09:34:20 +0200 ++ ++libdv (0.102-1) experimental; urgency=low ++ ++ * New upstream version. ++ + Bumps library soname because of binary incompatibility. Still ++ source-level compatible, though. ++ + New API functions dv_format_letterbox(), and dv_is_normal_speed(). ++ * debian/*: Rename library packages libdv2 -> libdv4, and ++ libdv2-dev -> libdv4-dev, following the soname change. ++ * debian/rules: Remove shlibs version as we're changing the package name ++ anyway. ++ ++ -- Daniel Kobras Sun, 28 Mar 2004 23:52:01 +0200 ++ ++libdv (0.101-1) unstable; urgency=low ++ ++ * New upstream version. ++ * Added patches: ++ + [10_zap_config_h] New. ++ Remove dependency of dv_types.h on config.h. Replace with standard ++ guesses that will do for the scope of the Debian package. ++ Closes: #199878 ++ + [11_move_config_h_to_apps] New. ++ As a consequence of the above patch, a couple of source files now need ++ to include config.h themselves. ++ + [10_dvconnect_disable_swap] New. ++ In dvconnect, keep all pages in resident memory if possible because ++ swapping kills performance. Closes: #222498 ++ * debian/control: Remove leading "A" from short description. ++ * debian/control: Bump standards version. ++ * debian/control: Build depend on dpatch. ++ * debian/copyright: Updated copyright assignments. ++ * debian/libdv-bin.manpages: dvconnect.1 now available upstream, new man ++ page dubdv.1. ++ * debian/NEWS: Warn about dv1394.h update. ++ * debian/rules: Bump shlibs to >= 0.101 as this version introduces new ++ API functions. ++ * debian/rules: Convert build system to dpatch. ++ * debian/rules: Improved config.guess/config.sub backup logic. ++ ++ -- Daniel Kobras Tue, 20 Jan 2004 00:13:07 +0100 ++ ++libdv (0.99-3) unstable; urgency=low ++ ++ * debian/control: Oops. Priority for -dev and -bin package back to extra. ++ ++ -- Daniel Kobras Sun, 13 Apr 2003 15:24:02 +0200 ++ ++libdv (0.99-2) unstable; urgency=low ++ ++ * debian/control: Adjust priority to optional. Build depend on file. ++ * configure: Change deplibs check to pass_all on mips and mipsel. ++ Closes: #188682. ++ ++ -- Daniel Kobras Sun, 13 Apr 2003 14:25:31 +0200 ++ ++libdv (0.99-1) unstable; urgency=low ++ ++ * New upstream version ++ * libdv/audio.c: Fix typo in audio emphasis handling. [From upstream CVS] ++ * libdv/enc_output.c: Fix aaux header in encoder output. [From upstream CVS] ++ * debian/rules: Add versioned shlibs dependency because of new audio ++ sample calculator. ++ * debian/rules: Drop debug from DEB_BUILD_OPTIONS, support noopt. ++ * debian/rules: Supply configure with proper build target. ++ * debian/control: Remove full stop from short description. ++ * debian/control: Bump standards version. ++ * debian/control: libdv2-dev now lives in section libdevel. ++ * debian/*: New binary dvconnect. ++ * debian/dvconnect.1: Quick man page for dvconnect. ++ ++ -- Daniel Kobras Tue, 1 Apr 2003 16:58:18 +0200 ++ ++libdv (0.98-6) unstable; urgency=low ++ ++ * Namespace cleanup: ++ + libdv/*.c: Mark a batch of local symbols as static. ++ + libdv/*.[hcS]: Prefix intra-lib symbols with _dv_. ++ + encodedv/*.c: Honour internal name changes. ++ ++ -- Daniel Kobras Tue, 10 Dec 2002 01:34:29 +0100 ++ ++libdv (0.98-5) unstable; urgency=low ++ ++ * debian/control: Need to tighten debhelper build dep for dh_shlibdeps -L ++ flag. Closes: #170993 ++ * debian/control: Complies with standards version 3.5.8. ++ ++ -- Daniel Kobras Thu, 28 Nov 2002 10:02:20 +0100 ++ ++libdv (0.98-4) unstable; urgency=low ++ ++ * configure.ac, */Makefile.am: Do not push any lib into LIBS. Define ++ separate macros instead, and only add to the appropriate targets. ++ Closes: #167098 ++ * configure.ac: While libdv pulls a types from libpopt, it does not ++ reference any libpopt function. Adding -lpopt to REQUIRES_NOPKGCONFIG was ++ nonsense therefore--it's a purely optional feature. (The dependency on ++ libpopt-dev must be retained, however, because dv_types.h includes ++ popt.h.) ++ * Update auto-generated files because of the above. ++ ++ -- Daniel Kobras Wed, 30 Oct 2002 18:41:48 +0100 ++ ++libdv (0.98-3) unstable; urgency=low ++ ++ * ChangeLog, libdv/dv1394.h, libdv/encode.c, libdv/enc_audio_input.[hc]: ++ Sync with upstream CVS as of 2002-10-27. Solely adds a more complete fix ++ to the PAL overflow issue. The previously included change alone caused ++ occiasional crashes still. ++ * debian/README.Debian: YUY bug turned out to be an Xv bug really, that is ++ now fixed. Nothing to document any longer, file removed. ++ * debian/rules: Tell dh_shlibdeps to use generated libdv2 shlibs file. ++ ++ -- Daniel Kobras Sun, 27 Oct 2002 14:11:58 +0100 ++ ++libdv (0.98-2) unstable; urgency=low ++ ++ * libdv/dv_types.h: Fix potential overflow in audio buffer with PAL ++ frames. (From upstream CVS.) ++ ++ -- Daniel Kobras Sun, 11 Aug 2002 23:40:57 +0200 ++ ++libdv (0.98-1) unstable; urgency=low ++ ++ * New upstream release. ++ * Build a shared lib now--PIC issues seem to be resolved. ++ * debian/control: Split into separate packages for runtime lib, devel ++ files, and sample binaries. Name of the devel package now includes ++ major version. Provides libdv-dev for compatibility. Suggest to move ++ source package from devel to section graphics. ++ * debian/copyright: Updated copyright entries. Rename encode to ++ encodedv. ++ * debian/rules: Move to debhelper v4. Honour package split. Build a ++ shared lib now. Add support for 'debug' in DEB_BUILD_OPTIONS. ++ * debian/README.Debian: Document YUY bug on some big-endian hardware. ++ Remove obsolete comment about absence to shared libs. ++ ++ -- Daniel Kobras Thu, 1 Aug 2002 10:23:20 +0200 ++ ++libdv (0.9.5-3) unstable; urgency=low ++ ++ * libdv.pc.in: Remove obsolete dependencies on glib and gtk. Hack in ++ library dependency on popt. Closes: #149901 ++ * debian/control: Depend on libpopt-dev. ++ ++ -- Daniel Kobras Thu, 27 Jun 2002 11:02:56 +0200 ++ ++libdv (0.9.5-2) unstable; urgency=low ++ ++ * dv.c: Tell C version of dv_macroblock_yuv() about additional arguments ++ to YUY2 functions. ++ * idct_248.c: Fix types in C version of fixed_multiply(). ++ * enc_input.c: Purge remaining glib types from C versions of f2b() and ++ f2sb. ++ * All of the above fix compile errors on non-x86. Closes: #142770 ++ ++ -- Daniel Kobras Sun, 14 Apr 2002 14:05:05 +0200 ++ ++libdv (0.9.5-1) unstable; urgency=low ++ ++ * New upstream version. ++ This version is supposed to also work as a shared lib, but let's ++ keep the package static-only until woody is released, and we have ++ time to properly test this change. ++ ++ -- Daniel Kobras Sat, 13 Apr 2002 17:35:34 +0200 ++ ++libdv (0.9-2) unstable; urgency=low ++ ++ * Rebuild with libsdl1.2debian. (No code changes necessary.) ++ * Do not clobber upstream config.guess/config.sub. ++ * Configure with explicit host and build architecture as suggested in ++ autotools-dev README. ++ * Added note to package description explaining why there is no shared ++ version of the lib. ++ * Increased standards version. ++ ++ -- Daniel Kobras Wed, 17 Oct 2001 14:12:46 +0200 ++ ++libdv (0.9-1) unstable; urgency=low ++ ++ * New upstream version. ++ * Include auto-generated dependencies in control (doh!). Closes: #103016 ++ * Always use latest autotools helpers. ++ * Versioned build dependency on libsdl1.2-dev. Autobuilders would choke ++ on earlier versions. ++ ++ -- Daniel Kobras Tue, 31 Jul 2001 17:23:28 +0200 ++ ++libdv (0.8-2) unstable; urgency=low ++ ++ * Fix compilation in non-asm mode. Closes: #96804 ++ ++ -- Daniel Kobras Wed, 9 May 2001 09:20:49 +0200 ++ ++libdv (0.8-1) unstable; urgency=low ++ ++ * New upstream version. ++ ++ -- Daniel Kobras Fri, 4 May 2001 19:55:35 +0200 ++ ++libdv (0.7-2) unstable; urgency=low ++ ++ * Some MMX code in encode.c wasn't wrapped in ARCH_X86 conditionals. ++ Closes: #94521 ++ * Build with SDL support. ++ ++ -- Daniel Kobras Fri, 20 Apr 2001 09:42:53 +0200 ++ ++libdv (0.7-1) unstable; urgency=low ++ ++ * Initial Release. Closes: #89510 ++ * Renamed encode to encodedv. ++ * Added man pages for playdv and encodedv. ++ * Fixed bogus space in dv option string. ++ * Fixed missing time.h include in headers.c. ++ ++ -- Daniel Kobras Thu, 12 Apr 2001 20:48:56 +0200 ++ +--- libdv-0.104.orig/debian/patches/00list ++++ libdv-0.104/debian/patches/00list +@@ -0,0 +1,6 @@ ++01_changelog_update_CVS ++10_amd64_linkage_fix_CVS ++10_inline_fixes_CVS ++10_zap_config_h ++11_move_config_h_to_apps ++20_no_exec_stack_CVS +--- libdv-0.104.orig/debian/patches/10_zap_config_h.dpatch ++++ libdv-0.104/debian/patches/10_zap_config_h.dpatch +@@ -0,0 +1,103 @@ ++#!/bin/sh -e ++## 10_zap_config_h.dpatch by Daniel Kobras ++## ++## All lines beginning with `## DP:' are a description of the patch. ++## DP: dv_types.h is part of the libdv API that has to be included ++## DP: in application code. Therefore, it may not reference libdv's ++## DP: private config.h. ++## DP: Of course, config.h was included for a reason, and this patch ++## DP: tries to cover it up, because at least in the scope of the ++## DP: Debian package we can reliably guess at the contents of config.h. ++ ++if [ $# -lt 1 ]; then ++ echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" ++ exit 1 ++fi ++ ++[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts ++patch_opts="${patch_opts:--f --no-backup-if-mismatch}" ++ ++case "$1" in ++ -patch) patch $patch_opts -p1 < $0;; ++ -unpatch) patch $patch_opts -p1 -R < $0;; ++ *) ++ echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" ++ exit 1;; ++esac ++ ++exit 0 ++ ++@DPATCH@ ++diff -urNad --exclude=CVS --exclude=.svn ./libdv/dv_types.h /tmp/dpep-work.X4gSie/libdv/libdv/dv_types.h ++--- ./libdv/dv_types.h 2005-07-10 19:31:16.000000000 +0200 +++++ /tmp/dpep-work.X4gSie/libdv/libdv/dv_types.h 2005-07-10 19:58:28.000000000 +0200 ++@@ -26,10 +26,11 @@ ++ #ifndef DV_TYPES_H ++ #define DV_TYPES_H ++ ++-#if HAVE_CONFIG_H ++-# include ++-#endif ++- +++/* The Debian package is always compiled with popt support, but using it +++ * in an application is optional. Declare HAVE_LIBPOPT before including +++ * the libdv headers in order to access popt-specific entries in the +++ * libdv API. +++ */ ++ #if HAVE_LIBPOPT ++ #include ++ #endif // HAVE_LIBPOPT ++@@ -38,11 +39,11 @@ ++ #include ++ #include ++ #include ++-#if HAVE_ENDIAN_H +++/* FIXME Some systems use machine/endian.h instead. We probably ought to +++ * AC_SUBST the correct value in here. (Or use a namespace-clean dvconfig.h.) +++ * This quick fix should do for glibc-based systems. +++ */ ++ #include ++-#elif HAVE_MACHINE_ENDIAN_H ++-#include ++-#endif ++ ++ /* please tell me these are defined somewhere standard??? */ ++ #ifndef FALSE ++@@ -61,16 +62,33 @@ ++ #define CLAMP(a,x,b) (MIN(b,MAX(a,x))) ++ #endif ++ +++/* FIXME These values indicate whether libdv was built with asm optimizations. +++ * It had better be AC_SUBSTed, but for the purpose of the Debian package, we +++ * can easily guess the correct value from standard compiler macros. +++ */ +++#if !defined(ARCH_X86) && !defined(ARCH_X86_64) +++# if defined (__x86_64) +++# define ARCH_X86 0 +++# define ARCH_X86_64 1 +++# elif defined(i386) +++# define ARCH_X86 1 +++# define ARCH_X86_64 0 +++# else +++# define ARCH_X86 0 +++# define ARCH_X86_64 0 +++# endif +++#endif +++ ++ // For now assume ARCH_X86 means GCC with hints. ++ #ifdef ARCH_X86 ++-#define HAVE_GCC 1 +++#define LIBDV_HAVE_GCC 1 ++ #endif ++ #ifdef ARCH_X86_64 ++-#define HAVE_GCC 1 +++#define LIBDV_HAVE_GCC 1 ++ #endif ++-//#define HAVE_GCC 0 +++//#define LIBDV_HAVE_GCC 0 ++ ++-#if HAVE_GCC +++#if LIBDV_HAVE_GCC ++ #define ALIGN64 __attribute__ ((aligned (64))) ++ #define ALIGN32 __attribute__ ((aligned (32))) ++ #define ALIGN8 __attribute__ ((aligned (8))) +--- libdv-0.104.orig/debian/patches/11_move_config_h_to_apps.dpatch ++++ libdv-0.104/debian/patches/11_move_config_h_to_apps.dpatch +@@ -0,0 +1,54 @@ ++#!/bin/sh -e ++## 11_move_config_h_to_apps.dpatch by Daniel Kobras ++## ++## All lines beginning with `## DP:' are a description of the patch. ++## DP: Removing inclusion of config.h from dv_types.h revealed two ++## DP: files that should include it themselves. ++ ++if [ $# -lt 1 ]; then ++ echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" ++ exit 1 ++fi ++ ++[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts ++patch_opts="${patch_opts:--f --no-backup-if-mismatch}" ++ ++case "$1" in ++ -patch) patch $patch_opts -p1 < $0;; ++ -unpatch) patch $patch_opts -p1 -R < $0;; ++ *) ++ echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" ++ exit 1;; ++esac ++ ++exit 0 ++ ++@DPATCH@ ++diff -urNad /home/kobras/src/debian/libdv/encodedv/encodedv.c libdv/encodedv/encodedv.c ++--- /home/kobras/src/debian/libdv/encodedv/encodedv.c 2004-01-19 13:06:49.000000000 +0100 +++++ libdv/encodedv/encodedv.c 2004-01-19 23:58:45.000000000 +0100 ++@@ -24,6 +24,10 @@ ++ * The libdv homepage is http://libdv.sourceforge.net/. ++ */ ++ +++#ifdef HAVE_CONFIG_H +++#include +++#endif +++ ++ #include ++ #include "libdv/dv_types.h" ++ #include "libdv/dv.h" ++diff -urNad /home/kobras/src/debian/libdv/encodedv/insert_audio.c libdv/encodedv/insert_audio.c ++--- /home/kobras/src/debian/libdv/encodedv/insert_audio.c 2004-01-19 13:06:49.000000000 +0100 +++++ libdv/encodedv/insert_audio.c 2004-01-19 23:59:22.000000000 +0100 ++@@ -23,6 +23,10 @@ ++ * The libdv homepage is http://libdv.sourceforge.net/. ++ */ ++ +++#ifdef HAVE_CONFIG_H +++#include +++#endif +++ ++ #include "libdv/dv_types.h" ++ ++ #include +--- libdv-0.104.orig/debian/patches/01_changelog_update_CVS.dpatch ++++ libdv-0.104/debian/patches/01_changelog_update_CVS.dpatch +@@ -0,0 +1,35 @@ ++#! /bin/sh /usr/share/dpatch/dpatch-run ++## 01_changelog_update_CVS.dpatch by Daniel Kobras ++## ++## All lines beginning with `## DP:' are a description of the patch. ++## DP: Include 0.104 changelog entry that is not part of released 0.104 ++## DP: tarball. This is done so we can apply subsequent patches pristine ++## DP: from CVS without failing hunks because of the missing changelog ++## DP: entry. ++## DP: (Part of patch set 286 from upstream CVS. Unneeded updates to ++## DP: autogenerated files have been omitted.) ++ ++@DPATCH@ ++--------------------- ++PatchSet 286 ++Date: 2004/11/30 03:39:35 ++Author: krasic ++Branch: HEAD ++Tag: libdv_0_104 ++Log: ++0.104 release build ++ ++Members: ++ ChangeLog:1.108->1.109 ++ ++Index: libdv/ChangeLog ++diff -u libdv/ChangeLog:1.108 libdv/ChangeLog:1.109 ++--- libdv/ChangeLog:1.108 Mon Nov 29 17:44:55 2004 +++++ libdv/ChangeLog Mon Nov 29 19:39:35 2004 ++@@ -1,3 +1,6 @@ +++2004-11-29 Charles "Buck" Krasic +++ * libdv 0.104 release +++ ++ 2004-11-29 Dan Dennedy ++ * libdv.pc: added -lm to make build more portable. ++ +--- libdv-0.104.orig/debian/patches/10_amd64_linkage_fix_CVS.dpatch ++++ libdv-0.104/debian/patches/10_amd64_linkage_fix_CVS.dpatch +@@ -0,0 +1,302 @@ ++#! /bin/sh /usr/share/dpatch/dpatch-run ++## 10_amd64_linkage_fix_CVS.dpatch by Daniel Kobras ++## ++## All lines beginning with `## DP:' are a description of the patch. ++## DP: Fix linker compatibility issues with amd64 assembly. (Dean Kolosiek) ++## DP: (Patch set 287 from upstream CVS.) ++ ++@DPATCH@ ++--------------------- ++PatchSet 287 ++Date: 2004/12/13 01:48:50 ++Author: ddennedy ++Branch: HEAD ++Tag: (none) ++Log: ++fix linkage problems in x86_64 asm code ++ ++Members: ++ ChangeLog:1.109->1.110 ++ libdv/encode_x86_64.S:1.2->1.3 ++ libdv/idct_block_mmx_x86_64.S:1.1->1.2 ++ libdv/quant_x86_64.S:1.2->1.3 ++ libdv/vlc_x86_64.S:1.1->1.2 ++ ++Index: libdv/ChangeLog ++diff -u libdv/ChangeLog:1.109 libdv/ChangeLog:1.110 ++--- libdv/ChangeLog:1.109 Mon Nov 29 19:39:35 2004 +++++ libdv/ChangeLog Sun Dec 12 17:48:50 2004 ++@@ -1,3 +1,7 @@ +++2004-12-12 Dan Dennedy +++ * *_x86_64.S: apply patch from Dean Kolosiek to fix linker +++ compatibility. +++ ++ 2004-11-29 Charles "Buck" Krasic ++ * libdv 0.104 release ++ ++Index: libdv/libdv/encode_x86_64.S ++diff -u libdv/libdv/encode_x86_64.S:1.2 libdv/libdv/encode_x86_64.S:1.3 ++--- libdv/libdv/encode_x86_64.S:1.2 Tue Nov 16 19:36:30 2004 +++++ libdv/libdv/encode_x86_64.S Sun Dec 12 17:48:51 2004 ++@@ -47,7 +47,8 @@ ++ ++ mov $63, %rcx # loop counter ++ ++- mov vlc_encode_lookup(%rip), %r11 +++ mov vlc_encode_lookup@GOTPCREL(%rip), %r11 +++ mov (%r11),%r11 ++ ++ pxor %mm0, %mm0 ++ pxor %mm2, %mm2 ++@@ -129,7 +130,8 @@ ++ add $2, %rdi /* skip the DC coefficient */ ++ mov $63, %rcx ++ ++- mov vlc_num_bits_lookup(%rip), %r11 +++ mov vlc_num_bits_lookup@GOTPCREL(%rip), %r11 +++ mov (%r11),%r11 ++ ++ vlc_num_bits_block_x86_loop: ++ movw (%rdi), %ax /* get the next coeffiecient */ ++Index: libdv/libdv/idct_block_mmx_x86_64.S ++diff -u libdv/libdv/idct_block_mmx_x86_64.S:1.1 libdv/libdv/idct_block_mmx_x86_64.S:1.2 ++--- libdv/libdv/idct_block_mmx_x86_64.S:1.1 Tue Oct 19 20:49:24 2004 +++++ libdv/libdv/idct_block_mmx_x86_64.S Sun Dec 12 17:48:51 2004 ++@@ -22,7 +22,7 @@ ++ /* void _dv_idct_88(dv_coeff_t *block) */ ++ /* argument block=rdi */ ++ ++- lea preSC(%rip), %r11 +++ mov preSC@GOTPCREL(%rip), %r11 ++ ++ /* ++ * column 0: even part ++Index: libdv/libdv/quant_x86_64.S ++diff -u libdv/libdv/quant_x86_64.S:1.2 libdv/libdv/quant_x86_64.S:1.3 ++--- libdv/libdv/quant_x86_64.S:1.2 Tue Nov 16 19:36:30 2004 +++++ libdv/libdv/quant_x86_64.S Sun Dec 12 17:48:51 2004 ++@@ -73,10 +73,10 @@ ++ /* pq = dv_quant_shifts[qno + dv_quant_offset[class]]; */ ++ mov %rsi,%rax /* qno */ ++ mov %rdx,%r12 /* class */ ++- lea dv_quant_offset(%rip),%rcx +++ mov dv_quant_offset@GOTPCREL(%rip),%rcx ++ movzbq (%rcx,%r12,1),%rcx /* dv_quant_offset[class] */ ++ add %rcx,%rax /* qno + */ ++- lea dv_quant_shifts(%rip),%r11 +++ mov dv_quant_shifts@GOTPCREL(%rip),%r11 ++ lea (%r11,%rax,4),%r11 /* r11 is pq = dv_quant_shifts[...] */ ++ ++ /* extra = (class == 3); */ ++@@ -217,10 +217,10 @@ ++ mov %rsi,%rax /* qno */ ++ mov %rdx,%r12 /* class */ ++ ++- lea dv_quant_offset(%rip),%rcx +++ mov dv_quant_offset@GOTPCREL(%rip),%rcx ++ movzbq (%rcx,%r12,1),%rcx ++ add %rcx,%rax ++- lea dv_quant_shifts(%rip),%r11 +++ mov dv_quant_shifts@GOTPCREL(%rip),%r11 ++ lea (%r11,%rax,4),%r11 /* r11 is pq */ ++ ++ /* extra = (class == 3); */ ++Index: libdv/libdv/vlc_x86_64.S ++diff -u libdv/libdv/vlc_x86_64.S:1.1 libdv/libdv/vlc_x86_64.S:1.2 ++--- libdv/libdv/vlc_x86_64.S:1.1 Tue Oct 19 20:49:24 2004 +++++ libdv/libdv/vlc_x86_64.S Sun Dec 12 17:48:51 2004 ++@@ -16,28 +16,28 @@ ++ /* klass = dv_vlc_classes[maxbits][(bits & (dv_vlc_class_index_mask[maxbits])) >> */ ++ /* (dv_vlc_class_index_rshift[maxbits])]; */ ++ /* xor %rbp,%rbp */ ++- lea dv_vlc_class_index_mask(%rip),%r11 /* use %rip for PIC code */ +++ mov dv_vlc_class_index_mask@GOTPCREL(%rip),%r11 /* use %rip for PIC code */ ++ mov (%r11,%rbx,4),%ebp /* int32 */ /* dv_vlc_class_index_mask[maxbits] */ ++ and %eax,%ebp /* bits & */ ++- lea dv_vlc_class_index_rshift(%rip),%rcx +++ mov dv_vlc_class_index_rshift@GOTPCREL(%rip),%rcx ++ mov (%rcx,%rbx,4),%ecx /* int32 */ /* dv_vlc_class_index_rshift[maxbits] */ ++ sar %cl,%ebp /* >> */ ++- lea dv_vlc_classes(%rip),%rcx +++ mov dv_vlc_classes@GOTPCREL(%rip),%rcx ++ mov (%rcx,%rbx,8),%rcx /* ptr */ /* dv_vlc_classes[maxbits], a pointer */ ++ movsbq (%rcx,%rbp,1),%rbp /* int8 */ /* klass = */ ++ ++ /* *result = dv_vlc_lookups[klass][(bits & (dv_vlc_index_mask[klass])) >> */ ++ /* (dv_vlc_index_rshift[klass])]; */ ++ /* xor %rbx,%rbx */ ++- lea dv_vlc_index_mask(%rip),%r11 +++ mov dv_vlc_index_mask@GOTPCREL(%rip),%r11 ++ mov (%r11,%rbp,4),%ebx /* int32 */ /* (dv_vlc_index_mask[klass]) */ ++ /* xor %rcx,%rcx */ ++- lea dv_vlc_index_rshift(%rip),%r11 +++ mov dv_vlc_index_rshift@GOTPCREL(%rip),%r11 ++ mov (%r11,%rbp,4),%ecx /* int32 */ /* dv_vlc_index_rshift[klass] */ ++ and %eax,%ebx /* bits & */ ++ sar %cl,%ebx /* >> */ ++ ++- lea dv_vlc_lookups(%rip),%r11 +++ mov dv_vlc_lookups@GOTPCREL(%rip),%r11 ++ mov (%r11,%rbp,8),%rbp /* ptr */ /* dv_vlc_lookups[klass] */ ++ mov (%rbp,%rbx,4),%ebp /* int32 */ /* *result = */ ++ ++@@ -57,7 +57,7 @@ ++ mov %ebp,%ecx ++ sar $8,%ecx ++ and $0xff,%ecx /* result->len */ ++- lea sign_mask(%rip),%rbx +++ mov sign_mask@GOTPCREL(%rip),%rbx ++ mov (%rbx,%rcx,4),%ebx /* int32 */ ++ and %ebx,%eax ++ neg %eax ++@@ -109,17 +109,17 @@ ++ mov %rax,%rbp ++ and $0xfe00,%ebp ++ sar $9,%ebp ++- lea dv_vlc_class_lookup5(%rip),%r11 +++ mov dv_vlc_class_lookup5@GOTPCREL(%rip),%r11 ++ movsbq (%r11,%rbp),%rbp /* int8 klass */ ++ ++- lea dv_vlc_index_mask(%rip),%rbx +++ mov dv_vlc_index_mask@GOTPCREL(%rip),%rbx ++ mov (%rbx,%rbp,4),%ebx /* int32 */ ++- lea dv_vlc_index_rshift(%rip),%rcx +++ mov dv_vlc_index_rshift@GOTPCREL(%rip),%rcx ++ mov (%rcx,%rbp,4),%ecx /* int32 */ ++ and %eax,%ebx ++ sar %cl,%ebx /* %rbx is klass */ ++ ++- lea dv_vlc_lookups(%rip),%r11 +++ mov dv_vlc_lookups@GOTPCREL(%rip),%r11 ++ mov (%r11,%rbp,8),%rbp /* ptr */ ++ mov (%rbp,%rbx,4),%ebp /* int32 */ ++ ++@@ -138,7 +138,7 @@ ++ mov %ebp,%ecx ++ sar $8,%ecx ++ and $0xff,%ecx ++- lea sign_mask(%rip),%r11 +++ mov sign_mask@GOTPCREL(%rip),%r11 ++ mov (%r11,%rcx,4),%ecx /* int32 */ ++ and %ecx,%eax ++ neg %eax ++@@ -253,7 +253,7 @@ ++ ++ /* Attempt to use the shortcut first. If it hits, then ++ this vlc term has been decoded. */ ++- lea dv_vlc_class1_shortcut(%rip),%r10 +++ mov dv_vlc_class1_shortcut@GOTPCREL(%rip),%r10 ++ mov (%r10,%rcx,4),%r11d /* record32 dv_vlc_tab_t */ ++ test $0x80,%r11d ++ ++@@ -267,17 +267,17 @@ ++ ++ /* %rax is bits */ ++ ++- lea dv_vlc_class_lookup5(%rip),%r10 +++ mov dv_vlc_class_lookup5@GOTPCREL(%rip),%r10 ++ movsbq (%r10,%rcx,1),%rcx /* int8 */ ++ ++ /* xor %r12,%r12 */ ++- lea dv_vlc_index_mask(%rip),%r10 +++ mov dv_vlc_index_mask@GOTPCREL(%rip),%r10 ++ mov (%r10,%rcx,4),%r12d /* int32 */ ++ ++- lea dv_vlc_lookups(%rip),%r10 +++ mov dv_vlc_lookups@GOTPCREL(%rip),%r10 ++ mov (%r10,%rcx,8),%r11 /* ptr->record32 */ ++ ++- lea dv_vlc_index_rshift(%rip),%r10 +++ mov dv_vlc_index_rshift@GOTPCREL(%rip),%r10 ++ mov (%r10,%rcx,4),%ecx /* int32 */ ++ ++ and %eax,%r12d ++@@ -303,7 +303,7 @@ ++ mov %r11d,%ecx ++ sar $8,%ecx ++ and $0xff,%ecx ++- lea sign_mask(%rip),%r10 +++ mov sign_mask@GOTPCREL(%rip),%r10 ++ mov (%r10,%rcx,4),%ecx /* int32 */ ++ and %ecx,%eax ++ neg %eax ++@@ -388,7 +388,8 @@ ++ mov %r11,%rsi /* bits */ ++ mov %rax,%rdi /* bits_left */ ++ lea vlc(%rip),%rdx /* *vlc */ ++- call dv_decode_vlc +++ mov dv_decode_vlc@GOTPCREL(%rip),%r11 +++ call *%r11 ++ pop %rdx ++ pop %rsi ++ pop %rdi ++@@ -473,7 +474,7 @@ ++ movl %r11d,dv_macroblock_t_eob_count(%r13) /* int32 */ ++ ++ /* mb->i = (seg->i + dv_super_map_vertical[m]) % (seg->isPAL?12:10); */ ++- lea dv_super_map_vertical(%rip),%r11 +++ mov dv_super_map_vertical@GOTPCREL(%rip),%r11 ++ movl (%r11,%rax,4),%r11d /* int32 */ ++ /* xor %rcx,%rcx */ ++ movl dv_videosegment_t_i(%r12),%ecx /* int32 */ ++@@ -493,7 +494,7 @@ ++ movl %r11d,dv_macroblock_t_i(%r13) /* int32 */ ++ ++ /* mb->j = dv_super_map_horizontal[m]; */ ++- lea dv_super_map_horizontal(%rip),%r11 +++ mov dv_super_map_horizontal@GOTPCREL(%rip),%r11 ++ movl (%r11,%rax,4),%r11d /* int32 */ ++ movl %r11d,dv_macroblock_t_j(%r13) /* int32 */ ++ ++@@ -546,7 +547,8 @@ ++ ++ /* bl->reorder = &dv_reorder[bl->dct_mode][1]; */ ++ shl $6,%rax /* *64 */ ++- lea (dv_reorder+1)(%rip),%rcx +++ mov dv_reorder@GOTPCREL(%rip),%rcx +++ add $1,%rcx ++ add %rcx,%rax ++ mov %rax,dv_block_t_reorder(%r15) /* ptr */ ++ ++@@ -557,13 +559,13 @@ ++ /* bl->offset= mb_start + dv_parse_bit_start[b]; */ ++ /* xor %rcx,%rcx */ ++ movl mb_start(%rip),%ecx /* int32 */ ++- lea dv_parse_bit_start(%rip),%rax +++ mov dv_parse_bit_start@GOTPCREL(%rip),%rax ++ mov (%rax,%r12,4),%eax /* int32 */ ++ add %rcx,%rax ++ movl %eax,dv_block_t_offset(%r15) /* int32 */ ++ ++ /* bl->end= mb_start + dv_parse_bit_end[b]; */ ++- lea dv_parse_bit_end(%rip),%rax +++ mov dv_parse_bit_end@GOTPCREL(%rip),%rax ++ mov (%rax,%r12,4),%eax /* int32 */ ++ add %ecx,%eax ++ mov %eax,dv_block_t_end(%r15) /* int32 */ ++@@ -603,7 +605,8 @@ ++ mov dv_videosegment_t_bs(%rdi),%rdi /* passed in rdi was seg, now passing seg->bs */ ++ mov %r13,%rsi /* mb */ ++ mov %r15,%rdx /* bl */ ++- call dv_parse_ac_coeffs_pass0 +++ mov dv_parse_ac_coeffs_pass0@GOTPCREL(%rip),%r11 +++ call *%r11 ++ pop %rdi ++ pop %rsi ++ pop %rdx ++@@ -635,10 +638,12 @@ ++ mov %rsi,%rax /* quality */ ++ and $DV_QUALITY_AC_MASK,%rax ++ cmp $DV_QUALITY_AC_2,%rax +++ +++ jne done +++ mov dv_parse_ac_coeffs@GOTPCREL(%rip),%r11 +++ jmp *%r11 ++ ++- jz dv_parse_ac_coeffs ++- ++- mov $0,%rax +++done: mov $0,%rax ++ ++ ret ++ +--- libdv-0.104.orig/debian/patches/10_inline_fixes_CVS.dpatch ++++ libdv-0.104/debian/patches/10_inline_fixes_CVS.dpatch +@@ -0,0 +1,69 @@ ++#! /bin/sh /usr/share/dpatch/dpatch-run ++## 10_inline_fixes_CVS.dpatch by Daniel Kobras ++## ++## All lines beginning with `## DP:' are a description of the patch. ++## DP: Fix build problems when compiler does not honour the inline hint. ++## DP: (Patch set 288 from upstream CVS.) ++ ++@DPATCH@ ++--------------------- ++PatchSet 288 ++Date: 2004/12/21 05:08:02 ++Author: ddennedy ++Branch: HEAD ++Tag: (none) ++Log: ++convert extern inline to static inline ++ ++Members: ++ ChangeLog:1.110->1.111 ++ libdv/mmx.h:1.2->1.3 ++ libdv/vlc.h:1.6->1.7 ++ ++Index: libdv/ChangeLog ++diff -u libdv/ChangeLog:1.110 libdv/ChangeLog:1.111 ++--- libdv/ChangeLog:1.110 Sun Dec 12 17:48:50 2004 +++++ libdv/ChangeLog Mon Dec 20 21:08:02 2004 ++@@ -1,3 +1,7 @@ +++2004-12-20 Dan Dennedy +++ * vlc.h, mmx.h: apply patch from Daniel Kobras to improve +++ compile compatibillity by making extern inlinei, static inline.. +++ ++ 2004-12-12 Dan Dennedy ++ * *_x86_64.S: apply patch from Dean Kolosiek to fix linker ++ compatibility. ++Index: libdv/libdv/mmx.h ++diff -u libdv/libdv/mmx.h:1.2 libdv/libdv/mmx.h:1.3 ++--- libdv/libdv/mmx.h:1.2 Sat Oct 27 20:23:57 2001 +++++ libdv/libdv/mmx.h Mon Dec 20 21:08:03 2004 ++@@ -59,7 +59,7 @@ ++ ++ /* Function to test if multimedia instructions are supported... ++ */ ++-inline extern int +++inline static int ++ mm_support(void) ++ { ++ /* Returns 1 if MMX instructions are supported, ++@@ -223,7 +223,7 @@ ++ ++ /* Function to test if mmx instructions are supported... ++ */ ++-inline extern int +++inline static int ++ mmx_ok(void) ++ { ++ /* Returns 1 if MMX instructions are supported, 0 otherwise */ ++Index: libdv/libdv/vlc.h ++diff -u libdv/libdv/vlc.h:1.6 libdv/libdv/vlc.h:1.7 ++--- libdv/libdv/vlc.h:1.6 Mon Oct 20 12:46:50 2003 +++++ libdv/libdv/vlc.h Mon Dec 20 21:08:04 2004 ++@@ -69,7 +69,7 @@ ++ extern void dv_decode_vlc(int bits,int maxbits, dv_vlc_t *result); ++ extern void __dv_decode_vlc(int bits, dv_vlc_t *result); ++ ++-extern __inline__ void dv_peek_vlc(bitstream_t *bs,int maxbits, dv_vlc_t *result) { +++static inline void dv_peek_vlc(bitstream_t *bs,int maxbits, dv_vlc_t *result) { ++ if(maxbits < 16) ++ dv_decode_vlc(bitstream_show(bs,16),maxbits,result); ++ else +--- libdv-0.104.orig/debian/patches/20_no_exec_stack_CVS.dpatch ++++ libdv-0.104/debian/patches/20_no_exec_stack_CVS.dpatch +@@ -0,0 +1,207 @@ ++#! /bin/sh /usr/share/dpatch/dpatch-run ++## 20_no_exec_stack_CVS.dpatch by Daniel Kobras ++## ++## All lines beginning with `## DP:' are a description of the patch. ++## DP: Alter assembler functions to not require an executable stack. ++## DP: (Nicholas Miell) ++## DP: (Part of patch set 289 from upstream CVS. Removed unrelated ++## DP: changes to libtool in same patch set.) ++ ++@DPATCH@ ++--------------------- ++PatchSet 289 ++Date: 2005/01/31 13:27:53 ++Author: ddennedy ++Branch: HEAD ++Tag: (none) ++Log: ++remove execution stack from assembler functions ++ ++Members: ++ ChangeLog:1.111->1.112 ++ libdv/dct_block_mmx.S:1.3->1.4 ++ libdv/dct_block_mmx_x86_64.S:1.1->1.2 ++ libdv/encode_x86.S:1.3->1.4 ++ libdv/encode_x86_64.S:1.3->1.4 ++ libdv/idct_block_mmx.S:1.2->1.3 ++ libdv/idct_block_mmx_x86_64.S:1.2->1.3 ++ libdv/quant_x86.S:1.3->1.4 ++ libdv/quant_x86_64.S:1.3->1.4 ++ libdv/rgbtoyuv.S:1.5->1.6 ++ libdv/rgbtoyuv_x86_64.S:1.1->1.2 ++ libdv/transpose_x86.S:1.2->1.3 ++ libdv/transpose_x86_64.S:1.1->1.2 ++ libdv/vlc_x86.S:1.2->1.3 ++ libdv/vlc_x86_64.S:1.2->1.3 ++ ++Index: libdv/ChangeLog ++diff -u libdv/ChangeLog:1.111 libdv/ChangeLog:1.112 ++--- libdv/ChangeLog:1.111 Mon Dec 20 21:08:02 2004 +++++ libdv/ChangeLog Mon Jan 31 05:27:53 2005 ++@@ -1,3 +1,7 @@ +++2005-01-31 Dan Dennedy +++ * *.S: apply patch from Nicholas Miell +++ to not require execution stack for assembler functions. +++ ++ 2004-12-20 Dan Dennedy ++ * vlc.h, mmx.h: apply patch from Daniel Kobras to improve ++ compile compatibillity by making extern inlinei, static inline.. ++Index: libdv/libdv/dct_block_mmx_x86_64.S ++diff -u libdv/libdv/dct_block_mmx_x86_64.S:1.1 libdv/libdv/dct_block_mmx_x86_64.S:1.2 ++--- libdv/libdv/dct_block_mmx_x86_64.S:1.1 Tue Oct 19 20:49:24 2004 +++++ libdv/libdv/dct_block_mmx_x86_64.S Mon Jan 31 05:27:54 2005 ++@@ -53,6 +53,8 @@ ++ scratch3: .quad 0 ++ scratch4: .quad 0 ++ +++.section .note.GNU-stack, "", @progbits +++ ++ .text ++ ++ .align 8 ++Index: libdv/libdv/encode_x86.S ++diff -u libdv/libdv/encode_x86.S:1.3 libdv/libdv/encode_x86.S:1.4 ++--- libdv/libdv/encode_x86.S:1.3 Mon Oct 20 12:46:50 2003 +++++ libdv/libdv/encode_x86.S Mon Jan 31 05:27:54 2005 ++@@ -27,6 +27,9 @@ ++ ALLONE: .word 1,1,1,1 ++ VLCADDMASK: .byte 255,0,0,0,255,0,0,0 ++ +++ +++.section .note.GNU-stack, "", @progbits +++ ++ .text ++ ++ .global _dv_vlc_encode_block_mmx ++Index: libdv/libdv/encode_x86_64.S ++diff -u libdv/libdv/encode_x86_64.S:1.3 libdv/libdv/encode_x86_64.S:1.4 ++--- libdv/libdv/encode_x86_64.S:1.3 Sun Dec 12 17:48:51 2004 +++++ libdv/libdv/encode_x86_64.S Mon Jan 31 05:27:54 2005 ++@@ -27,6 +27,8 @@ ++ ALLONE: .word 1,1,1,1 ++ VLCADDMASK: .byte 255,0,0,0,255,0,0,0 ++ +++.section .note.GNU-stack, "", @progbits +++ ++ .text ++ ++ .global _dv_vlc_encode_block_mmx_x86_64 ++Index: libdv/libdv/idct_block_mmx.S ++diff -u libdv/libdv/idct_block_mmx.S:1.2 libdv/libdv/idct_block_mmx.S:1.3 ++--- libdv/libdv/idct_block_mmx.S:1.2 Tue Dec 31 15:04:02 2002 +++++ libdv/libdv/idct_block_mmx.S Mon Jan 31 05:27:54 2005 ++@@ -6,7 +6,7 @@ ++ * (element[0][0] of the matrix) ++ */ ++ ++- +++.section .note.GNU-stack, "", @progbits ++ ++ .text ++ .align 4 ++Index: libdv/libdv/idct_block_mmx_x86_64.S ++diff -u libdv/libdv/idct_block_mmx_x86_64.S:1.2 libdv/libdv/idct_block_mmx_x86_64.S:1.3 ++--- libdv/libdv/idct_block_mmx_x86_64.S:1.2 Sun Dec 12 17:48:51 2004 +++++ libdv/libdv/idct_block_mmx_x86_64.S Mon Jan 31 05:27:54 2005 ++@@ -13,6 +13,7 @@ ++ /* If we're using MMX assembler, fold weights into the iDCT ++ prescale here instead of _dv_weight_init */ ++ +++.section .note.GNU-stack, "", @progbits ++ ++ .text ++ .align 4 ++Index: libdv/libdv/quant_x86.S ++diff -u libdv/libdv/quant_x86.S:1.3 libdv/libdv/quant_x86.S:1.4 ++--- libdv/libdv/quant_x86.S:1.3 Mon Oct 20 12:46:50 2003 +++++ libdv/libdv/quant_x86.S Mon Jan 31 05:27:54 2005 ++@@ -24,6 +24,8 @@ ++ * The libdv homepage is http://libdv.sourceforge.net/. ++ */ ++ +++.section .note.GNU-stack, "", @progbits +++.previous ++ ++ /* ++ ++Index: libdv/libdv/quant_x86_64.S ++diff -u libdv/libdv/quant_x86_64.S:1.3 libdv/libdv/quant_x86_64.S:1.4 ++--- libdv/libdv/quant_x86_64.S:1.3 Sun Dec 12 17:48:51 2004 +++++ libdv/libdv/quant_x86_64.S Mon Jan 31 05:27:54 2005 ++@@ -24,6 +24,8 @@ ++ * The libdv homepage is http://libdv.sourceforge.net/. ++ */ ++ +++.section .note.GNU-stack, "", @progbits +++.previous ++ ++ /* ++ ++Index: libdv/libdv/rgbtoyuv.S ++diff -u libdv/libdv/rgbtoyuv.S:1.5 libdv/libdv/rgbtoyuv.S:1.6 ++--- libdv/libdv/rgbtoyuv.S:1.5 Mon Oct 20 12:46:50 2003 +++++ libdv/libdv/rgbtoyuv.S Mon Jan 31 05:27:54 2005 ++@@ -111,6 +111,8 @@ ++ ++ #endif ++ +++.section .note.GNU-stack, "", @progbits +++ ++ .text ++ ++ #define _inPtr 8 ++Index: libdv/libdv/rgbtoyuv_x86_64.S ++diff -u libdv/libdv/rgbtoyuv_x86_64.S:1.1 libdv/libdv/rgbtoyuv_x86_64.S:1.2 ++--- libdv/libdv/rgbtoyuv_x86_64.S:1.1 Tue Oct 19 20:49:24 2004 +++++ libdv/libdv/rgbtoyuv_x86_64.S Mon Jan 31 05:27:54 2005 ++@@ -111,6 +111,8 @@ ++ ++ #endif ++ +++.section .note.GNU-stack, "", @progbits +++ ++ .text ++ ++ #define _inPtr 8 ++Index: libdv/libdv/transpose_x86.S ++diff -u libdv/libdv/transpose_x86.S:1.2 libdv/libdv/transpose_x86.S:1.3 ++--- libdv/libdv/transpose_x86.S:1.2 Tue Dec 31 15:04:03 2002 +++++ libdv/libdv/transpose_x86.S Mon Jan 31 05:27:54 2005 ++@@ -1,3 +1,5 @@ +++.section .note.GNU-stack, "", @progbits +++ ++ .text ++ .global _dv_transpose_mmx ++ ++Index: libdv/libdv/transpose_x86_64.S ++diff -u libdv/libdv/transpose_x86_64.S:1.1 libdv/libdv/transpose_x86_64.S:1.2 ++--- libdv/libdv/transpose_x86_64.S:1.1 Tue Oct 19 20:49:24 2004 +++++ libdv/libdv/transpose_x86_64.S Mon Jan 31 05:27:54 2005 ++@@ -1,3 +1,5 @@ +++.section .note.GNU-stack, "", @progbits +++ ++ .text ++ .global _dv_transpose_mmx_x86_64 ++ ++Index: libdv/libdv/vlc_x86.S ++diff -u libdv/libdv/vlc_x86.S:1.2 libdv/libdv/vlc_x86.S:1.3 ++--- libdv/libdv/vlc_x86.S:1.2 Mon May 20 05:31:25 2002 +++++ libdv/libdv/vlc_x86.S Mon Jan 31 05:27:54 2005 ++@@ -1,4 +1,6 @@ ++ #include "asmoff.h" +++.section .note.GNU-stack, "", @progbits +++ ++ .text ++ .align 4 ++ .globl dv_decode_vlc ++Index: libdv/libdv/vlc_x86_64.S ++diff -u libdv/libdv/vlc_x86_64.S:1.2 libdv/libdv/vlc_x86_64.S:1.3 ++--- libdv/libdv/vlc_x86_64.S:1.2 Sun Dec 12 17:48:51 2004 +++++ libdv/libdv/vlc_x86_64.S Mon Jan 31 05:27:54 2005 ++@@ -1,4 +1,6 @@ ++ #include "asmoff.h" +++.section .note.GNU-stack, "", @progbits +++ ++ .text ++ .align 4 ++ .globl dv_decode_vlc +--- libdv-0.104.orig/debian/control ++++ libdv-0.104/debian/control +@@ -0,0 +1,48 @@ ++Source: libdv ++Section: graphics ++Priority: optional ++Maintainer: Daniel Kobras ++Build-Depends: debhelper (>= 4.1.1), libsdl1.2-dev (>= 1.2.2-1) | libsdl1.1-dev, libpopt-dev, libglib1.2-dev, libgtk1.2-dev, libx11-dev | xlibs-dev (>= 4.0), libxext-dev | xlibs-dev (>= 4.0), libxt-dev | xlibs-dev (>= 4.0), libxv-dev | xlibs-dev (>= 4.0), x-dev | xlibs-dev (>= 4.0), autotools-dev, pkg-config (>= 0.7), file, dpatch ++Standards-Version: 3.6.1 ++ ++Package: libdv4 ++Section: libs ++Architecture: any ++Depends: ${shlibs:Depends} ++Recommends: libdv-bin ++Description: software library for DV format digital video (runtime lib) ++ The Quasar DV Codec (libdv) is a software decoder for DV format video, as ++ defined by the IEC 61834 and SMPTE 314M standards. DV is the encoding format ++ used by consumer-grade digital camcorders. ++ . ++ This package contains the library needed to run executables using libdv. ++ ++Package: libdv4-dev ++Section: libdevel ++Priority: extra ++Architecture: any ++Depends: libc6-dev, libpopt-dev, libdv4 (= ${Source-Version}) ++Conflicts: libdv-dev ++Replaces: libdv-dev ++Provides: libdv-dev ++Description: software library for DV format digital video (devel files) ++ The Quasar DV Codec (libdv) is a software decoder for DV format video, as ++ defined by the IEC 61834 and SMPTE 314M standards. DV is the encoding format ++ used by consumer-grade digital camcorders. ++ . ++ This package contains the development headers and library files needed to ++ compile programs using libdv. ++ ++Package: libdv-bin ++Section: graphics ++Priority: extra ++Architecture: any ++Depends: ${shlibs:Depends} ++Replaces: libdv-dev (<< 0.98-1) ++Description: software library for DV format digital video (sample apps) ++ The Quasar DV Codec (libdv) is a software decoder for DV format video, as ++ defined by the IEC 61834 and SMPTE 314M standards. DV is the encoding format ++ used by consumer-grade digital camcorders. ++ . ++ This package contains sample programs for viewing, encoding, and transferring ++ DV data. diff --git a/media/libs/libdv/libdv.mkbuild b/media/libs/libdv/libdv.mkbuild new file mode 100644 index 0000000..541638c --- /dev/null +++ b/media/libs/libdv/libdv.mkbuild @@ -0,0 +1,92 @@ +# +# This mkbuild is free software; you can redistribute it and/or modify it under the +# terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or any later version. +# +# This mkbuild 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., 59 Temple +# Place - Suite 330, Boston, MA 02111-1307, USA +# + +#-------------------- +# Personal variables +#-------------------- +# Author name +[[SLACKBUILD AUTHOR]]="Silvio Rhatto" + +# Initials author name +[[SLACKBUILD AUTHOR INITIALS]]="rha" + +#------------------------ +# Construction Variables +#------------------------ +# +# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... ) +[[DOWNLOAD FOLDER URL]]="http://downloads.sourceforge.net/libdv/libdv-1.0.0.tar.gz" + +# +# Documentation files. Null ("") to auto-set commom doc-files: +[[DOCUMENTATION FILES]]="AUTHORS COPYING COPYRIGHT ChangeLog NEWS README README.dvconnect README.encoder TODO" + +# SlackBuild model +[[SLACKBUILD MODEL]]="generic.mkSlackBuild" + +# SlackBuild PATH in Slack.Sarava tree +[[SLACKBUILD PATH]]="media/libs/libdv" + +#--------------------- +# SlackBuild Sections +#--------------------- +# Default sections: +# head, set_variables, slkflags, start_structure, untar_source, +# make_package, install_package, build_package +# Warning: don't remove '#>>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +libdv: libdv (libdv is a software codec for DV video) +libdv: +libdv: The Quasar DV codec (libdv) is a software codec for DV video, the +libdv: encoding format used by most digital camcorders, typically those that +libdv: support the IEEE 1394 (a.k.a. FireWire or i.Link) interface. Libdv +libdv: was developed according to the official standards for DV video: +libdv: IEC 61834 and SMPTE 314M. +libdv: +libdv: http://libdv.sourceforge.net/ +libdv: +libdv: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +libdvbpsi: libdvbpsi (a simple library for DVB PSI) +libdvbpsi: +libdvbpsi: +libdvbpsi: Libdvbpsi is a simple library designed for decoding and +libdvbpsi: generation of MPEG TS and DVB PSI tables. +libdvbpsi: +libdvbpsi: +libdvbpsi: +libdvbpsi: +libdvbpsi: http://www.videolan.org/developers/libdvbpsi.html +libdvbpsi: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +libexif-gtk: libexif-gtk (library to read and write EXIF data) +libexif-gtk: +libexif-gtk: Libexif reads and writes EXIF metainformation from and to image +libexif-gtk: files. +libexif-gtk: +libexif-gtk: +libexif-gtk: +libexif-gtk: +libexif-gtk: +libexif-gtk: +libexif-gtk: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +libiec61883: libiec61883 (libiec61883 is Firewire video related library) +libiec61883: +libiec61883: This library is an implementation of IEC 61883, part 1 (CIP, plug +libiec61883: registers, and CMP), part 2 (DV-SD), part 4 (MPEG2-TS), and part 6 +libiec61883: (AMDTP). Outside of IIDC, nearly all FireWire multimedia devices use +libiec61883: IEC 61883 protocols. +libiec61883: +libiec61883: +libiec61883: +libiec61883: http://www.linux1394.org/ +libiec61883: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +libjackasyn: libjackasyn +libjackasyn: +libjackasyn: libjackasyn is a library that allows you to use programs written +libjackasyn: for the OSS sound API with the JACK audio server (jackit.sf.net). +libjackasyn: libjackasyn is a library that can be used for two purposes. +libjackasyn: +libjackasyn: +libjackasyn: +libjackasyn: +libjackasyn: +libjackasyn: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +liblo: liblo +liblo: +liblo: LibLO is a lightweight library for handling the sending and +liblo: receiving of messages according to the Open Sound Control (OSC) +liblo: protocol on POSIX systems. +liblo: +liblo: +liblo: +liblo: +liblo: +liblo: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +liblrdf: liblrdf (lightweight RDF) +liblrdf: +liblrdf: Liblrdf is a lightweight RDF library with special support for +liblrdf: LADSPA plugins. +liblrdf: +liblrdf: +liblrdf: +liblrdf: +liblrdf: +liblrdf: +liblrdf: +#rc.i_qp_step); + fprintf(stderr, " b_cbr: %d\n", params->rc.b_cbr); + fprintf(stderr, " i_bitrate: %d\n", params->rc.i_bitrate); +- fprintf(stderr, " i_rf_constant: %d\n", params->rc.i_rf_constant); ++ fprintf(stderr, " f_rf_constant: %d\n", params->rc.f_rf_constant); + fprintf(stderr, " f_rate_tolerance: %f\n", params->rc.f_rate_tolerance); + fprintf(stderr, " i_vbv_max_bitrate: %d\n", params->rc.i_vbv_max_bitrate); + fprintf(stderr, " i_vbv_buffer_size: %d\n", params->rc.i_vbv_buffer_size); +@@ -493,7 +493,7 @@ static int encode(quicktime_t *file, uns + { + /* Force ABR */ + codec->params.rc.i_rc_method = X264_RC_ABR; +- codec->params.rc.i_rf_constant = 0; ++ codec->params.rc.f_rf_constant = 0; + if(codec->pass == 1) + { + /* Strings will be made private by x264 */ +@@ -655,7 +655,7 @@ static int set_parameter(quicktime_t *fi + INTPARAM("x264_i_bitrate", codec->params.rc.i_bitrate); + + INTPARAM("x264_i_qp_constant", codec->params.rc.i_qp_constant); +- INTPARAM("x264_i_rf_constant", codec->params.rc.i_rf_constant); ++ INTPARAM("x264_f_rf_constant", codec->params.rc.f_rf_constant); + INTPARAM("x264_i_qp_min", codec->params.rc.i_qp_min); + INTPARAM("x264_i_qp_max", codec->params.rc.i_qp_max); + INTPARAM("x264_i_qp_step", codec->params.rc.i_qp_step); diff --git a/media/libs/libquicktime/libquicktime.mkbuild b/media/libs/libquicktime/libquicktime.mkbuild new file mode 100644 index 0000000..19569f2 --- /dev/null +++ b/media/libs/libquicktime/libquicktime.mkbuild @@ -0,0 +1,98 @@ +# +# This mkbuild is free software; you can redistribute it and/or modify it under the +# terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or any later version. +# +# This mkbuild 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., 59 Temple +# Place - Suite 330, Boston, MA 02111-1307, USA +# + +#-------------------- +# Personal variables +#-------------------- +# Author name +[[SLACKBUILD AUTHOR]]="Silvio Rhatto" + +# Initials author name +[[SLACKBUILD AUTHOR INITIALS]]="rha" + +#------------------------ +# Construction Variables +#------------------------ +# +# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... ) +[[DOWNLOAD FOLDER URL]]="http://downloads.sourceforge.net/libquicktime/libquicktime-1.0.3.tar.gz" + +# +# Documentation files. Null ("") to auto-set commom doc-files: +[[DOCUMENTATION FILES]]="AUTHORS COPYING ChangeLog INSTALL NEWS README TODO" + +[[OTHER CONFIGURE ARGS]]="--with-docdir=/usr/doc/$PKG_NAME-$PKG_VERSION" + +# +# Dependency list input +[[SLACK REQUIRED]]="libx264" + +# SlackBuild model +[[SLACKBUILD MODEL]]="generic.mkSlackBuild" + +# SlackBuild PATH in Slack.Sarava tree +[[SLACKBUILD PATH]]="media/libs/libquicktime" + +#--------------------- +# SlackBuild Sections +#--------------------- +# Default sections: +# head, set_variables, slkflags, start_structure, untar_source, +# make_package, install_package, build_package +# Warning: don't remove '#>>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +libquicktime: libquicktime (libquicktime is a library for quicktime/avi/mp4 files) +libquicktime: +libquicktime: libquicktime is a library for reading and writing quicktime files. +libquicktime: It is based on the quicktime4linux library, with the following some +libquicktime: extensions: +libquicktime: +libquicktime: +libquicktime: +libquicktime: +libquicktime: http://libquicktime.sourceforge.net/ +libquicktime: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +libsamplerate: libsamplerate (libsamplerate is library for samplerate conversions) +libsamplerate: +libsamplerate: Secret Rabbit Code (aka libsamplerate) is a Sample Rate Converter +libsamplerate: for audio. One example of where such a thing would be useful is +libsamplerate: converting audio from the CD sample rate of 44.1kHz to the 48kHz +libsamplerate: sample rate used by DAT players. +libsamplerate: SRC is capable of arbitrary and time varying conversions ; from +libsamplerate: downsampling by a factor of 256 to upsampling by the same factor. +libsamplerate: Arbitrary in this case means that the ratio of input and output +libsamplerate: sample rates can be an irrational number. The conversion ratio can +libsamplerate: also vary with time for speeding up and slowing down effects. +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +libsndfile: libsndfile (libsndfile is a library for audio manipulation) +libsndfile: +libsndfile: Libsndfile is a C library for reading and writing files containing +libsndfile: sampled sound (such as MS Windows WAV and the Apple/SGI AIFF format) +libsndfile: through one standard library interface. It is released in source +libsndfile: code format under the Gnu Lesser General Public License. +libsndfile: +libsndfile: +libsndfile: +libsndfile: http://www.mega-nerd.com/libsndfile/ +libsndfile: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +libx264: libx264 (x264 is a free library for encoding H264/AVC video streams) +libx264: +libx264: x264 is a free library for encoding H264/AVC video streams. The code +libx264: is written from scratch by Laurent Aimar, Loren Merritt, Eric Petit +libx264: (OS X), Min Chen (vfw/asm), Justin Clay (vfw), Måns Rullgård, Radek +libx264: Czyz, Christian Heine (asm), Alex Izvorski, and Alex Wright. It is +libx264: released under the terms of the GPL license. +libx264: +libx264: +libx264: http://developers.videolan.org/x264.html +libx264: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +openexr: OpenEXR (OpenEXR set of libraries for higher color fidelity images) +openexr: +openexr: OpenEXR supports several lossless compression methods, some of which +openexr: can achieve compression ratios of about 2:1 for images with film +openexr: grain. OpenEXR is extensible, so developers can easily add new +openexr: compression methods (lossless or lossy). +openexr: +openexr: +openexr: +openexr: http://www.openexr.com/ +openexr: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 + on: gpg_signature_check + on: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +raptor: raptor (RDF parser/serializer library) +raptor: +raptor: Raptor is a free software / Open Source C library that provides a +raptor: set of parsers and serializers that generate Resource Description +raptor: Framework (RDF) triples by parsing syntaxes or serialize the triples +raptor: into a syntax. The supported parsing syntaxes are RDF/XML, N-Triples, +raptor: Turtle, RSS tag soup including Atom 0.3, GRDDL for XHTML and XML. +raptor: The serializing syntaxes ar eRDF/XML, N-Triples and RSS 1.0. +raptor: +raptor: +raptor: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +speex: speex +speex: +speex: Speex is an Open Source/Free Software patent-free audio +speex: compression format designed for speech. The Speex Project +speex: aims to lower the barrier of entry for voice applications +speex: by providing a free alternative to expensive proprietary +speex: speech codecs. Moreover, Speex is well-adapted to Internet +speex: applications and provides useful features that are not +speex: present in most other codecs. +speex: +speex: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +unicap: unicap (video capture library) +unicap: +unicap: Unicap provides a uniform interface to video capture +unicap: devices. It allows applications to use any supported +unicap: video capture device via a single API. +unicap: +unicap: +unicap: +unicap: +unicap: http://unicap-imaging.org/ +unicap: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files + on: install_documentation + on: slackdesc +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +xine-lib: xine-lib by Slack.Sarava +xine-lib: +xine-lib: xine-lib is a free (GPL licensed) high-performance multimedia +xine-lib: playback engine. The xine shared libraries are used by xine-ui (and +xine-lib: other media players and multimedia applications) for smooth video +xine-lib: processing and playback of multimedia streams such as movies, radio +xine-lib: and TV network streams, DVDs, and VCDs. +xine-lib: +xine-lib: +xine-lib: +xine-lib: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +zvbi: zvbi by Slack.Sarava +zvbi: +zvbi: The ZVBI library provides routines to access raw VBI sampling devices, +zvbi: a versatile raw VBI bit slicer, decoders for various data services and +zvbi: basic search, render and export functions for text pages. The library +zvbi: was written for the Zapping TV viewer and Zapzilla Teletext browser. +zvbi: +zvbi: +zvbi: +zvbi: +zvbi: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +swfdec-mozilla: swfdec-mozilla +swfdec-mozilla: +swfdec-mozilla: Swfdec-Mozilla contains a plugin for Mozilla browsers that uses the +swfdec-mozilla: Swfdec library for playing SWF files. +swfdec-mozilla: +swfdec-mozilla: +swfdec-mozilla: +swfdec-mozilla: +swfdec-mozilla: +swfdec-mozilla: +swfdec-mozilla: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +swfdec: swfdec +swfdec: +swfdec: Swfdec is the library for decoding and rendering Flash animations. +swfdec: It is still in heavy development. The intended audience are +swfdec: developers or people using it for pretested Flash animations +swfdec: (think embedded here). If you use it on unknown content, expect +swfdec: it to have issues and don't be surprised if it crashes. If you +swfdec: encounter such a crash however, make sure to file a bug immediately. +swfdec: +swfdec: +swfdec: +# + # Configure ++# https://annarchy.freedesktop.org/show_bug.cgi?id=11607 ++sed -e 's/-std=c99/-std=gnu99/g' configure.ac > configure.ac.new ++sed -e 's/-std=c99/-std=gnu99/g' configure > configure.new ++mv configure.ac.new configure.ac ++mv configure.new configure && chmod +x configure +#p< diff --git a/media/plugins/swh-plugins/swh-plugins.mkbuild b/media/plugins/swh-plugins/swh-plugins.mkbuild new file mode 100644 index 0000000..9370609 --- /dev/null +++ b/media/plugins/swh-plugins/swh-plugins.mkbuild @@ -0,0 +1,95 @@ +# +# This mkbuild is free software; you can redistribute it and/or modify it under the +# terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or any later version. +# +# This mkbuild 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., 59 Temple +# Place - Suite 330, Boston, MA 02111-1307, USA +# + +#-------------------- +# Personal variables +#-------------------- +# Author name +[[SLACKBUILD AUTHOR]]="Silvio Rhatto" + +# Initials author name +[[SLACKBUILD AUTHOR INITIALS]]="rha" + +#------------------------ +# Construction Variables +#------------------------ +# +# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... ) +[[DOWNLOAD FOLDER URL]]="http://plugin.org.uk/releases/0.4.15/swh-plugins-0.4.15.tar.gz" + +# +# Documentation files. Null ("") to auto-set commom doc-files: +[[DOCUMENTATION FILES]]="ABOUT-NLS AUTHORS COPYING ChangeLog NEWS README TODO" + +# SlackBuild model +[[SLACKBUILD MODEL]]="generic.mkSlackBuild" + +# SlackBuild PATH in Slack.Sarava tree +[[SLACKBUILD PATH]]="media/plugins/swh-plugins" + +# Dependencies +[[SLACK REQUIRED]]="fftw: ladspa" + +#--------------------- +# SlackBuild Sections +#--------------------- +# Default sections: +# head, set_variables, slkflags, start_structure, untar_source, +# make_package, install_package, build_package +# Warning: don't remove '#>>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +swh-plugins: swh-plugins +swh-plugins: +swh-plugins: This is a collection of LADSPA plugins available from Steve Harris +swh-plugins: at http://plugin.org.uk. +swh-plugins: +swh-plugins: +swh-plugins: +swh-plugins: +swh-plugins: +swh-plugins: +swh-plugins: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +xmms-jack: xmms-jack (jack plugin for XMMS) +xmms-jack: +xmms-jack: jack output plugin for XMMS by Chris Morgan +xmms-jack: (cmorgan at alum.wpi.edu) +xmms-jack: +xmms-jack: +xmms-jack: +xmms-jack: +xmms-jack: +xmms-jack: +xmms-jack: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +xmms-jackasyn: xmms-jackasyn +xmms-jackasyn: +xmms-jackasyn: This plugin enables xmms to playback sound via the JACK audio server. +xmms-jackasyn: The plugin is actually a port of the xmms OSS sound ouput plugin to +xmms-jackasyn: JACK, using libjackasyn. Thanks to Paul Brossier for several +xmms-jackasyn: improvements and for the Debian package of xmms-jackasyn. +xmms-jackasyn: +xmms-jackasyn: +xmms-jackasyn: +xmms-jackasyn: +xmms-jackasyn: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source + on: patch_source +off: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +ardour: ardour (Digital Audio Workstation) +ardour: +ardour: Ardour is a professional multitrack/multichannel audio recorder and +ardour: DAW for Linux, using ALSA-supported audio interfaces. It supports +ardour: up to 32 bit samples, 24+ channels at up to 96kHz, full MMC control, +ardour: a non-destructive, non-linear editor, and LADSPA plugins. +ardour: +ardour: +ardour: +ardour: +ardour: +#make_package +# Compile + +# This section and the install section uses code from +# http://slackbuilds.org/slackbuilds/12.1/audio/ardour/ardour.SlackBuild, +# which licence is: + +# Copyright 2008 Heinz Wiesinger +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +scons PREFIX=/usr \ + DIST_TARGET="none" \ + ARCH="$(echo $SLKCFLAGS)" \ + FREEDESKTOP=1 || exit $ERROR_MAKE +#install_package +# Install +scons \ + PREFIX=/usr \ + DIST_TARGET="none" \ + ARCH="$(echo $SLKCFLAGS)" \ + FREEDESKTOP=0 \ + DESTDIR=$PKG \ + install || exit $ERROR_INSTALL + +# We'll have to install the freedesktop stuff manually +# See the FREEDESKTOP target in $srcdir/gtk2_ardour/Sconscript +# to be sure this is synced with future releases +cd gtk2_ardour + # First, install the icons + mkdir -p $PKG/usr/share/icons/hicolor/{16x16,22x22,32x32,48x48}/apps + install -m 0644 icons/ardour_icon_16px.png \ + $PKG/usr/share/icons/hicolor/16x16/apps/ardour2.png || exit $ERROR_INSTALL + install -m 0644 icons/ardour_icon_22px.png \ + $PKG/usr/share/icons/hicolor/22x22/apps/ardour2.png || exit $ERROR_INSTALL + install -m 0644 icons/ardour_icon_32px.png \ + $PKG/usr/share/icons/hicolor/32x32/apps/ardour2.png || exit $ERROR_INSTALL + install -m 0644 icons/ardour_icon_48px.png \ + $PKG/usr/share/icons/hicolor/48x48/apps/ardour2.png || exit $ERROR_INSTALL + # Next, install the mime xml file + mkdir -p $PKG/usr/share/mime/packages + install -m 0644 ardour2.xml $PKG/usr/share/mime/packages || exit $ERROR_INSTALL + # Now install the mimetype icons + mkdir -p $PKG/usr/share/icons/hicolor/{16x16,22x22,32x32,48x48}/mimetypes + install -m 0644 icons/application-x-ardour_16px.png \ + $PKG/usr/share/icons/hicolor/16x16/mimetypes/application-x-ardour2.png || exit $ERROR_INSTALL + install -m 0644 icons/application-x-ardour_22px.png \ + $PKG/usr/share/icons/hicolor/22x22/mimetypes/application-x-ardour2.png || exit $ERROR_INSTALL + install -m 0644 icons/application-x-ardour_32px.png \ + $PKG/usr/share/icons/hicolor/32x32/mimetypes/application-x-ardour2.png || exit $ERROR_INSTALL + install -m 0644 icons/application-x-ardour_48px.png \ + $PKG/usr/share/icons/hicolor/48x48/mimetypes/application-x-ardour2.png || exit $ERROR_INSTALL + # Finally, install the desktop file + mkdir -p $PKG/usr/share/applications + install -m 0644 ardour2.desktop.in \ + $PKG/usr/share/applications/ardour2.desktop || exit $ERROR_INSTALL +cd - +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +camp: camp (cursed mp3 player) +camp: +camp: Console Ansi Mpeg Player interface. +camp: +camp: +camp: +camp: +camp: +camp: +camp: +camp: +#install_package +# Install +mkdir -p $PKG/usr/bin $PKG/usr/share/$PKG_NAME +cp camp $PKG/usr/bin +cp camp.ini $PKG/usr/share/$PKG_NAME +tar -C $PKG/usr/share/$PKG_NAME -xvf skins.tar +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +cmt: cmt (ladspa plugin package) +cmt: +cmt: The Computer Music Toolkit (CMT) is a collection of LADSPA plugins +cmt: for use with software synthesis and recording packages on Linux. +cmt: +cmt: +cmt: +cmt: +cmt: +cmt: +cmt: +#configure +# Configure +cd src + +sed -e 's/\/usr\/local\/lib\/ladspa\//\/usr\/lib\/ladspa\//' \ + -e 's/\/usr\/local\/bin\//\/usr\/bin\//' makefile > makefile.tmp || exit $ERROR_CONF + +echo "PREFIX = $PKG" >> makefile.tmp || exit $ERROR_CONF + +sed -e 's/$(INSTALL_PLUGINS_DIR)/$(PREFIX)\/$(INSTALL_PLUGINS_DIR)/g' \ + -e 's/$(INSTALL_INCLUDE_DIR)/$(PREFIX)\/$(INSTALL_INCLUDE_DIR)/g' \ + -e 's/$(INSTALL_BINARY_DIR)/$(PREFIX)\/$(INSTALL_BINARY_DIR)/g' makefile.tmp > makefile || exit $ERROR_CONF + +sed -e 's/cp $(PLUGIN_LIB) $(INSTALL_PLUGINS_DIR)/cp $(PLUGIN_LIB) $(PREFIX)\/$(INSTALL_PLUGINS_DIR)/g' \ + makefile.tmp > makefile || exit $ERROR_CONF +#install_package +# Install +mkdir -p $PKG/usr/lib/ladspa +make install DESTDIR="$PKG" || exit $ERROR_INSTALL +cd .. +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +darkice: darkice (an icecast and shoutcast streaming originator) +darkice: +darkice: DarkIce is an IceCast, IceCast2 and ShoutCast live audio streamer. +darkice: It takes audio input from a sound card, encodes it into mp3 and/or +darkice: Ogg Vorbis, and sends the mp3 stream to one or more IceCast and/or +darkice: ShoutCast servers, the Ogg Vorbis stream to one or more IceCast2 +darkice: servers. +darkice: +darkice: +darkice: +darkice: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package +off: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: install_documentation +off: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>install_package +# Install +strip darksnow +make make_pkg +#build_package +# Build the package +mv *-1rd.tgz $REPOS/$PKG_NAME-$PKG_VERSION-$ARCH-$BUILD.tgz || exit $ERROR_MKPKG +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +envy24control: envy24control (Control tool for Envy24 (ice1712) based soundcards) +envy24control: +envy24control: Envy24control is a graphical utility for controlling cards based on +envy24control: the envy24 or ice1712 chipset, e.g., the Midiman Delta series and +envy24control: the Terratec EWS and EWX series. It is supplied as part of the +envy24control: alsa-tools package. The utility allows control of the digital mixer, +envy24control: channel gains and other hardware settings, as well as displaying a +envy24control: level meter for each input and output channel. +envy24control: +envy24control: +envy24control: +# +-cd "$PKG_SRC" ++cd "$PKG_SRC/$PKG_NAME" +#p< diff --git a/media/sound/hydrogen/hydrogen-0.9.3.diff b/media/sound/hydrogen/hydrogen-0.9.3.diff new file mode 100644 index 0000000..1f0dc30 --- /dev/null +++ b/media/sound/hydrogen/hydrogen-0.9.3.diff @@ -0,0 +1,651 @@ +diff -Naur hydrogen-0.9.3.orig/Makefile.in hydrogen-0.9.3/Makefile.in +--- hydrogen-0.9.3.orig/Makefile.in 2005-11-10 16:00:08.000000000 -0200 ++++ hydrogen-0.9.3/Makefile.in 2008-07-24 19:43:46.000000000 -0300 +@@ -225,7 +225,7 @@ + mkdir -p $(DESTDIR)$(prefix)/share/hydrogen/data/ + cp -R data $(DESTDIR)$(prefix)/share/hydrogen + mkdir -p $(DESTDIR)$(prefix)/share/hydrogen/data/ +- @install -vD hydrogen.desktop $(DESTDIR)$(prefix)/share/applications/hydrogen.desktop ++ @install -vD -m 644 hydrogen.desktop $(DESTDIR)$(prefix)/share/applications/hydrogen.desktop + cd plugins;make install;cd .. + + +diff -Naur hydrogen-0.9.3.orig/configure.in hydrogen-0.9.3/configure.in +--- hydrogen-0.9.3.orig/configure.in 2006-01-18 20:02:37.000000000 -0200 ++++ hydrogen-0.9.3/configure.in 2008-07-24 19:43:40.000000000 -0300 +@@ -367,6 +367,8 @@ + echo "--- Checking for PortAudio -------------------------------------" + + portaudio_support=false ++AC_ARG_ENABLE(portaudio, [ --disable-portaudio Compile without portaudio support], [want_portaudio=$enableval]) ++if test "x$want_portaudio" != "xno"; then + AC_MSG_CHECKING([whether PORTAUDIOPATH environment variable is set]) + if test "x$PORTAUDIOPATH" = "x"; then + AC_MSG_RESULT(PORTAUDIOPATH is not set. No PortAudio support.) +@@ -389,6 +391,7 @@ + echo "-----------------------------------------------------------------" + echo "" + ++fi + + + +diff -Naur hydrogen-0.9.3.orig/configure.in~ hydrogen-0.9.3/configure.in~ +--- hydrogen-0.9.3.orig/configure.in~ 1969-12-31 21:00:00.000000000 -0300 ++++ hydrogen-0.9.3/configure.in~ 2006-01-18 20:02:37.000000000 -0200 +@@ -0,0 +1,557 @@ ++d added Qt .dylib search for OS X systems (2004/12/17 Jonathan Dempsey) ++ ++ ++dnl Process this file with autoconf to produce a configure script. ++AC_INIT(README) ++#AC_PREREQ(2.58) ++ ++extra_version="" ++hydrogenVersion="0.9.3$extra_version" ++ ++echo " ++ ++----------------------------------------------------------------- ++Starting Hydrogen $hydrogenVersion configuration... ++----------------------------------------------------------------- ++ ++" ++#ac_qmake_lflags="-static" ++#AC_SUBST(ac_qmake_lflags) ++ ++ ++# static build ++#ac_libraries=-static ++ ++ ++AC_DEFINE_UNQUOTED(VERSION, "${hydrogenVersion}", [Version]) ++ ++ ++AC_CONFIG_HEADER(config.h) ++ ++dnl Set default installation prefix. ++AC_PREFIX_DEFAULT(/usr/local) ++ac_prefix=$prefix ++if test "x$ac_prefix" = "xNONE"; then ++ ac_prefix=$ac_default_prefix ++fi ++AC_SUBST(ac_prefix) ++AC_DEFINE_UNQUOTED(CONFIG_PREFIX, ["$ac_prefix"], [Default installation prefix.]) ++ ++ ++AC_ARG_ENABLE(profile, [ --enable-profile enable profile info (default=no)], [useProfile="yes"], [useProfile="no"]) ++if test "x$useProfile" = "xyes"; then ++ ac_qmake_cflags="-pg" ++ ac_qmake_cxxflags="-pg" ++ ac_qmake_lflags="-pg" ++ AC_SUBST(ac_qmake_cflags) ++ AC_SUBST(ac_qmake_cxxflags) ++ AC_SUBST(ac_qmake_lflags) ++fi ++ ++dnl Enable debugging argument option. ++AC_ARG_ENABLE(debug, [ --enable-debug enable debugging (default=no)], [ac_debug="debug"], [ac_debug="release"]) ++AC_SUBST(ac_debug) ++if test "x$ac_debug" = "xdebug"; then ++ AC_DEFINE(CONFIG_DEBUG, 1, [Define if debugging is enabled.]) ++ features_list="${features_list} (Debug)" ++ echo " * Debug mode enabled." ++# CXXFLAGS="${CXXFLAGS} -g -O3" ++#else ++# CXXFLAGS="${CXXFLAGS} -O3" ++fi ++ ++ladspa_enabled=yes ++AC_ARG_ENABLE(ladspa, [ --disable-ladspa disable LADSPA support (default=no)], [ladspa_enabled=$enableval]) ++ ++if test "x$ladspa_enabled" = "xyes"; then ++ AC_DEFINE(LADSPA_SUPPORT, 1, [Define if LADSPA support is enabled.]) ++else ++ echo " * LADSPA support disabled." ++fi ++ ++ ++dnl Checks for programs. ++AC_PROG_CC ++AC_PROG_CPP ++AC_PROG_CXX ++AC_PROG_CXXCPP ++AC_PROG_GCC_TRADITIONAL ++ ++dnl Checks for languages. ++AC_LANG_C ++AC_LANG_CPLUSPLUS ++ ++ ++ ++######################## ++# ++# QT ++# ++##################### ++echo "" ++echo "--- Checking for QT Libs ----------------------------------------" ++ ++#dnl Check for QTDIR environment variable. ++AC_MSG_CHECKING([whether QTDIR environment variable is set]) ++if test "x$QTDIR" = "x"; then ++ # is not set ++ AC_MSG_RESULT([no]) ++ AC_MSG_WARN([QTDIR must be properly set.]) ++ ++ echo " * Searching for Qt library" ++ ac_qtlib="" ++ for X in /usr/share/qt /usr/share/qt3 /usr/lib/qt3 /usr/lib/qt-3.1; do ++ if test "x$ac_qtlib" = "x"; then ++ if test -f $X/lib/libqt-mt.so -o -f $X/lib/libqt-mt.a -o -f $X/lib/libqt-mt.dylib; then ++ ac_qtlib=$X ++ QTDIR=$X ++ echo " |-> searching QT in $X *** Found ***" ++ else ++ echo " |-> searching QT in $X *** Not found ***" ++ fi ++ fi ++ done ++else ++ AC_MSG_RESULT([$QTDIR]) ++ echo " * Searching for Qt library" ++ ac_qtlib="" ++ if test "x$ac_qtlib" = "x"; then ++ if test -f $QTDIR/lib/libqt-mt.so -o -f $QTDIR/lib/libqt-mt.a -o -f $QTDIR/lib/libqt-mt.dylib; then ++ ac_qtlib=$QTDIR ++ echo " |-> searching QT in $QTDIR *** Found ***" ++ else ++ echo " |-> searching QT in $QTDIR *** Not found ***" ++ fi ++ fi ++fi ++ ++#dnl Checks for Qt library. ++#AC_CACHE_CHECK([for Qt library], ++# ac_qtlib, [ ++# for X in qt-mt qt; do ++# if test "x$ac_qtlib" = "x"; then ++# if test -f $QTDIR/lib/lib$X.so -o -f $QTDIR/lib/lib$X.a; then ++# ac_qtlib=$X ++# fi ++# fi ++# done ++#]) ++ ++if test "x$ac_qtlib" = "x"; then ++ AC_MSG_WARN([Qt library not found. Maybe QTDIR isn't properly set.]) ++fi ++AC_SUBST(ac_qtlib) ++ ++ ++#dnl Check for Qt multi-thread support. ++#if test "x$ac_qtlib" = "xqt-mt"; then ++# ac_thread="thread" ++#fi ++#AC_SUBST(ac_thread) ++# ++CFLAGS="$CFLAGS -I$QTDIR/include" ++CPPFLAGS="$CPPFLAGS -I$QTDIR/include" ++LIBS="-L$QTDIR/lib -L/usr/X11R6/lib" ++ ++#AC_CACHE_CHECK([for Qt library version >= 3.1.1], ++# ac_qtlib_version, [ ++# AC_TRY_LINK([#include "qglobal.h"], [ ++#if QT_VERSION < 0x030101 ++#error Qt library 3.1.1 or greater required. ++#endif ++# ], ++# ac_qtlib_version="yes", [ ++# echo "no; Qt 3.1.1 or greater is required" ++# exit ++# ]) ++#]) ++ ++dnl A common error message: ++ac_qtdir_errmsg="not found in current PATH. Maybe QT development environment isn't available (qt3-devel)." ++ ++# Check for Qt qmake utility. ++#AC_PATH_PROG(ac_qmake, qmake, [no], $QTDIR/bin:${PATH}) ++AC_PATH_PROG(ac_qmake, qmake, [no], $QTDIR/bin) ++if test "x$ac_qmake" = "xno"; then ++ AC_MSG_ERROR([qmake $ac_qtdir_errmsg]) ++fi ++AC_SUBST(ac_qmake) ++ ++# Check for Qt moc utility. ++#AC_PATH_PROG(ac_moc, moc, [no], $QTDIR/bin:${PATH}) ++AC_PATH_PROG(ac_moc, moc, [no], $QTDIR/bin) ++if test "x$ac_moc" = "xno"; then ++ AC_MSG_ERROR([moc $ac_qtdir_errmsg]) ++fi ++AC_SUBST(ac_moc) ++ ++# Check for Qt uic utility. ++#AC_PATH_PROG(ac_uic, uic, [no], $QTDIR/bin:${PATH}) ++AC_PATH_PROG(ac_uic, uic, [no], $QTDIR/bin) ++if test "x$ac_uic" = "xno"; then ++ AC_MSG_ERROR([uic $ac_qtdir_errmsg]) ++fi ++AC_SUBST(ac_uic) ++ ++ ++ ++echo "" ++echo "-----------------------------------------------------------------" ++echo "Checking for libraries.." ++echo "-----------------------------------------------------------------" ++ ++ ++ ++dnl Checks for libraries. ++AC_CHECK_LIB(m, main) ++AC_CHECK_LIB(X11, main) ++AC_CHECK_LIB(Xext, main) ++AC_CHECK_LIB($ac_qtlib, main) ++ ++dnl Checks for header files. ++AC_HEADER_STDC ++AC_HEADER_SYS_WAIT ++AC_CHECK_HEADERS(fcntl.h sys/ioctl.h unistd.h poll.h) ++ ++dnl Checks for library functions. ++AC_CHECK_FUNCS(system) ++ ++ ++ ++################################# ++# ++# libSndFile ++# ++################################# ++echo "" ++echo "--- Checking for libsndfile -------------------------------------" ++sndfile_found=false ++AC_CHECK_LIB([sndfile], sf_open, sndfile_found=yes) ++#PKG_CHECK_MODULES(LIBSNDFILE, sndfile, sndfile_found=true, sndfile_found=false) ++if test "$sndfile_found" = "false"; then ++ AC_MSG_ERROR("sndfile library not found. Website: http://www.mega-nerd.com/libsndfile/") ++else ++ ac_libraries="${ac_libraries} $( pkg-config --libs sndfile )" ++fi ++echo "-----------------------------------------------------------------" ++echo "" ++ ++ ++ ++ ++###################### ++# ++# FLAC ++# ++######################## ++echo "" ++echo "--- Checking for FLAC++ Libs ------------------------------------" ++flac_support=yes ++AC_ARG_ENABLE(flac_support, [ --disable-flac-support Compile without FLAC support], [flac_support=$enableval]) ++ ++if test "$flac_support" != "no"; then ++ ++ flac_found=no ++ #AC_CHECK_HEADERS(FLAC/file_decoder.h) ++ #AC_CHECK_LIB(FLAC, FLAC__file_decoder_new, flac_found=yes) ++ ++ AC_CHECK_HEADERS(FLAC++/all.h, flac_found=yes) ++ #AC_CHECK_LIB(FLAC++, FLAC::Decoder::File, flac_found=yes) ++ ++ if test "$flac_found" = "no"; then ++ AC_MSG_ERROR("FLAC++ library not found. FLAC website: http://flac.sourceforge.net") ++ else ++ AC_DEFINE(FLAC_SUPPORT, 1, [Define to enable FLAC support]) ++ ac_libraries="${ac_libraries} -lFLAC++ -lFLAC" ++ features_list="${features_list} (FLAC)" ++ fi ++else ++ AC_MSG_WARN("FLAC++ library disabled. WARNING: Many drumkits will not work without FLAC support!!") ++fi ++ ++echo "-----------------------------------------------------------------" ++echo "" ++ ++ ++ ++ ++############################## ++# ++# JACK SUPPORT ++# ++################################ ++echo "" ++echo "--- Checking for JACK -------------------------------------------" ++jack_support=yes ++AC_ARG_ENABLE(jack-support, [ --disable-jack-support Compile without JACK support], [jack_support=$enableval]) ++ ++JACK_SUPPORT=0 ++ ++if test "$jack_support" != "no"; then ++ AC_CHECK_LIB(jack, main, [ac_jack_lib="yes"], [ac_jack_lib="no"]) ++ if test "x$ac_jack_lib" = "xno"; then ++ AC_MSG_WARN([ *** Could not find the JACK library, disabling JACK driver]) ++ else ++ JACK_SUPPORT=1 ++ AC_DEFINE(JACK_SUPPORT, 1, [Define to enable JACK driver]) ++ features_list="${features_list} (Jack)" ++ ac_libraries="${ac_libraries} -ljack" ++ fi ++else ++ echo "JACK support disabled" ++fi ++echo "-----------------------------------------------------------------" ++echo "" ++ ++########################## ++# ++# ALSA ++# ++########################## ++echo "" ++echo "--- Checking for ALSA Libs --------------------------------------" ++ ++use_alsa=yes ++ ++AC_ARG_ENABLE(alsa, [ --disable-alsa Compile without ALSA support], [use_alsa=$enableval]) ++if test "$use_alsa" = "yes"; then ++ alsa_found=no ++ AC_CHECK_HEADERS(alsa/asoundlib.h) ++dnl if test "x${ac_cv_header_alsa_asoundlib_h}" = xyes ; then ++dnl fi ++ ++ AC_CHECK_LIB(asound, snd_seq_open, alsa_found=yes) ++ if test "$alsa_found" = "no" ; then ++ AC_MSG_WARN([ *** Could not find the ALSA library, disabling ALSA support]) ++ else ++ AC_DEFINE( ALSA_SUPPORT, 1, [Define to use ALSA Audio support]) ++ features_list="${features_list} (Alsa)" ++ ac_libraries="${ac_libraries} -lasound" ++ fi ++else ++ echo "ALSA support disabled." ++fi ++ ++echo "-----------------------------------------------------------------" ++echo "" ++ ++ ++########################## ++# ++# OSS SUPPORT ++# ++########################## ++echo "" ++echo "--- Checking for OSS --------------------------------------------" ++oss_support=yes ++ ++AC_ARG_ENABLE(oss-support, [ --disable-oss-support Compile without OSS support], [oss_support=$enableval]) ++if test "$oss_support" = "yes"; then ++ AC_DEFINE(OSS_SUPPORT, 1, [Define to enable OSS driver]) ++ features_list="${features_list} (OSS)" ++else ++ echo "OSS support disabled." ++fi ++ ++echo "-----------------------------------------------------------------" ++echo "" ++ ++ ++ ++################################# ++# ++# PortAudio ++# ++################################# ++echo "" ++echo "--- Checking for PortAudio -------------------------------------" ++ ++portaudio_support=false ++AC_MSG_CHECKING([whether PORTAUDIOPATH environment variable is set]) ++if test "x$PORTAUDIOPATH" = "x"; then ++ AC_MSG_RESULT(PORTAUDIOPATH is not set. No PortAudio support.) ++else ++ AC_MSG_RESULT("[$PORTAUDIOPATH]") ++ if test -f $PORTAUDIOPATH/pa_unix_oss/libportaudio.so; then ++ echo " |-> searching PortAudio in $PORTAUDIOPATH *** Found ***" ++ ac_libraries="${ac_libraries} -L${PORTAUDIOPATH}/pa_unix_oss -lportaudio" ++ features_list="${features_list} (PortAudio)" ++ AC_DEFINE(PORTAUDIO_SUPPORT, 1, [Define to enable PortAudio driver]) ++ ++ ac_qmake_cxxflags="$ac_qmake_cxxflags -I$PORTAUDIOPATH/pa_common" ++ AC_SUBST(ac_qmake_cxxflags) ++ portaudio_support=true ++ else ++ echo " |-> searching PortAudio in $PORTAUDIOPATH *** Not found ***" ++ fi ++ ++fi ++echo "-----------------------------------------------------------------" ++echo "" ++ ++ ++ ++ ++################################# ++# ++# PortMidi ++# ++################################# ++echo "" ++echo "--- Checking for PortMidi -------------------------------------" ++portmidi_support=false ++AC_MSG_CHECKING([whether PORTMIDIPATH environment variable is set]) ++if test "x$PORTMIDIPATH" = "x"; then ++ AC_MSG_RESULT(PORTMIDIPATH is not set. No PortMidi support.) ++else ++ AC_MSG_RESULT("[$PORTMIDIPATH]") ++ if test -f $PORTMIDIPATH/pm_linux/libportmidi.a; then ++ echo " |-> searching PortMidi in $PORTMIDIPATH *** Found ***" ++ ac_libraries="${ac_libraries} ${PORTMIDIPATH}/pm_linux/libportmidi.a ${PORTMIDIPATH}/porttime/libporttime.a" ++ features_list="${features_list} (PortMidi)" ++ AC_DEFINE(PORTMIDI_SUPPORT, 1, [Define to enable PortMidi driver]) ++ ++ ac_qmake_cxxflags="$ac_qmake_cxxflags -I$PORTMIDIPATH/pm_common -I$PORTMIDIPATH/porttime" ++ AC_SUBST(ac_qmake_cxxflags) ++ portmidi_support=true ++ else ++ echo " |-> searching PortMidi in $PORTMIDIPATH *** Not found ***" ++ fi ++ ++fi ++ ++echo "-----------------------------------------------------------------" ++echo "" ++ ++ ++ ++ ++################################## ++# ++# LRDF ++# ++################################### ++echo "" ++echo "--- Checking for LRDF -------------------------------------------" ++LRDF_SUPPORT=0 ++lrdf_check=yes ++AC_ARG_ENABLE(lrdf-support, [ --disable-lrdf-support Compile without LRDF support], [lrdf_check=$enableval]) ++if test "$lrdf_check" = "yes"; then ++ lrdf_found=no ++ AC_CHECK_HEADERS(lrdf.h, lrdf_found=yes) ++# AC_CHECK_LIB(lrdf, lrdf_init, lrdf_found=yes) ++ if test "$lrdf_found" = "no" ; then ++ AC_MSG_WARN([ *** Could not find the LRDF library]) ++ else ++ LRDF_SUPPORT=1 ++ AC_DEFINE(LRDF_SUPPORT, 1, [Define to enable LRDF support]) ++ ac_libraries="${ac_libraries} -llrdf -lraptor -lxml2" ++ features_list="${features_list} (LRDF)" ++ fi ++fi ++echo "-----------------------------------------------------------------" ++echo "" ++ ++ ++ ++################################## ++# ++# define the DATA path ++# ++################################### ++AC_DEFINE_UNQUOTED(DATA_PATH, "${ac_prefix}/share/hydrogen/data", [Data dir]) ++AC_DEFINE_UNQUOTED(COMPILED_FEATURES, "${features_list}", [Compiled features]) ++ ++ ++ ++ ++AC_SUBST(ac_libraries) ++ ++ ++AC_OUTPUT( ++Makefile ++hydrogen.pro ++hydrogenPlayer.pro ++hydrogenBenchmark.pro ++hydrogen2Midi.pro ++hydrogenCUI.pro ++hydrogen.desktop ++plugins/Makefile ++plugins/wasp/Makefile ++) ++ ++ ++echo " ++ ++----------------------------------------------------------------- ++ Hydrogen ${hydrogenVersion} configuration: ++----------------------------------------------------------------- ++ ++ Source code location: ${srcdir} ++ Prefix ${ac_prefix} ++ Data path ${ac_prefix}/share/hydrogen ++ LDFLAGS ${ac_libraries} ++" ++if test "x$ac_debug" = "xdebug"; then ++ echo " Debug messages: yes" ++else ++ echo " Debug messages: no" ++fi ++ ++if test "${flac_found}" = "yes"; then ++ echo " FLAC: yes" ++else ++ echo " FLAC: no" ++fi ++ ++if test "${LRDF_SUPPORT}" = "1"; then ++ echo " LRDF: yes" ++else ++ echo " LRDF: no" ++fi ++ ++echo "" ++ ++if test "${JACK_SUPPORT}" = "1"; then ++ echo " Jack: yes" ++else ++ echo " Jack: no" ++fi ++ ++if test "${alsa_found}" = "yes"; then ++ echo " ALSA : yes" ++else ++ echo " ALSA : no" ++fi ++ ++if test "${oss_support}" = "yes"; then ++ echo " OSS: yes" ++else ++ echo " OSS: no" ++fi ++ ++ ++if test "${portaudio_support}" = "true"; then ++ echo " PortAudio yes" ++else ++ echo " PortAudio no" ++fi ++ ++if test "${portmidi_support}" = "true"; then ++ echo " PortMidi: yes" ++else ++ echo " PortMidi: no" ++fi ++ ++ ++echo " ++ Features list = ${features_list} ++ ++----------------------------------------------------------------- ++Now type make to build Hydrogen. ++----------------------------------------------------------------- ++ ++If you're not a member of hydrogen-dev mailing list yet, please join. ++Please see http://www.hydrogen-music.org for details. ++ ++" +diff -Naur hydrogen-0.9.3.orig/src/lib/FLACFile.cpp hydrogen-0.9.3/src/lib/FLACFile.cpp +--- hydrogen-0.9.3.orig/src/lib/FLACFile.cpp 2005-11-08 07:31:22.000000000 -0200 ++++ hydrogen-0.9.3/src/lib/FLACFile.cpp 2008-07-24 19:43:59.000000000 -0300 +@@ -33,6 +33,13 @@ + //#include "FLAC/file_decoder.h" + #include + ++#if !defined(FLAC_API_VERSION_CURRENT) || FLAC_API_VERSION_CURRENT < 8 ++#define LEGACY_FLAC ++#else ++#undef LEGACY_FLAC ++#endif ++ ++ + /// Reads a FLAC file...not optimized yet + class FLACFile_real : public FLAC::Decoder::File, public Object + { +@@ -164,16 +171,28 @@ + } + + set_metadata_ignore_all(); ++ ++#ifdef LEGACY_FLAC + set_filename( sFilename.c_str() ); + + State s=init(); + if( s != FLAC__FILE_DECODER_OK ) { ++#else ++ FLAC__StreamDecoderInitStatus s=init(sFilename.c_str() ); ++ if(s!=FLAC__STREAM_DECODER_INIT_STATUS_OK) { ++#endif + errorLog( "[load] Error in init()" ); + } + ++#ifdef LEGACY_FLAC + if ( process_until_end_of_file() == false ) { + errorLog( "[load] Error in process_until_end_of_file()" ); + } ++#else ++ if ( process_until_end_of_stream() == false ) { ++ errorLog( "[load] Error in process_until_end_of_stream()" ); ++ } ++#endif + } + + +diff -Naur hydrogen-0.9.3.orig/src/lib/xml/tinyxml.h hydrogen-0.9.3/src/lib/xml/tinyxml.h +--- hydrogen-0.9.3.orig/src/lib/xml/tinyxml.h 2005-10-17 20:32:04.000000000 -0200 ++++ hydrogen-0.9.3/src/lib/xml/tinyxml.h 2008-07-24 19:44:04.000000000 -0300 +@@ -823,7 +823,7 @@ + #endif + + /// Construct. +- TiXmlDeclaration::TiXmlDeclaration( const char * _version, ++ TiXmlDeclaration( const char * _version, + const char * _encoding, + const char * _standalone ); + diff --git a/media/sound/hydrogen/hydrogen.mkbuild b/media/sound/hydrogen/hydrogen.mkbuild new file mode 100644 index 0000000..653effa --- /dev/null +++ b/media/sound/hydrogen/hydrogen.mkbuild @@ -0,0 +1,95 @@ +# +# This mkbuild is free software; you can redistribute it and/or modify it under the +# terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or any later version. +# +# This mkbuild 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., 59 Temple +# Place - Suite 330, Boston, MA 02111-1307, USA +# + +#-------------------- +# Personal variables +#-------------------- +# Author name +[[SLACKBUILD AUTHOR]]="Silvio Rhatto" + +# Initials author name +[[SLACKBUILD AUTHOR INITIALS]]="rha" + +#------------------------ +# Construction Variables +#------------------------ +# +# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... ) +[[DOWNLOAD FOLDER URL]]="http://downloads.sourceforge.net/hydrogen/hydrogen-0.9.3.tar.gz" + +# +# Documentation files. Null ("") to auto-set commom doc-files: +[[DOCUMENTATION FILES]]="AUTHORS COPYING ChangeLog README" + +# SlackBuild model +[[SLACKBUILD MODEL]]="generic.mkSlackBuild" + +# SlackBuild PATH in Slack.Sarava tree +[[SLACKBUILD PATH]]="media/sound/hydrogen" + +# Dependencies +[[SLACK REQUIRED]]="libsndfile" + +#--------------------- +# SlackBuild Sections +#--------------------- +# Default sections: +# head, set_variables, slkflags, start_structure, untar_source, +# make_package, install_package, build_package +# Warning: don't remove '#>>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +hydrogen: hydrogen (A drum machine/sequencer) +hydrogen: +hydrogen: Hydrogen is a simple real-time Drum machine/sequencer. It features +hydrogen: a graphical user interface based on Qt, a sample-based audio engine, +hydrogen: Jack/ALSA/OSS/PortAudio and Export to disk audio drivers, ALSA MIDI +hydrogen: input, ability to import/export XML-based song and drumkit files, +hydrogen: 192 ticks per pattern, 16 voices with volume, mute, solo, ADSR, and +hydrogen: pan capabilities, and import of samples in wave, au, and aiff format. +hydrogen: +hydrogen: +hydrogen: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 + on: gpg_signature_check + on: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +jack-rack: jack-rack +jack-rack: +jack-rack: JACK Rack is a LADSPA effects rack for the JACK audio API. It +jack-rack: supports MIDI control, arbitrary channels, LRDF XML plugin +jack-rack: descriptions, and the LADCCA session management system. +jack-rack: +jack-rack: +jack-rack: +jack-rack: +jack-rack: +jack-rack: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +lmms: lmms (Linux MultiMedia Studio) +lmms: +lmms: LMMS aims to be a free alternative to popular (but commercial and +lmms: closed- source) programs like FruityLoops, Cubase and Logic giving +lmms: you the ability of producing music with your computer by creating +lmms: cool loops, synthesizing and mixing sounds, arranging samples, +lmms: having more fun with your MIDI-keyboard and much more... +lmms: +lmms: +lmms: +lmms: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +mp3blaster: mp3blaster (a ncurses based audio player) +mp3blaster: +mp3blaster: MP3Blaster is a text console based program for playing mainly mp3 +mp3blaster: audio files. It is very interactive, and has a great list of features. +mp3blaster: Its playlist can be divided in albums or categories (called 'groups'), +mp3blaster: which allows for very sophisticated playback orders. +mp3blaster: +mp3blaster: +mp3blaster: +mp3blaster: +mp3blaster: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure + on: create_build_user_and_group + on: download_source +off: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +pulseaudio: pulseaudio (sound server daemon) +pulseaudio: +pulseaudio: PulseAudio is a sound server for POSIX and Win32 systems. +pulseaudio: +pulseaudio: +pulseaudio: +pulseaudio: +pulseaudio: +pulseaudio: +pulseaudio: http://www.pulseaudio.org/ +pulseaudio: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +qjackctl: qjackctl (a GUI control interface for the JACK sound server) +qjackctl: +qjackctl: QjackCtl is a simple Qt application to control the JACK sound server +qjackctl: daemon (http://jackit.sourceforge.net), for the Linux Audio Desktop +qjackctl: infrastructure. +qjackctl: +qjackctl: +qjackctl: +qjackctl: +qjackctl: +qjackctl: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +twolame: twolame +twolame: +twolame: TwoLAME is an optimised MPEG Audio Layer 2 (MP2) encoder based on +twolame: tooLAME by Mike Cheng, which in turn is based upon the ISO dist10 +twolame: code and portions of LAME. TwoLAME includes libtwolame, a fully +twolame: thread-safe shared library with an API very similar to LAME's. +twolame: +twolame: +twolame: +twolame: +twolame: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files + on: install_documentation + on: slackdesc +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +xmms: XMMS (X Multimedia System) by Slack.Sarava +xmms: +xmms: XMMS is a multimedia player for unix systems. XMMS stands for X +xmms: MultiMedia System and can play media files such as MP3, MOD's, WAV +xmms: and others with the use of Input plugins. XMMS is mainly targeted at +xmms: music playback, but through thirdparty plugins some rudimentary video +xmms: capabilities exists, but there are much better systems other than +xmms: XMMS for video support. +xmms: +xmms: by avs +xmms: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group +off: download_source + on: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check +off: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +cinelerra: cinelerra (cinelerra is powerfull Non Linear Video Editor) +cinelerra: +cinelerra: Heroine Virtual Ltd. presents an advanced content creation system +cinelerra: for Linux. Cinelerra takes what normally is a boring server - studied +cinelerra: in computer science classrooms, hidden in back offices - and turns it +cinelerra: into a 50,000 watt flamethrower of multimedia editing. +cinelerra: +cinelerra: This version is the cv.cinelerra.org branch (in fact, a fork). +cinelerra: +cinelerra: http://cv.cinelerra.org/ +cinelerra: +# + # Configure ++if [ "$ARCH" == "i586" ] || [ "$ARCH" == "i686" ]; then ++ CONF_OPTIONS="$CONF_OPTIONS --enable-mmx" ++fi ++ ++if [ "$HAVE_ALTIVEC" == "true" ]; then ++ CONF_OPTIONS="$CONF_OPTIONS --enable-altivec" ++ if [ -f "$CWD/$PACKAGE-altivec.diff" ]; then ++ patch -p0 < $CWD/$PACKAGE-altivec.diff || exit $ERROR_PATCH ++ fi ++fi ++ ++./autogen.sh || exit $ERROR_CONF +#

>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +dvgrab: dvgrab (dvgrab is a ieee1394 dv grabber) +dvgrab: +dvgrab: Excellent command line audio and video DV grabber data via IEEE1394 +dvgrab: +dvgrab: +dvgrab: +dvgrab: +dvgrab: +dvgrab: +dvgrab: +dvgrab: +# /dev/null +rm -rf "$PKG" 2> /dev/null + +# Create directories if necessary +mkdir -p "$SRC_DIR" || exit $ERROR_MKDIR +mkdir -p "$PKG" || exit $ERROR_MKDIR +mkdir -p "$REPOS" || exit $ERROR_MKDIR +mkdir -p "$PKG_WORK" || exit $ERROR_MKDIR + +# Get svn source code +cd "$SRC_DIR" +SND_DIR="`basename svn://svn.mplayerhq.hu/ffmpeg/trunk`" + +if [ "`find "$SRC_DIR/" -name .svn`" != "" ] && [ -d "$SRC_DIR/$SND_DIR" ]; then + cd $SND_DIR + svn update || exit $ERROR_VCS +else + svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk $SND_DIR || exit $ERROR_VCS + cd $SND_DIR +fi + +PKG_VERSION="`svn info | awk '/Last Changed Rev:/ { print $4 }'`_svn" + +# Copy svn source +cd "$PKG_WORK" +cp -a $SRC_DIR/* . +PKG_SRC="$PWD/$SND_DIR" +cd "$PKG_SRC" + +# Patch source +patches=" + $PKG_NAME.diff $PKG_NAME-$PKG_VERSION.diff + $PKG_NAME-$PKG_VERSION-$ARCH.diff $PKG_NAME-$ARCH.diff" +for patch in $patches; do + if [ -f "$CWD/$patch" ]; then + patch -Np1 < "$CWD/$patch" || exit $ERROR_PATCH + elif [ -f "$CWD/patches/$patch" ]; then + patch -Np1 < "$CWD/patches/$patch" || exit $ERROR_PATCH + elif [ -f "$CWD/$patch.gz" ]; then + gzip -dc "$CWD/$patch.gz" | patch -Np1 || exit $ERROR_PATCH + elif [ -f "$CWD/patches/$patch.gz" ]; then + gzip -dc "$CWD/patches/$patch.gz" | patch -Np1 || exit $ERROR_PATCH + fi +done + +if echo [[PATCH URLS]] | grep -q -v "PATCH URLS"; then + for patch_url in [[PATCH URLS]]; do + patch="`basename $patch_url`" + if [ ! -s "$SRC_DIR/$patch" ]; then + wget "$patch_url" -O "$SRC_DIR/$patch" || exit $ERROR_WGET + fi + if [ "`basename $patch .gz`" != "$patch" ]; then + gzip -dc $SRC_DIR/$patch | patch -Np1 || exit $ERROR_PATCH + elif [ "`basename $patch .bz2`" != "$patch" ]; then + bzip2 -dc $SRC_DIR/$patch | patch -Np1 || exit $ERROR_PATCH + else + patch -Np1 < "$SRC_DIR/$patch" || exit $ERROR_PATCH + fi + done +fi + +# Configure +if [ "$ARCH" == "powerpc" ]; then + EXTRA_AC_FLAGS="--disable-altivec" +fi +CFLAGS="$SLKCFLAGS" \ + CXXFLAGS="$SLKCFLAGS" \ + ./configure \ + --prefix="$PREFIX" --libdir="$LIBDIR" $CONF_OPTIONS || exit $ERROR_CONF + +# Compile +make $NUMJOBS || exit $ERROR_MAKE + +# Install +make install DESTDIR="$PKG" || exit $ERROR_INSTALL + +# Lets make our package compatible with the ffmpeg debian package +mkdir $PKG/usr/include/ffmpeg +cp $PKG/usr/include/libavutil/* $PKG/usr/include/ffmpeg +cp $PKG/usr/include/libavdevice/* $PKG/usr/include/ffmpeg +cp $PKG/usr/include/libavformat/* $PKG/usr/include/ffmpeg +cp $PKG/usr/include/libswscale/* $PKG/usr/include/ffmpeg +cp $PKG/usr/include/libavcodec/* $PKG/usr/include/ffmpeg +mkdir $PKG/usr/include/postproc +cp $PKG/usr/include/libpostproc/* $PKG/usr/include/postproc + +# Strip binaries +( cd "$PKG" + find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \ + xargs strip --strip-unneeded 2> /dev/null + find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \ + xargs strip --strip-unneeded 2> /dev/null +) + +# Install documentation +DOCS="COPYING CREDITS Changelog MAINTAINERS README" +mkdir -p "$PKG/usr/doc/$PKG_NAME-$PKG_VERSION" || exit $ERROR_MKDIR +for doc in $DOCS; do + if [ -f "$doc" ]; then + cp -a $doc "$PKG/usr/doc/$PKG_NAME-$PKG_VERSION" + fi +done + +# Add package description (slack-desc) +mkdir -p "$PKG/install" || exit $ERROR_MKDIR +cat << EODESC > "$PKG/install/slack-desc" +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +|-----handy-ruler-------------------------------------------------------------| +ffmpeg: ffmpeg (ffmpeg multimedia system) +ffmpeg: +ffmpeg: FFmpeg is a complete solution to record, convert and stream audio +ffmpeg: and video. It includes libavcodec, the leading audio/video codec +ffmpeg: library. +ffmpeg: +ffmpeg: +ffmpeg: +ffmpeg: +ffmpeg: +ffmpeg: +EODESC + +# Build the package +cd "$PKG" +makepkg -l y -c n "$REPOS/$PKG_NAME-$PKG_VERSION-$ARCH-$BUILD.tgz" || exit $ERROR_MKPKG + +# Delete source and build directories if requested +if [ "$CLEANUP" == "yes" ]; then + rm -rf "$PKG_WORK" "$PKG" +fi diff --git a/media/video/ffmpeg/.SlackBuild.old b/media/video/ffmpeg/.SlackBuild.old new file mode 100644 index 0000000..e0f1427 --- /dev/null +++ b/media/video/ffmpeg/.SlackBuild.old @@ -0,0 +1,204 @@ +#!/bin/bash +# +# .SlackBuild is free software; you can redistribute +# it and/or modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of the License, +# or any later version. +# +# .SlackBuild 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 General +# Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA +# +# slackbuild for , by Silvio Rhatto +# requires: lame libx264 +# tested: - +# + +# Look for slackbuildrc +if [ -f ~/.slackbuildrc ]; then + source ~/.slackbuildrc +elif [ -f /etc/slackbuildrc ]; then + source /etc/slackbuildrc +fi + +# Set variables +CWD="$(pwd)" +SRC_NAME="" +PKG_NAME="" +ARCH=${ARCH:=i486} +SRC_VERSION=${VERSION:=} +PKG_VERSION="$(echo "$SRC_VERSION" | tr '[[:blank:]-]' '_')" +BUILD=${BUILD:=1rha} +SRC_DIR=${SRC_DIR:=$CWD}/$PKG_NAME +TMP=${TMP:=/tmp} +PKG=${PKG:=$TMP/package-$PKG_NAME} +REPOS=${REPOS:=$TMP} +PREFIX=${PREFIX:=/usr} +PKG_WORK="$TMP/$SRC_NAME" +CONF_OPTIONS=${CONF_OPTIONS:="$EXTRA_AC_FLAGS --enable-shared --enable-pthreads --enable-swscale --enable-x11grab --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libfaac --enable-libx264 --enable-postproc --enable-gpl"} +NUMJOBS=${NUMJOBS:=""} + +# Set system libraries' path and optmization flags based on $ARCH +LIBDIR="$PREFIX/lib" + +if [ "$ARCH" = "i386" ]; then + SLKCFLAGS="-O2 -march=i386 -mcpu=i686" +elif [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mcpu=i686" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686" +elif [ "$ARCH" = "s390" ]; then + SLKCFLAGS="-O2" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIR="$PREFIX/lib64" + LDFLAGS="-L/lib64 -L/usr/lib64" +fi + +# Set error codes (used by createpkg) +ERROR_WGET=31; ERROR_MAKE=32; ERROR_INSTALL=33 +ERROR_MD5=34; ERROR_CONF=35; ERROR_HELP=36 +ERROR_TAR=37; ERROR_MKPKG=38; ERROR_GPG=39 +ERROR_PATCH=40; ERROR_VCS=41; ERROR_MKDIR=42 + +# Clean up any leftovers of previous builds +rm -rf "$PKG_WORK" 2> /dev/null +rm -rf "$PKG" 2> /dev/null + +# Create directories if necessary +mkdir -p "$SRC_DIR" || exit $ERROR_MKDIR +mkdir -p "$PKG" || exit $ERROR_MKDIR +mkdir -p "$REPOS" || exit $ERROR_MKDIR +mkdir -p "$PKG_WORK" || exit $ERROR_MKDIR + +# Get svn source code +cd "$SRC_DIR" +SND_DIR="`basename svn://svn.mplayerhq.hu/ffmpeg/trunk`" + +if [ "`find "$SRC_DIR/" -name .svn`" != "" ] && [ -d "$SRC_DIR/$SND_DIR" ]; then + cd $SND_DIR + svn update || exit $ERROR_VCS +else + svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk $SND_DIR || exit $ERROR_VCS + cd $SND_DIR +fi + +PKG_VERSION="`svn info | awk '/Last Changed Rev:/ { print $4 }'`_svn" + +# Copy svn source +cd "$PKG_WORK" +cp -a $SRC_DIR/* . +PKG_SRC="$PWD/$SND_DIR" +cd "$PKG_SRC" + +# Patch source +patches=" + $PKG_NAME.diff $PKG_NAME-$PKG_VERSION.diff + $PKG_NAME-$PKG_VERSION-$ARCH.diff $PKG_NAME-$ARCH.diff" +for patch in $patches; do + if [ -f "$CWD/$patch" ]; then + patch -Np1 < "$CWD/$patch" || exit $ERROR_PATCH + elif [ -f "$CWD/patches/$patch" ]; then + patch -Np1 < "$CWD/patches/$patch" || exit $ERROR_PATCH + elif [ -f "$CWD/$patch.gz" ]; then + gzip -dc "$CWD/$patch.gz" | patch -Np1 || exit $ERROR_PATCH + elif [ -f "$CWD/patches/$patch.gz" ]; then + gzip -dc "$CWD/patches/$patch.gz" | patch -Np1 || exit $ERROR_PATCH + fi +done + +if echo [[PATCH URLS]] | grep -q -v "PATCH URLS"; then + for patch_url in [[PATCH URLS]]; do + patch="`basename $patch_url`" + if [ ! -s "$SRC_DIR/$patch" ]; then + wget "$patch_url" -O "$SRC_DIR/$patch" || exit $ERROR_WGET + fi + if [ "`basename $patch .gz`" != "$patch" ]; then + gzip -dc $SRC_DIR/$patch | patch -Np1 || exit $ERROR_PATCH + elif [ "`basename $patch .bz2`" != "$patch" ]; then + bzip2 -dc $SRC_DIR/$patch | patch -Np1 || exit $ERROR_PATCH + else + patch -Np1 < "$SRC_DIR/$patch" || exit $ERROR_PATCH + fi + done +fi + +# Configure +if [ "$ARCH" == "powerpc" ]; then + EXTRA_AC_FLAGS="--disable-altivec" +fi +CFLAGS="$SLKCFLAGS" \ + CXXFLAGS="$SLKCFLAGS" \ + ./configure \ + --prefix="$PREFIX" --libdir="$LIBDIR" $CONF_OPTIONS || exit $ERROR_CONF + +# Compile +make $NUMJOBS || exit $ERROR_MAKE + +# Install +make install DESTDIR="$PKG" || exit $ERROR_INSTALL + +# Lets make our package compatible with the ffmpeg debian package +mkdir $PKG/usr/include/ffmpeg +cp $PKG/usr/include/libavutil/* $PKG/usr/include/ffmpeg +cp $PKG/usr/include/libavdevice/* $PKG/usr/include/ffmpeg +cp $PKG/usr/include/libavformat/* $PKG/usr/include/ffmpeg +cp $PKG/usr/include/libswscale/* $PKG/usr/include/ffmpeg +cp $PKG/usr/include/libavcodec/* $PKG/usr/include/ffmpeg +mkdir $PKG/usr/include/postproc +cp $PKG/usr/include/libpostproc/* $PKG/usr/include/postproc + +# Strip binaries +( cd "$PKG" + find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \ + xargs strip --strip-unneeded 2> /dev/null + find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \ + xargs strip --strip-unneeded 2> /dev/null +) + +# Install documentation +DOCS="COPYING CREDITS Changelog MAINTAINERS README" +mkdir -p "$PKG/usr/doc/$PKG_NAME-$PKG_VERSION" || exit $ERROR_MKDIR +for doc in $DOCS; do + if [ -f "$doc" ]; then + cp -a $doc "$PKG/usr/doc/$PKG_NAME-$PKG_VERSION" + fi +done + +# Add package description (slack-desc) +mkdir -p "$PKG/install" || exit $ERROR_MKDIR +cat << EODESC > "$PKG/install/slack-desc" +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +|-----handy-ruler-------------------------------------------------------------| +ffmpeg: ffmpeg (ffmpeg multimedia system) +ffmpeg: +ffmpeg: FFmpeg is a complete solution to record, convert and stream audio +ffmpeg: and video. It includes libavcodec, the leading audio/video codec +ffmpeg: library. +ffmpeg: +ffmpeg: +ffmpeg: +ffmpeg: +ffmpeg: +ffmpeg: +EODESC + +# Build the package +cd "$PKG" +makepkg -l y -c n "$REPOS/$PKG_NAME-$PKG_VERSION-$ARCH-$BUILD.tgz" || exit $ERROR_MKPKG + +# Delete source and build directories if requested +if [ "$CLEANUP" == "yes" ]; then + rm -rf "$PKG_WORK" "$PKG" +fi diff --git a/media/video/ffmpeg/ffmpeg.mkbuild b/media/video/ffmpeg/ffmpeg.mkbuild new file mode 100644 index 0000000..a5be82c --- /dev/null +++ b/media/video/ffmpeg/ffmpeg.mkbuild @@ -0,0 +1,131 @@ +# +# This mkbuild is free software; you can redistribute it and/or modify it under the +# terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or any later version. +# +# This mkbuild 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., 59 Temple +# Place - Suite 330, Boston, MA 02111-1307, USA +# + +#-------------------- +# Personal variables +#-------------------- +# Author name +[[SLACKBUILD AUTHOR]]="Silvio Rhatto" + +# Initials author name +[[SLACKBUILD AUTHOR INITIALS]]="rha" + +#------------------------ +# Construction Variables +#------------------------ +# +# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... ) +[[DOWNLOAD FOLDER URL]]="svn://svn.mplayerhq.hu/ffmpeg/trunk" + +# Source base name +[[SOURCE NAME]]="ffmpeg" + +# Package name +[[PACKAGE NAME]]="ffmpeg" + +# +# PKG_NAME version +[[VERSION]]="svn_version" + +# +# Documentation files +[[DOCUMENTATION FILES]]="COPYING CREDITS Changelog MAINTAINERS README" + +# Other configure arguments +[[OTHER CONFIGURE ARGS]]="$EXTRA_AC_FLAGS --enable-shared --enable-pthreads --enable-swscale --enable-x11grab --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libfaac --enable-libx264 --enable-postproc --enable-gpl" + +# SlackBuild model +[[SLACKBUILD MODEL]]="generic.mkSlackBuild" + +# SlackBuild PATH in Slack.Sarava tree +[[SLACKBUILD PATH]]="media/video/ffmpeg" + +# Dependencies +[[SLACK REQUIRED]]="lame: faac: libx264" + +#--------------------- +# SlackBuild Sections +#--------------------- +# Default sections: +# head, set_variables, slkflags, start_structure, untar_source, +# make_package, install_package, build_package +# Warning: don't remove '#>>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group +off: download_source + on: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check +off: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +ffmpeg: ffmpeg (ffmpeg multimedia system) +ffmpeg: +ffmpeg: FFmpeg is a complete solution to record, convert and stream audio +ffmpeg: and video. It includes libavcodec, the leading audio/video codec +ffmpeg: library. +ffmpeg: +ffmpeg: +ffmpeg: +ffmpeg: +ffmpeg: +ffmpeg: +#install_package +# Install +make install DESTDIR="$PKG" || exit $ERROR_INSTALL + +# Lets make our package compatible with the ffmpeg debian package +mkdir $PKG/usr/include/ffmpeg +cp $PKG/usr/include/libavutil/* $PKG/usr/include/ffmpeg +cp $PKG/usr/include/libavdevice/* $PKG/usr/include/ffmpeg +cp $PKG/usr/include/libavformat/* $PKG/usr/include/ffmpeg +cp $PKG/usr/include/libswscale/* $PKG/usr/include/ffmpeg +cp $PKG/usr/include/libavcodec/* $PKG/usr/include/ffmpeg +mkdir $PKG/usr/include/postproc +cp $PKG/usr/include/libpostproc/* $PKG/usr/include/postproc +# + # Configure ++if [ "$ARCH" == "powerpc" ]; then ++ EXTRA_AC_FLAGS="--disable-altivec" ++fi +#p< diff --git a/media/video/ffmpeg2theora/ffmpeg2theora.mkbuild b/media/video/ffmpeg2theora/ffmpeg2theora.mkbuild new file mode 100644 index 0000000..4119ba9 --- /dev/null +++ b/media/video/ffmpeg2theora/ffmpeg2theora.mkbuild @@ -0,0 +1,95 @@ +# +# This mkbuild is free software; you can redistribute it and/or modify it under the +# terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or any later version. +# +# This mkbuild 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., 59 Temple +# Place - Suite 330, Boston, MA 02111-1307, USA +# + +#-------------------- +# Personal variables +#-------------------- +# Author name +[[SLACKBUILD AUTHOR]]="Silvio Rhatto" + +# Initials author name +[[SLACKBUILD AUTHOR INITIALS]]="rha" + +#------------------------ +# Construction Variables +#------------------------ +# +# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... ) +[[DOWNLOAD FOLDER URL]]="http://v2v.cc/~j/ffmpeg2theora/ffmpeg2theora-0.21.tar.bz2" + +# +# Documentation files. Null ("") to auto-set commom doc-files: +[[DOCUMENTATION FILES]]="AUTHORS COPYING ChangeLog NEWS README TODO" + +# SlackBuild model +[[SLACKBUILD MODEL]]="generic.mkSlackBuild" + +# SlackBuild PATH in Slack.Sarava tree +[[SLACKBUILD PATH]]="media/video/ffmpeg2theora" + +# Dependencies +[[SLACK REQUIRED]]="ffmpeg" + +#--------------------- +# SlackBuild Sections +#--------------------- +# Default sections: +# head, set_variables, slkflags, start_structure, untar_source, +# make_package, install_package, build_package +# Warning: don't remove '#>>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +ffmpeg2theora: ffmpeg2theora +ffmpeg2theora: +ffmpeg2theora: A simple converter to create Ogg Theora files. +ffmpeg2theora: +ffmpeg2theora: +ffmpeg2theora: +ffmpeg2theora: +ffmpeg2theora: +ffmpeg2theora: +ffmpeg2theora: +ffmpeg2theora: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +kino: kino (Kino is a non-linear DV editor for GNU/Linux) +kino: +kino: Kino is a non-linear DV editor for GNU/Linux. It features excellent +kino: integration with IEEE-1394 for capture, VTR control, and recording +kino: back to the camera. It captures video to disk in Raw DV and AVI +kino: format, in both type-1 DV and type-2 DV (separate audio stream) +kino: encodings. +kino: +kino: +kino: http://www.kinodv.org/ +kino: +#qt_fd)->stream); ++ res = lqt_fileno((quicktime_t *)lav_file->qt_fd); + break; + #endif + default: diff --git a/media/video/mjpegtools/mjpegtools-1.9.0rc2-x86_64.diff b/media/video/mjpegtools/mjpegtools-1.9.0rc2-x86_64.diff new file mode 100644 index 0000000..0b834df --- /dev/null +++ b/media/video/mjpegtools/mjpegtools-1.9.0rc2-x86_64.diff @@ -0,0 +1,31 @@ +--- configure.ac.old 2007-09-27 05:53:17.000000000 +0000 ++++ configure.ac 2007-09-27 05:56:20.000000000 +0000 +@@ -431,25 +431,9 @@ + dnl file). + + if test x$have_x86cpu = xtrue -o x$have_ppccpu = xtrue; then +- if test x$host_alias != x; then +- dnl This is to allow cross compiling +- AC_MSG_CHECKING(sub-architecture settings) +- if test x$have_x86cpu = xtrue; then +- host_mod_cpu=`echo $host_cpu | tr _ -` +- ARCHFLAGS="-march=$host_mod_cpu -mcpu=$host_mod_cpu" +- fi +- else +- if test ! -r $srcdir/cpuinfo.sh; then +- AC_MSG_ERROR([cpuinfo.sh script not found - do a cvs update]) +- fi +- AC_MSG_CHECKING(sub-architecture settings) +- chmod +x $srcdir/cpuinfo.sh +- if test x$have_x86cpu = xtrue; then +- ARCHFLAGS=`$srcdir/cpuinfo.sh x86` +- elif test x$have_ppccpu = xtrue; then +- ARCHFLAGS=`$srcdir/cpuinfo.sh ppc` +- fi +- fi ++ AC_MSG_CHECKING(sub-architecture settings) ++ host_mod_cpu=`echo $host_cpu | tr _ -` ++ ARCHFLAGS="-march=$host_mod_cpu -mcpu=$host_mod_cpu" + AC_MSG_RESULT($ARCHFLAGS) + fi + diff --git a/media/video/mjpegtools/mjpegtools.mkbuild b/media/video/mjpegtools/mjpegtools.mkbuild new file mode 100644 index 0000000..b40a4dc --- /dev/null +++ b/media/video/mjpegtools/mjpegtools.mkbuild @@ -0,0 +1,119 @@ +# +# This mkbuild is free software; you can redistribute it and/or modify it under the +# terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or any later version. +# +# This mkbuild 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., 59 Temple +# Place - Suite 330, Boston, MA 02111-1307, USA +# + +#-------------------- +# Personal variables +#-------------------- +# Author name +[[SLACKBUILD AUTHOR]]="Silvio Rhatto" + +# Initials author name +[[SLACKBUILD AUTHOR INITIALS]]="rha" + +#------------------------ +# Construction Variables +#------------------------ +# +# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... ) +[[DOWNLOAD FOLDER URL]]="http://downloads.sourceforge.net/mjpeg/mjpegtools-1.9.0rc3.tar.gz" + +# +# Documentation files. Null ("") to auto-set commom doc-files: +[[DOCUMENTATION FILES]]="AUTHORS BUGS CHANGES COPYING ChangeLog INSTALL NEWS PLANS README TODO" + +# Other configure arguments +# +# - Add --enable-runtime-cpudetection for package creation! +# - Removing ivtv as for slack 12.1 it`s not compiling. +[[OTHER CONFIGURE ARGS]]="--with-docdir=/usr/doc/$PKG_NAME-$VERSION" + +# SlackBuild model +[[SLACKBUILD MODEL]]="generic.mkSlackBuild" + +# SlackBuild PATH in Slack.Sarava tree +[[SLACKBUILD PATH]]="media/video/mjpegtools" + +# +# Dependency list input +[[SLACK REQUIRED]]="libdv: libquicktime" + +#--------------------- +# SlackBuild Sections +#--------------------- +# Default sections: +# head, set_variables, slkflags, start_structure, untar_source, +# make_package, install_package, build_package +# Warning: don't remove '#>>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +mjpegtools: mjpegtools (mjpegtools is a set of softwares for MPEG A/V) +mjpegtools: +mjpegtools: The mjpeg programs are a set of tools that can do recording of videos +mjpegtools: and playback, simple cut-and-paste editing and the MPEG compression +mjpegtools: of audio and video under Linux. +mjpegtools: +mjpegtools: +mjpegtools: +mjpegtools: +mjpegtools: http://mjpeg.sourceforge.net/ +mjpegtools: +# + LIBDIR="$PREFIX/lib" ++ ++if [ "$ARCH" == "i386" ] || [ "$ARCH" == "i486" ]; then ++ CONF_OPTIONS="$CONF_OPTIONS --disable-simd-accel" ++fi +#p< + +#>configure +# Configure +autoreconf -vif +CFLAGS="$SLKCFLAGS" \ + CXXFLAGS="$SLKCFLAGS" \ + ./configure \ + --prefix="$PREFIX" --libdir="$LIBDIR" $CONF_OPTIONS || exit $ERROR_CONF +#body, "%d %s %08lx", &status, category, &disc_id); ++ ret = sscanf( http_hdr->body, "%d %99s %08lx", &status, category, &disc_id); + if( ret!=3 ) { + mp_msg(MSGT_DEMUX, MSGL_ERR, MSGTR_ParseError); + return -1; +@@ -496,7 +496,7 @@ + ptr++; + // We have a list of exact/inexact matches, so which one do we use? + // So let's take the first one. +- ret = sscanf(ptr, "%s %08lx %s", cddb_data->category, &(cddb_data->disc_id), album_title); ++ ret = sscanf(ptr, "%99s %08lx %99s", cddb_data->category, &(cddb_data->disc_id), album_title); + if( ret!=3 ) { + mp_msg(MSGT_DEMUX, MSGL_ERR, MSGTR_ParseError); + return -1; +@@ -533,7 +533,7 @@ + switch(status) { + case 200: + // Found exact match +- ret = sscanf(http_hdr->body, "%d %s %08lx %s", &status, cddb_data->category, &(cddb_data->disc_id), album_title); ++ ret = sscanf(http_hdr->body, "%d %99s %08lx %99s", &status, cddb_data->category, &(cddb_data->disc_id), album_title); + if( ret!=4 ) { + mp_msg(MSGT_DEMUX, MSGL_ERR, MSGTR_ParseError); + return -1; diff --git a/media/video/mplayer/MPlayer.mkbuild b/media/video/mplayer/MPlayer.mkbuild new file mode 100644 index 0000000..363a341 --- /dev/null +++ b/media/video/mplayer/MPlayer.mkbuild @@ -0,0 +1,142 @@ +# +# This mkbuild is free software; you can redistribute it and/or modify it under the +# terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or any later version. +# +# This mkbuild 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., 59 Temple +# Place - Suite 330, Boston, MA 02111-1307, USA +# + +#-------------------- +# Personal variables +#-------------------- +# Author name +[[SLACKBUILD AUTHOR]]="Silvio Rhatto" + +# Initials author name +[[SLACKBUILD AUTHOR INITIALS]]="rha" + +#------------------------ +# Construction Variables +#------------------------ +# +# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... ) +[[DOWNLOAD FOLDER URL]]="http://www1.mplayerhq.hu/MPlayer/releases/MPlayer-1.0rc2.tar.bz2" + +# +# Documentation files. Null ("") to auto-set commom doc-files: +[[DOCUMENTATION FILES]]="AUTHORS ChangeLog Copyright DOCS LICENSE README TOOLS" + +# Other configure arguments +# +# - Add --enable-runtime-cpudetection for package creation! +# - Removing ivtv as for slack 12.1 it`s not compiling. +[[OTHER CONFIGURE ARGS]]="--disable-ivtv --confdir=/etc --language=pt_BR --enable-largefiles --enable-gui --enable-real" + +# SlackBuild model +[[SLACKBUILD MODEL]]="generic.mkSlackBuild" + +# SlackBuild PATH in Slack.Sarava tree +[[SLACKBUILD PATH]]="media/video/mplayer" + +# +# Dependency list input +[[SLACK REQUIRED]]="speex: jack: libx264: faac: faad2" + +#--------------------- +# SlackBuild Sections +#--------------------- +# Default sections: +# head, set_variables, slkflags, start_structure, untar_source, +# make_package, install_package, build_package +# Warning: don't remove '#>>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +MPlayer: MPlayer (A Movie Player) +MPlayer: +MPlayer: MPlayer is a movie and animation player that supports a wide range +MPlayer: of codecs and file formats, including MPEG 1/2/4, DivX 3/4/5, Windows +MPlayer: Media 7/8/9, RealAudio/Video up to 9, Quicktime 5/6, and Vivo 1/2. +MPlayer: It has many MMX/SSE(2)/3Dnow(Ex) optimized native audio and video +MPlayer: codecs, but allows using XAnim's and RealPlayer's binary codec plugins, +MPlayer: and Win32 codec DLLs. It has basic VCD/DVD playback functionality, +MPlayer: including DVD subtitles, but supports many text-based subtitle formats +MPlayer: too. For video output, nearly every existing interface is supported. +MPlayer: +#download_source +# Dowload source if necessary +SRC="[[SOURCE NAME CONSTRUCTION STRING]]" +URL="[[DOWNLOAD FOLDER URL]]/$SRC" + +if [ ! -s "$SRC_DIR/$SRC" ] || ! [[DECOMPRESSOR]] [[DECOMPRESSOR TEST FLAG]] "$SRC_DIR/$SRC" 2> /dev/null; then + wget "$URL" -O "$SRC_DIR/$SRC" || exit $ERROR_WGET +fi + +# Download skin +SKIN="Blue" +SKIN_VERSION="1.7" +SKIN_EXT="bz2" +SKIN_SRC=${PACKAGE_SKIN:=$SKIN-$SKIN_VERSION.tar.$SKIN_EXT} +SKIN_URL="http://www.mplayerhq.hu/MPlayer/skins/$SKIN_SRC" + +if [ ! -s "$SRC_DIR/$SKIN_SRC" ] || ! [[DECOMPRESSOR]] [[DECOMPRESSOR TEST FLAG]] "$SRC_DIR/$SKIN_SRC" 2> /dev/null; then + wget "$SKIN_URL" -O "$SRC_DIR/$SKIN_SRC" || exit $ERROR_WGET +fi +#install_package +# Install +make install DESTDIR="$PKG" || exit $ERROR_INSTALL + +# Skin installation +SKIN_DIR=${SKIN_DIR:=$PKG/usr/share/mplayer/skins} +mkdir -p $SKIN_DIR +tar jxvf $SRC_DIR/$SKIN_SRC -C $SKIN_DIR +mv $SKIN_DIR/$SKIN $SKIN_DIR/default +# + LIBDIR="$PREFIX/lib" ++ ++if [ "$ARCH" == "i586" ] || [ "$ARCH" == "i686" ]; then ++ CONF_OPTIONS="$CONF_OPTIONS --enable-qtx" ++fi +#p< diff --git a/media/video/oggfwd/oggfwd-0.2.diff b/media/video/oggfwd/oggfwd-0.2.diff new file mode 100644 index 0000000..d385874 --- /dev/null +++ b/media/video/oggfwd/oggfwd-0.2.diff @@ -0,0 +1,25 @@ +--- Makefile.orig 2006-10-30 22:04:46.000000000 -0200 ++++ Makefile 2006-10-30 22:04:28.000000000 -0200 +@@ -2,7 +2,7 @@ + SRC = oggfwd.c + MAN = oggfwd.1 + +-PREFIX ?= /usr/local ++PREFIX ?= /usr + BINDIR ?= ${PREFIX}/bin + MAN1DIR ?= ${PREFIX}/man/man1 + +@@ -23,9 +23,10 @@ + ${CC} ${CFLAGS} ${PTHREADFLAGS} ${INCLUDEFLAGS} ${LINKFLAGS} -o ${PROG} $< + + install: ${PROG} +- ${INSTALL} -c -m 555 -o root -g bin ${PROG} ${BINDIR} +- test -d ${MAN1DIR} || ${INSTALL} -d -o root ${MAN1DIR} +- ${INSTALL} -c -m 444 -o root -g bin ${MAN} ${MAN1DIR} ++ test -d ${DESTDIR}${BINDIR} || ${INSTALL} -d -o root ${DESTDIR}${BINDIR} ++ ${INSTALL} -c -m 555 -o root -g bin ${PROG} ${DESTDIR}${BINDIR} ++ test -d ${DESTDIR}${MAN1DIR} || ${INSTALL} -d -o root ${DESTDIR}${MAN1DIR} ++ ${INSTALL} -c -m 444 -o root -g bin ${MAN} ${DESTDIR}${MAN1DIR} + + clean: + -@rm -f ${PROG} *~ core *.core diff --git a/media/video/oggfwd/oggfwd.mkbuild b/media/video/oggfwd/oggfwd.mkbuild new file mode 100644 index 0000000..6613731 --- /dev/null +++ b/media/video/oggfwd/oggfwd.mkbuild @@ -0,0 +1,98 @@ +# +# This mkbuild is free software; you can redistribute it and/or modify it under the +# terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or any later version. +# +# This mkbuild 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., 59 Temple +# Place - Suite 330, Boston, MA 02111-1307, USA +# + +#-------------------- +# Personal variables +#-------------------- +# Author name +[[SLACKBUILD AUTHOR]]="Silvio Rhatto" + +# Initials author name +[[SLACKBUILD AUTHOR INITIALS]]="rha" + +#------------------------ +# Construction Variables +#------------------------ +# +# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... ) +[[DOWNLOAD FOLDER URL]]="http://juba.tvlivre.org/oggfwd-0.2.tar.gz" + +# +# Documentation files. Null ("") to auto-set commom doc-files: +[[DOCUMENTATION FILES]]="ChangeLog README" + +# SlackBuild model +[[SLACKBUILD MODEL]]="generic.mkSlackBuild" + +# SlackBuild PATH in Slack.Sarava tree +[[SLACKBUILD PATH]]="media/video/oggfwd" + +# Dependencies +[[SLACK REQUIRED]]="speex: libshout" + +# Patch depth +[[NUMBER OF PREFIX SLASHES TO STRIP]]="0" + +#--------------------- +# SlackBuild Sections +#--------------------- +# Default sections: +# head, set_variables, slkflags, start_structure, untar_source, +# make_package, install_package, build_package +# Warning: don't remove '#>>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source + on: patch_source +off: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +oggfwd: OggFWD (a simple ogg streamer) +oggfwd: +oggfwd: A simple ogg streamer (to icecast compatible servers), very useful +oggfwd: for video streaming. +oggfwd: +oggfwd: +oggfwd: +oggfwd: +oggfwd: +oggfwd: http://v2v.cc/~j/oggfwd/ +oggfwd: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package +off: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: install_documentation +off: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>install_package +# Install +strip theorur +make make_pkg +#build_package +# Build the package +mv *-1rd.tgz $REPOS/$PKG_NAME-$PKG_VERSION-$ARCH-$BUILD.tgz || exit $ERROR_MKPKG +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +ucview: ucview (video capture program) +ucview: +ucview: UCView is a video capture and display program +ucview: based on the unicap video imaging library. +ucview: +ucview: +ucview: +ucview: +ucview: +ucview: http://unicap-imaging.org/ucview.htm +ucview: +#> Makefile.settings + +-for i in /lib /usr/lib /usr/local/lib; do ++for i in /lib64 /usr/lib64 /usr/local/lib64 /lib /usr/lib /usr/local/lib; do + if [ -f $i/libresolv.a ]; then + echo '#define HAVE_RESOLV_A' >> config.h + echo 'EFLAGS+='$i'/libresolv.a' >> Makefile.settings diff --git a/net/im/feast/feast.mkbuild b/net/im/feast/feast.mkbuild new file mode 100644 index 0000000..0987d8d --- /dev/null +++ b/net/im/feast/feast.mkbuild @@ -0,0 +1,142 @@ +# +# This mkbuild is free software; you can redistribute it and/or modify it under the +# terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or any later version. +# +# This mkbuild 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., 59 Temple +# Place - Suite 330, Boston, MA 02111-1307, USA +# + +#-------------------- +# Personal variables +#-------------------- +# Author name +[[SLACKBUILD AUTHOR]]="Silvio Rhatto" + +# Initials author name +[[SLACKBUILD AUTHOR INITIALS]]="rha" + +#------------------------ +# Construction Variables +#------------------------ +# +# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... ) +[[DOWNLOAD FOLDER URL]]="http://www.hick.org/~raffi/download/feast_03b.tgz" + +# Source base name +[[SOURCE NAME]]="feast" + +# +# Package version. Null ("") to auto-set. +[[VERSION]]="03b" + +# +# Package extension +[[EXTENSION]]="tgz" + +# +# Source Name construction string +[[SOURCE NAME CONSTRUCTION STRING]]="$SRC_NAME"_"$VERSION.$EXTENSION" + +# +# Decompressor +[[DECOMPRESSOR]]="gzip" + +# +# Decompressor test flag +[[DECOMPRESSOR TEST FLAG]]="-t" + +# +# Dependency list input +[[SLACK REQUIRED]]="libiconv: silc-toolkit" + +# +# Documentation files. Null ("") to auto-set commom doc-files: +[[DOCUMENTATION FILES]]="license.txt readme.txt" + +# SlackBuild model +[[SLACKBUILD MODEL]]="generic.mkSlackBuild" + +# SlackBuild PATH in Slack.Sarava tree +[[SLACKBUILD PATH]]="net/im/feast" + +# +# Config files +[[REST OF DOINST.SH]]="config etc/feast.conf.new" + +#--------------------- +# SlackBuild Sections +#--------------------- +# Default sections: +# head, set_variables, slkflags, start_structure, untar_source, +# make_package, install_package, build_package +# Warning: don't remove '#>>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source +off: configure + on: make_package + on: install_package +off: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files + on: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +feast: feast (silc to irc translator) +feast: +feast: SILC stands for Secure Internet Live Conferencing. +feast: Far East Trader (feast) is meant to open up the world of SILC to +feast: IRC users who are to lazy to download a SILC client. +feast: +feast: +feast: +feast: +feast: +feast: +#make_package +# Compile +if [ "$ARC" == "x86_64" ]; then + sed -e 's/\/usr\/lib/\/usr\/lib64/' Makefile > Makefile.tmp + mv Makefile.tmp Makefile +fi +make $NUMJOBS || exit $ERROR_MAKE +#install_package +# Install +strip feast +mkdir -p usr/bin +cp $CWD/feast usr/bin + +mkdir -p etc/feast +cp $CWD/feast.conf etc/feast.conf.new +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files + on: install_documentation + on: slackdesc +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +pidgin: pidgin by Slack.Sarava +pidgin: +pidgin: Pidgin is a multi-protocol Instant Messaging client that +pidgin: allows you to use all of your IM accounts at once. +pidgin: +pidgin: Pidgin is free software. It is licensed under the GNU +pidgin: General Public License (GPL) version 2. +pidgin: +pidgin: +pidgin: +pidgin: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files + on: install_documentation + on: slackdesc +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +opal: opal by Slack.Sarava +opal: +opal: +opal: +opal: +opal: +opal: +opal: +opal: +opal: +opal: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +bogofilter: bogofilter (bayesian spam filter) +bogofilter: +bogofilter: Bogofilter is a mail filter that classifies mail as spam or ham +bogofilter: (nom-spam) by a statistical analysis of the message's header and +bogofilter: content body. The program is able to learn from the user's +bogofilter: classifications and corrections. +bogofilter: +bogofilter: +bogofilter: +bogofilter: +bogofilter: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +mairix: mairix (index and search engine for mail folders) +mairix: +mairix: Mairix is a program for indexing and searching email messages stored +mairix: in Maildir, MH or mbox folders. +mairix: +mairix: +mairix: +mairix: +mairix: +mairix: +mairix: +#configure +# Configure +CFLAGS="$SLKCFLAGS" \ + CXXFLAGS="$SLKCFLAGS" \ + ./configure \ + --prefix="$PREFIX" $CONF_OPTIONS || exit $ERROR_CONF +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source + on: patch_source +off: configure + on: make_package +off: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +offlineimap: offlineimap +offlineimap: +offlineimap: OfflineIMAP is a tool to simplify your e-mail reading. +offlineimap: With OfflineIMAP, you can read the same mailbox from multiple +offlineimap: computers. You get a current copy of your messages on each computer, +offlineimap: and changes you make one place will be visible on all other systems. +offlineimap: For instance, you can delete a message on your home computer, and it +offlineimap: will appear deleted on your work computer as well. OfflineIMAP is +offlineimap: also useful if you want to use a mail reader that does not have IMAP +offlineimap: support, has poor IMAP support, or does not provide disconnected +offlineimap: operation. +#make_package +# Build and install package +python setup.py build install --root=$PKG +# /dev/null & +echo "$!" > $TOR_PID + diff --git a/net/misc/tor/slack-required b/net/misc/tor/slack-required new file mode 100644 index 0000000..a5db2a0 --- /dev/null +++ b/net/misc/tor/slack-required @@ -0,0 +1,4 @@ +# Dependency list to tor +# +# dependency [condition] [version]] +libevent diff --git a/net/misc/tor/tor.mkbuild b/net/misc/tor/tor.mkbuild new file mode 100644 index 0000000..c0af364 --- /dev/null +++ b/net/misc/tor/tor.mkbuild @@ -0,0 +1,109 @@ +# +# This mkbuild is free software; you can redistribute it and/or modify it under the +# terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or any later version. +# +# This mkbuild 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., 59 Temple +# Place - Suite 330, Boston, MA 02111-1307, USA +# + +#-------------------- +# Personal variables +#-------------------- +# Author name +[[SLACKBUILD AUTHOR]]="Silvio Rhatto" + +# Initials author name +[[SLACKBUILD AUTHOR INITIALS]]="rha" + +#------------------------ +# Construction Variables +#------------------------ +# +# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... ) +[[DOWNLOAD FOLDER URL]]="http://www.torproject.org/dist/tor-0.2.0.30.tar.gz" + +# +# Dependency list input +[[SLACK REQUIRED]]="libevent" + +# +# Documentation files. Null ("") to auto-set commom doc-files: +[[DOCUMENTATION FILES]]="AUTHORS ChangeLog LICENSE README" + +# +# ./configure options +[[OTHER CONFIGURE ARGS]]="--sysconfdir=/etc" + +# SlackBuild model +[[SLACKBUILD MODEL]]="generic.mkSlackBuild" + +# SlackBuild PATH in Slack.Sarava tree +[[SLACKBUILD PATH]]="net/misc/tor" + +# Install script +[[REST OF DOINST.SH]]="config etc/rc.d/rc.tor.new ; config etc/tor/torrc.sample ; config etc/tor/tor-tsocks.conf.new" + +# Signing keys +[[SIGNING KEY ID]]="0x28988BF5 0x165733EA" + +# Config files +[[CONFIG FILES]]="etc/tor/tor-tsocks.conf" + +#--------------------- +# SlackBuild Sections +#--------------------- +# Default sections: +# head, set_variables, slkflags, start_structure, untar_source, +# make_package, install_package, build_package +# Warning: don't remove '#>>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 + on: gpg_signature_check + on: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files + on: copy_init_scripts + on: install_documentation + on: slackdesc + on: move_config_files + on: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +tor: tor (An anonymous Internet communication system) +tor: +tor: Tor is a toolset for a wide range of organizations and people that +tor: want to improve their safety and security on the Internet. Using Tor +tor: can help you anonymize web browsing and publishing, instant +tor: messaging, IRC, SSH, and other applications that use the TCP +tor: protocol. Tor also provides a platform on which software developers +tor: can build new applications with built-in anonymity, safety, and +tor: privacy features. +tor: +tor: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source +off: configure + on: make_package +off: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files + on: install_documentation + on: slackdesc +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +nicotine+: nicotine+ (soulseek client clone) +nicotine+: +nicotine+: Nicotine is a SoulSeek client written in Python, based on the +nicotine+: PySoulSeek project by Alexander Kanavin. It features, among other +nicotine+: things, a completely rewritten graphical user interface which uses +nicotine+: the PyGTK-2 toolkit and a less strict user request policy. +nicotine+: +nicotine+: This version is the forked one distributed at +nicotine+: http://nicotine-plus.sourceforge.net +nicotine+: +nicotine+: +#make_package +# Build and install package +python setup.py build install --root=$PKG +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source +off: configure + on: make_package +off: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files + on: install_documentation + on: slackdesc +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +nicotine: nicotine (soulseek client clone) +nicotine: +nicotine: Nicotine is a SoulSeek client written in Python, based on the +nicotine: PySoulSeek project by Alexander Kanavin. It features, among other +nicotine: things, a completely rewritten graphical user interface which uses +nicotine: the PyGTK-2 toolkit and a less strict user request policy. +nicotine: +nicotine: +nicotine: +nicotine: +nicotine: +#make_package +# Build and install package +python setup.py build install --root=$PKG +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure + on: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files + on: copy_init_scripts + on: install_documentation + on: slackdesc + on: move_config_files + on: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +privoxy: privoxy (A Web proxy with advanced filtering capabilities) +privoxy: +privoxy: Privoxy is a Web proxy based on Internet Junkbuster with advanced +privoxy: filtering capabilities for protecting privacy, filtering Web page +privoxy: content, managing cookies, controlling access, and removing ads, +privoxy: banners, pop-ups, and other obnoxious Internet junk. Privoxy has a +privoxy: very flexible configuration and can be customized to suit individual +privoxy: needs and tastes. Privoxy is useful for both stand-alone systems and +privoxy: multi-user networks. +privoxy: +privoxy: +# + # Configure ++autoheader || exit $ERROR_CONF ++autoconf || exit $ERROR_CONF +#p< diff --git a/net/proxy/privoxy/rc.privoxy.new b/net/proxy/privoxy/rc.privoxy.new new file mode 100755 index 0000000..932dcc0 --- /dev/null +++ b/net/proxy/privoxy/rc.privoxy.new @@ -0,0 +1,105 @@ +#!/bin/sh +# ******************************************************************** + +RETVAL=1 + +PRIVOXY_PRG="privoxy" +PRIVOXY_BIN="/usr/sbin/$PRIVOXY_PRG" +PRIVOXY_CONF="/etc/privoxy/config" +PRIVOXY_USER="privoxy" +PRIVOXY_GROUP="privoxy" +PRIVOXY_PID="/var/run/$PRIVOXY_PRG/$PRIVOXY_PRG.pid" + +declare -i check +check=(`/bin/ps -e|/bin/grep $PRIVOXY_PRG|/usr/bin/wc -l`) + +# some checks for us +if [ ! -x $PRIVOXY_BIN ] ; then exit 0 ;fi +if [ ! -f $PRIVOXY_CONF ] ; then exit 0 ;fi + +# See how we were called. + +PRIVOXY="$PRIVOXY_BIN $PRIVOXY_CONF" + +start () { + # start daemon + echo -n $"Starting $PRIVOXY_PRG: " + + if [ ! -f $PRIVOXY_PID ]; then + ( $PRIVOXY --user $PRIVOXY_USER.$PRIVOXY_GROUP --pidfile $PRIVOXY_PID -c $PRIVOXY_CONF 2>/dev/tty9 ) \ + && echo " OK" \ + && /bin/touch /var/lock/$PRIVOXY_PRG \ + && RETVAL=0 + elif [ $check -lt 3 ]; then + echo "Zombie lock file found" + /bin/rm -f /var/lock/$PRIVOXY_PRG $PRIVOXY_PID + echo "Retrying..." + start + else + echo "Already running" + fi + echo +} + +stop () { + # stop daemon + echo -n $"Stopping $PRIVOXY_PRG: " + if [ -f $PRIVOXY_PID ]; then + /bin/kill `/bin/cat $PRIVOXY_PID` \ + && /bin/rm -f /var/lock/$PRIVOXY_PRG $PRIVOXY_PID \ + && echo " OK" \ + && RETVAL=0 + echo + else + echo " Not Running" + fi +} + +case "$1" in + start) + start + ;; + stop) + stop + ;; + reload) + if [ -f $PRIVOXY_PID ] ; then + /bin/kill -HUP `cat $PRIVOXY_PID` \ + && RETVAL=0 + fi + ;; + restart) + stop + start + ;; + kill) + echo "Kill all Privoxy" + /bin/rm -f /var/lock/$PRIVOXY_PRG $PRIVOXY_PID + /bin/killall $PRIVOXY + ;; + condrestart) + # restart only if already running + if [ -f $PRIVOXY_PID ] ; then + stop + start + fi + ;; + status) + /bin/ps ax|/bin/grep $PRIVOXY_PRG|/bin/grep -v 'grep\|init\.d\|rc\.d' + RETVAL=0 + ;; + top) + if [ -f $PRIVOXY_PID ]; then + a="" + for i in `/sbin/pidof $PRIVOXY_PRG` ; do + a="$a -p $i" + done + /usr/bin/top $a + fi + ;; + *) + echo $"Usage: $PRIVOXY_PRG {start|stop|reload|restart|condrestart|status|top|kill}" + exit 1 +esac + +exit $RETVAL diff --git a/net/proxy/tsocks/tsocks-1.8beta5-x86_64.diff b/net/proxy/tsocks/tsocks-1.8beta5-x86_64.diff new file mode 100644 index 0000000..53b86af --- /dev/null +++ b/net/proxy/tsocks/tsocks-1.8beta5-x86_64.diff @@ -0,0 +1,36 @@ +diff -Naur tsocks-1.8.orig/tsocks tsocks-1.8/tsocks +--- tsocks-1.8.orig/tsocks 2002-03-16 07:27:18.000000000 -0300 ++++ tsocks-1.8/tsocks 2006-12-06 19:33:31.000000000 -0200 +@@ -46,14 +46,14 @@ + on) + if [ -z "$LD_PRELOAD" ] + then +- export LD_PRELOAD="/usr/lib/libtsocks.so" ++ export LD_PRELOAD="/usr/lib64/libtsocks.so" + else +- echo $LD_PRELOAD | grep -q "/usr/lib/libtsocks\.so" || \ +- export LD_PRELOAD="/usr/lib/libtsocks.so $LD_PRELOAD" ++ echo $LD_PRELOAD | grep -q "/usr/lib64/libtsocks\.so" || \ ++ export LD_PRELOAD="/usr/lib64/libtsocks.so $LD_PRELOAD" + fi + ;; + off) +- export LD_PRELOAD=`echo -n $LD_PRELOAD | sed 's/\/usr\/lib\/libtsocks.so \?//'` ++ export LD_PRELOAD=`echo -n $LD_PRELOAD | sed 's/\/usr\/lib64\/libtsocks.so \?//'` + if [ -z "$LD_PRELOAD" ] + then + unset LD_PRELOAD +@@ -68,10 +68,10 @@ + *) + if [ -z "$LD_PRELOAD" ] + then +- export LD_PRELOAD="/usr/lib/libtsocks.so" ++ export LD_PRELOAD="/usr/lib64/libtsocks.so" + else +- echo $LD_PRELOAD | grep -q "/usr/lib/libtsocks\.so" || \ +- export LD_PRELOAD="/usr/lib/libtsocks.so $LD_PRELOAD" ++ echo $LD_PRELOAD | grep -q "/usr/lib64/libtsocks\.so" || \ ++ export LD_PRELOAD="/usr/lib64/libtsocks.so $LD_PRELOAD" + fi + + if [ $# = 0 ] diff --git a/net/proxy/tsocks/tsocks.mkbuild b/net/proxy/tsocks/tsocks.mkbuild new file mode 100644 index 0000000..74123e8 --- /dev/null +++ b/net/proxy/tsocks/tsocks.mkbuild @@ -0,0 +1,94 @@ +# +# This mkbuild is free software; you can redistribute it and/or modify it under the +# terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or any later version. +# +# This mkbuild 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., 59 Temple +# Place - Suite 330, Boston, MA 02111-1307, USA +# + +#-------------------- +# Personal variables +#-------------------- +# Author name +[[SLACKBUILD AUTHOR]]="Silvio Rhatto" + +# Initials author name +[[SLACKBUILD AUTHOR INITIALS]]="rha" + +#------------------------ +# Construction Variables +#------------------------ +# +# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... ) +[[DOWNLOAD FOLDER URL]]="http://downloads.sourceforge.net/tsocks/tsocks-1.8beta5.tar.gz" + +# +# Documentation files. Null ("") to auto-set commom doc-files: +[[DOCUMENTATION FILES]]="COPYING ChangeLog FAQ TODO" + +[[OTHER CONFIGURE ARGS]]="--sysconfdir=/etc" + +# SlackBuild model +[[SLACKBUILD MODEL]]="generic.mkSlackBuild" + +# SlackBuild PATH in Slack.Sarava tree +[[SLACKBUILD PATH]]="net/proxy/tsocks" + +#--------------------- +# SlackBuild Sections +#--------------------- +# Default sections: +# head, set_variables, slkflags, start_structure, untar_source, +# make_package, install_package, build_package +# Warning: don't remove '#>>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +tsocks: tsocks (a transparent SOCKS proxying library) +tsocks: +tsocks: tsocks' role is to allow these non SOCKS aware applications (e.g +tsocks: telnet, ssh, ftp etc) to use SOCKS without any modification. It does +tsocks: this by intercepting the calls that applications make to establish +tsocks: network connections and negotating them through a SOCKS server as +tsocks: necessary. +tsocks: +tsocks: +tsocks: +tsocks: +#&6 +-else +- +- if test x"${with_nspr_lib}" != x ; then +- { echo "$as_me:$LINENO: checking for libnspr library in specified directory" >&5 +-echo $ECHO_N "checking for libnspr library in specified directory... $ECHO_C" >&6; } +- if test -f ${with_nspr_lib}/lib$name.a -o -f ${with_nspr_lib}/lib$name.${shlibext}; then +- tmp="`(cd ${with_nspr_lib}; pwd)`" +- ac_cv_path_nspr_lib="-L${tmp} -l$name" +- { echo "$as_me:$LINENO: result: yes" >&5 +-echo "${ECHO_T}yes" >&6; } +- else +- { { echo "$as_me:$LINENO: error: ${with_nspr_lib} directory doesn't contain library $name." >&5 +-echo "$as_me: error: ${with_nspr_lib} directory doesn't contain library $name." >&2;} +- { (exit 1); exit 1; }; } +- { echo "$as_me:$LINENO: result: no" >&5 +-echo "${ECHO_T}no" >&6; } +- fi +- fi +- +-fi +- ++#if test "${with_nspr_lib+set}" = set; then ++# withval=$with_nspr_lib; with_nspr_lib=${withval} ++#fi ++# ++# if test "${ac_cv_path_nspr_lib+set}" = set; then ++# echo $ECHO_N "(cached) $ECHO_C" >&6 ++#else ++# ++# if test x"${with_nspr_lib}" != x ; then ++# { echo "$as_me:$LINENO: checking for libnspr library in specified directory" >&5 ++#echo $ECHO_N "checking for libnspr library in specified directory... $ECHO_C" >&6; } ++# if test -f ${with_nspr_lib}/lib$name.a -o -f ${with_nspr_lib}/lib$name.${shlibext}; then ++# tmp="`(cd ${with_nspr_lib}; pwd)`" ++# ++# { echo "$as_me:$LINENO: result: yes" >&5 ++#echo "${ECHO_T}yes" >&6; } ++# else ++# { { echo "$as_me:$LINENO: error: ${with_nspr_lib} directory doesn't contain library $name." >&5 ++#echo "$as_me: error: ${with_nspr_lib} directory doesn't contain library $name." >&2;} ++# { (exit 1); exit 1; }; } ++# { echo "$as_me:$LINENO: result: no" >&5 ++#echo "${ECHO_T}no" >&6; } ++# fi ++# fi# ++# ++#fi ++ ac_cv_path_nspr_lib="-L/usr/lib/seamonkey -lplds4 -lplc4 -lnspr4 -lpthread -ldl" + + if test x$cross_compiling = xno; then + if test x"$PKG_CONFIG" != x -a x"${ac_cv_path_nspr_lib}" = x; then + $PKG_CONFIG --exists libDOWN && ac_cv_path_nspr_lib="`$PKG_CONFIG --libs-only-l libDOWN`" +- $PKG_CONFIG --exists nspr && ac_cv_path_nspr_lib="`$PKG_CONFIG --libs-only-l nspr`" ++ $PKG_CONFIG --exists seamonkey-nspr && ac_cv_path_nspr_lib="`$PKG_CONFIG --libs-only-l seamonkey-nspr`" + $PKG_CONFIG --exists lib$name && ac_cv_path_nspr_lib="`$PKG_CONFIG --libs-only-l lib$name`" + $PKG_CONFIG --exists $name && ac_cv_path_nspr_lib="`$PKG_CONFIG --libs-only-l $name`" + { echo "$as_me:$LINENO: checking for libnspr library" >&5 diff --git a/net/www/mplayerplug-in/mplayerplug-in.mkbuild b/net/www/mplayerplug-in/mplayerplug-in.mkbuild new file mode 100644 index 0000000..ddfdb5a --- /dev/null +++ b/net/www/mplayerplug-in/mplayerplug-in.mkbuild @@ -0,0 +1,96 @@ +# +# This mkbuild is free software; you can redistribute it and/or modify it under the +# terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or any later version. +# +# This mkbuild 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., 59 Temple +# Place - Suite 330, Boston, MA 02111-1307, USA +# + +#-------------------- +# Personal variables +#-------------------- +# Author name +[[SLACKBUILD AUTHOR]]="Silvio Rhatto" + +# Initials author name +[[SLACKBUILD AUTHOR INITIALS]]="rha" + +#------------------------ +# Construction Variables +#------------------------ +# +# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... ) +[[DOWNLOAD FOLDER URL]]="http://downloads.sourceforge.net/mplayerplug-in/mplayerplug-in-3.55.tar.gz" + +# +# Documentation files. Null ("") to auto-set commom doc-files: +[[DOCUMENTATION FILES]]="ChangeLog DOCS LICENSE README" + +# +# Other configure arguments +[[OTHER CONFIGURE ARGS]]="--sysconfdir=/etc --localstatedir=/var --enable-gmp" + +# SlackBuild model +[[SLACKBUILD MODEL]]="generic.mkSlackBuild" + +# SlackBuild PATH in Slack.Sarava tree +[[SLACKBUILD PATH]]="net/www/mplayerplug-in" + +#--------------------- +# SlackBuild Sections +#--------------------- +# Default sections: +# head, set_variables, slkflags, start_structure, untar_source, +# make_package, install_package, build_package +# Warning: don't remove '#>>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +mplayerplug-in: mplayerplug-in (browser plugin to play media from websites) +mplayerplug-in: +mplayerplug-in: This plug-in gives Mozilla the ability to play media from a website +mplayerplug-in: the net without reading the source html and getting the url manually. +mplayerplug-in: Media is played embedded in the page or in a separate window depending +mplayerplug-in: on how the author of the webpage intended the media to be seen. +mplayerplug-in: +mplayerplug-in: +mplayerplug-in: +mplayerplug-in: +mplayerplug-in: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +exempi: exempi by Slack.Sarava +exempi: +exempi: Exempi provides a library for easy parsing of XMP metadata. It is +exempi: a port of Adobe XMP SDK to work on UNIX and to be built with GNU +exempi: automake. It includes XMPCore and XMPFiles. +exempi: +exempi: +exempi: +exempi: +exempi: by avs +exempi: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +glib2: glib2 (library of C routines) +glib2: +glib2: GLib is a library which includes support routines for C such as lists, +glib2: trees, hashes, memory allocation, and many other things. +glib2: +glib2: +glib2: +glib2: +glib2: +glib2: Patch from slack.sarava.org +glib2: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 + on: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +gnutls: Gnutls (Transport Layer Security) +gnutls: +gnutls: This is the GNU TLS library. More up to date information can be found +gnutls: at http://www.gnu.org/software/gnutls/ and http://www.gnutls.org/ +gnutls: +gnutls: +gnutls: +gnutls: +gnutls: +gnutls: +gnutls: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 + on: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +libgcrypt: libgcrypt (General purpose crypto library) +libgcrypt: +libgcrypt: Libgcrypt is a general purpose crypto library based on the code +libgcrypt: used in GnuPG. +libgcrypt: +libgcrypt: +libgcrypt: +libgcrypt: +libgcrypt: +libgcrypt: +libgcrypt: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +libxml2: libxml2 (XML parser library) +libxml2: +libxml2: Libxml2 is the XML C parser library and toolkit. XML itself is a +libxml2: metalanguage to design markup languages -- i.e. a text language where +libxml2: structures are added to the content using extra "markup" information +libxml2: enclosed between angle brackets. HTML is the most well-known markup +libxml2: language. Though the library is written in C, a variety of language +libxml2: bindings make it available in other environments. +libxml2: +libxml2: +libxml2: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +libxslt: libxslt (XML transformation library) +libxslt: +libxslt: XSLT support for libxml2. (XSLT is a language used for transforming +libxslt: XML documents) +libxslt: +libxslt: +libxslt: +libxslt: +libxslt: +libxslt: +libxslt: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 + on: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +pcre: pcre (Perl-compatible regular expression library) +pcre: +pcre: The PCRE library is a set of functions that implement regular +pcre: expression pattern matching using the same syntax and semantics as +pcre: Perl 5, with just a few differences (documented in the man page). +pcre: +pcre: The PCRE library is used by KDE's Konqueror browser. +pcre: +pcre: +pcre: +pcre: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +stellarium: stellarium (A 3D astronomical sky renderer) +stellarium: +stellarium: Stellarium is a free GPL software which renders realistic skies in +stellarium: real time with openGL. It is available for Linux/Unix, Windows and +stellarium: MacOSX. With Stellarium, you really see what you can see with your +stellarium: eyes, binoculars or a small telescope. +stellarium: +stellarium: +stellarium: +stellarium: +stellarium: +#configure +# Configure +cmake . +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source + on: patch_source +off: configure + on: make_package +off: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +fftw: fftw (the fastest fourier transform in the west) +fftw: +fftw: FFTW is a C subroutine library for computing the discrete Fourier +fftw: transform (DFT) in one or more dimensions, of arbitrary input size, +fftw: and of both real and complex data (as well as of even/odd data, i.e. +fftw: the discrete cosine/sine transforms or DCT/DST). We believe that FFTW, +fftw: which is free software, should become the FFT library of choice for +fftw: most applications. +fftw: +fftw: +fftw: +#make_package +# Thanks to Kyle Guinn for the section below, +# obtained from http://slackbuilds.org/slackbuilds/12.1/libraries/fftw/fftw.SlackBuild +# Small changes by Rhatto + +# compile fftw3 +CFLAGS= \ +CXXFLAGS= \ +FFLAGS= \ +./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --libdir="$LIBDIR" \ + --localstatedir=/var \ + --mandir=/usr/man \ + --infodir=/usr/info \ + --docdir=/usr/doc/fftw-$PKG_VERSION \ + --enable-shared \ + --disable-static \ + --enable-threads || exit $ERROR_CONF +make $NUMJOBS || exit $ERROR_MAKE +make install-strip DESTDIR="$PKG" || exit $ERROR_INSTALL +make clean || exit $ERROR_MAKE + +# compile fftw3f +CFLAGS= \ +CXXFLAGS= \ +FFLAGS= \ +./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --libdir="$LIBDIR" \ + --localstatedir=/var \ + --mandir=/usr/man \ + --infodir=/usr/info \ + --docdir=/usr/doc/fftw-$PKG_VERSION \ + --enable-shared \ + --disable-static \ + --enable-threads \ + --enable-float || exit $ERROR_CONF +make $NUMJOBS || exit $ERROR_MAKE +make install-strip DESTDIR="$PKG" || exit $ERROR_INSTALL +make clean || exit $ERROR_MAKE + +# compile fftw3l +CFLAGS= \ +CXXFLAGS= \ +FFLAGS= \ +./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --libdir="$LIBDIR" \ + --localstatedir=/var \ + --mandir=/usr/man \ + --infodir=/usr/info \ + --docdir=/usr/doc/fftw-$PKG_VERSION \ + --enable-shared \ + --disable-static \ + --enable-threads \ + --enable-long-double || exit $ERROR_CONF +make $NUMJOBS || exit $ERROR_MAKE +make install-strip DESTDIR="$PKG" || exit $ERROR_INSTALL +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source +off: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +lapack: lapack by Slack.Sarava +lapack: +lapack: LAPACK is a library of Fortran 77 subroutines for solving +lapack: the most commonly occurring problems in numerical linear algebra. +lapack: It is freely-available software, and is copyrighted. +lapack: +lapack: +lapack: +lapack: +lapack: +lapack: +# + off ++# Configure ++cp INSTALL/make.inc.gfortran make.inc ++sed -i 's/RANLIB = ranlib/RANLIB = echo/' make.inc ++sed -i 's/lib: lapacklib tmglib/lib: blaslib lapacklib tmglib/' Makefile ++ +=== +-make $NUMJOBS || exit $ERROR_MAKE ++make clean ++make all || exit $ERROR_MAKE +=== +-make install DESTDIR="$PKG" || exit $ERROR_INSTALL ++mkdir -p $PKG/$LIBDIR ++cp blas_LINUX.a lapack_LINUX.a tmglib_LINUX.a $PKG/$LIBDIR ++( ++ cd $PKG/$LIBDIR ++ ln -s lapack_LINUX.a liblapack.a ++ ln -s blas_LINUX.a libblas.a ++ ln -s tmglib_LINUX.a libtmglib.a ++) +#p< \ No newline at end of file diff --git a/sys/boot/grub/grub.mkbuild b/sys/boot/grub/grub.mkbuild new file mode 100644 index 0000000..5085432 --- /dev/null +++ b/sys/boot/grub/grub.mkbuild @@ -0,0 +1,97 @@ +# +# This mkbuild is free software; you can redistribute it and/or modify it under the +# terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or any later version. +# +# This mkbuild 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., 59 Temple +# Place - Suite 330, Boston, MA 02111-1307, USA +# + +#-------------------- +# Personal variables +#-------------------- +# Author name +[[SLACKBUILD AUTHOR]]="Silvio Rhatto" + +# Initials author name +[[SLACKBUILD AUTHOR INITIALS]]="rha" + +#------------------------ +# Construction Variables +#------------------------ +# +# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... ) +[[DOWNLOAD FOLDER URL]]="ftp://alpha.gnu.org/gnu/grub/grub-1.96.tar.gz" + +# +# Documentation files. Null ("") to auto-set commom doc-files: +# NEWS TODO README AUTHORS INSTALL ChangeLog MAINTAINERS COPYING readme.* +[[DOCUMENTATION FILES]]="AUTHORS COPYING ChangeLog NEWS README THANKS TODO" + +# +# Other configure arguments +[[OTHER CONFIGURE ARGS]]="--sysconfdir=/etc" + +# SlackBuild model +[[SLACKBUILD MODEL]]="generic.mkSlackBuild" + +# SlackBuild PATH in Slack.Sarava tree +[[SLACKBUILD PATH]]="sys/boot/grub" + +#--------------------- +# SlackBuild Sections +#--------------------- +# Default sections: +# head, set_variables, slkflags, start_structure, untar_source, +# make_package, install_package, build_package +# Warning: don't remove '#>>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +grub: grub (GNU GRUB Legacy bootloader) +grub: +grub: This is the legacy (0.9x) version of GNU GRUB, the GRand Unified +grub: Bootloader. GRUB is an alternative to other familiar bootloaders +grub: such as LILO. Unlike LILO, it loads a kernel through direct file- +grub: system support rather than a block list so it does not need to be +grub: updated if a new kernel is installed. +grub: +grub: +grub: +grub: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#>slackdesc +cryptsetup-luks: crypstsetup-luks (userland tool for dm-crypt) +cryptsetup-luks: +cryptsetup-luks: LUKS is the upcoming standard for Linux hard disk encryption. +cryptsetup-luks: By providing a standard on-disk-format, it does not only facilitate +cryptsetup-luks: compatibility among distributions, but also provide secure management +cryptsetup-luks: of multiple user passwords. In contrast to existing solution, LUKS +cryptsetup-luks: stores all setup necessary setup information in the partition header, +cryptsetup-luks: enabling the user to transport or migrate his data seamlessly. LUKS +cryptsetup-luks: for dm-crypt is implemented in cryptsetup. cryptsetup-luks is intended +cryptsetup-luks: as a complete replacement for the original cryptsetup. It provides +cryptsetup-luks: all the functionally of the original version plus LUKS features. +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#>slackdesc +cryptsetup: crypstsetup (userland tool for dm-crypt) +cryptsetup: +cryptsetup: cryptsetup is a wrapper for dm-setup to create encrypted volumes. +cryptsetup: +cryptsetup: +cryptsetup: +cryptsetup: +cryptsetup: +cryptsetup: +cryptsetup: +cryptsetup: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure + on: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source + on: patch_source +off: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +anacron: anacron (periodic command scheduler) +anacron: +anacron: Anacron is a periodic command scheduler. It executes commands at +anacron: intervals specified in days. Unlike cron, it does not assume that the +anacron: system is running continuously. It can therefore be used to control +anacron: the execution of daily, weekly, and monthly jobs (or anything with +anacron: a period of n days), on systems that don't run 24 hours a day. When +anacron: installed and configured properly, Anacron will make sure that the +anacron: commands are run at the specified intervals as closely as +anacron: machine-uptime permits. +anacron: +#install_package +# Install +mkdir -p $PKG +mkdir -p $PKG/usr/sbin $PKG/var/spool/anacron $PKG/usr/man/man5 $PKG/usr/man/man8 + +cp anacron $PKG/usr/sbin +cp anacrontab.5 $PKG/usr/man/man5 +cp anacron.8 $PKG/usr/man/man8 + +gzip $PKG/usr/man/man5/anacrontab.5 +gzip $PKG/usr/man/man8/anacron.8 +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source +off: configure + on: make_package +off: install_package +off: strip_binaries +off: compress_manpages +off: compress_info_files + on: install_documentation + on: slackdesc +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +Trac: Trac +Trac: +Trac: Trac is an enhanced wiki and issue tracking system for software +Trac: development projects. Trac uses a minimalistic approach to +Trac: web-based software project management. +Trac: +Trac: +Trac: +Trac: +Trac: +Trac: +#make_package +# Build and install package +python setup.py build install --root=$PKG +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: download_source + on: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check +off: untar_source +off: patch_source +off: configure + on: make_package +off: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files + on: install_documentation + on: slackdesc +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +TracAccountManager: TracAccountManager +TracAccountManager: +TracAccountManager: The AccountManagerPlugin offers several features for managing user accounts: +TracAccountManager: +TracAccountManager: * allow users to register new accounts +TracAccountManager: * login via an HTML form instead of using HTTP authentication +TracAccountManager: * allow existing users to change their passwords or delete their accounts +TracAccountManager: +TracAccountManager: +TracAccountManager: +TracAccountManager: +#make_package +# Build and install package +python setup.py build install --root=$PKG +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: download_source + on: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check +off: untar_source +off: patch_source +off: configure + on: make_package +off: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files + on: install_documentation + on: slackdesc +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +TracPageAuthzEditor: TracPageAuthzEditor +TracPageAuthzEditor: +TracPageAuthzEditor: This is a simple plugin to help edit the fine grained authz permissions file. +TracPageAuthzEditor: In addition to providing a text editor is also provides a list of the current +TracPageAuthzEditor: project users, so they are readily available. +TracPageAuthzEditor: +TracPageAuthzEditor: +TracPageAuthzEditor: +TracPageAuthzEditor: +TracPageAuthzEditor: +TracPageAuthzEditor: +#make_package +# Build and install package +python setup.py build install --root=$PKG +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +xev: xev by Slack.Sarava +xev: +xev: Xev creates a window and then asks the X server to send it events +xev: whenever anything happens to the window (such as it being moved, resized, +xev: typed in, clicked in, etc.). You can also attach it to an existing +xev: window. It is useful for seeing what causes events to occur and to +xev: display the information that they contain; it is essentially a debugging +xev: and development tool, and should not be needed in normal usage. +xev: +xev: +xev: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#>configure + +sh ./autogen.sh + +CFLAGS="$SLKCFLAGS" \ + CXXFLAGS="$SLKCFLAGS" \ + ./configure \ + --prefix="$PREFIX" --libdir="$LIBDIR" $CONF_OPTIONS || exit $ERROR_CONF + +#slackdesc +agg: agg (A High Quality Rendering Engine for C++) +agg: +agg: A High Quality Rendering Engine for C++ +agg: +agg: +agg: +agg: +agg: +agg: +agg: http://www.antigrain.com/ +agg: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group +off: download_source + on: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check +off: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +ecore: ecore +ecore: +ecore: Ecore is the event/X abstraction layer that makes doing selections, +ecore: Xdnd, general X stuff, event loops, timeouts and idle handlers fast, +ecore: optimized, and convenient. It's a separate library so anyone can make +ecore: use of the work put into Ecore to make this job easy for applications. +ecore: +ecore: +ecore: +ecore: +ecore: +# + # Configure ++./autogen.sh || exit $ERROR_CONF +#p< diff --git a/x11/libs/esmart/esmart.mkbuild b/x11/libs/esmart/esmart.mkbuild new file mode 100644 index 0000000..44a6501 --- /dev/null +++ b/x11/libs/esmart/esmart.mkbuild @@ -0,0 +1,117 @@ +# +# This mkbuild is free software; you can redistribute it and/or modify it under the +# terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or any later version. +# +# This mkbuild 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., 59 Temple +# Place - Suite 330, Boston, MA 02111-1307, USA +# + +#-------------------- +# Personal variables +#-------------------- +# Author name +[[SLACKBUILD AUTHOR]]="Silvio Rhatto" + +# Initials author name +[[SLACKBUILD AUTHOR INITIALS]]="rha" + +#------------------------ +# Construction Variables +#------------------------ +# +# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... ) +[[DOWNLOAD FOLDER URL]]="http://svn.enlightenment.org/svn/e/trunk/esmart" + +# Package name +[[PACKAGE NAME]]="esmart" + +# Source base name +[[SOURCE NAME]]="esmart" + +# +# PKG_NAME version +[[VERSION]]="svn_version" + +# +# Dependency list input +[[SLACK REQUIRED]]="eet: evas: ecore: embryo: edje: imlib2: epsilon" + +# +# Documentation files +[[DOCUMENTATION FILES]]="AUTHORS COPYING ChangeLog NEWS README TODO BUGS" + +# +# Other configure arguments +[[OTHER CONFIGURE ARGS]]="--sysconfdir=/etc" + +# SlackBuild model +[[SLACKBUILD MODEL]]="generic.mkSlackBuild" + +# SlackBuild PATH in Slack.Sarava tree +[[SLACKBUILD PATH]]="x11/libs/esmart" + +#--------------------- +# SlackBuild Sections +#--------------------- +# Default sections: +# head, set_variables, slkflags, start_structure, untar_source, +# make_package, install_package, build_package +# Warning: don't remove '#>>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group +off: download_source + on: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check +off: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +esmart: esmart +esmart: +esmart: +esmart: Esmart contains "smart" pre-built evas objects. It currently includes +esmart: a thumbnail generator and a horizontal/vertical container. +esmart: +esmart: +esmart: +esmart: +esmart: +esmart: +# + # Configure ++./autogen.sh || exit $ERROR_CONF +#p< diff --git a/x11/libs/etk/etk.mkbuild b/x11/libs/etk/etk.mkbuild new file mode 100644 index 0000000..ca13ba1 --- /dev/null +++ b/x11/libs/etk/etk.mkbuild @@ -0,0 +1,117 @@ +# +# This mkbuild is free software; you can redistribute it and/or modify it under the +# terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or any later version. +# +# This mkbuild 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., 59 Temple +# Place - Suite 330, Boston, MA 02111-1307, USA +# + +#-------------------- +# Personal variables +#-------------------- +# Author name +[[SLACKBUILD AUTHOR]]="Silvio Rhatto" + +# Initials author name +[[SLACKBUILD AUTHOR INITIALS]]="rha" + +#------------------------ +# Construction Variables +#------------------------ +# +# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... ) +[[DOWNLOAD FOLDER URL]]="http://svn.enlightenment.org/svn/e/trunk/etk" + +# Package name +[[PACKAGE NAME]]="etk" + +# Source base name +[[SOURCE NAME]]="etk" + +# +# PKG_NAME version +[[VERSION]]="svn_version" + +# +# Dependency list input +[[SLACK REQUIRED]]="eet: evas: ecore: embryo: edje: imlib2: esmart" + +# +# Documentation files +[[DOCUMENTATION FILES]]="AUTHORS COPYING ChangeLog NEWS README TODO BUGS" + +# +# Other configure arguments +[[OTHER CONFIGURE ARGS]]="--sysconfdir=/etc" + +# SlackBuild model +[[SLACKBUILD MODEL]]="generic.mkSlackBuild" + +# SlackBuild PATH in Slack.Sarava tree +[[SLACKBUILD PATH]]="x11/libs/etk" + +#--------------------- +# SlackBuild Sections +#--------------------- +# Default sections: +# head, set_variables, slkflags, start_structure, untar_source, +# make_package, install_package, build_package +# Warning: don't remove '#>>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group +off: download_source + on: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check +off: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +etk: etk +etk: +etk: Etk is a toolkit based on the EFL. +etk: +etk: +etk: +etk: +etk: +etk: +etk: +etk: +# + # Configure ++./autogen.sh || exit $ERROR_CONF +#p< diff --git a/x11/libs/evas/evas.mkbuild b/x11/libs/evas/evas.mkbuild new file mode 100644 index 0000000..0993911 --- /dev/null +++ b/x11/libs/evas/evas.mkbuild @@ -0,0 +1,117 @@ +# +# This mkbuild is free software; you can redistribute it and/or modify it under the +# terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or any later version. +# +# This mkbuild 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., 59 Temple +# Place - Suite 330, Boston, MA 02111-1307, USA +# + +#-------------------- +# Personal variables +#-------------------- +# Author name +[[SLACKBUILD AUTHOR]]="Silvio Rhatto" + +# Initials author name +[[SLACKBUILD AUTHOR INITIALS]]="rha" + +#------------------------ +# Construction Variables +#------------------------ +# +# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... ) +[[DOWNLOAD FOLDER URL]]="http://svn.enlightenment.org/svn/e/trunk/evas" + +# Package name +[[PACKAGE NAME]]="evas" + +# Source base name +[[SOURCE NAME]]="evas" + +# +# PKG_NAME version +[[VERSION]]="svn_version" + +# +# Dependency list input +[[SLACK REQUIRED]]="eet" + +# +# Documentation files +[[DOCUMENTATION FILES]]="AUTHORS COPYING ChangeLog NEWS README TODO BUGS" + +# +# Other configure arguments +[[OTHER CONFIGURE ARGS]]="--sysconfdir=/etc" + +# SlackBuild model +[[SLACKBUILD MODEL]]="generic.mkSlackBuild" + +# SlackBuild PATH in Slack.Sarava tree +[[SLACKBUILD PATH]]="x11/libs/evas" + +#--------------------- +# SlackBuild Sections +#--------------------- +# Default sections: +# head, set_variables, slkflags, start_structure, untar_source, +# make_package, install_package, build_package +# Warning: don't remove '#>>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group +off: download_source + on: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check +off: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +evas: evas +evas: +evas: Evas is a clean display canvas API for several target display systems +evas: that can draw anti-aliased text, smooth super and sub-sampled scaled +evas: images, alpha-blend objects much and more. +evas: +evas: +evas: +evas: +evas: +evas: +# + # Configure ++./autogen.sh || exit $ERROR_CONF +#p< diff --git a/x11/libs/ewl/ewl.mkbuild b/x11/libs/ewl/ewl.mkbuild new file mode 100644 index 0000000..d5460e4 --- /dev/null +++ b/x11/libs/ewl/ewl.mkbuild @@ -0,0 +1,117 @@ +# +# This mkbuild is free software; you can redistribute it and/or modify it under the +# terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or any later version. +# +# This mkbuild 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., 59 Temple +# Place - Suite 330, Boston, MA 02111-1307, USA +# + +#-------------------- +# Personal variables +#-------------------- +# Author name +[[SLACKBUILD AUTHOR]]="Silvio Rhatto" + +# Initials author name +[[SLACKBUILD AUTHOR INITIALS]]="rha" + +#------------------------ +# Construction Variables +#------------------------ +# +# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... ) +[[DOWNLOAD FOLDER URL]]="http://svn.enlightenment.org/svn/e/trunk/ewl" + +# Package name +[[PACKAGE NAME]]="ewl" + +# Source base name +[[SOURCE NAME]]="ewl" + +# +# PKG_NAME version +[[VERSION]]="svn_version" + +# +# Dependency list input +[[SLACK REQUIRED]]="eet: evas: ecore: embryo: edje: imlib2: epsilon" + +# +# Documentation files +[[DOCUMENTATION FILES]]="AUTHORS COPYING ChangeLog NEWS README TODO BUGS" + +# +# Other configure arguments +[[OTHER CONFIGURE ARGS]]="--sysconfdir=/etc" + +# SlackBuild model +[[SLACKBUILD MODEL]]="generic.mkSlackBuild" + +# SlackBuild PATH in Slack.Sarava tree +[[SLACKBUILD PATH]]="x11/libs/ewl" + +#--------------------- +# SlackBuild Sections +#--------------------- +# Default sections: +# head, set_variables, slkflags, start_structure, untar_source, +# make_package, install_package, build_package +# Warning: don't remove '#>>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group +off: download_source + on: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check +off: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +ewl: ewl (widget library which uses the E Foundation Libraries) +ewl: +ewl: The Enlightened Widget Library (EWL) provides a widget abstraction +ewl: for creating GUI's using Evas and Edje. The use of Edje allows for +ewl: easy creation of fairly advanced EWL themes. +ewl: +ewl: +ewl: +ewl: +ewl: +ewl: +# + # Configure ++./autogen.sh || exit $ERROR_CONF +#p< diff --git a/x11/libs/gtkglext/gtkglext.mkbuild b/x11/libs/gtkglext/gtkglext.mkbuild new file mode 100644 index 0000000..2deb8ec --- /dev/null +++ b/x11/libs/gtkglext/gtkglext.mkbuild @@ -0,0 +1,167 @@ +################################################################# +## Generic template for Mkbuild +## +## Version 0.9.0 - Alves ( rudsonalves at yahoo d0t com d0t br ) +################################################################# +#-------------------- +# Personal variables +#-------------------- +# Author name +[[SLACKBUILD AUTHOR]]="Rudson R. Alves" + +# Initials author name +[[SLACKBUILD AUTHOR INITIALS]]="srv" + +#------------------------ +# Construction Variables +#------------------------ +# +# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... ) +[[DOWNLOAD FOLDER URL]]="http://downloads.sourceforge.net/gtkglext/gtkglext-1.2.0.tar.bz2" + +# Source base name. if different from package name. Null ("") to default value. +# Auto-set, get SRC_NAME from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[SOURCE NAME]]="" + +# Package name. Null ("") to auto-set +# Auto-set, get PKG_NAME from URL downcase(SRC_NAME): http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[PACKAGE NAME]]="" + +# +# Package default ARCH +# Default set is i486 +[[ARCH]]="" + +# +# Package version. Null ("") to auto-set. +# Auto-set, get VERSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[VERSION]]="" + +# +# Package extension. Null ("") to auto-set +# Auto-set, get EXTENSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[EXTENSION]]="" + +# +# Build number. +# Auto-set to default 1 +[[BUILD NUMBER]]="" + +# +# Source Name construction string +# Default value is: $SRC_NAME-$VERSION.tar.$EXTENSION +[[SOURCE NAME CONSTRUCTION STRING]]="$SRC_NAME-$VERSION.tar.$EXTENSION" + +# +# Unpacker programa ("") to auto-set. Default "tar" +# Unpacke Flags ("") to auto-set. Default flags to tar "--no-same-owner --no-same-permissions -xvf" +[[UNPACKER]]="" +[[UNPACKER FLAGS]]="" + +# +# Dependency list input +# Enter string: "dependency_1 [condiction_1] [versio_1]: dependency_2 [condiction_2] [versio_2]" +# Example: +[[SLACK REQUIRED]]="mesa: gtk+2" + +# +# Decompress program +# gz, tgz, bz2, set null ("") to auto-set +# Auto-set, get DECOMPRESSOR from URL EXTENSION: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[DECOMPRESSOR]]="" + +# +# Decompress check flag +# gz, tgz, bz2, set null ("") to auto-set +[[DECOMPRESSOR TEST FLAG]]="" + +# +# Documentation files. Null ("") to auto-set commom doc-files: +# NEWS TODO README AUTHORS INSTALL ChangeLog MAINTAINERS COPYING readme.* +[[DOCUMENTATION FILES]]="AUTHORS COPYING COPYING.LIB INSTALL NEWS README README.win32 TODO" + +# +# ./configure options +[[OTHER CONFIGURE ARGS]]="" + +# +# PREFIX. Default /usr +[[PREFIX]]="/usr" + +# +# Number of jobs +[[NUMBER OF JOBS]]="-j4" + +#--------------------- +# Others changes +#--------------------- +#[[MD5SUM CODE]]="" +#[[MD5SUM EXTENSION]]="" +#[[SIGNING KEY]]="" +#[[SIGNING KEY URL]]="" +#[[SIGNING KEY ID]]="" +#[[CONFIG FILES]]="" +#[[PATCH URLS]]="" +[[PATCH FILES]]="" +[[NUMBER OF PREFIX SLASHES TO STRIP]]="1" + +# SlackBuild model +[[SLACKBUILD MODEL]]="generic.mkSlackBuild" + +# SlackBuild PATH in Slack.Sarava tree +#[[SLACKBUILD PATH]]="others/unclassified/gtkglext" +[[SLACKBUILD PATH]]="x11/libs/gtkglext" + +#--------------------- +# SlackBuild Sections +#--------------------- +# Default sections: +# head, set_variables, slkflags, start_structure, untar_source, +# make_package, install_package, build_package +# Warning: don't remove '#>>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +gtkglext: gtkglext by Slack.Sarava +gtkglext: +gtkglext: GtkGLExt is an OpenGL extension to GTK. +gtkglext: +gtkglext: This package is composed of GdkGLExt library and GtkGLExt library. +gtkglext: GdkGLExt library provides the GDK objects which support OpenGL +gtkglext: rendering in GTK. GtkGLExt library provides the GtkWidget API add-ons +gtkglext: to make GTK+ widgets OpenGL-capable. +gtkglext: +gtkglext: +gtkglext: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +libast: libast +libast: +libast: LibAST is the Library of Assorted Spiffy Things. It contains many +libast: spiffy things, and it is a library. Thus, the ever-so-creative name. +libast: LibAST has been previously known as libmej, the Eterm helper library +libast: which nobody really understood and certainly never used. +libast: +libast: +libast: +libast: +libast: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +wxGTK: wxGTK by Slack.Sarava +wxGTK: +wxGTK: GTK+ version of wxWidgets, a cross-platform C++ GUI toolkit +wxGTK: +wxGTK: +wxGTK: +wxGTK: +wxGTK: +wxGTK: +wxGTK: by avs +wxGTK: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group +off: download_source + on: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check +off: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +entrance: entrance +entrance: +entrance: Entrance is the next generation of Elogin, a login/display manager +entrance: for Linux XFree86 systems. It is designed to be extremely +entrance: customizable and aesthetically attractive -- a refreshing relief +entrance: from the traditional dull and boring interfaces of XDM and its +entrance: descendants. +entrance: +entrance: +entrance: +entrance: +# + # Configure ++./autogen.sh || exit $ERROR_CONF +#p< diff --git a/x11/misc/xbindkeys/xbindkeys.mkbuild b/x11/misc/xbindkeys/xbindkeys.mkbuild new file mode 100644 index 0000000..44f4b82 --- /dev/null +++ b/x11/misc/xbindkeys/xbindkeys.mkbuild @@ -0,0 +1,169 @@ +################################################################# +## Generic template for Mkbuild +## +## Version 0.9.0 - Alves ( rudsonalves at yahoo d0t com d0t br ) +################################################################# +#-------------------- +# Personal variables +#-------------------- +# Author name +[[SLACKBUILD AUTHOR]]="Rudson R. Alves" + +# Initials author name +[[SLACKBUILD AUTHOR INITIALS]]="srv" + +#------------------------ +# Construction Variables +#------------------------ +# +# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... ) +[[DOWNLOAD FOLDER URL]]="http://hocwp.free.fr/xbindkeys/xbindkeys-1.8.2.tar.gz" + +# Source base name. if different from package name. Null ("") to default value. +# Auto-set, get SRC_NAME from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[SOURCE NAME]]="" + +# Package name. Null ("") to auto-set +# Auto-set, get PKG_NAME from URL downcase(SRC_NAME): http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[PACKAGE NAME]]="" + +# +# Package default ARCH +# Default set is i486 +[[ARCH]]="" + +# +# Package version. Null ("") to auto-set. +# Auto-set, get VERSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[VERSION]]="" + +# +# Package extension. Null ("") to auto-set +# Auto-set, get EXTENSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[EXTENSION]]="" + +# +# Build number. +# Auto-set to default 1 +[[BUILD NUMBER]]="" + +# +# Source Name construction string +# Default value is: $SRC_NAME-$VERSION.tar.$EXTENSION +[[SOURCE NAME CONSTRUCTION STRING]]="$SRC_NAME-$VERSION.tar.$EXTENSION" + +# +# Unpacker programa ("") to auto-set. Default "tar" +# Unpacke Flags ("") to auto-set. Default flags to tar "--no-same-owner --no-same-permissions -xvf" +[[UNPACKER]]="" +[[UNPACKER FLAGS]]="" + +# +# Dependency list input +# Enter string: "dependency_1 [condiction_1] [versio_1]: dependency_2 [condiction_2] [versio_2]" +# Example: +[[SLACK REQUIRED]]="guile" + +# +# Decompress program +# gz, tgz, bz2, set null ("") to auto-set +# Auto-set, get DECOMPRESSOR from URL EXTENSION: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[DECOMPRESSOR]]="" + +# +# Decompress check flag +# gz, tgz, bz2, set null ("") to auto-set +[[DECOMPRESSOR TEST FLAG]]="" + +# +# Documentation files. Null ("") to auto-set commom doc-files: +# NEWS TODO README AUTHORS INSTALL ChangeLog MAINTAINERS COPYING readme.* +[[DOCUMENTATION FILES]]="AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README TODO" + +# +# ./configure options +[[OTHER CONFIGURE ARGS]]="--with-x" + +# +# PREFIX. Default /usr +[[PREFIX]]="/usr" + +# +# Number of jobs +[[NUMBER OF JOBS]]="-j4" + +#--------------------- +# Others changes +#--------------------- +#[[MD5SUM CODE]]="" +#[[MD5SUM EXTENSION]]="" +#[[SIGNING KEY]]="" +#[[SIGNING KEY URL]]="" +#[[SIGNING KEY ID]]="" +#[[SIGNING URL]]="" +#[[CONFIG FILES]]="" +#[[PATCH URLS]]="" +[[PATCH FILES]]="" +[[NUMBER OF PREFIX SLASHES TO STRIP]]="1" + +# SlackBuild model +[[SLACKBUILD MODEL]]="generic.mkSlackBuild" + +# SlackBuild PATH in Slack.Sarava tree +#[[SLACKBUILD PATH]]="others/unclassified/xbindkeys" +[[SLACKBUILD PATH]]="x11/misc/xbindkeys" + +#--------------------- +# SlackBuild Sections +#--------------------- +# Default sections: +# head, set_variables, slkflags, start_structure, untar_source, +# make_package, install_package, build_package +# Warning: don't remove '#>>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +xbindkeys: xbindkeys by Slack.Sarava +xbindkeys: +xbindkeys: xbindkeys is a program that allows you to launch shell commands +xbindkeys: with your keyboard or your mouse under X Window. It links commands +xbindkeys: to keys or mouse buttons, using a configuration file. It's +xbindkeys: independant of the window manager and can capture all keyboard +xbindkeys: keys (ex: Power, Wake...). +xbindkeys: +xbindkeys: +xbindkeys: +xbindkeys: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +aterm: aterm by Slack.Sarava +aterm: +aterm: aterm is designed to provide pleasing visual effects, while performing such +aterm: a mundane function as terminal emulation under X. It is largely based on +aterm: rxvt code. Several points set it apart from other similar applications: +aterm: * fast pseudo-transparency, that does not consume any additional +aterm: resources. +aterm: * optional off-focus fading of text +aterm: * NeXT-ish scrollbar +aterm: * integration with AfterStep window manager +aterm: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +Eterm: Eterm by Slack.Sarava +Eterm: Eterm (An X11 VT102 emulator with Enlightenment features) +Eterm: +Eterm: Eterm is a vt102 terminal emulator intended as a replacement for +Eterm: xterm. It is designed with a Freedom of Choice philosophy, leaving as +Eterm: much power, flexibility, and freedom as possible in the hands of the +Eterm: user. It is designed to look good and work well, but takes a +Eterm: feature-rich approach rather than one of minimalism. Current features +Eterm: include color support, background images (all Imlib-supported formats), +Eterm: theme support, and pseudo-transparency. +Eterm: by avs +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +gnome-backgrounds: gnome-backgrounds by Slack.Sarava +gnome-backgrounds: +gnome-backgrounds: This package provides a set of background images ready to be used within the +gnome-backgrounds: Gnome Desktop. +gnome-backgrounds: +gnome-backgrounds: +gnome-backgrounds: +gnome-backgrounds: +gnome-backgrounds: +gnome-backgrounds: by avs +gnome-backgrounds: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +gnome-themes: gnome-themes by Slack.Sarava +gnome-themes: +gnome-themes: This package provides several GTK/GNOME 2 themes, including: Crux, Grand +gnome-themes: Canyon, High Contrast, High Contrast Large Print, High Contrast Large +gnome-themes: Print Inverse, Large Print, Low Contrast Large Print, Mist, Ocean Dream +gnome-themes: Sandwish, Simple, Smokey Blue, Smokey and Traditional. +gnome-themes: +gnome-themes: +gnome-themes: +gnome-themes: by avs +gnome-themes: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +gtk-engines: gtk-engines by Slack.Sarava +gtk-engines: +gtk-engines: This package provides four sample theme engines for GTK+: +gtk-engines: Pixmap, Metal, Redmond95, Notif. +gtk-engines: +gtk-engines: +gtk-engines: +gtk-engines: +gtk-engines: +gtk-engines: by avs +gtk-engines: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +afterstep: afterstep by Slack.Sarava +afterstep: +afterstep: AfterStep is a window manager for the Unix X Window System. +afterstep: Originally based on the look and feel of the NeXTStep interface, it +afterstep: provides endusers with a consistent, clean, and elegant desktop. +afterstep: The goal of AfterStep development is to provide for flexibility of +afterstep: desktopconfiguration, improving aestetics, and efficient use of +afterstep: system resources. +afterstep: +afterstep: +afterstep: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group +off: download_source + on: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check +off: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +enlightenment: enlightenment +enlightenment: +enlightenment: enlightenment window manager, dev. release 17. +enlightenment: its time to rethink everything :) +enlightenment: +enlightenment: +enlightenment: +enlightenment: +enlightenment: +enlightenment: +enlightenment: +# + # Configure ++./autogen.sh || exit $ERROR_CONF +#p< diff --git a/x11/wm/metacity/metacity.mkbuild b/x11/wm/metacity/metacity.mkbuild new file mode 100644 index 0000000..9124cc0 --- /dev/null +++ b/x11/wm/metacity/metacity.mkbuild @@ -0,0 +1,169 @@ +################################################################# +## Generic template for Mkbuild +## +## Version 0.9.0 - Alves ( rudsonalves at yahoo d0t com d0t br ) +################################################################# +#-------------------- +# Personal variables +#-------------------- +# Author name +[[SLACKBUILD AUTHOR]]="Alexandre Vieira de Souza" + +# Initials author name +[[SLACKBUILD AUTHOR INITIALS]]="avs" + +#------------------------ +# Construction Variables +#------------------------ +# +# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... ) +[[DOWNLOAD FOLDER URL]]="http://ftp.gnome.org/pub/gnome/sources/metacity/2.22/metacity-2.22.0.tar.bz2" + +# Source base name. if different from package name. Null ("") to default value. +# Auto-set, get SRC_NAME from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[SOURCE NAME]]="" + +# Package name. Null ("") to auto-set +# Auto-set, get PKG_NAME from URL downcase(SRC_NAME): http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[PACKAGE NAME]]="" + +# +# Package default ARCH +# Default set is i486 +[[ARCH]]="" + +# +# Package version. Null ("") to auto-set. +# Auto-set, get VERSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[VERSION]]="" + +# +# Package extension. Null ("") to auto-set +# Auto-set, get EXTENSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[EXTENSION]]="" + +# +# Build number. +# Auto-set to default 1 +[[BUILD NUMBER]]="" + +# +# Source Name construction string +# Default value is: $SRC_NAME-$VERSION.tar.$EXTENSION +[[SOURCE NAME CONSTRUCTION STRING]]="$SRC_NAME-$VERSION.tar.$EXTENSION" + +# +# Unpacker programa ("") to auto-set. Default "tar" +# Unpacke Flags ("") to auto-set. Default flags to tar "--no-same-owner --no-same-permissions -xvf" +[[UNPACKER]]="" +[[UNPACKER FLAGS]]="" + +# +# Dependency list input +# Enter string: "dependency_1 [condiction_1] [versio_1]: dependency_2 [condiction_2] [versio_2]" +# Example: +[[SLACK REQUIRED]]="" + +# +# Decompress program +# gz, tgz, bz2, set null ("") to auto-set +# Auto-set, get DECOMPRESSOR from URL EXTENSION: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[DECOMPRESSOR]]="" + +# +# Decompress check flag +# gz, tgz, bz2, set null ("") to auto-set +[[DECOMPRESSOR TEST FLAG]]="" + +# +# Documentation files. Null ("") to auto-set commom doc-files: +# NEWS TODO README AUTHORS INSTALL ChangeLog MAINTAINERS COPYING readme.* +[[DOCUMENTATION FILES]]="" + +# +# ./configure options +[[OTHER CONFIGURE ARGS]]="" + +# +# PREFIX. Default /usr +[[PREFIX]]="/usr" + +# +# Number of jobs +[[NUMBER OF JOBS]]="-j4" + +#--------------------- +# Others changes +#--------------------- +#[[MD5SUM CODE]]="" +#[[MD5SUM EXTENSION]]="" +#[[SIGNING KEY]]="" +#[[SIGNING KEY URL]]="" +#[[SIGNING KEY ID]]="" +#[[SIGNING URL]]="" +#[[CONFIG FILES]]="" +#[[PATCH URLS]]="" +[[PATCH FILES]]="" +[[NUMBER OF PREFIX SLASHES TO STRIP]]="1" + +# SlackBuild model +[[SLACKBUILD MODEL]]="generic.mkSlackBuild" + +# SlackBuild PATH in Slack.Sarava tree +#[[SLACKBUILD PATH]]="others/unclassified/metacity" +[[SLACKBUILD PATH]]="x11/wm/metacity" + +#--------------------- +# SlackBuild Sections +#--------------------- +# Default sections: +# head, set_variables, slkflags, start_structure, untar_source, +# make_package, install_package, build_package +# Warning: don't remove '#>>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +metacity: metacity by Slack.Sarava +metacity: +metacity: Metacity is a low-frills Window Manager, and is the default +metacity: Window Manager of the GNOME 2 desktop. It provides most of +metacity: the features expected of a Window Manager, but leaves +metacity: everything it can up to other components of the GNOME +metacity: environment. +metacity: +metacity: +metacity: by avs +metacity: +#