staging.inyokaproject.org

DVD-Wiedergabe

Status: Ungelöst | Ubuntu-Version: Nicht spezifiziert
Antworten |
Dieses Thema ist die Diskussion des Artikels DVD-Wiedergabe.

cornix Team-Icon

(Themenstarter)
Avatar von cornix

Anmeldungsdatum:
9. März 2007

Beiträge: 4763

Upps, habe nicht daran gedacht, dass das Paket libdvdcss2 heißt. (Warum auch immer das so ist...): Entsprechenden Parameter für dh_make ergänzt.

Gruß, cornix

P.S.: Das Paket mit dem "falschen" Namen wird man wieder los mit: sudo dpkg -r libdvdcss

cornix Team-Icon

(Themenstarter)
Avatar von cornix

Anmeldungsdatum:
9. März 2007

Beiträge: 4763

Zur Frage, welche Version manuell installiert wird: Ich habe den Befehl mit dem die Version festgelegt wird absichtlich von den anderen Befehlen separat dargestellt und mit dem Hinweis auf die Versionsübersicht ergänzt. Welche Version nun aktuell in Ubuntu trusty, utopic, whatever oder auf Entwicklerseite zu haben ist, sind Angaben, die nur den Pflegeaufwand erhöhen und sonst keinen großen Nutzen bringen. Meine Meinung. ☺

Frieder108

Avatar von Frieder108

Anmeldungsdatum:
7. März 2010

Beiträge: 9684

cornix schrieb:

Upps, habe nicht daran gedacht, dass das Paket libdvdcss2 heißt. (Warum auch immer das so ist...): Entsprechenden Parameter für dh_make ergänzt.

kann es sein, dass es bei Version 1.3 eben halt nicht mehr libdvdcss2 heißt - weil schau mal, ich hab (nachdem ich das alte Paket entfernt hatte) das Ganze nochmal gebaut und es endet mit ner Fehlermeldung

frieder@T410-vivid:~$ version=1.3.0 
frieder@T410-vivid:~$ tmp=$(mktemp -d)
frieder@T410-vivid:~$ cd ${tmp}
frieder@T410-vivid:/tmp/tmp.f1qwHxeyYI$ wget http://download.videolan.org/libdvdcss/${version}/libdvdcss-${version}.tar.bz2
--2014-12-27 20:53:34--  http://download.videolan.org/libdvdcss/1.3.0/libdvdcss-1.3.0.tar.bz2
Resolving download.videolan.org (download.videolan.org)... 195.154.216.18
Connecting to download.videolan.org (download.videolan.org)|195.154.216.18|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 355417 (347K) [application/octet-stream]
Saving to: ‘libdvdcss-1.3.0.tar.bz2’

libdvdcss-1.3.0.tar.bz2                            100%[=================================================================================================================>] 347,09K   523KB/s   in 0,7s   

2014-12-27 20:53:35 (523 KB/s) - ‘libdvdcss-1.3.0.tar.bz2’ saved [355417/355417]

