WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: howto sce-deb2sce minitube.deb  (Read 2333 times)

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
howto sce-deb2sce minitube.deb
« on: September 06, 2015, 02:14:46 AM »
hi jason,

minitube 2.2 in the debian rep is broken, it cannot connect to youtube anymore.

so there is the option to fetch minitube 2.4 directly from the developer and his homepage.

how do you recommend to handle the dependencies of a single converted deb-package?
is there a way to make a dep-list or to include the dependencies in the package or even to make use of existing sce-packages as dependencies like in sce-import?
can i mix local downloaded specific packages with the online-rep in a sce-package?

i solved it in a not so elegant and convenient way:
1. sudo sce-deb2sce minitube.deb
2. i included every single dependency of minitube.deb in a base sce-package
3. your adjusted minitube-package was not usable, so i created the ondemand-menue-entry manually

my manually added, ugly coded, but working ondemand-menue-entry:
#!/bin/sh
sce-load ~/.TCE/sce/minitube.deb.sce
ondemand -e minitube.deb

thank you for your adivces and your help.
« Last Edit: September 06, 2015, 02:31:08 AM by netnomad »

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: howto sce-deb2sce minitube.deb
« Reply #1 on: September 06, 2015, 07:24:30 PM »
2 things I see here, one is a bug in sce-deb2sce that left the .deb extension on the resulting SCE.  Fixed now, re-imporrt  and test.

Another is that even in Vivid Minitube is old enough not to work.  So now providing a prebuilt minitube package that has been tested on dCore-wheezy and provides needed deps as this package is not available in Debian Wheezy.  Should work across all dCore ports, and will be maintained to the upstream current release.  Minitube is a favorite of mine and saw that it no longer worked in Debian/Ubuntu, thanks for calling attention to this and helping provide a fix.


Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: howto sce-deb2sce minitube.deb
« Reply #2 on: September 06, 2015, 11:21:20 PM »
hi jason,

