diff options
author | Simon Rettberg | 2019-02-18 11:55:41 +0100 |
---|---|---|
committer | Simon Rettberg | 2019-02-18 11:55:41 +0100 |
commit | ae69a754244c4e475c8d2591772ca8e005071d83 (patch) | |
tree | 58b3fa7abc2dcfe3c23e1c0ce108950c720826ab /hacks/check-configs.pl | |
parent | Update gitignore (diff) | |
download | xscreensaver-ae69a754244c4e475c8d2591772ca8e005071d83.tar.gz xscreensaver-ae69a754244c4e475c8d2591772ca8e005071d83.tar.xz xscreensaver-ae69a754244c4e475c8d2591772ca8e005071d83.zip |
Update to 5.42
Diffstat (limited to 'hacks/check-configs.pl')
-rwxr-xr-x | hacks/check-configs.pl | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/hacks/check-configs.pl b/hacks/check-configs.pl index 7a7d0bb..7cc60b4 100755 --- a/hacks/check-configs.pl +++ b/hacks/check-configs.pl @@ -1,5 +1,5 @@ #!/usr/bin/perl -w -# Copyright © 2008-2017 Jamie Zawinski <jwz@jwz.org> +# Copyright © 2008-2018 Jamie Zawinski <jwz@jwz.org> # # Permission to use, copy, modify, distribute, and sell this software and its # documentation for any purpose is hereby granted without fee, provided that @@ -21,7 +21,7 @@ use diagnostics; use strict; my $progname = $0; $progname =~ s@.*/@@g; -my ($version) = ('$Revision: 1.26 $' =~ m/\s(\d[.\d]+)\s/s); +my ($version) = ('$Revision: 1.28 $' =~ m/\s(\d[.\d]+)\s/s); my $verbose = 0; my $debug_p = 0; @@ -997,17 +997,17 @@ sub build_android(@) { $write_files{"$xml_dir/${saver_underscore}_wallpaper.xml"} = $wallpaper; $daydream_java .= - (" public static class $saver_class extends org.jwz.xscreensaver.Daydream {\n" . + (" public static class $saver_class extends $package.Daydream {\n" . " }\n" . "\n"); $wallpaper_java .= - (" public static class $saver_class extends org.jwz.xscreensaver.Wallpaper {\n" . + (" public static class $saver_class extends $package.Wallpaper {\n" . " }\n" . "\n"); $settings_java .= - (" public static class $saver_class extends org.jwz.xscreensaver.Settings\n" . + (" public static class $saver_class extends $package.Settings\n" . " implements SharedPreferences.OnSharedPreferenceChangeListener {\n" . " }\n" . "\n"); @@ -1035,7 +1035,7 @@ sub build_android(@) { $manifest .= "<activity android:name=\"$package.Settings\" />\n"; $manifest .= ("<activity android:name=\"" . - "org.jwz.xscreensaver.Activity\"\n" . + "$package.Activity\"\n" . " android:theme=\"\@android:style/Theme.Holo\"\n" . " android:label=\"\@string/app_name\">\n" . " <intent-filter>\n" . @@ -1056,7 +1056,7 @@ sub build_android(@) { $manifest .= ("<activity android:name=\"" . - "org.jwz.xscreensaver.TVActivity\"\n" . + "$package.TVActivity\"\n" . " android:theme=\"\@android:style/Theme.Holo\"\n" . " android:label=\"\@string/app_name\">\n" . " <intent-filter>\n" . @@ -1091,7 +1091,7 @@ sub build_android(@) { " android:versionCode=\"$versb\"\n" . " android:versionName=\"$vers\">\n" . - " <uses-sdk android:minSdkVersion=\"14\"" . + " <uses-sdk android:minSdkVersion=\"16\"" . " android:targetSdkVersion=\"19\" />\n" . " <uses-feature android:glEsVersion=\"0x00010001\"\n" . @@ -1117,23 +1117,23 @@ sub build_android(@) { " </application>\n" . "</manifest>\n"); - $daydream_java = ("package org.jwz.xscreensaver.gen;\n" . + $daydream_java = ("package $package.gen;\n" . "\n" . - "import org.jwz.xscreensaver.jwxyz;\n" . + "import $package.jwxyz;\n" . "\n" . "public class Daydream {\n" . $daydream_java . "}\n"); - $wallpaper_java = ("package org.jwz.xscreensaver.gen;\n" . + $wallpaper_java = ("package $package.gen;\n" . "\n" . - "import org.jwz.xscreensaver.jwxyz;\n" . + "import $package.jwxyz;\n" . "\n" . "public class Wallpaper {\n" . $wallpaper_java . "}\n"); - $settings_java = ("package org.jwz.xscreensaver.gen;\n" . + $settings_java = ("package $package.gen;\n" . "\n" . "import android.content.SharedPreferences;\n" . "\n" . |