debian/0000755000000000000000000000000011622667666007210 5ustar debian/libvalhalla2.symbols0000644000000000000000000002053711452302711013140 0ustar libvalhalla.so.2 libvalhalla2 #MINVER# libvalhalla_version@Base 2.0.0 valhalla_config_set_orig@Base 2.0.0 valhalla_db_file_get@Base 2.0.0 valhalla_db_file_read@Base 2.0.0 valhalla_db_filelist_get@Base 2.0.0 valhalla_db_filelist_read@Base 2.0.0 valhalla_db_metadata_delete@Base 2.0.0 valhalla_db_metadata_insert@Base 2.0.0 valhalla_db_metadata_priority@Base 2.0.0 valhalla_db_metadata_update@Base 2.0.0 valhalla_db_metalist_get@Base 2.0.0 valhalla_db_metalist_read@Base 2.0.0 valhalla_grabber_next@Base 2.0.0 valhalla_grabber_priority_read@Base 2.0.0 valhalla_init@Base 2.0.0 valhalla_metadata_group_str@Base 2.0.0 valhalla_ondemand@Base 2.0.0 valhalla_run@Base 2.0.0 valhalla_scanner_wakeup@Base 2.0.0 valhalla_stats_group_next@Base 2.0.0 valhalla_stats_read_next@Base 2.0.0 valhalla_uninit@Base 2.0.0 valhalla_verbosity@Base 2.0.0 valhalla_wait@Base 2.0.0 vh_database_begin_transaction@Base 2.0.0 vh_database_cleanup@Base 2.0.0 vh_database_delete_dlcontext@Base 2.0.0 vh_database_end_transaction@Base 2.0.0 vh_database_file_checked_clear@Base 2.0.0 vh_database_file_data_delete@Base 2.0.0 vh_database_file_data_update@Base 2.0.0 vh_database_file_delete@Base 2.0.0 vh_database_file_get@Base 2.0.0 vh_database_file_get_checked_clear@Base 2.0.0 vh_database_file_get_dlcontext@Base 2.0.0 vh_database_file_get_grabber@Base 2.0.0 vh_database_file_get_interrupted@Base 2.0.0 vh_database_file_get_mtime@Base 2.0.0 vh_database_file_get_outofpath_set@Base 2.0.0 vh_database_file_grab_delete@Base 2.0.0 vh_database_file_grab_insert@Base 2.0.0 vh_database_file_grab_update@Base 2.0.0 vh_database_file_insert@Base 2.0.0 vh_database_file_insert_dlcontext@Base 2.0.0 vh_database_file_interrupted_clear@Base 2.0.0 vh_database_file_interrupted_fix@Base 2.0.0 vh_database_file_read@Base 2.0.0 vh_database_filelist_get@Base 2.0.0 vh_database_filelist_read@Base 2.0.0 vh_database_init@Base 2.0.0 vh_database_metadata_delete@Base 2.0.0 vh_database_metadata_insert@Base 2.0.0 vh_database_metadata_priority@Base 2.0.0 vh_database_metadata_update@Base 2.0.0 vh_database_metalist_get@Base 2.0.0 vh_database_metalist_read@Base 2.0.0 vh_database_step_transaction@Base 2.0.0 vh_database_uninit@Base 2.0.0 vh_dbmanager_action_send@Base 2.0.0 vh_dbmanager_db_begin_transaction@Base 2.0.0 vh_dbmanager_db_dlcontext_delete@Base 2.0.0 vh_dbmanager_db_dlcontext_save@Base 2.0.0 vh_dbmanager_db_end_transaction@Base 2.0.0 vh_dbmanager_db_file_get@Base 2.0.0 vh_dbmanager_db_file_read@Base 2.0.0 vh_dbmanager_db_filelist_get@Base 2.0.0 vh_dbmanager_db_filelist_read@Base 2.0.0 vh_dbmanager_db_metalist_get@Base 2.0.0 vh_dbmanager_db_metalist_read@Base 2.0.0 vh_dbmanager_extmd_free@Base 2.0.0 vh_dbmanager_fifo_get@Base 2.0.0 vh_dbmanager_file_complete@Base 2.0.0 vh_dbmanager_init@Base 2.0.0 vh_dbmanager_pause@Base 2.0.0 vh_dbmanager_run@Base 2.0.0 vh_dbmanager_stop@Base 2.0.0 vh_dbmanager_uninit@Base 2.0.0 vh_dbmanager_wait@Base 2.0.0 vh_dispatcher_action_send@Base 2.0.0 vh_dispatcher_fifo_get@Base 2.0.0 vh_dispatcher_init@Base 2.0.0 vh_dispatcher_pause@Base 2.0.0 vh_dispatcher_run@Base 2.0.0 vh_dispatcher_stop@Base 2.0.0 vh_dispatcher_uninit@Base 2.0.0 vh_downloader_action_send@Base 2.0.0 vh_downloader_destination_get@Base 2.0.0 vh_downloader_destination_set@Base 2.0.0 vh_downloader_fifo_get@Base 2.0.0 vh_downloader_init@Base 2.0.0 vh_downloader_pause@Base 2.0.0 vh_downloader_run@Base 2.0.0 vh_downloader_stop@Base 2.0.0 vh_downloader_uninit@Base 2.0.0 vh_event_handler_fifo_get@Base 2.0.0 vh_event_handler_gl_send@Base 2.0.0 vh_event_handler_init@Base 2.0.0 vh_event_handler_md_free@Base 2.0.0 vh_event_handler_md_send@Base 2.0.0 vh_event_handler_od_free@Base 2.0.0 vh_event_handler_od_send@Base 2.0.0 vh_event_handler_run@Base 2.0.0 vh_event_handler_stop@Base 2.0.0 vh_event_handler_uninit@Base 2.0.0 vh_fifo_queue_free@Base 2.0.0 vh_fifo_queue_moveup@Base 2.0.0 vh_fifo_queue_new@Base 2.0.0 vh_fifo_queue_pop@Base 2.0.0 vh_fifo_queue_push@Base 2.0.0 vh_fifo_queue_search@Base 2.0.0 vh_file_copy@Base 2.0.0 vh_file_data_free@Base 2.0.0 vh_file_data_new@Base 2.0.0 vh_file_data_step_continue@Base 2.0.0 vh_file_data_step_increase@Base 2.0.0 vh_file_dl_add@Base 2.0.0 vh_file_exists@Base 2.0.0 vh_get_list_length@Base 2.0.0 vh_grabber_action_send@Base 2.0.0 vh_grabber_allocine_register@Base 2.0.0 vh_grabber_amazon_register@Base 2.0.0 vh_grabber_chartlyrics_register@Base 2.0.0 vh_grabber_exif_register@Base 2.0.0 vh_grabber_ffmpeg_register@Base 2.0.0 vh_grabber_fifo_get@Base 2.0.0 vh_grabber_imdb_register@Base 2.0.0 vh_grabber_init@Base 2.0.0 vh_grabber_lastfm_register@Base 2.0.0 vh_grabber_local_register@Base 2.0.0 vh_grabber_lyricwiki_register@Base 2.0.0 vh_grabber_next@Base 2.0.0 vh_grabber_nfo_register@Base 2.0.0 vh_grabber_parse_casting@Base 2.0.0 vh_grabber_parse_categories@Base 2.0.0 vh_grabber_parse_float@Base 2.0.0 vh_grabber_parse_int64@Base 2.0.0 vh_grabber_parse_int@Base 2.0.0 vh_grabber_parse_str@Base 2.0.0 vh_grabber_pause@Base 2.0.0 vh_grabber_priority_read@Base 2.0.0 vh_grabber_priority_set@Base 2.0.0 vh_grabber_run@Base 2.0.0 vh_grabber_state_set@Base 2.0.0 vh_grabber_stop@Base 2.0.0 vh_grabber_tmdb_register@Base 2.0.0 vh_grabber_tvdb_register@Base 2.0.0 vh_grabber_tvrage_register@Base 2.0.0 vh_grabber_uninit@Base 2.0.0 vh_hmac_sha256_compute@Base 2.0.0 vh_hmac_sha256_free@Base 2.0.0 vh_hmac_sha256_new@Base 2.0.0 vh_hmac_sha256_reset@Base 2.0.0 vh_lavf_utils_fmtname_get@Base 2.0.0 vh_lavf_utils_open_input_file@Base 2.0.0 vh_list_append@Base 2.0.0 vh_list_empty@Base 2.0.0 vh_list_free@Base 2.0.0 vh_list_new@Base 2.0.0 vh_list_search@Base 2.0.0 vh_log_orig@Base 2.0.0 vh_log_test@Base 2.0.0 vh_log_verb@Base 2.0.0 vh_md5sum@Base 2.0.0 vh_metadata_add@Base 2.0.0 vh_metadata_add_auto@Base 2.0.0 vh_metadata_dup@Base 2.0.0 vh_metadata_free@Base 2.0.0 vh_metadata_get@Base 2.0.0 vh_metadata_group_size@Base 2.0.0 vh_metadata_group_str@Base 2.0.0 vh_metadata_lang_size@Base 2.0.0 vh_metadata_lang_str@Base 2.0.0 vh_metadata_plist_dump@Base 2.0.0 vh_metadata_plist_read@Base 2.0.0 vh_metadata_plist_set@Base 2.0.0 vh_ondemand_action_send@Base 2.0.0 vh_ondemand_fifo_get@Base 2.0.0 vh_ondemand_init@Base 2.0.0 vh_ondemand_run@Base 2.0.0 vh_ondemand_stop@Base 2.0.0 vh_ondemand_uninit@Base 2.0.0 vh_osdep_init@Base 2.0.0 vh_parser_action_send@Base 2.0.0 vh_parser_bl_keyword_add@Base 2.0.0 vh_parser_fifo_get@Base 2.0.0 vh_parser_init@Base 2.0.0 vh_parser_pause@Base 2.0.0 vh_parser_run@Base 2.0.0 vh_parser_stop@Base 2.0.0 vh_parser_uninit@Base 2.0.0 vh_scanner_action_send@Base 2.0.0 vh_scanner_fifo_get@Base 2.0.0 vh_scanner_init@Base 2.0.0 vh_scanner_path_add@Base 2.0.0 vh_scanner_path_cmp@Base 2.0.0 vh_scanner_run@Base 2.0.0 vh_scanner_stop@Base 2.0.0 vh_scanner_suffix_add@Base 2.0.0 vh_scanner_suffix_cmp@Base 2.0.0 vh_scanner_uninit@Base 2.0.0 vh_scanner_wait@Base 2.0.0 vh_scanner_wakeup@Base 2.0.0 vh_setpriority@Base 2.0.0 vh_sha_final@Base 2.0.0 vh_sha_init@Base 2.0.0 vh_sha_size@Base 2.0.0 vh_sha_update@Base 2.0.0 vh_stats_counter@Base 2.0.0 vh_stats_counter_get@Base 2.0.0 vh_stats_counter_read@Base 2.0.0 vh_stats_debug_dump@Base 2.0.0 vh_stats_dump@Base 2.0.0 vh_stats_free@Base 2.0.0 vh_stats_group_next@Base 2.0.0 vh_stats_grp_add@Base 2.0.0 vh_stats_grp_counter_add@Base 2.0.0 vh_stats_grp_timer_add@Base 2.0.0 vh_stats_new@Base 2.0.0 vh_stats_read_next@Base 2.0.0 vh_stats_timer@Base 2.0.0 vh_stats_timer_get@Base 2.0.0 vh_stats_timer_read@Base 2.0.0 vh_strrcasestr@Base 2.0.0 vh_strtolower@Base 2.0.0 vh_timer_thread_create@Base 2.0.0 vh_timer_thread_delete@Base 2.0.0 vh_timer_thread_sleep@Base 2.0.0 vh_timer_thread_start@Base 2.0.0 vh_timer_thread_stop@Base 2.0.0 vh_timer_thread_wakeup@Base 2.0.0 vh_url_ctl_abort@Base 2.0.0 vh_url_ctl_free@Base 2.0.0 vh_url_ctl_new@Base 2.0.0 vh_url_escape_string@Base 2.0.0 vh_url_free@Base 2.0.0 vh_url_get_data@Base 2.0.0 vh_url_global_init@Base 2.0.0 vh_url_global_uninit@Base 2.0.0 vh_url_new@Base 2.0.0 vh_url_save_to_disk@Base 2.0.0 vh_xml_get_attr_value_from_node@Base 2.0.0 vh_xml_get_attr_value_from_tree@Base 2.0.0 vh_xml_get_doc_from_memory@Base 2.0.0 vh_xml_get_node_tree@Base 2.0.0 vh_xml_get_prop_value_from_tree@Base 2.0.0 vh_xml_get_prop_value_from_tree_by_attr@Base 2.0.0 vh_xml_get_xnodes_from_tree@Base 2.0.0 vh_xml_search_int@Base 2.0.0 vh_xml_search_str@Base 2.0.0 vh_xml_search_year@Base 2.0.0 debian/rules0000755000000000000000000000076011452132471010251 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 CONFIGURE_OPTS = --prefix=/usr --enable-pic --disable-strip --enable-doc ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CONFIGURE_OPTS += --disable-optimize else CONFIGURE_OPTS += endif %: dh $@ override_dh_auto_configure: ./configure $(CONFIGURE_OPTS) override_dh_strip: dh_strip --dbg-package=libvalhalla2-dbg .PHONY: override_dh_auto_configure override_dh_strip debian/libvalhalla-dev.install0000644000000000000000000000010111621673340013600 0ustar usr/include/* usr/lib/lib*.a usr/lib/lib*.so usr/lib/pkgconfig/* debian/upstream-metadata.yaml0000644000000000000000000000051611344414765013503 0ustar Contact: The GeeXboX Team Donation: http://geexbox.org/en/donate.html Name: GeeXboX Valhalla Homepage: http://libvalhalla.geexbox.org Repository: http://hg.geexbox.org/libvalhalla Repository-Browse: http://hg.geexbox.org/libvalhalla/summary Watch: http://libvalhalla.geexbox.org/releases/libvalhalla-(.*)\.tar\.bz2 debian/source/0000755000000000000000000000000011307700577010475 5ustar debian/source/format0000644000000000000000000000001411346230150011667 0ustar 3.0 (quilt) debian/libvalhalla-doc.docs0000644000000000000000000000012011327320164013046 0ustar README TODO DOCS/doxygen/html/ DOCS/valhalla-db.png DOCS/valhalla-internals.png debian/control0000644000000000000000000000713511621666317010610 0ustar Source: libvalhalla Priority: extra Maintainer: Davide Cavalca Build-Depends: debhelper (>= 7.0.50), libxml2-dev, pkg-config, libcurl4-gnutls-dev | libcurl4-dev, libnfo-dev (>= 1.0.0), libgcrypt-dev, libexif-dev, libsqlite3-dev, libavformat-dev, libavutil-dev, libavcodec-dev (>= 4:0.5.1) Build-Conflicts: libnfo-dev (>= 2.0.0) Build-Depends-Indep: doxygen Standards-Version: 3.9.2 Section: libs Homepage: http://libvalhalla.geexbox.org/ Package: libvalhalla-dev Section: libdevel Architecture: any Depends: libvalhalla2 (= ${binary:Version}), libxml2-dev, libcurl4-gnutls-dev | libcurl4-dev, libnfo-dev (>= 1.0.0), libgcrypt-dev, libexif-dev, libsqlite3-dev, libavformat-dev, libavutil-dev, libavcodec-dev (>= 4:0.5.1), ${misc:Depends} Suggests: libvalhalla2-dbg (= ${binary:Version}), libvalhalla-doc (= ${binary:Version}) Conflicts: libnfo-dev (>= 2.0.0) Description: tiny media scanner library -- development files libvalhalla is a scanner and parser library for audio/video files based on SQLite and FFmpeg/libavformat. . Media files are retrieved in paths defined by the user and metadata are saved in a database. It provides a very simple API and it can use several parsers concurrently to speed up on a multi-core/cpu system. . This package contains headers and libraries for developing software that makes use of libvalhalla. Package: libvalhalla-bin Section: misc Architecture: any Depends: libvalhalla2 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} Provides: libvalhalla1-bin Replaces: libvalhalla1-bin Conflicts: libvalhalla1-bin Description: test utilities for libvalhalla libvalhalla is a scanner and parser library for audio/video files based on SQLite and FFmpeg/libavformat. . Media files are retrieved in paths defined by the user and metadata are saved in a database. It provides a very simple API and it can use several parsers concurrently to speed up on a multi-core/cpu system. . This package contains libvalhalla-test, an media indexing utility based on libvalhalla. Package: libvalhalla2 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: tiny media scanner library libvalhalla is a scanner and parser library for audio/video files based on SQLite and FFmpeg/libavformat. . Media files are retrieved in paths defined by the user and metadata are saved in a database. It provides a very simple API and it can use several parsers concurrently to speed up on a multi-core/cpu system. Package: libvalhalla2-dbg Architecture: any Section: debug Depends: libvalhalla2 (= ${binary:Version}), ${misc:Depends} Provides: libvalhalla1-dbg Replaces: libvalhalla1-dbg Conflicts: libvalhalla1-dbg Description: debugging symbols for libvalhalla2 libvalhalla is a scanner and parser library for audio/video files based on SQLite and FFmpeg/libavformat. . Media files are retrieved in paths defined by the user and metadata are saved in a database. It provides a very simple API and it can use several parsers concurrently to speed up on a multi-core/cpu system. . This package contains the debugging symbols for libvalhalla2. Package: libvalhalla-doc Architecture: all Section: doc Depends: ${misc:Depends} Suggests: libvalhalla-dev Description: developer documentation for libvalhalla libvalhalla is a scanner and parser library for audio/video files based on SQLite and FFmpeg/libavformat. . Media files are retrieved in paths defined by the user and metadata are saved in a database. It provides a very simple API and it can use several parsers concurrently to speed up on a multi-core/cpu system. . This package contains developer documentation for libvalhalla. debian/compat0000644000000000000000000000000211307445420010364 0ustar 7 debian/changelog0000644000000000000000000000557411622667666011075 0ustar libvalhalla (2.0.0-4) unstable; urgency=low * Drop deprecated curl includes (Closes: #637703) * Fix FTBFS with libav 0.7 (Closes: #635502) * Update Standards-Version to 3.9.2 (no changes) * Rework package description to fix lintian warning description-synopsis-starts-with-article -- Davide Cavalca Wed, 17 Aug 2011 09:37:15 +0200 libvalhalla (2.0.0-3) unstable; urgency=low * Correct Build-Depends on libcurl4-dev (Closes: #614989) * Backport add-lrt-to-ldflags.patch from upstream trunk, fixes FTBFS when using binutils-gold (Closes: #601022) * Update copyright dates -- Davide Cavalca Fri, 25 Feb 2011 14:23:10 +0100 libvalhalla (2.0.0-2) unstable; urgency=low * Resolve file conflict between libvalhalla2-dbg and libvalhalla1-dbg (Closes: #599150) -- Davide Cavalca Tue, 05 Oct 2010 09:50:27 +0200 libvalhalla (2.0.0-1) unstable; urgency=low * New upstream release: - drop Debian package patches as they are now upstream - drop Debian manpages for libvalhalla-test util as it's now upstream - soname bump: libvalhalla1 -> libvalhalla2 * Rename package libvalhalla1-bin to libvalhalla-bin * Update Standards-Version to 3.9.1 (no changes) * Drop Vcs-Pkg fields from control file (Closes: #574398) * Update copyright dates -- Davide Cavalca Mon, 04 Oct 2010 09:34:08 +0200 libvalhalla (1.0.1-2) unstable; urgency=low * Enable the ffmpeg grabber: - add Build-Depends: libavcodec-dev (>= 0.5.1) - update symbols file * Update Standards-Version to 3.8.4 (no changes). * Convert patch headers to DEP-3 format. * Convert copyright file to DEP-5 format. * Add debian/upstream-metadata.yaml. * Conflict with libnfo >= 2.0.0 to ease future upgrades. -- Davide Cavalca Sun, 07 Mar 2010 10:49:40 +0100 libvalhalla (1.0.1-1) unstable; urgency=low * New upstream release: - drop backport-trunk-build-system-fixes.patch as it's now upstream - fixes FTBFS on kfreebsd-* and hurd archs * Don't install AUTHORS, it's redundant (the authors are already listed in libvalhalla README and in Debian copyright file) * Sync libvalhalla-test manual page with upstream trunk * Add no-static-libvalhalla-test.patch to prevent static linking of libvalhalla-test binary * Don't add -fPIC to CFLAGS, it's not needed anymore thanks to the new --enable-pic configure option. -- Davide Cavalca Tue, 26 Jan 2010 14:06:13 +0100 libvalhalla (1.0.0-2) unstable; urgency=low * Add dev packages referenced by pkgconfig to libplayer-dev depends * Fix typo in libplayer-dev suggests -- Davide Cavalca Mon, 04 Jan 2010 15:54:12 +0100 libvalhalla (1.0.0-1) unstable; urgency=low * Initial release (Closes: #560047) -- Davide Cavalca Thu, 10 Dec 2009 15:02:42 +0100 debian/NEWS0000644000000000000000000000044711452301544007671 0ustar libvalhalla (2.0.0-1) unstable; urgency=low libvalhalla 2.0.0 introduces a new database format, which is incompatible with the previous releases. Existing databases will be automatically updated to the new format. -- Davide Cavalca Mon, 04 Oct 2010 09:31:43 +0200 debian/libvalhalla2.dirs0000644000000000000000000000001011307445421012376 0ustar usr/lib debian/libvalhalla-bin.install0000644000000000000000000000003111307677054013603 0ustar usr/bin/libvalhalla-test debian/libvalhalla2.install0000644000000000000000000000002211307445421013106 0ustar usr/lib/lib*.so.* debian/libvalhalla-doc.doc-base0000644000000000000000000000062011307677306013613 0ustar Document: libvalhalla Title: libvalhalla developer documentation Author: Mathieu Schroeter Abstract: This manual contains the developer documentation for libvalhalla. Section: Programming/C Format: text Files: /usr/share/doc/libvalhalla-doc/README Format: HTML Index: /usr/share/doc/libvalhalla-doc/html/index.html Files: /usr/share/doc/libvalhalla-doc/html/*.html debian/libvalhalla-bin.dirs0000644000000000000000000000001011307457717013075 0ustar usr/bin debian/libvalhalla-dev.dirs0000644000000000000000000000002411307445421013075 0ustar usr/lib usr/include debian/watch0000644000000000000000000000011511307466355010226 0ustar version=3 http://libvalhalla.geexbox.org/releases/libvalhalla-(.*)\.tar\.bz2 debian/patches/0000755000000000000000000000000011622667673010635 5ustar debian/patches/series0000644000000000000000000000011311622666621012035 0ustar add-lrt-to-ldflags.patch fix-curl-includes.patch fix_ftbfs_libav_0.7.patch debian/patches/fix_ftbfs_libav_0.7.patch0000644000000000000000000000337711622667633015377 0ustar Description: fix FTBFS with libav 0.7 because of use of deprecated functions Author: Fabrice Coutadeur Bug-Debian: http://bugs.debian.org/635502 --- a/src/parser.c +++ b/src/parser.c @@ -339,10 +339,21 @@ for (i = 0; i < ctx->nb_streams; i++) { AVStream *st = ctx->streams[i]; - - if (st->codec->codec_type == CODEC_TYPE_VIDEO) + if (st->codec->codec_type == +#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(52, 64, 0) + AVMEDIA_TYPE_VIDEO +#else + CODEC_TYPE_VIDEO +#endif + ) video_st = 1; - else if (st->codec->codec_type == CODEC_TYPE_AUDIO) + else if (st->codec->codec_type == +#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(52, 64, 0) + AVMEDIA_TYPE_AUDIO +#else + CODEC_TYPE_AUDIO +#endif + ) audio_st = 1; } --- a/src/grabber_ffmpeg.c +++ b/src/grabber_ffmpeg.c @@ -89,7 +89,11 @@ switch (codec->codec_type) { +#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(52, 64, 0) + case AVMEDIA_TYPE_AUDIO: +#else case CODEC_TYPE_AUDIO: +#endif audio_streams++; name = grabber_ffmpeg_codec_name (codec->codec_id); if (name) @@ -103,7 +107,11 @@ VALHALLA_METADATA_AUDIO_BITRATE, ffmpeg->pl); break; +#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(52, 64, 0) + case AVMEDIA_TYPE_VIDEO: +#else case CODEC_TYPE_VIDEO: +#endif /* Common part (image + video) */ video_streams++; name = grabber_ffmpeg_codec_name (codec->codec_id); @@ -138,7 +146,11 @@ VALHALLA_METADATA_VIDEO_ASPECT, ffmpeg->pl); break; +#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(52, 64, 0) + case AVMEDIA_TYPE_SUBTITLE: +#else case CODEC_TYPE_SUBTITLE: +#endif sub_streams++; break; debian/patches/add-lrt-to-ldflags.patch0000644000000000000000000000060211531726066015224 0ustar From: Mathieu Schroeter Subject: -lrt is needed with libvalhalla-test for linking with clock_gettime Origin: upstream, http://hg.geexbox.org/libvalhalla/rev/1069 Bug-Debian: http://bugs.debian.org/601022 Last-Update: 2011-02-25 --- a/configure +++ b/configure @@ -1003,6 +1003,7 @@ fi else add_pkgconfig_libs -lrt + add_ldflags -lrt fi fi debian/patches/fix-curl-includes.patch0000644000000000000000000000065011621671363015202 0ustar From: Davide Cavalca Subject: drop deprecated curl includes Origin: upstream, http://hg.geexbox.org/libvalhalla/rev/1091 Bug-Debian: http://bugs.debian.org/637703 Last-Update: 2011-08-14 --- a/src/url_utils.c +++ b/src/url_utils.c @@ -26,8 +26,6 @@ #include #include -#include -#include #include "valhalla.h" #include "valhalla_internals.h" debian/libvalhalla-bin.manpages0000644000000000000000000000002311452132324013714 0ustar libvalhalla-test.1 debian/libvalhalla-doc.examples0000644000000000000000000000001411310172625013735 0ustar utils/*.php debian/copyright0000644000000000000000000000263311531726473011136 0ustar Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 Name: GeeXboX Valhalla Source: http://libvalhalla.geexbox.org Maintainer: Mathieu Schroeter Benjamin Zores Fabien Brisset Davide Cavalca Copyright: 2009-10 Mathieu Schroeter, Benjamin Zores, Fabien Brisset, Davide Cavalca License: LGPL-2.1+ Files: debian/* Copyright: 2009-2011, Davide Cavalca License: LGPL-2.1+ License: LGPL-2.1+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. . You should have received a copy of the GNU Lesser General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the complete text of the GNU Lesser General Public License can be found in `/usr/share/common-licenses/LGPL-2.1'.