i re-imported your package... it loaded many additional dependencies...
everything looked fine, but after choosing a video only the informations of the media are displayed in the screen-window, the play button is activated in the thumbnail on the left side...
these are the packages i downloaded or updated today:
-rw-rw-r-- 1 tc staff  1002811 Sep  7 07:36 minitube.tar.gz
-rw-rw-r-- 1 tc staff  2053926 Sep  7 07:36 gstreamer0.10-plugins-good_0.10.31-3+nmu4+b1_i386.deb
-rw-rw-r-- 1 tc staff    81404 Sep  7 07:36 libdv4_1.0.0-6_i386.deb
-rw-rw-r-- 1 tc staff  1036236 Sep  7 07:36 libgstreamer-plugins-base0.10-0_0.10.36-2_i386.deb
-rw-rw-r-- 1 tc staff  1421900 Sep  7 07:36 libgstreamer0.10-0_0.10.36-1.5_i386.deb
-rw-rw-r-- 1 tc staff    31962 Sep  7 07:35 libiec61883-0_1.2.0-0.2_i386.deb
-rw-rw-r-- 1 tc staff    79538 Sep  7 07:35 libwavpack1_4.70.0-1_i386.deb
-rw-rw-r-- 1 tc staff  1148926 Sep  7 07:35 gstreamer0.10-plugins-base_0.10.36-2_i386.deb
-rw-rw-r-- 1 tc staff   708226 Sep  7 07:35 gstreamer0.10-gconf_0.10.31-3+nmu4+b1_i386.deb
-rw-rw-r-- 1 tc staff  2046544 Sep  7 07:35 gstreamer0.10-plugins-bad_0.10.23-7.4_i386.deb
-rw-rw-r-- 1 tc staff    46402 Sep  7 07:35 libcdaudio1_0.99.12p2-13+b1_i386.deb
-rw-rw-r-- 1 tc staff   345300 Sep  7 07:35 libdirac-encoder0_1.0.2-7.1_i386.deb
-rw-rw-r-- 1 tc staff 12868650 Sep  7 07:35 libflite1_1.4-release-12_i386.deb
-rw-rw-r-- 1 tc staff   141762 Sep  7 07:35 libgme0_0.5.5-2_i386.deb
-rw-rw-r-- 1 tc staff   764906 Sep  7 07:35 libgstreamer-plugins-bad0.10-0_0.10.23-7.4_i386.deb
-rw-rw-r-- 1 tc staff    15374 Sep  7 07:35 libmimic0_1.0.4-2.2_i386.deb
-rw-rw-r-- 1 tc staff    35662 Sep  7 07:35 libmms0_0.6.2-4_i386.deb
-rw-rw-r-- 1 tc staff    48742 Sep  7 07:35 libofa0_0.9.3-7_i386.deb
-rw-rw-r-- 1 tc staff   593052 Sep  7 07:35 libfftw3-double3_3.3.4-2_i386.deb
-rw-rw-r-- 1 tc staff   169974 Sep  7 07:35 libopenal1_1.15.1-5_i386.deb
-rw-rw-r-- 1 tc staff    11490 Sep  7 07:35 libopenal-data_1.15.1-5_all.deb
-rw-rw-r-- 1 tc staff    28172 Sep  7 07:35 libslv2-9_0.6.6+dfsg1-2_i386.deb
-rw-rw-r-- 1 tc staff    42764 Sep  7 07:34 libsoundtouch0_1.8.0-1_i386.deb
-rw-rw-r-- 1 tc staff   284334 Sep  7 07:34 libspandsp2_0.0.6-2+b2_i386.deb
-rw-rw-r-- 1 tc staff    43558 Sep  7 07:34 libwildmidi1_0.3.7-1_i386.deb
-rw-rw-r-- 1 tc staff    16528 Sep  7 07:34 libwildmidi-config_0.3.7-1_all.deb
-rw-rw-r-- 1 tc staff    83568 Sep  7 07:34 libzbar0_0.10+doc-10_i386.deb
-rw-rw-r-- 1 tc staff   393738 Sep  7 07:34 gstreamer0.10-plugins-ugly_0.10.19-2.1_i386.deb
-rw-rw-r-- 1 tc staff    95976 Sep  7 07:34 libopencore-amrnb0_0.1.3-2.1_i386.deb
-rw-rw-r-- 1 tc staff    47474 Sep  7 07:34 libopencore-amrwb0_0.1.3-2.1_i386.deb
-rw-rw-r-- 1 tc staff    64856 Sep  7 07:34 libsidplay1_1.36.59-6_i386.deb

