All times are UTC - 6 hours




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Boot spalshscreen
PostPosted: Sat Mar 10, 2012 7:38 am 
Offline


Fri Oct 28, 2011 6:47 am

55

Terre
Hi folks,

Is there an howto for plymouth or something like the genesi official bootup screen ?

It will be great to have in DouDouLinux a graphic and animated splash screen. ;-)

Thanks,
[:-]


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 10, 2012 12:13 pm 
Offline
Genesi


Mon Jan 30, 2006 2:28 am

409

Finland
Hi.

Have a look here on how to use Plymouth and create themes:

http://brej.org/blog/?p=158
http://brej.org/blog/?p=174

There is other useful info on that site as well...


Johan.
Johan Dams, Genesi USA Inc.
Director, Software Engineering

Yep, I have a blog... PurpleAlienPlanet


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 10, 2012 4:12 pm 
Offline


Fri Oct 28, 2011 6:47 am

55

Terre
thanks, for the links.

I just made a .deb from the GIT of plymouth (disabling drm)

hope it will give some results.
[:-]


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 11, 2012 5:17 am 
Offline
Genesi


Tue Feb 07, 2006 4:49 pm

145

San Antonio, TX
We didn't do anything magical, just a slight modification of the ubuntu-artwork package, which the changes we made are available in our github, https://github.com/genesi/genesi-artwork
Steev Klimaszewski, Genesi USA Inc.
Senior Software Engineer


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 01, 2012 11:04 am 
Offline


Fri Oct 28, 2011 6:47 am

55

Terre
Is there any update available of a debian package for plymouth ?

Any advice for using smartbook framebuffer with plymouth will be welcome...
[:-]


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 01, 2012 7:14 pm 
Offline


Sun Mar 27, 2011 1:18 pm

169

Hornell, NY
DrEagle wrote:
Is there any update available of a debian package for plymouth ?

Any advice for using smartbook framebuffer with plymouth will be welcome...


Currently the plymouth package does not build under Debian unstable on armhf, but if you apply this patch to it's source package (what you get by apt-get source plymouth) it should work. I had to make it build in order to build some other piece of software for a project I'm working on.

I haven't actually tested it on Debian though so once you have it built YMMV.

add this as a file in debian/patches and then add the file name to the end of debian/patches/series

Code:
Index: plymouth-0.8.3/configure.ac
===================================================================
--- plymouth-0.8.3.orig/configure.ac   2010-05-06 13:32:14.000000000 -0400
+++ plymouth-0.8.3/configure.ac   2012-04-01 21:02:10.456704233 -0400
@@ -56,16 +56,15 @@
 AC_SUBST(GTK_CFLAGS)
 AC_SUBST(GTK_LIBS)
 
-PKG_CHECK_MODULES(DRM, [libdrm libdrm_intel libdrm_radeon libdrm_nouveau])
+PKG_CHECK_MODULES(DRM, [libdrm libdrm_radeon libdrm_nouveau])
 
 OLD_CFLAGS="$CFLAGS"
 CFLAGS="$CFLAGS $DRM_CFLAGS"
-AC_MSG_CHECKING([if i915_drm.h, radeon_drm.h and nouveau_drm.h are in include path])
+AC_MSG_CHECKING([if radeon_drm.h and nouveau_drm.h are in include path])
 AC_COMPILE_IFELSE(AC_LANG_PROGRAM(
 [[
   #include <stdint.h>
   #include <stdlib.h>
-  #include "i915_drm.h"
   #include "radeon_drm.h"
   #include "nouveau_drm.h"
 ]],[[]]),[found_drm_kernel_headers=yes],[found_drm_kernel_headers=no])
@@ -82,7 +81,6 @@
   [[
     #include <stdint.h>
     #include <stdlib.h>
-    #include "i915_drm.h"
     #include "radeon_drm.h"
     #include "nouveau_drm.h"
   ]],[[]]),[found_drm_kernel_headers=yes],[found_drm_kernel_headers=no])
@@ -92,7 +90,7 @@
     DRM_CFLAGS="$DRM_CFLAGS $MORE_DRM_CFLAGS"
   else
     AC_MSG_RESULT([no])
-    AC_MSG_ERROR([Could not find i915_drm.h, radeon_drm.h and/or nouveau_drm.h])
+    AC_MSG_ERROR([Could not find radeon_drm.h and/or nouveau_drm.h])
   fi
 fi
 CFLAGS="$OLD_CFLAGS"
Index: plymouth-0.8.3/src/plugins/renderers/drm/Makefile.am
===================================================================
--- plymouth-0.8.3.orig/src/plugins/renderers/drm/Makefile.am   2010-01-14 17:05:05.000000000 -0500
+++ plymouth-0.8.3/src/plugins/renderers/drm/Makefile.am   2012-04-01 21:02:39.296701234 -0400
@@ -17,8 +17,6 @@
                          ../../../libply-splash-core/libply-splash-core.la
 drm_la_SOURCES = $(srcdir)/plugin.c                                           \
        $(srcdir)/ply-renderer-driver.h                              \
