diff options
Diffstat (limited to 'audio')
-rw-r--r-- | audio/seq24/perfedit.patch | 29 | ||||
-rw-r--r-- | audio/seq24/seq24.SlackBuild | 34 | ||||
-rw-r--r-- | audio/seq24/seq24.info | 6 |
3 files changed, 50 insertions, 19 deletions
diff --git a/audio/seq24/perfedit.patch b/audio/seq24/perfedit.patch new file mode 100644 index 0000000000000..960e6d2bcc1b5 --- /dev/null +++ b/audio/seq24/perfedit.patch @@ -0,0 +1,29 @@ +--- seq24/trunk/src/perfedit.cpp.old 2016-01-03 23:30:55.562890265 +0700 ++++ seq24/trunk/src/perfedit.cpp 2016-01-03 23:32:24.958812214 +0700 +@@ -119,7 +119,7 @@ + /* snap */ + m_button_snap = manage( new Button()); + m_button_snap->add( *manage( new Image(Gdk::Pixbuf::create_from_xpm_data( snap_xpm )))); +- m_button_snap->signal_clicked().connect( bind<Menu *>( mem_fun( *this, &perfedit::popup_menu), m_menu_snap )); ++ m_button_snap->signal_clicked().connect( bind<void>( mem_fun( *this, &perfedit::popup_menu), m_menu_snap )); + add_tooltip( m_button_snap, "Grid snap. (Fraction of Measure Length)" ); + m_entry_snap = manage( new Entry()); + m_entry_snap->set_size_request( 40, -1 ); +@@ -152,7 +152,7 @@ + /* beats per measure */ + m_button_bpm = manage( new Button()); + m_button_bpm->add( *manage( new Image(Gdk::Pixbuf::create_from_xpm_data( down_xpm )))); +- m_button_bpm->signal_clicked().connect( bind<Menu *>( mem_fun( *this, &perfedit::popup_menu), m_menu_bpm )); ++ m_button_bpm->signal_clicked().connect( bind<void>( mem_fun( *this, &perfedit::popup_menu), m_menu_bpm )); + add_tooltip( m_button_bpm, "Time Signature. Beats per Measure" ); + m_entry_bpm = manage( new Entry()); + m_entry_bpm->set_width_chars(2); +@@ -162,7 +162,7 @@ + /* beat width */ + m_button_bw = manage( new Button()); + m_button_bw->add( *manage( new Image(Gdk::Pixbuf::create_from_xpm_data( down_xpm )))); +- m_button_bw->signal_clicked().connect( bind<Menu *>( mem_fun( *this, &perfedit::popup_menu), m_menu_bw )); ++ m_button_bw->signal_clicked().connect( bind<void>( mem_fun( *this, &perfedit::popup_menu), m_menu_bw )); + add_tooltip( m_button_bw, "Time Signature. Length of Beat" ); + m_entry_bw = manage( new Entry()); + m_entry_bw->set_width_chars(2); diff --git a/audio/seq24/seq24.SlackBuild b/audio/seq24/seq24.SlackBuild index 32106e861baa9..39df07766b49f 100644 --- a/audio/seq24/seq24.SlackBuild +++ b/audio/seq24/seq24.SlackBuild @@ -23,7 +23,7 @@ # YOUR DATA IS DESTROYED. PRGNAM=seq24 -VERSION=${VERSION:-0.9.2} +VERSION=${VERSION:-rev136} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -59,40 +59,42 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar -xf $CWD/$PRGNAM-$VERSION.tar.bz2 -cd $PRGNAM-$VERSION +rm -rf $PRGNAM/trunk +tar -xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM/trunk chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +autoreconf -i + +patch -p2 < $CWD/perfedit.patch CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS -O2 -std=c++11" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ + --disable-lash \ --build=$ARCH-slackware-linux make make install DESTDIR=$PKG -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -( cd $PKG/usr/man - find . -type f -exec gzip -9 {} \; - for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -) +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp AUTHORS README COPYING ChangeLog INSTALL RTC SEQ24 TODO \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp AUTHORS README COPYING ChangeLog INSTALL RTC SEQ24 TODO $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > /$PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/audio/seq24/seq24.info b/audio/seq24/seq24.info index 6674cfdf3e852..26e5019a24b00 100644 --- a/audio/seq24/seq24.info +++ b/audio/seq24/seq24.info @@ -1,8 +1,8 @@ PRGNAM="seq24" -VERSION="0.9.2" +VERSION="rev136" HOMEPAGE="http://filter24.org/seq24/" -DOWNLOAD="http://launchpad.net/seq24/trunk/0.9.2/+download/seq24-0.9.2.tar.bz2" -MD5SUM="ea0d28eb4991e9190dd10b43617b9f25" +DOWNLOAD="http://master.dl.sourceforge.net/project/slackbuildsdirectlinks/seq24/seq24-rev136.tar.gz" +MD5SUM="e3616365eefa04349773198fec794241" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="gtkmm" |