summaryrefslogtreecommitdiff
path: root/newmoon/debian/patches/pm-to-nm.patch
blob: d192c55dc47759d0532aed51d7f15eff6dfb4f41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
Date: 2020-08-18
Purpose: Use newmoon branding instead of palemoon
Message: 
This includes using ~/.config/newmoon instead of some other directory.

This one right here changes the directory for where the user profile goes.
diff -Naur palemoon/app/application.ini palemoon/app/application.ini.new
--- Pale-Moon/palemoon/app/application.ini 2020-07-30 06:09:43.000000000 -0400
+++ Pale-Moon/palemoon/app/application.ini.new   2020-08-18 19:28:30.840797999 -0400
@@ -20,9 +20,9 @@
 
 [App]
 # Vendor=@MOZ_APP_VENDOR@
-Vendor=Moonchild Productions
+Vendor=Config
 # Name=@MOZ_APP_BASENAME@
-Name=Pale Moon
+Name=newmoon
 RemotingName=@MOZ_APP_REMOTINGNAME@
 #ifdef MOZ_APP_DISPLAYNAME
 CodeName=@MOZ_APP_DISPLAYNAME@
Message: The following 
Made with approximately: 
$ cd Palemoon.new/palemoon/branding/unofficial
$ sed -i -r -e 's/New Moon/newmoon/ig;'  $( grep -l -riIE 'new moon' )
$ sed -i -r -e 's/pale/new/g;' newmoon.desktop 
diff -aur Pale-Moon/palemoon/branding/unofficial/branding.nsi Pale-Moon.new/palemoon/branding/unofficial/branding.nsi
--- Pale-Moon/palemoon/branding/unofficial/branding.nsi	2020-07-30 06:09:43.000000000 -0400
+++ Pale-Moon.new/palemoon/branding/unofficial/branding.nsi	2020-08-22 13:39:41.676568689 -0400
@@ -8,7 +8,7 @@
 
 # BrandFullNameInternal is used for some registry and file system values
 # instead of BrandFullName and typically should not be modified.
-!define BrandFullNameInternal "New Moon"
+!define BrandFullNameInternal "newmoon"
 !define CompanyName           "Moonchild Productions"
 !define URLInfoAbout          "http://www.palemoon.org"
 !define URLUpdateInfo         "http://www.palemoon.org"
diff -aur Pale-Moon/palemoon/branding/unofficial/configure.sh Pale-Moon.new/palemoon/branding/unofficial/configure.sh
--- Pale-Moon/palemoon/branding/unofficial/configure.sh	2020-07-30 06:09:43.000000000 -0400
+++ Pale-Moon.new/palemoon/branding/unofficial/configure.sh	2020-08-22 13:39:41.676568689 -0400
@@ -2,4 +2,4 @@
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
-MOZ_APP_DISPLAYNAME="New Moon"
+MOZ_APP_DISPLAYNAME="newmoon"
diff -aur Pale-Moon/palemoon/branding/unofficial/locales/en-US/brand.dtd Pale-Moon.new/palemoon/branding/unofficial/locales/en-US/brand.dtd
--- Pale-Moon/palemoon/branding/unofficial/locales/en-US/brand.dtd	2020-07-30 06:09:43.000000000 -0400
+++ Pale-Moon.new/palemoon/branding/unofficial/locales/en-US/brand.dtd	2020-08-22 13:39:41.676568689 -0400
@@ -2,7 +2,7 @@
    - License, v. 2.0. If a copy of the MPL was not distributed with this
    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
 
-<!ENTITY  brandShortName        "New Moon">
-<!ENTITY  brandFullName         "New Moon">
+<!ENTITY  brandShortName        "newmoon">
+<!ENTITY  brandFullName         "newmoon">
 <!ENTITY  vendorShortName       "a community developer">
 <!ENTITY  trademarkInfo.part1   " ">
diff -aur Pale-Moon/palemoon/branding/unofficial/locales/en-US/brand.properties Pale-Moon.new/palemoon/branding/unofficial/locales/en-US/brand.properties
--- Pale-Moon/palemoon/branding/unofficial/locales/en-US/brand.properties	2020-07-30 06:09:43.000000000 -0400
+++ Pale-Moon.new/palemoon/branding/unofficial/locales/en-US/brand.properties	2020-08-22 13:39:41.676568689 -0400
@@ -2,8 +2,8 @@
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
-brandShortName=New Moon
-brandFullName=New Moon
+brandShortName=newmoon
+brandFullName=newmoon
 vendorShortName=Moonchild
 
 syncBrandShortName=Sync
diff -aur Pale-Moon/palemoon/branding/unofficial/newmoon.desktop Pale-Moon.new/palemoon/branding/unofficial/newmoon.desktop
--- Pale-Moon/palemoon/branding/unofficial/newmoon.desktop	2020-07-30 06:09:43.000000000 -0400
+++ Pale-Moon.new/palemoon/branding/unofficial/newmoon.desktop	2020-08-22 19:22:15.505363587 -0400
@@ -1,5 +1,5 @@
 [Desktop Entry]
-Name=New Moon
+Name=newmoon
 GenericName=Web Browser
 GenericName[ar]=متصفح ويب
 GenericName[ast]=Restolador Web
@@ -81,15 +81,15 @@
 Comment[vi]=Để duyệt các trang web
 Comment[zh_CN]=浏览互联网
 Comment[zh_TW]=瀏覽網際網路
-Exec=palemoon %u
+Exec=newmoon %u
 Terminal=false
 Type=Application
-Icon=palemoon
+Icon=newmoon
 Categories=Network;WebBrowser;
 MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;
 StartupNotify=false
 Actions=NewTab;NewWindow;NewPrivateWindow;
-StartupWMClass="new moon"
+StartupWMClass="newmoon"
 
 [Desktop Action NewTab]
 Name=Open new tab
@@ -176,7 +176,7 @@
 Name[xh]=Vula ithebhu entsha
 Name[zh_CN]=打开新标签页
 Name[zh_TW]=開啟新分頁
-Exec=palemoon -new-tab
+Exec=newmoon -new-tab
 
 [Desktop Action NewWindow]
 Name=Open new window
@@ -263,7 +263,7 @@
 Name[xh]=Vula iwindow entsha
 Name[zh_CN]=打开新窗口
 Name[zh_TW]=開啟新視窗
-Exec=palemoon -new-window
+Exec=newmoon -new-window
 
 [Desktop Action NewPrivateWindow]
 Name=New private window
@@ -350,4 +350,4 @@
 Name[xh]=Ifestile yangasese entsha
 Name[zh_CN]=新建隐私浏览窗口
 Name[zh_TW]=新增隱私視窗
-Exec=palemoon -private-window
+Exec=newmoon -private-window
bgstack15