frieder@T410-vivid:/tmp/tmp.f1qwHxeyYI$ tar xvjf libdvdcss-${version}.tar.bz2
libdvdcss-1.3.0/
libdvdcss-1.3.0/src/
libdvdcss-1.3.0/src/dvdcss/
libdvdcss-1.3.0/src/dvdcss/dvdcss.h
libdvdcss-1.3.0/src/libdvdcss.pc.in
libdvdcss-1.3.0/src/device.c
libdvdcss-1.3.0/src/error.c
libdvdcss-1.3.0/src/ioctl.h
libdvdcss-1.3.0/src/device.h
libdvdcss-1.3.0/src/css.h
libdvdcss-1.3.0/src/common.h
libdvdcss-1.3.0/src/csstables.h
libdvdcss-1.3.0/src/ioctl.c
libdvdcss-1.3.0/src/libdvdcss.c
libdvdcss-1.3.0/src/libdvdcss.h
libdvdcss-1.3.0/src/css.c
libdvdcss-1.3.0/README
libdvdcss-1.3.0/aclocal.m4
libdvdcss-1.3.0/configure
libdvdcss-1.3.0/config.h.in
libdvdcss-1.3.0/depcomp
libdvdcss-1.3.0/test/
libdvdcss-1.3.0/test/dvd_region.c
libdvdcss-1.3.0/test/csstest.c
libdvdcss-1.3.0/config.sub                                                                                                                                                                                 
libdvdcss-1.3.0/config.guess                                                                                                                                                                               
libdvdcss-1.3.0/AUTHORS                                                                                                                                                                                    
libdvdcss-1.3.0/libdvdcss.spec                                                                                                                                                                             
libdvdcss-1.3.0/NEWS                                                                                                                                                                                       
libdvdcss-1.3.0/Makefile.am                                                                                                                                                                                
libdvdcss-1.3.0/doc/                                                                                                                                                                                       
libdvdcss-1.3.0/doc/doxygen.cfg.in                                                                                                                                                                         
libdvdcss-1.3.0/doc/footer.html                                                                                                                                                                            
libdvdcss-1.3.0/doc/header.html                                                                                                                                                                            
libdvdcss-1.3.0/COPYING                                                                                                                                                                                    
libdvdcss-1.3.0/INSTALL                                                                                                                                                                                    
libdvdcss-1.3.0/configure.ac
libdvdcss-1.3.0/ChangeLog
libdvdcss-1.3.0/compile
libdvdcss-1.3.0/missing
libdvdcss-1.3.0/m4/
libdvdcss-1.3.0/m4/ltsugar.m4
libdvdcss-1.3.0/m4/lt~obsolete.m4
libdvdcss-1.3.0/m4/libtool.m4
libdvdcss-1.3.0/m4/attributes.m4
libdvdcss-1.3.0/m4/ltversion.m4
libdvdcss-1.3.0/m4/ltoptions.m4
libdvdcss-1.3.0/install-sh
libdvdcss-1.3.0/ltmain.sh
libdvdcss-1.3.0/Makefile.in
libdvdcss-1.3.0/msvc/
libdvdcss-1.3.0/msvc/libdvdcss.dsp
libdvdcss-1.3.0/msvc/workspace.dsw
libdvdcss-1.3.0/msvc/csstest.dsp
libdvdcss-1.3.0/msvc/config.h
libdvdcss-1.3.0/msvc/libdvdcss.vcxproj
frieder@T410-vivid:/tmp/tmp.f1qwHxeyYI$ cd libdvdcss-${version}
frieder@T410-vivid:/tmp/tmp.f1qwHxeyYI/libdvdcss-1.3.0$ ./configure --prefix=/usr/local
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether make supports nested variables... (cached) yes
checking how to print strings... printf
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for ANSI C header files... (cached) yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking for unistd.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking io.h usability... no
checking io.h presence... no
checking for io.h... no
checking whether O_BINARY is declared... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for posix mkdir()... yes
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/cdio.h usability... no
checking sys/cdio.h presence... no
checking for sys/cdio.h... no
checking sys/dvdio.h usability... no
checking sys/dvdio.h presence... no
checking for sys/dvdio.h... no
checking linux/cdrom.h usability... yes
checking linux/cdrom.h presence... yes
checking for linux/cdrom.h... yes
checking dvd.h usability... no
checking dvd.h presence... no
checking for dvd.h... no
checking sys/scsi/scsi_types.h usability... no
checking sys/scsi/scsi_types.h presence... no
checking for sys/scsi/scsi_types.h... no
checking sys/scsi.h usability... no
checking sys/scsi.h presence... no
checking for sys/scsi.h... no
checking IOKit/storage/IODVDMediaBSDClient.h usability... no
checking IOKit/storage/IODVDMediaBSDClient.h presence... no
checking for IOKit/storage/IODVDMediaBSDClient.h... no
checking if gcc supports -Wall flag... yes
checking if gcc supports -Wsign-compare flag... yes
checking if gcc supports -Wextra flag... yes
checking for gcc way to treat warnings as errors... -Werror
checking if gcc supports -fvisibility=hidden... yes
checking if gcc supports __attribute__(( visibility("default") ))... yes
checking for doxygen... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/doxygen.cfg
config.status: creating src/libdvdcss.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
frieder@T410-vivid:/tmp/tmp.f1qwHxeyYI/libdvdcss-1.3.0$ dh_make -s -y -f ../libdvdcss-${version}.tar.bz2 --packagename libdvdcss2
Maintainer name  : Frieder
Email-Address    : frieder@unknown 
Date             : Sat, 27 Dec 2014 20:55:17 +0100
Package Name     : libdvdcss2
Version          : 1.3.0
License          : blank
Type of Package  : Single
Done. Please edit the files in the debian/ subdirectory now. libdvdcss2
uses a configure script, so you probably don't have to edit the Makefiles.
frieder@T410-vivid:/tmp/tmp.f1qwHxeyYI/libdvdcss-1.3.0$ fakeroot debian/rules binary
dh binary  --with autotools-dev
   dh_testdir
   dh_autotools-dev_updateconfig
   dh_auto_configure
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports nested variables... (cached) yes
checking how to print strings... printf
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... none
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) none
checking for ANSI C header files... (cached) yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking for unistd.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking io.h usability... no
checking io.h presence... no
checking for io.h... no
checking whether O_BINARY is declared... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for posix mkdir()... yes
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/cdio.h usability... no
checking sys/cdio.h presence... no
checking for sys/cdio.h... no
checking sys/dvdio.h usability... no
checking sys/dvdio.h presence... no
checking for sys/dvdio.h... no
checking linux/cdrom.h usability... yes
checking linux/cdrom.h presence... yes
checking for linux/cdrom.h... yes
checking dvd.h usability... no
checking dvd.h presence... no
checking for dvd.h... no
checking sys/scsi/scsi_types.h usability... no
checking sys/scsi/scsi_types.h presence... no
checking for sys/scsi/scsi_types.h... no
checking sys/scsi.h usability... no
checking sys/scsi.h presence... no
checking for sys/scsi.h... no
checking IOKit/storage/IODVDMediaBSDClient.h usability... no
checking IOKit/storage/IODVDMediaBSDClient.h presence... no
checking for IOKit/storage/IODVDMediaBSDClient.h... no
checking if gcc supports -Wall flag... yes
checking if gcc supports -Wsign-compare flag... yes
checking if gcc supports -Wextra flag... yes
checking for gcc way to treat warnings as errors... -Werror
checking if gcc supports -fvisibility=hidden... yes
checking if gcc supports __attribute__(( visibility("default") ))... yes
checking for doxygen... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/doxygen.cfg
config.status: creating src/libdvdcss.pc
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
   dh_auto_build