-       $(srcdir)/ply-renderer-i915-driver.h                         \
-       $(srcdir)/ply-renderer-i915-driver.c                         \
        $(srcdir)/ply-renderer-radeon-driver.h                       \
        $(srcdir)/ply-renderer-radeon-driver.c                       \
        $(srcdir)/ply-renderer-nouveau-driver.h                      \


Then patch debian/rules
Code:
--- /home/wschaub/rules   2012-04-01 21:08:42.966703608 -0400
+++ debian/rules   2012-04-01 21:09:17.386703487 -0400
@@ -3,7 +3,7 @@
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
 %:
-   dh ${@}
+   dh ${@} --with autoreconf
 
 override_dh_auto_clean:
    dh_auto_clean


then you can do apt-get build-dep plymouth and run dpkg-buildpackage -b -us -uc to create the binary packages.
--
William Schaub
Senior Software Engineer
Genesi USA, Inc.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 02, 2012 1:02 pm 
Offline


Fri Oct 28, 2011 6:47 am

55

Terre
wschaub wrote:
DrEagle wrote:
Is there any update available of a debian package for plymouth ?

Any advice for using smartbook framebuffer with plymouth will be welcome...


Currently the plymouth package does not build under Debian unstable on armhf, but if you apply this patch to it's source package (what you get by apt-get source plymouth) it should work. I had to make it build in order to build some other piece of software for a project I'm working on.

I haven't actually tested it on Debian though so once you have it built YMMV.

add this as a file in debian/patches and then add the file name to the end of debian/patches/series

Code:
Index: plymouth-0.8.3/configure.ac
===================================================================
--- plymouth-0.8.3.orig/configure.ac   2010-05-06 13:32:14.000000000 -0400
+++ plymouth-0.8.3/configure.ac   2012-04-01 21:02:10.456704233 -0400
@@ -56,16 +56,15 @@
 AC_SUBST(GTK_CFLAGS)
 AC_SUBST(GTK_LIBS)
 
-PKG_CHECK_MODULES(DRM, [libdrm libdrm_intel libdrm_radeon libdrm_nouveau])
+PKG_CHECK_MODULES(DRM, [libdrm libdrm_radeon libdrm_nouveau])
 
 OLD_CFLAGS="$CFLAGS"
 CFLAGS="$CFLAGS $DRM_CFLAGS"
-AC_MSG_CHECKING([if i915_drm.h, radeon_drm.h and nouveau_drm.h are in include path])
+AC_MSG_CHECKING([if radeon_drm.h and nouveau_drm.h are in include path])
 AC_COMPILE_IFELSE(AC_LANG_PROGRAM(
 [[
   #include <stdint.h>
   #include <stdlib.h>
-  #include "i915_drm.h"
   #include "radeon_drm.h"
   #include "nouveau_drm.h"
 ]],[[]]),[found_drm_kernel_headers=yes],[found_drm_kernel_headers=no])
@@ -82,7 +81,6 @@
   [[
     #include <stdint.h>
     #include <stdlib.h>
-    #include "i915_drm.h"
     #include "radeon_drm.h"
     #include "nouveau_drm.h"
   ]],[[]]),[found_drm_kernel_headers=yes],[found_drm_kernel_headers=no])
@@ -92,7 +90,7 @@
     DRM_CFLAGS="$DRM_CFLAGS $MORE_DRM_CFLAGS"
   else
     AC_MSG_RESULT([no])
-    AC_MSG_ERROR([Could not find i915_drm.h, radeon_drm.h and/or nouveau_drm.h])
+    AC_MSG_ERROR([Could not find radeon_drm.h and/or nouveau_drm.h])
   fi
 fi
 CFLAGS="$OLD_CFLAGS"
Index: plymouth-0.8.3/src/plugins/renderers/drm/Makefile.am
===================================================================
--- plymouth-0.8.3.orig/src/plugins/renderers/drm/Makefile.am   2010-01-14 17:05:05.000000000 -0500
+++ plymouth-0.8.3/src/plugins/renderers/drm/Makefile.am   2012-04-01 21:02:39.296701234 -0400
@@ -17,8 +17,6 @@
                          ../../../libply-splash-core/libply-splash-core.la
 drm_la_SOURCES = $(srcdir)/plugin.c                                           \
        $(srcdir)/ply-renderer-driver.h                              \
-       $(srcdir)/ply-renderer-i915-driver.h                         \
-       $(srcdir)/ply-renderer-i915-driver.c                         \
        $(srcdir)/ply-renderer-radeon-driver.h                       \
        $(srcdir)/ply-renderer-radeon-driver.c                       \
        $(srcdir)/ply-renderer-nouveau-driver.h                      \


Then patch debian/rules
Code:
--- /home/wschaub/rules   2012-04-01 21:08:42.966703608 -0400
+++ debian/rules   2012-04-01 21:09:17.386703487 -0400
@@ -3,7 +3,7 @@
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
 %:
-   dh ${@}
+   dh ${@} --with autoreconf
 
 override_dh_auto_clean:
    dh_auto_clean


then you can do apt-get build-dep plymouth and run dpkg-buildpackage -b -us -uc to create the binary packages.


Whaouuuu...

Great fix !
Thank you, for this.

Now doudoulinux can have is splash screen too. ;)
[:-]


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Google [Bot] and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group