Bug 396515 - Record Show Not Working
Summary: Record Show Not Working
Status: RESOLVED WORKSFORME
Alias: None
Product: kaffeine
Classification: Applications
Component: general (show other bugs)
Version: 2.0.14
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Mauro Carvalho Chehab
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-14 19:30 UTC by Kenneth
Modified: 2019-05-03 22:34 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kenneth 2018-07-14 19:30:57 UTC
No EPG title in the Program Guide listing. No language can be selected from the Language selection. Record Show button does nothing. These problems noticed in 18.04 Xenial, but not in previous versions of Xubuntu.
Using ATSC source us-ATSC-center-frequencies-8VSB
Consistent on all PC's with 18.04 Xenial.
Comment 1 Mauro Carvalho Chehab 2018-08-15 13:23:05 UTC
(In reply to Kenneth from comment #0)
> No EPG title in the Program Guide listing. No language can be selected from
> the Language selection. Record Show button does nothing. These problems
> noticed in 18.04 Xenial, but not in previous versions of Xubuntu.
> Using ATSC source us-ATSC-center-frequencies-8VSB
> Consistent on all PC's with 18.04 Xenial.

This was fixed on Kaffeine 2.0.15. Could you please try it? You'll need to build it from its sources, as, despite being released on December, 2017, Ubuntu didn't update its package yet.
Comment 2 Kenneth 2018-09-02 20:59:38 UTC
(In reply to Mauro Carvalho Chehab from comment #1)
> This was fixed on Kaffeine 2.0.15. Could you please try it? You'll need to
> build it from its sources, as, despite being released on December, 2017,
> Ubuntu didn't update its package yet.

Mauro,
Apologies for the delay, but I'm unable to build this as I don't have enough experience and I cannot find the necessary information to do so, unless you have any pointers?
Comment 3 Mauro Carvalho Chehab 2018-11-06 12:05:45 UTC
(In reply to Kenneth from comment #2)
> (In reply to Mauro Carvalho Chehab from comment #1)
> > This was fixed on Kaffeine 2.0.15. Could you please try it? You'll need to
> > build it from its sources, as, despite being released on December, 2017,
> > Ubuntu didn't update its package yet.
> 
> Mauro,
> Apologies for the delay, but I'm unable to build this as I don't have enough
> experience and I cannot find the necessary information to do so, unless you
> have any pointers?

Just do a:

    $ git clone https://github.com/KDE/kaffeine.git

And follow the instructions on its README.md file:

    https://github.com/KDE/kaffeine
Comment 4 Kenneth 2018-11-06 22:03:41 UTC
I managed to install the needed dev tools and headers for Debian/Ubuntu, but ran into problems with the following instructions (from the README.md file)

$ sudo apt-get install fakeroot dpkg-dev pkg-kde-tools dephelper
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package dephelper

$ git clone git://anonscm.debian.org/pkg-kde/kde-extras/kaffeine.git deb-build
Cloning into 'deb-build'...
fatal: unable to connect to anonscm.debian.org:
anonscm.debian.org[0: 194.177.211.202]: errno=Connection refused
anonscm.debian.org[1: 2001:648:2ffc:deb::211:202]: errno=Connection refused
Comment 5 Mauro Carvalho Chehab 2018-11-07 09:39:13 UTC
(In reply to Kenneth from comment #4)
> I managed to install the needed dev tools and headers for Debian/Ubuntu, but
> ran into problems with the following instructions (from the README.md file)
> 
> $ sudo apt-get install fakeroot dpkg-dev pkg-kde-tools dephelper
> Reading package lists... Done
> Building dependency tree       
> Reading state information... Done
> E: Unable to locate package dephelper

It should be, instead, debhelper

> 
> $ git clone git://anonscm.debian.org/pkg-kde/kde-extras/kaffeine.git
> deb-build
> Cloning into 'deb-build'...
> fatal: unable to connect to anonscm.debian.org:
> anonscm.debian.org[0: 194.177.211.202]: errno=Connection refused
> anonscm.debian.org[1: 2001:648:2ffc:deb::211:202]: errno=Connection refused

I never used that part of the instructions myself. 

What I do here is that I install all local dependencies (the first part of the instruction), and then:

$ cmake . && make && make install

(that will install Kaffeine under /usr/local)

Anyway, if you prefer to generate a Debian package, I updated README.md to point to the current location of the Debian's Kaffeine build git tree:

    git clone https://salsa.debian.org/qt-kde-team/extras/kaffeine.git deb-build
    cd deb-build
    rsync -ua --exclude '.git*' --exclude deb-build .. .
    rm CMakeCache.txt
    cat Changelog |grep Version|head -1|perl -ne 'if (m/Version\s*(\S+)/) { print "k
affeine ($1-1) unstable; urgency=medium\n\n  * New upstream release.\n" }' >debian/c
hangelog
    echo " -- root <root@localhost>  $(date -R)" >>debian/changelog
    fakeroot debian/rules binary

I can't check if it will build successfully, as my test machine is Ubuntu, and I'm using a newer version of libVLC than the one packaged for Debian.
Comment 6 Mauro Carvalho Chehab 2018-11-07 10:12:55 UTC
(In reply to Mauro Carvalho Chehab from comment #5)
> (In reply to Kenneth from comment #4)

> I can't check if it will build successfully, as my test machine is Ubuntu,
> and I'm using a newer version of libVLC than the one packaged for Debian.

After removing libVLC and libdvbv5 from /usr/local and installing the Ubuntu 18.04 packages for them, and following the above instructions (removing first the old deb-build directory, Kaffeine debian package was generated successfully:

-rw-r--r--  1 mchehab mchehab   2245112 nov  7 07:50 kaffeine_2.0.15-2_amd64.deb
-rw-r--r--  1 mchehab mchehab   6231652 nov  7 07:50 kaffeine-dbgsym_2.0.15-2_amd64.ddeb

Btw, I just updated the instructions. Basically, there are two ways of using the git tree:

1) you can just build it with:

https://github.com/mchehab/kaffeine#how-to-build-kaffeine
Comment 7 Mauro Carvalho Chehab 2018-11-07 10:17:22 UTC
(In reply to Mauro Carvalho Chehab from comment #6)
> (In reply to Mauro Carvalho Chehab from comment #5)
> > (In reply to Kenneth from comment #4)
> 
> > I can't check if it will build successfully, as my test machine is Ubuntu,
> > and I'm using a newer version of libVLC than the one packaged for Debian.
> 
> After removing libVLC and libdvbv5 from /usr/local and installing the Ubuntu
> 18.04 packages for them, and following the above instructions (removing
> first the old deb-build directory, Kaffeine debian package was generated
> successfully:
> 
> -rw-r--r--  1 mchehab mchehab   2245112 nov  7 07:50
> kaffeine_2.0.15-2_amd64.deb
> -rw-r--r--  1 mchehab mchehab   6231652 nov  7 07:50
> kaffeine-dbgsym_2.0.15-2_amd64.ddeb
> 
> Btw, I just updated the instructions. Basically, there are two ways of using
> the git tree:
> 
> 1) you can just build it with:
> 
> https://github.com/mchehab/kaffeine#how-to-build-kaffeine

(sorry, hit enter too early)

After installing all dependencies and cloning Kaffeine from the git tree, there are two ways of building it:
 
1) you can just build it with the instructions at:

https://github.com/mchehab/kaffeine#how-to-build-kaffeine

In this case, you may even not need to install Kaffeine, if you have a (not too early) Kaffeine version 2.0.x installed. You could just start it with:
    $  ./src/kaffeine

2) you can build and install a new package:

    https://github.com/mchehab/kaffeine#how-to-produce-a-debianubuntu-package

This will replace your past Kaffeine install.

2) Create/install a new package
Comment 8 Kenneth 2018-11-22 21:36:57 UTC
(In reply to Mauro Carvalho Chehab from comment #7)
> (In reply to Mauro Carvalho Chehab from comment #6)
> > (In reply to Mauro Carvalho Chehab from comment #5)
> > > (In reply to Kenneth from comment #4)
> > 
> > > I can't check if it will build successfully, as my test machine is Ubuntu,
> > > and I'm using a newer version of libVLC than the one packaged for Debian.
> > 
> > After removing libVLC and libdvbv5 from /usr/local and installing the Ubuntu
> > 18.04 packages for them, and following the above instructions (removing
> > first the old deb-build directory, Kaffeine debian package was generated
> > successfully:
> > 
> > -rw-r--r--  1 mchehab mchehab   2245112 nov  7 07:50
> > kaffeine_2.0.15-2_amd64.deb
> > -rw-r--r--  1 mchehab mchehab   6231652 nov  7 07:50
> > kaffeine-dbgsym_2.0.15-2_amd64.ddeb
> > 
> > Btw, I just updated the instructions. Basically, there are two ways of using
> > the git tree:
> > 
> > 1) you can just build it with:
> > 
> > https://github.com/mchehab/kaffeine#how-to-build-kaffeine
> 
> (sorry, hit enter too early)
> 
> After installing all dependencies and cloning Kaffeine from the git tree,
> there are two ways of building it:
>  
> 1) you can just build it with the instructions at:
> 
> https://github.com/mchehab/kaffeine#how-to-build-kaffeine
> 
> In this case, you may even not need to install Kaffeine, if you have a (not
> too early) Kaffeine version 2.0.x installed. You could just start it with:
>     $  ./src/kaffeine
> 
> 2) you can build and install a new package:
> 
>     https://github.com/mchehab/kaffeine#how-to-produce-a-debianubuntu-package
> 
> This will replace your past Kaffeine install.
> 
> 2) Create/install a new package


I'm getting all manner of issues that does not seem logical to me:

sudo apt install fakeroot
[sudo] password for dell: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libglade2-0 python3-netifaces
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libfakeroot
The following NEW packages will be installed:
  fakeroot libfakeroot
0 upgraded, 2 newly installed, 0 to remove and 49 not upgraded.
Need to get 88.3 kB of archives.
After this operation, 373 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 libfakeroot amd64 1.22-2ubuntu1 [25.9 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 fakeroot amd64 1.22-2ubuntu1 [62.3 kB]
Fetched 88.3 kB in 1s (157 kB/s)   
Selecting previously unselected package libfakeroot:amd64.
(Reading database ... 209415 files and directories currently installed.)
Preparing to unpack .../libfakeroot_1.22-2ubuntu1_amd64.deb ...
Unpacking libfakeroot:amd64 (1.22-2ubuntu1) ...
Selecting previously unselected package fakeroot.
Preparing to unpack .../fakeroot_1.22-2ubuntu1_amd64.deb ...
Unpacking fakeroot (1.22-2ubuntu1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Setting up libfakeroot:amd64 (1.22-2ubuntu1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Setting up fakeroot (1.22-2ubuntu1) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
Processing triggers for libc-bin (2.27-3ubuntu1) ...
dell@Dell-DT:~/deb-build/deb-build$ fakeroot debian/rules binary && \
> cd ..
dh binary --with kf5
make: dh: Command not found
debian/rules:9: recipe for target 'binary' failed
make: *** [binary] Error 127
dell@Dell-DT:~/deb-build/deb-build$ cd deb-build && \
> rsync -ua --exclude '.git*' --exclude deb-build .. . && \
> rm CMakeCache.txt && \
> cat Changelog |grep Version|head -1|perl -ne 'if (m/Version\s*(\S+)/) { print "kaffeine ($1-1) unstable; urgency=medium\n\n  * New upstream release.\n" }' >debian/changelog && \
> echo " -- root <root@localhost>  $(date -R)" >>debian/changelog && \
> fakeroot debian/rules binary && \
> cd ..
bash: cd: deb-build: No such file or directory
dell@Dell-DT:~/deb-build/deb-build$ 

If I delete the directory:
rm -rf deb-build  # Just in case it were created before

and run the procedure again I get:
fatal: could not create work tree dir 'deb-build': Permission denied
Comment 9 Mauro Carvalho Chehab 2019-05-03 19:31:22 UTC
The bug should already be fixed on a Kaffeine version later than 2.0.14.

So, I'm closing this bug. Please test with Kaffeine 2.0.17. If it still occurs, please re-open it, providing additional information about how to reproduce it.
Comment 10 Kenneth 2019-05-03 20:27:18 UTC
Are there any plans to update the [Debian] Ubuntu servers?
Comment 11 Mauro Carvalho Chehab 2019-05-03 20:38:42 UTC
(In reply to Kenneth from comment #10)
> Are there any plans to update the [Debian] Ubuntu servers?

No clue. You should ask Debian/Ubuntu developers about that, probably by opening a BZ there, asking them to either upgrade to version 2.0.17 or to backport patches. 

Btw, there is at least one important fix on version 2.0.17 with affects channel detection (together with a lot of other fixed bugs).

So, I strongly suggest using version 2.0.17.
Comment 12 Mauro Carvalho Chehab 2019-05-03 20:55:59 UTC
(In reply to Mauro Carvalho Chehab from comment #11)
> (In reply to Kenneth from comment #10)
> > Are there any plans to update the [Debian] Ubuntu servers?
> 
> No clue. You should ask Debian/Ubuntu developers about that, probably by
> opening a BZ there, asking them to either upgrade to version 2.0.17 or to
> backport patches. 
> 
> Btw, there is at least one important fix on version 2.0.17 with affects
> channel detection (together with a lot of other fixed bugs).
> 
> So, I strongly suggest using version 2.0.17.

In the specific case of this BZ, Debian sid/buster now comes with Kaffeine 2.0.15:

    https://packages.debian.org/search?keywords=kaffeine

So, you should likely be able to update to at least 2.0.15.
Comment 13 Kenneth 2019-05-03 22:34:14 UTC
Thanks, however, Kaffeine version 2.0.14. on Ubuntu does exhibit the issue...

I'll post a question on Launchpad anyway.