make[1]: Entering directory '/tmp/tmp.f1qwHxeyYI/libdvdcss-1.3.0'
make  all-am
make[2]: Entering directory '/tmp/tmp.f1qwHxeyYI/libdvdcss-1.3.0'
  CC       src/libdvdcss.lo
  CC       src/device.lo
  CC       src/css.lo
src/css.c: In function 'AttackPattern':
src/css.c:1618:31: warning: unused parameter 'i_pos' [-Wunused-parameter]
                           int i_pos, uint8_t *p_key )
                               ^
  CC       src/ioctl.lo
src/ioctl.c: In function 'ioctl_ReportASF':
src/ioctl.c:855:37: warning: unused parameter 'pi_remove_me' [-Wunused-parameter]
 int ioctl_ReportASF( int i_fd, int *pi_remove_me, int *pi_asf )
                                     ^
  CC       src/error.lo
  CCLD     libdvdcss.la
make[2]: Leaving directory '/tmp/tmp.f1qwHxeyYI/libdvdcss-1.3.0'
make[1]: Leaving directory '/tmp/tmp.f1qwHxeyYI/libdvdcss-1.3.0'
   dh_auto_test
make[1]: Entering directory '/tmp/tmp.f1qwHxeyYI/libdvdcss-1.3.0'
make[1]: Leaving directory '/tmp/tmp.f1qwHxeyYI/libdvdcss-1.3.0'
   dh_testroot
   dh_prep
   dh_auto_install
