Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6a2ae34fb7 | ||
|
|
d8a79ce6ae | ||
|
|
d2df9602b8 | ||
|
|
c2dc374e1e |
6 changed files with 102 additions and 101 deletions
|
|
@ -1 +0,0 @@
|
||||||
aldrin-0.11.tar.bz2
|
|
||||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
aldrin-0.13.tar.gz
|
||||||
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
||||||
# Makefile for source rpm: aldrin
|
|
||||||
# $Id$
|
|
||||||
NAME := aldrin
|
|
||||||
SPECFILE = $(firstword $(wildcard *.spec))
|
|
||||||
|
|
||||||
define find-makefile-common
|
|
||||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
|
||||||
endef
|
|
||||||
|
|
||||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
|
||||||
|
|
||||||
ifeq ($(MAKEFILE_COMMON),)
|
|
||||||
# attept a checkout
|
|
||||||
define checkout-makefile-common
|
|
||||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
|
||||||
endef
|
|
||||||
|
|
||||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
|
||||||
endif
|
|
||||||
|
|
||||||
include $(MAKEFILE_COMMON)
|
|
||||||
|
|
@ -1,46 +1,68 @@
|
||||||
diff -up aldrin-0.11/SConstruct.docfix aldrin-0.11/SConstruct
|
diff -rupN aldrin.old/doc/SConscript aldrin/doc/SConscript
|
||||||
--- aldrin-0.11/SConstruct.docfix 2007-09-25 20:55:58.000000000 +0200
|
--- aldrin.old/doc/SConscript 2009-01-09 16:25:21.000000000 -0500
|
||||||
+++ aldrin-0.11/SConstruct 2007-09-25 20:55:58.000000000 +0200
|
+++ aldrin/doc/SConscript 2009-02-23 16:22:46.000000000 -0500
|
||||||
@@ -127,12 +127,14 @@ if win32:
|
@@ -31,4 +31,5 @@ install('${DOC_PATH}/images',
|
||||||
install('${DESTDIR}${PREFIX}', 'aldrin.bat')
|
glob.glob('aldrin/images/*.gif')
|
||||||
|
+ glob.glob('aldrin/images/*.png'))
|
||||||
# docs
|
|
||||||
-install('${DOC_INSTALL_PATH}/aldrin/html',
|
|
||||||
+install('${DOC_INSTALL_PATH}/aldrin-%s/html' % VERSION,
|
|
||||||
glob.glob('share/doc/aldrin/html/*.html')
|
|
||||||
+ glob.glob('share/doc/aldrin/html/*.css'))
|
|
||||||
-install('${DOC_INSTALL_PATH}/aldrin/images',
|
|
||||||
+install('${DOC_INSTALL_PATH}/aldrin-%s/images' % VERSION,
|
|
||||||
glob.glob('share/doc/aldrin/images/*.gif')
|
|
||||||
+ glob.glob('share/doc/aldrin/images/*.png'))
|
|
||||||
+install('${DOC_INSTALL_PATH}/aldrin-%s' % VERSION,
|
|
||||||
+ ['ChangeLog', 'CREDITS', 'LICENCE'])
|
|
||||||
|
|
||||||
# icon theme
|
-
|
||||||
install(iconpath + '/16x16/apps', 'share/icons/hicolor/16x16/apps/aldrin.png')
|
+install('${DOC_PATH}',
|
||||||
diff -up aldrin-0.11/share/aldrin/router.py.docfix aldrin-0.11/share/aldrin/router.py
|
+ ['../ChangeLog', '../CREDITS', '../LICENCE'])
|
||||||
--- aldrin-0.11/share/aldrin/router.py.docfix 2007-09-25 21:16:54.000000000 +0200
|
diff -rupN aldrin.old/SConstruct aldrin/SConstruct
|
||||||
+++ aldrin-0.11/share/aldrin/router.py 2007-09-25 21:17:19.000000000 +0200
|
--- aldrin.old/SConstruct 2009-01-09 16:25:21.000000000 -0500
|
||||||
@@ -698,8 +698,8 @@ class ParameterDialog(gtk.Dialog):
|
+++ aldrin/SConstruct 2009-02-23 16:20:14.000000000 -0500
|
||||||
uri = filenameify(self.pluginloader.get_uri())
|
@@ -61,7 +61,7 @@ env['SITE_PACKAGE_PATH'] = distutils.sys
|
||||||
name = filenameify(self.pluginloader.get_name())
|
env['APPLICATIONS_PATH'] = '${DESTDIR}${PREFIX}/share/applications'
|
||||||
helpfilepaths = [
|
env['BIN_PATH'] = '${DESTDIR}${PREFIX}/bin'
|
||||||
- filepath('../doc/zzub/plugins/' + uri + '/index.html'),
|
env['SHARE_PATH'] = '${DESTDIR}${PREFIX}/share/aldrin'
|
||||||
- filepath('../doc/zzub/plugins/' + name + '/index.html'),
|
-env['DOC_PATH'] = '${DESTDIR}${PREFIX}/share/doc/aldrin'
|
||||||
+ filepath('../doc/libzzub-0.2.3/plugins/' + uri + '/index.html'),
|
+env['DOC_PATH'] = '${DESTDIR}${PREFIX}/share/doc/aldrin-' + VERSION
|
||||||
+ filepath('../doc/libzzub-0.2.3/plugins/' + name + '/index.html'),
|
env['ETC_PATH'] = '${DESTDIR}${ETCDIR}/aldrin'
|
||||||
]
|
env['ICONS_ALDRIN_PATH'] = '${DESTDIR}${PREFIX}/share/icons/aldrin'
|
||||||
for path in helpfilepaths:
|
env['ICONS_HICOLOR_PATH'] = '${DESTDIR}${PREFIX}/share/icons/hicolor'
|
||||||
print "searching for '%s'..." % path
|
diff -rupN aldrin.old/src/components/mainwindow.py aldrin/src/components/mainwindow.py
|
||||||
diff -up aldrin-0.11/share/aldrin/main.py.docfix aldrin-0.11/share/aldrin/main.py
|
--- aldrin.old/src/components/mainwindow.py 2009-01-09 16:25:22.000000000 -0500
|
||||||
--- aldrin-0.11/share/aldrin/main.py.docfix 2007-09-25 21:14:29.000000000 +0200
|
+++ aldrin/src/components/mainwindow.py 2009-02-23 16:33:44.000000000 -0500
|
||||||
+++ aldrin-0.11/share/aldrin/main.py 2007-09-25 21:16:17.000000000 +0200
|
@@ -44,7 +44,7 @@ show_preferences = preferences.show_pref
|
||||||
@@ -856,7 +856,7 @@ class AldrinFrame(gtk.Window):
|
from aldrin.utils import CancelException
|
||||||
@type event: wx.MenuEvent
|
|
||||||
|
import aldrin.com as com
|
||||||
|
-
|
||||||
|
+from about import VERSION
|
||||||
|
def cmp_view(a,b):
|
||||||
|
a_order = (hasattr(a, '__view__') and a.__view__.get('order',0)) or 0
|
||||||
|
b_order = (hasattr(b, '__view__') and b.__view__.get('order',0)) or 0
|
||||||
|
@@ -551,7 +551,7 @@ class AldrinFrame(gtk.Window):
|
||||||
|
@type event: MenuEvent
|
||||||
"""
|
"""
|
||||||
import webbrowser
|
import webbrowser
|
||||||
- webbrowser.open_new(filepath('../doc/aldrin/html/index.html'))
|
- webbrowser.open_new(filepath('../doc/aldrin/html/index.html'))
|
||||||
+ webbrowser.open_new(filepath('../doc/aldrin-0.11/html/index.html'))
|
+ webbrowser.open_new(filepath('../doc/aldrin'+VERSION.split(" ")[0]+'/html/index.html'))
|
||||||
|
|
||||||
def on_about(self, event):
|
def on_about(self, *args):
|
||||||
"""
|
"""
|
||||||
|
diff -rupN aldrin.old/src/components/rack.py aldrin/src/components/rack.py
|
||||||
|
--- aldrin.old/src/components/rack.py 2009-01-09 16:25:22.000000000 -0500
|
||||||
|
+++ aldrin/src/components/rack.py 2009-02-23 17:08:46.000000000 -0500
|
||||||
|
@@ -30,7 +30,7 @@ from aldrin.utils import prepstr, filepa
|
||||||
|
get_item_count, question, error, new_listview, add_scrollbars, get_clipboard_text, set_clipboard_text, \
|
||||||
|
gettext, new_stock_image_button, diff
|
||||||
|
import zzub
|
||||||
|
-import sys,os
|
||||||
|
+import sys,os,glob
|
||||||
|
import fnmatch
|
||||||
|
import ctypes
|
||||||
|
import time
|
||||||
|
@@ -728,9 +728,10 @@ class ParameterView(gtk.VBox):
|
||||||
|
"""
|
||||||
|
uri = filenameify(self.pluginloader.get_uri())
|
||||||
|
name = filenameify(self.pluginloader.get_name())
|
||||||
|
+ zzubdocpath = glob.glob("../doc/libzzub-*")[0]
|
||||||
|
helpfilepaths = [
|
||||||
|
- filepath('../doc/zzub/plugins/' + uri + '/index.html'),
|
||||||
|
- filepath('../doc/zzub/plugins/' + name + '/index.html'),
|
||||||
|
+ filepath(zzubdocpath + '/plugins/' + uri + '/index.html'),
|
||||||
|
+ filepath(zzubdocpath + '/plugins/' + name + '/index.html'),
|
||||||
|
]
|
||||||
|
for path in helpfilepaths:
|
||||||
|
print "searching for '%s'..." % path
|
||||||
|
|
|
||||||
76
aldrin.spec
76
aldrin.spec
|
|
@ -1,21 +1,19 @@
|
||||||
Name: aldrin
|
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||||
Version: 0.11
|
|
||||||
Release: 6%{?dist}
|
|
||||||
Summary: Modular music sequencer/tracker
|
|
||||||
|
|
||||||
|
Name: aldrin
|
||||||
|
Version: 0.13
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: Modular music sequencer/tracker
|
||||||
Group: Applications/Multimedia
|
Group: Applications/Multimedia
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://trac.zeitherrschaft.org/aldrin/
|
URL: http://code.google.com/p/aldrin-sequencer/
|
||||||
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
|
Source0: http://aldrin-sequencer.googlecode.com/files/%{name}-%{version}.tar.gz
|
||||||
Patch0: aldrin-docfix.patch
|
Patch0: aldrin-docfix.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
ExcludeArch: ppc64
|
BuildRequires: scons
|
||||||
BuildRequires: scons >= 0.96.92
|
|
||||||
BuildRequires: dos2unix
|
|
||||||
BuildRequires: desktop-file-utils
|
BuildRequires: desktop-file-utils
|
||||||
Requires: pyzzub = 0.2.3
|
Requires: pyzzub >= 0.2.6
|
||||||
Requires: pygtk2
|
Requires: pygtk2
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
|
@ -26,31 +24,28 @@ samples.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q -n %{name}
|
||||||
mac2unix SConstruct
|
%patch0 -p1 -b .docfix
|
||||||
%patch0 -p1 -b docfix
|
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
find share/aldrin share/doc \
|
# Fix encoding
|
||||||
-regextype posix-egrep \
|
|
||||||
-regex '.+\.(py|html|xml|prs|col|css)' \
|
|
||||||
-exec mac2unix '{}' \; \
|
|
||||||
-exec chmod 644 '{}' \;
|
|
||||||
|
|
||||||
iconv --from-code=ISO-8859-1 --to-code=UTF-8 CREDITS > CREDITS~
|
iconv --from-code=ISO-8859-1 --to-code=UTF-8 CREDITS > CREDITS~
|
||||||
|
touch -r CREDITS CREDITS~
|
||||||
%{__mv} CREDITS~ CREDITS
|
%{__mv} CREDITS~ CREDITS
|
||||||
|
|
||||||
|
# Fix permission
|
||||||
|
%{__chmod} 644 src/components/player.py
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT
|
%{__rm} -rf $RPM_BUILD_ROOT
|
||||||
scons install PREFIX=$RPM_BUILD_ROOT%{_prefix}
|
scons install PREFIX=%{_prefix} DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
|
||||||
desktop-file-install \
|
desktop-file-install --vendor="fedora" \
|
||||||
--vendor="fedora" \
|
--remove-category="Application" \
|
||||||
--remove-category="Application" \
|
--delete-original \
|
||||||
--delete-original \
|
--dir=$RPM_BUILD_ROOT%{_datadir}/applications \
|
||||||
--dir=$RPM_BUILD_ROOT%{_datadir}/applications \
|
$RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
|
||||||
$RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT
|
%{__rm} -rf $RPM_BUILD_ROOT
|
||||||
|
|
@ -58,30 +53,35 @@ desktop-file-install \
|
||||||
|
|
||||||
%post
|
%post
|
||||||
update-desktop-database &> /dev/null || :
|
update-desktop-database &> /dev/null || :
|
||||||
|
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
||||||
touch --no-create %{_datadir}/icons/hicolor
|
|
||||||
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
|
|
||||||
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
update-desktop-database &> /dev/null || :
|
update-desktop-database &> /dev/null || :
|
||||||
|
if [ $1 -eq 0 ] ; then
|
||||||
touch --no-create %{_datadir}/icons/hicolor
|
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
||||||
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
|
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||||
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
%posttrans
|
||||||
|
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_bindir}/aldrin
|
%{_bindir}/aldrin*
|
||||||
|
%config(noreplace) %{_sysconfdir}/%{name}
|
||||||
|
%{python_sitelib}/%{name}
|
||||||
%{_defaultdocdir}/%{name}-%{version}
|
%{_defaultdocdir}/%{name}-%{version}
|
||||||
%{_datadir}/%{name}
|
%{_datadir}/%{name}
|
||||||
|
%{_datadir}/icons/%{name}
|
||||||
|
%{_datadir}/pixmaps/%{name}
|
||||||
%{_datadir}/applications/*
|
%{_datadir}/applications/*
|
||||||
%{_datadir}/icons/hicolor/*/apps/*
|
%{_datadir}/icons/hicolor/*/apps/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Feb 27 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 0.13-1
|
||||||
|
- Update to version 0.13
|
||||||
|
|
||||||
* Fri Oct 5 2007 Alexander Kahl <akahl@iconmobile.com> - 0.11-6
|
* Fri Oct 5 2007 Alexander Kahl <akahl@iconmobile.com> - 0.11-6
|
||||||
- added ExludeArch for ppc64 to reflect libzzub unavailability on that arch
|
- added ExludeArch for ppc64 to reflect libzzub unavailability on that arch
|
||||||
|
|
||||||
|
|
|
||||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
||||||
1a40ea5852e34b69abc55e12d049aef8 aldrin-0.11.tar.bz2
|
6bdbd4a48883cc7d4734fef3055947b2 aldrin-0.13.tar.gz
|
||||||
|
|
|
||||||
Reference in a new issue