View Issue Details

IDProjectCategoryView StatusLast Update
0002786ardourbugspublic2020-04-19 20:14
Reporterelthariel Assigned Topaul  
PrioritynormalSeveritytrivialReproducibilityalways
Status closedResolutionfixed 
Summary0002786: ardour.menus isn't installed
DescriptionIt seems that waf doesn't consider install_path for this kind of objects. The rc files are correctly installed but not the menus file.
This corrects the problem on my system


Index: gtk2_ardour/wscript
===================================================================
--- gtk2_ardour/wscript (revision 5407)
+++ gtk2_ardour/wscript (working copy)

@@ -372,7 +372,7 @@
     obj.argv = menus_argv
     obj.stdin = 'ardour.menus.in'
     obj.stdout = 'ardour.menus'
- obj.install_path = os.path.join(bld.env['CONFIGDIR'], 'ardour3')
+ bld.install_files(os.path.join(bld.env['CONFIGDIR'], 'ardour3'), 'ardour.menus')
 
     # Keybindings
     keybindings_dict = {}
Tagsinstall

Activities

2009-07-21 22:29

 

ardour.menus-installfix.patch (472 bytes)   
Index: gtk2_ardour/wscript
===================================================================
--- gtk2_ardour/wscript	(revision 5407)
+++ gtk2_ardour/wscript	(working copy)
@@ -372,7 +372,7 @@
 	obj.argv = menus_argv
 	obj.stdin = 'ardour.menus.in'
 	obj.stdout = 'ardour.menus'
-	obj.install_path = os.path.join(bld.env['CONFIGDIR'], 'ardour3')
+	bld.install_files(os.path.join(bld.env['CONFIGDIR'], 'ardour3'), 'ardour.menus')
 
 	# Keybindings
 	keybindings_dict = {}

elthariel

2009-07-22 10:36

reporter   ~0006452

This issue should be renamed to 'Install of ardour 3.0'

Keyboards bindings weren't installed as well.
A bigger patch is joined, it fixes the problem.

2009-07-22 10:37

 

ardour3-install-fixes.patch (1,936 bytes)   
Index: gtk2_ardour/wscript
===================================================================
--- gtk2_ardour/wscript	(revision 5410)
+++ gtk2_ardour/wscript	(working copy)
@@ -253,12 +253,12 @@
 		obj.source += ' cocoacarbon.mm '
 		obj.cxxflags += [ '-DTOP_MENUBAR', '-DGTKOSX' ]
 		obj.linkflags += [ '-framework', 'AppKit', '-framework', 'CoreAudioKit' ]
-		
+
 		if bld.env['AUDIOUNITS']:
 			obj.source += ' au_pluginui.mm '
 			obj.cxxflags += [ '-DHAVE_AUDIOUNITS' ]
 			obj.uselib_local += ' libappleutility '
-			
+
 	else:
 		obj.source += ' x11.cc '
 
@@ -372,7 +372,7 @@
 	obj.argv = menus_argv
 	obj.stdin = 'ardour.menus.in'
 	obj.stdout = 'ardour.menus'
-	obj.install_path = os.path.join(bld.env['CONFIGDIR'], 'ardour3')
+	bld.install_files(os.path.join(bld.env['CONFIGDIR'], 'ardour3'), 'ardour.menus')
 
 	# Keybindings
 	keybindings_dict = {}
@@ -392,9 +392,10 @@
 	for b in [ 'SAE-de-keypad', 'SAE-de-nokeypad', 'SAE-us-keypad', 'SAE-us-nokeypad',
 	           'mnemonic-us', 'ergonomic-us' ]:
 		obj = bld.new_task_gen('subst')
-		obj.target = b + '.bindings'
-		obj.source = obj.target + '.in'
-		obj.dict   = keybindings_dict
+		obj.target       = b + '.bindings'
+		obj.source       = obj.target + '.in'
+		obj.dict         = keybindings_dict
+		obj.install_path = os.path.join(bld.env['CONFIGDIR'], 'ardour3')
 
 	# Icons/Images
 	bld.install_files('${DATADIR}/ardour3/icons', 'icons/*.png')
@@ -404,3 +405,4 @@
 def shutdown():
 	autowaf.shutdown()
 
