VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Pages: [1] 2

Author Topic: 090219 comix-4.0.2 [VL 6.0]  (Read 3714 times)

caitlyn

  • Moderator
  • Vectorian
  • *****
  • Posts: 2876
    • The Linux Works
090219 comix-4.0.2 [VL 6.0]
« on: February 18, 2009, 10:36:44 pm »

Blurymind has packaged comix for VL 6.0.

Package:  comix-4.0.2-i586-1vl60.tlz
MD5:  4377e60933939a453843ae4049eff338
Package Size:  211K
Installed Size:  1230K

Sources:  http://vectorlinux.osuosl.org/veclinux-6.0/source/testing/x-apps/comix

Code: [Select]
comix: Comix is a user-friendly, customizable image viewer.
comix:
comix: It is specifically designed to handle comic books,
comix: but also serves as a generic viewer.It reads images in ZIP, RAR
comix: or tar archives (also gzip or bzip2 compressed) as well as
comix: plain image files.
comix:
comix: License: GPL
comix: Authors: Pontus Ekberg < herrekberg@users.sourceforge.net >
comix: Website: http://comix.sourceforge.net/

After testing this package please stop back here and let us know how it works for you.
Logged
eMachines EL-1300G desktop, 1.6GHz AMD Athlon 2650e CPU, 4GB RAM, nVidia GeForce 6150 SE video
CentOS 6.5 (will try VL64-7.1 soon)

Toshiba Satellite A135-S4727,  Intel Pentium T2080 / 1.73 GHz, 2GB RAM, Intel GMA 950

HP Mini 110 netbook, 1.6GHz Intel Atom CPU, 2GB RAM, Intel 950 video, VL 7.1

blurymind

  • Packager
  • Vectorian
  • ****
  • Posts: 1082
Re: 090219 comix-4.0.2 [VL 6.0]
« Reply #1 on: February 19, 2009, 03:16:35 am »

i repackaged and updated its slackbuild to pull pysqlite and pygtk deps. Again,sorry for missing this.

Its under the name comix-4.0.2-i586-2vl60
Code: [Select]
Imaging >= 1.1.6-i586-1vl60 | pysqlite >= 2.4.1 | pygtk >= 2.12.1
python >= 2.5.2-i486-1
« Last Edit: February 19, 2009, 08:24:24 am by blurymind »
Logged
status: playing around with new tablet and learning to 3d :p
google page :  http://blurymind.googlepages.com
DA PAGE :  http://www.blurymind.deviantart.com/

caitlyn

  • Moderator
  • Vectorian
  • *****
  • Posts: 2876
    • The Linux Works
Re: 090219 comix-4.0.2 [VL 6.0]
« Reply #2 on: February 19, 2009, 11:51:51 am »

I'll pull the original package and move your repackaged version into the repo by this evening.

Thanks,
Cait
Logged
eMachines EL-1300G desktop, 1.6GHz AMD Athlon 2650e CPU, 4GB RAM, nVidia GeForce 6150 SE video
CentOS 6.5 (will try VL64-7.1 soon)

Toshiba Satellite A135-S4727,  Intel Pentium T2080 / 1.73 GHz, 2GB RAM, Intel GMA 950

HP Mini 110 netbook, 1.6GHz Intel Atom CPU, 2GB RAM, Intel 950 video, VL 7.1

caitlyn

  • Moderator
  • Vectorian
  • *****
  • Posts: 2876
    • The Linux Works
Re: 090219 comix-4.0.2 [VL 6.0]
« Reply #3 on: February 19, 2009, 03:34:32 pm »

The old package has been removed from the repo and the new one is in place.  Please test the new package and let us know how it works.

Package:  comix-4.0.2-i586-2vl60.tlz
MD5:  7a426c6c886319c059536ae2a0c92774
Logged
eMachines EL-1300G desktop, 1.6GHz AMD Athlon 2650e CPU, 4GB RAM, nVidia GeForce 6150 SE video
CentOS 6.5 (will try VL64-7.1 soon)

Toshiba Satellite A135-S4727,  Intel Pentium T2080 / 1.73 GHz, 2GB RAM, Intel GMA 950

HP Mini 110 netbook, 1.6GHz Intel Atom CPU, 2GB RAM, Intel 950 video, VL 7.1

Joe1962

  • Administrator
  • Vectorian
  • *****
  • Posts: 2499
    • Joe1962's Website
Re: 090219 comix-4.0.2 [VL 6.0]
« Reply #4 on: February 20, 2009, 01:56:19 pm »

Seems to have failed to pull a dependency, it crashes with this message:
Code: [Select]
vlbox:/~
joe1962:$ comix
Traceback (most recent call last):
  File "/bin/comix", line 29, in <module>
    import main
  File "/share/comix/src/main.py", line 14, in <module>
    import enhance
  File "/share/comix/src/enhance.py", line 7, in <module>
    import histogram
  File "/share/comix/src/histogram.py", line 4, in <module>
    import Image
ImportError: No module named Image

