|
|
2009-04-11
, 17:34
|
|
|
Posts: 315 |
Thanked: 71 times |
Joined on Oct 2008
@ €@$T Montreal Quebec Canada
|
#13
|
N95 + N810|
|
2009-04-12
, 16:17
|
|
|
Posts: 315 |
Thanked: 71 times |
Joined on Oct 2008
@ €@$T Montreal Quebec Canada
|
#14
|
N95 + N810|
|
2009-04-12
, 20:47
|
|
Posts: 883 |
Thanked: 980 times |
Joined on Jul 2007
@ Bern, Switzerland
|
#15
|
| The Following User Says Thank You to twaelti For This Useful Post: | ||
|
|
2009-04-13
, 19:33
|
|
|
Posts: 315 |
Thanked: 71 times |
Joined on Oct 2008
@ €@$T Montreal Quebec Canada
|
#16
|
Please check the maemo wiki for an article about py2deb!

N95 + N810|
|
2009-04-13
, 19:48
|
|
|
Posts: 315 |
Thanked: 71 times |
Joined on Oct 2008
@ €@$T Montreal Quebec Canada
|
#17
|
N95 + N810|
|
2009-04-15
, 23:29
|
|
|
Posts: 315 |
Thanked: 71 times |
Joined on Oct 2008
@ €@$T Montreal Quebec Canada
|
#18
|
OK TX TX TX a lot BrentDC
binutils instaled...
Now all work very good
after launch the script, all is create
but...
in my .deb in final, no sounds .wav is in....
iam shure its cause maybe 2 think
-i have a syntax error in my script...
-or my .wav sounds is not in good folder for be passed into deb when script work...
so here my script again
maybe the path for sounds is not goodCode:#!/bin/sh # This script should be run from within the directory with the wav files. # First, create the empty tree under a new "build" directory # (the name "build" is completely arbitrary here) mkdir -p build/usr/share/sounds/ # Put the sounds in the sounds directory cp -v ui-*.wav build/usr/share/sounds/ # move into the build directory, make a docs directory cd build mkdir -p usr/share/doc/themevista # write the README file cat > usr/share/doc/themevista/README <<END This package provides replacement sound effects for Maemo. It moves the original sounds aside using dpkg-divert(8), and restores them upon uninstallation. END # write the control file cat > control <<END Package: ThemeVista Version: 3.1 Section: user/themes Priority: optional Architecture: all Installed-Size: `du -ks usr|cut -f 1` Maintainer: Alex Vevey <Alex-vevey@hotmail.com> Description: New Maemo sound effects (Vista Style), with auto-backup of the originals This package contains a set of sound effects for the OSSO Maemo ui. This version will preserve your current sounds using dpkg-divert(8) and restore them upon uninstallation. Updates to this package might be posted at Alex Vevey-Alex-vevey@hotmail.com END # write the pre-installation script cat > preinst <<END #!/bin/sh if [ "$1" = install ]; then for f in ui-battery_low.wav ui-charging_started.wav ui-confirmation_note.wav ui-connection_lost.wav ui-default_beep.wav ui-general_warning.wav ui-gesture_number_recognized.wav ui-information_note.wav ui-key_press.wav ui-new_email.wav ui-operation_ready.wav ui-pen_down.wav ui-recharge_battery.wav ui-shutdown.wav ui-thumb_keyboard_launch.wav ui-wake_up_tune.wav ui-window_close.wav ui-window_open.wav ui-wrong_charger.wav; do dpkg-divert --themevista --rename --add /usr/share/sounds/$f done fi END # write the post-removal script cat > postrm <<END #!/bin/sh if [ "$1" = remove ]; then for f in ui-battery_low.wav ui-charging_started.wav ui-confirmation_note.wav ui-connection_lost.wav ui-default_beep.wav ui-general_warning.wav ui-gesture_number_recognized.wav ui-information_note.wav ui-key_press.wav ui-new_email.wav ui-operation_ready.wav ui-pen_down.wav ui-recharge_battery.wav ui-shutdown.wav ui-thumb_keyboard_launch.wav ui-wake_up_tune.wav ui-window_close.wav ui-window_open.wav ui-wrong_charger.wav; do dpkg-divert --themevista --rename --remove /usr/share/sounds/$f done fi END # Setting this environment variable fixes Apple's modified GNU tar so that # it won't make dot-underscore AppleDouble files. Google it for details... export COPY_EXTENDED_ATTRIBUTES_DISABLE=1 # create the data tarball # (the tar options "czvf" mean create, zip, verbose, and filename.) tar czvf data.tar.gz usr/share/sounds/ usr/share/doc/ # create the control tarball tar czvf control.tar.gz control preinst postrm # create the debian-binary file echo 2.0 > debian-binary # create the ar (deb) archive ar -r themevista.deb debian-binary control.tar.gz data.tar.gz # move the new deb up a directory mv themevista.deb .. # remove the tarballs, and cd back up to where we started rm data.tar.gz control.tar.gz cd ..
or my sounds is not in the good folder when i try packaged...
TX to help me
iam almost
N95 + N810|
|
2009-04-16
, 13:46
|
|
Posts: 631 |
Thanked: 837 times |
Joined on May 2007
@ Milton, Ontario, Canada
|
#19
|
rm data.tar.gz control.tar.gz
tar -tf data.tar.gz
| The Following User Says Thank You to jolouis For This Useful Post: | ||
|
|
2009-04-16
, 16:51
|
|
|
Posts: 315 |
Thanked: 71 times |
Joined on Oct 2008
@ €@$T Montreal Quebec Canada
|
#20
|
Hey LAB, you can try to narrow the problem down a bit by doing some troubleshooting.
1) Does the build/usr/share/sounds directory that the script creates actaully contain any sound files after you've finished running the script (the script cleans up the .tar.gz's it makes, but not your build directories so they should still be there). If not, it's probably a path/file location problem
2) If #1 is ok, next step is to check to see if your data.tar.gz file actually had the sound files in it. Go into your script and place a # sign infront of the second last line that reads
Then run the script, go to your "build" directory, and issueCode:rm data.tar.gz control.tar.gz
And see if it lists any files.Code:tar -tf data.tar.gz
N95 + N810| The Following User Says Thank You to LABAUDIO For This Useful Post: | ||
binutils instaled...
Now all work very good
after launch the script, all is create
but...
in my .deb in final, no sounds .wav is in....
iam shure its cause maybe 2 think
-i have a syntax error in my script...
-or my .wav sounds is not in good folder for be passed into deb when script work...
so here my script again
#!/bin/sh # This script should be run from within the directory with the wav files. # First, create the empty tree under a new "build" directory # (the name "build" is completely arbitrary here) mkdir -p build/usr/share/sounds/ # Put the sounds in the sounds directory cp -v ui-*.wav build/usr/share/sounds/ # move into the build directory, make a docs directory cd build mkdir -p usr/share/doc/themevista # write the README file cat > usr/share/doc/themevista/README <<END This package provides replacement sound effects for Maemo. It moves the original sounds aside using dpkg-divert(8), and restores them upon uninstallation. END # write the control file cat > control <<END Package: ThemeVista Version: 3.1 Section: user/themes Priority: optional Architecture: all Installed-Size: `du -ks usr|cut -f 1` Maintainer: Alex Vevey <Alex-vevey@hotmail.com> Description: New Maemo sound effects (Vista Style), with auto-backup of the originals This package contains a set of sound effects for the OSSO Maemo ui. This version will preserve your current sounds using dpkg-divert(8) and restore them upon uninstallation. Updates to this package might be posted at Alex Vevey-Alex-vevey@hotmail.com END # write the pre-installation script cat > preinst <<END #!/bin/sh if [ "$1" = install ]; then for f in ui-battery_low.wav ui-charging_started.wav ui-confirmation_note.wav ui-connection_lost.wav ui-default_beep.wav ui-general_warning.wav ui-gesture_number_recognized.wav ui-information_note.wav ui-key_press.wav ui-new_email.wav ui-operation_ready.wav ui-pen_down.wav ui-recharge_battery.wav ui-shutdown.wav ui-thumb_keyboard_launch.wav ui-wake_up_tune.wav ui-window_close.wav ui-window_open.wav ui-wrong_charger.wav; do dpkg-divert --themevista --rename --add /usr/share/sounds/$f done fi END # write the post-removal script cat > postrm <<END #!/bin/sh if [ "$1" = remove ]; then for f in ui-battery_low.wav ui-charging_started.wav ui-confirmation_note.wav ui-connection_lost.wav ui-default_beep.wav ui-general_warning.wav ui-gesture_number_recognized.wav ui-information_note.wav ui-key_press.wav ui-new_email.wav ui-operation_ready.wav ui-pen_down.wav ui-recharge_battery.wav ui-shutdown.wav ui-thumb_keyboard_launch.wav ui-wake_up_tune.wav ui-window_close.wav ui-window_open.wav ui-wrong_charger.wav; do dpkg-divert --themevista --rename --remove /usr/share/sounds/$f done fi END # Setting this environment variable fixes Apple's modified GNU tar so that # it won't make dot-underscore AppleDouble files. Google it for details... export COPY_EXTENDED_ATTRIBUTES_DISABLE=1 # create the data tarball # (the tar options "czvf" mean create, zip, verbose, and filename.) tar czvf data.tar.gz usr/share/sounds/ usr/share/doc/ # create the control tarball tar czvf control.tar.gz control preinst postrm # create the debian-binary file echo 2.0 > debian-binary # create the ar (deb) archive ar -r themevista.deb debian-binary control.tar.gz data.tar.gz # move the new deb up a directory mv themevista.deb .. # remove the tarballs, and cd back up to where we started rm data.tar.gz control.tar.gz cd ..or my sounds is not in the good folder when i try packaged...
TX to help me
iam almost
N900 Owner
Fremantle Tester
Diablo Dacker
French Noob
BorgTheme ¤ BorgSounds ¤ BorgStartUp ¤ BorgClock