From 9a9f216ba6439d8699d16564213126f055cf3684 Mon Sep 17 00:00:00 2001 From: lorglas <42674960+lorglas@users.noreply.github.com> Date: Thu, 17 Jun 2021 11:43:29 +0200 Subject: [PATCH] Pipepanic (#5986) --- .../patches/pipepanic-0.1.3.patchset | 36 ++++++++++++++++--- games-puzzle/pipepanic/pipepanic-0.1.3.recipe | 4 +-- 2 files changed, 33 insertions(+), 7 deletions(-) diff --git a/games-puzzle/pipepanic/patches/pipepanic-0.1.3.patchset b/games-puzzle/pipepanic/patches/pipepanic-0.1.3.patchset index f2cd5c1bb..bcdb3b692 100644 --- a/games-puzzle/pipepanic/patches/pipepanic-0.1.3.patchset +++ b/games-puzzle/pipepanic/patches/pipepanic-0.1.3.patchset @@ -1,4 +1,4 @@ -From 1eb134f8e461271cb9fdce897358c5a4a11976d5 Mon Sep 17 00:00:00 2001 +From c329ae35c4fa98a364687824b49c0b176412a253 Mon Sep 17 00:00:00 2001 From: Begasus Date: Sat, 31 Dec 2016 09:18:32 +0100 Subject: applying patch pipepanic-0.1.3.patch @@ -123,17 +123,17 @@ index 664b75b..178f665 100644 #define MAGENTA 0xff, 0x00, 0xff #define YELLOW 0xff, 0xcc, 0x66 -- -2.7.0 +2.30.2 -From 4d2927973443abf108b2f3f03cc3d590481d53fd Mon Sep 17 00:00:00 2001 +From 7145571471f8c9087e51a283ff12d01c19aa80b2 Mon Sep 17 00:00:00 2001 From: begasus Date: Sat, 31 Dec 2016 09:23:43 +0100 Subject: Fix Window and Icon title, fix provided by Scottmc diff --git a/main.c b/main.c -index 960f57a..cacb0a9 100644 +index 960f57a..c8bffb6 100644 --- a/main.c +++ b/main.c @@ -209,6 +209,9 @@ int main(int argc, char *argv[]) { @@ -147,5 +147,31 @@ index 960f57a..cacb0a9 100644 printf ("Loading bitmaps\n"); #endif -- -2.7.0 +2.30.2 + + +From 2a2323c7c6a4535f79d024e42b404ac00ea6a166 Mon Sep 17 00:00:00 2001 +From: Lorenz Glaser +Date: Mon, 14 Jun 2021 17:05:38 +0200 +Subject: DATADIR improved + + +diff --git a/main.h b/main.h +index 178f665..cfa4e56 100644 +--- a/main.h ++++ b/main.h +@@ -20,7 +20,11 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + #define FALSE 0 + #define TRUE 1 + #define VERSION "0.1.3" ++#ifdef __HAIKU__ ++#define DATADIR "/boot/system/apps/Pipepanic/" ++#else + #define DATADIR "/opt/QtPalmtop/share/pipepanic/" ++#endif + #define DIGITS24BMP "digits24.bmp" + #define DIGITS48BMP "digits48.bmp" + #define TILES24BMP "tiles24.bmp" +-- +2.30.2 diff --git a/games-puzzle/pipepanic/pipepanic-0.1.3.recipe b/games-puzzle/pipepanic/pipepanic-0.1.3.recipe index edc646807..921e82f46 100644 --- a/games-puzzle/pipepanic/pipepanic-0.1.3.recipe +++ b/games-puzzle/pipepanic/pipepanic-0.1.3.recipe @@ -4,7 +4,7 @@ different shaped pipes together as possible within the time given." HOMEPAGE="http://www.users.waitrose.com/~thunor/pipepanic/" COPYRIGHT="2006 TheGreenKnight" LICENSE="GNU GPL v2" -REVISION="7" +REVISION="8" SOURCE_URI="http://www.users.waitrose.com/~thunor/pipepanic/dload/pipepanic-$portVersion-source.tar.gz" CHECKSUM_SHA256="4b02249c92228b03f4cc3c1d999cacf3fe52c16df53c6bf76fc6c1e2caa74318" SOURCE_DIR="pipepanic-$portVersion-source" @@ -66,5 +66,5 @@ INSTALL() # This isn't starting from Deskbar for some reason # Starts ok with Tracker and Terminal - # addAppDeskbarSymlink $appsDir/Pipepanic/Pipepanic + addAppDeskbarSymlink $appsDir/Pipepanic/Pipepanic }