Also, no menu item. Whilst looking into this, I found that there is a share directory at the root of the package, instead of inside usr.
Logged
O'Neill (RE the Asgard): "Usually they ask nicely before they ignore us and do what they damn well please."
http://joe1962.bigbox.info
Running: VL 7 Std 64 + self-cooked XFCE-4.10

blurymind

  • Packager
  • Vectorian
  • ****
  • Posts: 1082
Re: 090219 comix-4.0.2 [VL 6.0]
« Reply #5 on: February 21, 2009, 01:27:52 am »

Seems to have failed to pull a dependency, it crashes with this message:
Code: [Select]
vlbox:/~
joe1962:$ comix
Traceback (most recent call last):
  File "/bin/comix", line 29, in <module>
    import main
  File "/share/comix/src/main.py", line 14, in <module>
    import enhance
  File "/share/comix/src/enhance.py", line 7, in <module>
    import histogram
  File "/share/comix/src/histogram.py", line 4, in <module>
    import Image
ImportError: No module named Image

Also, no menu item. Whilst looking into this, I found that there is a share directory at the root of the package, instead of inside usr.
ahh,but i added imaging dependency to the second package - 2vl60
Do you have the frst or the second?

the second's slack-required file looks like this:
Code: [Select]
Imaging >= 1.1.6-i586-1vl60 | pysqlite >= 2.4.1 | pygtk >= 2.12.1
python >= 2.5.2-i486-1
Am i missing something?

I noticed that it has a desktop file,which launchy sees, but xfce's start menu doesnt. How do i fix this?

python packages are tough. Can you take a peek at the slackbuild and tell me what should be fixed? I guess i will have to make a 3vl60 package
« Last Edit: February 21, 2009, 01:32:41 am by blurymind »
Logged
status: playing around with new tablet and learning to 3d :p
google page :  http://blurymind.googlepages.com
DA PAGE :  http://www.blurymind.deviantart.com/

uelsk8s

  • Administrator
  • Vectorian
  • *****
  • Posts: 2504
Re: 090219 comix-4.0.2 [VL 6.0]
« Reply #6 on: February 21, 2009, 08:08:52 am »

The | in the line below means or.
Code: [Select]
Imaging >= 1.1.6-i586-1vl60 | pysqlite >= 2.4.1 | pygtk >= 2.12.1
so it is saying you need Imaging or pysqlite or pygtk.
since pygtk is most likely already installed it will not pull either of the other 2.
Logged

caitlyn

  • Moderator
  • Vectorian
  • *****
  • Posts: 2876
    • The Linux Works
Re: 090219 comix-4.0.2 [VL 6.0]
« Reply #7 on: February 21, 2009, 09:47:04 am »

This one is going to have to be rebuilt with a new slack-required.  Sorry, Blurymind.
Logged
eMachines EL-1300G desktop, 1.6GHz AMD Athlon 2650e CPU, 4GB RAM, nVidia GeForce 6150 SE video
CentOS 6.5 (will try VL64-7.1 soon)

Toshiba Satellite A135-S4727,  Intel Pentium T2080 / 1.73 GHz, 2GB RAM, Intel GMA 950

HP Mini 110 netbook, 1.6GHz Intel Atom CPU, 2GB RAM, Intel 950 video, VL 7.1

blurymind

  • Packager
  • Vectorian
  • ****
  • Posts: 1082
Re: 090219 comix-4.0.2 [VL 6.0]
« Reply #8 on: February 21, 2009, 01:28:18 pm »

The | in the line below means or.
Code: [Select]
Imaging >= 1.1.6-i586-1vl60 | pysqlite >= 2.4.1 | pygtk >= 2.12.1
so it is saying you need Imaging or pysqlite or pygtk.
since pygtk is most likely already installed it will not pull either of the other 2.

aaah,damn. Well there is no information anywhere as to how to sepparate deps. So how do i sepparate them in the slackbuild? I will have to fix this.
I have to fix it in phatch too.

Well,at least i know now.
« Last Edit: February 21, 2009, 01:35:20 pm by blurymind »
Logged
status: playing around with new tablet and learning to 3d :p
google page :  http://blurymind.googlepages.com
DA PAGE :  http://www.blurymind.deviantart.com/

caitlyn

  • Moderator
  • Vectorian
  • *****
  • Posts: 2876
    • The Linux Works
Re: 090219 comix-4.0.2 [VL 6.0]
« Reply #9 on: February 21, 2009, 01:47:04 pm »

Here is how to force multiple deps in a SlackBuild:

Code: [Select]
cat > $RELEASEDIR/slack-required << EOF
Imaging >= 1.1.6-i586-1vl60
pysqlite >= 2.4.1
pygtk >= 2.12.1

EOF

Putting each one on a separate line in the SlackBuild like this will result it separate lines in the slack-required file.

HTH,
Cait
Logged
eMachines EL-1300G desktop, 1.6GHz AMD Athlon 2650e CPU, 4GB RAM, nVidia GeForce 6150 SE video
CentOS 6.5 (will try VL64-7.1 soon)

Toshiba Satellite A135-S4727,  Intel Pentium T2080 / 1.73 GHz, 2GB RAM, Intel GMA 950

