Commit 4b42dcb0e11ef77200b61b1fc80975d434c33ddb
1 parent
84ed3ab3
Exists in
master
and in
1 other branch
Renaming IDs to valid domain as required by flathub.
Showing
15 changed files
with
68 additions
and
15 deletions
Show diff stats
configure.ac
| @@ -190,7 +190,7 @@ AC_ARG_WITH([product-name], [AS_HELP_STRING([--with-product-name], [Set product | @@ -190,7 +190,7 @@ AC_ARG_WITH([product-name], [AS_HELP_STRING([--with-product-name], [Set product | ||
| 190 | AC_DEFINE_UNQUOTED(PRODUCT_NAME, $app_cv_product) | 190 | AC_DEFINE_UNQUOTED(PRODUCT_NAME, $app_cv_product) |
| 191 | AC_SUBST(PRODUCT_NAME,$app_cv_product) | 191 | AC_SUBST(PRODUCT_NAME,$app_cv_product) |
| 192 | 192 | ||
| 193 | -AC_ARG_WITH([application-id], [AS_HELP_STRING([--application-id], [Set the application ID])], [ app_cv_application_id="$withval" ],[ app_cv_application_id="br.com.bb.$app_cv_product" ]) | 193 | +AC_ARG_WITH([application-id], [AS_HELP_STRING([--application-id], [Set the application ID])], [ app_cv_application_id="$withval" ],[ app_cv_application_id="br.app.$app_cv_product" ]) |
| 194 | 194 | ||
| 195 | AC_DEFINE_UNQUOTED(APPLICATION_ID, $app_cv_application_id) | 195 | AC_DEFINE_UNQUOTED(APPLICATION_ID, $app_cv_application_id) |
| 196 | AC_SUBST(APPLICATION_ID,$app_cv_application_id) | 196 | AC_SUBST(APPLICATION_ID,$app_cv_application_id) |
| @@ -0,0 +1,53 @@ | @@ -0,0 +1,53 @@ | ||
| 1 | +app-id: br.app.pw3270 | ||
| 2 | +runtime: org.gnome.Platform | ||
| 3 | +sdk: org.gnome.Sdk | ||
| 4 | +command: pw3270 | ||
| 5 | +finish-args: | ||
| 6 | + - "--share=network" | ||
| 7 | + - "--share=ipc" | ||
| 8 | + - "--socket=fallback-x11" | ||
| 9 | + - "--socket=wayland" | ||
| 10 | + - "--own-name=br.app.pw3270" | ||
| 11 | +cleanup: | ||
| 12 | + - "/include" | ||
| 13 | + - "/lib/pkgconfig" | ||
| 14 | + - "/man" | ||
| 15 | + - "/share/doc" | ||
| 16 | + - "/share/gtk-doc" | ||
| 17 | + - "/share/man" | ||
| 18 | + - "/share/pkgconfig" | ||
| 19 | + - "*.la" | ||
| 20 | + - "*.a" | ||
| 21 | +modules: | ||
| 22 | + - name: lib3270 | ||
| 23 | + buildsystem: simple | ||
| 24 | + build-commands: | ||
| 25 | + - NOCONFIGURE=1 ./autogen.sh | ||
| 26 | + - ./configure --prefix=/app | ||
| 27 | + - make all | ||
| 28 | + - make install | ||
| 29 | + sources: | ||
| 30 | + - type: git | ||
| 31 | + url: https://github.com/PerryWerneck/lib3270 | ||
| 32 | + - name: libv3270 | ||
| 33 | + buildsystem: simple | ||
| 34 | + build-commands: | ||
| 35 | + - NOCONFIGURE=1 ./autogen.sh | ||
| 36 | + - ./configure --prefix=/app PKG_CONFIG_PATH=/app/lib/pkgconfig CFLAGS=-I/app/include LDFLAGS=-L/app/lib | ||
| 37 | + - make all | ||
| 38 | + - make install | ||
| 39 | + sources: | ||
| 40 | + - type: git | ||
| 41 | + url: https://github.com/PerryWerneck/libv3270 | ||
| 42 | + - name: pw3270 | ||
| 43 | + buildsystem: simple | ||
| 44 | + build-commands: | ||
| 45 | + - NOCONFIGURE=1 ./autogen.sh | ||
| 46 | + - ./configure --prefix=/app PKG_CONFIG_PATH=/app/lib/pkgconfig CFLAGS=-I/app/usr/include LDFLAGS=-L/app/lib | ||
| 47 | + - make all | ||
| 48 | + - make install | ||
| 49 | + sources: | ||
| 50 | + - type: git | ||
| 51 | + url: https://github.com/PerryWerneck/pw3270 | ||
| 52 | + | ||
| 53 | + |
macos/Info.plist
| @@ -11,7 +11,7 @@ | @@ -11,7 +11,7 @@ | ||
| 11 | <key>CFBundleIconFile</key> | 11 | <key>CFBundleIconFile</key> |
| 12 | <string>pw3270.icns</string> | 12 | <string>pw3270.icns</string> |
| 13 | <key>CFBundleIdentifier</key> | 13 | <key>CFBundleIdentifier</key> |
| 14 | - <string>br.com.bb.pw3270</string> | 14 | + <string>br.app.pw3270</string> |
| 15 | <key>NSHighResolutionCapable</key> | 15 | <key>NSHighResolutionCapable</key> |
| 16 | <true/> | 16 | <true/> |
| 17 | <key>LSMinimumSystemVersion</key> | 17 | <key>LSMinimumSystemVersion</key> |
schemas/linux/application.gschema.xml.in
| @@ -30,7 +30,7 @@ | @@ -30,7 +30,7 @@ | ||
| 30 | 30 | ||
| 31 | <schemalist> | 31 | <schemalist> |
| 32 | 32 | ||
| 33 | - <schema path="/br/com/bb/@PRODUCT_NAME@/" id="br.com.bb.@PRODUCT_NAME@"> | 33 | + <schema path="/br/app/@PRODUCT_NAME@/" id="br.app.@PRODUCT_NAME@"> |
| 34 | 34 | ||
| 35 | <key name="ui-style" type="u"> | 35 | <key name="ui-style" type="u"> |
| 36 | <default>2</default> | 36 | <default>2</default> |
schemas/linux/window.gschema.xml.in
| @@ -30,7 +30,7 @@ | @@ -30,7 +30,7 @@ | ||
| 30 | 30 | ||
| 31 | <schemalist> | 31 | <schemalist> |
| 32 | 32 | ||
| 33 | - <schema path="/br/com/bb/@PRODUCT_NAME@/window/" id="br.com.bb.@PRODUCT_NAME@.window"> | 33 | + <schema path="/br/app/@PRODUCT_NAME@/window/" id="br.app.@PRODUCT_NAME@.window"> |
| 34 | 34 | ||
| 35 | <key name="width" type="i"> | 35 | <key name="width" type="i"> |
| 36 | <default>-1</default> | 36 | <default>-1</default> |
schemas/macos/application.gschema.xml.in
| @@ -30,7 +30,7 @@ | @@ -30,7 +30,7 @@ | ||
| 30 | 30 | ||
| 31 | <schemalist> | 31 | <schemalist> |
| 32 | 32 | ||
| 33 | - <schema path="/br/com/bb/@PRODUCT_NAME@/" id="br.com.bb.@PRODUCT_NAME@"> | 33 | + <schema path="/br/app/@PRODUCT_NAME@/" id="br.app.@PRODUCT_NAME@"> |
| 34 | 34 | ||
| 35 | <key name="ui-style" type="u"> | 35 | <key name="ui-style" type="u"> |
| 36 | <default>2</default> | 36 | <default>2</default> |
schemas/macos/window.gschema.xml.in
| @@ -30,7 +30,7 @@ | @@ -30,7 +30,7 @@ | ||
| 30 | 30 | ||
| 31 | <schemalist> | 31 | <schemalist> |
| 32 | 32 | ||
| 33 | - <schema path="/br/com/bb/@PRODUCT_NAME@/window/" id="br.com.bb.@PRODUCT_NAME@.window"> | 33 | + <schema path="/br/app/@PRODUCT_NAME@/window/" id="br.app.@PRODUCT_NAME@.window"> |
| 34 | 34 | ||
| 35 | <key name="width" type="i"> | 35 | <key name="width" type="i"> |
| 36 | <default>-1</default> | 36 | <default>-1</default> |
schemas/windows/application.gschema.xml.in
| @@ -30,7 +30,7 @@ | @@ -30,7 +30,7 @@ | ||
| 30 | 30 | ||
| 31 | <schemalist> | 31 | <schemalist> |
| 32 | 32 | ||
| 33 | - <schema path="/br/com/bb/@PRODUCT_NAME@/" id="br.com.bb.@PRODUCT_NAME@"> | 33 | + <schema path="/br/app/@PRODUCT_NAME@/" id="br.app.@PRODUCT_NAME@"> |
| 34 | 34 | ||
| 35 | <key name="ui-style" type="u"> | 35 | <key name="ui-style" type="u"> |
| 36 | <default>0</default> | 36 | <default>0</default> |
schemas/windows/window.gschema.xml.in
| @@ -30,7 +30,7 @@ | @@ -30,7 +30,7 @@ | ||
| 30 | 30 | ||
| 31 | <schemalist> | 31 | <schemalist> |
| 32 | 32 | ||
| 33 | - <schema path="/br/com/bb/@PRODUCT_NAME@/window/" id="br.com.bb.@PRODUCT_NAME@.window"> | 33 | + <schema path="/br/app/@PRODUCT_NAME@/window/" id="br.app.@PRODUCT_NAME@.window"> |
| 34 | 34 | ||
| 35 | <key name="width" type="i"> | 35 | <key name="width" type="i"> |
| 36 | <default>-1</default> | 36 | <default>-1</default> |
src/main/windows/app-manifest.xml.in
| @@ -3,7 +3,7 @@ | @@ -3,7 +3,7 @@ | ||
| 3 | <assemblyIdentity | 3 | <assemblyIdentity |
| 4 | version="@PACKAGE_MAJOR_VERSION@.@PACKAGE_MINOR_VERSION@.@PACKAGE_MAJOR_RELEASE@.@PACKAGE_MINOR_RELEASE@" | 4 | version="@PACKAGE_MAJOR_VERSION@.@PACKAGE_MINOR_VERSION@.@PACKAGE_MAJOR_RELEASE@.@PACKAGE_MINOR_RELEASE@" |
| 5 | processorArchitecture="*" | 5 | processorArchitecture="*" |
| 6 | - name="br.com.bb.@PRODUCT_NAME@" | 6 | + name="br.app.@PRODUCT_NAME@" |
| 7 | type="win32" | 7 | type="win32" |
| 8 | /> | 8 | /> |
| 9 | <description>@PACKAGE_DESCRIPTION@</description> | 9 | <description>@PACKAGE_DESCRIPTION@</description> |
src/objects/actions/testprogram/testprogram.c
| @@ -117,7 +117,7 @@ int main (int argc, char **argv) { | @@ -117,7 +117,7 @@ int main (int argc, char **argv) { | ||
| 117 | GtkApplication *app; | 117 | GtkApplication *app; |
| 118 | int status; | 118 | int status; |
| 119 | 119 | ||
| 120 | - app = gtk_application_new ("br.com.bb.pw3270",G_APPLICATION_FLAGS_NONE); | 120 | + app = gtk_application_new ("br.app.pw3270",G_APPLICATION_FLAGS_NONE); |
| 121 | 121 | ||
| 122 | g_signal_connect (app, "activate", G_CALLBACK(activate), NULL); | 122 | g_signal_connect (app, "activate", G_CALLBACK(activate), NULL); |
| 123 | 123 |
src/objects/keypad/testprogram/testprogram.c
| @@ -74,7 +74,7 @@ int main (int argc, char **argv) { | @@ -74,7 +74,7 @@ int main (int argc, char **argv) { | ||
| 74 | GtkApplication *app; | 74 | GtkApplication *app; |
| 75 | int status; | 75 | int status; |
| 76 | 76 | ||
| 77 | - app = gtk_application_new ("br.com.bb.pw3270.keypad",G_APPLICATION_FLAGS_NONE); | 77 | + app = gtk_application_new ("br.app.pw3270.keypad",G_APPLICATION_FLAGS_NONE); |
| 78 | 78 | ||
| 79 | g_signal_connect (app, "activate", G_CALLBACK(activate), NULL); | 79 | g_signal_connect (app, "activate", G_CALLBACK(activate), NULL); |
| 80 | 80 |
src/objects/settings/gsettings.c
| @@ -148,9 +148,9 @@ | @@ -148,9 +148,9 @@ | ||
| 148 | } | 148 | } |
| 149 | 149 | ||
| 150 | GSettings * pw3270_application_settings_new() { | 150 | GSettings * pw3270_application_settings_new() { |
| 151 | - return settings_new("br.com.bb." G_STRINGIFY(PRODUCT_NAME)); | 151 | + return settings_new("br.app." G_STRINGIFY(PRODUCT_NAME)); |
| 152 | } | 152 | } |
| 153 | 153 | ||
| 154 | GSettings * pw3270_application_window_settings_new() { | 154 | GSettings * pw3270_application_window_settings_new() { |
| 155 | - return settings_new("br.com.bb." G_STRINGIFY(PRODUCT_NAME) ".window"); | 155 | + return settings_new("br.app." G_STRINGIFY(PRODUCT_NAME) ".window"); |
| 156 | } | 156 | } |
src/objects/toolbar/testprogram/testprogram.c
| @@ -94,7 +94,7 @@ int main (int argc, char **argv) { | @@ -94,7 +94,7 @@ int main (int argc, char **argv) { | ||
| 94 | GtkApplication *app; | 94 | GtkApplication *app; |
| 95 | int status; | 95 | int status; |
| 96 | 96 | ||
| 97 | - app = gtk_application_new ("br.com.bb.pw3270",G_APPLICATION_FLAGS_NONE); | 97 | + app = gtk_application_new ("br.app.pw3270",G_APPLICATION_FLAGS_NONE); |
| 98 | 98 | ||
| 99 | g_signal_connect (app, "activate", G_CALLBACK(activate), NULL); | 99 | g_signal_connect (app, "activate", G_CALLBACK(activate), NULL); |
| 100 | 100 |
src/objects/window/testprogram/testprogram.c
| @@ -80,7 +80,7 @@ int main (int argc, char **argv) { | @@ -80,7 +80,7 @@ int main (int argc, char **argv) { | ||
| 80 | GtkApplication *app; | 80 | GtkApplication *app; |
| 81 | int status; | 81 | int status; |
| 82 | 82 | ||
| 83 | - app = pw3270_application_new("br.com.bb.pw3270",G_APPLICATION_HANDLES_OPEN); | 83 | + app = pw3270_application_new("br.app.pw3270",G_APPLICATION_HANDLES_OPEN); |
| 84 | status = g_application_run (G_APPLICATION (app), argc, argv); | 84 | status = g_application_run (G_APPLICATION (app), argc, argv); |
| 85 | g_object_unref (app); | 85 | g_object_unref (app); |
| 86 | 86 |