+ 

ardour3-install-fixes.patch (1,936 bytes)   

2009-07-23 01:36

 

ardour3-install-fixes-without-color-codes.patch (1,528 bytes)   
Index: gtk2_ardour/wscript
===================================================================
--- gtk2_ardour/wscript	(revision 5415)
+++ gtk2_ardour/wscript	(working copy)
@@ -258,12 +258,12 @@
 		obj.source += [ 'cocoacarbon.mm' ]
 		obj.cxxflags += [ '-DTOP_MENUBAR', '-DGTKOSX' ]
 		obj.linkflags += [ '-framework', 'AppKit', '-framework', 'CoreAudioKit' ]
-		
+
 		if bld.env['AUDIOUNITS']:
 			obj.source += [ 'au_pluginui.mm' ]
 			obj.cxxflags += [ '-DHAVE_AUDIOUNITS' ]
 			obj.uselib_local += ' libappleutility '
-			
+
 	else:
 		obj.source += [ 'x11.cc' ]
 
@@ -377,7 +377,7 @@
 	obj.argv = menus_argv
 	obj.stdin = 'ardour.menus.in'
 	obj.stdout = 'ardour.menus'
-	obj.install_path = os.path.join(bld.env['CONFIGDIR'], 'ardour3')
+	bld.install_files(os.path.join(bld.env['CONFIGDIR'], 'ardour3'), 'ardour.menus')
 
 	# Keybindings
 	keybindings_dict = {}
@@ -397,9 +397,10 @@
 	for b in [ 'SAE-de-keypad', 'SAE-de-nokeypad', 'SAE-us-keypad', 'SAE-us-nokeypad',
 	           'mnemonic-us', 'ergonomic-us' ]:
 		obj = bld.new_task_gen('subst')
-		obj.target = b + '.bindings'
-		obj.source = obj.target + '.in'
-		obj.dict   = keybindings_dict
+		obj.target       = b + '.bindings'
+		obj.source       = obj.target + '.in'
+		obj.dict         = keybindings_dict
+		obj.install_path = os.path.join(bld.env['CONFIGDIR'], 'ardour3')
 
 	# Icons/Images
 	bld.install_files('${DATADIR}/ardour3/icons', 'icons/*.png')
@@ -415,3 +416,4 @@
 
 def i18n(bld):
 	build_i18n (bld, 'gtk2_ardour', APPNAME, gtk2_ardour_sources)
+

seablade

2009-07-23 02:01

manager   ~0006453

Assigned to Paul to take a look at the patch.

paul

2009-07-23 03:03

administrator   ~0006457

patch applied to my code and committed, rev: 5416. thanks! (oh, and elthariel, a real name would be useful for the contributors list)

seablade

2009-07-23 17:54

manager   ~0006460

The name was added tot he Mantis profile. Resolving issue.

    Seablade

system

2020-04-19 20:14

developer   ~0021955

Issue has been closed automatically, by Trigger Close Plugin.
Feel free to re-open with additional information if you think the issue is not resolved.

Issue History

Date Modified Username Field Change
2009-07-21 22:29 elthariel New Issue
2009-07-21 22:29 elthariel File Added: ardour.menus-installfix.patch
2009-07-22 10:33 elthariel Tag Attached: install
2009-07-22 10:36 elthariel Note Added: 0006452
2009-07-22 10:37 elthariel File Added: ardour3-install-fixes.patch
2009-07-23 01:36 elthariel File Added: ardour3-install-fixes-without-color-codes.patch
2009-07-23 02:01 seablade Status new => assigned
2009-07-23 02:01 seablade Assigned To => paul
2009-07-23 02:01 seablade Note Added: 0006453
2009-07-23 03:03 paul Note Added: 0006457
2009-07-23 17:54 seablade cost => 0.00
2009-07-23 17:54 seablade Note Added: 0006460
2009-07-23 17:54 seablade Status assigned => resolved
2009-07-23 17:54 seablade Fixed in Version => SVN 3.0
2009-07-23 17:54 seablade Resolution open => fixed
2020-04-19 20:14 system Note Added: 0021955
2020-04-19 20:14 system Status resolved => closed