HP Mini 110 netbook, 1.6GHz Intel Atom CPU, 2GB RAM, Intel 950 video, VL 7.1

rbistolfi

  • Packager
  • Vectorian
  • ****
  • Posts: 2301
Re: 090219 comix-4.0.2 [VL 6.0]
« Reply #10 on: February 21, 2009, 02:16:38 pm »

From man requiredbuilder :

Quote
       Since  version  0.16.0  there  is  a  new  quick  way to manually force
       requiredbuilder to add or exclude  dependencies:  the  two  environment
       variables  ADD  and  EXCLUDE.   For example if you want to be sure that
       mysql and openldap are NOT in the list  of  dependencies  generated  by
       requiredbuilder  for  postfix,  but  openssl is, you can call required-
       builder like this:

       ADD="openssl" EXCLUDE="mysql, openldap"  requiredbuilder  /tmp/package-
       postfix

       Please  consider  that you need a comma to separate multiple entries in
       both lists.  The ADD variable fully  supports  slack-required's  syntax
       and its content goes directly into the final dependency list:

       ADD="openssl >= 0.9.8e-i486-1, glibc = 2.5-i486-1"


Here is how to force multiple deps in a SlackBuild:

Code: [Select]
cat > $RELEASEDIR/slack-required << EOF
Imaging >= 1.1.6-i586-1vl60
pysqlite >= 2.4.1
pygtk >= 2.12.1

EOF

Putting each one on a separate line in the SlackBuild like this will result it separate lines in the slack-required file.

HTH,
Cait

Be careful with the redirector, if you use ">" instead ">>" you may delete a dep that requiredbuilder did find, In the example requiredbuilder would put python as a dep.
« Last Edit: February 21, 2009, 02:19:51 pm by rbistolfi »
Logged
"There is a concept which corrupts and upsets all others. I refer not to Evil, whose limited realm is that of ethics; I refer to the infinite."
Jorge Luis Borges, Avatars of the Tortoise.

--
Jumalauta!!

caitlyn

  • Moderator
  • Vectorian
  • *****
  • Posts: 2876
    • The Linux Works
Re: 090219 comix-4.0.2 [VL 6.0]
« Reply #11 on: February 21, 2009, 02:25:20 pm »

rbistolfi is right.  That's a typo on my part and a NASTY one.  The code should read:

Code: [Select]
cat >> $RELEASEDIR/slack-required << EOF
Imaging >= 1.1.6-i586-1vl60
pysqlite >= 2.4.1
pygtk >= 2.12.1

EOF

Using a single > after the cat results in creating new new file, not appending to an existing one.
Logged
eMachines EL-1300G desktop, 1.6GHz AMD Athlon 2650e CPU, 4GB RAM, nVidia GeForce 6150 SE video
CentOS 6.5 (will try VL64-7.1 soon)

Toshiba Satellite A135-S4727,  Intel Pentium T2080 / 1.73 GHz, 2GB RAM, Intel GMA 950

HP Mini 110 netbook, 1.6GHz Intel Atom CPU, 2GB RAM, Intel 950 video, VL 7.1

rbistolfi

  • Packager
  • Vectorian
  • ****
  • Posts: 2301
Re: 090219 comix-4.0.2 [VL 6.0]
« Reply #12 on: February 21, 2009, 03:06:31 pm »

I just realized that I am right only if you put the code after the requiredbuilder lines, not if you use it before ;D
Logged
"There is a concept which corrupts and upsets all others. I refer not to Evil, whose limited realm is that of ethics; I refer to the infinite."
Jorge Luis Borges, Avatars of the Tortoise.

--
Jumalauta!!

caitlyn

  • Moderator
  • Vectorian
  • *****
  • Posts: 2876
    • The Linux Works
Re: 090219 comix-4.0.2 [VL 6.0]
« Reply #13 on: February 21, 2009, 03:09:41 pm »

Very true.  If you put it before you don't have to concatenate.  The >> works anyplace, though, so it is safer code.
Logged
eMachines EL-1300G desktop, 1.6GHz AMD Athlon 2650e CPU, 4GB RAM, nVidia GeForce 6150 SE video
CentOS 6.5 (will try VL64-7.1 soon)

Toshiba Satellite A135-S4727,  Intel Pentium T2080 / 1.73 GHz, 2GB RAM, Intel GMA 950

HP Mini 110 netbook, 1.6GHz Intel Atom CPU, 2GB RAM, Intel 950 video, VL 7.1

blurymind

  • Packager
  • Vectorian
  • ****
  • Posts: 1082
Re: 090219 comix-4.0.2 [VL 6.0]
« Reply #14 on: February 22, 2009, 01:41:34 am »

so where do i put the code? In the "tweaks" section?
I guess you can't use the --add option in sbbbuilder if i have multiple deps (which is almost always the case)  ::)

I'll try to get the packages done today and reupload them.
Logged
status: playing around with new tablet and learning to 3d :p
google page :  http://blurymind.googlepages.com
DA PAGE :  http://www.blurymind.deviantart.com/
Pages: [1] 2