yesterday i worked with the deb-package and i downloaded following packages:
-rw-rw-r-- 1 tc staff   879890 Sep  6 11:12 udev_215-17+deb8u2_i386.deb
-rw-rw-r-- 1 tc staff   101656 Sep  6 11:12 libegl1-mesa_10.3.2-1+deb8u1_i386.deb
-rw-rw-r-- 1 tc staff  1451588 Sep  6 11:12 libgbm1_10.3.2-1+deb8u1_i386.deb
-rw-rw-r-- 1 tc staff    54242 Sep  6 11:12 libglapi-mesa_10.3.2-1+deb8u1_i386.deb
-rw-rw-r-- 1 tc staff   187102 Sep  6 11:11 libgl1-mesa-glx_10.3.2-1+deb8u1_i386.deb
-rw-rw-r-- 1 tc staff    32670 Sep  6 11:11 xserver-xorg-video-modesetting_0.9.0-2_i386.deb
-rw-rw-r-- 1 tc staff  1038474 Sep  6 11:11 libxatracker2_10.3.2-1+deb8u1_i386.deb
-rw-rw-r-- 1 tc staff  4116398 Sep  6 11:10 libgl1-mesa-dri_10.3.2-1+deb8u1_i386.deb
-rw-rw-r-- 1 tc staff   317642 Sep  6 11:09 dbus_1.8.20-0+deb8u1_i386.deb
-rw-rw-r-- 1 tc staff    95318 Sep  6 11:09 libsystemd0_215-17+deb8u2_i386.deb
-rw-rw-r-- 1 tc staff 41194562 Sep  6 11:08 iceweasel_38.2.1esr-1~deb8u1_i386.deb
-rw-rw-r-- 1 tc staff  2418292 Sep  6 11:05 libgtk-3-0_3.14.5-1+deb8u1_i386.deb
-rw-rw-r-- 1 tc staff  3154912 Sep  6 11:04 libgtk-3-common_3.14.5-1+deb8u1_all.deb
-rw-rw-r-- 1 tc staff    94798 Sep  6 11:04 libgtk-3-bin_3.14.5-1+deb8u1_i386.deb
-rw-rw-r-- 1 tc staff  3976306 Sep  6 10:59 libc6_2.19-18+deb8u1_i386.deb
-rw-rw-r-- 1 tc staff    58410 Sep  6 10:58 libudev1_215-17+deb8u2_i386.deb
-rw-rw-r-- 1 tc staff    69498 Sep  6 10:58 base-files_8+deb8u2_i386.deb
-rw-rw-r-- 1 tc staff   387602 Sep  6 10:55 tcpdump_4.6.2-5+deb8u1_i386.deb
-rw-rw-r-- 1 tc staff   190776 Sep  6 10:55 tzdata_2015f-0+deb8u1_all.deb
-rw-rw-r-- 1 tc staff   177456 Sep  6 10:54 cryptsetup-bin_1.6.6-5_i386.deb
-rw-rw-r-- 1 tc staff   181892 Sep  6 10:52 libdbus-1-3_1.8.20-0+deb8u1_i386.deb
-rw-rw-r-- 1 tc staff    63676 Sep  5 21:38 libqt4-sql-sqlite_4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1_i386.deb
-rw-rw-r-- 1 tc staff   348844 Sep  5 19:21 libmp3lame0_3.99.5+repack1-7+deb8u1_i386.deb
-rw-rw-r-- 1 tc staff    42882 Sep  5 19:19 libgles1-mesa_10.3.2-1+deb8u1_i386.deb
-rw-rw-r-- 1 tc staff    45288 Sep  5 19:19 libgles2-mesa_10.3.2-1+deb8u1_i386.deb
-rw-rw-r-- 1 tc staff   271524 Sep  5 19:18 lame_3.99.5+repack1-7+deb8u1_i386.deb
-rw-rw-r-- 1 tc staff  1225030 Sep  5 19:18 libc-bin_2.19-18+deb8u1_i386.deb
-rw-rw-r-- 1 tc staff   453368 Sep  5 19:15 python-reportlab_3.1.8-3+deb8u1_all.deb
-rw-rw-r-- 1 tc staff    26336 Sep  5 19:15 python-reportlab-accel_3.1.8-3+deb8u1_i386.deb
-rw-rw-r-- 1 tc staff   129306 Sep  5 19:14 libpam-systemd_215-17+deb8u2_i386.deb
-rw-rw-r-- 1 tc staff  2568036 Sep  5 19:14 systemd_215-17+deb8u2_i386.deb
-rw-rw-r-- 1 tc staff    40780 Sep  5 19:11 libgudev-1.0-0_215-17+deb8u2_i386.deb
-rw-rw-r-- 1 tc staff   712812 Sep  5 19:11 minitube_2.2-1_i386.deb
-rw-rw-r-- 1 tc staff    73244 Sep  5 19:10 dbus-x11_1.8.20-0+deb8u1_i386.deb
-rw-rw-r-- 1 tc staff   172170 Sep  5 19:07 libio-socket-ssl-perl_2.002-2+deb8u1_all.deb

thank you for your help.
« Last Edit: September 06, 2015, 11:25:54 PM by netnomad »

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: howto sce-deb2sce minitube.deb
« Reply #3 on: September 06, 2015, 11:50:36 PM »
hi jason,

i successfully used just that dependencies
that are mentioned in the deb-package-description with my converted deb-package:

libqtcore4
libqtgui4
libqt4-network
libqt4-script
libqt4-sql
libqt4-sql-sqlite
phonon
libphonon4
phonon-backend-vlc
libqt4-dbus

i added them to my base-sce and everything worked fine,
i did not need all these gstreamer-packages...

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: howto sce-deb2sce minitube.deb
« Reply #4 on: September 07, 2015, 06:04:32 AM »
What are the contents of your base.sce?  Please only list the package names themselves, the full 'ls -l' output makes the names very difficult to read.  Preferably just the list file contents the base.sce was made from.

