pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
wip: Remove openwv after import
Module Name: pkgsrc-wip
Committed By: Ryo ONODERA <ryoon%NetBSD.org@localhost>
Pushed By: ryoon
Date: Wed Jan 21 23:07:51 2026 +0900
Changeset: 92019080f0fb9714feba7cfe6d3e0047b23f4c17
Modified Files:
Makefile
Removed Files:
openwv/DESCR
openwv/MESSAGE
openwv/Makefile
openwv/PLIST
openwv/distinfo
openwv/patches/patch-Cargo.toml
openwv/patches/patch-src_config.rs
openwv/patches/patch-src_openwv.rs
Log Message:
wip: Remove openwv after import
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=92019080f0fb9714feba7cfe6d3e0047b23f4c17
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 -
openwv/DESCR | 5 -----
openwv/MESSAGE | 21 --------------------
openwv/Makefile | 39 --------------------------------------
openwv/PLIST | 4 ----
openwv/distinfo | 8 --------
openwv/patches/patch-Cargo.toml | 24 -----------------------
openwv/patches/patch-src_config.rs | 23 ----------------------
openwv/patches/patch-src_openwv.rs | 34 ---------------------------------
9 files changed, 159 deletions(-)
diffs:
diff --git a/Makefile b/Makefile
index c1f292b8b5..5043f28734 100644
--- a/Makefile
+++ b/Makefile
@@ -2793,7 +2793,6 @@ SUBDIR+= openvas-scanner
SUBDIR+= openvdb
SUBDIR+= openvrml
SUBDIR+= openwsman
-SUBDIR+= openwv
SUBDIR+= openxcom
SUBDIR+= openzl
SUBDIR+= openzwave
diff --git a/openwv/DESCR b/openwv/DESCR
deleted file mode 100644
index bd4140e7d1..0000000000
--- a/openwv/DESCR
+++ /dev/null
@@ -1,5 +0,0 @@
-OpenWV is a free and open-source reimplementation of Google's Widevine Content
-Decryption Module (CDM), the portion of the Widevine DRM system that runs in
-your browser, obtains content keys for protected media, and decrypts the media
-using those keys. OpenWV is a drop-in replacement for Google's official,
-proprietary CDM and implements the same shared library API.
diff --git a/openwv/MESSAGE b/openwv/MESSAGE
deleted file mode 100644
index 9b2d4dcaf3..0000000000
--- a/openwv/MESSAGE
+++ /dev/null
@@ -1,21 +0,0 @@
-===========================================================================
-$NetBSD: MESSAGE,v 1.1 2011/03/03 10:51:59 ryoon Exp $
-
-For Firefox web browser:
-
-(1) Open about:support in www/firefox and get profile name.
-(2) Create gmp-widevinecdm/openwv directory under profile directory.
-$ mkdir -p ~/.mozilla/<profile>/gmp-widevinecdm/openwv
-(3) Copy ${PREFIX}/share/openwv/libwidevinecdm.so
- to ~/.mozilla/<profile>/gmp-widevinecdm/openwv
-(4) Copy ${PREFIX}/share/openwv/manifest-firefox.json
- as ~/.mozilla/<profile>/gmp-widevinecdm/openwv/manifest.json
-(5) Create some keys in about:config.
- key | type | value
- -------------------------------------------------------------
- media.gmp-widevinecdm.enabled | boolean | true
- media.gmp-widevinecdm.visible | boolean | true
- media.gmp-widevinecdm.autoupdate | boolean | false
- media.gmp-widevinecdm.version | string | openwv
-
-===========================================================================
diff --git a/openwv/Makefile b/openwv/Makefile
deleted file mode 100644
index bccef3b447..0000000000
--- a/openwv/Makefile
+++ /dev/null
@@ -1,39 +0,0 @@
-# $NetBSD$
-
-DISTNAME= openwv-1.1.3
-PKGREVISION= 1
-CATEGORIES= multimedia
-# Tarball contains Git submodule and result of `cargo vendor`.
-MASTER_SITES= https://www.ryoon.net/~ryoon/
-EXTRACT_SUFX= .tar.bz2
-
-MAINTAINER= ryoon%NetBSD.org@localhost
-HOMEPAGE= https://github.com/tchebb/openwv/
-COMMENT= Open reimplementation of Google's Widevine
-LICENSE= gnu-lgpl-v3
-
-USE_LANGUAGES= c c++
-
-SUBST_CLASSES+= etc
-SUBST_STAGE.etc= pre-configure
-SUBST_MESSAGE.etc= Setting PKG_SYSCONFDIR
-SUBST_FILES.etc+= src/openwv.rs
-SUBST_VARS.etc+= PKG_SYSCONFDIR
-
-INSTALLATION_DIRS+= share/openwv
-
-post-extract:
- # Adjust for vendor handling of cargo.mk
- cd ${WRKSRC} && \
- ${MV} vendor ..
-
-do-install:
- ${INSTALL_LIB} ${WRKSRC}/target/release/libwidevinecdm.so \
- ${DESTDIR}${PREFIX}/share/openwv
- ${INSTALL_DATA} ${WRKSRC}/manifest-firefox.json \
- ${DESTDIR}${PREFIX}/share/openwv
- ${INSTALL_DATA} ${WRKSRC}/manifest-chromium.json \
- ${DESTDIR}${PREFIX}/share/openwv
-
-.include "../../lang/rust/cargo.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/openwv/PLIST b/openwv/PLIST
deleted file mode 100644
index 72c3c5fb45..0000000000
--- a/openwv/PLIST
+++ /dev/null
@@ -1,4 +0,0 @@
-@comment $NetBSD$
-share/openwv/libwidevinecdm.so
-share/openwv/manifest-chromium.json
-share/openwv/manifest-firefox.json
diff --git a/openwv/distinfo b/openwv/distinfo
deleted file mode 100644
index e9a8633193..0000000000
--- a/openwv/distinfo
+++ /dev/null
@@ -1,8 +0,0 @@
-$NetBSD$
-
-BLAKE2s (openwv-1.1.3.tar.bz2) = 2457e67c8cfcc33b7cc4161ad59fdb96176fe5f37805141f57300c8f9e9ec3cf
-SHA512 (openwv-1.1.3.tar.bz2) = 1168029017b0ccc92c119e860a37e565940d54f9f4b2759e26da9ae615c1940f83483cffea642c2e36e958d77f99c6bc58df9c747d08b3d229bc839093f4766f
-Size (openwv-1.1.3.tar.bz2) = 23790667 bytes
-SHA1 (patch-Cargo.toml) = bdda1d5ee91423d173e659bd4c305d4362a6f0c8
-SHA1 (patch-src_config.rs) = 80c6aee2b32fa9376b71f530719e88f6f3e70285
-SHA1 (patch-src_openwv.rs) = 5cb12ef32d13f7c0806f81d05501c2b1ebc5b53d
diff --git a/openwv/patches/patch-Cargo.toml b/openwv/patches/patch-Cargo.toml
deleted file mode 100644
index 623ce6e1d9..0000000000
--- a/openwv/patches/patch-Cargo.toml
+++ /dev/null
@@ -1,24 +0,0 @@
-$NetBSD$
-
-* Use vendored autocxx for offline build.
-
---- Cargo.toml.orig 2026-01-20 13:47:09.346022322 +0000
-+++ Cargo.toml
-@@ -10,7 +10,7 @@ edition = "2024"
- edition = "2024"
-
- [dependencies]
--autocxx = { git = "https://github.com/tchebb/autocxx.git", branch = "openwv-fixes" }
-+autocxx = "0.30.0"
- cxx = "1"
- prost = "0.14.1"
- thiserror = "2"
-@@ -31,7 +31,7 @@ ctr = "0.10.0-rc"
- ctr = "0.10.0-rc"
-
- [build-dependencies]
--autocxx-build = { git = "https://github.com/tchebb/autocxx.git", branch = "openwv-fixes" }
-+autocxx-build = "0.30.0"
- prost-build = "0.14.1"
- thiserror = "2"
-
diff --git a/openwv/patches/patch-src_config.rs b/openwv/patches/patch-src_config.rs
deleted file mode 100644
index 0214abac73..0000000000
--- a/openwv/patches/patch-src_config.rs
+++ /dev/null
@@ -1,23 +0,0 @@
-$NetBSD$
-
-* Load .wvd data from file. Taken from OpenBSD Ports.
-
---- src/config.rs.orig 2026-01-20 13:27:18.000000000 +0000
-+++ src/config.rs
-@@ -3,16 +3,11 @@ pub const CONFIG: OpenWvConfig = OpenWvConfig {
- /// go in a configuration file. See the comments on the structs and enums below
- /// for information on the meaning of each parameter.
- pub const CONFIG: OpenWvConfig = OpenWvConfig {
-- widevine_device: include_bytes!("../embedded.wvd"),
- log_level: log::LevelFilter::Info,
- encrypt_client_id: EncryptClientId::Always,
- };
-
- pub struct OpenWvConfig {
-- /// A pywidevine `.wvd` file containing the private key and Client ID to
-- /// present in license requests. You must obtain this on your own.
-- pub widevine_device: &'static [u8],
--
- /// This can be overridden by the OPENWV_LOG environment variable, but some
- /// browsers like Firefox don't let CDMs see the full environment.
- pub log_level: log::LevelFilter,
diff --git a/openwv/patches/patch-src_openwv.rs b/openwv/patches/patch-src_openwv.rs
deleted file mode 100644
index e563534cd3..0000000000
--- a/openwv/patches/patch-src_openwv.rs
+++ /dev/null
@@ -1,34 +0,0 @@
-$NetBSD$
-
-* Load .wvd data from file. Taken from OpenBSD Ports.
-
---- src/openwv.rs.orig 2026-01-20 13:27:18.000000000 +0000
-+++ src/openwv.rs
-@@ -1,13 +1,13 @@ use std::ffi::{c_char, c_int, c_uchar, c_void};
- use autocxx::subclass::{CppSubclassSelfOwned, subclass};
- use log::{debug, error, info, trace, warn};
- use std::ffi::{c_char, c_int, c_uchar, c_void};
-+use std::fs::File;
- use std::pin::Pin;
- use std::ptr::{null, null_mut};
- use std::sync::OnceLock;
-
- use crate::CdmError;
- use crate::common_host::{CommonHost, downcast_host};
--use crate::config::CONFIG;
- use crate::decrypt::{DecryptError, decrypt_buf};
- use crate::ffi::cdm;
- use crate::service_certificate::{ServerCertificate, parse_service_certificate};
-@@ -27,7 +27,11 @@ extern "C" fn InitializeCdmModule_4() {
-
- info!("OpenWV version {} initializing", env!("CARGO_PKG_VERSION"));
-
-- let mut embedded_wvd = std::io::Cursor::new(CONFIG.widevine_device);
-+ let f = File::open("@PKG_SYSCONFDIR@/openwv/widevine_device.wvd");
-+ let mut embedded_wvd = match f {
-+ Ok(file) => file,
-+ Err(_) => return(),
-+ };
- match wvd_file::parse_wvd(&mut embedded_wvd) {
- Ok(dev) => {
- if DEVICE.set(dev).is_err() {
Home |
Main Index |
Thread Index |
Old Index