Compare commits

...
Sign in to create a new pull request.

342 commits

Author SHA1 Message Date
Ark74
8d2f60aa1b apt: backport apt 3 improving deb822 2025-09-29 01:32:47 -06:00
Ark74
080caaf29d python-apt: enable cmxsl mirror at custom repo. 2025-09-29 00:50:35 -06:00
Ark74
dedb8dca9e config: update to full name. 2025-09-29 00:47:05 -06:00
Ark74
ffa3bf9e85 config: set custom config values for cmxsl 2025-09-28 01:53:09 -06:00
Ark74
864e63539c Merge branch 'ecne' of git.cmxsl.org:CMXSL.org/package-helpers-cmxsl into ecne-cmxsl 2025-09-27 21:47:26 -06:00
Luis Guzmán
63f1a0f061 software-properties: backport v111 for improved deb822 sources 2025-09-26 14:37:13 -06:00
Ark74
ba94845cbc yt-dlp: fix license table for parsing properly. 2025-09-25 14:50:18 -06:00
Luis Guzman
9538d86cd7 firefox: set higher priority than chromium based ones 2025-09-22 19:38:55 +00:00
Luis Guzmán
3a0b55b612 riseup-vpn: backport maintained release 2025-09-20 22:51:15 -06:00
Luis Guzmán
332c457286 libmateweather: update default server uri. 2025-09-20 21:47:31 -06:00
Ark74
9dbf1c0566 casper: setup appamor live reload profiles 2025-09-19 03:57:40 -06:00
Luis Guzmán
2f4bde7002 hplip: add trisquel distro-name definition for hplip tools. 2025-09-15 16:28:11 -06:00
Ark74
6183e8282b sbuild: add Trisquel's auto-selector DistroInfo switch for backports 2025-09-15 01:41:49 -06:00
Luis Guzmán
d61972afb9 firefox: update for v143 and remove conflict on sponsors reference. 2025-09-13 01:50:24 -06:00
Ark74
c77d0b3cb8 finish-install: set final version name. 2025-09-08 02:34:16 -06:00
Ark74
c49ef5c8e2 finish-install: slim and improve script 2025-09-08 01:31:22 -06:00
Ark74
9b01ea21cd finish-install: use in-target directly 2025-09-08 00:20:23 -06:00
Ark74
91486041d0 finish-install: add fallback option. 2025-09-07 23:19:25 -06:00
Ark74
79d29a0715 finish-install: add script to set splash on uefi installations. 2025-09-07 22:29:37 -06:00
Ark74
3c9b6cae5a debian-installer: update patch for upstream trixie latest release 2025-09-06 12:44:48 -06:00
Ark74
b3de867042 misc: update debian key 2025-09-01 04:41:42 -06:00
Ark74
41b608a231 kubuntu-settings: bump helper version, update on next artwork release. 2025-09-01 03:38:43 -06:00
Ark74
3be99832a1 debian-installer: bump final helper version 2025-09-01 03:25:39 -06:00
Ark74
bb4e30e9cd netcfg: bump final helper version 2025-09-01 03:20:58 -06:00
Ark74
48fb455923 base-installer: set final helper version 2025-09-01 03:16:06 -06:00
Ark74
566593039d ubuntu-release-upgrader: set static release on tarball script 2025-09-01 02:56:38 -06:00
Luis Guzmán
19af8d6039 fix "firefox: publish 142 build, disable Sponsored Checkboxes" 2025-08-31 01:21:47 -06:00
Luis Guzmán
9a8d6f42f2 firefox: publish 142 build, disable Sponsored Checkboxes 2025-08-31 01:08:20 -06:00
Luis Guzmán
434c42cf91 casper: fix disable services on kde live (triskel). 2025-08-30 17:37:37 -06:00
Luis Guzmán
93338254a6 firefox: test 142 build 2025-08-29 03:33:43 -06:00
Luis Guzman
ff611e79eb yt-dlp: update integration with abrowser patch. 2025-08-28 14:05:55 +00:00
Ark74
33ffb36646 apt-setup: bump final release number. 2025-08-27 21:50:31 -06:00
Luis Guzmán
b0b9f1a548 apt-setup: yet another fix on finish-install.d 2025-08-27 21:24:44 -06:00
Luis Guzmán
c6b9260780 apt-setup: rollback and actually run the right script 2025-08-27 15:05:42 -06:00
Ark74
c3aeccf573 apt-setup: simplify and move slim script 2025-08-27 14:28:23 -06:00
Ark74
f9689bfb1c ubiquity: setup slim deb822 migration. 2025-08-26 16:38:12 -06:00
Luis Guzman
923cea5d74 ubiquity: test parse sources.list 2025-08-26 09:06:11 +00:00
Ark74
60f94b2d5f apt-setup: change approach 2025-08-26 01:16:48 -06:00
Ark74
140ce7a282 apt-setup: test final custom tuning file. 2025-08-26 00:27:38 -06:00
Ark74
85821ce930 akregator: remove Kubuntu feeds 2025-08-26 00:06:37 -06:00
Ark74
64bd2c8655 config: add notice to remove_patch function. 2025-08-25 23:59:22 -06:00
Ark74
b67a9c1830 apt-setup: continue testing fixing final repo setup 2025-08-25 23:17:28 -06:00
Ark74
25926c10cb apt-setup: yet another adjustment to fix missing updates. 2025-08-25 17:23:59 -06:00
Ark74
1f503fb465 apt-setup: test fix for non-applied file changes. 2025-08-25 14:49:48 -06:00
Luis Guzman
677854292f apt-setup: use default rules to prevent early setup breakage 2025-08-25 06:08:12 +00:00
Luis Guzman
f0a793833d mypaint: backport fix for openmp segfault 2025-08-25 03:18:40 +00:00
Kurt Kremitzki
0d6302786f freecad: add freecad 0.21.2 from Ubuntu 24.10 2025-08-24 11:36:24 -06:00
Kurt Kremitzki
2dd6e26db0 Use rel link in readme 2025-08-24 07:15:50 -06:00
Ark74
c9a94d83a1 grub-installler: bump final version 2025-08-23 01:31:24 -06:00
Ark74
73f7c02365 grub-installer: test fix grub-installer efi 2025-08-22 15:52:03 -06:00
Ark74
e167196ba6 apt-setup: bump version to confirm working release 2025-08-19 06:42:05 -06:00
Ark74
568757513f apt-setup: initial setup for deb822 in d-i 2025-08-19 05:18:39 -06:00
Luis Guzman
7f5176c32f ubiquity: setup custom support for deb822 format 2025-08-19 10:30:59 +00:00
Ark74
46ebef52f1 tasksel: add custom (non-extensive) l10n setup for d-i 2025-08-18 05:29:32 -06:00
Ark74
c8f629bbed pkgsel: add propagation of installer-chosen locale to tasksel 2025-08-18 04:54:06 -06:00
Ark74
c058e65f86 debconf: add patches to safeguard Template.pm and Cache.pm 2025-08-17 04:55:07 -06:00
Ark74
745e43935c lxde-metapackages: set correct browser dependencies. 2025-08-17 02:22:19 -06:00
Ark74
daba10136c language-selector: add icecat l10n support for l-s. 2025-08-17 00:01:40 -06:00
Luis Guzmán
8a814b3e6b ubiquity: add workaround for mesa upgrade 2025-08-13 11:45:39 -06:00
Ark74
79c72f92d7 gtk+3.0: delay additional fix 2025-08-13 06:38:08 -06:00
Ark74
58667d178e gtk+3.0: fix FTBFS on armhf. 2025-08-13 05:48:50 -06:00
Ark74
8dd4361d9f gtk+3.0: fix position for tooltip in gtk3 (lxde/trisquel-mini) 2025-08-13 01:24:49 -06:00
Luis Guzmán
d2b3ecfbd6 DATA/keyring.gpg: add Debian Security Archive Automatic keys 12/13. 2025-08-12 16:56:55 -06:00
Ark74
ce7d611790 yt-dlp: update upstream keyring 2025-08-12 16:24:01 -06:00
Ark74
2f0835b062 ubuntu-release-upgrade: add helper to purge gpg-wks-server and prevent postfix install. 2025-08-11 22:58:29 -06:00
Luis Guzmán
fdb3fa84cd ubuntu-release-upgrader: add trisquel-sugar workaround and promote ecne release version 2025-08-10 19:01:42 -06:00
Ark74
c7ded611ea ubuntu-release-upgrader: add trisquel-mini upgrade helper to prevent missing login greeter 2025-08-08 19:14:45 -06:00
Luis Guzmán
dc69d82ab4 debian-installer: update debian-installer for August 2025 2025-08-06 19:40:50 -06:00
Luis Guzmán
103ff49081 kubuntu-settings: add README.md to usr-share folder. 2025-08-05 11:40:34 -06:00
Luis Guzmán
9d72a79a02 kubuntu-settings: fix template. 2025-08-05 00:28:31 -06:00
Ark74
9acaed0315 caja: show desktop icon by default 2025-08-04 20:20:39 -06:00
Ark74
5e274a5594 kubuntu-settings: update distro slide and icons to match Trisquel's ones 2025-08-04 18:19:27 -06:00
Ark74
dd865885a2 ubuntu-release-upgrader: add changes to build scripts 2025-08-02 15:32:06 -06:00
Luis Guzmán
b35bb12775 DATA/rpl: basic changes to drop python2 in helpers 2025-08-01 19:36:45 -06:00
Ark74
83c540811e ubiquity: set closest to fixed number. 2025-07-23 18:28:59 -06:00
Ark74
c0c9310268 ubiquity: set trisquel default partition recipe. 2025-07-23 15:05:03 -06:00
Ark74
3b2fbb8b52 partman-auto: bump version 2025-07-23 12:15:07 -06:00
Ark74
a3b9160667 partman-auto: set default trisquel partition recipe. 2025-07-23 12:13:09 -06:00
Ark74
7e6f367d00 vidtuber: add simple yt-dlp GUI frontend. 2025-07-21 17:13:42 -06:00
Ark74
d881dc94c2 casper: fix profile overwriting. 2025-07-19 13:45:40 -06:00
Luis Guzmán
959722e3f5 casper: add & enable icecat apparmor profile 2025-07-19 00:11:41 -06:00
Ark74
de8087afd0 apparmor: add icecat profiles for ecne 2025-07-18 01:26:59 -06:00
Luis Guzmán
2a88e15ae0 icecat: test adding trisquel binaries. 2025-07-17 07:35:13 -06:00
Ark74
abdd7515d1 lxpanel: add patch to fix armhf cpufreq plugin build. 2025-07-14 03:54:25 -06:00
Ark74
5b65330e61 lxpanel: fix several issues via upstream patches for trisquel-mini 2025-07-14 01:44:23 -06:00
Ark74
410f35b19e config: add simple multi-line support changelog. 2025-07-14 01:13:28 -06:00
Luis Guzmán
fd14c173f6 firefox: patch external links for addons & update gnuzilla addon url 2025-07-09 04:19:22 -06:00
Ark74
23b8b1217a config: restore upstream mirror 2025-07-08 00:00:45 -06:00
Luis Guzmán
120d3ba1bf debian-installer: temporary re-enable overwrite 'til riscv overhaul 2025-07-07 23:52:22 -06:00
Luis Guzmán
f0c7717cd6 mate-user-admin: manually add cracklib-runtime as a dependency. 2025-07-07 23:07:34 -06:00
Ark74
81e0edcda2 grub2-unsigned: remove deprecated patches from grub.johnlane.ie 2025-07-01 19:14:23 -06:00
Ark74
391b140e9a grub2: remove deprecated patches from grub.johnlane.ie 2025-07-01 18:18:00 -06:00
Luis Guzmán
a6a027858a plymouth: fix luks password shown in plain text 2025-06-30 21:58:50 -06:00
Ark74
8b0848ffba config: agregar personalización del CMXSL 2025-06-21 20:51:40 -06:00
Ark74
470773fdba yt-dlp: enable abrowser to use 'cookies-from-browser' feature 2025-06-21 00:38:30 -06:00
Luis Guzmán
157554638d cron: correct copyright on crontab2english.pl (fixes TPH # 199) 2025-06-17 00:15:21 -06:00
Luis Guzman
ef970bfec6 kolourpaint: add icon theme recommendation for non-kde environments 2025-06-16 13:39:48 -06:00
Luis Guzman
9ea949de00 misc: xz-utils set correct label stage 2025-06-16 13:14:57 -06:00
Luis Guzmán
b0a4c0fb48 ubuntu-release-upgrader: start work for ecne do-release-upgrade. 2025-06-14 22:47:34 -06:00
Ark74
1c4c985b76 llvm-toolchain-19: fix helper format to prevent issues with watchdog. 2025-06-14 05:01:32 -06:00
Luis Guzmán
4634fc0d33 config: add start info for package helpers 2025-06-12 18:54:36 -06:00
Ark74
5430649bee dia: apply dia's MR 114 to fix delay to open text properties 2025-06-12 17:01:22 -06:00
Luis Guzman
62502abfc7 firefox: yet another change for profile fix path. 2025-06-11 16:33:17 +00:00
Luis Guzman
b71e61a411 firefox: fix path due missing configure settings 2025-06-10 07:37:47 +00:00
Ark74
159d5f03dc llvm-toolchain-19: restore armhf rt runtime. 2025-06-07 01:33:19 -06:00
Luis Guzmán
857bdc6eea update-notifier: update wayland support patch 2025-06-06 12:23:11 -06:00
Luis Guzmán
40d46056ff firefox: add firefox fix for ppc64el 2025-06-06 11:41:15 -06:00
Luis Guzmán
80d1c2166b firefox: prepare package changes for v139 2025-06-05 10:16:16 -06:00
Ark74
7e57197c68 config: add git package-helpers repo url to config 2025-06-05 02:52:36 -06:00
Ark74
0416f8a1b7 debconf-kde: fix TPH #212, pass home to prevent requests. 2025-06-02 19:11:21 -06:00
Ark74
52ff0938c4 epiphany-browser: disable test that requires OpenGL on build. 2025-06-02 04:13:20 -06:00
Luis Guzmán
677d460fa2 kubuntu-settings: fix placeholder theme 2025-06-01 02:04:27 -06:00
Ark74
e3358d85f7 update-manager: update python style patch 2025-05-31 23:55:26 -06:00
Ark74
e9172f3598 ubiquity: fix ubiquity-dm erroring out due gsettings 2025-05-31 21:34:56 -06:00
Ark74
1ba4ce84e1 apparmor: drop deprecated patch on latest release. 2025-05-31 17:33:40 -06:00
Ark74
6c4cd38392 apparmor: add transmission updated daemon profile 2025-05-31 01:49:25 -06:00
Luis Guzmán
b074fc04d1 misc: mirrors update bump. 2025-05-30 00:45:57 -06:00
Ark74
660a4ac801 libselinux: workaround python-pip lack of for libselinux. 2025-05-29 10:39:27 -06:00
Luis Guzmán
04e1e63723 weechat: backport fixed security release 2025-05-27 06:15:28 -06:00
Ark74
171264a6fd transmission: prevent issues with daemon location due DEP17 2025-05-25 17:05:40 -06:00
Luis Guzman
bbabc1ca1c rustc-1.82: add rustc dependency for newer abrowser releases. 2025-05-25 02:05:11 +00:00
Luis Guzmán
5954f3ce56 rustc-1.81: add rustc dependency for newer abrowser releases. 2025-05-21 17:23:31 -06:00
Ark74
6eb79d4162 debian-installer: update helper for new release. 2025-05-16 23:59:50 -06:00
Luis Guzman
62b30fe628 0ad: add backport package for 0ad 2025-05-16 04:20:43 +00:00
Ark74
e5ba8acc19 0ad-data: add backport data for 0ad 2025-05-15 15:38:51 -06:00
Luis Guzmán
4cb725d1f2 ungoogled-chromium: add ublock as recommendation to ug-c 2025-05-14 22:50:27 +00:00
Ruben Rodriguez
2461092a1a casper: new method to enable abrowser apparmor profile 2025-05-14 15:35:12 -04:00
Ruben Rodriguez
ff879f1520 casper: enable abrowser apparmor profile, second attempt 2025-05-13 16:35:09 -04:00
Ruben Rodriguez
fe6be0eae5 casper: enable abrowser apparmor profile 2025-05-13 11:36:36 -04:00
Ark74
37e7f0c0a7 apt-setup: prevent breakage from removing files 2025-05-12 10:35:21 -06:00
Ruben Rodriguez
73750bd7a1 ubiquity: removed shim dependency 2025-05-11 21:04:20 -04:00
Luis Guzmán
496394b4cd osinfo-db: improve trisquel derivation from earlier releases. 2025-04-29 10:40:48 +00:00
Luis Guzman
93896f6529 debian-reference: remove documentation not related to Trisquel. 2025-04-27 21:05:45 +00:00
Ark74
4e03518e5e debian-installer: set legacy version format compatibility on makeiso. 2025-04-25 01:51:30 -06:00
Ark74
428b410f6f brltty: move base release to trixie for d-i/udeb build. 2025-04-24 02:18:10 -06:00
Luis Guzmán
a0f13ad4c8 localechooser: move base release to trixie for d-i/udeb build. 2025-04-24 08:16:43 +00:00
Ark74
75d444be9d grub-installer: TESTING release 2025-04-24 02:09:25 -06:00
Ark74
b070da5f4e wireless-regdb: move base release to trixie for d-i/udeb build. 2025-04-24 01:51:06 -06:00
Ark74
2a7b04db8b choose-mirror: move base release to trixie for d-i/udeb build. 2025-04-24 01:41:06 -06:00
Luis Guzmán
efa68b96ff linux-meta-hwe-6.11: add meta package for linux-hwe-6.11 2025-04-23 20:58:48 +00:00
Luis Guzmán
42b69de012 linux-hwe-6.11: add 6.11 release for HWE 2025-04-23 05:44:42 +00:00
Luis Guzmán
0c8c973c73 debian-installer: initial updated package for ecne 2025-04-22 23:57:08 +00:00
Ark74
4f380a8a26 gnome-software: bump version to test archive removal. 2025-04-22 04:27:42 -06:00
Luis Guzmán
a9a75b1414 netcfg: TESTING release 0.12 2025-04-20 10:32:53 +00:00
Luis Guzmán
5e104e2644 netcfg: TESTING release 0.11 2025-04-20 08:27:16 +00:00
Ark74
0691ca5a1e netcfg: TESTING release 2025-04-20 01:41:36 +00:00
Ark74
b2b7788ac3 hw-detect: move base release to trixie for d-i/udeb build. 2025-04-19 04:21:13 -06:00
Ark74
5a8ad54ae6 misc: cleaning orphan files. 2025-04-19 01:50:47 -06:00
Ark74
e8bca0f2f1 debian-installer-utils: move base release to trixie for d-i/udeb build. 2025-04-19 00:56:30 -06:00
Luis Guzmán
62b4c9b889 media-retriever: move base release to trixie for d-i/udeb build. 2025-04-19 06:04:10 +00:00
Luis Guzmán
ac94a07ee2 base-installer: TESTING release 2025-04-19 02:00:31 +00:00
Luis Guzmán
ad5b3debda linux: add custom deblob-check names 2025-04-19 00:14:01 +00:00
Ark74
9e60d31d3c finish-install: move base release to trixie for d-i/udeb build. 2025-04-18 02:16:07 -06:00
Ark74
9aa0a91c07 apt-setup: move base release to trixie for d-i/udeb build. 2025-04-18 00:58:02 -06:00
Ark74
1a3c5b0813 main-menu: move base release to trixie for d-i/udeb build. 2025-04-17 19:56:35 -06:00
Ark74
e6eebc6fa6 anna: move base release to trixie for d-i/udeb build. 2025-04-17 19:34:49 -06:00
Ark74
ecafd9c542 osinfo-data: clean applied patches upstream. 2025-04-17 15:53:02 -06:00
Luis Guzmán
c5d312a14b misc: move base release to trixie for d-i/udeb build. 2025-04-17 04:30:49 +00:00
Ark74
5b9d6f0d33 depthcharge-tools: customize tool to be able to work with versionless vmlinuz 2025-04-14 01:52:00 -06:00
Ark74
50fabd3635 config: add apply_patch_changes function 2025-04-14 01:47:16 -06:00
Luis Guzmán
2ed14cf856 acpi-support: reintegrate acpi-support from bookworm. 2025-04-13 05:55:12 +00:00
Ark74
0c42979120 thunderbird: update patch set for v128.9 2025-04-12 10:28:48 -06:00
Ark74
ab4991b445 grub2-unsigned: fix duplicated gnulinux reference. 2025-04-11 23:58:36 -06:00
Ark74
a3a24c1f9f grub2: fix duplicated gnulinux reference. 2025-04-11 23:28:08 -06:00
Luis Guzmán
ec4f3826e4 software-properties: update patch removing subscription tab. 2025-04-09 05:41:42 +00:00
Luis Guzmán
69085a1263 firefox: prepare 136 release and strength privacy 2025-04-06 04:26:32 +00:00
Luis Guzman
91122f8d0a linux: removal of references to external sources for firmware 2025-04-02 09:58:27 +00:00
Luis Guzmán
23eb1e81a2 config: add finish timestamp 2025-03-28 11:03:44 +00:00
Ark74
35d7743fe5 openssh: fix dpkg-vendor naming. 2025-03-26 20:16:40 -06:00
Luis Guzman
8834ddb118 choose-mirror: fix utf-8 on udeb via upgrade release 2025-03-19 09:13:52 +00:00
Luis Guzmán
7de8a3a2e7 language-selector: update settings for browser. 2025-03-19 09:04:21 +00:00
Luis Guzman
2a802d2f5d netcfg: bump netcfg to rebuild against latest wireless-tools 2025-03-18 09:42:38 +00:00
Luis Guzman
ce547987ce readline: add new udeb requirement for d-i in Ecne 2025-03-18 08:29:33 +00:00
Luis Guzman
9619b299ae acl: add new udeb requirement for d-i in Ecne 2025-03-18 08:27:39 +00:00
Luis Guzman
7fa1944e83 python-apt: split https and http servers argument. 2025-03-18 05:25:26 +00:00
Luis Guzmán
e0f999388d python-apt: update mirror parser and add note 2025-03-17 22:42:00 +00:00
Luis Guzmán
de1bcc6d6b ubiquity: update format and use new Mirror masterlist 2025-03-17 22:32:12 +00:00
Luis Guzman
478d01a83f plasma-discover: remove fwupd dependency 2025-03-17 07:10:51 +00:00
Luis Guzmán
30de49c3a2 xz-utils: add new udeb requirement for d-i in Ence 2025-03-12 04:16:10 +00:00
Luis Guzmán
346797cd74 gnupg2: manually set udeb dependencies for udeb package. 2025-03-11 21:42:18 +00:00
Luis Guzman
ab99cad6d3 shim: add package using debian template 2025-03-11 15:22:42 +00:00
Luis Guzman
04bcca5bf4 wireless-tools: update to new release fixing deprecated dependencies. 2025-03-11 15:15:24 +00:00
Ark74
bf268b8f32 vboot-utils: add fixed release from non-free data 2025-03-05 08:32:23 -06:00
Luis Guzmán
65cbfb2c22 apparmor-profiles-extra: fix screen reader in pidgin for Ecne (TPH#198) 2025-03-03 19:02:23 +00:00
Luis Guzmán
6a45eb640a firefox: fix build for 135 update 2025-02-24 06:51:47 +00:00
Luis Guzmán
6339fc4e6c ungoogled-chromium: add package via xtradeb community 2025-02-20 10:35:45 +00:00
Luis Guzman
0fa40eba9d mate-panel: add 2px to fit widgets in 2 lines. 2025-02-19 16:23:47 +00:00
Luis Guzmán
e9d95e10e5 linux: update silent patch for 6.8.0-53.55 kernel revision. 2025-02-16 18:03:46 +00:00
Ark74
66e1e7d0c5 grub2-unsigned: update grub2-unsigned for ecne 2025-02-05 00:52:56 -06:00
Luis Guzmán
6c4cbd0b8d python-apt,choose-mirror: mirrors list update 02-2025 2025-02-04 22:17:40 +00:00
Luis Guzmán
4e649c40fa firefox: disable hover preview tab as privacy settings maintenance. 2025-01-25 00:49:07 +00:00
Luis Guzmán
86c7abad7b firefox: test 134 version 2025-01-18 06:01:54 +00:00
Luis Guzmán
f058590d83 qt6-webengine: make sure to disable safe_browsing_mode by default. 2025-01-17 01:40:42 +00:00
Ark74
60defcbb80 qtwebengine-opensource-src: update removal list, fixes TPH:#196 2025-01-14 18:32:24 -06:00
Luis Guzmán
0c0b0faad2 qt6-webengine: add helper to remove non-free and prebuilt binaries 2025-01-15 00:27:45 +00:00
Ark74
3b1598a023 yt-dlp: add latest stable upstream and remove explicit site listing 2025-01-14 14:48:07 -06:00
Luis Guzmán
2c02a4e8f2 linux: initial restoration udeb binaries in ecne 2025-01-13 04:50:32 +00:00
Ark74
664272f6d9 kernel-wedge: fix setting duplicated compat version 2025-01-12 13:43:29 -06:00
Ark74
5fb7e0a7aa kernel-wedge: rollback to fixed version for ecne 2025-01-12 13:18:28 -06:00
Luis Guzmán
eb6fbf6434 thuderbird: prepare icedove release v128 2025-01-10 16:20:30 +00:00
Luis Guzman
4cecb36869 misc: remove placeholder helpers. 2025-01-08 18:09:34 +00:00
Ark74
7b4d04c8ac config: upgrade discover dpkg-vendor or distro-related behaviors 2025-01-03 15:16:46 -06:00
Luis Guzmán
8b2a80ce49 config: add old kernel build capability for development 2025-01-03 15:15:04 -06:00
Luis Guzmán
fcdc3464a6 firefox: final changes to fix trisquel's search engine icons. 2024-12-27 17:08:04 +00:00
Ark74
d41388e84b firmware-free: update helper for newer release 2024-12-26 18:14:19 -06:00
Luis Guzmán
1762af069d linux: tweak deblob-check for upstream update. 2024-12-26 02:03:49 +00:00
Luis Guzmán
09c66daabd firefox: test firefox v133 release 2024-12-18 11:50:12 -06:00
Luis Guzmán
bdbf2cf07b atril: add custom apparmor profile for atril 2024-12-06 09:44:03 -06:00
Luis Guzmán
5fd2eab062 python-apt: use git Mirrors.masterlist as main source 2024-12-06 06:23:38 +00:00
Luis Guzmán
67d17e9a6d choose-mirror: use git Mirrors.masterlist source. 2024-12-06 00:05:51 -06:00
Luis Guzmán
3c21ffde85 firefox: use v132.0.2 for some maintenance work. 2024-11-16 14:04:50 -06:00
Luis Guzman
39ac25ccf2 evince: fix apparmor profile for Trisquel Mini 2024-11-10 07:23:09 +00:00
Luis Guzmán
9d07b5ee53 network-manager: standardize dpkg-vendor '--derives' instead of '--is' 2024-11-10 07:07:55 +00:00
Luis Guzmán
193c89753f grub2: upgrade and improve GRUB2 helper for ecne. 2024-11-10 06:42:46 +00:00
Luis Guzman
b6591de7ed brltty: upgrade release to match grub2 requirements. 2024-11-10 00:40:59 +00:00
Luis Guzmán
b66e973b33 firefox: add lost comment on patch 005_apply_custom_urls.patch 2024-11-08 15:54:20 +00:00
Luis Guzmán
21303804e7 firefox: update for 132 release 2024-11-08 04:17:56 +00:00
Luis Guzmán
eb4adc8253 linux: update deblob-check for upstream included drivers on 6.8 2024-11-04 21:59:33 +00:00
Ark74
56a9442f21 debian-installer-utils: add patch to fix FTBFS issue. 2024-11-04 11:01:10 -06:00
Ark74
a645a4d3f3 plymouth: fix missing trisquel-logo on theme. 2024-11-01 04:14:43 -06:00
Luis Guzmán
86a87cb9b5 fastfecth,yyjson: backport to ecne from trixie. 2024-10-30 20:03:56 +00:00
Luis Guzman
8d7aa07738 greybird-gtk-theme: update focused deprecated pseudo-class 2024-10-30 10:24:38 +00:00
Luis Guzmán
3ef06381f9 update-manager: remove ubuntu-pro dependency 2024-10-30 10:20:42 +00:00
Ark74
f53b51b7d7 tor: update repo for ence's upstream release. 2024-10-29 19:33:59 -06:00
Luis Guzmán
337c44c126 gnome-online-accounts: restore upstream dependencies/services on latest versions. 2024-10-28 10:19:58 +00:00
Luis Guzmán
268446b6d5 gnome-online-accounts: use a 2-step build, droping earlier dependecies. 2024-10-28 08:01:01 +00:00
Luis Guzmán
44df4f6db6 casper: disable localechooser-data dependency. 2024-10-28 07:16:28 +00:00
Luis Guzman
b8d37adbee multipath-tools: remove deprecated change. 2024-10-28 06:49:22 +00:00
Luis Guzmán
fe5b068d92 dsniff: use placeholder helper 'til testing. 2024-10-28 06:18:44 +00:00
Luis Guzman
bf398c354b localechooser: migrate to bookworm base. 2024-10-28 04:59:05 +00:00
Luis Guzman
06f00ca503 cups-filters: add place holder helper (TBR). 2024-10-28 02:55:30 +00:00
Luis Guzman
8e8b6e905c gnome-software: remove fwupd build dependency. 2024-10-28 00:12:03 +00:00
Luis Guzmán
a5e0f1edf8 plymouth: first adjust for plymouth on new release; needs review on last stage. 2024-10-27 23:08:14 +00:00
Luis Guzman
0da66f6c64 guix: add patches to fix guix#73919 2024-10-24 07:08:41 +00:00
Luis Guzmán
661f01bea8 plasma-desktop: add DEPENDS variable. 2024-10-18 11:18:15 +00:00
Luis Guzmán
803d0d8316 software-properties: bump version to integer number. 2024-10-18 07:42:08 +00:00
Luis Guzmán
fceae841fe config: add note when dpkg-vendor is present in debian/rules 2024-10-18 02:42:59 +00:00
Luis Guzmán
3f05530d6f firefox: prepare security 131.0.2 release for testing 2024-10-17 23:35:02 +00:00
Ark74
e73c07bd61 network-manager: add patch to disable netplan on i386 2024-10-17 00:21:26 -06:00
Luis Guzmán
19cdc0e545 freedom-maker: update patches for newer release 2024-10-15 09:52:42 +00:00
Luis Guzmán
fe099af6d1 nextcloud-desktop: backport packages required for v3.14 2024-10-13 15:38:47 +00:00
Luis Guzman
1d7c9c4df0 libva: add temporary placeholder helper. 2024-10-12 22:54:26 +00:00
Luis Guzmán
81c84e6778 desktop-file-utils: remove unnecessary package helper. 2024-10-12 07:28:11 +00:00
Luis Guzmán
bc80830fb1 casper: update helper fix FTBFS 2024-10-11 15:02:44 +00:00
Luis Guzman
a1d2d2e353 update-manager: update helper for ecne 2024-10-07 22:57:21 -06:00
Luis Guzmán
a895c0c17b umbrello: set correct upstream release source package 2024-10-04 03:44:44 +00:00
Luis Guzmán
6ff7a29f95 python-apt: update mirrors October 2024 2024-10-01 21:15:35 +00:00
Luis Guzman
37d611b0de linux: update silent patch again. 2024-09-27 22:26:36 +00:00
Luis Guzmán
8b130213c9 lvm2: remove deprecated patches using profile for udebs. 2024-09-27 20:53:20 +00:00
Ark74
94e50ed96a apparmor: update patch 2024-09-27 10:56:05 -06:00
Ark74
a95aa4bc07 apparmor: update firefox profile patch. 2024-09-27 10:52:10 -06:00
Luis Guzmán
a8bc3693c0 debootstrap: add Ecne script 2024-09-12 05:33:01 +00:00
Ruben Rodriguez
17910ff66f unzip: Updated documentation details 2024-09-11 13:44:02 -04:00
Luis Guzman
eda9007667 dpkg: remove bash specific curly braces usage. 2024-09-11 16:47:49 +00:00
Luis Guzmán
bbef305933 glibc: simplify helper on ecne's release. 2024-09-11 07:32:19 +00:00
Luis Guzmán
5934b87b60 dpkg: replace static files for patches to track changes. 2024-09-10 18:34:06 +00:00
Ark74
202f686415 cdebconf: update default color palet usage, and remove udeb profile need. 2024-09-09 01:59:09 -06:00
Luis Guzmán
9294cef9d3 util-linux: fix FTBFS package in Ecne (12.0) 2024-09-09 05:12:12 +00:00
Luis Guzmán
43f1802f16 gnome-software: remove fwup and snap support from gnome-software. 2024-09-07 06:12:39 +00:00
Luis Guzman
bfc0fbe4e5 linux-meta-hwe-6.5: drop old release helper 2024-09-06 04:32:38 +00:00
Ark74
37b4ed799e ubuntukylin-wallpapers: fix version for PEP440 compliance. 2024-09-05 19:56:16 -06:00
Luis Guzmán
004cd98bfa postgresql-common: update patch for postgres build. 2024-09-05 00:30:43 +00:00
Luis Guzman
9a4c93a9ae misc: fix shared wallpaper path on helper. 2024-09-04 23:11:40 +00:00
Luis Guzmán
1c3f58b50a misc: use centralized wallpaper artwork. 2024-09-04 19:50:22 +00:00
Ark74
4c6fea56e4 misc: add static trisquel-wallpaper file and instructions. 2024-09-04 13:21:38 -06:00
Luis Guzmán
65b532c7dc budgie-desktop-environment: update helper ecne; (S5RR) 2024-09-04 18:47:49 +00:00
Luis Guzmán
1f9902ea66 deja-dup: update change to newer file iteration. 2024-09-04 08:34:40 +00:00
Luis Guzmán
ad747bc1c9 misc: add debootstrap stage definition for helper. 2024-09-04 08:03:50 +00:00
Luis Guzman
53ff4905dd misc: add stage definition for helper. 2024-09-04 07:04:52 +00:00
Luis Guzmán
5eb647ab71 tor: rollback to tor/jammy release while noble is published. 2024-09-04 01:58:18 +00:00
Ruben Rodriguez
8abf9b92af ubuntu-release-upgrader: fixed pep440 compatibility; updated some string replacements 2024-08-24 23:53:46 -04:00
Luis Guzmán
8233f4de21 apparmor: add unconfined profiles for abrowser and icedove. 2024-08-22 05:12:34 +00:00
Luis Guzmán
45b150b801 ltsp, epoptes: there is no PPA release and requires rebranding done from scratch. 2024-08-22 05:03:06 +00:00
Luis Guzmán
8535908065 software-properties: make software-properties-qt visible with custom icon. 2024-08-18 02:27:11 +00:00
Luis Guzman
dad9dcaca5 compiz: fix small ftbfs detail. 2024-08-17 16:45:17 +00:00
Luis Guzmán
047089ef31 7zip: migrate helper from transitional package name. 2024-08-16 01:04:49 +00:00
Luis Guzmán
76237b9e63 libva: at 2.16 the driver mapping mechanism changed, deprecating this helper. 2024-08-15 23:37:30 +00:00
Luis Guzman
2b790a5ac4 system-config-printer: update package helper for ecne 2024-08-15 22:47:14 +00:00
Luis Guzmán
3d98b7b03c libcupsfilters: migrate helper from cups-filters to replace test page 2024-08-14 23:38:57 +00:00
Luis Guzman
7c1e2a051e pulseaudio: update removal patch strategy. 2024-08-14 05:17:24 +00:00
Luis Guzman
7934af42b5 plasma-workspace: update theme background usage. 2024-08-14 00:58:10 +00:00
Luis Guzmán
43b4fd8bbe gnome-online-accounts: update helper to match helper build env. 2024-08-13 21:18:13 +00:00
Luis Guzman
904e566359 initramfs-tools: drop unnecessary helper for ecne. 2024-08-13 20:29:32 +00:00
Ark74
9a3b626e6f kopete: remove deprecated helper. 2024-08-12 20:42:37 -06:00
Luis Guzmán
f71aaa77eb osinfo-db: add patches to add upgrade and derivation field. 2024-08-05 20:31:33 +00:00
Luis Guzmán
13dcdd56db gnome-boxes: add support for trisquel logo from osinfo-db. 2024-08-05 20:23:16 +00:00
Luis Guzman
ffdb7550b5 osinfo-db: update helpers for ecne 2024-08-05 17:55:48 +00:00
Luis Guzmán
996d104fde mplayer: update helper for ecne 2024-08-05 16:35:48 +00:00
Luis Guzmán
e27e4e0e3b telegram-desktop: drop support for telegram-desktop 2024-08-05 01:34:21 +00:00
Luis Guzman
c8edf71300 fai: rename fai-server source code package. 2024-08-05 01:24:20 +00:00
Luis Guzmán
58459515e9 ubuntu-budgie-meta: update helper for ecne release. 2024-08-05 00:49:35 +00:00
Luis Guzmán
c947c3a355 update-notifier: tweak update-notifier for ecne release 2024-08-04 23:53:27 +00:00
Luis Guzman
eb213e21dc ubuntu-mate-settings: tweak ubuntu-mate-settings for ecne 2024-08-04 23:05:42 +00:00
Luis Guzman
0b1784aeb3 bleachbit: tweak patch for ecne. 2024-08-04 22:51:08 +00:00
Luis Guzman
dc8a00bd25 birdtray: drop helper for ecne 2024-08-04 22:35:06 +00:00
Luis Guzmán
6a0eef90d6 at-spi2-core: tweak helper for ecne release. 2024-08-04 22:27:17 +00:00
Luis Guzmán
95b8d45b82 arctica-greeter: update helper for ecne release 2024-08-04 22:03:09 +00:00
Luis Guzmán
7ead729db4 software-properties: replace deprecated lsb_release and fix style. 2024-08-03 22:56:51 +00:00
Luis Guzmán
ccc3d1bd30 linux: update annotations for 6.8.0-39 2024-08-01 06:21:22 +00:00
Ark74
0491017e0e app-install-data-ubuntu: update helper for ecne 2024-07-30 10:49:30 -06:00
Luis Guzmán
6a7c84ba02 linux: initial version for 6.8 ecne (no udebs) 2024-07-24 21:02:04 +00:00
Luis Guzmán
9999b7f971 config: add option to set security component on helper. 2024-07-24 11:39:08 -06:00
Luis Guzman
869086c720 firefox: roll back old serach-config and update privacy settings. 2024-07-19 23:38:08 +00:00
Luis Guzman
69e3d6220c config: add rollback patch function 2024-07-19 16:35:57 +00:00
Luis Guzmán
bcae7ae2a2 ansible: dropping helper as this new release no longer identify distributions. 2024-07-11 06:47:30 +00:00
Luis Guzmán
002fb3ef5c firefox: update strict patch for v128 2024-07-11 05:45:41 +00:00
Luis Guzmán
3f205c5244 virtnbdbackup: drop target specific python3 version instead use generic v3 one. 2024-07-10 09:08:17 +00:00
Luis Guzman
c86d6c0dd7 firefox: update and test changes for v127 2024-06-28 01:41:10 +00:00
Luis Guzman
691db64c84 asunder: update patch for T12 2024-06-22 01:25:00 +00:00
Luis Guzmán
d5b832a890 firmware-free: restore firmware-free helper for ecne 2024-06-21 07:01:19 +00:00
Luis Guzman
3574fae6de devscripts: update package and fix test. 2024-06-21 06:47:41 +00:00
Ark74
77135136c7 ubuntu-themes: improve branding logos replacement. 2024-06-20 22:51:15 -06:00
Luis Guzman
b1527a2f43 mlt: drop deprecated package by kdenlive team. 2024-06-19 07:16:26 +00:00
Luis Guzman
8c0578d3fc ublock-origin: update package helper for ecne 2024-06-19 06:16:21 +00:00
Luis Guzman
0497609f4c sugar: remove deprecated helper 2024-06-19 05:54:03 +00:00
Luis Guzman
22cb5c808e rhythmbox: update helper for improved readability 2024-06-19 05:38:43 +00:00
Luis Guzman
e8dd66e1cb reprepro: update patch for ddeb support. 2024-06-19 05:25:52 +00:00
Luis Guzmán
db13a69e70 pidgin: update helper for new cve updates. 2024-06-19 01:26:50 +00:00
Luis Guzman
1152581d7c network-manager-applet: update remove unwanted dependencies via patch. 2024-06-19 00:20:06 +00:00
Luis Guzmán
fb7639a549 mate-panel: drop patches for earlier release. 2024-06-18 23:32:55 +00:00
Ark74
84d7c43496 enigmail: remove deprecated package helper. 2024-06-18 12:44:38 -06:00
Ark74
fef6c167fb misc: remove deprecated linux-meta packages. 2024-06-18 01:19:46 -06:00
Ark74
cde7ea9479 linux-hwe-{5.19,6.2}: drop deprecated helper and data folders for ecne. 2024-06-16 17:06:56 -06:00
Luis Guzmán
621f51eca5 update-manager: forced fix for style on patch. 2024-06-10 18:17:20 +00:00
Luis Guzman
d73f931452 distro-info: updated distro-info test set for ecne build. 2024-06-10 18:11:56 +00:00
Luis Guzman
bff68c8db0 electrum: replace distutils StrictVersion with packaging.version 2024-06-10 17:10:32 +00:00
Luis Guzmán
75c57df87f distro-info-data: update data for ecne / noble. 2024-06-05 17:33:15 +00:00
Luis Guzmán
16701f2ac4 software-properties: update patches and l10n strings for ecne 2024-05-22 21:38:59 +00:00
Ark74
69df5c9619 config: add function to simplify patch application. 2024-05-22 15:36:29 -06:00
Luis Guzmán
2ce0b36aa4 python-apt: add freedif.org mirror (Singapore). 2024-05-21 17:59:12 +00:00
Ark74
d3bd3498e0 usb-creator: add german l10n update, thanks knife. 2024-05-18 04:56:36 -06:00
Luis Guzmán
b2ded520d2 update-manager: update patches and helper to meet new python test and style. 2024-05-18 10:32:13 +00:00
Luis Guzmán
98b18f0ac7 linux{,hwe-6.5}: fix disable dkms modules with external sources. 2024-05-18 06:58:32 +00:00
Luis Guzmán
7a9de61b49 update-manager: add german l10n, thanks knife. 2024-05-12 18:32:04 +00:00
Luis Guzmán
14df256664 greybird-gtk-theme: fix caja selected elements on inactive panel at list view 2024-05-10 00:44:03 -06:00
Luis Guzman
516a0a86ab firefox: update helper and patches for v126 2024-05-09 15:19:16 -06:00
Luis Guzmán
9e144601e1 config: add echo comment to easily identify sed_csum errors. 2024-05-08 13:16:09 -06:00
Luis Guzmán
372a379e8a misc: 2nd general review of helpers. 2024-05-01 18:52:05 +00:00
Luis Guzmán
df6774d1fe misc: update changes from aramo to ecne 2024-04-30 16:55:41 +00:00
Ark74
88b3f96c45 config: update data and version schema for ecne. 2024-04-07 02:00:09 +00:00
Ark74
751192b898 misc: initial removal of previous BUILD_UNTIL release. 2024-04-06 19:56:30 -06:00
Luis Guzmán
1cab53cfe5 firefox: set widget.gtk.libadwaita-colors.enabled to false. 2024-04-06 13:53:15 -06:00
1901 changed files with 18744 additions and 56778 deletions

View file

@ -13,7 +13,7 @@ Once a new package is added, it takes priority over the original one from Ubuntu
so they never enter into the repo from upstream and need to be so they never enter into the repo from upstream and need to be
compiled with this helpers and pushed into reprepro. compiled with this helpers and pushed into reprepro.
To add a package to the list, follow the [CONTRIBUTING](https://gitlab.trisquel.org/trisquel/package-helpers/blob/nabia/CONTRIBUTING.md) guidelines. To add a package to the list, follow the [CONTRIBUTING](CONTRIBUTING.md) guidelines.
## Steps ## Steps
@ -39,7 +39,7 @@ Those are the steps done by the helpers:
* You don't need to use sudo in order to run those scripts, but some extra packages are needed: * You don't need to use sudo in order to run those scripts, but some extra packages are needed:
`sudo apt-get install cdbs devscripts dpkg-dev git gnupg gnupg2 patch python2 quilt rename rpl sed python3-jsonschema` `sudo apt-get install cdbs devscripts dpkg-dev git gnupg gnupg2 patch quilt rename rpl sed python3-jsonschema`
* Take care to use the right sourcePackageName, many source packages produce * Take care to use the right sourcePackageName, many source packages produce
several binary packages. `apt-cache showsrc binary-package` can help you. several binary packages. `apt-cache showsrc binary-package` can help you.

View file

@ -0,0 +1,32 @@
diff --git a/debian/control b/debian/control
index b4734c95..e0aa528c 100644
--- a/debian/control
+++ b/debian/control
@@ -13,7 +13,7 @@ Vcs-Browser: https://salsa.debian.org/debian/7zip
Package: 7zip
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}
-Suggests: 7zip-standalone, 7zip-rar
+Suggests: 7zip-standalone
Breaks: p7zip-full (<= 16.02+dfsg-8), p7zip (<= 16.02+dfsg-8)
Replaces: p7zip-full (<= 16.02+dfsg-8), p7zip (<= 16.02+dfsg-8)
Provides: p7zip-full, p7zip
@@ -37,7 +37,6 @@ Description: 7-Zip file archiver with a high compression ratio
* /usr/bin/7zr: LZMA (.7z, .lzma, .xz) only. Minimal executable.
.
Note: The unRAR code was dropped to keep compatible with DFSG.
- Install 7zip-rar package in non-free section to use RAR files.
Package: 7zip-standalone
Architecture: any
@@ -49,8 +48,8 @@ Description: 7-Zip file archiver with a high compression ratio (standalone)
.
"7zip-standalone" provides:
* /usr/bin/7zz: Full featured except plugins, standalone executable.
- This means 7zz can't work with unRAR plugin that provided by 7zip-rar
- package. Use 7zip package for unRAR plugin.
+ This means 7zz can't work with the non-free unRAR plugin not
+ available at Trisquel repo.
.
Note: If you want to create SFX archive, you also needs 7zip package for SFX
stub module.

View file

@ -1,5 +1,5 @@
--- src/akregator_part.cpp 2020-06-05 11:41:23.000000000 -0500 --- a/src/akregator_part.cpp 2020-06-05 11:41:23.000000000 -0500
+++ src/akregator_part_trisquel.cpp 2020-06-05 12:46:05.914051386 -0500 +++ b/src/akregator_part.cpp 2020-06-05 12:46:05.914051386 -0500
@@ -189,6 +189,61 @@ @@ -189,6 +189,61 @@
wire.setAttribute(QStringLiteral("xmlUrl"), QStringLiteral("http://wire.kubuntu.org/?feed=rss2")); wire.setAttribute(QStringLiteral("xmlUrl"), QStringLiteral("http://wire.kubuntu.org/?feed=rss2"));
kubuntuFolder.appendChild(wire); kubuntuFolder.appendChild(wire);

View file

@ -0,0 +1,37 @@
From 70aed868a4ed76d74eecf3b210ce7bf3098ffab4 Mon Sep 17 00:00:00 2001
From: Jacob K <jacobk@disroot.org>
Date: Wed, 12 Feb 2025 12:19:24 -0600
Subject: [PATCH] Add some lines from Atril's profile to fix the screen reader
---
profiles/usr.bin.pidgin | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/profiles/usr.bin.pidgin b/profiles/usr.bin.pidgin
index 5e18702..085301c 100644
--- a/profiles/usr.bin.pidgin
+++ b/profiles/usr.bin.pidgin
@@ -8,6 +8,7 @@
#include <abstractions/bash>
#include <abstractions/dbus-session>
#include <abstractions/dbus-strict>
+ #include <abstractions/dbus-accessibility>
#include <abstractions/dconf>
#include <abstractions/enchant>
#include <abstractions/gnome>
@@ -82,6 +83,13 @@
owner @{PROC}/@{pid}/auxv r,
owner @{PROC}/@{pid}/fd/ r,
+ # These lines were copied from Atril's profile to make the screen reader functional
+ owner /{,var/}run/user/*/at-spi2-*/ rw,
+ owner /{,var/}run/user/*/at-spi2-*/** rw,
+ # Allow access to the non-abstract D-Bus socket used by at-spi > 2.42.0
+ # https://gitlab.gnome.org/GNOME/at-spi2-core/-/issues/43
+ owner /{,var/}run/user/*/at-spi/bus* rw,
+
# Site-specific additions and overrides. See local/README for details.
#include <local/usr.bin.pidgin>
}
--
2.25.1

View file

@ -0,0 +1,15 @@
Enable restricted dbus configuration usage by pidgin to fix MATE on Noble (Ecne) orca access.
diff --git a/profiles/usr.bin.pidgin b/profiles/usr.bin.pidgin
index 085301c6..78338084 100644
--- a/profiles/usr.bin.pidgin
+++ b/profiles/usr.bin.pidgin
@@ -49,7 +49,7 @@
# Uncomment the two following lines if you want to allow Pidgin to update
# any DConf setting:
# owner @{HOME}/.{cache,config}/dconf/user rw,
- # owner /{,var/}run/user/[0-9]*/dconf/user rwk,
+ owner /{,var/}run/user/[0-9]*/dconf/user rwk,
/{usr/,}bin/dash rix,
/{usr/,}bin/which rix,

View file

@ -0,0 +1,70 @@
diff --git a/profiles/apparmor.d/abrowser b/profiles/apparmor.d/abrowser
index c4b6337f..8a3ac9ec 100644
--- a/profiles/apparmor.d/abrowser
+++ b/profiles/apparmor.d/abrowser
@@ -4,9 +4,9 @@
abi <abi/4.0>,
include <tunables/global>
-profile firefox /{usr/lib/firefox{,-esr,-beta,-devedition,-nightly},opt/firefox}/firefox{,-esr,-bin} flags=(unconfined) {
+profile abrowser /{usr/lib/abrowser{,-esr,-beta,-devedition,-nightly},opt/abrowser}/abrowser{,-esr,-bin} flags=(unconfined) {
userns,
# Site-specific additions and overrides. See local/README for details.
- include if exists <local/firefox>
+ include if exists <local/abrowser>
}
diff --git a/profiles/apparmor.d/icedove b/profiles/apparmor.d/icedove
index 060eb24d..667b1674 100644
--- a/profiles/apparmor.d/icedove
+++ b/profiles/apparmor.d/icedove
@@ -4,9 +4,9 @@
abi <abi/4.0>,
include <tunables/global>
-profile thunderbird /usr/bin/thunderbird flags=(unconfined) {
+profile icedove /usr/bin/icedove flags=(unconfined) {
userns,
# Site-specific additions and overrides. See local/README for details.
- include if exists <local/thunderbird>
+ include if exists <local/icedove>
}
diff --git a/profiles/apparmor.d/icecat b/profiles/apparmor.d/icecat
index 4071c345..148e445e 100644
--- a/profiles/apparmor.d/icecat
+++ b/profiles/apparmor.d/icecat
@@ -4,9 +4,9 @@
abi <abi/4.0>,
include <tunables/global>
-profile firefox /{usr/lib/firefox{,-esr,-beta,-devedition,-nightly},opt/firefox}/firefox{,-esr,-bin} flags=(unconfined) {
+profile icecat /{usr/lib/icecat{,-esr,-beta,-devedition,-nightly},opt/icecat}/icecat{,-esr,-bin} flags=(unconfined) {
userns,
# Site-specific additions and overrides. See local/README for details.
- include if exists <local/firefox>
+ include if exists <local/icecat>
}
diff --git a/debian/apparmor.install b/debian/apparmor.install
index 9cdaa3a2..d9ee697c 100644
--- a/debian/apparmor.install
+++ b/debian/apparmor.install
@@ -68,6 +68,7 @@ etc/apparmor.d/sbuild-update
etc/apparmor.d/sbuild-upgrade
etc/apparmor.d/slirp4netns
etc/apparmor.d/stress-ng
+etc/apparmor.d/icedove
etc/apparmor.d/thunderbird
etc/apparmor.d/toybox
etc/apparmor.d/trinity
@@ -83,7 +84,9 @@ etc/apparmor.d/1password
etc/apparmor.d/Discord
etc/apparmor.d/MongoDB_Compass
etc/apparmor.d/code
+etc/apparmor.d/abrowser
etc/apparmor.d/firefox
+etc/apparmor.d/icecat
etc/apparmor.d/github-desktop
etc/apparmor.d/obsidian
etc/apparmor.d/opera

View file

@ -0,0 +1,173 @@
diff --git a/profiles/apparmor/profiles/extras/icecat b/profiles/apparmor/profiles/extras/icecat
index cbe1aa80..71813e99 100644
--- a/profiles/apparmor/profiles/extras/icecat
+++ b/profiles/apparmor/profiles/extras/icecat
@@ -14,7 +14,7 @@ abi <abi/4.0>,
include <tunables/global>
# Declare some variables to help with variants
-@{MOZ_APP_NAME}=firefox{,-esr}
+@{MOZ_APP_NAME}=icecat{,-esr}
@{MOZ_LIBDIR}=/usr/lib/@{MOZ_APP_NAME}{,-[0-9]*}
@{MOZ_ADDONDIR}=/usr/lib/{@{MOZ_APP_NAME},xulrunner}-addons
@@ -22,7 +22,7 @@ include <tunables/global>
# /usr/lib/firefox-4.0b8/firefox
# but not:
# /usr/lib/firefox-4.0b8/firefox.sh
-profile firefox @{MOZ_LIBDIR}/@{MOZ_APP_NAME}{,*[^s][^h]} {
+profile icecat @{MOZ_LIBDIR}/@{MOZ_APP_NAME}{,*[^s][^h]} {
include <abstractions/audio>
include <abstractions/cups-client>
include <abstractions/dbus-strict>
@@ -144,8 +144,8 @@ profile firefox @{MOZ_LIBDIR}/@{MOZ_APP_NAME}{,*[^s][^h]} {
/etc/wildmidi/wildmidi.cfg r,
# firefox specific
- /etc/firefox*/ r,
- /etc/firefox*/** r,
+ /etc/icecat*/ r,
+ /etc/icecat*/** r,
/etc/xul-ext/** r,
/etc/xulrunner{,-[0-9]*}/ r,
/etc/xulrunner{,-[0-9]*}/** r,
@@ -234,12 +234,12 @@ profile firefox @{MOZ_LIBDIR}/@{MOZ_APP_NAME}{,*[^s][^h]} {
owner @{HOME}/.thumbnails/*/*.png r,
# per-user firefox configuration
- owner @{HOME}/.{firefox,mozilla}/ rw,
- owner @{HOME}/.{firefox,mozilla}/** rw,
- owner @{HOME}/.{firefox,mozilla}/**/*.{db,parentlock,sqlite}* k,
- owner @{HOME}/.{firefox,mozilla}/plugins/** rm,
- owner @{HOME}/.{firefox,mozilla}/**/plugins/** rm,
- owner @{HOME}/.gnome2/firefox* rwk,
+ owner @{HOME}/.{icecat,mozilla}/ rw,
+ owner @{HOME}/.{icecat,mozilla}/** rw,
+ owner @{HOME}/.{icecat,mozilla}/**/*.{db,parentlock,sqlite}* k,
+ owner @{HOME}/.{icecat,mozilla}/plugins/** rm,
+ owner @{HOME}/.{icecat,mozilla}/**/plugins/** rm,
+ owner @{HOME}/.gnome2/icecat* rwk,
owner @{HOME}/.cache/mozilla/{,@{MOZ_APP_NAME}/} rw,
owner @{HOME}/.cache/mozilla/@{MOZ_APP_NAME}/** rw,
owner @{HOME}/.cache/mozilla/@{MOZ_APP_NAME}/**/*.sqlite{,-shm} k,
@@ -440,7 +440,7 @@ profile firefox @{MOZ_LIBDIR}/@{MOZ_APP_NAME}{,*[^s][^h]} {
owner @{HOME}/.mozilla/**/extensions/** mixr,
# Widevine CDM plugin (LP: #1777070)
- owner @{HOME}/.mozilla/firefox/*/gmp-widevinecdm/*/libwidevinecdm.so m,
+ owner @{HOME}/.mozilla/icecat/*/gmp-widevinecdm/*/libwidevinecdm.so m,
deny @{MOZ_LIBDIR}/update.test w,
deny /usr/lib/mozilla/extensions/**/ w,
@@ -458,7 +458,7 @@ profile firefox @{MOZ_LIBDIR}/@{MOZ_APP_NAME}{,*[^s][^h]} {
/usr/bin/lsb_release Pxr -> lsb_release,
- # These should be started outside of Firefox
+ # These should be started outside of icecat
deny /usr/bin/dbus-launch x,
deny /usr/bin/speech-dispatcher x,
@@ -466,6 +466,6 @@ profile firefox @{MOZ_LIBDIR}/@{MOZ_APP_NAME}{,*[^s][^h]} {
include if exists <abstractions/ubuntu-browsers.d/firefox>
# Site-specific additions and overrides. See local/README for details.
- include if exists <local/usr.bin.firefox>
- include if exists <local/firefox>
+ include if exists <local/usr.bin.icecat>
+ include if exists <local/icecat>
}
diff --git a/profiles/apparmor/profiles/extras/firefox b/profiles/apparmor/profiles/extras/abrowser
index cbe1aa80..2fb77651 100644
--- a/profiles/apparmor/profiles/extras/firefox
+++ b/profiles/apparmor/profiles/extras/abrowser
@@ -14,7 +14,7 @@ abi <abi/4.0>,
include <tunables/global>
# Declare some variables to help with variants
-@{MOZ_APP_NAME}=firefox{,-esr}
+@{MOZ_APP_NAME}=abrowser{,-esr}
@{MOZ_LIBDIR}=/usr/lib/@{MOZ_APP_NAME}{,-[0-9]*}
@{MOZ_ADDONDIR}=/usr/lib/{@{MOZ_APP_NAME},xulrunner}-addons
@@ -22,7 +22,7 @@ include <tunables/global>
# /usr/lib/firefox-4.0b8/firefox
# but not:
# /usr/lib/firefox-4.0b8/firefox.sh
-profile firefox @{MOZ_LIBDIR}/@{MOZ_APP_NAME}{,*[^s][^h]} {
+profile abrowser @{MOZ_LIBDIR}/@{MOZ_APP_NAME}{,*[^s][^h]} {
include <abstractions/audio>
include <abstractions/cups-client>
include <abstractions/dbus-strict>
@@ -144,8 +144,8 @@ profile firefox @{MOZ_LIBDIR}/@{MOZ_APP_NAME}{,*[^s][^h]} {
/etc/wildmidi/wildmidi.cfg r,
# firefox specific
- /etc/firefox*/ r,
- /etc/firefox*/** r,
+ /etc/abrowser*/ r,
+ /etc/abrowser*/** r,
/etc/xul-ext/** r,
/etc/xulrunner{,-[0-9]*}/ r,
/etc/xulrunner{,-[0-9]*}/** r,
@@ -234,12 +234,12 @@ profile firefox @{MOZ_LIBDIR}/@{MOZ_APP_NAME}{,*[^s][^h]} {
owner @{HOME}/.thumbnails/*/*.png r,
# per-user firefox configuration
- owner @{HOME}/.{firefox,mozilla}/ rw,
- owner @{HOME}/.{firefox,mozilla}/** rw,
- owner @{HOME}/.{firefox,mozilla}/**/*.{db,parentlock,sqlite}* k,
- owner @{HOME}/.{firefox,mozilla}/plugins/** rm,
- owner @{HOME}/.{firefox,mozilla}/**/plugins/** rm,
- owner @{HOME}/.gnome2/firefox* rwk,
+ owner @{HOME}/.{abrowser,mozilla}/ rw,
+ owner @{HOME}/.{abrowser,mozilla}/** rw,
+ owner @{HOME}/.{abrowser,mozilla}/**/*.{db,parentlock,sqlite}* k,
+ owner @{HOME}/.{abrowser,mozilla}/plugins/** rm,
+ owner @{HOME}/.{abrowser,mozilla}/**/plugins/** rm,
+ owner @{HOME}/.gnome2/abrowser* rwk,
owner @{HOME}/.cache/mozilla/{,@{MOZ_APP_NAME}/} rw,
owner @{HOME}/.cache/mozilla/@{MOZ_APP_NAME}/** rw,
owner @{HOME}/.cache/mozilla/@{MOZ_APP_NAME}/**/*.sqlite{,-shm} k,
@@ -440,7 +440,7 @@ profile firefox @{MOZ_LIBDIR}/@{MOZ_APP_NAME}{,*[^s][^h]} {
owner @{HOME}/.mozilla/**/extensions/** mixr,
# Widevine CDM plugin (LP: #1777070)
- owner @{HOME}/.mozilla/firefox/*/gmp-widevinecdm/*/libwidevinecdm.so m,
+ owner @{HOME}/.mozilla/abrowser/*/gmp-widevinecdm/*/libwidevinecdm.so m,
deny @{MOZ_LIBDIR}/update.test w,
deny /usr/lib/mozilla/extensions/**/ w,
@@ -458,7 +458,7 @@ profile firefox @{MOZ_LIBDIR}/@{MOZ_APP_NAME}{,*[^s][^h]} {
/usr/bin/lsb_release Pxr -> lsb_release,
- # These should be started outside of Firefox
+ # These should be started outside of abrowser
deny /usr/bin/dbus-launch x,
deny /usr/bin/speech-dispatcher x,
@@ -466,6 +466,6 @@ profile firefox @{MOZ_LIBDIR}/@{MOZ_APP_NAME}{,*[^s][^h]} {
include if exists <abstractions/ubuntu-browsers.d/firefox>
# Site-specific additions and overrides. See local/README for details.
- include if exists <local/usr.bin.firefox>
- include if exists <local/firefox>
+ include if exists <local/usr.bin.abrowser>
+ include if exists <local/abrowser>
}
diff --git a/debian/apparmor-profiles.install b/debian/apparmor-profiles.install
index 5cecd9dd..62531edb 100644
--- a/debian/apparmor-profiles.install
+++ b/debian/apparmor-profiles.install
@@ -88,8 +88,10 @@ usr/share/apparmor/extra-profiles/usr.lib.GConf.2.gconfd-2
usr/share/apparmor/extra-profiles/usr.lib.RealPlayer10.realplay
usr/share/apparmor/extra-profiles/usr.lib.bonobo.bonobo-activation-server
usr/share/apparmor/extra-profiles/usr.lib.evolution-data-server.evolution-data-server-1.10
+usr/share/apparmor/extra-profiles/abrowser
usr/share/apparmor/extra-profiles/firefox
usr/share/apparmor/extra-profiles/firefox.sh
+usr/share/apparmor/extra-profiles/icecat
usr/share/apparmor/extra-profiles/usr.lib.firefox.mozilla-xremote-client
usr/share/apparmor/extra-profiles/usr.lib.man-db.man
usr/share/apparmor/extra-profiles/postfix-anvil

View file

@ -0,0 +1,46 @@
diff --git a/profiles/apparmor/profiles/extras/firefox.sh b/profiles/apparmor/profiles/extras/firefox.sh
index fb75c5b6..7b23cd83 100644
--- a/profiles/apparmor/profiles/extras/firefox.sh
+++ b/profiles/apparmor/profiles/extras/firefox.sh
@@ -22,3 +22,41 @@ profile firefox.sh /usr/lib/firefox/firefox.sh {
# Site-specific additions and overrides. See local/README for details.
include if exists <local/firefox.sh>
}
+
+profile firefox.sh /usr/lib/abrowser/firefox.sh {
+ include <abstractions/base>
+ include <abstractions/bash>
+ include <abstractions/consoles>
+
+ deny capability sys_ptrace,
+
+ /{usr/,}bin/basename rix,
+ /{usr/,}bin/bash rix,
+ /{usr/,}bin/grep rix,
+ /etc/magic r,
+ /usr/bin/file rix,
+ /usr/lib/abrowser/abrowser px,
+ /usr/share/misc/magic.mgc r,
+
+ # Site-specific additions and overrides. See local/README for details.
+ include if exists <local/firefox.sh>
+}
+
+profile firefox.sh /usr/lib/icecat/firefox.sh {
+ include <abstractions/base>
+ include <abstractions/bash>
+ include <abstractions/consoles>
+
+ deny capability sys_ptrace,
+
+ /{usr/,}bin/basename rix,
+ /{usr/,}bin/bash rix,
+ /{usr/,}bin/grep rix,
+ /etc/magic r,
+ /usr/bin/file rix,
+ /usr/lib/icecat/icecat px,
+ /usr/share/misc/magic.mgc r,
+
+ # Site-specific additions and overrides. See local/README for details.
+ include if exists <local/firefox.sh>
+}

View file

@ -0,0 +1,54 @@
diff --git a/profiles/apparmor.d/transmission b/profiles/apparmor.d/transmission
index 6cd67adf..6aa4214a 100644
--- a/profiles/apparmor.d/transmission
+++ b/profiles/apparmor.d/transmission
@@ -5,7 +5,7 @@ abi <abi/4.0>,
include <tunables/global>
-profile transmission-daemon /usr/bin/transmission-daemon flags=(complain) {
+profile transmission-daemon /usr/bin/transmission-daemon flags=(complain,attach_disconnected) {
# Don't use abstractions/transmission-common here, as the
# access needed is narrower than the user applications
include <abstractions/base>
@@ -17,6 +17,8 @@ profile transmission-daemon /usr/bin/transmission-daemon flags=(complain) {
network inet stream,
network inet6 stream,
+ /usr/bin/transmission-daemon mr,
+
owner @{PROC}/@{pid}/mounts r,
@{PROC}/sys/kernel/random/uuid r,
@@ -42,17 +44,21 @@ profile transmission-cli /usr/bin/transmission-cli flags=(complain) {
include <abstractions/transmission-common>
include <abstractions/consoles>
+ /usr/bin/transmission-cli mr,
+
# Site-specific additions and overrides. See local/README for details.
include if exists <local/transmission>
include if exists <local/transmission-cli>
}
-profile transmission-gtk /usr/bin/transmission-gtk flags=(complain) {
+profile transmission-gtk /usr/bin/transmission-gtk flags=(complain,attach_disconnected) {
include <abstractions/transmission-common>
include <abstractions/dbus-session-strict>
include <abstractions/dconf>
include <abstractions/gnome>
+ /usr/bin/transmission-gtk mr,
+
owner @{run}/user/*/dconf/user w,
# Site-specific additions and overrides. See local/README for details.
@@ -70,6 +76,8 @@ profile transmission-qt /usr/bin/transmission-qt flags=(complain) {
include <abstractions/qt5>
include <abstractions/qt5-settings-write>
+ /usr/bin/transmission-qt mr,
+
# Site-specific additions and overrides. See local/README for details.
include if exists <local/transmission>
include if exists <local/transmission-qt>

View file

@ -1,26 +0,0 @@
From b5a7641dd3502fcfb897d3b96e197628b674ce3c Mon Sep 17 00:00:00 2001
From: Adrian Heine <mail@adrianheine.de>
Date: Mon, 23 Jan 2023 20:35:29 +0100
Subject: [PATCH] Add pipewire client.conf to audio abstractions
Fixes: https://bugs.launchpad.net/bugs/2003702
---
profiles/apparmor.d/abstractions/audio | 3 +++
1 file changed, 3 insertions(+)
diff --git a/profiles/apparmor.d/abstractions/audio b/profiles/apparmor.d/abstractions/audio
index 01493260d..dd783992d 100644
--- a/profiles/apparmor.d/abstractions/audio
+++ b/profiles/apparmor.d/abstractions/audio
@@ -85,5 +85,8 @@ owner @{HOME}/.local/share/openal/hrtf/{,**} r,
# wildmidi
/etc/wildmidi/wildmidi.cfg r,
+# pipewire
+/usr/share/pipewire/client.conf r,
+
# Include additions to the abstraction
include if exists <abstractions/audio.d>
--
GitLab

View file

@ -0,0 +1,122 @@
#!/bin/sh
set -e
. /usr/share/debconf/confmodule
file="$1"
log() {
logger -t apt-setup "$@"
}
warning() {
log "warning: $@"
}
# Ask if a mirror should be used if the base system can be installed from CD
if [ -e /cdrom/.disk/base_installable ] || [ "$OVERRIDE_BASE_INSTALLABLE" ]; then
if ! search-path choose-mirror; then
warning "choose-mirror is not available; cannot offer network mirror"
exit 1
fi
# Default to false if no network selected in netcfg
if db_get netcfg/dhcp_options && \
[ "$RET" = "Do not configure the network at this time" ]; then
use_mirror=false
fi
# Set default if no value (see Debian mirror generator)
db_get apt-setup/use_mirror
[ "$RET" ] || db_set apt-setup/use_mirror true
# Text is variable for Debian
db_metaget apt-mirror/use/netinst_old description
db_subst apt-setup/use_mirror EXPLANATION "$RET"
db_input medium apt-setup/use_mirror || [ $? -eq 30 ]
db_go # or exit 10
db_get apt-setup/use_mirror
if [ "$RET" = false ]; then
exit 1
fi
if db_get cdrom/codename && [ "$RET" ]; then
db_set mirror/codename $RET
fi
if db_get cdrom/suite && [ "$RET" ]; then
db_set mirror/suite $RET
fi
choose-mirror -n # no progress bar
fi
db_input low apt-setup/backports || true
dists="main"
db_get mirror/protocol
protocol="$RET"
db_get mirror/codename
codename="$RET"
db_get mirror/$protocol/hostname
hostname="$RET"
db_get mirror/$protocol/directory
directory="/${RET#/}"
if [ "$protocol" = http ]; then
db_get mirror/$protocol/proxy
proxy="$RET"
if [ -n "$proxy" ]; then
if ! grep -iq "Acquire::$protocol::Proxy" $ROOT/etc/apt/apt.conf.new; then
echo "Acquire::$protocol::Proxy \"$proxy\";" >> $ROOT/etc/apt/apt.conf.new
fi
fi
fi
# Trisquel: Deb822-first, keep legacy clean
: "${ROOT:=/target}"
SD="$ROOT/etc/apt/sources.list.d"
SF="$SD/trisquel.sources"
mkdir -p "$SD"
# Use keyring in /usr/share/keyrings
SIGNED_BY="/usr/share/keyrings/trisquel-archive-keyring.gpg"
# Canonical URI for Deb822 (trailing slash)
uri="$protocol://$hostname$directory"
case "$uri" in */) : ;; *) uri="$uri/";; esac
# Write Deb822 sources file in the requested structure
cat << EOF > "$SF"
# Trisquel repositories for supported software and updates
Types: deb
URIs: ${uri}
Suites: ${codename} ${codename}-updates ${codename}-security
Components: main
Signed-By: ${SIGNED_BY}
# Source package repositories
Types: deb-src
URIs: ${uri}
Suites: ${codename} ${codename}-updates ${codename}-security
Components: main
Signed-By: ${SIGNED_BY}
# Optional backports repository
Enabled: no
Types: deb deb-src
URIs: ${uri}
Suites: ${codename}-backports
Components: main
Signed-By: ${SIGNED_BY}
EOF
# Set legacy format for apt-setup to apply updates correctly.
{
echo "deb ${uri} ${codename} main"
echo "deb ${uri} ${codename}-updates main"
echo "deb ${uri} ${codename}-security main"
} >> "$file"
exit 0

View file

@ -0,0 +1,11 @@
#!/bin/sh
set -e
LEGACY=/target/etc/apt/sources.list
SD=/target/etc/apt/sources.list.d
if ls "$SD"/*.sources >/dev/null 2>&1; then
MSG="# Trisquel sources have moved to /etc/apt/sources.list.d/trisquel.sources"
printf '%s\n' "$MSG" > "$LEGACY"
fi
exit 0

View file

@ -0,0 +1,18 @@
#!/bin/sh
set -e
. /usr/share/debconf/confmodule
file="$1"
ROOT="${ROOT:-/target}"
LEGACY="$ROOT/etc/apt/sources.list"
SD="$ROOT/etc/apt/sources.list.d"
SAVETO="$ROOT/etc/apt/sources.list.new"
# If .sources exist, leave sources.list reduced only as a breadcrumb
if ls "$SD"/*.sources >/dev/null 2>&1; then
MSG="# Trisquel sources have moved to /etc/apt/sources.list.d/trisquel.sources"
: > "$SAVETO"
printf '%s\n' "$MSG" > "$file"
fi
exit 0

View file

@ -0,0 +1,50 @@
diff --git a/debian/apt-mirror-setup.templates b/debian/apt-mirror-setup.templates
index 85baf176..6b330b32 100644
--- a/debian/apt-mirror-setup.templates
+++ b/debian/apt-mirror-setup.templates
@@ -3,45 +3,7 @@ Type: text
# :sl1:
_Description: Scanning the mirror...
-Template: apt-setup/non-free-firmware
-Type: boolean
-Default: false
-# :sl5:
-_Description: Use non-free firmware?
- Firmware is a kind of software providing low-level control of certain
- hardware components (such as Wi-Fi cards or audio chipsets), which may not
- function fully or at all without it.
- .
- Although not at all part of Debian, some non-free firmware has been made to
- work with Debian. This firmware has varying licenses which restrict your
- freedoms to use, modify, or share the software, and generally does not have
- source forms that you may study.
- .
- Please choose whether you want to have it available anyway.
-Template: apt-setup/non-free
-Type: boolean
-Default: false
-# :sl1:
-_Description: Use non-free software?
- Some non-free software has been made to work with Debian. Though this
- software is not at all a part of Debian, standard Debian tools can be used
- to install it. This software has varying licenses which may prevent you
- from using, modifying, or sharing it.
- .
- Please choose whether you want to have it available anyway.
-
-Template: apt-setup/contrib
-Type: boolean
-Default: false
-# :sl1:
-_Description: Use contrib software?
- Some additional software has been made to work with Debian. Though this
- software is free, it depends on non-free software for its operation. This
- software is not a part of Debian, but standard Debian tools can be
- used to install it.
- .
- Please choose whether you want this software to be made available to you.
Template: apt-setup/mirror/error
Type: select

View file

@ -6,15 +6,11 @@
<!ENTITY keyring-master-filename "/usr/share/keyrings/trisquel-master-keyring.gpg"> <!ENTITY keyring-master-filename "/usr/share/keyrings/trisquel-master-keyring.gpg">
<!ENTITY keyring-uri "http://archive.trisquel.org/trisquel/trisquel-archive-signkey.gpg"> <!ENTITY keyring-uri "http://archive.trisquel.org/trisquel/trisquel-archive-signkey.gpg">
<!ENTITY sourceslist-list-format "deb http://archive.trisquel.org/trisquel &trisquel-codename; main <!ENTITY sourceslist-list-format "deb [signed-by=/usr/share/keyrings/trisquel-archive-keyring.gpg] http://archive.trisquel.org/trisquel &trisquel-codename; main
deb http://archive.trisquel.org/trisquel &trisquel-codename;-security main deb [signed-by=/usr/share/keyrings/trisquel-archive-keyring.gpg] http://archive.trisquel.org/trisquel &trisquel-codename;-security main
deb http://archive.trisquel.org/trisquel &trisquel-codename;-updates main"> deb [signed-by=/usr/share/keyrings/trisquel-archive-keyring.gpg] http://archive.trisquel.org/trisquel &trisquel-codename;-updates main">
<!ENTITY sourceslist-sources-format "Types: deb <!ENTITY sourceslist-sources-format "Types: deb
URIs: http://archive.trisquel.org/trisquel URIs: http://archive.trisquel.org/trisquel
Suites: &trisquel-codename; &trisquel-codename;-updates Suites: &trisquel-codename; &trisquel-codename;-security &trisquel-codename;-updates
Components: main Components: main
Signed-By: /usr/share/keyrings/trisquel-archive-keyring.gpg">
Types: deb
URIs: http://archive.trisquel.org/trisquel
Suites: &trisquel-codename;-security
Components: main">

View file

@ -1,10 +0,0 @@
# See sources.list(5) manpage for more information
# Remember that CD-ROMs, DVDs and such are managed through the apt-cdrom tool.
deb http://archive.trisquel.org/trisquel &trisquel-codename; main
deb-src http://archive.trisquel.org/trisquel &trisquel-codename; main
deb http://archive.trisquel.org/trisquel &trisquel-codename;-security main
deb-src http://archive.trisquel.org/trisquel &trisquel-codename;-security main
deb http://archive.trisquel.org/trisquel &trisquel-codename;-updates main
deb-src http://archive.trisquel.org/trisquel &trisquel-codename;-updates main

View file

@ -0,0 +1,40 @@
## Trisquel distribution repository
##
## The following settings can be adjusted to configure which packages to use from Trisquel.
## Mirror your choices (except for URIs and Suites) in the security section below to
## ensure timely security updates.
##
## Types: Append deb-src to enable the fetching of source package.
## URIs: A URL to the repository (you may add multiple URLs)
## Suites: The following additional suites can be configured
## <name>-updates - Major bug fix updates produced after the final release of the
## distribution.
## <name>-backports - software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Trisquel security team.
##
## See the sources.list(5) manual page for further settings.
# Trisquel repositories for supported software and updates
Types: deb
URIs: http://archive.trisquel.org/trisquel/
Suites: &trisquel-codename; &trisquel-codename;-updates &trisquel-codename;-security
Components: main
Signed-By: /usr/share/keyrings/trisquel-archive-keyring.gpg
# Uncomment to enable source package repositories
Types: deb-src
URIs: http://archive.trisquel.org/trisquel/
Suites: &trisquel-codename; &trisquel-codename;-updates &trisquel-codename;-security
Components: main
Signed-By: /usr/share/keyrings/trisquel-archive-keyring.gpg
# Uncomment to enable optional backports repository
Enabled: no
Types: deb deb-src
URIs: http://archive.trisquel.org/trisquel/
Suites: &trisquel-codename;-backports
Components: main
Signed-By: /usr/share/keyrings/trisquel-archive-keyring.gpg

View file

@ -171,11 +171,10 @@ diff -ruN a/src/interface.h b/src/interface.h
diff -ruN a/src/prefs.c b/src/prefs.c diff -ruN a/src/prefs.c b/src/prefs.c
--- a/src/prefs.c 2019-08-29 00:18:58.000000000 -0500 --- a/src/prefs.c 2019-08-29 00:18:58.000000000 -0500
+++ b/src/prefs.c 2021-06-27 16:07:27.299217038 -0500 +++ b/src/prefs.c 2021-06-27 16:07:27.299217038 -0500
@@ -127,8 +127,6 @@ @@ -127,7 +127,6 @@
p->wavpack_bitrate = 3; p->wavpack_bitrate = 3;
p->rip_monkey = 0; p->rip_monkey = 0;
p->monkey_compression = 2; p->monkey_compression = 2;
- p->rip_aac = 0;
- p->aac_quality = 60; - p->aac_quality = 60;
p->rip_musepack = 0; p->rip_musepack = 0;
p->musepack_bitrate = 2; p->musepack_bitrate = 2;

View file

@ -0,0 +1,350 @@
# vim:syntax=apparmor
# evince is not written with application confinement in mind and is designed to
# operate within a trusted desktop session where anything running within the
# user's session is trusted. That said, evince will often process untrusted
# input (PDFs, images, etc). Ideally evince would be written in such a way that
# image processing is separate from the main process and that processing
# happens in a restrictive sandbox, but unfortunately that is not currently the
# case. Because evince will process untrusted input, this profile aims to
# provide some hardening, but considering evince's design and other factors such
# as X, gsettings, accessibility, translations, DBus session and system
# services, etc, complete confinement is not possible.
#include <tunables/global>
/usr/bin/atril {
#include <abstractions/audio>
#include <abstractions/bash>
#include <abstractions/cups-client>
#include <abstractions/dbus-accessibility>
#include <abstractions/atril>
#include <abstractions/ibus>
#include <abstractions/nameservice>
#include <abstractions/ubuntu-browsers>
#include <abstractions/ubuntu-console-browsers>
#include <abstractions/ubuntu-email>
#include <abstractions/ubuntu-console-email>
#include <abstractions/ubuntu-media-players>
# allow atril to spawn browsers distributed as snaps (LP: #1794064)
#include <abstractions/snap_browsers>
# For now, let atril talk to any session services over dbus. We can
# blacklist any problematic ones (but note, evince uses libsecret :\)
#include <abstractions/dbus-session>
#include <abstractions/dbus-strict>
dbus (receive) bus=system,
# Allow getting information from various system services
dbus (send)
bus=system
member="Get*"
peer=(label=unconfined),
# Allow talking to avahi with whatever polkit allows
dbus (send)
bus=system
interface="org.freedesktop.Avahi{,.*}",
# Allow talking to colord with whatever polkit allows
dbus (send)
bus=system
interface="org.freedesktop.ColorManager{,.*}",
# Terminals for using console applications. These abstractions should ideally
# have 'ix' to restrict access to what only atril is allowed to do
#include <abstractions/ubuntu-gnome-terminal>
# By default, we won't support launching a terminal program in Xterm or
# KDE's konsole. It opens up too many unnecessary files for most users.
# People who need this functionality can uncomment the following:
##include <abstractions/ubuntu-xterm>
##include <abstractions/ubuntu-konsole>
/usr/bin/atril rmPx,
/usr/bin/atril-previewer Px,
/usr/bin/yelp Cx -> sanitized_helper,
/usr/bin/bug-buddy px,
# 'Show Containing Folder' (LP: #1022962)
/usr/bin/nautilus Cx -> sanitized_helper, # Gnome
/usr/bin/pcmanfm Cx -> sanitized_helper, # LXDE
/usr/bin/krusader Cx -> sanitized_helper, # KDE
/usr/bin/thunar Cx -> sanitized_helper, # XFCE
# Print Dialog
/usr/lib/@{multiarch}/libproxy/*/pxgsettings Cx -> sanitized_helper,
# For Xubuntu to launch the browser
#include <abstractions/exo-open>
# For text attachments
/usr/bin/gedit ixr,
# For Send to
/usr/bin/nautilus-sendto Cx -> sanitized_helper,
# GLib desktop launch helper (used under the hood by g_app_info_launch)
/usr/lib/@{multiarch}/glib-[0-9]*/gio-launch-desktop rmix,
/usr/bin/env ixr,
# allow directory listings (ie 'r' on directories) so browsing via the file
# dialog works
/ r,
/**/ r,
# This is need for saving files in your home directory without an extension.
# Changing this to '@{HOME}/** r' makes it require an extension and more
# secure (but with 'rw', we still have abstractions/private-files-strict in
# effect).
owner @{HOME}/** rw,
owner /media/** rw,
owner @{HOME}/.local/share/gvfs-metadata/** l,
owner /{,var/}run/user/*/gvfs-metadata/** l,
# Maybe add to an abstraction?
/etc/dconf/** r,
owner @{HOME}/.cache/dconf/user rw,
owner @{HOME}/.config/dconf/user r,
owner @{HOME}/.config/enchant/* rk,
owner /{,var/}run/user/*/dconf/ w,
owner /{,var/}run/user/*/dconf/user rw,
owner /{,var/}run/user/*/dconf-service/keyfile/ w,
owner /{,var/}run/user/*/dconf-service/keyfile/user rw,
owner /{,var/}run/user/*/at-spi2-*/ rw,
owner /{,var/}run/user/*/at-spi2-*/** rw,
# Allow access to the non-abstract D-Bus socket used by at-spi > 2.42.0
# https://gitlab.gnome.org/GNOME/at-spi2-core/-/issues/43
owner /{,var/}run/user/*/at-spi/bus* rw,
# from http://live.gnome.org/Evince/SupportedDocumentFormats. Allow
# read and write for all supported file formats
/**.[aA][iI] rw,
/**.[bB][mM][pP] rw,
/**.[dD][jJ][vV][uU] rw,
/**.[dD][vV][iI] rw,
/**.[gG][iI][fF] rw,
/**.[jJ][pP][gG] rw,
/**.[jJ][pP][eE][gG] rw,
/**.[oO][dD][pP] rw,
/**.[fFpP][dD][fF] rw,
/**.[pP][nN][mM] rw,
/**.[pP][nN][gG] rw,
/**.[pP][sS] rw,
/**.[eE][pP][sS] rw,
/**.[tT][iI][fF] rw,
/**.[tT][iI][fF][fF] rw,
/**.[xX][pP][mM] rw,
/**.[gG][zZ] rw,
/**.[bB][zZ]2 rw,
/**.[cC][bB][rRzZ7] rw,
/**.[xX][zZ] rw,
# atril creates a temporary stream file like '.goutputstream-XXXXXX' in the
# directory a file is saved. This allows that behavior.
owner /**/.goutputstream-* w,
# allow atril to spawn browsers distributed as snaps (LP: #1794064)
/{,snap/core/[0-9]*/,snap/snapd/[0-9]*/}usr/bin/snap mrCx -> snap_browsers,
}
/usr/bin/atril-previewer {
#include <abstractions/audio>
#include <abstractions/bash>
#include <abstractions/cups-client>
#include <abstractions/dbus-accessibility>
#include <abstractions/atril>
#include <abstractions/ibus>
#include <abstractions/nameservice>
#include <abstractions/ubuntu-browsers>
#include <abstractions/ubuntu-console-browsers>
#include <abstractions/ubuntu-email>
#include <abstractions/ubuntu-console-email>
#include <abstractions/ubuntu-media-players>
# For now, let atril talk to any session services over dbus. We can
# blacklist any problematic ones (but note, evince uses libsecret :\)
#include <abstractions/dbus-session>
#include <abstractions/dbus-strict>
dbus (receive) bus=system,
# Allow getting information from various system services
dbus (send)
bus=system
member="Get*"
peer=(label=unconfined),
# Allow talking to avahi with whatever polkit allows
dbus (send)
bus=system
interface="org.freedesktop.Avahi{,.*}",
# Allow talking to colord with whatever polkit allows
dbus (send)
bus=system
interface="org.freedesktop.ColorManager{,.*}",
# Terminals for using console applications. These abstractions should ideally
# have 'ix' to restrict access to what only atril is allowed to do
#include <abstractions/ubuntu-gnome-terminal>
# By default, we won't support launching a terminal program in Xterm or
# KDE's konsole. It opens up too many unnecessary files for most users.
# People who need this functionality can uncomment the following:
##include <abstractions/ubuntu-xterm>
/usr/bin/atril-previewer mr,
/usr/bin/yelp Cx -> sanitized_helper,
/usr/bin/bug-buddy px,
# Lenient, but remember we still have abstractions/private-files-strict in
# effect). Write is needed for 'print to file' from the previewer.
@{HOME}/ r,
@{HOME}/** rw,
# Maybe add to an abstraction?
owner /{,var/}run/user/*/dconf/ w,
owner /{,var/}run/user/*/dconf/user rw,
}
/usr/bin/atril-thumbnailer {
#include <abstractions/base>
#include <abstractions/private-files-strict>
#include <abstractions/fonts>
deny @{HOME}/.{,cache/}fontconfig/** wl,
deny @{HOME}/missfont.log wl,
#include <abstractions/dbus-session-strict>
dbus (receive) bus=session,
dbus (send)
bus=session
path="/org/gtk/vfs/mounttracker"
interface="org.gtk.vfs.MountTracker"
member="ListMountableInfo"
peer=(label=unconfined),
# updating gvfs-metadata for thumbnails is unneeded, so explicitly deny it
deny dbus (send)
bus=session
path="/org/gtk/vfs/metadata"
interface="org.gtk.vfs.Metadata"
member="GetTreeFromDevice"
peer=(label=unconfined),
deny @{HOME}/.local/share/gvfs-metadata/* r,
dbus (send)
bus=session
path="/org/gtk/vfs/Daemon"
interface="org.gtk.vfs.Daemon"
member="List*"
peer=(label=unconfined),
# The thumbnailer doesn't need access to everything in the nameservice
# abstraction. Allow reading of /etc/passwd and /etc/group, but suppress
# logging denial of nsswitch.conf.
/etc/passwd r,
/etc/group r,
deny /etc/nsswitch.conf r,
# TCP/UDP network access for NFS
network inet stream,
network inet6 stream,
network inet dgram,
network inet6 dgram,
/etc/papersize r,
/usr/bin/atril-thumbnailer mr,
/etc/texmf/ r,
/etc/texmf/** r,
/etc/xpdf/* r,
/usr/bin/gs-esp ixr,
# Silence these denials since 'no new privs' drops transitions to
# sanitized_helper, we don't want all those perms in the thumbnailer
# and the thumbnailer generates thumbnails without these just fine.
deny /usr/bin/mktexpk x,
deny /usr/bin/mktextfm x,
deny /usr/bin/dvipdfm x,
deny /usr/bin/dvipdfmx x,
deny /usr/bin/mkofm x,
# supported archivers
/{usr/,}bin/gzip ixr,
/{usr/,}bin/bzip2 ixr,
/usr/bin/unrar* ixr,
/usr/bin/unzip ixr,
/usr/bin/7zr ixr,
/usr/lib/p7zip/7zr ixr,
/usr/bin/7za ixr,
/usr/lib/p7zip/7za ixr,
/usr/bin/zipnote ixr,
/{usr/,}bin/tar ixr,
/usr/bin/xz ixr,
# miscellaneous access for the above
owner @{PROC}/@{pid}/fd/ r,
owner @{PROC}/@{pid}/mountinfo r,
/sys/devices/system/cpu/ r,
# allow read access to anything in /usr/share, for plugins and input methods
/usr/local/share/** r,
/usr/share/** r,
/usr/lib/ghostscript/** mr,
/var/lib/ghostscript/** r,
/var/lib/texmf/** r,
# from http://live.gnome.org/Evince/SupportedDocumentFormats. Allow
# read for all supported file formats
/**.[bB][mM][pP] r,
/**.[dD][jJ][vV][uU] r,
/**.[dD][vV][iI] r,
/**.[gG][iI][fF] r,
/**.[jJ][pP][gG] r,
/**.[jJ][pP][eE][gG] r,
/**.[oO][dD][pP] r,
/**.[fFpP][dD][fF] r,
/**.[pP][nN][mM] r,
/**.[pP][nN][gG] r,
/**.[pP][sS] r,
/**.[eE][pP][sS] r,
/**.[eE][pP][sS][fFiI23] r,
/**.[tT][iI][fF] r,
/**.[tT][iI][fF][fF] r,
/**.[xX][pP][mM] r,
/**.[gG][zZ] r,
/**.[bB][zZ]2 r,
/**.[cC][bB][rRzZ7] r,
/**.[xX][zZ] r,
owner @{HOME}/.texlive*/** r,
owner @{HOME}/.texmf*/** r,
owner @{HOME}/.local/share/{,flatpak/exports/share/}mime/** r,
owner @{HOME}/.local/share/{,flatpak/exports/share/}mime/** r,
# With the network rules above, this allows data exfiltration for files
# not covered by private-files-strict.
@{HOME}/ r,
owner @{HOME}/[^.]** r,
owner /media/** r,
owner /tmp/.gnome_desktop_thumbnail* w,
owner /tmp/gnome-desktop-* rw,
owner /tmp/atril-thumbnailer*/{,**} rw,
# these happen post pivot_root
/ r,
deny /missfont.log w,
# Add apparmor rule for mate's caja - LP#1798091
owner /tmp/.mate_desktop_thumbnail* w,
owner /tmp/mate-desktop-thumbnailer* w,
# Fix thumbnail issue #915024
owner @{HOME}/.cache/thumbnails/** rw,
owner /tmp/atril-thumbnailer* rw,
}

View file

@ -0,0 +1,127 @@
# vim:syntax=apparmor
#
# abstraction used by atril binaries
#
#include <abstractions/gnome>
#include <abstractions/p11-kit>
#include <abstractions/ubuntu-helpers>
@{PROC}/[0-9]*/fd/ r,
@{PROC}/[0-9]*/mountinfo r,
owner @{PROC}/[0-9]*/auxv r,
owner @{PROC}/[0-9]*/status r,
# Doesn't seem to be required, but noisy. Maybe allow 'r' for 'b*' if needed.
# Possibly move to an abstraction if anything else needs it.
deny /run/udev/data/** r,
# move out to the gnome abstraction if anyone else needs these
/etc/udev/udev.conf r,
/sys/devices/**/block/**/uevent r,
# apport
/etc/default/apport r,
# XFCE
/etc/xfce4/defaults.list r,
# Lubuntu
/etc/xdg/lubuntu/applications/defaults.list r,
# atril specific
/etc/ r,
/etc/fstab r,
/etc/texmf/ r,
/etc/texmf/** r,
/etc/xpdf/* r,
owner @{HOME}/.config/atril/ rw,
owner @{HOME}/.config/atril/** rwkl,
/usr/bin/gs-esp ixr,
/usr/bin/mktexpk Cx -> sanitized_helper,
/usr/bin/mktextfm Cx -> sanitized_helper,
/usr/bin/dvipdfm Cx -> sanitized_helper,
/usr/bin/dvipdfmx Cx -> sanitized_helper,
# gio-launch-desktop was replaced by a very small shell script
/{usr/,}bin/{dash,bash} ixr,
# supported archivers
/{usr/,}bin/gzip ixr,
/{usr/,}bin/bzip2 ixr,
/usr/bin/unrar* ixr,
/usr/bin/unzip ixr,
/usr/bin/7zr ixr,
/usr/lib/p7zip/7zr ixr,
/usr/bin/7za ixr,
/usr/lib/p7zip/7za ixr,
/usr/bin/zipnote ixr,
/{usr/,}bin/tar ixr,
/usr/bin/xz ixr,
# allow read access to anything in /usr/share, for plugins and input methods
/usr/local/share/** r,
/usr/share/** r,
/usr/lib/ghostscript/** mr,
/var/lib/ghostscript/** r,
/var/lib/texmf/{,**} r,
# from http://live.gnome.org/Evince/SupportedDocumentFormats. Allow
# read for all supported file formats
/**.[aA][iI] r,
/**.[bB][mM][pP] r,
/**.[dD][jJ][vV][uU] r,
/**.[dD][vV][iI] r,
/**.[gG][iI][fF] r,
/**.[jJ][pP][gG] r,
/**.[jJ][pP][eE][gG] r,
/**.[oO][dD][pP] r,
/**.[fFpP][dD][fF] r,
/**.[pP][nN][mM] r,
/**.[pP][nN][gG] r,
/**.[pP][sS] r,
/**.[eE][pP][sS] r,
/**.[eE][pP][sS][fFiI23] r,
/**.[tT][iI][fF] r,
/**.[tT][iI][fF][fF] r,
/**.[xX][pP][mM] r,
/**.[gG][zZ] r,
/**.[bB][zZ]2 r,
/**.[cC][bB][rRzZ7] r,
/**.[xX][zZ] r,
# Use abstractions/private-files instead of abstractions/private-files-strict
# and add the sensitive files manually to work around LP: #451422. The goal
# is to disallow access to the .mozilla folder in general, but to allow
# access to the Cache directory, which the browser may tell atril to open
# from directly.
#include <abstractions/private-files>
audit deny @{HOME}/.gnupg/{,**} mrwkl,
audit deny @{HOME}/.ssh/{,**} mrwkl,
audit deny @{HOME}/.gnome2_private/{,**} mrwkl,
audit deny @{HOME}/.gnome2/ w,
audit deny @{HOME}/.gnome2/keyrings/{,**} mrwkl,
audit deny @{HOME}/.kde/{,share/,share/apps/} w,
audit deny @{HOME}/.kde/share/apps/kwallet/{,**} mrwkl,
audit deny @{HOME}/.pki/{,nssdb/} w,
audit deny @{HOME}/.pki/nssdb/{,**} wl,
audit deny @{HOME}/.mozilla/{,**/} w,
audit deny @{HOME}/.mozilla/*/*/* mrwkl,
audit deny @{HOME}/.mozilla/**/bookmarkbackups/{,**} mrwkl,
audit deny @{HOME}/.mozilla/**/chrome/{,**} mrwkl,
audit deny @{HOME}/.mozilla/**/extensions/{,**} mrwkl,
audit deny @{HOME}/.mozilla/**/gm_scripts/{,**} mrwkl,
audit deny @{HOME}/.config/ w,
audit deny @{HOME}/.config/chromium/{,**} mrwkl,
audit deny @{HOME}/.config/evolution/{,**} mrwkl,
audit deny @{HOME}/.evolution/{,**} mrwkl,
audit deny @{HOME}/.kde/{,share/,share/apps/} w,
audit deny @{HOME}/.kde/share/config/{,**} mrwkl,
audit deny @{HOME}/.kde/share/apps/kmail/{,**} mrwkl,
audit deny @{HOME}/.{,mozilla-}thunderbird/{,**/} w,
audit deny @{HOME}/.{,mozilla-}thunderbird/*/* mrwkl,
audit deny @{HOME}/.{,mozilla-}thunderbird/*/[^C][^a][^c][^h][^e]*/{,**} mrwkl,

View file

@ -0,0 +1,21 @@
'''apport package hook for atril
(c) 2024 Luis Guzmán
Author:
Luis Guzmán <ark@switnet.org>
based on evince's hook
'''
from apport.hookutils import *
from os import path
import re
def add_info(report):
attach_conffiles(report, 'atril')
attach_related_packages(report, ['apparmor', 'libapparmor1',
'libapparmor-perl', 'apparmor-utils', 'auditd', 'libaudit1'])
attach_mac_events(report, ['/usr/bin/atril',
'/usr/bin/atril-previewer',
'/usr/bin/atril-thumbnailer'])

View file

@ -0,0 +1,29 @@
diff --git a/debian/rules b/debian/rules
old mode 100755
new mode 100644
index 8a7ff87..655c574
--- a/debian/rules
+++ b/debian/rules
@@ -52,3 +52,9 @@ override_dh_auto_configure:
get-orig-source:
uscan --noconf --force-download --rename --download-current-version --destdir=..
+
+execute_after_dh_install:
+ install -m 0644 -D debian/apparmor-profile debian/atril/etc/apparmor.d/usr.bin.atril
+ install -m 0644 -D debian/apparmor-profile.abstraction debian/atril/etc/apparmor.d/abstractions/atril
+ install -m 0644 -D debian/atril.apport debian/atril/usr/share/apport/package-hooks/source_atril.py
+ dh_apparmor --profile-name=usr.bin.atril -patril
diff --git a/debian/control b/debian/control
index f5bda53..6d72cc9 100644
--- a/debian/control
+++ b/debian/control
@@ -9,6 +9,7 @@ Uploaders: Mike Gabriel <sunweaver@debian.org>,
Vangelis Mouhtsis <vangelis@gnugr.org>,
Martin Wimpress <code@flexion.org>,
Build-Depends: debhelper-compat (= 13),
+ dh-apparmor,
dpkg-dev (>= 1.16.1.1),
gobject-introspection,
intltool,

View file

@ -1,214 +0,0 @@
Patch based on https://github.com/AyatanaIndicators/ayatana-indicator-sound/pull/92
For Trisquel 11.0, Aramo - ayatana-indicator-sound - 22.2.0-2
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ac370b2..095c953 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,5 +1,5 @@
-project(ayatana-indicator-sound C CXX)
-cmake_minimum_required(VERSION 3.13)
+cmake_minimum_required (VERSION 3.13)
+project (ayatana-indicator-sound VERSION 22.2.0 LANGUAGES C CXX)
if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
SET(CMAKE_INSTALL_PREFIX "/usr" CACHE PATH "..." FORCE)
@@ -7,8 +7,6 @@ endif(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake" "${CMAKE_MODULE_PATH}")
-set(PACKAGE ${CMAKE_PROJECT_NAME})
-set(PROJECT_VERSION 22.2.0)
find_package(PkgConfig REQUIRED)
include(GNUInstallDirs)
include(UseVala)
diff --git a/src/info-notification.vala b/src/info-notification.vala
index ce92a2a..3a36e52 100644
--- a/src/info-notification.vala
+++ b/src/info-notification.vala
@@ -1,6 +1,6 @@
/*
* Copyright 2015 Canonical Ltd.
- * Copyright 2021 Robert Tari
+ * Copyright 2021-2023 Robert Tari
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -30,22 +30,26 @@ public class IndicatorSound.InfoNotification: Notification
public void show (VolumeControl.ActiveOutput active_output,
double volume,
bool is_high_volume) {
- if (!notify_server_supports ("x-canonical-private-synchronous"))
- return;
/* Determine Label */
- unowned string volume_label = get_notification_label (active_output);
+ string volume_label = get_notification_label (active_output);
/* Choose an icon */
unowned string icon = get_volume_notification_icon (active_output, volume, is_high_volume);
/* Reset the notification */
var n = _notification;
+
+ uint nChars = ((int32)((volume * 20) + 0.5)).clamp(0, 20);
+ volume_label += "\n";
+
+ for (uint nChar = 0; nChar < nChars; nChar++)
+ {
+ volume_label += "◼";
+ }
+
n.update (_("Volume"), volume_label, icon);
n.clear_hints();
- n.set_hint ("x-lomiri-non-shaped-icon", "true");
- n.set_hint ("x-canonical-private-synchronous", "true");
- n.set_hint ("x-lomiri-value-bar-tint", is_high_volume ? "true" : "false");
n.set_hint ("value", ((int32)((volume * 100.0) + 0.5)).clamp(0, 100));
show_notification ();
}
diff --git a/src/warn-notification.vala b/src/warn-notification.vala
index 6a08431..203758e 100644
--- a/src/warn-notification.vala
+++ b/src/warn-notification.vala
@@ -1,5 +1,6 @@
/*
* Copyright 2015 Canonical Ltd.
+ * Copyright 2021-2023 Robert Tari
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,6 +16,7 @@
*
* Authors:
* Charles Kerr <charles.kerr@canonical.com>
+ * Robert Tari <robert@tari.in>
*/
public class IndicatorSound.WarnNotification: Notification
@@ -31,9 +33,6 @@ public class IndicatorSound.WarnNotification: Notification
_("Volume"),
_("Allow volume above safe level?\nHigh volume can damage your hearing."),
"audio-volume-high");
- n.set_hint ("x-lomiri-non-shaped-icon", "true");
- n.set_hint ("x-lomiri-snap-decisions", "true");
- n.set_hint ("x-lomiri-private-affirmative-tint", "true");
n.closed.connect ((n) => {
n.clear_actions ();
});
diff --git a/tests/integration/indicator-sound-test-base.cpp b/tests/integration/indicator-sound-test-base.cpp
index 3ecd856..eb4ee8c 100644
--- a/tests/integration/indicator-sound-test-base.cpp
+++ b/tests/integration/indicator-sound-test-base.cpp
@@ -1,6 +1,6 @@
/*
* Copyright 2015 Canonical Ltd.
- * Copyright 2021 Robert Tari
+ * Copyright 2021-2023 Robert Tari
*
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 3, as published
@@ -72,7 +72,7 @@ void IndicatorSoundTestBase::SetUp()
"GetCapabilities",
"",
"as",
- "ret = ['actions', 'body', 'body-markup', 'icon-static', 'image/svg+xml', 'x-canonical-private-synchronous', 'x-canonical-append', 'x-canonical-private-icon-only', 'x-canonical-truncation', 'private-synchronous', 'append', 'private-icon-only', 'truncation']"
+ "ret = ['actions', 'body', 'body-markup', 'icon-static', 'image/svg+xml', 'private-synchronous', 'append', 'private-icon-only', 'truncation']"
).waitForFinished();
int waitedTime = 0;
@@ -647,14 +647,8 @@ void IndicatorSoundTestBase::checkVolumeNotification(double volume, QString cons
QVariantMap hints;
ASSERT_TRUE(qDBusArgumentToMap(args.at(6), hints));
ASSERT_TRUE(hints.contains("value"));
- ASSERT_TRUE(hints.contains("x-lomiri-non-shaped-icon"));
- ASSERT_TRUE(hints.contains("x-lomiri-value-bar-tint"));
- ASSERT_TRUE(hints.contains("x-canonical-private-synchronous"));
EXPECT_EQ(volume*100, hints["value"]);
- EXPECT_EQ(true, hints["x-lomiri-non-shaped-icon"]);
- EXPECT_EQ(isLoud, hints["x-lomiri-value-bar-tint"]);
- EXPECT_EQ(true, hints["x-canonical-private-synchronous"]);
}
void IndicatorSoundTestBase::checkHighVolumeNotification(QVariantList call)
diff --git a/tests/notifications-mock.h b/tests/notifications-mock.h
index 49b2e66..3ae8da5 100644
--- a/tests/notifications-mock.h
+++ b/tests/notifications-mock.h
@@ -1,6 +1,6 @@
/*
* Copyright 2015 Canonical Ltd.
- * Copyright 2021 Robert Tari
+ * Copyright 2021-2023 Robert Tari
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -31,7 +31,7 @@ class NotificationsMock
DbusTestDbusMockObject * baseobj = nullptr;
public:
- NotificationsMock (const std::vector<std::string>& capabilities = {"actions", "body", "body-markup", "icon-static", "image/svg+xml", "x-canonical-private-synchronous", "x-canonical-append", "x-canonical-private-icon-only", "x-canonical-truncation", "private-synchronous", "append", "private-icon-only", "truncation"}) {
+ NotificationsMock (const std::vector<std::string>& capabilities = {"actions", "body", "body-markup", "icon-static", "image/svg+xml", "private-synchronous", "append", "private-icon-only", "truncation"}) {
mock = dbus_test_dbus_mock_new("org.freedesktop.Notifications");
dbus_test_task_set_bus(DBUS_TEST_TASK(mock), DBUS_TEST_SERVICE_BUS_SESSION);
dbus_test_task_set_name(DBUS_TEST_TASK(mock), "Notify");
diff --git a/tests/notifications-test.cc b/tests/notifications-test.cc
index a9fa55d..92f4672 100644
--- a/tests/notifications-test.cc
+++ b/tests/notifications-test.cc
@@ -1,6 +1,6 @@
/*
* Copyright 2015-2016 Canonical Ltd.
- * Copyright 2021 Robert Tari
+ * Copyright 2021-2023 Robert Tari
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -259,7 +259,6 @@ TEST_F(NotificationsTest, VolumeChanges) {
EXPECT_EQ("ayatana-indicator-sound", notev[0].app_name);
EXPECT_EQ("Volume", notev[0].summary);
EXPECT_EQ(0, notev[0].actions.size());
- EXPECT_GVARIANT_EQ("@s 'true'", notev[0].hints["x-canonical-private-synchronous"]);
EXPECT_GVARIANT_EQ("@i 50", notev[0].hints["value"]);
/* Set a different volume */
@@ -432,7 +431,6 @@ TEST_F(NotificationsTest, DISABLED_HighVolume) {
ASSERT_EQ(1, notev.size());
EXPECT_EQ("Volume", notev[0].summary);
EXPECT_EQ("Speakers", notev[0].body);
- EXPECT_GVARIANT_EQ("@s 'false'", notev[0].hints["x-lomiri-value-bar-tint"]);
/* Set high volume with volume change */
notifications->clearNotifications();
@@ -443,7 +441,6 @@ TEST_F(NotificationsTest, DISABLED_HighVolume) {
ASSERT_LT(0, notev.size()); /* This passes with one or two since it would just be an update to the first if a second was sent */
EXPECT_EQ("Volume", notev[0].summary);
EXPECT_EQ("Speakers", notev[0].body);
- EXPECT_GVARIANT_EQ("@s 'true'", notev[0].hints["x-lomiri-value-bar-tint"]);
/* Move it back */
volume_warning_mock_set_high_volume(VOLUME_WARNING_MOCK(volumeWarning.get()), false);
@@ -513,7 +510,6 @@ TEST_F(NotificationsTest, DISABLED_ExtendendVolumeNotification) {
EXPECT_EQ("ayatana-indicator-sound", notev[0].app_name);
EXPECT_EQ("Volume", notev[0].summary);
EXPECT_EQ(0, notev[0].actions.size());
- EXPECT_GVARIANT_EQ("@s 'true'", notev[0].hints["x-canonical-private-synchronous"]);
EXPECT_GVARIANT_EQ("@i 50", notev[0].hints["value"]);
/* Allow an amplified volume */
@@ -628,14 +624,10 @@ TEST_F(NotificationsTest, DISABLED_TriggerWarning) {
if (warning_expected) {
EXPECT_TRUE(volume_warning_get_active(volumeWarning.get()));
ASSERT_EQ(1, notev.size());
- EXPECT_GVARIANT_EQ("@s 'true'", notev[0].hints["x-lomiri-snap-decisions"]);
- EXPECT_GVARIANT_EQ(nullptr, notev[0].hints["x-canonical-private-synchronous"]);
}
else {
EXPECT_FALSE(volume_warning_get_active(volumeWarning.get()));
ASSERT_EQ(1, notev.size());
- EXPECT_GVARIANT_EQ(nullptr, notev[0].hints["x-lomiri-snap-decisions"]);
- EXPECT_GVARIANT_EQ("@s 'true'", notev[0].hints["x-canonical-private-synchronous"]);
}
} // multimedia_active

View file

@ -3,7 +3,7 @@ arch_get_kernel_flavour () {
} }
arch_check_usable_kernel () { arch_check_usable_kernel () {
if echo "$1" | grep -q -e "signed" -e "edge" -e "hwe-16.04"; then return 1; fi if echo "$1" | grep -q -e "signed" -e "edge" -e "hwe-@REVISION@"; then return 1; fi
if echo "$1" | grep -Eq -- "-(server|generic|virtual|xen|preempt|rt)(-.*)?$"; then return 0; fi if echo "$1" | grep -Eq -- "-(server|generic|virtual|xen|preempt|rt)(-.*)?$"; then return 0; fi
return 1 return 1
@ -14,24 +14,24 @@ arch_get_kernel () {
echo "linux-generic" echo "linux-generic"
echo "linux-image-generic" echo "linux-image-generic"
echo "linux-generic-hwe-20.04" echo "linux-generic-hwe-@REVISION@"
echo "linux-image-generic-hwe-20.04" echo "linux-image-generic-hwe-@REVISION@"
echo "linux-lowlatency" echo "linux-lowlatency"
echo "linux-image-lowlatency" echo "linux-image-lowlatency"
echo "linux-lowlatency-hwe-20.04" echo "linux-lowlatency-hwe-@REVISION@"
echo "linux-image-lowlatency-hwe-20.04" echo "linux-image-lowlatency-hwe-@REVISION@"
echo "linux-oem-20.04" echo "linux-oem-@REVISION@"
echo "linux-image-oem-20.04" echo "linux-image-oem-@REVISION@"
echo "linux-virtual" echo "linux-virtual"
echo "linux-image-virtual" echo "linux-image-virtual"
echo "linux-image-extra-virtual" echo "linux-image-extra-virtual"
echo "linux-virtual-hwe-20.04" echo "linux-virtual-hwe-@REVISION@"
echo "linux-image-virtual-hwe-20.04" echo "linux-image-virtual-hwe-@REVISION@"
echo "linux-image-extra-virtual-hwe-20.04" echo "linux-image-extra-virtual-hwe-@REVISION@"
} }

View file

@ -1,5 +1,5 @@
--- source/library.sh 2022-07-14 15:09:08.482389439 -0500 --- a/library.sh 2022-07-14 15:09:08.482389439 -0500
+++ source/library.sh_upd 2022-07-14 15:19:40.056073944 -0500 +++ b/library.sh 2022-07-14 15:19:40.056073944 -0500
@@ -345,9 +345,15 @@ @@ -345,9 +345,15 @@
kernel_update_list () { kernel_update_list () {

View file

@ -0,0 +1,108 @@
diff --git a/kernel/arm64.sh b/kernel/arm64.sh
index a5a5ec4a..9d5e07b4 100644
--- a/kernel/arm64.sh
+++ b/kernel/arm64.sh
@@ -1,5 +1,8 @@
+# Adjusted for Trisquel: use 'generic' flavour on all supported architectures,
+# matching Ubuntu's kernel packaging.
+
arch_get_kernel_flavour () {
- echo "arm64"
+ echo "generic"
return 0
}
@@ -15,5 +18,5 @@ arch_check_usable_kernel () {
}
arch_get_kernel () {
- echo "linux-image-arm64"
+ echo "linux-image-generic"
}
diff --git a/kernel/armhf.sh b/kernel/armhf.sh
index 389a416d..b998770e 100644
--- a/kernel/armhf.sh
+++ b/kernel/armhf.sh
@@ -1,3 +1,6 @@
+# Adjusted for Trisquel: use 'generic' flavour on all supported architectures,
+# matching Ubuntu's kernel packaging.
+
arch_has_lpae () {
if grep -q '^Features.*\blpae\b' "$CPUINFO"; then
echo y
@@ -8,16 +11,13 @@ arch_has_lpae () {
arch_get_kernel_flavour () {
case "$SUBARCH" in
- omap|mx5|vexpress)
- echo "$SUBARCH armmp"
- return 0 ;;
generic|efi)
case `arch_has_lpae` in
y)
- echo "armmp-lpae armmp"
+ echo "generic-lpae generic"
;;
n)
- echo "armmp"
+ echo "generic"
;;
esac
return 0 ;;
diff --git a/kernel/ppc64el.sh b/kernel/ppc64el.sh
index f21bdab2..2a5a0c5a 100644
--- a/kernel/ppc64el.sh
+++ b/kernel/ppc64el.sh
@@ -1,5 +1,8 @@
+# Adjusted for Trisquel: use 'generic' flavour on all supported architectures,
+# matching Ubuntu's kernel packaging.
+
arch_get_kernel_flavour () {
- echo powerpc64le
+ echo generic
return 0
}
@@ -8,5 +11,5 @@ arch_check_usable_kernel () {
}
arch_get_kernel () {
- echo "linux-image-powerpc64le"
+ echo "linux-image-generic"
}
diff --git a/kernel/riscv64.sh b/kernel/riscv64.sh
index 9fa410e0..982555ef 100644
--- a/kernel/riscv64.sh
+++ b/kernel/riscv64.sh
@@ -4,10 +4,13 @@
# The riscv64 architecture has only a single unified multiplatform kernel
# (which uses "riscv64" as its flavour name). Therefore we don't need to
-# differentiate between multiple flavours here.
+# differentiate between multiple flavours here. (Debian)
+
+## Adjusted for Trisquel: use 'generic' flavour on all supported architectures,
+## matching Ubuntu's kernel packaging.
arch_get_kernel_flavour () {
- echo riscv64
+ echo generic
}
arch_check_usable_kernel () {
@@ -17,7 +20,7 @@ arch_check_usable_kernel () {
# Don't show debug packages in the kernel selection list.
return 1
;;
- *-riscv64 | *-riscv64-*)
+ *-generic | *-generic-*)
return 0
;;
*)
@@ -28,5 +31,5 @@ arch_check_usable_kernel () {
arch_get_kernel () {
# parameters: $1=flavour
- echo "linux-image-riscv64"
+ echo "linux-image-generic"
}

View file

@ -0,0 +1,66 @@
diff --git a/kernel/tests/arm64/foundation.test b/kernel/tests/arm64/foundation.test
index 30027845..882eb192 100644
--- a/kernel/tests/arm64/foundation.test
+++ b/kernel/tests/arm64/foundation.test
@@ -1,12 +1,12 @@
subarch generic
cpuinfo foundation.cpuinfo
-flavour arm64
+flavour generic
majors 3.10
machine aarch64
kernel-3.10 \
- linux-image-arm64
+ linux-image-generic
usable \
- linux-image-arm64 \
- linux-image-3.14-1-arm64
+ linux-image-generic \
+ linux-image-3.14-1-generic
unusable \
- linux-image-3.14-1-arm64-dbg
+ linux-image-3.14-1-generic-dbg
diff --git a/kernel/tests/arm64/mustang.test b/kernel/tests/arm64/mustang.test
index 80ab19f7..e58c06aa 100644
--- a/kernel/tests/arm64/mustang.test
+++ b/kernel/tests/arm64/mustang.test
@@ -1,12 +1,12 @@
subarch generic
cpuinfo mustang.cpuinfo
-flavour arm64
+flavour generic
majors 3.10
machine aarch64
kernel-3.10 \
- linux-image-arm64
+ linux-image-generic
usable \
- linux-image-arm64 \
- linux-image-3.14-1-arm64
+ linux-image-generic \
+ linux-image-3.14-1-generic
unusable \
- linux-image-3.14-1-arm64-dbg
+ linux-image-3.14-1-generic-dbg
diff --git a/kernel/tests/arm64/qemu-virt.test b/kernel/tests/arm64/qemu-virt.test
index 87c39c47..2d880f5c 100644
--- a/kernel/tests/arm64/qemu-virt.test
+++ b/kernel/tests/arm64/qemu-virt.test
@@ -1,12 +1,12 @@
subarch generic
cpuinfo qemu-virt.cpuinfo
-flavour arm64
+flavour generic
majors 3.10
machine aarch64
kernel-3.10 \
- linux-image-arm64
+ linux-image-generic
usable \
- linux-image-arm64 \
- linux-image-3.14-1-arm64
+ linux-image-generic \
+ linux-image-3.14-1-generic
unusable \
- linux-image-3.14-1-arm64-dbg
+ linux-image-3.14-1-generic-dbg

View file

@ -0,0 +1,143 @@
diff --git a/kernel/tests/armhf/efikamx.test b/kernel/tests/armhf/efikamx.test
deleted file mode 100644
index 3fa4eeef..00000000
--- a/kernel/tests/armhf/efikamx.test
+++ /dev/null
@@ -1,19 +0,0 @@
-subarch mx5
-cpuinfo efikamx.cpuinfo
-majors 5.7
-flavour mx5 armmp
-kernel-5.7 linux-image-mx5 linux-image-armmp
-usable \
- linux-image-mx5 \
- linux-image-5.7.0-1-mx5 \
- linux-image-armmp \
- linux-image-5.7.0-1-armmp
-unusable \
- linux-image-armmp-lpae \
- linux-image-netwinder \
- linux-image-orion5x \
- linux-image-rpc \
- linux-image-s3c2410 \
- linux-image-kirkwood \
- linux-image-vexpress \
- linux-image-5.7.0-1-armmp-dbg
diff --git a/kernel/tests/armhf/highbank.test b/kernel/tests/armhf/highbank.test
index 1f68d466..37a42821 100644
--- a/kernel/tests/armhf/highbank.test
+++ b/kernel/tests/armhf/highbank.test
@@ -1,14 +1,14 @@
subarch generic
cpuinfo highbank.cpuinfo
majors 5.7
-flavour armmp
+flavour generic
kernel-5.7 \
- linux-image-armmp
+ linux-image-generic
usable \
- linux-image-armmp \
- linux-image-5.7.0-1-armmp
+ linux-image-generic \
+ linux-image-5.7.0-1-generic
unusable \
- linux-image-armmp-lpae \
+ linux-image-generic-lpae \
linux-image-netwinder \
linux-image-orion5x \
linux-image-rpc \
@@ -16,4 +16,4 @@ unusable \
linux-image-kirkwood \
linux-image-mx5 \
linux-image-vexpress \
- linux-image-5.7.0-1-armmp-dbg
+ linux-image-5.7.0-1-generic-dbg
diff --git a/kernel/tests/armhf/midway-no-lpae.test b/kernel/tests/armhf/midway-no-lpae.test
index 04db5356..056ff08f 100644
--- a/kernel/tests/armhf/midway-no-lpae.test
+++ b/kernel/tests/armhf/midway-no-lpae.test
@@ -1,14 +1,14 @@
subarch generic
cpuinfo midway-no-lpae.cpuinfo
majors 5.7
-flavour armmp
+flavour generic
kernel-5.7 \
- linux-image-armmp
+ linux-image-generic
usable \
- linux-image-armmp \
- linux-image-5.7.0-1-armmp
+ linux-image-generic \
+ linux-image-5.7.0-1-generic
unusable \
- linux-image-armmp-lpae \
+ linux-image-generic-lpae \
linux-image-netwinder \
linux-image-orion5x \
linux-image-rpc \
@@ -16,4 +16,4 @@ unusable \
linux-image-kirkwood \
linux-image-mx5 \
linux-image-vexpress \
- linux-image-5.7.0-1-armmp-dbg
+ linux-image-5.7.0-1-generic-dbg
diff --git a/kernel/tests/armhf/midway.test b/kernel/tests/armhf/midway.test
index 6a789a1b..a5213a4a 100644
--- a/kernel/tests/armhf/midway.test
+++ b/kernel/tests/armhf/midway.test
@@ -1,15 +1,15 @@
subarch generic
cpuinfo midway.cpuinfo
majors 5.7
-flavour armmp-lpae armmp
+flavour generic-lpae generic
kernel-5.7 \
- linux-image-armmp-lpae \
- linux-image-armmp
+ linux-image-generic-lpae \
+ linux-image-generic
usable \
- linux-image-armmp \
- linux-image-5.7.0-1-armmp \
- linux-image-armmp-lpae \
- linux-image-5.7.0-1-armmp-lpae
+ linux-image-generic \
+ linux-image-5.7.0-1-generic \
+ linux-image-generic-lpae \
+ linux-image-5.7.0-1-generic-lpae
unusable \
linux-image-netwinder \
linux-image-orion5x \
@@ -18,4 +18,4 @@ unusable \
linux-image-kirkwood \
linux-image-mx5 \
linux-image-vexpress \
- linux-image-5.7.0-1-armmp-dbg
+ linux-image-5.7.0-1-generic-dbg
diff --git a/kernel/tests/armhf/vexpress.test b/kernel/tests/armhf/vexpress.test
deleted file mode 100644
index 19d38dd4..00000000
--- a/kernel/tests/armhf/vexpress.test
+++ /dev/null
@@ -1,19 +0,0 @@
-subarch vexpress
-cpuinfo vexpress.cpuinfo
-majors 5.7
-flavour vexpress armmp
-kernel-5.7 linux-image-vexpress linux-image-armmp
-usable \
- linux-image-vexpress \
- linux-image-3.2.0-4-vexpress \
- linux-image-armmp \
- linux-image-5.7.0-1-armmp
-unusable \
- linux-image-armmp-lpae \
- linux-image-netwinder \
- linux-image-orion5x \
- linux-image-rpc \
- linux-image-s3c2410 \
- linux-image-kirkwood \
- linux-image-mx5 \
- linux-image-5.7.0-1-armmp-dbg

View file

@ -0,0 +1,36 @@
diff --git a/kernel/tests/ppc64el/postal.test b/kernel/tests/ppc64el/postal.test
index 9878d14f..33f7c0e3 100644
--- a/kernel/tests/ppc64el/postal.test
+++ b/kernel/tests/ppc64el/postal.test
@@ -1,9 +1,9 @@
subarch chrp_ibm
cpuinfo postal.cpuinfo
majors 5.7
-flavour powerpc64le
+flavour generic
kernel-5.7 \
- linux-image-powerpc64le
+ linux-image-generic
usable \
- linux-image-powerpc64le \
- linux-image-3.14-1-powerpc64le
+ linux-image-generic \
+ linux-image-3.14-1-generic
diff --git a/kernel/tests/ppc64el/powernv.test b/kernel/tests/ppc64el/powernv.test
index 3e7d2250..77b5505a 100644
--- a/kernel/tests/ppc64el/powernv.test
+++ b/kernel/tests/ppc64el/powernv.test
@@ -1,9 +1,9 @@
subarch chrp_ibm
cpuinfo powernv.cpuinfo
majors 5.7
-flavour powerpc64le
+flavour generic
kernel-5.7 \
- linux-image-powerpc64le
+ linux-image-generic
usable \
- linux-image-powerpc64le \
- linux-image-3.14-1-powerpc64le
+ linux-image-generic \
+ linux-image-3.14-1-generic

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

File diff suppressed because it is too large Load diff

Before

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

View file

@ -66,16 +66,6 @@ diff -ru a/doc/cleaner_markup_language.xsd b/doc/cleaner_markup_language.xsd
<xs:enumeration value="delete"/> <xs:enumeration value="delete"/>
<xs:enumeration value="dnf.autoremove"/> <xs:enumeration value="dnf.autoremove"/>
<xs:enumeration value="dnf.clean_all"/> <xs:enumeration value="dnf.clean_all"/>
diff -ru source/PKG-INFO source_fix/PKG-INFO
--- a/PKG-INFO 2021-11-13 15:05:48.000000000 -0600
+++ b/PKG-INFO 2022-04-10 16:28:47.450145458 -0500
@@ -7,5 +7,5 @@
Author-email: andrew@bleachbit.org
License: GPLv3
Download-URL: https://www.bleachbit.org/download
-Description: BleachBit frees space and maintains privacy by quickly wiping files you don't need and didn't know you had. Supported applications include Edge, Firefox, Google Chrome, VLC, and many others.
+Description: BleachBit frees space and maintains privacy by quickly wiping files you don't need and didn't know you had. Supported applications include Firefox, VLC, and many others.
Platform: Linux and Windows; Python v2.6 and 2.7; GTK v3.12+
diff -ru source/setup.py source_fix/setup.py diff -ru source/setup.py source_fix/setup.py
--- a/setup.py 2021-11-13 15:05:47.000000000 -0600 --- a/setup.py 2021-11-13 15:05:47.000000000 -0600
+++ b/setup.py 2022-04-10 16:34:51.418739031 -0500 +++ b/setup.py 2022-04-10 16:34:51.418739031 -0500
@ -88,3 +78,14 @@ diff -ru source/setup.py source_fix/setup.py
# #
# begin win32com.shell workaround for py2exe # begin win32com.shell workaround for py2exe
diff --git a/PKG-INFO b/PKG-INFO
index e7605a5c..1cb44f88 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -10,5 +10,5 @@ Download-URL: https://www.bleachbit.org/download
Platform: Linux and Windows; Python v2.6 and 2.7; GTK v3.12+
License-File: COPYING
-BleachBit frees space and maintains privacy by quickly wiping files you don't need and didn't know you had. Supported applications include Edge, Firefox, Google Chrome, VLC, and many others.
+BleachBit frees space and maintains privacy by quickly wiping files you don't need and didn't know you had. Supported applications include Abrowser, VLC, and many others.

View file

@ -0,0 +1,61 @@
#!/bin/sh
PREREQ=""
DESCRIPTION="Enabling Live apparmor profiles..."
prereqs()
{
echo "$PREREQ"
}
case $1 in
# get pre-requisites
prereqs)
prereqs
exit 0
;;
esac
. /scripts/casper-functions
log_begin_msg "$DESCRIPTION"
RC_EXIST=0
if [ ! -e /root/etc/rc.local ]; then
umask 022
mkdir -p /root/etc
cat << 'EOF' > /root/etc/rc.local
#!/bin/sh
exit 0
EOF
chmod 755 /root/etc/rc.local
RC_EXIST=1
fi
if [ "$RC_EXIST" -eq 0 ]; then
head -n1 /root/etc/rc.local | grep -q '^#!' || sed -i '1s|^|#!/bin/sh\n|' /root/etc/rc.local
sed -i 's/\r$//' /root/etc/rc.local
chmod 755 /root/etc/rc.local
fi
if ! grep -q 'BEGIN trisquel-live-apparmor' /root/etc/rc.local 2>/dev/null; then
sed -i '/^exit 0$/d' /root/etc/rc.local
cat << 'EOF' >> /root/etc/rc.local
# --- BEGIN trisquel-live-apparmor ---
if [ -d /rofs ]; then
/usr/lib/casper/casper-apparmor-live || true
fi
# --- END trisquel-live-apparmor ---
EOF
echo 'exit 0' >> /root/etc/rc.local
fi
mkdir -p /root/etc/apt/apt.conf.d
cat << 'APT' > /root/etc/apt/apt.conf.d/99-apparmor-live-hook
# /etc/apt/apt.conf.d/99-apparmor-live-hook
DPkg::Post-Invoke { "sh -c '[ -d /rofs ] && /usr/lib/casper/casper-apparmor-live || true'"; };
APT
chmod 644 /root/etc/apt/apt.conf.d/99-apparmor-live-hook
log_end_msg

View file

@ -1,6 +1,8 @@
--- a/scripts/casper 2023-02-13 23:53:18.908768968 -0600 diff --git a/scripts/casper b/scripts/casper
+++ b/scripts/casper 2023-02-21 03:28:55.176581755 -0600 index 36a724d2..1b9a6faf 100644
@@ -376,18 +376,18 @@ --- a/scripts/casper
+++ b/scripts/casper
@@ -379,18 +379,18 @@ do_interactive_netmount() {
# maybe make livecd-rootfs embed something in the casper initrd? # maybe make livecd-rootfs embed something in the casper initrd?
case $PRETTY_NAME in case $PRETTY_NAME in
*development*) *development*)
@ -12,14 +14,14 @@
*) *)
case $DPKG_ARCH in case $DPKG_ARCH in
amd64) amd64)
- server_url=https://releases.ubuntu.com/$UBUNTU_CODENAME/ubuntu-$VERSION_ID-live-server-$DPKG_ARCH.iso - server_url=https://releases.ubuntu.com/$UBUNTU_CODENAME/ubuntu-$VERSION_ID-latest-live-server-$DPKG_ARCH.iso
- desktop_url=https://releases.ubuntu.com/$UBUNTU_CODENAME/ubuntu-$VERSION_ID-desktop-$DPKG_ARCH.iso - desktop_url=https://releases.ubuntu.com/$UBUNTU_CODENAME/ubuntu-$VERSION_ID-latest-desktop-$DPKG_ARCH.iso
+ server_url=http://cdimage.trisquel.org/trisquel-images/${ID}-netinst_${VERSION_ID}_${DPKG_ARCH}.iso + server_url=http://cdimage.trisquel.org/trisquel-images/${ID}-netinst_${VERSION_ID}_${DPKG_ARCH}.iso
+ desktop_url=http://cdimage.trisquel.org/trisquel-images/${ID}_${VERSION_ID}_${DPKG_ARCH}.iso + desktop_url=http://cdimage.trisquel.org/trisquel-images/${ID}_${VERSION_ID}_${DPKG_ARCH}.iso
;; ;;
*) *)
- server_url=http://cdimage.ubuntu.com/releases/$UBUNTU_CODENAME/release/ubuntu-$VERSION_ID-live-server-$DPKG_ARCH.iso - server_url=http://cdimage.ubuntu.com/releases/$UBUNTU_CODENAME/release/ubuntu-$VERSION_ID-latest-live-server-$DPKG_ARCH.iso
- desktop_url=http://cdimage.ubuntu.com/releases/$UBUNTU_CODENAME/release/ubuntu-$VERSION_ID-desktop-$DPKG_ARCH.iso - desktop_url=http://cdimage.ubuntu.com/releases/$UBUNTU_CODENAME/release/ubuntu-$VERSION_ID-latest-desktop-$DPKG_ARCH.iso
+ server_url=http://cdimage.trisquel.org/trisquel-images/${ID}-netinst_${VERSION_ID}_${DPKG_ARCH}.iso + server_url=http://cdimage.trisquel.org/trisquel-images/${ID}-netinst_${VERSION_ID}_${DPKG_ARCH}.iso
+ desktop_url=http://cdimage.trisquel.org/trisquel-images/${ID}_${VERSION_ID}_${DPKG_ARCH}.iso + desktop_url=http://cdimage.trisquel.org/trisquel-images/${ID}_${VERSION_ID}_${DPKG_ARCH}.iso
;; ;;

View file

@ -0,0 +1,13 @@
diff --git a/scripts/casper-bottom/34disable_kde_services b/scripts/casper-bottom/34disable_kde_services
index f368ec2e..caa76986 100755
--- a/scripts/casper-bottom/34disable_kde_services
+++ b/scripts/casper-bottom/34disable_kde_services
@@ -20,7 +20,7 @@ esac
log_begin_msg "$DESCRIPTION"
-for pkg in kubuntu-default-settings ubuntustudio; do
+for pkg in triskel-default-settings kubuntu-default-settings ubuntustudio; do
settingsdir="/root/usr/share/$pkg/kf5-settings"
[ -d "$settingsdir" ] || continue
printf "[Daemon]\nTimeout=0\nAutolock=false\nLockOnResume=false\n" >> "$settingsdir"/kscreenlockerrc

View file

@ -0,0 +1,29 @@
diff --git a/debian/casper.install b/debian/casper.install
index 5eb58de8..248d17d0 100644
--- a/debian/casper.install
+++ b/debian/casper.install
@@ -10,4 +10,5 @@ bin/casper-update-initramfs usr/share/casper
hooks usr/share/initramfs-tools
scripts usr/share/initramfs-tools
casper-md5check/casper-md5check usr/lib/casper
+extra/casper-apparmor-live usr/lib/casper
casper.conf etc
diff --git a/extra/casper-apparmor-live b/extra/casper-apparmor-live
new file mode 100755
index 00000000..c11b80ad
--- /dev/null
+++ b/extra/casper-apparmor-live
@@ -0,0 +1,13 @@
+#!/bin/sh
+# /usr/lib/casper/casper-apparmor-live
+[ -d /rofs ] || exit 0
+find /etc/apparmor.d -type f \
+ ! -path "/etc/apparmor.d/abstractions/*" \
+ ! -path "/etc/apparmor.d/tunables/*" \
+ ! -path "/etc/apparmor.d/local/*" \
+ ! -path "/etc/apparmor.d/disable/*" \
+ ! -path "/etc/apparmor.d/rsyslog.d/*" \
+ ! -path "/etc/apparmor.d/force-complain/*" \
+ ! -path "/etc/apparmor.d/apache2.d/*" \
+ ! -path "/etc/apparmor.d/abi/*" \
+ -print0 | xargs -0 -r -n1 apparmor_parser -r -T -W || true

View file

@ -1,53 +0,0 @@
diff --git a/bin/casper-snapshot b/bin/casper-snapshot
index ab075292..33243f63 100755
--- a/bin/casper-snapshot
+++ b/bin/casper-snapshot
@@ -33,7 +33,7 @@ VERSION=0.0.1
if [ -e /etc/casper.conf ]; then
. /etc/casper.conf
else
- USERNAME=$(cat /etc/passwd | grep "999" | cut -f1 -d ':')
+ USERNAME=$(cat /etc/passwd | grep "1000" | cut -f1 -d ':')
HOSTNAME=$(hostname)
BUILD_SYSTEM="Debian"
fi
diff --git a/scripts/casper-bottom/15autologin b/scripts/casper-bottom/15autologin
index d6c75e66..c80e2058 100755
--- a/scripts/casper-bottom/15autologin
+++ b/scripts/casper-bottom/15autologin
@@ -90,9 +90,6 @@ if [ -f /root/usr/bin/sddm ]; then
sddm_session=QLubuntu.desktop
fi
cat >>/root/etc/sddm.conf <<EOF
-[Users]
-MinimumUid=999
-
[Autologin]
User=$USERNAME
Session=$sddm_session
diff --git a/scripts/casper-bottom/25adduser b/scripts/casper-bottom/25adduser
index 8320e710..efbf5677 100755
--- a/scripts/casper-bottom/25adduser
+++ b/scripts/casper-bottom/25adduser
@@ -57,7 +57,8 @@ db_set passwd/root-password-crypted '*'
db_set passwd/user-password-crypted U6aMy0wojraho
db_set passwd/user-fullname "$USERFULLNAME"
db_set passwd/username "$USERNAME"
-db_set passwd/user-uid 999
+# Per LP: #2004092, systemd uses 995-999
+db_set passwd/user-uid 1000
chroot /root /usr/lib/user-setup/user-setup-apply > /dev/null
if [ ! -f /root/usr/bin/sddm ]; then
@@ -93,11 +94,6 @@ for file in /usr/share/applications/ubiquity.desktop /usr/share/applications/kde
fi
done
-# GDM
-if [ -d /root/etc/gdm3 ]; then
- sed -i '/^[UG]ID_MIN/s/\<1000$/ 999/' /root/etc/login.defs
-fi
-
# Kubuntu
if [ -f "/root/usr/bin/plasma-desktop" ]; then
if [ -f "/root/usr/share/kde4/apps/khelpcenter/plugins/kubuntu/a_welcome.desktop" ]; then

View file

@ -0,0 +1,96 @@
diff --git a/src/modules/frontend/newt/newt.c b/src/modules/frontend/newt/newt.c
index 838ff2f..ee754a2 100644
--- a/src/modules/frontend/newt/newt.c
+++ b/src/modules/frontend/newt/newt.c
@@ -72,6 +72,47 @@ struct newt_data {
struct question *scale_info;
};
+struct newtColors newtAltColorPalette = {
+ /*"white", "blue",*/ /* root fg, bg */
+ "white", "black", /* root fg, bg */
+ /*"black", "lightgray",*/ /* border fg, bg */
+ "white", "black", /* border fg, bg */
+ /*"black", "lightgray",*/ /* window fg, bg */
+ "white", "black", /* window fg, bg */
+ /*"white", "black",*/ /* shadow fg, bg */
+ "white", "black", /* shadow fg, bg */
+ /*"red", "lightgray",*/ /* title fg, bg */
+ "yellow", "black", /* title fg, bg */
+ /*"brightred", "gray",*/ /* button fg, bg */
+ "black", "lightgray", /* button fg, bg */
+ "gray", "brightred", /* active button fg, bg */
+ "white", "gray", /* checkbox fg, bg */
+ /*"yellow", "brown",*/ /* active checkbox fg, bg */
+ "black", "lightgray", /* active checkbox fg, bg */
+ /*"yellow", "blue",*/ /* entry box fg, bg */
+ "white", "black", /* entry box fg, bg */
+ /*"blue", "lightgray",*/ /* label fg, bg */
+ "brightred", "black", /* label fg, bg */
+ /*"black", "lightgray",*/ /* listbox fg, bg */
+ "white", "black", /* listbox fg, bg */
+ "yellow", "blue", /* active listbox fg, bg */
+ /*"black", "lightgray",*/ /* textbox fg, bg */
+ "white", "black", /* textbox fg, bg */
+ "lightgray", "black", /* active textbox fg, bg */
+ /*"white", "blue",*/ /* help line */
+ "white", "black", /* help line */
+ "yellow", "blue", /* root text */
+ /*"blue",*/ /* scale full */
+ "black", /* scale full */
+ /*"red",*/ /* scale empty */
+ "blue", /* scale empty */
+ "blue", "lightgray", /* disabled entry fg, bg */
+ /*"black", "lightgray",*/ /* compact button fg, bg */
+ "white", "black", /* compact button fg, bg */
+ "black", "lightgray", /* active & sel listbox */
+ "black", "brown" /* selected listbox */
+};
+
typedef int (newt_handler)(struct frontend *obj, struct question *q);
struct newt_help_callback_data {
@@ -153,6 +194,7 @@ cdebconf_newt_setup(void)
{
SLang_init_tty(0, 1, 0); /* disable flow control */
newtInit();
+ newtSetColors(newtAltColorPalette);
newtCls();
}
@@ -1078,7 +1120,7 @@ newt_handler_error(struct frontend *obj, struct question *q)
{
char *oldrootBg, *oldshadowBg, *oldhelpLineFg, *oldhelpLineBg;
int ret;
- struct newtColors palette = newtDefaultColorPalette;
+ struct newtColors palette = newtAltColorPalette;
oldrootBg = palette.rootBg;
oldshadowBg = palette.shadowBg;
@@ -1148,22 +1190,15 @@ newt_initialize(struct frontend *obj, struct configuration *conf)
{
int width = 80, height = 24;
const char *palette;
- const char *base = "/etc/newt/palette";
- char *path;
obj->interactive = 1;
obj->data = calloc(1, sizeof(struct newt_data));
SLang_init_tty(0, 1, 0); /* disable flow control */
- palette = getenv("FRONTEND_BACKGROUND");
- if (palette != NULL && asprintf(&path, "%s.%s", base, palette) >= 0) {
- /* Establish a symlink from /etc/newt/palette to
- * /etc/newt/palette.$FRONTEND_BACKGROUND
- */
- unlink(base);
- link(path, base);
- free(path);
- }
newtInit();
+ palette = getenv("FRONTEND_BACKGROUND");
+ if (palette == NULL || strcmp(palette, "dark") != 0)
+ newtAltColorPalette = newtDefaultColorPalette;
+ newtSetColors(newtAltColorPalette);
newtGetScreenSize(&width, &height);
newtFinished();
return DC_OK;

View file

@ -0,0 +1,96 @@
diff --git a/debian/control b/debian/control
index 0b67d83..de3d32e 100644
--- a/debian/control
+++ b/debian/control
@@ -83,7 +82,6 @@ Priority: standard
Depends: ${shlibs:Depends}, ${misc:Depends}
Provides: debconf-2.0
Package-Type: udeb
-Build-Profiles: <!noudeb>
Description: Debian Configuration Management System (C-implementation)
Debconf is a configuration management system for Debian packages. It is
used by some packages to prompt you for information before they are
@@ -99,7 +97,6 @@ Section: debian-installer
Priority: standard
Depends: cdebconf-udeb, ${misc:Depends}
Package-Type: udeb
-Build-Profiles: <!noudeb>
XB-Installer-Menu-Item: 93000
Description: Change debconf priority
This is a udeb that allows you to change the priority limit for the
@@ -110,7 +107,6 @@ Architecture: any
Section: debian-installer
Depends: ${shlibs:Depends}, ${misc:Depends}, cdebconf-udeb
Package-Type: udeb
-Build-Profiles: <!noudeb>
Description: Debian Configuration Management System (C-implementation)
Debconf is a configuration management system for Debian packages. It is
used by some packages to prompt you for information before they are
@@ -124,7 +120,6 @@ Architecture: any
Section: debian-installer
Depends: cdebconf-udeb, ${shlibs:Depends}, ${misc:Depends}
Package-Type: udeb
-Build-Profiles: <!noudeb>
Description: Plain text frontend for Debian Configuration Management System
Debconf is a configuration management system for Debian packages. It is
used by some packages to prompt you for information before they are
@@ -139,7 +134,6 @@ Architecture: any
Section: debian-installer
Depends: cdebconf-udeb, di-utils-terminfo, ${shlibs:Depends}, ${misc:Depends}
Package-Type: udeb
-Build-Profiles: <!noudeb>
Description: Newt frontend for Debian Configuration Management System
Debconf is a configuration management system for Debian packages. It is
used by some packages to prompt you for information before they are
@@ -154,7 +148,7 @@ Architecture: any
Section: debian-installer
Depends: cdebconf-udeb, ${shlibs:Depends}, ${misc:Depends}, rootskel-gtk [!s390 !s390x]
Package-Type: udeb
-Build-Profiles: <!pkg.cdebconf.nogtk !noudeb>
+Build-Profiles: <!pkg.cdebconf.nogtk>
Description: Gtk+ frontend for Debian Configuration Management System
Debconf is a configuration management system for Debian packages. It is
used by some packages to prompt you for information before they are
diff --git a/debian/rules b/debian/rules
index 3ee2ec0..a66e684 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,10 +12,6 @@ udebbuild=debian/build-udeb
include /usr/share/dpkg/architecture.mk
-ifeq (,$(filter noudeb, $(DEB_BUILD_PROFILES)))
- with_udeb = yes
-endif
-
CONFFILE=/etc/cdebconf.conf
#package names
@@ -46,7 +42,7 @@ ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
DEBUG_CONFIGURE_OPT=--with-debug=yes
endif
-build: build-deb $(if $(with_udeb),build-udeb)
+build: build-deb build-udeb
build-arch: build
build-indep: build
@@ -108,9 +104,7 @@ install-arch: build
dh_testroot
dh_prep
$(MAKE) -C $(debbuild) install DESTDIR=$(CURDIR)/debian/tmp/deb
-ifeq ($(with_udeb),yes)
$(MAKE) -C $(udebbuild) install DESTDIR=$(CURDIR)/debian/tmp/udeb
-endif
dh_install -a
install-indep:
@@ -152,7 +146,7 @@ endif
dh_strip -a
dh_compress -a
dh_fixperms -a
- dh_makeshlibs -a $(if $(with_udeb),--add-udeb=libdebconfclient0-udeb)
+ dh_makeshlibs -a --add-udeb=libdebconfclient0-udeb
dh_installdeb -a
dh_shlibdeps -a
dh_gencontrol -a

View file

@ -0,0 +1,15 @@
diff --git a/Makefile b/Makefile
index f8bf521f..61d51be1 100644
--- a/Makefile
+++ b/Makefile
@@ -34,8 +34,8 @@ LIBS=-ldebconfclient -ldebian-installer
STRIP=strip
# Derivative distributions may want to change these.
-MIRRORLISTURL=https://mirror-master.debian.org/status/Mirrors.masterlist
-MASTERLIST=Mirrors.masterlist
+MIRRORLISTURL=https://gitlab.trisquel.org/trisquel/trisquel-packages/-/raw/master/extra/mirrors/Mirrors.masterlist
+MASTERLIST=Mirrors.masterlist.trisquel
ifdef DEBUG
CFLAGS:=$(CFLAGS) -DDODEBUG

View file

@ -1,22 +1,22 @@
diff -ru choose-mirror-2.78ubuntu7+10.0trisquel3/debian/choose-mirror-bin.templates-in choose-mirror-2.111/debian/choose-mirror-bin.templates-in diff -ru choose-mirror-2.78ubuntu7+10.0trisquel3/debian/choose-mirror-bin.templates-in choose-mirror-2.111/debian/choose-mirror-bin.templates-in
--- choose-mirror-2.78ubuntu7+10.0trisquel3/debian/choose-mirror-bin.templates-in 2021-02-26 15:22:56.000000000 -0600 --- choose-mirror-2.78ubuntu7+10.0trisquel3/debian/choose-mirror-bin.templates-in 2021-02-26 15:22:56.000000000 -0600
+++ choose-mirror-2.111/debian/choose-mirror-bin.templates-in 2021-02-08 06:52:03.000000000 -0600 +++ choose-mirror-2.111/debian/choose-mirror-bin.templates-in 2021-02-08 06:52:03.000000000 -0600
@@ -12,10 +12,14 @@ @@ -12,14 +12,10 @@
Type: select Type: select
Choices-C: ${CHOICES-C} Choices-C: ${CHOICES-C}
Choices: ${CHOICES} Choices: ${CHOICES}
-Default: _CODENAME_ +Default: _CODENAME_
-Description: Trisquel version to install: +Description: Trisquel version to install:
- In Trisquel, this question is never asked, and is only for preseeding. + In Trisquel, this question is never asked, and is only for preseeding.
- Caveat emptor. + Caveat emptor.
+# :sl2: -# :sl2:
+_Description: Debian version to install: -_Description: Debian version to install:
+ Debian comes in several flavors. Stable is well-tested and rarely changes. - Debian comes in several flavors. Stable is well-tested and rarely changes.
+ Unstable is untested and frequently changing. Testing is a middle ground, - Unstable is untested and frequently changing. Testing is a middle ground,
+ that receives many of the new versions from unstable if they are not too - that receives many of the new versions from unstable if they are not too
+ buggy. - buggy.
+ . - .
+ Only flavors available on the selected mirror are listed. - Only flavors available on the selected mirror are listed.
Template: mirror/codename Template: mirror/codename
Type: string Type: string

View file

@ -1,14 +0,0 @@
diff -ru choose-mirror-2.78ubuntu7+10.0trisquel3/Makefile choose-mirror-2.111/Makefile
--- choose-mirror-2.78ubuntu7+10.0trisquel3/Makefile 2021-02-26 15:22:56.000000000 -0600
+++ choose-mirror-2.111/Makefile 2021-06-04 12:09:55.000000000 -0500
@@ -33,8 +33,8 @@
STRIP=strip
# Derivative distributions may want to change these.
-#MIRRORLISTURL=https://anonscm.debian.org/git/mirror/mirror-masterlist.git/plain/Mirrors.masterlist
-MASTERLIST=Mirrors.masterlist.trisquel
+MIRRORLISTURL=https://salsa.debian.org/mirror-team/masterlist/raw/master/Mirrors.masterlist
+MASTERLIST=Mirrors.masterlist
ifdef DEBUG
CFLAGS:=$(CFLAGS) -DDODEBUG

View file

@ -0,0 +1,37 @@
diff --git a/debian/copyright b/debian/copyright
index 3c8824f..c6ec81a 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -38,7 +38,7 @@ License: GPL-2+
Files: debian/examples/crontab2english.pl
Copyright: 2001, Sean M. Burke
-License: Artistic
+License: GPL-1+ or Artistic
License: Paul-Vixie's-license
Distribute freely, except: don't remove my name from the source or
@@ -67,6 +67,23 @@ License: GPL-2+
On Debian systems, the complete text of the GNU General
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
+License: GPL-1+
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 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 General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 1 can be found in "/usr/share/common-licenses/GPL-1".
+
License: Artistic
This program is free software; you can redistribute it and/or modify it
under the terms of the "Artistic License" which comes with Debian.

View file

@ -1,16 +0,0 @@
Description: Fix FTBFS in cwidget as well as in aptitude due to missing #include <pthread.h>
Author: Paul Wise <pabs@debian.org>
Reviewed-By: Axel Beckert <abe@debian.org>
Bug-Debian: https://bugs.debian.org/1015925
Bug: https://bugs.debian.org/1015925
--- a/src/cwidget/generic/threads/threads.h
+++ b/src/cwidget/generic/threads/threads.h
@@ -26,6 +26,7 @@
#define THREADS_H
#include <errno.h>
+#include <pthread.h>
#include <cwidget/generic/util/exception.h>
namespace cwidget

View file

@ -0,0 +1,33 @@
diff --git a/tools/main.cpp b/tools/main.cpp
index 813aba5a..5f91e057 100644
--- a/tools/main.cpp
+++ b/tools/main.cpp
@@ -37,6 +37,8 @@
#include <DebconfGui.h>
+#include <pwd.h>
+
using namespace DebconfKde;
// Handle SIGQUIT. Clients (e.g. packagekit) may use QUIT which would otherwise
@@ -73,6 +76,19 @@ static void setupQuitHandler() {
int main(int argc, char **argv)
{
+ /* TPH: #212 | LP: #1851573 — When the helper is started through pkexec/aptdaemon
+ * the environment may arrive without $HOME. Without HOME, KConfig writes
+ * to "//.config/..." and shows a "not writable" dialog for every debconf
+ * question. Substitute the passwd entrys home directory.
+ */
+ const char *homeEnv = getenv("HOME");
+ if (!homeEnv || homeEnv[0] == '\0') {
+ struct passwd *pw = getpwuid(getuid());
+ if (pw && pw->pw_dir) {
+ setenv("HOME", pw->pw_dir, /* overwrite = */ 1);
+ }
+ }
+
QApplication app(argc, argv);
setupQuitHandler();

View file

@ -0,0 +1,12 @@
diff --git a/Debconf/Template.pm b/Debconf/Template.pm
index 9ab4833d..c3649929 100644
--- a/Debconf/Template.pm
+++ b/Debconf/Template.pm
@@ -140,6 +140,7 @@ Get an existing template (it may be pulled out of the database, etc).
sub get {
my Debconf::Template $this=shift;
my $template=shift;
+ return unless defined $template && length $template;
return $template{$template} if exists $template{$template};
if ($Debconf::Db::templates->exists($template)) {
$this = fields::new($this);

View file

@ -0,0 +1,12 @@
diff --git a/Debconf/DbDriver/Cache.pm b/Debconf/DbDriver/Cache.pm
index 1b0e36fb..2e80d3bb 100644
--- a/Debconf/DbDriver/Cache.pm
+++ b/Debconf/DbDriver/Cache.pm
@@ -122,6 +122,7 @@ undef -- marked as deleted in the cache, so does not exist
sub exists {
my $this=shift;
my $item=shift;
+ return 0 unless defined $item && length $item;
return $this->{cache}->{$item}
if exists $this->{cache}->{$item};

View file

@ -0,0 +1,25 @@
diff --git a/build/Makefile b/build/Makefile
index 0aeccf2a..17cf6a43 100644
--- a/build/Makefile
+++ b/build/Makefile
@@ -673,7 +673,7 @@ sources.list.udeb:
echo "deb $(MIRROR) unreleased $(UDEB_COMPONENTS)"; \
fi \
else \
- gen-sources.list.udeb "$(SYSTEM_SOURCES_LIST)" $(USE_UDEBS_FROM) "$(UDEB_COMPONENTS)" $(USE_PROPOSED_UPDATES); \
+ gen-sources.list.udeb "$(SYSTEM_SOURCES_LIST)" $(USE_UDEBS_FROM) "$(UDEB_COMPONENTS)"; \
if [ "$(USE_UNRELEASED)" = 1 ]; then \
gen-sources.list.udeb "$(SYSTEM_SOURCES_LIST)" unreleased "$(UDEB_COMPONENTS)"; \
fi \
diff --git a/debian/rules b/debian/rules
index 371e8b57..6caa6641 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,7 +13,6 @@ TRANSSTATUS=
BOOTMENU_BEEP=n
else
USE_UDEBS_FROM=trixie
-USE_PROPOSED_UPDATES=1
TRANSSTATUS=translation-status
BOOTMENU_BEEP=y
endif

View file

@ -1,17 +1,18 @@
diff --git a/build/Makefile b/build/Makefile diff --git a/build/Makefile b/build/Makefile
index c073a32..cace03d 100644 index d45f982c..353e516e 100644
--- a/build/Makefile --- a/build/Makefile
+++ b/build/Makefile +++ b/build/Makefile
@@ -431,6 +431,12 @@ endif @@ -458,6 +458,13 @@ ifneq (,$(filter $(ARCH),amd64 arm64 i386))
fi
endif
ifeq ($(DEB_HOST_ARCH_OS),linux)
ifdef KERNELVERSION
+ifneq ($(DEB_HOST_ARCH),ppc64el) +ifneq ($(DEB_HOST_ARCH),ppc64el)
+ find $(TREE)/lib/$(DEB_HOST_MULTIARCH)/ -name "ld-linux*" | xargs -r chmod 755 + find $(TREE)/lib/$(DEB_HOST_MULTIARCH)/ -name "ld-linux*" | xargs -r chmod 755
+endif +endif
+ifeq ($(DEB_HOST_ARCH),ppc64el) +ifeq ($(DEB_HOST_ARCH),ppc64el)
+ chmod 755 $(TREE)/lib/$(DEB_HOST_MULTIARCH)/ld*.so* + chmod 755 $(TREE)/lib/$(DEB_HOST_MULTIARCH)/ld*.so*
+endif +endif
+
# Set up modules.dep, ensure there is at least one standard dir (kernel # Set up modules.dep, ensure there is at least one standard dir (kernel
# in this case), so depmod will use its prune list for archs with no # in this case), so depmod will use its prune list for archs with no
# modules. # modules.

View file

@ -11,7 +11,7 @@ diff -Nru debian-installer-20210731+deb11u8+11.0trisquel13/build/config/arm64.cf
--- debian-installer-20210731+deb11u8+11.0trisquel13/build/config/arm64.cfg 2023-05-12 13:48:56.073639701 -0600 --- debian-installer-20210731+deb11u8+11.0trisquel13/build/config/arm64.cfg 2023-05-12 13:48:56.073639701 -0600
+++ debian-installer-20210731+deb11u8+11.0trisquel13_/build/config/arm64.cfg 2023-05-12 14:00:45.351718688 -0600 +++ debian-installer-20210731+deb11u8+11.0trisquel13_/build/config/arm64.cfg 2023-05-12 14:00:45.351718688 -0600
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-MEDIUM_SUPPORTED = cdrom netboot netboot-gtk device-tree u-boot -MEDIUM_SUPPORTED = cdrom netboot netboot-gtk device-tree u-boot hd-media
+MEDIUM_SUPPORTED = cdrom netboot device-tree u-boot +MEDIUM_SUPPORTED = cdrom netboot device-tree u-boot
KERNELMAJOR = 2.6 KERNELMAJOR = 2.6

View file

@ -0,0 +1,15 @@
diff --git a/debian/control b/debian/control
index c56adcf9..d45d50c4 100644
--- a/debian/control
+++ b/debian/control
@@ -168,8 +168,8 @@ Build-Depends:
# when creating ISO hybrid images on amd64 and i386 systems.
fontconfig,
# Used to generate a font cache through fc-cache, for gtk flavours
- linux-image-@@DEBIAN_KERNEL@@-amd64 [amd64],
- linux-image-@@DEBIAN_KERNEL@@-arm64 [arm64],
+ linux-image-@@DEBIAN_KERNEL@@-generic [amd64],
+ linux-image-@@DEBIAN_KERNEL@@-generic [arm64],
# Ship some more drm modules, without waiting on fb-modules (#1036019)
Package: debian-installer

View file

@ -0,0 +1,17 @@
diff --git a/build/Makefile b/build/Makefile
index 8a4717cb..c1c1c239 100644
--- a/build/Makefile
+++ b/build/Makefile
@@ -428,8 +428,12 @@ ifeq ($(filter $(DEB_HOST_ARCH),mips64el hppa sh4),)
# though (see KERNELNAME variable).
VMLINUXZ=`find $(TREE)/boot/ -name 'vmlinu[xz]-*'`; \
if [ `echo "$$VMLINUXZ" | wc -w` != 1 ]; then \
+ if [ ! -e $(TREE)/boot/vmlinuz ] && [ ! -e $(TREE)/boot/vmlinux ]; then \
echo "E: unexpected number of vmlinu[xz]-* in tree: $$VMLINUXZ (expected: 1)" >&2; \
exit 1; \
+ else \
+ echo "W: skipping unversioning; vmlinuz/vmlinux already exists" >&2; \
+ fi; \
else \
echo "I: unversioning vmlinu[xz]" >&2; \
mv -v $$VMLINUXZ $(TREE)/boot/`basename $$VMLINUXZ|sed 's/-.*//'`; \

View file

@ -1,6 +1,6 @@
=== modified file 'build/Makefile' === modified file 'build/Makefile'
--- build/Makefile 2010-11-05 16:34:29 +0000 --- a/build/Makefile 2010-11-05 16:34:29 +0000
+++ build/Makefile 2011-03-01 11:42:39 +0000 +++ b/build/Makefile 2011-03-01 11:42:39 +0000
@@ -294,6 +294,7 @@ @@ -294,6 +294,7 @@
rm -rf $(TREE) rm -rf $(TREE)
# Set up the basic files [u]dpkg needs. # Set up the basic files [u]dpkg needs.
@ -19,8 +19,8 @@
ifdef EXTRADRIVERS ifdef EXTRADRIVERS
#=== modified file 'debian/changelog' #=== modified file 'debian/changelog'
#--- debian/changelog 2011-03-01 10:36:50 +0000 #--- a/debian/changelog 2011-03-01 10:36:50 +0000
#+++ debian/changelog 2011-03-01 11:42:39 +0000 #+++ b/debian/changelog 2011-03-01 11:42:39 +0000
#@@ -1,3 +1,10 @@ #@@ -1,3 +1,10 @@
#+debian-installer (20101020ubuntu21) UNRELEASED; urgency=low #+debian-installer (20101020ubuntu21) UNRELEASED; urgency=low
#+ #+

View file

@ -1,6 +1,6 @@
=== modified file 'build/Makefile' === modified file 'build/Makefile'
#--- build/Makefile 2011-12-15 15:35:38 +0000 #--- a/build/Makefile 2011-12-15 15:35:38 +0000
#+++ build/Makefile 2012-04-18 05:24:59 +0000 #+++ b/build/Makefile 2012-04-18 05:24:59 +0000
#@@ -493,6 +493,12 @@ #@@ -493,6 +493,12 @@
# `find $(TEMP) -type f -a \( -perm +0111 -o -name '*.so' -o -name '*.so.*' \) | \ # `find $(TEMP) -type f -a \( -perm +0111 -o -name '*.so' -o -name '*.so.*' \) | \
# grep -v udeblibs | grep -v 'usr/lib/xorg/modules/.*\.so'` # grep -v udeblibs | grep -v 'usr/lib/xorg/modules/.*\.so'`
@ -16,8 +16,8 @@
# # have the ld.so symlink as the interpreter. Ideally mklibs should # # have the ld.so symlink as the interpreter. Ideally mklibs should
# #
=== modified file 'build/config/armhf.cfg' === modified file 'build/config/armhf.cfg'
--- build/config/armhf.cfg 2012-04-11 08:52:18 +0000 --- a/build/config/armhf.cfg 2012-04-11 08:52:18 +0000
+++ build/config/armhf.cfg 2012-04-18 05:24:59 +0000 +++ b/build/config/armhf.cfg 2012-04-18 05:24:59 +0000
@@ -1,5 +1,7 @@ @@ -1,5 +1,7 @@
SUBARCH_SUPPORTED = omap omap4 armadaxp SUBARCH_SUPPORTED = omap omap4 armadaxp
@ -28,8 +28,8 @@
KERNEL_FLAVOUR = di KERNEL_FLAVOUR = di
#=== modified file 'debian/changelog' #=== modified file 'debian/changelog'
#--- debian/changelog 2012-04-13 13:14:35 +0000 #--- a/debian/changelog 2012-04-13 13:14:35 +0000
#+++ debian/changelog 2012-04-18 05:24:59 +0000 #+++ b/debian/changelog 2012-04-18 05:24:59 +0000
#@@ -1,3 +1,12 @@ #@@ -1,3 +1,12 @@
#+debian-installer (20101020ubuntu134) precise; urgency=low #+debian-installer (20101020ubuntu134) precise; urgency=low
#+ #+

View file

@ -1,6 +1,6 @@
=== modified file 'build/Makefile' === modified file 'build/Makefile'
--- build/Makefile 2015-01-22 12:10:03 +0000 --- a/build/Makefile 2015-01-22 12:10:03 +0000
+++ build/Makefile 2015-03-17 21:09:21 +0000 +++ b/build/Makefile 2015-03-17 21:09:21 +0000
@@ -414,6 +414,14 @@ @@ -414,6 +414,14 @@
# These files are used to build special kernel images for some # These files are used to build special kernel images for some
@ -46,8 +46,8 @@
# install -m 644 -D $(TEMP_BOOT)$(GZIPPED) $@ # install -m 644 -D $(TEMP_BOOT)$(GZIPPED) $@
#=== added file 'build/boot/README.device-tree' #=== added file 'build/boot/README.device-tree'
#--- build/boot/README.device-tree 1970-01-01 00:00:00 +0000 #--- a/build/boot/README.device-tree 1970-01-01 00:00:00 +0000
#+++ build/boot/README.device-tree 2015-02-13 23:50:29 +0000 #+++ b/build/boot/README.device-tree 2015-02-13 23:50:29 +0000
#@@ -0,0 +1,2 @@ #@@ -0,0 +1,2 @@
#+This directory contains all of the device-tree files shipped by the Ubuntu #+This directory contains all of the device-tree files shipped by the Ubuntu
#+kernel package. #+kernel package.
@ -63,8 +63,8 @@
#+ #+
#=== modified file 'build/config/arm64.cfg' #=== modified file 'build/config/arm64.cfg'
#--- build/config/arm64.cfg 2015-05-09 07:52:07 +0000 #--- a/build/config/arm64.cfg 2015-05-09 07:52:07 +0000
#+++ build/config/arm64.cfg 2015-05-12 16:01:14 +0000 #+++ b/build/config/arm64.cfg 2015-05-12 16:01:14 +0000
#@@ -1,14 +1,98 @@ #@@ -1,14 +1,98 @@
#-SUBARCH_SUPPORTED = generic #-SUBARCH_SUPPORTED = generic
#- #-
@ -173,16 +173,16 @@
=== added directory 'build/config/arm64/cdrom' === added directory 'build/config/arm64/cdrom'
=== added file 'build/config/arm64/cdrom.cfg' === added file 'build/config/arm64/cdrom.cfg'
#--- build/config/arm64/cdrom.cfg 1970-01-01 00:00:00 +0000 #--- a/build/config/arm64/cdrom.cfg 1970-01-01 00:00:00 +0000
#+++ build/config/arm64/cdrom.cfg 2015-02-24 05:14:26 +0000 #+++ b/build/config/arm64/cdrom.cfg 2015-02-24 05:14:26 +0000
#@@ -0,0 +1,3 @@ #@@ -0,0 +1,3 @@
#+FLAVOUR_SUPPORTED = grub #+FLAVOUR_SUPPORTED = grub
#+ #+
#+MEDIA_TYPE = CD-ROM #+MEDIA_TYPE = CD-ROM
=== added file 'build/config/arm64/cdrom/grub.cfg' === added file 'build/config/arm64/cdrom/grub.cfg'
#--- build/config/arm64/cdrom/grub.cfg 1970-01-01 00:00:00 +0000 #--- a/build/config/arm64/cdrom/grub.cfg 1970-01-01 00:00:00 +0000
#+++ build/config/arm64/cdrom/grub.cfg 2015-02-24 05:14:26 +0000 #+++ b/build/config/arm64/cdrom/grub.cfg 2015-02-24 05:14:26 +0000
#@@ -0,0 +1,8 @@ #@@ -0,0 +1,8 @@
#+MEDIA_TYPE = CD-ROM #+MEDIA_TYPE = CD-ROM
#+TARGET = $(INITRD) $(KERNEL) $(DEBIAN_CD_INFO) #+TARGET = $(INITRD) $(KERNEL) $(DEBIAN_CD_INFO)
@ -194,8 +194,8 @@
#+TYPE = cdrom/grub #+TYPE = cdrom/grub
#=== added file 'build/config/arm64/device-tree.cfg' #=== added file 'build/config/arm64/device-tree.cfg'
#--- build/config/arm64/device-tree.cfg 1970-01-01 00:00:00 +0000 #--- a/build/config/arm64/device-tree.cfg 1970-01-01 00:00:00 +0000
#+++ build/config/arm64/device-tree.cfg 2015-02-13 23:51:06 +0000 #+++ b/build/config/arm64/device-tree.cfg 2015-02-13 23:51:06 +0000
#@@ -0,0 +1,4 @@ #@@ -0,0 +1,4 @@
#+MEDIA_TYPE = device-tree blobs #+MEDIA_TYPE = device-tree blobs
#+ #+
@ -203,8 +203,8 @@
#+EXTRANAME = $(MEDIUM)/ #+EXTRANAME = $(MEDIUM)/
#=== removed file 'build/config/arm64/generic.cfg' #=== removed file 'build/config/arm64/generic.cfg'
#--- build/config/arm64/generic.cfg 2014-01-27 14:09:42 +0000 #--- a/build/config/arm64/generic.cfg 2014-01-27 14:09:42 +0000
#+++ build/config/arm64/generic.cfg 1970-01-01 00:00:00 +0000 #+++ b/build/config/arm64/generic.cfg 1970-01-01 00:00:00 +0000
#@@ -1,7 +0,0 @@ #@@ -1,7 +0,0 @@
#-MEDIUM_SUPPORTED = netboot #-MEDIUM_SUPPORTED = netboot
#- #-
@ -215,8 +215,8 @@
#-VERSIONED_SYSTEM_MAP = #-VERSIONED_SYSTEM_MAP =
#=== removed file 'build/config/arm64/generic/netboot.cfg' #=== removed file 'build/config/arm64/generic/netboot.cfg'
#--- build/config/arm64/generic/netboot.cfg 2015-02-27 10:58:49 +0000 #--- a/build/config/arm64/generic/netboot.cfg 2015-02-27 10:58:49 +0000
#+++ build/config/arm64/generic/netboot.cfg 1970-01-01 00:00:00 +0000 #+++ b/build/config/arm64/generic/netboot.cfg 1970-01-01 00:00:00 +0000
#@@ -1,33 +0,0 @@ #@@ -1,33 +0,0 @@
#-MEDIA_TYPE = netboot image #-MEDIA_TYPE = netboot image
#-TARGET = $(TEMP_INITRD) $(TEMP_KERNEL) all-generic #-TARGET = $(TEMP_INITRD) $(TEMP_KERNEL) all-generic
@ -253,8 +253,8 @@
#-all-generic: generic xgene #-all-generic: generic xgene
=== added file 'build/config/arm64/netboot.cfg' === added file 'build/config/arm64/netboot.cfg'
#--- build/config/arm64/netboot.cfg 1970-01-01 00:00:00 +0000 #--- a/build/config/arm64/netboot.cfg 1970-01-01 00:00:00 +0000
#+++ build/config/arm64/netboot.cfg 2015-02-24 05:45:09 +0000 #+++ b/build/config/arm64/netboot.cfg 2015-02-24 05:45:09 +0000
#@@ -0,0 +1,37 @@ #@@ -0,0 +1,37 @@
#+MEDIA_TYPE = netboot image #+MEDIA_TYPE = netboot image
#+ #+
@ -295,8 +295,8 @@
#+ mkimage -A arm -O linux -T ramdisk -C none -a 0x0 -e 0x0 -n "debian-installer ramdisk" -d $(TEMP_INITRD) $(XU_INSTALL_PATH)/uInitrd #+ mkimage -A arm -O linux -T ramdisk -C none -a 0x0 -e 0x0 -n "debian-installer ramdisk" -d $(TEMP_INITRD) $(XU_INSTALL_PATH)/uInitrd
#=== modified file 'build/config/dir' #=== modified file 'build/config/dir'
#--- build/config/dir 2010-08-25 22:06:28 +0000 #--- a/build/config/dir 2010-08-25 22:06:28 +0000
#+++ build/config/dir 2015-02-13 23:50:29 +0000 #+++ b/build/config/dir 2015-02-13 23:50:29 +0000
#@@ -62,6 +62,7 @@ #@@ -62,6 +62,7 @@
# # The files we may want to have in dest/ # # The files we may want to have in dest/
# INITRD = $(SOME_DEST)/$(EXTRANAME)initrd.gz # INITRD = $(SOME_DEST)/$(EXTRANAME)initrd.gz
@ -315,8 +315,8 @@
# TEMP_MINIISO = $(TEMP)/mini.iso # TEMP_MINIISO = $(TEMP)/mini.iso
#=== added file 'build/pkg-lists/cdrom/arm64.cfg' #=== added file 'build/pkg-lists/cdrom/arm64.cfg'
#--- build/pkg-lists/cdrom/arm64.cfg 1970-01-01 00:00:00 +0000 #--- a/build/pkg-lists/cdrom/arm64.cfg 1970-01-01 00:00:00 +0000
#+++ build/pkg-lists/cdrom/arm64.cfg 2015-02-24 05:14:26 +0000 #+++ b/build/pkg-lists/cdrom/arm64.cfg 2015-02-24 05:14:26 +0000
#@@ -0,0 +1,11 @@ #@@ -0,0 +1,11 @@
#+fat-modules-${kernel:Version} #+fat-modules-${kernel:Version}
#+storage-core-modules-${kernel:Version} #+storage-core-modules-${kernel:Version}
@ -332,15 +332,15 @@
#=== added directory 'build/pkg-lists/cdrom/grub' #=== added directory 'build/pkg-lists/cdrom/grub'
#=== added file 'build/pkg-lists/cdrom/grub/arm64.cfg' #=== added file 'build/pkg-lists/cdrom/grub/arm64.cfg'
#--- build/pkg-lists/cdrom/grub/arm64.cfg 1970-01-01 00:00:00 +0000 #--- a/build/pkg-lists/cdrom/grub/arm64.cfg 1970-01-01 00:00:00 +0000
#+++ build/pkg-lists/cdrom/grub/arm64.cfg 2015-02-24 05:14:26 +0000 #+++ b/build/pkg-lists/cdrom/grub/arm64.cfg 2015-02-24 05:14:26 +0000
#@@ -0,0 +1,2 @@ #@@ -0,0 +1,2 @@
#+# This image is based on the regular cdrom image, and gets all the packages #+# This image is based on the regular cdrom image, and gets all the packages
#+# from that one too. #+# from that one too.
#=== added file 'build/pkg-lists/cdrom/grub/common' #=== added file 'build/pkg-lists/cdrom/grub/common'
#--- build/pkg-lists/cdrom/grub/common 1970-01-01 00:00:00 +0000 #--- a/build/pkg-lists/cdrom/grub/common 1970-01-01 00:00:00 +0000
#+++ build/pkg-lists/cdrom/grub/common 2015-03-17 21:09:21 +0000 #+++ b/build/pkg-lists/cdrom/grub/common 2015-03-17 21:09:21 +0000
#@@ -0,0 +1,3 @@ #@@ -0,0 +1,3 @@
#+# This image is based on the regular cdrom image, and gets all the packages #+# This image is based on the regular cdrom image, and gets all the packages
#+# from that one too. #+# from that one too.
@ -348,20 +348,20 @@
=== added directory 'build/pkg-lists/device-tree' === added directory 'build/pkg-lists/device-tree'
#=== added file 'build/pkg-lists/device-tree/arm64.cfg' #=== added file 'build/pkg-lists/device-tree/arm64.cfg'
#--- build/pkg-lists/device-tree/arm64.cfg 1970-01-01 00:00:00 +0000 #--- a/build/pkg-lists/device-tree/arm64.cfg 1970-01-01 00:00:00 +0000
#+++ build/pkg-lists/device-tree/arm64.cfg 2015-02-13 23:51:06 +0000 #+++ b/build/pkg-lists/device-tree/arm64.cfg 2015-02-13 23:51:06 +0000
#@@ -0,0 +1,1 @@ #@@ -0,0 +1,1 @@
#+# Empty #+# Empty
=== added file 'build/pkg-lists/device-tree/common' === added file 'build/pkg-lists/device-tree/common'
#--- build/pkg-lists/device-tree/common 1970-01-01 00:00:00 +0000 #--- a/build/pkg-lists/device-tree/common 1970-01-01 00:00:00 +0000
#+++ build/pkg-lists/device-tree/common 2015-02-13 23:50:29 +0000 #+++ b/build/pkg-lists/device-tree/common 2015-02-13 23:50:29 +0000
#@@ -0,0 +1,1 @@ #@@ -0,0 +1,1 @@
#+#include "kernel" #+#include "kernel"
#=== modified file 'build/util/efi-image' #=== modified file 'build/util/efi-image'
#--- build/util/efi-image 2012-10-15 20:03:40 +0000 #--- a/build/util/efi-image 2012-10-15 20:03:40 +0000
#+++ build/util/efi-image 2015-02-24 04:58:57 +0000 #+++ b/build/util/efi-image 2015-02-24 04:58:57 +0000
#@@ -22,13 +22,14 @@ #@@ -22,13 +22,14 @@
# # it exists. # # it exists.
# #
@ -392,8 +392,8 @@
# size=$(( $(stat -c %s "$workdir/boot$efi_name.efi") / 1024 )) # size=$(( $(stat -c %s "$workdir/boot$efi_name.efi") / 1024 ))
#=== added file 'build/util/grub-gencfg' #=== added file 'build/util/grub-gencfg'
#--- build/util/grub-gencfg 1970-01-01 00:00:00 +0000 #--- a/build/util/grub-gencfg 1970-01-01 00:00:00 +0000
#+++ build/util/grub-gencfg 2015-03-23 23:27:39 +0000 #+++ b/build/util/grub-gencfg 2015-03-23 23:27:39 +0000
#@@ -0,0 +1,210 @@ #@@ -0,0 +1,210 @@
#+#!/usr/bin/perl #+#!/usr/bin/perl
#+ #+
@ -607,8 +607,8 @@
#+menuentry('Install with speech synthesis', Graphical => $graphical, Speach => 1); #+menuentry('Install with speech synthesis', Graphical => $graphical, Speach => 1);
#=== modified file 'debian/changelog' #=== modified file 'debian/changelog'
#--- debian/changelog 2015-05-09 07:52:07 +0000 #--- a/debian/changelog 2015-05-09 07:52:07 +0000
#+++ debian/changelog 2015-05-14 14:24:09 +0000 #+++ b/debian/changelog 2015-05-14 14:24:09 +0000
#@@ -1,3 +1,25 @@ #@@ -1,3 +1,25 @@
#+debian-installer (20101020ubuntu379) UNRELEASED; urgency=medium #+debian-installer (20101020ubuntu379) UNRELEASED; urgency=medium
#+ #+
@ -637,8 +637,8 @@
# * Move master kernels to 3.19.0-17. # * Move master kernels to 3.19.0-17.
#=== modified file 'debian/control' #=== modified file 'debian/control'
#--- debian/control 2014-10-30 08:19:25 +0000 #--- a/debian/control 2014-10-30 08:19:25 +0000
#+++ debian/control 2015-04-03 21:16:40 +0000 #+++ b/debian/control 2015-04-03 21:16:40 +0000
#@@ -9,7 +9,7 @@ #@@ -9,7 +9,7 @@
# Vcs-Bzr: http://bazaar.launchpad.net/~ubuntu-core-dev/debian-installer/ubuntu # Vcs-Bzr: http://bazaar.launchpad.net/~ubuntu-core-dev/debian-installer/ubuntu
# Build-Conflicts: libnewt-pic [mipsel] # Build-Conflicts: libnewt-pic [mipsel]

View file

@ -1,6 +1,6 @@
=== modified file 'build/Makefile' === modified file 'build/Makefile'
#--- build/Makefile 2015-12-09 17:32:28 +0000 #--- a/build/Makefile 2015-12-09 17:32:28 +0000
#+++ build/Makefile 2016-04-16 19:45:21 +0000 #+++ b/build/Makefile 2016-04-16 19:45:21 +0000
#@@ -525,12 +525,6 @@ #@@ -525,12 +525,6 @@
# `find $(TEMP) -type f -a \( -perm /0111 -o -name '*.so' -o -name '*.so.*' \) | \ # `find $(TEMP) -type f -a \( -perm /0111 -o -name '*.so' -o -name '*.so.*' \) | \
# grep -v udeblibs | grep -v 'usr/lib/xorg/modules/.*\.so'` # grep -v udeblibs | grep -v 'usr/lib/xorg/modules/.*\.so'`
@ -16,8 +16,8 @@
# # have the ld.so symlink as the interpreter. Ideally mklibs should # # have the ld.so symlink as the interpreter. Ideally mklibs should
# #
#=== modified file 'build/config/amd64.cfg' #=== modified file 'build/config/amd64.cfg'
#--- build/config/amd64.cfg 2016-04-08 14:58:47 +0000 #--- a/build/config/amd64.cfg 2016-04-08 14:58:47 +0000
#+++ build/config/amd64.cfg 2016-04-16 19:45:21 +0000 #+++ b/build/config/amd64.cfg 2016-04-16 19:45:21 +0000
#@@ -1,8 +1,6 @@ #@@ -1,8 +1,6 @@
# MEDIUM_SUPPORTED = cdrom cdrom-xen netboot netboot-xen hd-media # netboot-gtk # MEDIUM_SUPPORTED = cdrom cdrom-xen netboot netboot-xen hd-media # netboot-gtk
# MEDIUM_SUPPORTED_EXTRA = monolithic # MEDIUM_SUPPORTED_EXTRA = monolithic
@ -29,8 +29,8 @@
# KERNELVERSION = $(BASEVERSION)-generic # KERNELVERSION = $(BASEVERSION)-generic
#=== modified file 'build/config/amd64/netboot.cfg' #=== modified file 'build/config/amd64/netboot.cfg'
#--- build/config/amd64/netboot.cfg 2016-03-27 03:15:58 +0000 #--- a/build/config/amd64/netboot.cfg 2016-03-27 03:15:58 +0000
#+++ build/config/amd64/netboot.cfg 2016-04-16 19:45:21 +0000 #+++ b/build/config/amd64/netboot.cfg 2016-04-16 19:45:21 +0000
#@@ -1,7 +1,7 @@ #@@ -1,7 +1,7 @@
# MEDIA_TYPE = netboot image # MEDIA_TYPE = netboot image
# #
@ -42,8 +42,8 @@
=== modified file 'build/config/armhf.cfg' === modified file 'build/config/armhf.cfg'
--- build/config/armhf.cfg 2016-04-08 14:58:47 +0000 --- a/build/config/armhf.cfg 2016-04-08 14:58:47 +0000
+++ build/config/armhf.cfg 2016-04-16 19:45:21 +0000 +++ b/build/config/armhf.cfg 2016-04-16 19:45:21 +0000
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
SUBARCH_SUPPORTED = generic-lpae generic SUBARCH_SUPPORTED = generic-lpae generic
@ -54,8 +54,8 @@
KERNELVERSION = 4.4.0-18 KERNELVERSION = 4.4.0-18
#=== modified file 'build/config/common' #=== modified file 'build/config/common'
#--- build/config/common 2015-11-12 19:14:48 +0000 #--- a/build/config/common 2015-11-12 19:14:48 +0000
#+++ build/config/common 2016-04-16 19:45:21 +0000 #+++ b/build/config/common 2016-04-16 19:45:21 +0000
#@@ -24,7 +24,7 @@ #@@ -24,7 +24,7 @@
# #
# # The library reducer to use. Set to mklibs (to build with library reduction) # # The library reducer to use. Set to mklibs (to build with library reduction)
@ -67,8 +67,8 @@
# # "normal" sources.list. However, you can specify a mirror here to override # # "normal" sources.list. However, you can specify a mirror here to override
#=== modified file 'build/config/i386/netboot.cfg' #=== modified file 'build/config/i386/netboot.cfg'
#--- build/config/i386/netboot.cfg 2016-03-22 04:37:29 +0000 #--- a/build/config/i386/netboot.cfg 2016-03-22 04:37:29 +0000
#+++ build/config/i386/netboot.cfg 2016-04-16 19:45:21 +0000 #+++ b/build/config/i386/netboot.cfg 2016-04-16 19:45:21 +0000
#@@ -3,7 +3,7 @@ #@@ -3,7 +3,7 @@
# MEDIA_TYPE = netboot image # MEDIA_TYPE = netboot image
# #
@ -80,8 +80,8 @@
#=== modified file 'build/config/powerpc/powerpc/netboot.cfg' #=== modified file 'build/config/powerpc/powerpc/netboot.cfg'
#--- build/config/powerpc/powerpc/netboot.cfg 2016-03-22 05:15:29 +0000 #--- a/build/config/powerpc/powerpc/netboot.cfg 2016-03-22 05:15:29 +0000
#+++ build/config/powerpc/powerpc/netboot.cfg 2016-04-16 19:45:21 +0000 #+++ b/build/config/powerpc/powerpc/netboot.cfg 2016-04-16 19:45:21 +0000
#@@ -1,7 +1,7 @@ #@@ -1,7 +1,7 @@
# MEDIA_TYPE = netboot image # MEDIA_TYPE = netboot image
# #
@ -93,8 +93,8 @@
#=== modified file 'build/config/ppc64el.cfg' #=== modified file 'build/config/ppc64el.cfg'
#--- build/config/ppc64el.cfg 2016-04-08 14:58:47 +0000 #--- a/build/config/ppc64el.cfg 2016-04-08 14:58:47 +0000
#+++ build/config/ppc64el.cfg 2016-04-16 19:45:21 +0000 #+++ b/build/config/ppc64el.cfg 2016-04-16 19:45:21 +0000
#@@ -1,7 +1,5 @@ #@@ -1,7 +1,5 @@
# MEDIUM_SUPPORTED = netboot cdrom # MEDIUM_SUPPORTED = netboot cdrom
# #
@ -105,8 +105,8 @@
# KERNELVERSION = $(BASEVERSION)-generic # KERNELVERSION = $(BASEVERSION)-generic
#=== modified file 'build/pkg-lists/base' #=== modified file 'build/pkg-lists/base'
#--- build/pkg-lists/base 2015-09-22 18:31:39 +0000 #--- a/build/pkg-lists/base 2015-09-22 18:31:39 +0000
#+++ build/pkg-lists/base 2016-04-16 19:45:21 +0000 #+++ b/build/pkg-lists/base 2016-04-16 19:45:21 +0000
#@@ -10,7 +10,6 @@ #@@ -10,7 +10,6 @@
# di-utils-shell # di-utils-shell
# libdebconfclient0-udeb # libdebconfclient0-udeb
@ -117,8 +117,8 @@
# main-menu # main-menu
#=== modified file 'build/pkg-lists/exclude' #=== modified file 'build/pkg-lists/exclude'
#--- build/pkg-lists/exclude 2010-05-24 15:01:07 +0000 #--- a/build/pkg-lists/exclude 2010-05-24 15:01:07 +0000
#+++ build/pkg-lists/exclude 2016-04-16 19:45:21 +0000 #+++ b/build/pkg-lists/exclude 2016-04-16 19:45:21 +0000
#@@ -2,15 +2,6 @@ #@@ -2,15 +2,6 @@
# # they are currently provided not in udeb form but by the library # # they are currently provided not in udeb form but by the library
# # reduction step. # # reduction step.
@ -137,8 +137,8 @@
# # and newt # # and newt
#=== modified file 'build/pkg-lists/gtk-common' #=== modified file 'build/pkg-lists/gtk-common'
#--- build/pkg-lists/gtk-common 2015-05-14 17:55:41 +0000 #--- a/build/pkg-lists/gtk-common 2015-05-14 17:55:41 +0000
#+++ build/pkg-lists/gtk-common 2016-04-16 19:45:21 +0000 #+++ b/build/pkg-lists/gtk-common 2016-04-16 19:45:21 +0000
#@@ -1,5 +1,4 @@ #@@ -1,5 +1,4 @@
# # udebs needed for graphical installer # # udebs needed for graphical installer
#-libnss-files-udeb #-libnss-files-udeb
@ -147,8 +147,8 @@
# cdebconf-gtk-terminal # cdebconf-gtk-terminal
#=== modified file 'build/pkg-lists/network-console' #=== modified file 'build/pkg-lists/network-console'
#--- build/pkg-lists/network-console 2004-06-29 08:17:34 +0000 #--- a/build/pkg-lists/network-console 2004-06-29 08:17:34 +0000
#+++ build/pkg-lists/network-console 2016-04-16 19:45:21 +0000 #+++ b/build/pkg-lists/network-console 2016-04-16 19:45:21 +0000
#@@ -1,4 +1,3 @@ #@@ -1,4 +1,3 @@
# openssh-server-udeb # openssh-server-udeb
#-libnss-files-udeb #-libnss-files-udeb
@ -156,8 +156,8 @@
#=== modified file 'debian/changelog' #=== modified file 'debian/changelog'
#--- debian/changelog 2016-04-13 12:07:03 +0000 #--- a/debian/changelog 2016-04-13 12:07:03 +0000
#+++ debian/changelog 2016-04-16 19:45:21 +0000 #+++ b/debian/changelog 2016-04-16 19:45:21 +0000
#@@ -1,3 +1,16 @@ #@@ -1,3 +1,16 @@
#+debian-installer (20101020ubuntu448) xenial; urgency=medium #+debian-installer (20101020ubuntu448) xenial; urgency=medium
#+ #+
@ -177,8 +177,8 @@
# * Rebuild with updated udebs for s390x. # * Rebuild with updated udebs for s390x.
=== modified file 'debian/control' === modified file 'debian/control'
#--- debian/control 2016-02-19 17:00:28 +0000 #--- a/debian/control 2016-02-19 17:00:28 +0000
#+++ debian/control 2016-04-16 19:45:21 +0000 #+++ b/debian/control 2016-04-16 19:45:21 +0000
#@@ -9,7 +9,7 @@ #@@ -9,7 +9,7 @@
# Vcs-Bzr: http://bazaar.launchpad.net/~ubuntu-core-dev/debian-installer/ubuntu # Vcs-Bzr: http://bazaar.launchpad.net/~ubuntu-core-dev/debian-installer/ubuntu
# Build-Conflicts: libnewt-pic [mipsel] # Build-Conflicts: libnewt-pic [mipsel]
@ -207,8 +207,8 @@
# # - genisoimage (>= 9:1.1.10-1ubuntu2) [!s390 !s390x] # # - genisoimage (>= 9:1.1.10-1ubuntu2) [!s390 !s390x]
# # For making mini isos. # # For making mini isos.
##Ark74's fix ##Ark74's fix
--- debian/control 2023-05-10 08:36:56.311243556 -0600 --- a/debian/control 2023-05-10 08:36:56.311243556 -0600
+++ debian/control 2023-05-10 12:00:07.617639516 -0600 +++ b/debian/control 2023-05-10 12:00:07.617639516 -0600
@@ -45,6 +45,7 @@ @@ -45,6 +45,7 @@
# them. # them.
# Lintian: Yes, we know it's essential. We prefer not to # Lintian: Yes, we know it's essential. We prefer not to

View file

@ -1,6 +1,6 @@
=== modified file 'build/Makefile' === modified file 'build/Makefile'
--- build/Makefile 2018-02-15 11:44:41 +0000 --- a/build/Makefile 2018-02-15 11:44:41 +0000
+++ build/Makefile 2018-07-22 10:55:51 +0000 +++ b/build/Makefile 2018-07-22 10:55:51 +0000
@@ -782,6 +782,8 @@ @@ -782,6 +782,8 @@
update-manifest $@ $(MANIFEST-BOOT) $(UDEB_LISTS) update-manifest $@ $(MANIFEST-BOOT) $(UDEB_LISTS)
@ -12,8 +12,8 @@
#=== modified file 'debian/changelog' #=== modified file 'debian/changelog'
#--- debian/changelog 2018-06-14 10:36:23 +0000 #--- a/debian/changelog 2018-06-14 10:36:23 +0000
#+++ debian/changelog 2018-07-22 10:55:51 +0000 #+++ b/debian/changelog 2018-07-22 10:55:51 +0000
#@@ -1,3 +1,9 @@ #@@ -1,3 +1,9 @@
#+debian-installer (20101020ubuntu547) UNRELEASED; urgency=medium #+debian-installer (20101020ubuntu547) UNRELEASED; urgency=medium
#+ #+

View file

@ -0,0 +1,59 @@
diff --git a/build/util/grub-gencfg b/build/util/grub-gencfg
index 6b38cd88..f5df37a5 100755
--- a/build/util/grub-gencfg
+++ b/build/util/grub-gencfg
@@ -208,54 +208,18 @@ menuentry("Install");
menuentry("Graphical install", Graphical => 1);
start_submenu("Advanced options ...", Hotkey => 'a'); {
- menuentry("... Graphical expert install", Graphical => 1, Expert => 1);
- menuentry("... Graphical rescue mode", Graphical => 1, Rescue => 1);
- menuentry("... Graphical automated install", Graphical => 1, Auto => 1);
menuentry("... Expert install", Expert => 1);
menuentry("... Rescue mode", Rescue => 1);
menuentry("... Automated install", Auto => 1);
menuentry("... Expert install with speech synthesis", Expert => 1, Speech => 1, Hotkey => 'x');
menuentry("... Rescue mode with speech synthesis", Rescue => 1, Speech => 1, Hotkey => 'r');
menuentry("... Automated install with speech synthesis", Auto => 1, Speech => 1, Hotkey => 'a');
-
- start_submenu("... Desktop environment menu ..."); {
-
- foreach ( ["GNOME", "gnome"], ["KDE Plasma", "kde"], ["LXDE", "lxde"] ) {
- my ($desktop,$opt) = @{$_};
-
- my $one = sub { my ($title, %xargs) = @_;
- $xargs{Desktop} = $opt;
- menuentry($title, %xargs);
- };
- start_submenu("... $desktop desktop boot menu ..."); {
- $one->("... Install");
- $one->("... Graphical install", Graphical => 1);
-
- start_submenu("... $desktop advanced options ..."); {
- $one->("... Graphical expert install", Graphical => 1, Expert => 1);
- $one->("... Graphical automated install", Graphical => 1, Auto => 1);
- $one->("... Expert install", Expert => 1);
- $one->("... Automated install", Auto => 1);
- $one->("... Expert install with speech synthesis", Expert => 1, Speech => 1, Hotkey => 'x');
- $one->("... Automated install with speech synthesis", Auto => 1, Speech => 1, Hotkey => 'a');
- } end_submenu(); # $desktop advanced
-
- $one->("... Install with speech synthesis", Graphical => 1, Speech => 1, Hotkey => 's');
- $one->("... 32 bit speech install", ThirtyTwo => 1, Graphical => 1, Speech => 1)
- if $thirtytwo;
- } end_submenu(); # $desktop submenu
- } # Desktop loop
- } end_submenu(); # Desktop submenu
} end_submenu(); # Advanced
start_submenu("Accessible dark contrast installer menu ...", Hotkey => 'd', Dark => 1); {
menuentry("... Install", Dark => 1);
- menuentry("... Graphical install", Graphical => 1, Dark => 1);
start_submenu("... Advanced options ...", Hotkey => 'a', Dark => 1); {
- menuentry("... Graphical expert install", Graphical => 1, Expert => 1, Dark => 1);
- menuentry("... Graphical rescue mode", Graphical => 1, Rescue => 1, Dark => 1);
- menuentry("... Graphical automated install", Graphical => 1, Auto => 1, Dark => 1);
menuentry("... Expert install", Expert => 1, Dark => 1);
menuentry("... Rescue mode", Rescue => 1, Dark => 1);
menuentry("... Automated install", Auto => 1, Dark => 1);

View file

@ -0,0 +1,16 @@
We'll remove the force-overwrite flag once we conclude the riscv rework on the kernel and new arch implementation.
-- ark74 - Mon, 07 Jul 2025 23:27:26 -0600
diff --git a/build/config/common b/build/config/common
index 6e58ca8f..5953b26f 100644
--- a/build/config/common
+++ b/build/config/common
@@ -41,7 +41,7 @@ PRESEED =
# Options to pass to dpkg when it is unpacking the udebs to create the
# image. None should be needed, but --force-overwrite might need to be
# enabled from time to time if udebs have conflicting files.
-DPKG_UNPACK_OPTIONS =
+DPKG_UNPACK_OPTIONS = --force-overwrite
# The codename of the Trisquel release that should be installed by default.
TRISQUEL_RELEASE = ecne

View file

@ -1,62 +0,0 @@
diff -Nru source/build/Makefile source_no_proposed/build/Makefile
--- source/build/Makefile 2022-10-20 08:22:18.334230755 -0500
+++ source_no_proposed/build/Makefile 2022-10-20 08:25:19.346634640 -0500
@@ -636,7 +636,7 @@
echo "deb $(MIRROR) unreleased $(UDEB_COMPONENTS)"; \
fi \
else \
- gen-sources.list.udeb "$(SYSTEM_SOURCES_LIST)" $(USE_UDEBS_FROM) $(UDEB_COMPONENTS) $(USE_PROPOSED_UPDATES); \
+ gen-sources.list.udeb "$(SYSTEM_SOURCES_LIST)" $(USE_UDEBS_FROM) $(UDEB_COMPONENTS); \
if [ "$(USE_UNRELEASED)" = 1 ]; then \
gen-sources.list.udeb "$(SYSTEM_SOURCES_LIST)" unreleased $(UDEB_COMPONENTS); \
fi \
@@ -648,10 +648,6 @@
echo "Using generated $@:"; \
sed -n "/^[^#]/ s/^/ /p" $@; \
fi
- @if [ "$(USE_PROPOSED_UPDATES)" = 1 ] && ! grep -q proposed-updates $@; then \
- echo "ERROR: no valid source for $(USE_UDEBS_FROM)-proposed-updates"; \
- exit 1; \
- fi
# Font generation.
#
diff -Nru source/build/util/gen-sources.list.udeb source_no_proposed/build/util/gen-sources.list.udeb
--- source/build/util/gen-sources.list.udeb 2022-09-06 15:55:12.000000000 -0500
+++ source_no_proposed/build/util/gen-sources.list.udeb 2022-10-20 08:26:32.538801725 -0500
@@ -8,7 +8,6 @@
SOURCES_LIST=$1
SUITE=$2
UDEB_COMPONENTS=$3
-USE_PROPOSED_UPDATES=$4 # optional
# Set to 1 or 2 to see increasing debug info about mirror tests
# Use 0 for quiet (normal) operation
@@ -84,16 +83,8 @@
else
echo "WARNING: mirror '$tmirror' appears to be invalid; skipping" >&2
fi
- if [ "$USE_PROPOSED_UPDATES" = 1 ] &&
- test_url $tmirror/dists/$SUITE-proposed-updates/Release; then
- echo "$mirror $SUITE-proposed-updates $UDEB_COMPONENTS"
- echo "INFO: using '$tmirror' for $SUITE-proposed-updates" >&2
- fi
else
echo "$mirror $SUITE $UDEB_COMPONENTS"
- if [ "$USE_PROPOSED_UPDATES" = 1 ]; then
- echo "$mirror $SUITE-proposed-updates $UDEB_COMPONENTS"
- fi
fi
done | perl -ne 'print unless $seen{$_}; $seen{$_}=1'
diff -Nru source/debian/rules source_no_proposed/debian/rules
--- source/debian/rules 2022-10-20 08:22:18.318230720 -0500
+++ source_no_proposed/debian/rules 2022-10-20 08:26:53.702850378 -0500
@@ -13,7 +13,6 @@
BOOTMENU_BEEP=n
else
USE_UDEBS_FROM=aramo
-USE_PROPOSED_UPDATES=1
TRANSSTATUS=translation-status
BOOTMENU_BEEP=y
endif

View file

@ -0,0 +1 @@
trisquel

View file

@ -0,0 +1,39 @@
diff --git a/depthcharge_tools/depthchargectl/_build.py b/depthcharge_tools/depthchargectl/_build.py
index a605b83c..746e8a51 100644
--- a/depthcharge_tools/depthchargectl/_build.py
+++ b/depthcharge_tools/depthchargectl/_build.py
@@ -157,11 +157,12 @@ class depthchargectl_build(
@Argument("--kernel-release", nargs=1)
def kernel_release(self, name=None):
"""Release name for the kernel used in image name"""
- if name is None and self.kernel_version is not None:
- if self.kernel == self.kernel_version.kernel:
- name = self.kernel_version.release
-
- return name
+ # Trisquel customization: skip autodetection and honor empty values.
+ if name is not None:
+ return name
+ if self.kernel_version is not None and self.kernel == self.kernel_version.kernel:
+ return self.kernel_version.release
+ return ""
@custom_kernel_options.add
@Argument("--kernel", nargs=1)
diff --git a/depthcharge_tools/depthchargectl/_build.py b/depthcharge_tools/depthchargectl/_build.py
index 746e8a51..45e0c02c 100644
--- a/depthcharge_tools/depthchargectl/_build.py
+++ b/depthcharge_tools/depthchargectl/_build.py
@@ -82,6 +82,12 @@ class depthchargectl_build(
@Argument
def kernel_version(self, kernel_version=None):
"""Installed kernel version to build an image for."""
+
+ # Trisquel customization: If --kernel is set but --kernel-version is
+ # not, skip autodetection and return None early
+ if kernel_version is None and self.kernel is not None:
+ return None
+
if isinstance(kernel_version, KernelEntry):
return kernel_version

View file

@ -0,0 +1,17 @@
--- a/scripts/reproducible-check 2023-04-02 17:44:26+00:00
+++ b/scripts/reproducible-check 2024-06-21 06:33:30.224688+00:00
@@ -198,13 +198,13 @@
# We may have installed a binNMU version locally so we need to
# strip these off when looking up against the JSON of results.
version = re.sub(r"\+b\d+$", "", pkg_ver.version)
- result[
- (pkg.shortname, pkg_ver.architecture, version)
- ] = pkg_ver.source_name
+ result[(pkg.shortname, pkg_ver.architecture, version)] = (
+ pkg_ver.source_name
+ )
self.log.debug("Parsed %d installed binary packages", len(result))

File diff suppressed because it is too large Load diff

View file

@ -1,5 +1,5 @@
--- debian/README.Debian 2019-10-17 15:10:30.000000000 -0500 --- a/debian/README.Debian 2019-10-17 15:10:30.000000000 -0500
+++ debian/README.Debian_trisquel 2021-11-26 13:26:20.362971709 -0600 +++ b/debian/README.Debian 2021-11-26 13:26:20.362971709 -0600
@@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
=========== ===========

View file

@ -1,14 +1,16 @@
--- lib/tools.py 2021-10-15 08:01:00.000000000 -0500 diff --git a/lib/tools.py b/lib/tools.py
+++ lib/tools.py 2022-04-06 12:27:07.672427372 -0500 index 2ab74f7f..a3d52620 100644
@@ -37,7 +37,7 @@ --- a/lib/tools.py
+++ b/lib/tools.py
@@ -49,7 +49,7 @@ def get_csv_dict_reader(filename: str) -> csv.DictReader:
def main(validation_function): def main(validation_function):
"""Main function with command line parameter parsing.""" """Main function with command line parameter parsing."""
script_name = os.path.basename(sys.argv[0]) - parser = argparse.ArgumentParser(usage="%(prog)s [-h] -d|-u csv-file")
- usage = "%s [-h] -d|-u csv-file" % (script_name) + parser = argparse.ArgumentParser(usage="%(prog)s [-h] -d|-u|-t csv-file")
+ usage = "%s [-h] -d|-u|-t csv-file" % (script_name)
parser = argparse.ArgumentParser(usage=usage)
parser.add_argument( parser.add_argument(
"-d",
@@ -56,15 +56,24 @@ @@ -56,15 +56,24 @@
default=False, default=False,
help="validate an Ubuntu CSV file", help="validate an Ubuntu CSV file",

View file

@ -1,5 +1,5 @@
--- validate-csv-data 2021-10-15 08:01:00.000000000 -0500 --- a/validate-csv-data 2021-10-15 08:01:00.000000000 -0500
+++ validate-csv-data 2022-04-06 12:27:29.004706669 -0500 +++ b/validate-csv-data 2022-04-06 12:27:29.004706669 -0500
@@ -27,6 +27,13 @@ @@ -27,6 +27,13 @@

View file

@ -12,3 +12,4 @@ version,codename,series,created,release,eol,upstream
9.0 LTS,Etiona,etiona,2017-10-19,2020-10-16,2023-05-31,bionic 9.0 LTS,Etiona,etiona,2017-10-19,2020-10-16,2023-05-31,bionic
10.0 LTS,Nabia,nabia,2019-10-17,2021-12-16,2025-05-29,focal 10.0 LTS,Nabia,nabia,2019-10-17,2021-12-16,2025-05-29,focal
11.0 LTS,Aramo,aramo,2021-10-14,2023-03-19,2027-06-01,jammy 11.0 LTS,Aramo,aramo,2021-10-14,2023-03-19,2027-06-01,jammy
12.0 LTS,Ecne,ecne,2023-10-12,2029-05-31,2029-05-31,noble

1 version codename series created release eol upstream
12 9.0 LTS Etiona etiona 2017-10-19 2020-10-16 2023-05-31 bionic
13 10.0 LTS Nabia nabia 2019-10-17 2021-12-16 2025-05-29 focal
14 11.0 LTS Aramo aramo 2021-10-14 2023-03-19 2027-06-01 jammy
15 12.0 LTS Ecne ecne 2023-10-12 2029-05-31 2029-05-31 noble

View file

@ -1,5 +1,7 @@
--- source/python/distro_info.py 2021-11-04 15:27:37.000000000 -0600 diff --git a/python/distro_info.py b/python/distro_info.py
+++ source/python/distro_info.py_fix 2022-04-06 10:20:39.217365952 -0500 index c87fbff6..0a624745 100644
--- a/python/distro_info.py
+++ b/python/distro_info.py
@@ -1,3 +1,4 @@ @@ -1,3 +1,4 @@
+# Copyright (C) 2021, Trisquel GNU/Linux developers <trisquel-devel@listas.trisquel.info> +# Copyright (C) 2021, Trisquel GNU/Linux developers <trisquel-devel@listas.trisquel.info>
# Copyright (C) 2009-2012, Benjamin Drung <bdrung@debian.org> # Copyright (C) 2009-2012, Benjamin Drung <bdrung@debian.org>
@ -23,7 +25,7 @@
""" """
def __init__(self, distro): def __init__(self, distro):
@@ -311,14 +312,14 @@ @@ -340,16 +340,16 @@ class DebianDistroInfo(DistroInfo):
] ]
@ -32,31 +34,35 @@
+class TrisquelDistroInfo(DistroInfo): +class TrisquelDistroInfo(DistroInfo):
+ """provides information about Trisquel's distributions""" + """provides information about Trisquel's distributions"""
def __init__(self): def __init__(self) -> None:
- super().__init__("Ubuntu") - super().__init__("Ubuntu")
+ super().__init__("Trisquel") + super().__init__("Trisquel")
def lts(self, date=None, result="codename"): def lts(
self, date: typing.Optional[datetime.date] = None, result: str = "codename"
) -> typing.Union[DistroRelease, str]:
- """Get latest long term support (LTS) Ubuntu distribution based on the - """Get latest long term support (LTS) Ubuntu distribution based on the
+ """Get latest long term support (LTS) Trisquel distribution based on the + """Get latest long term support (LTS) Trisquel distribution based on the
given date.""" given date."""
if date is None: if date is None:
date = self._date date = self._date
@@ -337,7 +338,7 @@ @@ -372,7 +372,7 @@ class UbuntuDistroInfo(DistroInfo):
return "LTS" in distros[0].version def supported(
self, date: typing.Optional[datetime.date] = None, result: str = "codename"
def supported(self, date=None, result="codename"): ) -> list[typing.Union[DistroRelease, str]]:
- """Get list of all supported Ubuntu distributions based on the given - """Get list of all supported Ubuntu distributions based on the given
+ """Get list of all supported Trisquel distributions based on the given + """Get list of all supported Trisquel distributions based on the given
date.""" date."""
if date is None: if date is None:
date = self._date date = self._date
@@ -347,15 +348,3 @@ @@ -382,17 +382,3 @@ class UbuntuDistroInfo(DistroInfo):
if date <= x.eol or (x.eol_server is not None and date <= x.eol_server) if (x.eol and date <= x.eol) or (x.eol_server is not None and date <= x.eol_server)
] ]
return distros return distros
- -
- def supported_esm(self, date=None, result="codename"): - def supported_esm(
- self, date: typing.Optional[datetime.date] = None, result: str = "codename"
- ) -> list[typing.Union[DistroRelease, str]]:
- """Get list of all ESM supported Ubuntu distributions based on the - """Get list of all ESM supported Ubuntu distributions based on the
- given date.""" - given date."""
- if date is None: - if date is None:

View file

@ -0,0 +1,152 @@
diff --git a/python/distro_info_test/test_distro_info.py b/python/distro_info_test/test_distro_info.py
index b9e1cc13..94474bf5 100644
--- a/python/distro_info_test/test_distro_info.py
+++ b/python/distro_info_test/test_distro_info.py
@@ -1,5 +1,6 @@
# test_distro_info.py - Test suite for distro_info
#
+# Copyright (C) 2024, Trisquel GNU/Linux developers <trisquel-devel@listas.trisquel.info>
# Copyright (C) 2011, Benjamin Drung <bdrung@debian.org>
#
# Permission to use, copy, modify, and/or distribute this software for any
@@ -19,7 +20,7 @@
import datetime
import unittest
-from distro_info import DebianDistroInfo, UbuntuDistroInfo
+from distro_info import DebianDistroInfo, TrisquelDistroInfo
class DebianDistroInfoTestCase(unittest.TestCase): # pylint: disable=too-many-public-methods
@@ -122,91 +123,89 @@ class DebianDistroInfoTestCase(unittest.TestCase): # pylint: disable=too-many-p
self.assertEqual(self._distro_info.stable(self._date, result="release"), "5.0")
-class UbuntuDistroInfoTestCase(unittest.TestCase): # pylint: disable=too-many-public-methods
- """TestCase object for distro_info.UbuntuDistroInfo"""
+class TrisquelDistroInfoTestCase(unittest.TestCase): # pylint: disable=too-many-public-methods
+ """TestCase object for distro_info.TrisquelDistroInfo"""
def setUp(self) -> None: # pylint: disable=invalid-name
- self._distro_info = UbuntuDistroInfo()
+ self._distro_info = TrisquelDistroInfo()
self._date = datetime.date(2011, 1, 10)
def test_all(self) -> None:
- """Test: List all known Ubuntu distributions."""
+ """Test: List all known Trisquel distributions."""
all_distros = {
- "warty",
- "hoary",
- "breezy",
- "dapper",
- "edgy",
- "feisty",
- "gutsy",
- "hardy",
- "intrepid",
- "jaunty",
- "karmic",
- "lucid",
- "maverick",
- "natty",
+ "robur",
+ "dwyn",
+ "awen",
+ "taranis",
+ "slaine",
+ "dagda",
+ "brigantia",
+ "toutanis",
+ "belenos",
+ "flidas",
+ "etiona",
+ "nabia",
}
self.assertEqual(all_distros - set(self._distro_info.all), set())
def test_devel(self) -> None:
- """Test: Get latest development Ubuntu distribution."""
- self.assertEqual(self._distro_info.devel(self._date), "natty")
+ """Test: Get latest development Trisquel distribution."""
+ self.assertEqual(self._distro_info.devel(self._date), "dagda")
def test_lts(self) -> None:
- """Test: Get latest long term support (LTS) Ubuntu distribution."""
- self.assertEqual(self._distro_info.lts(self._date), "lucid")
+ """Test: Get latest long term support (LTS) Trisquel distribution."""
+ self.assertEqual(self._distro_info.lts(self._date), "taranis")
def test_stable(self) -> None:
- """Test: Get latest stable Ubuntu distribution."""
- self.assertEqual(self._distro_info.stable(self._date), "maverick")
+ """Test: Get latest stable Trisquel distribution."""
+ self.assertEqual(self._distro_info.stable(self._date), "taranis")
def test_supported(self) -> None:
- """Test: List all supported Ubuntu distribution."""
- supported = ["dapper", "hardy", "karmic", "lucid", "maverick", "natty"]
+ """Test: List all supported Trisquel distribution."""
+ supported = ["robur", "awen", "taranis", "slaine", "dagda"]
self.assertEqual(self._distro_info.supported(self._date), supported)
def test_unsupported(self) -> None:
- """Test: List all unsupported Ubuntu distributions."""
- unsupported = ["warty", "hoary", "breezy", "edgy", "feisty", "gutsy", "intrepid", "jaunty"]
+ """Test: List all unsupported Trisquel distributions."""
+ unsupported = ["dwyn"]
self.assertEqual(self._distro_info.unsupported(self._date), unsupported)
def test_current_unsupported(self) -> None:
- """Test: List all unsupported Ubuntu distributions today."""
- unsupported = {"warty", "hoary", "breezy", "edgy", "feisty", "gutsy", "intrepid", "jaunty"}
+ """Test: List all unsupported Trisquel distributions today."""
+ unsupported = {"robur", "dwyn"}
self.assertEqual(unsupported - set(str(d) for d in self._distro_info.unsupported()), set())
def test_valid(self) -> None:
- """Test: Check for valid Ubuntu distribution."""
- self.assertTrue(self._distro_info.valid("lucid"))
+ """Test: Check for valid Trisquel distribution."""
+ self.assertTrue(self._distro_info.valid("taranis"))
self.assertFalse(self._distro_info.valid("42"))
def test_is_lts(self) -> None:
- """Test: Check if Ubuntu distribution is an LTS."""
- self.assertTrue(self._distro_info.is_lts("lucid"))
+ """Test: Check if Trisquel distribution is an LTS."""
+ self.assertTrue(self._distro_info.is_lts("taranis"))
self.assertFalse(self._distro_info.is_lts("42"))
self.assertFalse(self._distro_info.is_lts("warty"))
def test_codename(self) -> None:
"""Test: Check result set to codename."""
- self.assertEqual(self._distro_info.lts(self._date, "codename"), "lucid")
- self.assertEqual(self._distro_info.devel(self._date, result="codename"), "natty")
+ self.assertEqual(self._distro_info.lts(self._date, "codename"), "taranis")
+ self.assertEqual(self._distro_info.devel(self._date, result="codename"), "dagda")
def test_version(self) -> None:
"""Test: Check result set to version."""
- self.assertEqual(self._distro_info.version("lucid"), "10.04 LTS")
- self.assertEqual(self._distro_info.version("Maverick Meerkat"), "10.10")
+ self.assertEqual(self._distro_info.version("taranis"), "4.0 LTS")
+ self.assertEqual(self._distro_info.version("Slaine"), "4.5")
def test_fullname(self) -> None:
"""Test: Check result set to fullname."""
self.assertEqual(
- self._distro_info.stable(self._date, "fullname"), 'Ubuntu 10.10 "Maverick Meerkat"'
+ self._distro_info.stable(self._date, "fullname"), 'Trisquel 4.0 LTS "Taranis"'
)
self.assertEqual(
- self._distro_info.lts(self._date, result="fullname"), 'Ubuntu 10.04 LTS "Lucid Lynx"'
+ self._distro_info.lts(self._date, result="fullname"), 'Trisquel 4.0 LTS "Taranis"'
)
def test_release(self) -> None:
"""Test: Check result set to release."""
- self.assertEqual(self._distro_info.devel(self._date, "release"), "11.04")
- self.assertEqual(self._distro_info.lts(self._date, result="release"), "10.04 LTS")
+ self.assertEqual(self._distro_info.devel(self._date, "release"), "5.0")
+ self.assertEqual(self._distro_info.lts(self._date, result="release"), "4.0 LTS")

View file

@ -1,3 +1,8 @@
##
# This file is used for reference when the patch needs updating.
# only remove it when you no longer need it on the next release
# e.g. T12 > T13, etc.
##
# test_distro_info.py - Test suite for distro_info # test_distro_info.py - Test suite for distro_info
# #
# Copyright (C) 2021, Trisquel GNU/Linux developers <trisquel-devel@listas.trisquel.info> # Copyright (C) 2021, Trisquel GNU/Linux developers <trisquel-devel@listas.trisquel.info>

View file

@ -1,100 +0,0 @@
# Copyright © 2008 Ian Jackson <ijackson@chiark.greenend.org.uk>
# Copyright © 2008 Canonical, Ltd.
# written by Colin Watson <cjwatson@ubuntu.com>
# Copyright © 2008 James Westby <jw+debian@jameswestby.net>
# Copyright © 2009 Raphaël Hertzog <hertzog@debian.org>
# Copyright © 2022 Ruben Rodriguez <ruben@trisquel.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
package Dpkg::Vendor::Trisquel;
use strict;
use warnings;
our $VERSION = '0.01';
use Dpkg::ErrorHandling;
use Dpkg::Gettext;
use Dpkg::Control::Types;
use parent qw(Dpkg::Vendor::Debian);
=encoding utf8
=head1 NAME
Dpkg::Vendor::Trisquel - Trisquel vendor class
=head1 DESCRIPTION
This vendor class customizes the behaviour of dpkg scripts for Trisquel
specific behavior and policies.
=cut
sub run_hook {
my ($self, $hook, @params) = @_;
if ($hook eq 'package-keyrings') {
return ($self->SUPER::run_hook($hook),
'/usr/share/keyrings/trisquel-archive-keyring.gpg');
} elsif ($hook eq 'archive-keyrings') {
return ($self->SUPER::run_hook($hook),
'/usr/share/keyrings/trisquel-archive-keyring.gpg');
} elsif ($hook eq 'archive-keyrings-historic') {
return ($self->SUPER::run_hook($hook),
'/usr/share/keyrings/trisquel-archive-removed-keys.gpg');
} elsif ($hook eq 'update-buildflags') {
my $flags = shift @params;
# Run the Debian hook to add hardening flags
$self->SUPER::run_hook($hook, $flags);
require Dpkg::BuildOptions;
my $build_opts = Dpkg::BuildOptions->new();
if (!$build_opts->has('noopt')) {
require Dpkg::Arch;
my $arch = Dpkg::Arch::get_host_arch();
if (Dpkg::Arch::debarch_eq($arch, 'ppc64el')) {
for my $flag (qw(CFLAGS CXXFLAGS OBJCFLAGS OBJCXXFLAGS GCJFLAGS
FFLAGS FCFLAGS)) {
my $value = $flags->get($flag);
$value =~ s/-O[0-9]/-O3/;
$flags->set($flag, $value);
}
}
}
# Per https://wiki.ubuntu.com/DistCompilerFlags
$flags->prepend('LDFLAGS', '-Wl,-Bsymbolic-functions');
} else {
return $self->SUPER::run_hook($hook, @params);
}
# Default return value for unknown/unimplemented hooks
return;
}
=head1 CHANGES
=head2 Version 0.xx
This is a private module.
=cut
1;

View file

@ -0,0 +1,56 @@
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index 8d39d24..c69d88d 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -89,6 +89,7 @@ nobase_dist_perllib_DATA = \
Dpkg/Vendor/Default.pm \
Dpkg/Vendor/Devuan.pm \
Dpkg/Vendor/Ubuntu.pm \
+ Dpkg/Vendor/Trisquel.pm \
Dpkg/Version.pm \
Dpkg.pm \
# EOL
@@ -237,6 +238,7 @@ test_scripts = \
t/Dpkg_BuildEnv.t \
t/Dpkg_BuildFlags.t \
t/Dpkg_BuildFlags_Ubuntu.t \
+ t/Dpkg_BuildFlags_Trisquel.t
t/Dpkg_BuildInfo.t \
t/Dpkg_BuildOptions.t \
t/Dpkg_BuildProfiles.t \
@@ -258,6 +260,7 @@ test_scripts = \
t/Dpkg_Vendor.t \
t/Dpkg_Changelog.t \
t/Dpkg_Changelog_Ubuntu.t \
+ t/Dpkg_Changelog_Trisquel.t \
t/Dpkg_Control_Fields.t \
t/Dpkg_Control.t \
t/Dpkg_Control_Tests.t \
diff --git a/scripts/Makefile.in b/scripts/Makefile.in
index 8b0a61f..74a035f 100644
--- a/scripts/Makefile.in
+++ b/scripts/Makefile.in
@@ -548,6 +548,7 @@ nobase_dist_perllib_DATA = \
Dpkg/Vendor/Default.pm \
Dpkg/Vendor/Devuan.pm \
Dpkg/Vendor/Ubuntu.pm \
+ Dpkg/Vendor/Trisquel.pm \
Dpkg/Version.pm \
Dpkg.pm \
# EOL
@@ -644,6 +645,7 @@ test_scripts = \
t/Dpkg_BuildEnv.t \
t/Dpkg_BuildFlags.t \
t/Dpkg_BuildFlags_Ubuntu.t \
+ t/Dpkg_BuildFlags_Trisquel.t \
t/Dpkg_BuildInfo.t \
t/Dpkg_BuildOptions.t \
t/Dpkg_BuildProfiles.t \
@@ -665,6 +667,7 @@ test_scripts = \
t/Dpkg_Vendor.t \
t/Dpkg_Changelog.t \
t/Dpkg_Changelog_Ubuntu.t \
+ t/Dpkg_Changelog_Trisquel.t \
t/Dpkg_Control_Fields.t \
t/Dpkg_Control.t \
t/Dpkg_Control_Tests.t \

View file

@ -0,0 +1,154 @@
diff --git a/scripts/Dpkg/Vendor/Trisquel.pm b/scripts/Dpkg/Vendor/Trisquel.pm
index 383d5cc..8b65c43 100644
--- a/scripts/Dpkg/Vendor/Trisquel.pm
+++ b/scripts/Dpkg/Vendor/Trisquel.pm
@@ -3,6 +3,8 @@
# written by Colin Watson <cjwatson@ubuntu.com>
# Copyright © 2008 James Westby <jw+debian@jameswestby.net>
# Copyright © 2009 Raphaël Hertzog <hertzog@debian.org>
+# Copyright © 2022 Ruben Rodriguez <ruben@trisquel.org>
+# Copyright © 2024 Luis Guzman <ark@switnet.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -21,18 +23,18 @@
=head1 NAME
-Dpkg::Vendor::Ubuntu - Ubuntu vendor class
+Dpkg::Vendor::Trisquel - Trisquel vendor class
=head1 DESCRIPTION
-This vendor class customizes the behavior of dpkg scripts for Ubuntu
+This vendor class customizes the behavior of dpkg scripts for Trisquel
specific behavior and policies.
B<Note>: This is a private module, its API can change at any time.
=cut
-package Dpkg::Vendor::Ubuntu 0.01;
+package Dpkg::Vendor::Trisquel 0.01;
use strict;
use warnings;
@@ -48,71 +50,20 @@ use parent qw(Dpkg::Vendor::Debian);
sub run_hook {
my ($self, $hook, @params) = @_;
- if ($hook eq 'before-source-build') {
- my $src = shift @params;
- my $fields = $src->{fields};
-
- # check that Maintainer/XSBC-Original-Maintainer comply to
- # https://wiki.ubuntu.com/DebianMaintainerField
- if (defined($fields->{'Version'}) and defined($fields->{'Maintainer'}) and
- $fields->{'Version'} =~ /ubuntu/) {
- if ($fields->{'Maintainer'} !~ /(?:ubuntu|canonical)/i) {
- if (length $ENV{DEBEMAIL} and $ENV{DEBEMAIL} =~ /\@(?:ubuntu|canonical)\.com/) {
- error(g_('Version number suggests Ubuntu changes, but Maintainer: does not have Ubuntu address'));
- } else {
- warning(g_('Version number suggests Ubuntu changes, but Maintainer: does not have Ubuntu address'));
- }
- }
- unless ($fields->{'Original-Maintainer'}) {
- warning(g_('Version number suggests Ubuntu changes, but there is no XSBC-Original-Maintainer field'));
- }
- }
- } elsif ($hook eq 'package-keyrings') {
+ if ($hook eq 'package-keyrings') {
return ($self->SUPER::run_hook($hook),
- '/usr/share/keyrings/ubuntu-archive-keyring.gpg');
+ '/usr/share/keyrings/trisquel-archive-keyring.gpg');
} elsif ($hook eq 'archive-keyrings') {
return ($self->SUPER::run_hook($hook),
- '/usr/share/keyrings/ubuntu-archive-keyring.gpg');
+ '/usr/share/keyrings/trisquel-archive-keyring.gpg');
} elsif ($hook eq 'archive-keyrings-historic') {
return ($self->SUPER::run_hook($hook),
- '/usr/share/keyrings/ubuntu-archive-removed-keys.gpg');
- } elsif ($hook eq 'register-custom-fields') {
- my @field_ops = $self->SUPER::run_hook($hook);
- push @field_ops, [
- 'register', 'Launchpad-Bugs-Fixed',
- CTRL_FILE_CHANGES | CTRL_CHANGELOG,
- ], [
- 'insert_after', CTRL_FILE_CHANGES, 'Closes', 'Launchpad-Bugs-Fixed',
- ], [
- 'insert_after', CTRL_CHANGELOG, 'Closes', 'Launchpad-Bugs-Fixed',
- ];
- return @field_ops;
- } elsif ($hook eq 'post-process-changelog-entry') {
- my $fields = shift @params;
-
- # Add Launchpad-Bugs-Fixed field
- my $bugs = find_launchpad_closes($fields->{'Changes'} // '');
- if (scalar(@$bugs)) {
- $fields->{'Launchpad-Bugs-Fixed'} = join(' ', @$bugs);
- }
- } elsif ($hook eq 'update-buildopts') {
- my $build_opts = shift @params;
- require Dpkg::Arch;
- my $arch = Dpkg::Arch::get_host_arch();
- if (Dpkg::Arch::debarch_eq($arch, 'riscv64')) {
- $build_opts->set('nocheck', 1, 'riscv64');
- }
- } elsif ($hook eq 'update-buildprofiles') {
- my $build_profiles_ref = shift @params;
- unless(grep $_ =~ /^!?noudeb$/, @$build_profiles_ref) {
- unshift(@$build_profiles_ref, 'noudeb');
- } else {
- # Strip otherwise invalid profile name
- @$build_profiles_ref = grep { $_ ne "!noudeb" } @$build_profiles_ref;
- }
+ '/usr/share/keyrings/trisquel-archive-removed-keys.gpg');
} else {
return $self->SUPER::run_hook($hook, @params);
}
+ # Default return value for unknown/unimplemented hooks
+ return;
}
sub _lto_disabled {
@@ -289,39 +240,11 @@ sub add_build_flags {
return;
}
-=head1 PUBLIC FUNCTIONS
-
-=over
-
-=item $bugs = Dpkg::Vendor::Ubuntu::find_launchpad_closes($changes)
-
-Takes one string as argument and finds "LP: #123456, #654321" statements,
-which are references to bugs on Launchpad. Returns all closed bug
-numbers in an array reference.
-
-=cut
-
-sub find_launchpad_closes {
- my $changes = shift;
- my %closes;
-
- while ($changes &&
- ($changes =~ /lp:\s+\#\d+(?:,\s*\#\d+)*/pig)) {
- $closes{$_} = 1 foreach (${^MATCH} =~ /\#?\s?(\d+)/g);
- }
-
- my @closes = sort { $a <=> $b } keys %closes;
-
- return \@closes;
-}
-
-=back
-
=head1 CHANGES
=head2 Version 0.xx
-This is a semi-private module. Only documented functions are public.
+This is a private module.
=cut

View file

@ -0,0 +1,43 @@
diff --git a/electrum/gui/qt/update_checker.py b/electrum/gui/qt/update_checker.py
index fa3ad989..998e746f 100644
--- a/electrum/gui/qt/update_checker.py
+++ b/electrum/gui/qt/update_checker.py
@@ -16,7 +16,7 @@ from electrum.i18n import _
from electrum.util import make_aiohttp_session
from electrum.logging import Logger
from electrum.network import Network
-from electrum._vendor.distutils.version import StrictVersion
+import packaging.version
class UpdateCheck(QDialog, Logger):
@@ -76,7 +76,7 @@ class UpdateCheck(QDialog, Logger):
@staticmethod
def is_newer(latest_version):
- return latest_version > StrictVersion(version.ELECTRUM_VERSION)
+ return latest_version > packaging.version(version.ELECTRUM_VERSION)
def update_view(self, latest_version=None):
if latest_version:
@@ -129,7 +129,7 @@ class UpdateCheckThread(QThread, Logger):
break
else:
raise Exception('no valid signature for version announcement')
- return StrictVersion(version_num.strip())
+ return packaging.version(version_num.strip())
def run(self):
if not self.network:
diff --git a/debian/control b/debian/control
index 6b24e90c..2a3f3436 100644
--- a/debian/control
+++ b/debian/control
@@ -24,6 +24,7 @@ Build-Depends:
python3-dnspython (>= 2.0),
python3-ecdsa (>= 0.14),
python3-kivy,
+ python3-packaging,
python3-pbkdf2,
python3-protobuf (>= 3.12),
python3-pyaes,

View file

@ -0,0 +1,32 @@
diff --git a/tests/meson.build b/tests/meson.build
index 5528a6e4..4b63cb85 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -31,16 +31,17 @@ if get_option('unit_tests').enabled()
# env: envs
# )
- embed_shell_test = executable('test-ephy-embed-shell',
- 'ephy-embed-shell-test.c',
- adguard_resources,
- dependencies: ephymain_dep,
- c_args: test_cargs + ['-DTEST_DIR="' + meson.current_source_dir() + '"'],
- )
- test('Embed shell test',
- embed_shell_test,
- env: envs
- )
+ # TRISQUEL: Disabled test due builds env don't support OpenGL.
+ #embed_shell_test = executable('test-ephy-embed-shell',
+ # 'ephy-embed-shell-test.c',
+ # adguard_resources,
+ # dependencies: ephymain_dep,
+ # c_args: test_cargs + ['-DTEST_DIR="' + meson.current_source_dir() + '"'],
+ #)
+ #test('Embed shell test',
+ # embed_shell_test,
+ # env: envs
+ #)
embed_utils_test = executable('test-ephy-embed-utils',
'ephy-embed-utils-test.c',

View file

@ -0,0 +1,49 @@
#!/bin/sh
# Enable 'splash' only on UEFI desktop installs, and only if Plymouth is present.
# Runs before 10update-initramfs, so we only call update-grub here.
#
# Run only on UEFI installs
[ -d /sys/firmware/efi ] || exit 0
# Require plymouth in the target system (otherwise splash is pointless)
in-target dpkg -s plymouth >/dev/null 2>&1 || exit 0
# Heuristic “desktop present?” check — avoid debconf; rely on packages/DM.
if ! in-target sh -c '
dpkg -s trisquel-desktop-common >/dev/null 2>&1 ||
dpkg -s triskel >/dev/null 2>&1 ||
dpkg -s trisquel-gnome >/dev/null 2>&1 ||
dpkg -s trisquel-mini >/dev/null 2>&1 ||
dpkg -s lightdm >/dev/null 2>&1 ||
dpkg -s gdm3 >/dev/null 2>&1 ||
dpkg -s sddm >/dev/null 2>&1
'; then
# No desktop, then do nothing
exit 0
fi
CFG=/target/etc/default/grub
[ -f "$CFG" ] || exit 0
# If the key is missing entirely, create it with just "splash"
grep -q '^GRUB_CMDLINE_LINUX_DEFAULT=' "$CFG" \
|| echo 'GRUB_CMDLINE_LINUX_DEFAULT="splash"' >> "$CFG"
# Normalize trivial cases:
# - empty quotes > "splash"
# - unquoted value > quote it
sed -i -r \
-e 's/^GRUB_CMDLINE_LINUX_DEFAULT=""$/GRUB_CMDLINE_LINUX_DEFAULT="splash"/' \
-e 's/^(GRUB_CMDLINE_LINUX_DEFAULT)=([^"].*)$/\1="\2"/' \
"$CFG"
# If 'splash' is already present, leave as-is; otherwise append it
grep -q '^GRUB_CMDLINE_LINUX_DEFAULT=.*\bsplash\b' "$CFG" || \
sed -i -r 's/^(GRUB_CMDLINE_LINUX_DEFAULT="[^"]*)"/\1 splash"/' "$CFG"
# Regenerate grub.cfg; never fail finish-install
in-target update-grub >/dev/null 2>&1 || true
# Always succeed so remaining finish-install hooks run
exit 0

View file

@ -1,16 +0,0 @@
diff -Nru finish-install-2.104+11.0trisquel0/finish-install.d/10update-initramfs finish-install-2.104+11.0trisquel0/finish-install.d/10update-initramfs
--- finish-install-2.104+11.0trisquel0/finish-install.d/10update-initramfs 2018-08-10 14:21:58.000000000 -0500
+++ finish-install-2.104+11.0trisquel0/finish-install.d/10update-initramfs 2022-12-18 17:56:21.817264252 -0600
@@ -4,7 +4,11 @@
# update-initramfs to make sure one can type the passphrase
# (see #694156, workaround for #696773):
/bin/in-target \
- /bin/sh -c "dpkg-query -s cryptsetup >/dev/null 2>&1 && dpkg-query -s console-setup >/dev/null 2>&1"
+ /bin/sh -c "dpkg-query -s console-setup >/dev/null 2>&1"
+
+#Fix bug keyboard not using the selected layout.
+/bin/in-target \
+ dpkg-reconfigure -f noninteractive keyboard-configuration
if [ $? = 0 ]; then
echo "Encrypted LVM detected, refreshing initramfs"

View file

@ -0,0 +1,16 @@
diff --git a/finish-install.d/10update-initramfs b/finish-install.d/10update-initramfs
index f91557cb..6b35ce25 100755
--- a/finish-install.d/10update-initramfs
+++ b/finish-install.d/10update-initramfs
@@ -6,8 +6,10 @@ log() {
# If both cryptsetup and console-setup are installed, run update-initramfs to
# make sure one can type the passphrase (see #694156, workaround for #696773):
-if /bin/in-target /bin/sh -c "dpkg-query -s cryptsetup >/dev/null 2>&1 && dpkg-query -s console-setup >/dev/null 2>&1"; then
+if /bin/in-target /bin/sh -c "dpkg-query -s console-setup >/dev/null 2>&1"; then
log "refresh initramfs for cryptsetup"
+ # Fix bug keyboard not using the selected layout. --Trisquel
+ /bin/in-target /bin/sh -c "dpkg-reconfigure -f noninteractive keyboard-configuration"
refresh=yes
fi

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 9.4 KiB

After

Width:  |  Height:  |  Size: 7 KiB

Before After
Before After

View file

@ -40,8 +40,9 @@
} }
#rightBox { #rightBox {
margin-left: 30px; background-size: auto 64px;
margin-right: 30px; margin-inline: 30px;
padding-top: 64px;
} }
#bottomBox { #bottomBox {

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 9.8 KiB

After

Width:  |  Height:  |  Size: 6.9 KiB

Before After
Before After

View file

@ -1,7 +1,8 @@
diff -ru firefox-110.0+build1/browser/components/BrowserGlue.sys.mjs firefox-110.0+build1/browser/components/BrowserGlue.sys.mjs_fix diff --git a/browser/components/BrowserGlue.sys.mjs b/browser/components/BrowserGlue.sys.mjs
--- firefox-110.0+build1/browser/components/BrowserGlue.sys.mjs 2023-02-07 01:52:32.000000000 -0600 index 8fa6f7a..a34ab8b 100644
+++ firefox-110.0+build1/browser/components/BrowserGlue.sys.mjs_fix 2023-02-07 14:52:59.465762604 -0600 --- a/browser/components/BrowserGlue.sys.mjs
@@ -1637,6 +1637,19 @@ +++ b/browser/components/BrowserGlue.sys.mjs
@@ -1860,6 +1860,19 @@ BrowserGlue.prototype = {
} }
}); });
@ -18,6 +19,6 @@ diff -ru firefox-110.0+build1/browser/components/BrowserGlue.sys.mjs firefox-110
+ Services.prefs.setStringPref("browser.contentblocking.category", "strict"); this._updateCBCategory; + Services.prefs.setStringPref("browser.contentblocking.category", "strict"); this._updateCBCategory;
+ } + }
+ +
// Offer to reset a user's profile if it hasn't been used for 60 days. this._maybeOfferProfileReset();
const OFFER_PROFILE_RESET_INTERVAL_MS = 60 * 24 * 60 * 60 * 1000;
let lastUse = Services.appinfo.replacedLockTime; this._checkForOldBuildUpdates();

View file

@ -1,13 +1,14 @@
diff --git a/browser/components/preferences/sync.inc.xhtml b/browser/components/preferences/sync.inc.xhtml diff --git a/browser/components/preferences/sync.inc.xhtml b/browser/components/preferences/sync.inc.xhtml
index 7d37d26..4ebbc06 100644 index 492491a3..0c8c462a 100644
--- a/browser/components/preferences/sync.inc.xhtml --- a/browser/components/preferences/sync.inc.xhtml
+++ b/browser/components/preferences/sync.inc.xhtml +++ b/browser/components/preferences/sync.inc.xhtml
@@ -35,22 +35,6 @@ @@ -35,24 +35,6 @@
</hbox> </hbox>
</vbox> </vbox>
</hbox> </hbox>
- <label class="fxaMobilePromo" data-l10n-id="sync-mobile-promo"> - <label class="fxaMobilePromo" data-l10n-id="sync-mobile-promo">
- <html:img - <html:img
- role="none"
- src="chrome://browser/skin/logo-android.svg" - src="chrome://browser/skin/logo-android.svg"
- data-l10n-name="android-icon" - data-l10n-name="android-icon"
- class="androidIcon"/> - class="androidIcon"/>
@ -15,6 +16,7 @@ index 7d37d26..4ebbc06 100644
- data-l10n-name="android-link" - data-l10n-name="android-link"
- class="fxaMobilePromo-android text-link" target="_blank"/> - class="fxaMobilePromo-android text-link" target="_blank"/>
- <html:img - <html:img
- role="none"
- src="chrome://browser/skin/logo-ios.svg" - src="chrome://browser/skin/logo-ios.svg"
- data-l10n-name="ios-icon" - data-l10n-name="ios-icon"
- class="iOSIcon"/> - class="iOSIcon"/>
@ -49,12 +51,12 @@ index 1b29e8d..6f7566c 100644
sync-profile-picture = sync-profile-picture =
.tooltiptext = Change profile picture .tooltiptext = Change profile picture
diff --git a/browser/components/protections/content/vpn-card.mjs b/browser/components/protections/content/vpn-card.mjs diff --git a/browser/components/protections/content/vpn-card.mjs b/browser/components/protections/content/vpn-card.mjs
index 2417f1a641..698c48ccc3 100644 index d9fe35c0..1b166048 100644
--- a/browser/components/protections/content/vpn-card.mjs --- a/browser/components/protections/content/vpn-card.mjs
+++ b/browser/components/protections/content/vpn-card.mjs +++ b/browser/components/protections/content/vpn-card.mjs
@@ -23,22 +23,6 @@ export default class VPNCard { @@ -24,22 +24,6 @@ export default class VPNCard {
vpnLink.addEventListener("click", () => { vpnLink.addEventListener("click", () => {
this.doc.sendTelemetryEvent("click", "vpn_card_link"); this.doc.sendTelemetryEvent("clickVpnCardLink");
}); });
- let androidVPNAppLink = document.getElementById( - let androidVPNAppLink = document.getElementById(
- "vpn-google-playstore-link" - "vpn-google-playstore-link"
@ -63,14 +65,14 @@ index 2417f1a641..698c48ccc3 100644
- "browser.contentblocking.report.vpn-android.url" - "browser.contentblocking.report.vpn-android.url"
- ); - );
- androidVPNAppLink.addEventListener("click", () => { - androidVPNAppLink.addEventListener("click", () => {
- document.sendTelemetryEvent("click", "vpn_app_link_android"); - document.sendTelemetryEvent("clickVpnAppLinkAndroid");
- }); - });
- let iosVPNAppLink = document.getElementById("vpn-app-store-link"); - let iosVPNAppLink = document.getElementById("vpn-app-store-link");
- iosVPNAppLink.href = RPMGetStringPref( - iosVPNAppLink.href = RPMGetStringPref(
- "browser.contentblocking.report.vpn-ios.url" - "browser.contentblocking.report.vpn-ios.url"
- ); - );
- iosVPNAppLink.addEventListener("click", () => { - iosVPNAppLink.addEventListener("click", () => {
- document.sendTelemetryEvent("click", "vpn_app_link_ios"); - document.sendTelemetryEvent("clickVpnAppLinkIos");
- }); - });
const vpnBanner = this.doc.querySelector(".vpn-banner"); const vpnBanner = this.doc.querySelector(".vpn-banner");

View file

@ -0,0 +1,54 @@
diff --git a/browser/app/profile/firefox.js b/browser/app/profile/firefox.js
index 52a520fd..81cc685d 100644
--- a/browser/app/profile/firefox.js
+++ b/browser/app/profile/firefox.js
@@ -1718,19 +1718,19 @@
pref("browser.topsites.component.enabled", false);
pref("browser.topsites.useRemoteSetting", true);
// Fetch sponsored Top Sites from Mozilla Tiles Service (Contile)
-pref("browser.topsites.contile.enabled", true);
-pref("browser.topsites.contile.endpoint", "https://contile.services.mozilla.com/v1/tiles");
+pref("browser.topsites.contile.enabled", false);
+pref("browser.topsites.contile.endpoint", "");
// Whether to enable the Share-of-Voice feature for Sponsored Topsites via Contile.
-pref("browser.topsites.contile.sov.enabled", true);
+pref("browser.topsites.contile.sov.enabled", false);
// The base URL for the Quick Suggest anonymizing proxy. To make a request to
// the proxy, include a campaign ID in the path.
-pref("browser.partnerlink.attributionURL", "https://topsites.services.mozilla.com/cid/");
-pref("browser.partnerlink.campaign.topsites", "amzn_2020_a1");
+pref("browser.partnerlink.attributionURL", "");
+pref("browser.partnerlink.campaign.topsites", "");
// Activates preloading of the new tab url.
-pref("browser.newtab.preload", true);
+pref("browser.newtab.preload", false);
pref("browser.preonboarding.onTrainRolloutPopulation", 0);
// Mozilla Ad Routing Service (MARS) unified ads service
-pref("browser.newtabpage.activity-stream.unifiedAds.tiles.enabled", true);
-pref("browser.newtabpage.activity-stream.unifiedAds.spocs.enabled", true);
-pref("browser.newtabpage.activity-stream.unifiedAds.endpoint", "https://ads.mozilla.org/");
+pref("browser.newtabpage.activity-stream.unifiedAds.tiles.enabled", false);
+pref("browser.newtabpage.activity-stream.unifiedAds.spocs.enabled", false);
+pref("browser.newtabpage.activity-stream.unifiedAds.endpoint", "");
pref("browser.newtabpage.activity-stream.unifiedAds.adsFeed.enabled", false);
pref("browser.newtabpage.activity-stream.unifiedAds.adsFeed.tiles.enabled", false);
// Weather widget for newtab
-pref("browser.newtabpage.activity-stream.showWeather", true);
+pref("browser.newtabpage.activity-stream.showWeather", false);
pref("browser.newtabpage.activity-stream.weather.query", "");
pref("browser.newtabpage.activity-stream.weather.display", "simple");
+pref("browser.newtabpage.activity-stream.images.smart", true);
// enable location search for newtab weather widget
-pref("browser.newtabpage.activity-stream.weather.locationSearchEnabled", true);
+pref("browser.newtabpage.activity-stream.weather.locationSearchEnabled", false);
// List of regions that get weather by default.
pref("browser.newtabpage.activity-stream.discoverystream.region-weather-config", "US,CA")

View file

@ -0,0 +1,76 @@
# WIP - Help needed
URL customizations requires to comprehend the scope to handle the documentation for this
and other projects heavily customizing and rebranding Firefox like Abrowser does.
This patch documents how to handle custom URLs to point to a desired page (initially).
It replaces,
* is="moz-support-link"
* support-page="..."
to customize the default URL, making sure there is an id for l10n field,
* data-l10n-id="..."
so the corresponding message is displayed as it seems to be linked on some cases
with is="" and support-page="..."
Cheers!
diff --git a/browser/components/preferences/privacy.inc.xhtml b/browser/components/preferences/privacy.inc.xhtml
index a9e8501a..02328371 100644
--- a/browser/components/preferences/privacy.inc.xhtml
+++ b/browser/components/preferences/privacy.inc.xhtml
@@ -21,13 +21,13 @@
<hbox align="start">
<image id="trackingProtectionShield"/>
<description class="description-with-side-element" flex="1">
- <html:span id="contentBlockingDescription" data-l10n-id="content-blocking-section-top-level-description"></html:span>
- <html:a is="moz-support-link"
- id="contentBlockingLearnMore"
- class="learnMore"
- data-l10n-id="content-blocking-learn-more"
- support-page="enhanced-tracking-protection"
- />
+ <html:span id="contentBlockingDescription" data-l10n-id="content-blocking-section-top-level-description"></html:span>
+ <html:a id="contentBlockingLearnMore"
+ class="learnMore"
+ data-l10n-id="content-blocking-learn-more"
+ href="https://trisquel.info/en/wiki/abrowser-help"
+ target="_blank"
+ />
</description>
<button id="trackingProtectionExceptions"
is="highlightable-button"
#@@ -389,9 +386,10 @@
# class="tail-with-learn-more"
# preference="privacy.donottrackheader.enabled"
# data-l10n-id="do-not-track-description2" />
#- <html:a is="moz-support-link"
#- id="doNotTrackLearnMoreLink"
#- support-page="how-do-i-turn-do-not-track-feature" />
#+ <html:a id="doNotTrackLearnMoreLink"
#+ href="https://trisquel.info/en/wiki/abrowser-help"
#+ data-l10n-id="do-not-track-learn-more"
#+ target="_blank"/>
# </hbox>
# </vbox>
# </groupbox>
diff --git a/browser/components/preferences/privacy.inc.xhtml b/browser/components/preferences/privacy.inc.xhtml
index 205c0e01..029b9925 100644
--- a/browser/components/preferences/privacy.inc.xhtml
+++ b/browser/components/preferences/privacy.inc.xhtml
@@ -372,10 +372,7 @@
support-page="global-privacy-control" />
</hbox>
<hbox id="doNotTrackBox" flex="1" align="center" hidden="true">
- <html:a is="moz-support-link"
- id="doNotTrackRemoval"
- support-page="how-do-i-turn-do-not-track-feature"
- data-l10n-id="do-not-track-removal" />
+ <html:a class="learnMore" href="https://trisquel.info/en/wiki/abrowser-help" target="_blank"/>
</hbox>
</vbox>
</groupbox>

View file

@ -0,0 +1,204 @@
diff --git a/uriloader/exthandler/HandlerList.sys.mjs b/uriloader/exthandler/HandlerList.sys.mjs
index e95d627..beef04d 100644
--- a/uriloader/exthandler/HandlerList.sys.mjs
+++ b/uriloader/exthandler/HandlerList.sys.mjs
@@ -8,198 +8,7 @@ export const kHandlerList = {
default: {
schemes: {
mailto: {
- handlers: [
- {
- name: "Gmail",
- uriTemplate: "https://mail.google.com/mail/?extsrc=mailto&url=%s",
- },
- ],
- },
- },
- },
- cs: {
- schemes: {
- mailto: {
- handlers: [
- {
- name: "Seznam",
- uriTemplate: "https://email.seznam.cz/newMessageScreen?mailto=%s",
- },
- {
- name: "Gmail",
- uriTemplate: "https://mail.google.com/mail/?extsrc=mailto&url=%s",
- },
- ],
- },
- },
- },
- "es-CL": {
- schemes: {
- mailto: {
- handlers: [
- {
- name: "Gmail",
- uriTemplate: "https://mail.google.com/mail/?extsrc=mailto&url=%s",
- },
- {
- name: "Outlook",
- uriTemplate:
- "https://outlook.live.com/default.aspx?rru=compose&to=%s",
- },
- ],
- },
- },
- },
- "ja-JP-mac": {
- schemes: {
- mailto: {
- handlers: [
- {
- name: "Yahoo!メール",
- uriTemplate: "https://mail.yahoo.co.jp/compose/?To=%s",
- },
- {
- name: "Gmail",
- uriTemplate: "https://mail.google.com/mail/?extsrc=mailto&url=%s",
- },
- ],
- },
- },
- },
- ja: {
- schemes: {
- mailto: {
- handlers: [
- {
- name: "Yahoo!メール",
- uriTemplate: "https://mail.yahoo.co.jp/compose/?To=%s",
- },
- {
- name: "Gmail",
- uriTemplate: "https://mail.google.com/mail/?extsrc=mailto&url=%s",
- },
- ],
- },
- },
- },
- kk: {
- schemes: {
- mailto: {
- handlers: [
- {
- name: "Яндекс.Почта",
- uriTemplate: "https://mail.yandex.ru/compose?mailto=%s",
- },
- {
- name: "Mail.Ru",
- uriTemplate: "https://e.mail.ru/cgi-bin/sentmsg?mailto=%s",
- },
- {
- name: "Gmail",
- uriTemplate: "https://mail.google.com/mail/?extsrc=mailto&url=%s",
- },
- ],
- },
- },
- },
- ltg: {
- schemes: {
- mailto: {
- handlers: [
- {
- name: "Gmail",
- uriTemplate: "https://mail.google.com/mail/?extsrc=mailto&url=%s",
- },
- {
- name: "inbox.lv mail",
- uriTemplate: "https://mail.inbox.lv/compose?to=%s",
- },
- ],
- },
- },
- },
- lv: {
- schemes: {
- mailto: {
- handlers: [
- {
- name: "Gmail",
- uriTemplate: "https://mail.google.com/mail/?extsrc=mailto&url=%s",
- },
- {
- name: "inbox.lv mail",
- uriTemplate: "https://mail.inbox.lv/compose?to=%s",
- },
- ],
- },
- },
- },
- pl: {
- schemes: {
- mailto: {
- handlers: [
- {
- name: "Poczta Interia.pl",
- uriTemplate: "https://poczta.interia.pl/mh/?mailto=%s",
- },
- {
- name: "Gmail",
- uriTemplate: "https://mail.google.com/mail/?extsrc=mailto&url=%s",
- },
- ],
- },
- },
- },
- ru: {
- schemes: {
- mailto: {
- handlers: [
- {
- name: "Яндекс.Почту",
- uriTemplate: "https://mail.yandex.ru/compose?mailto=%s",
- },
- {
- name: "Mail.Ru",
- uriTemplate: "https://e.mail.ru/cgi-bin/sentmsg?mailto=%s",
- },
- {
- name: "Gmail",
- uriTemplate: "https://mail.google.com/mail/?extsrc=mailto&url=%s",
- },
- ],
- },
- },
- },
- uk: {
- schemes: {
- mailto: {
- handlers: [
- {
- name: "Gmail",
- uriTemplate: "https://mail.google.com/mail/?extsrc=mailto&url=%s",
- },
- {
- name: "Outlook",
- uriTemplate:
- "https://outlook.live.com/default.aspx?rru=compose&to=%s",
- },
- ],
- },
- },
- },
- uz: {
- schemes: {
- mailto: {
- handlers: [
- {
- name: "Gmail",
- uriTemplate: "https://mail.google.com/mail/?extsrc=mailto&url=%s",
- },
- {
- name: "Mail.Ru",
- uriTemplate: "https://e.mail.ru/cgi-bin/sentmsg?mailto=%s",
- },
- ],
+ handlers: [],
},
},
},

View file

@ -0,0 +1,96 @@
diff --git a/services/settings/RemoteSettingsClient.sys.mjs b/services/settings/RemoteSettingsClient.sys.mjs
index 7e98e6d..7716e41 100644
--- a/services/settings/RemoteSettingsClient.sys.mjs
+++ b/services/settings/RemoteSettingsClient.sys.mjs
@@ -229,13 +229,8 @@ class AttachmentDownloader extends Downloader {
* @see Downloader.download
*/
async download(record, options) {
- await lazy.UptakeTelemetry.report(
- TELEMETRY_COMPONENT,
- lazy.UptakeTelemetry.STATUS.DOWNLOAD_START,
- {
- source: this._client.identifier,
- }
- );
+ console.warn("Function 'download' disabled in Abrowser due privacy concerns.");
+ return null;
try {
// Explicitly await here to ensure we catch a network error.
return await super.download(record, options);
diff --git a/services/settings/Utils.sys.mjs b/services/settings/Utils.sys.mjs
index 12fef6c..c52b65e 100644
--- a/services/settings/Utils.sys.mjs
+++ b/services/settings/Utils.sys.mjs
@@ -409,6 +409,8 @@ export var Utils = {
* @param {Object} filters
*/
async fetchLatestChanges(serverUrl, options = {}) {
+ console.warn("Function 'fetchLatestChanges' disabled in Abrowser due privacy concerns.");
+ return null;
const { expectedTimestamp, lastEtag = "", filters = {} } = options;
let url = serverUrl + Utils.CHANGES_PATH;
diff --git a/toolkit/components/telemetry/app/TelemetryUtils.sys.mjs b/toolkit/components/telemetry/app/TelemetryUtils.sys.mjs
index 803d52a1..1a3ef5ba 100644
--- a/toolkit/components/telemetry/app/TelemetryUtils.sys.mjs
+++ b/toolkit/components/telemetry/app/TelemetryUtils.sys.mjs
@@ -124,6 +124,11 @@ export var TelemetryUtils = {
* Takes a date and returns it truncated to a date with daily precision.
*/
truncateToDays(date) {
+ console.warn("Function 'truncateToDays' called with:", date);
+ if (!date || !(date instanceof Date)) {
+ console.warn("Function 'truncateToDays' disabled in Abrowser due to privacy concerns. Received invalid or undefined date.");
+ return null; // Retorna null para evitar errores posteriores
+ }
return new Date(
date.getFullYear(),
date.getMonth(),
@@ -172,6 +172,10 @@ export var TelemetryUtils = {
* @return {Object} The Date object representing the next midnight.
*/
getNextMidnight(date) {
+ if (!date || !(date instanceof Date)) {
+ console.warn("Function 'getNextMidnight' disabled in Abrowser due to privacy concerns.");
+ return null;
+ }
let nextMidnight = new Date(this.truncateToDays(date));
nextMidnight.setDate(nextMidnight.getDate() + 1);
return nextMidnight;
@@ -185,6 +189,10 @@ export var TelemetryUtils = {
* is not within the midnight tolerance.
*/
getNearestMidnight(date, tolerance) {
+ if (!date || !(date instanceof Date)) {
+ console.warn("Function 'getNearestMidnight' disabled in Abrowser due to privacy concerns.");
+ return null;
+ }
let lastMidnight = this.truncateToDays(date);
if (this.areTimesClose(date.getTime(), lastMidnight.getTime(), tolerance)) {
return lastMidnight;
diff --git a/toolkit/components/telemetry/app/TelemetryScheduler.sys.mjs b/toolkit/components/telemetry/app/TelemetryScheduler.sys.mjs
index 539447a..43d846b 100644
--- a/toolkit/components/telemetry/app/TelemetryScheduler.sys.mjs
+++ b/toolkit/components/telemetry/app/TelemetryScheduler.sys.mjs
@@ -183,8 +183,20 @@ export var TelemetryScheduler = {
},
_sentPingToday(pingTime, nowDate) {
+ // Validar 'nowDate' antes de usarlo
+ if (!nowDate || !(nowDate instanceof Date)) {
+ console.warn("Invalid 'nowDate' passed to _sentPingToday. Function disabled in Abrowser due to privacy concerns.");
+ return false; // Devolvemos 'false' para evitar errores
+ }
+
// This is today's date and also the previous midnight (0:00).
const todayDate = TelemetryUtils.truncateToDays(nowDate);
+
+ if (!todayDate) {
+ console.warn("TelemetryUtils.truncateToDays returned null. Skipping _sentPingToday.");
+ return false;
+ }
+
// We consider a ping sent for today if it occured after or at 00:00 today.
return pingTime >= todayDate.getTime();
},

View file

@ -0,0 +1,26 @@
diff --git a/browser/base/content/aboutDialog.xhtml b/browser/base/content/aboutDialog.xhtml
index c6498081..a8db34ad 100644
--- a/browser/base/content/aboutDialog.xhtml
+++ b/browser/base/content/aboutDialog.xhtml
@@ -138,7 +138,7 @@
<vbox id="bottomBox">
<hbox pack="center">
<label is="text-link" class="bottom-link" useoriginprincipal="true" href="about:license" data-l10n-id="bottomLinks-license"/>
- <label is="text-link" class="bottom-link" href="https://www.mozilla.org/about/legal/terms/firefox/" data-l10n-id="bottom-links-terms"/>
+ <label is="text-link" class="bottom-link" href="https://trisquel.info/legal" data-l10n-id="bottom-links-terms"/>
<label is="text-link" class="bottom-link" href="https://www.mozilla.org/privacy/firefox/?utm_source=firefox-browser&#38;utm_medium=firefox-desktop&#38;utm_campaign=about-dialog" data-l10n-id="bottom-links-privacy"/>
</hbox>
<description id="trademark" data-l10n-id="trademarkInfo"></description>
diff --git a/browser/components/about/AboutRedirector.cpp b/browser/components/about/AboutRedirector.cpp
index d1fe0148..ce5d1f42 100644
--- a/browser/components/about/AboutRedirector.cpp
+++ b/browser/components/about/AboutRedirector.cpp
@@ -90,7 +90,7 @@ static const RedirEntry kRedirMap[] = {
{"profiling",
"chrome://devtools/content/performance-new/aboutprofiling/index.xhtml",
nsIAboutModule::ALLOW_SCRIPT | nsIAboutModule::IS_SECURE_CHROME_UI},
- {"rights", "https://www.mozilla.org/about/legal/terms/firefox/",
+ {"rights", "https://trisquel.info/legal",
nsIAboutModule::URI_SAFE_FOR_UNTRUSTED_CONTENT |
nsIAboutModule::URI_MUST_LOAD_IN_CHILD},
{"robots", "chrome://browser/content/aboutRobots.xhtml",

View file

@ -0,0 +1,24 @@
diff --git a/debian/control.in b/debian/control.in
index dd3c8daa..911d9667 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -52,8 +52,7 @@ Architecture: any
Depends: lsb-release,
${misc:Depends},
${shlibs:Depends}
-Recommends: xul-ext-ubufox,
- ${support:Recommends},
+Recommends: ${support:Recommends},
libcanberra0,
libdbusmenu-glib4,
libdbusmenu-gtk3-4
@@ -61,7 +60,8 @@ Provides: www-browser,
iceweasel, firefox,
gnome-www-browser,
${app:Provides}
-Suggests: fonts-lyx,
+Suggests: webext-ublock-origin,
+ fonts-lyx,
${support:Suggests}
Breaks: ${transitional:Breaks}
Replaces: ${transitional:Replaces}

View file

@ -0,0 +1,23 @@
diff --git a/toolkit/mozapps/extensions/content/aboutaddons.html b/toolkit/mozapps/extensions/content/aboutaddons.html
index 77702576..35cf6593 100644
--- a/toolkit/mozapps/extensions/content/aboutaddons.html
+++ b/toolkit/mozapps/extensions/content/aboutaddons.html
@@ -799,18 +799,6 @@
<footer is="recommended-footer" class="view-footer"></footer>
</template>
- <template name="recommended-themes-footer">
- <p data-l10n-id="recommended-theme-1" class="theme-recommendation">
- <a data-l10n-name="link" target="_blank"></a>
- </p>
- <div class="amo-link-container view-footer-item">
- <button
- class="primary"
- action="open-amo"
- data-l10n-id="find-more-themes"
- ></button>
- </div>
- </template>
<template name="recommended-themes-section">
<h2

View file

@ -0,0 +1,14 @@
diff --git a/toolkit/xre/nsXREDirProvider.cpp b/toolkit/xre/nsXREDirProvider.cpp
index 9c94cb88..0c19fad9 100644
--- a/toolkit/xre/nsXREDirProvider.cpp
+++ b/toolkit/xre/nsXREDirProvider.cpp
@@ -1232,7 +1232,8 @@ nsresult nsXREDirProvider::AppendProfilePath(nsIFile* aFile, bool aLocal) {
if (gAppData->profile) {
profile = gAppData->profile;
} else {
- appName = gAppData->name;
+ // For Abrowser compatibility: force use of ~/.mozilla/abrowser
+ appName.AssignLiteral("abrowser");
vendor = gAppData->vendor;
}

View file

@ -0,0 +1,98 @@
diff --git a/browser/components/aboutwelcome/modules/AboutWelcomeDefaults.sys.mjs b/browser/components/aboutwelcome/modules/AboutWelcomeDefaults.sys.mjs
index ba47adb6..c4b29ec4 100644
--- a/browser/components/aboutwelcome/modules/AboutWelcomeDefaults.sys.mjs
+++ b/browser/components/aboutwelcome/modules/AboutWelcomeDefaults.sys.mjs
@@ -704,7 +704,7 @@ const MR_ABOUT_WELCOME_DEFAULT = {
action: {
type: "OPEN_URL",
data: {
- args: "https://addons.mozilla.org/en-US/firefox/collections/4757633/b4d5649fb087446aa05add5f0258c3/?page=1&collection_sort=-popularity",
+ args: "https://gnuzilla.gnu.org/",
where: "tabshifted",
},
navigate: true,
@@ -750,49 +750,6 @@ const MR_ABOUT_WELCOME_DEFAULT = {
},
targeting: "isFxASignedIn",
},
- {
- id: "AW_ACCOUNT_LOGIN",
- content: {
- fullscreen: true,
- position: "split",
- split_narrow_bkg_position: "-228px",
- image_alt_text: {
- string_id: "mr2022-onboarding-gratitude-image-alt",
- },
- background:
- "url('chrome://activity-stream/content/data/content/assets/fox-doodle-waving-laptop.svg') center center / 80% no-repeat var(--mr-screen-background-color)",
- progress_bar: true,
- logo: {},
- title: {
- string_id: "onboarding-sign-up-title",
- },
- subtitle: {
- string_id: "onboarding-sign-up-description",
- },
- secondary_button: {
- label: {
- string_id: "mr2-onboarding-start-browsing-button-label",
- },
- style: "secondary",
- action: {
- navigate: true,
- },
- },
- primary_button: {
- label: {
- string_id: "onboarding-sign-up-button",
- },
- action: {
- data: {
- entrypoint: "newuser-onboarding-desktop",
- },
- type: "FXA_SIGNIN_FLOW",
- navigate: true,
- },
- },
- },
- targeting: "!isFxASignedIn",
- },
],
};
diff --git a/browser/components/asrouter/modules/FeatureCalloutMessages.sys.mjs b/browser/components/asrouter/modules/FeatureCalloutMessages.sys.mjs
index 29d2ca46..41b65ac4 100644
--- a/browser/components/asrouter/modules/FeatureCalloutMessages.sys.mjs
+++ b/browser/components/asrouter/modules/FeatureCalloutMessages.sys.mjs
@@ -885,7 +885,7 @@ const MESSAGES = () => {
dismiss: true,
type: "OPEN_URL",
data: {
- args: "https://addons.mozilla.org/en-US/firefox/collections/4757633/36d285535db74c6986abbeeed3e214/?page=1&collection_sort=added",
+ args: "https://gnuzilla.gnu.org/",
where: "tabshifted",
},
},
diff --git a/browser/components/asrouter/modules/OnboardingMessageProvider.sys.mjs b/browser/components/asrouter/modules/OnboardingMessageProvider.sys.mjs
index abc6db68..0c86955f 100644
--- a/browser/components/asrouter/modules/OnboardingMessageProvider.sys.mjs
+++ b/browser/components/asrouter/modules/OnboardingMessageProvider.sys.mjs
@@ -1226,7 +1226,7 @@ const BASE_MESSAGES = () => [
{
type: "OPEN_URL",
data: {
- args: "https://addons.mozilla.org/en-US/firefox/collections/4757633/b4d5649fb087446aa05add5f0258c3/?page=1&collection_sort=-popularity",
+ args: "https://gnuzilla.gnu.org/",
where: "current",
},
},
@@ -1430,7 +1430,7 @@ const BASE_MESSAGES = () => [
{
type: "OPEN_URL",
data: {
- args: "https://addons.mozilla.org/en-US/firefox/collections/4757633/b4d5649fb087446aa05add5f0258c3/?page=1&collection_sort=-popularity",
+ args: "https://gnuzilla.gnu.org/",
where: "current",
},
},

Some files were not shown because too many files have changed in this diff Show more