make[1]: Entering directory '/tmp/tmp.f1qwHxeyYI/libdvdcss-1.3.0'
make[2]: Entering directory '/tmp/tmp.f1qwHxeyYI/libdvdcss-1.3.0'
 /bin/mkdir -p '/tmp/tmp.f1qwHxeyYI/libdvdcss-1.3.0/debian/libdvdcss2/usr/lib/x86_64-linux-gnu'
 /bin/bash ./libtool   --mode=install /usr/bin/install -c   libdvdcss.la '/tmp/tmp.f1qwHxeyYI/libdvdcss-1.3.0/debian/libdvdcss2/usr/lib/x86_64-linux-gnu'
libtool: install: /usr/bin/install -c .libs/libdvdcss.so.2.1.0 /tmp/tmp.f1qwHxeyYI/libdvdcss-1.3.0/debian/libdvdcss2/usr/lib/x86_64-linux-gnu/libdvdcss.so.2.1.0
libtool: install: (cd /tmp/tmp.f1qwHxeyYI/libdvdcss-1.3.0/debian/libdvdcss2/usr/lib/x86_64-linux-gnu && { ln -s -f libdvdcss.so.2.1.0 libdvdcss.so.2 || { rm -f libdvdcss.so.2 && ln -s libdvdcss.so.2.1.0 libdvdcss.so.2; }; })
libtool: install: (cd /tmp/tmp.f1qwHxeyYI/libdvdcss-1.3.0/debian/libdvdcss2/usr/lib/x86_64-linux-gnu && { ln -s -f libdvdcss.so.2.1.0 libdvdcss.so || { rm -f libdvdcss.so && ln -s libdvdcss.so.2.1.0 libdvdcss.so; }; })
libtool: install: /usr/bin/install -c .libs/libdvdcss.lai /tmp/tmp.f1qwHxeyYI/libdvdcss-1.3.0/debian/libdvdcss2/usr/lib/x86_64-linux-gnu/libdvdcss.la
libtool: install: /usr/bin/install -c .libs/libdvdcss.a /tmp/tmp.f1qwHxeyYI/libdvdcss-1.3.0/debian/libdvdcss2/usr/lib/x86_64-linux-gnu/libdvdcss.a
libtool: install: chmod 644 /tmp/tmp.f1qwHxeyYI/libdvdcss-1.3.0/debian/libdvdcss2/usr/lib/x86_64-linux-gnu/libdvdcss.a
libtool: install: ranlib /tmp/tmp.f1qwHxeyYI/libdvdcss-1.3.0/debian/libdvdcss2/usr/lib/x86_64-linux-gnu/libdvdcss.a
libtool: install: warning: remember to run `libtool --finish /usr/lib/x86_64-linux-gnu'
 /bin/mkdir -p '/tmp/tmp.f1qwHxeyYI/libdvdcss-1.3.0/debian/libdvdcss2/usr/share/doc/libdvdcss'
 /usr/bin/install -c -m 644 AUTHORS COPYING NEWS README ChangeLog '/tmp/tmp.f1qwHxeyYI/libdvdcss-1.3.0/debian/libdvdcss2/usr/share/doc/libdvdcss'
 /bin/mkdir -p '/tmp/tmp.f1qwHxeyYI/libdvdcss-1.3.0/debian/libdvdcss2/usr/lib/x86_64-linux-gnu/pkgconfig'
 /usr/bin/install -c -m 644 src/libdvdcss.pc '/tmp/tmp.f1qwHxeyYI/libdvdcss-1.3.0/debian/libdvdcss2/usr/lib/x86_64-linux-gnu/pkgconfig'
 /bin/mkdir -p '/tmp/tmp.f1qwHxeyYI/libdvdcss-1.3.0/debian/libdvdcss2/usr/include/dvdcss'
 /usr/bin/install -c -m 644 src/dvdcss/dvdcss.h '/tmp/tmp.f1qwHxeyYI/libdvdcss-1.3.0/debian/libdvdcss2/usr/include/dvdcss'
make[2]: Leaving directory '/tmp/tmp.f1qwHxeyYI/libdvdcss-1.3.0'
make[1]: Leaving directory '/tmp/tmp.f1qwHxeyYI/libdvdcss-1.3.0'
   dh_installdocs
   dh_installchangelogs
   dh_perl
   dh_link
   dh_compress
   dh_fixperms
   dh_strip
   dh_makeshlibs
   dh_shlibdeps
   dh_installdeb
   dh_gencontrol
dpkg-gencontrol: warning: package libdvdcss2: unused substitution variable ${misc:Pre-Depends}
   dh_md5sums
   dh_builddeb
dpkg-deb: Paket »libdvdcss2« wird in »../libdvdcss2_1.3.0-1_amd64.deb« gebaut.
frieder@T410-vivid:/tmp/tmp.f1qwHxeyYI/libdvdcss-1.3.0$ sudo dpkg -i ../libdvdcss_${version}-1_$(dpkg-architecture -qDEB_HOST_ARCH).deb 
[sudo] password for frieder: 
dpkg: Fehler beim Bearbeiten des Archivs ../libdvdcss_1.3.0-1_amd64.deb (--install):
 Auf das Archiv kann nicht zugegriffen werden: No such file or directory
Fehler traten auf beim Bearbeiten von:
 ../libdvdcss_1.3.0-1_amd64.deb
frieder@T410-vivid:/tmp/tmp.f1qwHxeyYI/libdvdcss-1.3.0$ 

cornix Team-Icon

(Themenstarter)
Avatar von cornix

Anmeldungsdatum:
9. März 2007

Beiträge: 4763

Frieder108 schrieb:

dpkg: Fehler beim Bearbeiten des Archivs ../libdvdcss_1.3.0-1_amd64.deb (--install):

Jupp, richtig ist:

sudo dpkg -i ../libdvdcss2_1.3.0-1_amd64.deb

Hab es im Artikel korrigiert.

Frieder108

Avatar von Frieder108

Anmeldungsdatum:
7. März 2010

Beiträge: 9684

ja, jetzt passt es 👍

frieder@T410-vivid:~$ dpkg -l | grep libdvdcss2
ii  libdvdcss2                                    1.3.0-1                                    amd64        <insert up to 60 chars description>
frieder@T410-vivid:~$ 

nen schönen Abend noch

Frieder

mrkramps Team-Icon

Avatar von mrkramps

Anmeldungsdatum:
10. Oktober 2006

Beiträge: 5523

Das Paket heißt unter Debian/Ubuntu libdvdcss2, Paketquellen anderer Distributionen listen das auch einfach nur als libdvdcss. Das aber nur der Vollständigkeit halber.

Unter "Paket selbst bauen" sollte irgendwo ein Link zu Programme kompilieren und Programme kompilieren/Alternativen (Abschnitt „Die-Debian-Methode“) auftauchen.

Wäre dann noch die Frage, ob man dh_make statt mit -s für Single Binary vielleicht eher mit -l für Library aufruft. Außerdem könnte man noch mit -c gpl die Lizenz übergeben und ggf. die Umgebungsvariablen, wie in der Manpage dokumentiert, für Maintainer und Changelog setzen:

export DEBMAIL="$USER@$(hostname)"
export DEBFULLNAME="$USER" 

Wäre aber lediglich Kosmetik.

Die Notwendigkeit eines Howtos sollte mit der Auslagerung in einen eigenen Artikel damit nicht mehr gegeben sein. Außerdem funktioniert die Originalquelle ja wieder.

tomtomtom Team-Icon

Supporter
Avatar von tomtomtom

Anmeldungsdatum:
22. August 2008

Beiträge: 55572

mrkramps schrieb:

Unter "Paket selbst bauen" sollte irgendwo ein Link zu Programme kompilieren und Programme kompilieren/Alternativen (Abschnitt „Die-Debian-Methode“) auftauchen.

Das ist das, was ich schon am Anfang schrieb. 😉

Mir stellt sich die Frage, warum genau für dieses Paket eine Schritt-Für-Schritt-Anleitung zum Kompilieren im Wiki notwendig sein sollte, für alle anderen aber im jeweiligen Wikiartikel nur auf Programme kompilieren verwiesen wird.

cornix Team-Icon

(Themenstarter)
Avatar von cornix

Anmeldungsdatum:
9. März 2007

Beiträge: 4763

mrkramps schrieb:

Unter "Paket selbst bauen" sollte irgendwo ein Link zu Programme kompilieren und Programme kompilieren/Alternativen (Abschnitt „Die-Debian-Methode“) auftauchen.

Habe es in den Wissensblock gepackt (war der Meinung, dass ich es schon gemacht hätte, man wird alt).

Wäre dann noch die Frage, ob man dh_make statt mit -s für Single Binary vielleicht eher mit -l für Library aufruft.

Wenn ich mich nicht irre, würde dies eine Nachbearbeitung der debian/control nötig machen. Korrekt wäre es aber.

Außerdem könnte man noch mit -c gpl die Lizenz übergeben

Ist gpl nicht default?

und ggf. die Umgebungsvariablen, wie in der Manpage dokumentiert, für Maintainer und Changelog setzen:

Wenn Du ein unsigniertes Paket baust, ist das relativ Latte.

tomtomtom schrieb:

Mir stellt sich die Frage, warum genau für dieses Paket eine Schritt-Für-Schritt-Anleitung zum Kompilieren im Wiki notwendig sein sollte, für alle anderen aber im jeweiligen Wikiartikel nur auf Programme kompilieren verwiesen wird.

Es ist eines der wenigen Pakete, bei denen ich verstehe, wenn es jemand bauen möchte, obwohl er sich für das Bauen als solches nicht interessiert. Von mir aus können wir aber auch den Abschnitt in Codecs wie bisher stehen lassen, die Baustelle auf das Bauen des Paketes reduzieren und in ein HowTo umwandeln.

Gruß, cornix

frustschieber Team-Icon

Ehemalige
Avatar von frustschieber

Anmeldungsdatum:
4. Januar 2007

Beiträge: 4259

Stand der Dinge? fertig? Gruss

aasche

Anmeldungsdatum:
30. Januar 2006

Beiträge: 14259

Sieht fertig aus. Ich teste das nochmal mit 12.04, aber ansonsten reif fuer das Wiki.

PS: ein paar Sachen sind mir im Vergleich zum urspruenglichen Text noch nicht ganz klar.

  1. sind tatsaechlich die USA schuld, dass das Paket nicht in den Paketquellen enthalten ist?

  2. Zum Kompilieren reicht IMHO auch die Version 1.2.13 bzw. es muss nicht unbedingt die 1.3.0 sein, oder?

  3. Gab es da nicht einen Befehl, der die bereits installierte Version aktualisieren kann?

march Team-Icon

Avatar von march

Anmeldungsdatum:
12. Juni 2005

Beiträge: 17368

LinDVD kann ich noch auf 14.04 testen.

Edit: Den Satz Zwei Programme, die auch unter Linux funktionieren, sind: würde ich umformulieren. Beide Programme laufen nativ unter Linux. Irgendetwas in der Art: Unter Linux gibt es zwei kommerzielle Programme, welche verwendet werden können:

Edit2: LinDVD erfolgreich unter 14.04/64-Bit getestet. Ist nur etwas umständlicher als die andere kommerzielle Alternative... Egal. 😉

Edit3: Kann man die Paketerstellung ggf. mit einem Skript zusätzlich automatisiert laufen lassen?

cornix Team-Icon

(Themenstarter)
Avatar von cornix

Anmeldungsdatum:
9. März 2007

Beiträge: 4763

frustschieber schrieb:

Stand der Dinge? fertig? Gruss

Siehe einen Post über Dir.

aasche schrieb:

  1. sind tatsaechlich die USA schuld, dass das Paket nicht in den Paketquellen enthalten ist?

Ja, mittlerweile gelten diese Patente AFAIK auch in Kanada und einigen anderen Staaten, aber da wollte ich nicht ins Detail gehen. Quellen müsste ich raus suchen, fehlt mir aber gerade die Zeit zu.

  1. Zum Kompilieren reicht IMHO auch die Version 1.2.13 bzw. es muss nicht unbedingt die 1.3.0 sein, oder?

Warum willst Du eine alte Version nehmen, wo die neuere getesteter Weise funktioniert?

  1. Gab es da nicht einen Befehl, der die bereits installierte Version aktualisieren kann?

Wäre mir neu.

march schrieb:

Edit3: Kann man die Paketerstellung ggf. mit einem Skript zusätzlich automatisiert laufen lassen?

Dazu müsste man nur eine Shebang und die Befehle aus dem Artikel (ohne "sudo") zusammenwürfeln.

aasche

Anmeldungsdatum:
30. Januar 2006

Beiträge: 14259

cornix schrieb:

  1. Zum Kompilieren reicht IMHO auch die Version 1.2.13 bzw. es muss nicht unbedingt die 1.3.0 sein, oder?

Warum willst Du eine alte Version nehmen, wo die neuere getesteter Weise funktioniert?

Weil http://download.videolan.org/libdvdcss/last/ nicht auf die juengste Version, sondern auf 1.2.13 verweist. Das koennte also bedeuten, dass man die letzte stabile Version nehmen sollte. Aber vielleicht verwechsle ich das auch mit latest...

aasche

Anmeldungsdatum:
30. Januar 2006

Beiträge: 14259

Beim Test der Kompilierung der Version 1.3.0 taucht unter 12.04 beim Befehl:

fakeroot debian/rules binary 

folgender Fehler auf:

/usr/bin/fakeroot: Zeile 178: debian/rules: Datei oder Verzeichnis nicht gefunden

Damit ist die Paketerstellung und die Installation nicht moeglich. Ausserdem waere es schoen, wenn man das erstellte Paket speichern koennte und hinterher irgendwie wieder aufgeraeumt wuerde (wobei letzteres sicherlich eine Geschmacksfrage ist).

cornix Team-Icon

(Themenstarter)
Avatar von cornix

Anmeldungsdatum:
9. März 2007

Beiträge: 4763

Moin moin

aasche schrieb:

/usr/bin/fakeroot: Zeile 178: debian/rules: Datei oder Verzeichnis nicht gefunden

Da müsste beim vorhergehenden Befehl schon was schiefgelaufen sein. Da ich hier nur Trusty habe, kann ich es nicht reproduzieren.

Ausserdem waere es schoen, wenn man das erstellte Paket speichern koennte

Um ins eigene Homeverzeichnis zu schieben:

mv ../libdvdcss2_${version}-1_$(dpkg-architecture -qDEB_HOST_ARCH).deb ~/ 

und hinterher irgendwie wieder aufgeraeumt wuerde (wobei letzteres sicherlich eine Geschmacksfrage ist).

/tmp wird automatisch bereinigt.

Gruß cornix