And the gstreamer packages were what made it work with dCore-wheezy, and the package needs to work across all dCore ports,  but I will try to trim it down some.  So your are saying that the deps in your last post is all that is needed to make it work?

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: howto sce-deb2sce minitube.deb
« Reply #5 on: September 07, 2015, 07:39:40 AM »
tc@box:~/.TCE/sce$ cat 000-base-jessie
console-setup
console-data
bash
mc
ssh
rsync
screen
grep
tar
zip
unzip
gzip
bzip2
xz-utils
p7zip-full
nmap
iptables
fail2ban
redsocks
pdnsd
tcpdump
gnupg
laptop-mode-tools
pm-utils
uswsusp
man-db
ntfs-3g
lvm2
cryptsetup
firmware-all
wifi
wireless
wpasupplicant
checkmissingdebs
libsmartcols1
sce-deb2sce
sce-pkgcheck

tc@box:~/.TCE/sce$ cat 100-desktop-jessie
xorg-all
Xprogs
wbar
fluxbox
iceweasel
icedove
evince
jpilot
xvnc4viewer

tc@box:~/.TCE/sce$ cat 200-multimedia-jessie
alsa-base
alsa-utils
alsamixergui
cdparanoia
vlc
faad
lame
cups
cups-driver-gutenprint
hplip
avahi-daemon
gimp
xsane
pulseaudio
pavucontrol
volumeicon-alsa
gnucash
gthumb
gnome-calculator
doublecmd-gtk
xautolock
youtube-dl

###
these additional packages i needed for my minitube.deb:
libqtcore4
libqtgui4
libqt4-network
libqt4-script
libqt4-sql
libqt4-sql-sqlite
phonon
libphonon4
phonon-backend-vlc
libqt4-dbus
###

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: howto sce-deb2sce minitube.deb
« Reply #6 on: September 07, 2015, 07:43:22 AM »
there are a couple of ways to config or to use different backends for minitube: vlc, mplayer, alsa, oss, phonon...
... i avoided gstreamer and succeeded with phonon-backend-vlc.
« Last Edit: September 07, 2015, 07:44:58 AM by netnomad »

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: howto sce-deb2sce minitube.deb
« Reply #7 on: September 07, 2015, 01:32:25 PM »
Ok, I am testing with a trimmed dep list, hopefully can work with phonon-backend-vlc.  I had an issue with vlc finding plugins on my earlier attempts, but hopefully I can make it work.  If dCore-wheeay is the only port having an issue with vlc, then that's ok as I don't think many are using dCore-wheezy at this point.

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: howto sce-deb2sce minitube.deb
« Reply #8 on: September 07, 2015, 03:15:21 PM »
thank you for your efforts :-)

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: howto sce-deb2sce minitube.deb
« Reply #9 on: September 07, 2015, 03:18:33 PM »
I think I have a keeper.  Removed the gstreamer stuff, but pulseaudio is required.  Please re-import and test.

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: howto sce-deb2sce minitube.deb
« Reply #10 on: September 07, 2015, 11:59:23 PM »
hi jason,

great job, everything works fine :-)

thank you for your help and commitment.

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: howto sce-deb2sce minitube.deb
« Reply #11 on: September 09, 2015, 10:28:30 PM »
hi jason,

minitube works fine, but since that update my 200-multimedia-jessie.sce-package has an update loop.

tc@box:~/mnt/TCE/sce$ cat 200-multimedia-jessie
alsa-base
alsa-utils
alsamixergui
cdparanoia
vlc
faad
lame
cups
cups-driver-gutenprint
hplip
avahi-daemon
gimp
xsane
pulseaudio
pavucontrol
volumeicon-alsa
gnucash
gthumb
gnome-calculator
doublecmd-gtk
xautolock
youtube-dl
minitube

thank you for your help.

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: howto sce-deb2sce minitube.deb
« Reply #12 on: September 12, 2015, 01:10:26 AM »
hi jason,

there is still an update loop.

do you have any idea?

thank you for your help.

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: howto sce-deb2sce minitube.deb
« Reply #13 on: September 12, 2015, 01:18:40 PM »
Fixed by deleting the server side minitube.deb2sce startup script, which in this prebuilt case would cause an update loop.